/* Barlow y Barlow Condensed (SIL Open Font License), servidas desde el propio sitio */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fuentes/barlow-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fuentes/barlow-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fuentes/barlow-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fuentes/barlow-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fuentes/barlow-condensed-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fuentes/barlow-condensed-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* EV-X · Web fase 1
   Layout: la ficha de un método serio. Negro profundo, mucho aire, líneas finas
   que separan secciones y un único acento arena donde importa (botón principal,
   una palabra clave y el dibujo de los 8 movimientos). Tema oscuro único, por marca. */
:root {
  --negro: #0B0B0B;
  --negro-2: #131312;      /* superficies elevadas: tarjetas, formulario */
  --blanco: #FFFFFF;
  --arena: #C8BFA2;
  --arena-osc: #A89F83;    /* arena presionado */
  --gris: #545454;         /* sólo líneas, puntos y detalles: no texto */
  --texto-2: #A8A59C;      /* blanco atenuado hacia la arena, 7,9:1 sobre negro */
  --linea: rgba(200, 191, 162, .16);
  --f-tit: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-txt: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --g: max(16px, 4vw);
  --ancho: 1240px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--negro);
  color: var(--blanco);
  font: 400 1.0625rem/1.65 var(--f-txt);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--negro); }
::selection { background: var(--arena); color: var(--negro); }
:focus-visible { outline: 2px solid var(--arena); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--f-tit); font-weight: 600; line-height: 1.04; letter-spacing: -.005em; text-wrap: balance; }
p { text-wrap: pretty; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
em { font-style: normal; color: var(--arena); }
strong { font-weight: 600; }

.wrap {
  max-width: var(--ancho);
  margin: 0 auto;
  padding-left: max(var(--g), env(safe-area-inset-left, 0px));
  padding-right: max(var(--g), env(safe-area-inset-right, 0px));
}
.saltar { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--arena); color: var(--negro); padding: 8px 14px; border-radius: 6px; font-weight: 600; }
.saltar:focus { left: 16px; }

/* ---------- Tipografía de sistema ---------- */
.label { font: 500 .75rem/1.2 var(--f-txt); letter-spacing: .1em; text-transform: uppercase; color: var(--texto-2); }
.label-arena { color: var(--arena); }
.t-hero { font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: .98; }
.t-sec { font-size: clamp(2rem, 4.2vw, 3.25rem); }
.t-sub { font-family: var(--f-tit); font-weight: 500; font-size: 1.375rem; line-height: 1.2; }
.bajada { font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); color: var(--texto-2); max-width: 36rem; }
.chico { font-size: .875rem; color: var(--texto-2); }
.prosa { display: grid; gap: 1em; max-width: 38rem; color: var(--texto-2); }
.prosa strong { color: var(--blanco); font-weight: 500; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 56px; padding: 10px 22px; border-radius: 6px;
  font: 600 1.0625rem/1.15 var(--f-txt); text-decoration: none; cursor: pointer;
  border: 1px solid var(--arena);
  transition: transform .25s var(--ease), background-color .2s, color .2s;
}
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 28px -12px rgba(200, 191, 162, .45); }
.btn:hover svg { transform: translateX(5px); }
.btn:active { transform: translateY(0) scale(.97); box-shadow: none; transition-duration: .08s; }
.btn-pri { background: var(--arena); color: var(--negro); }
.btn-pri:active { background: var(--arena-osc); }
/* Brillo que cruza el botón principal al pasar */
.btn-pri::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); }
.btn-pri:hover::after { transform: translateX(120%); transition: transform .8s var(--ease); }
/* El secundario se llena de arena desde la izquierda */
.btn-sec { background: transparent; color: var(--blanco); transition: transform .35s var(--ease), color .35s var(--ease), box-shadow .35s; }
.btn-sec::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--arena); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.btn-sec:hover { color: var(--negro); }
.btn-sec:hover::before { transform: scaleX(1); }
.btn small { display: block; font: 400 .8125rem/1.3 var(--f-txt); opacity: .78; margin-top: 3px; }
.btn-doble { padding-block: 12px; text-align: left; }
.enlace { display: inline-flex; align-items: center; gap: 8px; color: var(--arena); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.enlace svg { width: 16px; height: 16px; }

/* ---------- Cabecera ---------- */
.cab {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(11, 11, 11, .86);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linea);
}
.cab .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .04em; font: 700 1.6rem/1 var(--f-txt); letter-spacing: -.02em; color: var(--blanco); text-decoration: none; }
.logo svg { width: .74em; height: 1em; }
.logo sup { font-size: .34em; font-weight: 500; align-self: flex-start; margin-left: .14em; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav a { position: relative; text-decoration: none; font-weight: 500; font-size: .9375rem; color: var(--texto-2); transition: color .2s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--arena); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blanco); }
.nav a[aria-current="page"] { box-shadow: 0 1px 0 var(--arena); }
.nav .btn { min-height: 42px; padding: 8px 16px; font-size: .9375rem; color: var(--negro); }
.menu-btn { display: none; background: none; border: 1px solid var(--linea); border-radius: 6px; width: 44px; height: 44px; color: var(--blanco); cursor: pointer; padding: 0; }
.menu-btn svg { width: 22px; height: 22px; margin: auto; }
@media (max-width: 860px) {
  .menu-btn { display: grid; }
  .nav {
    display: none; position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--negro); border-bottom: 1px solid var(--linea);
    padding: 8px max(var(--g), env(safe-area-inset-right, 0px)) 20px max(var(--g), env(safe-area-inset-left, 0px));
  }
  .nav.abierto { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--linea); font-size: 1.0625rem; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--arena); }
  .nav .btn { margin-top: 16px; min-height: 52px; justify-content: center; }
}

