/* Vértigo Digital · inicio. Marca: degradado naranja → rojo → vino sobre negro cálido y crema.
   Movimiento: entrada del hero (los ecos del símbolo pasan del vértigo a la calma),
   dos momentos (palabras que se encienden · proceso fijo donde el símbolo se alinea) y la capa de hover. */
@font-face { font-family: "Articulat CF"; src: url("../fonts/articulat-bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Articulat CF"; src: url("../fonts/articulat-normal.ttf") format("truetype"); font-weight: 400; font-display: swap; }

:root {
  --bg: #F7F0E6;
  --surface: #FFFFFF;
  --ink: #1D1D1B;
  --muted: #5E554C;
  --line: #E4D8C8;
  --line-strong: #C9B8A3;
  --accent: #CA3F16;          /* rojo Vértigo */
  --accent-text: #A8350F;     /* rojo para texto pequeño sobre crema */
  --accent-ink: #FFFFFF;
  --accent-soft: #F6DCCB;
  --orange: #F9942A;
  --wine: #701925;
  --deep: #411720;
  --band-bg: #1D1D1B;
  --band-fg: #F7F0E6;
  --band-muted: #B7AA9B;
  --band-line: #3A3532;
  --tag-bg: #FBE3C6;
  --tag-fg: #7A3A06;
  --grad: linear-gradient(120deg, #F9942A 0%, #CA3F16 44%, #411720 100%);

  --f-display: "Articulat CF", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Roboto", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.2,.8,.2,1);
  --ease-enter: cubic-bezier(.22,1,.36,1);
  --m-in: 150ms; --m-out: 120ms; --m-press: 90ms;

  --wrap: 1240px;
  --nav-h: 72px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141312; --surface: #1F1C1A; --ink: #F7F0E6; --muted: #B7AA9B; --line: #2E2A27; --line-strong: #4A433E;
    --accent: #F9942A; --accent-text: #F9942A; --accent-ink: #1D1D1B; --accent-soft: #3A2116;
    --band-bg: #0E0D0C; --band-line: #2E2A27;
    --tag-bg: #3A2716; --tag-fg: #F9B66B;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141312; --surface: #1F1C1A; --ink: #F7F0E6; --muted: #B7AA9B; --line: #2E2A27; --line-strong: #4A433E;
  --accent: #F9942A; --accent-text: #F9942A; --accent-ink: #1D1D1B; --accent-soft: #3A2116;
  --band-bg: #0E0D0C; --band-line: #2E2A27;
  --tag-bg: #3A2716; --tag-fg: #F9B66B;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--band-bg); }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 40; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 760px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

h1, h2, h3 { font-family: var(--f-display); font-weight: 700; margin: 0; letter-spacing: -0.035em; line-height: 0.98; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
h3 { font-size: 1.45rem; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
.label { display: inline-flex; align-items: center; gap: 10px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-text); }
.label::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.lede { color: var(--muted); font-size: 1.12rem; max-width: 54ch; }

section { padding-block: clamp(80px, 11vh, 128px); }
.screen { min-height: calc(100svh - var(--nav-h)); display: flex; flex-direction: column; justify-content: center; }
.dark { background: var(--band-bg); color: var(--band-fg); }
.dark .label { color: var(--orange); }
.dark .lede { color: var(--band-muted); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px;
  font: 700 0.98rem/1 var(--f-body); padding: 0 26px; border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 2px solid var(--accent); background: var(--accent); color: var(--accent-ink);
  transition: transform var(--m-out) var(--ease), background-color var(--m-out) var(--ease), border-color var(--m-out) var(--ease), color var(--m-out) var(--ease);
}
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.dark .btn { background: var(--orange); border-color: var(--orange); color: #1D1D1B; }
.dark .btn--ghost { background: transparent; color: var(--band-fg); border-color: color-mix(in srgb, var(--band-fg) 35%, transparent); }
.btn:active { transform: translateY(1px) scale(.975); transition-duration: var(--m-press); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); background: color-mix(in oklab, var(--accent) 86%, var(--ink)); border-color: color-mix(in oklab, var(--accent) 86%, var(--ink)); transition-duration: var(--m-in); }
  .btn--ghost:hover { background: color-mix(in oklab, var(--ink) 6%, transparent); border-color: var(--ink); }
  .dark .btn:hover { background: #FFA947; border-color: #FFA947; }
  .dark .btn--ghost:hover { background: color-mix(in srgb, var(--band-fg) 8%, transparent); border-color: var(--band-fg); }
  .btn:active { transform: translateY(1px) scale(.975); }
}
.arrow { display: inline-block; transition: transform var(--m-out) var(--ease); }
@media (hover: hover) and (pointer: fine) { a:hover .arrow { transform: translateX(3px); transition-duration: var(--m-in); } }
.link { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--m-out) var(--ease); padding-bottom: 2px; }
@media (hover: hover) and (pointer: fine) { .link:hover { background-size: 100% 1px; transition-duration: var(--m-in); } }
.link:focus-visible { background-size: 100% 1px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; color: inherit; }
.logo .iso { width: 30px; height: auto; flex: none; }
.logo .word { height: 25px; width: auto; fill: currentColor; }

/* ---------- Navegación ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; color: var(--band-fg); background: color-mix(in srgb, var(--band-bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--band-fg) 10%, transparent); }
.nav .wrap { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; font-weight: 500; font-size: 0.95rem; }
.nav ul a { color: var(--band-muted); display: inline-flex; align-items: center; min-height: 44px; transition: color var(--m-out) var(--ease); }
.nav ul a[aria-current] { color: var(--band-fg); box-shadow: inset 0 -2px 0 var(--orange); }
@media (hover: hover) and (pointer: fine) { .nav ul a:hover { color: var(--band-fg); } }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 0.92rem; background: var(--orange); border-color: var(--orange); color: #1D1D1B; }
@media (hover: hover) and (pointer: fine) { .nav .btn:hover { background: #FFA947; border-color: #FFA947; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(48px, 8vh, 96px); }
/* Fondo en código: vidrio acanalado con luz que sigue al cursor */
.hero-bg { position: absolute; inset: 0; z-index: -1; background: #0E0D0C; }
.hero-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-bg::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(14,13,12,.86) 0%, rgba(14,13,12,.5) 42%, rgba(14,13,12,0) 75%); }
.hero .wrap { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(24px, 4vw, 64px); align-items: center; width: 100%; }
.hero-copy { min-width: 0; display: grid; gap: 26px; justify-items: start; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 6.6rem); letter-spacing: -0.05em; line-height: 0.92; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero h1 .ln > span { display: inline-block; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #F9942A 10%, #FF6A2B 60%, #CA3F16 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.3rem, 2.3vw, 1.9rem); line-height: 1.2; letter-spacing: -0.02em; max-width: 26ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--band-muted); font-size: 0.92rem; font-weight: 500; padding: 0; margin: 0; list-style: none; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.echo { width: 100%; max-width: 520px; justify-self: center; display: block; overflow: visible; }

.m-enter:not(.m-enter-done) .hero h1 .ln > span { transform: translateY(108%); }
.m-enter:not(.m-enter-done) .hero [data-enter-up] { opacity: 0; transform: translateY(12px); }
.hero h1 .ln > span { transition: transform 760ms var(--ease-enter); }
.hero h1 .ln:nth-child(2) > span { transition-delay: 90ms; }
.hero [data-enter-up] { transition: opacity 520ms var(--ease-enter), transform 520ms var(--ease-enter); }
.hero .sub[data-enter-up] { transition-delay: 380ms; }
.hero .lede[data-enter-up] { transition-delay: 440ms; }
.hero .hero-cta[data-enter-up] { transition-delay: 500ms; }
.hero .hero-facts[data-enter-up] { transition-delay: 560ms; }

/* ---------- Momento 1: palabras que se encienden ---------- */
.statement .wrap { display: grid; gap: 36px; }
.wh { font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 4.6vw, 3.8rem); line-height: 1.08; letter-spacing: -0.035em; max-width: 21ch; text-wrap: pretty; }
.wh strong { font-weight: inherit; }
.wh .w { color: color-mix(in oklab, var(--ink) 20%, var(--bg)); transition: color 160ms ease; }
.wh .w.on { color: var(--ink); }
.wh strong .w.on { color: var(--accent); }
.statement-foot { display: flex; align-items: center; gap: 16px; color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.statement-foot .bar { width: min(240px, 40vw); height: 4px; border-radius: 4px; background: var(--grad); }

/* ---------- Servicios ---------- */
.head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 56px); }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.head-row > div { display: grid; gap: 18px; min-width: 0; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  position: relative; min-width: 0; display: grid; grid-template-rows: auto 1fr auto; gap: 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 12px 12px 24px;
  text-decoration: none; color: inherit;
  transition: transform 120ms var(--ease), border-color 120ms var(--ease), box-shadow 120ms var(--ease);
}
.card-body { display: grid; gap: 10px; align-content: start; padding-inline: 12px; }
.card-body p { color: var(--muted); font-size: 0.98rem; }
.card-more { padding-inline: 12px; font-weight: 700; color: var(--accent-text); display: inline-flex; gap: 8px; }
.plans { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.plans span { font-size: 0.78rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: 0 14px 28px color-mix(in srgb, var(--ink) 9%, transparent); transition-duration: 180ms; }
}
.frame { position: relative; overflow: hidden; border-radius: 14px; background: var(--band-bg); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.card .frame { aspect-ratio: 4 / 3; }
.frame--type { display: grid; align-content: end; padding: 20px; color: #F7F0E6; background: url("../img/fondo.jpg") center / cover; }
.frame--type b { font-family: var(--f-display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1; letter-spacing: -0.04em; transition: transform 400ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .card:hover .frame img, .work:hover .frame img { transform: scale(1.03); transition-duration: 600ms; }
}
.extras { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding: 18px 22px; border-radius: 22px; border: 1px dashed var(--line-strong); }
.extras p { font-weight: 700; margin-right: auto; }
.chip { font-size: 0.9rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; background: var(--accent-soft); }
.extras .link { font-weight: 700; color: var(--accent-text); display: inline-flex; gap: 8px; min-height: 44px; align-items: center; }

/* ---------- Momento 2: proceso fijo ---------- */
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.pc-text { min-width: 0; display: grid; gap: 20px; }
.steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 4px; }
.step { padding: 16px 0 16px 20px; border-left: 2px solid var(--band-line); transition: border-color 200ms var(--ease), opacity 200ms var(--ease); }
.step h3 { color: var(--band-fg); display: flex; align-items: baseline; gap: 12px; }
.step h3 span { font-family: var(--f-body); font-size: 0.82rem; font-weight: 700; color: var(--band-muted); letter-spacing: 0.1em; }
.step p { color: var(--band-muted); margin-top: 6px; max-width: 42ch; }
.pc-frame { position: relative; min-width: 0; border: 1px solid var(--band-line); border-radius: 28px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; background: radial-gradient(70% 70% at 70% 30%, rgba(202,63,22,.22), transparent 70%); }
.pc-frame svg { width: 70%; height: 70%; overflow: visible; }
.pc-meter { position: absolute; left: 22px; top: 20px; display: grid; gap: 2px; }
.pc-meter small { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--band-muted); }
.pc-meter b { font-family: var(--f-display); font-size: 2.6rem; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.pc-track { position: absolute; left: 22px; right: 22px; bottom: 22px; height: 4px; border-radius: 4px; background: var(--band-line); overflow: hidden; }
.pc-track i { position: absolute; inset: 0; background: var(--grad); transform-origin: left; transform: scaleX(1); }
/* Aire arriba y abajo de la banda: --pc-pad separa el proceso de las secciones vecinas,
   y la escena fija lleva su propio margen interior para que nada toque los bordes */
.process.is-live { --pc-pad: clamp(56px, 9vh, 112px); height: calc(200svh + 2 * var(--pc-pad)); padding-block: var(--pc-pad); }
.process.is-live .pc-stage { position: sticky; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); height: calc(100svh - var(--nav-h)); display: flex; align-items: center; padding-block: clamp(28px, 5vh, 56px); }
.process.is-live .pc-frame { max-height: calc(100svh - var(--nav-h) - 2 * clamp(28px, 5vh, 56px)); justify-self: end; width: 100%; }
.process.is-live .pc-text { gap: 16px; }
.process.is-live h2 { font-size: clamp(2.1rem, 3.6vw, 3.4rem); }
.process.is-live .steps { margin-top: 8px; gap: 2px; }
.process.is-live .step { padding-block: 11px; }
.process.is-live .step p { margin-top: 4px; font-size: 0.97rem; }
.process.is-live .step { opacity: .38; }
.process.is-live .step.on { opacity: 1; border-color: var(--orange); }
.process:not(.is-live) .pc-grid { grid-template-columns: 1fr; }
.process:not(.is-live) .pc-frame { display: none; }
.process:not(.is-live) .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.process:not(.is-live) .step { border-left: 0; border-top: 2px solid var(--orange); padding: 18px 0 0; }

/* ---------- Portafolio: caso destacado ---------- */
.case { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 20px; }
.work { min-width: 0; display: block; text-decoration: none; color: inherit; }
.case-main .frame { aspect-ratio: 4 / 3; border-radius: 22px; height: 100%; }
.case-side { min-width: 0; display: grid; grid-template-rows: auto 1fr; gap: 20px; }
.case-info { display: grid; gap: 14px; padding: 26px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.case-info .tagline { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); }
.case-info h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.case-info dl { margin: 0; display: grid; gap: 10px; }
.case-info dt { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.case-info dd { margin: 0; font-size: 0.98rem; }
.case-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; min-height: 0; }
.case-thumbs .frame { border-radius: 18px; height: 100%; min-height: 160px; }
.case-strip { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.case-strip .frame { aspect-ratio: 16 / 9; border-radius: 22px; }
.soon { margin-top: 20px; color: var(--muted); font-size: 0.95rem; }

/* ---------- Sobre ---------- */
.about .wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about .frame { aspect-ratio: 1; border-radius: 26px; }
.about-copy { min-width: 0; display: grid; gap: 22px; }
.about-copy .quote-big { font-family: var(--f-display); font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.15; letter-spacing: -0.025em; }
.about-facts { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.about-facts li { border-top: 2px solid var(--orange); padding-top: 12px; display: grid; gap: 4px; }
.about-facts b { font-family: var(--f-display); font-size: 2rem; line-height: 1; letter-spacing: -0.04em; }
.about-facts span { color: var(--muted); font-size: 0.92rem; }
/* Secciones en blanco para alternar con el crema */
.white { background: var(--surface); }
#servicios { background: #FFFFFF; }
#servicios .card { background: var(--bg); }
:root[data-theme="dark"] #servicios { background: var(--surface); }

/* ---------- Testimonios ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.quote { margin: 0; min-width: 0; display: grid; grid-template-rows: auto 1fr auto; gap: 18px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.quote .tag { justify-self: start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--tag-bg); color: var(--tag-fg); }
.quote blockquote { margin: 0; font-size: 1.06rem; line-height: 1.55; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; }
.quote figcaption b { display: block; }
.quote figcaption span { color: var(--muted); }
.avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--grad); color: #fff; font-family: var(--f-display); font-weight: 700; }

/* ---------- Cierre ---------- */
.close { background: var(--grad); color: #FFF7EE; }
.close .wrap { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px; align-items: end; }
.close-main { display: grid; gap: 30px; justify-items: start; min-width: 0; }
.close h2 { font-size: clamp(2.8rem, 8vw, 7.2rem); letter-spacing: -0.055em; line-height: 0.92; max-width: 11ch; }
.close p { font-size: 1.15rem; max-width: 44ch; }
.close .btn { background: #1D1D1B; color: #FFF7EE; border-color: #1D1D1B; min-height: 56px; padding: 0 32px; font-size: 1.05rem; }
@media (hover: hover) and (pointer: fine) { .close .btn:hover { background: #000; border-color: #000; } }
.contact { display: grid; gap: 16px; min-width: 0; padding: 26px; border-radius: 22px; background: rgba(29,29,27,.28); backdrop-filter: blur(6px); }
.contact h3 { font-size: 0.8rem; font-family: var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; }
.contact a { overflow-wrap: anywhere; font-weight: 500; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 0.95rem; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; }

/* ---------- Pie ---------- */
footer { padding-block: 64px 36px; background: var(--band-bg); color: var(--band-fg); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot > div { min-width: 0; display: grid; gap: 14px; align-content: start; }
.foot .isologo { width: 150px; height: auto; }
.foot .isologo .t { fill: var(--band-fg); }
.foot h4 { margin: 0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--band-muted); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot ul a { display: inline-flex; min-height: 36px; align-items: center; }
.motto { font-family: var(--f-display); font-size: 1.5rem; letter-spacing: -0.03em; }
.mail { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.copy-btn { font: 700 0.8rem var(--f-body); color: var(--orange); background: transparent; border: 1px solid var(--band-line); border-radius: 999px; padding: 0 12px; min-height: 32px; cursor: pointer; transition: transform var(--m-out) var(--ease); }
.copy-btn:active { transform: scale(.97); }
.legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--band-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--band-muted); font-size: 0.85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .echo { max-width: 300px; justify-self: start; }
  .services, .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services .card:last-child, .quotes .quote:last-child { grid-column: 1 / -1; }
  .process:not(.is-live) .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case { grid-template-columns: 1fr; }
  .case-thumbs .frame { aspect-ratio: 4 / 3; height: auto; }
  .about .wrap, .close .wrap { grid-template-columns: 1fr; }
  .about .frame { max-width: 520px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  .echo { max-width: 220px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 220px; }
  .services, .quotes, .case-strip { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: 1fr 1fr; }
  .screen { min-height: 0; }
}
@media (max-width: 460px) {
  .process:not(.is-live) .steps, .case-thumbs { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .logo .word { height: 20px; }
  .nav .btn { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation: none !important; }
  .m-enter .hero h1 .ln > span, .m-enter .hero [data-enter-up] { transform: none !important; opacity: 1 !important; }
}

/* ---------- Menú móvil y tablet (≤1023px): botón ☰ y panel desplegable ---------- */
.nav-right { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; position: relative; width: 44px; height: 44px; flex: none; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--band-fg) 28%, transparent); background: transparent; color: var(--band-fg); cursor: pointer; transition: transform var(--m-out) var(--ease), border-color var(--m-out) var(--ease); }
.menu-btn:active { transform: scale(.95); }
.menu-btn i { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 220ms var(--ease), opacity 120ms var(--ease); }
.menu-btn i:nth-child(1) { top: 15px; }
.menu-btn i:nth-child(2) { top: 20.5px; }
.menu-btn i:nth-child(3) { top: 26px; }
.nav.open .menu-btn { border-color: var(--orange); }
.nav.open .menu-btn i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav.open .menu-btn i:nth-child(2) { opacity: 0; }
.nav.open .menu-btn i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
@media (max-width: 1023px) {
  .menu-btn { display: inline-block; }
  .nav ul {
    position: absolute; left: 0; right: 0; top: 100%;
    display: grid; gap: 0; padding: 6px max(16px, env(safe-area-inset-right, 0px)) 22px max(16px, env(safe-area-inset-left, 0px));
    background: var(--band-bg); border-bottom: 1px solid var(--band-line);
    box-shadow: 0 24px 40px rgba(0,0,0,.35);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 160ms var(--ease), transform 220ms var(--ease-enter), visibility 0s linear 220ms;
  }
  .nav.open ul { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav ul a { width: 100%; min-height: 58px; font-family: var(--f-display); font-size: 1.5rem; letter-spacing: -0.03em; color: var(--band-fg); border-bottom: 1px solid var(--band-line); background: none; }
  .nav ul li:last-child a { border-bottom: 0; }
  .nav ul a[aria-current] { box-shadow: none; color: var(--orange); }
}
@media (min-width: 760px) and (max-width: 1023px) {
  .nav ul { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}
@media (max-width: 380px) { .nav .btn { padding: 0 14px; font-size: 0.86rem; } }

/* Tablet y móvil: sin el isotipo animado del hero; el texto ocupa todo el ancho */
@media (max-width: 1023px) { .hero .echo { display: none; } }

/* Texto con degradado (background-clip: text): el degradado solo pinta dentro de la caja del texto
   y con el interletrado negativo la última letra sobresale y se cortaba. Damos aire a la derecha y abajo
   y lo compensamos con margen negativo para que nada se mueva. */
.hero h1 em, .six b, .values b, .after b {
  display: inline-block; padding: 0 0.14em 0.08em 0; margin-right: -0.14em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