/* ---------- Secciones ---------- */
.sec { padding-block: clamp(72px, 10vw, 136px); border-top: 1px solid var(--linea); }
.sec-cab { display: grid; gap: 16px; max-width: 46rem; margin-bottom: clamp(40px, 5vw, 64px); }
.dos-col { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .dos-col { grid-template-columns: 1fr 1fr; } .dos-col.al-ancho { grid-template-columns: 1.15fr .85fr; } }
.dos-col > * { min-width: 0; }

/* ---------- Portada ---------- */
.hero { position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr; gap: 32px; padding-block: clamp(40px, 7vw, 96px) clamp(56px, 7vw, 96px); position: relative; z-index: 1; }
.hero-txt { display: grid; gap: 24px; align-content: center; max-width: 40rem; }
.hero-cta { display: grid; gap: 12px; margin-top: 8px; }
@media (min-width: 560px) { .hero-cta { grid-template-columns: 1fr 1fr; max-width: 37rem; } }
.respaldo { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 8px; font-size: .875rem; color: var(--texto-2); }
.respaldo li { display: flex; align-items: center; gap: 10px; }
/* Cada ítem lleva su punto: así, si la lista pasa a otra línea en el celular, todas las líneas arrancan igual */
.respaldo li::before { content: ""; flex: none; width: 4px; height: 4px; border-radius: 50%; background: var(--arena); opacity: .7; }
.hero-foto { position: relative; margin-inline: calc(-1 * var(--g)); aspect-ratio: 4 / 4.4; max-height: 70vh; }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: saturate(.82) contrast(1.02); }
.hero-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 11, 0) 55%, var(--negro) 100%); }
.hero-foto figcaption { position: absolute; left: var(--g); bottom: 18px; z-index: 1; }
@media (min-width: 960px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); min-height: min(780px, 88vh); }
  .hero-foto { margin: 0; aspect-ratio: auto; max-height: none; height: 100%; min-height: 560px; border-radius: 4px; overflow: hidden; }
  .hero-foto::after { background: linear-gradient(90deg, var(--negro) 0%, rgba(11, 11, 11, 0) 34%), linear-gradient(180deg, rgba(11, 11, 11, 0) 70%, rgba(11, 11, 11, .7) 100%); }
  .hero-foto figcaption { left: auto; right: 20px; }
}
.hero-sub { display: grid; gap: 20px; max-width: 42rem; }

/* ---------- Dolor ---------- */
.dolor { display: grid; gap: 1px; background: var(--linea); border-block: 1px solid var(--linea); }
@media (min-width: 820px) { .dolor { grid-template-columns: repeat(3, 1fr); } }
.dolor li { background: var(--negro); padding: 28px 24px 28px 0; font-family: var(--f-tit); font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.18; font-weight: 500; }
@media (min-width: 820px) { .dolor li { padding: 36px 32px; } .dolor li:first-child { padding-left: 0; } }
.dolor li::before { content: "“"; display: block; color: var(--arena); font-size: 2.4rem; line-height: .6; margin-bottom: 10px; }

/* ---------- Dos servicios ---------- */
.servicios { display: grid; gap: 16px; }
@media (min-width: 820px) { .servicios { grid-template-columns: 1fr 1fr; gap: 24px; } }
.serv { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--linea); border-radius: 6px; overflow: hidden; background: var(--negro-2); }
.serv-foto { aspect-ratio: 1 / 1; overflow: hidden; }
.serv-foto img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82); transition: transform 1.1s var(--ease), filter .6s; }
.serv:hover .serv-foto img { transform: scale(1.06); filter: saturate(1); }
.serv-cuerpo { display: grid; gap: 18px; padding: clamp(22px, 3vw, 34px); align-content: start; }
.serv h3 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.checks { display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; color: var(--texto-2); }
.checks li::before { content: ""; width: 10px; height: 10px; margin-top: .55em; border: 1.5px solid var(--arena); border-radius: 50%; }
.checks strong { color: var(--blanco); font-weight: 500; }
.serv .btn { justify-self: start; margin-top: 6px; }

/* ---------- Método: los 4 pasos ---------- */
.pasos { display: grid; gap: 0; counter-reset: paso; }
.paso { display: grid; grid-template-columns: 56px 1fr; gap: 4px 20px; padding-block: 26px; border-top: 1px solid var(--linea); }
.paso:last-child { border-bottom: 1px solid var(--linea); }
.paso::before { counter-increment: paso; content: counter(paso, decimal-leading-zero); grid-row: span 2; font: 500 1rem/1.6 var(--f-tit); color: var(--arena); letter-spacing: .04em; }
.paso h3 { font-size: 1.625rem; }
.paso p { color: var(--texto-2); max-width: 36rem; }

/* ---------- Video ---------- */
.video { position: relative; border-radius: 6px; overflow: hidden; background: var(--negro-2); border: 1px solid var(--linea); }
.video video { width: 100%; height: 100%; object-fit: cover; }
.video.vertical { aspect-ratio: 9 / 16; max-width: 400px; max-height: 78vh; margin-inline: auto; }
.video.horizontal { aspect-ratio: 16 / 9; }
.video-play {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: end; gap: 10px;
  padding: 24px; border: 0; cursor: pointer; color: var(--blanco);
  background: linear-gradient(180deg, rgba(11, 11, 11, 0) 45%, rgba(11, 11, 11, .78) 100%);
  font: 500 .9375rem/1.3 var(--f-txt); text-align: center;
}
.video-play span:first-child { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--arena); color: var(--negro); transition: transform .25s var(--ease); }
.video-play:hover span:first-child { transform: scale(1.06); }
.video-play svg { width: 24px; height: 24px; margin-left: 3px; }
.video.reproduciendo .video-play { display: none; }
/* Reproducción automática en silencio: se oculta el botón grande y aparece "Activar sonido" */
.video.silenciado .video-play { display: none; }
.video-sonido {
  position: absolute; left: 12px; bottom: 12px; z-index: 2; display: none; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px 0 12px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(11, 11, 11, .78); color: var(--blanco); font: 600 .875rem/1 var(--f-txt);
  backdrop-filter: blur(6px); transition: background .25s;
}
.video-sonido svg { width: 20px; height: 20px; color: var(--arena); }
.video-sonido:hover { background: var(--negro); }
.video-sonido:focus-visible { outline: 2px solid var(--arena); outline-offset: 2px; }
.video.silenciado .video-sonido { display: inline-flex; }

/* ---------- Los 8 movimientos ---------- */
.pilares { display: grid; gap: 1px; background: var(--linea); border: 1px solid var(--linea); border-radius: 6px; overflow: hidden; }
@media (min-width: 700px) { .pilares { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .pilares { grid-template-columns: repeat(4, 1fr); } }
.pilar { background: var(--negro); padding: 26px 22px 28px; display: grid; gap: 18px; align-content: start; }
.pilar-cab { display: grid; gap: 6px; }
.pilar h3 { font-size: 1.5rem; }
.pilar-cab p { font-size: .9375rem; color: var(--texto-2); }
.mv { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; }
.mv svg { width: 72px; height: 72px; fill: none; stroke: var(--arena); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mv svg .piso { stroke: var(--gris); stroke-width: 1.5; }
.mv svg .guia { stroke: var(--gris); stroke-dasharray: 3 4; stroke-width: 1.5; }
.mv strong { display: block; font-weight: 500; line-height: 1.3; }
.mv span { display: block; font-size: .8125rem; color: var(--texto-2); line-height: 1.4; margin-top: 2px; }
.js .draw path, .js .draw circle, .js .draw line:not(.piso), .js .draw rect { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .draw.listo path, .js .draw.listo circle, .js .draw.listo line:not(.piso), .js .draw.listo rect { animation: trazo 1.3s var(--ease) both; }
.js .draw.listo .guia { stroke-dasharray: 3 4; animation: none; }
@keyframes trazo { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.aviso-medico { margin-top: 20px; }

/* ---------- Quién dirige ---------- */
.director { display: grid; gap: 28px; }
.cred { display: grid; gap: 0; border-top: 1px solid var(--linea); }
.cred li { display: grid; grid-template-columns: 10rem 1fr; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--linea); font-size: .9375rem; }
.cred li span:first-child { color: var(--texto-2); }
@media (max-width: 520px) { .cred li { grid-template-columns: 1fr; gap: 2px; } }
.prensa { display: grid; gap: 20px; margin-top: clamp(56px, 7vw, 88px); }
@media (min-width: 900px) { .prensa { grid-template-columns: .8fr 1.2fr; align-items: center; gap: 56px; } }

/* ---------- Equipo ---------- */
.equipo-foto { border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; }
.equipo-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: saturate(.82); }
.equipo-foto.foto-h { aspect-ratio: 45 / 32; }
/* En escritorio la foto acompaña toda la altura de la columna vecina, sin dejar espacio negro */
@media (min-width: 900px) { .equipo-foto.foto-llena { aspect-ratio: auto !important; align-self: stretch; min-height: 420px; } .dos-col:has(.foto-llena) { align-items: stretch; } }
.roles { display: grid; gap: 0; border-top: 1px solid var(--linea); }
.roles div { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--linea); }
.roles dt { color: var(--texto-2); font-size: .9375rem; }
.roles dd { font-weight: 500; }
@media (max-width: 520px) { .roles div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Casos ---------- */
.casos { display: grid; gap: 16px; }
@media (min-width: 860px) { .casos { grid-template-columns: 1fr 1fr; gap: 24px; } }
.caso { border: 1px solid var(--linea); border-radius: 6px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 22px; background: var(--negro-2); align-content: start; }
.caso h3 { font-size: 1.875rem; }
.caso dl { display: grid; gap: 16px; }
.caso dl div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 14px; }
.caso dt { padding-top: 3px; }
.caso dd { color: var(--texto-2); }
.caso dd.resultado { color: var(--blanco); }
@media (max-width: 480px) { .caso dl div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Preguntas ---------- */
.faq { border-top: 1px solid var(--linea); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--linea); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 22px; cursor: pointer; list-style: none; font: 500 1.375rem/1.25 var(--f-tit); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.5px solid var(--arena); border-bottom: 1.5px solid var(--arena); transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details p { padding-bottom: 24px; color: var(--texto-2); max-width: 44rem; }

/* ---------- Cierre ---------- */
.cierre { text-align: left; }
.cierre .wrap { display: grid; gap: 28px; justify-items: start; }
.cierre .hero-cta { width: 100%; }
.dato-wa { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: .9375rem; color: var(--texto-2); }
.dato-wa b { color: var(--blanco); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.copiar { background: none; border: 1px solid var(--linea); color: var(--texto-2); border-radius: 4px; padding: 5px 10px; font: 500 .8125rem/1 var(--f-txt); cursor: pointer; }
.copiar:hover { color: var(--blanco); border-color: var(--arena); }

/* ---------- Pie ---------- */
.pie { border-top: 1px solid var(--linea); padding-block: 48px calc(96px + env(safe-area-inset-bottom, 0px)); font-size: .875rem; color: var(--texto-2); }
.pie .wrap { display: grid; gap: 32px; }
@media (min-width: 820px) { .pie .wrap { grid-template-columns: 1.2fr 1fr 1fr; } }
.pie h4 { font: 500 .75rem/1.2 var(--f-txt); letter-spacing: .1em; text-transform: uppercase; color: var(--blanco); margin-bottom: 14px; }
.pie ul { display: grid; gap: 8px; }
.pie a { text-decoration: none; }
.pie a:hover { color: var(--blanco); }
.pie .legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--linea); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* ---------- WhatsApp flotante ---------- */
.wa-flot {
  position: fixed; z-index: 25;
  right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--blanco); color: var(--negro); text-decoration: none; font-weight: 600; font-size: .9375rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .45);
  transition: transform .25s var(--ease);
}
.wa-flot:hover { transform: translateY(-2px); }
.wa-flot svg { width: 24px; height: 24px; }
/* En el celular: botón redondo más chico y más pegado al borde, para tapar menos contenido */
@media (max-width: 520px) { .wa-flot { width: 46px; height: 46px; padding: 0; justify-content: center; right: calc(12px + env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 6px 18px rgba(0, 0, 0, .45); } .wa-flot svg { width: 22px; height: 22px; } .wa-flot span { display: none; } }

/* ---------- Páginas internas ---------- */
.migas { font-size: .875rem; color: var(--texto-2); }
.migas a { text-decoration: none; }
.migas a:hover { color: var(--blanco); }
.linea-tiempo { display: grid; gap: 0; border-left: 1px solid var(--linea); margin-left: 6px; }
.linea-tiempo li { position: relative; display: grid; gap: 4px; padding: 0 0 30px 30px; }
.linea-tiempo li:last-child { padding-bottom: 0; }
.linea-tiempo li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--negro); border: 1.5px solid var(--arena); }
.linea-tiempo .label { color: var(--arena); }
.linea-tiempo h3 { font-size: 1.375rem; }
.linea-tiempo p { color: var(--texto-2); max-width: 34rem; }
.zonas { display: flex; flex-wrap: wrap; gap: 10px; }
.zonas li { border: 1px solid var(--linea); border-radius: 999px; padding: 8px 16px; font-size: .9375rem; }
.zonas li small { color: var(--texto-2); font-size: .8125rem; }
.galeria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 980px; margin-inline: auto; }
@media (min-width: 820px) { .galeria { gap: 14px; } }
/* Las fotos son verticales de celular: se muestran enteras, sin recorte */
.galeria figure { aspect-ratio: 9 / 16; overflow: hidden; border-radius: 4px; }
.galeria img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82); }
.equipamiento { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.equipamiento li { font-size: .9375rem; color: var(--texto-2); }
.equipamiento li + li::before { content: "·"; color: var(--arena); margin-right: 10px; }

/* Comparación de planes online */
.planes { display: grid; gap: 16px; }
@media (min-width: 860px) { .planes { grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; } }
.plan { border: 1px solid var(--linea); border-radius: 6px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 20px; background: var(--negro-2); }
.plan.destacado { border-color: var(--arena); }
.plan h3 { font-size: clamp(1.875rem, 3vw, 2.375rem); }
.plan .para { color: var(--texto-2); }
.plan .btn { justify-self: start; }

/* Formulario */
.form { display: grid; gap: 18px; border: 1px solid var(--linea); border-radius: 6px; padding: clamp(22px, 3vw, 36px); background: var(--negro-2); }
.campo { display: grid; gap: 8px; }
.campo label, .campo legend { font-weight: 500; font-size: .9375rem; }
.campo .ayuda { font-size: .8125rem; color: var(--texto-2); }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 6px;
  background: var(--negro); color: var(--blanco); border: 1px solid rgba(200, 191, 162, .28);
  font: 400 1rem/1.4 var(--f-txt);
}
.campo textarea { min-height: 96px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--arena); box-shadow: 0 0 0 3px rgba(200, 191, 162, .18); }
.campo [aria-invalid="true"] { border-color: #E08A7A; }
.campo .error { font-size: .8125rem; color: #E8A597; }
.fila-2 { display: grid; gap: 18px; }
@media (min-width: 600px) { .fila-2 { grid-template-columns: 1fr 1fr; } }
fieldset.campo { border: 0; padding: 0; margin: 0; }
.opciones { display: grid; gap: 8px; }
@media (min-width: 600px) { .opciones { grid-template-columns: 1fr 1fr; } }
.opcion { position: relative; }
.opcion input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opcion label { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid rgba(200, 191, 162, .28); border-radius: 6px; cursor: pointer; font-weight: 500; }
.opcion label small { font-weight: 400; color: var(--texto-2); font-size: .8125rem; }
.opcion input:checked + label { border-color: var(--arena); background: rgba(200, 191, 162, .08); }
.opcion input:focus-visible + label { outline: 2px solid var(--arena); outline-offset: 2px; }
.form .btn { justify-self: start; }
.form-ok { border: 1px solid var(--arena); border-radius: 6px; padding: 24px; display: grid; gap: 14px; }
.form-ok h3 { font-size: 1.75rem; }

/* ---------- Movimiento sutil ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .draw.listo path, .js .draw.listo circle, .js .draw.listo line, .js .draw.listo rect { animation: none; }
  .btn, .btn svg, .serv-foto img, .wa-flot { transition: none; }
}

/* ================= Movimiento =================
   Botones: suben, brillan o se llenan. Imágenes: se descubren al llegar a ellas
   y se acercan al pasar. Todo queda visible en reposo y se apaga si la persona
   pide menos movimiento. */
.enlace { background: linear-gradient(var(--arena), var(--arena)) left bottom / 0 1px no-repeat; transition: background-size .4s var(--ease), gap .3s var(--ease); }
.enlace:hover { background-size: 100% 1px; gap: 12px; }
.copiar { transition: color .2s, border-color .2s, transform .2s var(--ease); }
.copiar:active { transform: scale(.94); }
.menu-btn { transition: border-color .2s, transform .2s var(--ease); }
.menu-btn:active { transform: scale(.92); }
.wa-flot { transition: transform .35s var(--ease), box-shadow .35s; }
.wa-flot:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 34px rgba(0, 0, 0, .55); }
.wa-flot:active { transform: scale(.95); }
.wa-flot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--blanco); opacity: 0; animation: anillo 2.6s 1.5s var(--ease) 3; pointer-events: none; }
@keyframes anillo { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }
.video-play span:first-child { position: relative; }
.video-play span:first-child::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid var(--arena); opacity: 0; transition: opacity .3s, transform .5s var(--ease); transform: scale(.85); }
.video-play:hover span:first-child::after { opacity: 1; transform: scale(1.1); }
.video video { transition: transform 1.1s var(--ease); }
.video:hover video { transform: scale(1.03); }
.video.reproduciendo:hover video { transform: none; }

/* Imágenes: acercamiento al pasar */
.equipo-foto img, .galeria img, .hero-foto img { transition: transform 1.1s var(--ease), filter .6s; }
.equipo-foto:hover img, .galeria figure:hover img { transform: scale(1.06); filter: saturate(1); }

/* Tarjetas: suben y marcan el borde */
.serv, .caso, .plan { transition: transform .45s var(--ease), border-color .45s, box-shadow .45s; }
.serv:hover, .caso:hover, .plan:hover { transform: translateY(-6px); border-color: rgba(200, 191, 162, .45); box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .9); }
.pilar { transition: background-color .4s; }
.pilar:hover { background: var(--negro-2); }
.mv svg { transition: transform .45s var(--ease); }
.mv:hover svg { transform: scale(1.12) rotate(-3deg); }
.zonas li { transition: border-color .3s, background-color .3s, transform .3s var(--ease); }
.zonas li:hover { border-color: var(--arena); background: rgba(200, 191, 162, .08); transform: translateY(-2px); }
.faq summary { transition: color .25s, padding-left .35s var(--ease); }
.faq summary:hover { color: var(--arena); padding-left: 8px; }
.faq details[open] p { animation: abrir .5s var(--ease); }
@keyframes abrir { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.opcion label { transition: border-color .25s, background-color .25s, transform .25s var(--ease); }
.opcion label:hover { transform: translateY(-2px); border-color: var(--arena); }

@media (prefers-reduced-motion: no-preference) {
  /* Portada: el texto entra en cascada y la foto se descubre al cargar */
  .hero-txt > * { animation: subir .9s var(--ease) both; }
  .hero-txt > :nth-child(2) { animation-delay: .08s; }
  .hero-txt > :nth-child(3) { animation-delay: .16s; }
  .hero-txt > :nth-child(4) { animation-delay: .26s; }
  .hero-txt > :nth-child(5) { animation-delay: .36s; }
  .hero-txt > :nth-child(6) { animation-delay: .46s; }
  .hero-foto { animation: descubrir 1.3s .1s var(--ease) both; }
  .hero-foto img { animation: alejar 2.6s .1s var(--ease) backwards; }
  @keyframes subir { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  @keyframes descubrir { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
  @keyframes alejar { from { transform: scale(1.18); } to { transform: scale(1); } }

  /* Al bajar: sólo para lo que está fuera de pantalla al cargar (lo marca main.js) */
  .js .pre-img { clip-path: inset(18% 0 0 0); }
  .js .pre-img img, .js .pre-img video { transform: scale(1.16); }
  .js .rev-img { clip-path: inset(0 0 0 0); transition: clip-path 1.2s var(--ease) var(--d, 0s); }
  .js .rev-img img, .js .rev-img video { transition: transform 1.6s var(--ease) var(--d, 0s); }
  .js .pre-txt { opacity: 0; transform: translateY(32px); }
  .js .rev-txt { transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Áreas de toque de 44 px (auditoría): se amplía la zona tocable sin mover nada de lugar */
.logo, .nav a:not(.btn), .migas a, .pie a, .copiar { position: relative; }
.logo::before, .nav a:not(.btn)::before, .migas a::before, .pie a::before, .copiar::before {
  content: ""; position: absolute; left: -6px; right: -6px; top: 50%; height: 44px; transform: translateY(-50%);
}
.nav .btn { min-height: 44px; }
.pie ul { gap: 14px; }
.enlace { min-height: 44px; }

/* Campo trampa contra robots: invisible para las personas */
.campo-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Zoom suave al acercar el cursor a cualquier foto o video (sólo con mouse; se apaga con "reducir movimiento") */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero-foto, .serv-foto, .equipo-foto, .galeria figure, .video { overflow: hidden; }
  .hero-foto img, .serv-foto img, .equipo-foto img, .galeria img, .video video { transition: transform .9s var(--ease), filter .6s; }
  .hero-foto:hover img, .serv-foto:hover img, .serv:hover .serv-foto img, .equipo-foto:hover img, .galeria figure:hover img,
  .video:hover video { transform: scale(1.05); filter: saturate(1); }
  /* Con sonido y controles a la vista no se agranda, para no cortar los controles */
  .video.reproduciendo:hover video { transform: none; }
}

/* Portada de Online en el celular: recuadro más alto para que entren la cara de Fede y la notebook */
@media (max-width: 899px) {
  .hero-foto--notebook { aspect-ratio: 2 / 3; max-height: none; }
  .hero-foto--notebook img { object-position: 50% 100% !important; }
  .hero-foto--notebook::after { background: linear-gradient(180deg, rgba(11, 11, 11, 0) 82%, var(--negro) 100%); }
}
