

@font-face {
  font-family: "Futura PT";
  src: url("../assets/fonts/FuturaCyrillicLight.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Futura PT";
  src: url("../assets/fonts/FuturaCyrillicBook.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Futura PT";
  src: url("../assets/fonts/FuturaCyrillicMedium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Futura PT";
  src: url("../assets/fonts/FuturaCyrillicDemi.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Futura PT";
  src: url("../assets/fonts/FuturaCyrillicBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Futura PT";
  src: url("../assets/fonts/FuturaCyrillicExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Futura PT";
  src: url("../assets/fonts/FuturaCyrillicHeavy.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ——— Colores (aquí se cambia el look general) ——— */
  --bg: #0a0a0c;                 /* Fondo base de la web */
  --bg-elevated: #111113;        /* Superficies un poco más claras que el fondo */
  --surface: rgba(10, 10, 12, 0.55);
  --secondary: #dbd9ca;          /* Color secundario para detalles */
  --text: #f4f4f5;               /* Color de texto principal */
  --muted: #9a9aa0;              /* Texto secundario / descripciones */
  --line: rgba(255, 255, 255, 0.12); /* Bordes y líneas finas */
  --accent: #ffffff;             /* Botones sólidos / acentos */
  --accent-ink: #0a0a0c;         /* Texto sobre botones blancos */
  --glass: rgba(16, 16, 18, 0.62); /* Header / menú glass */
  --glass-border: rgba(255, 255, 255, 0.12);

  /* ——— Forma y medidas ——— */
  --radius: 6px;                 /* Radio general de bordes */
  --header-h: 64px;              /* Altura del header */
  --max: 1120px;                 /* Ancho máximo del contenido */
  --section-pad: clamp(2.5rem, 6vw, 4.5rem);       /* Padding vertical secciones */
  --section-pad-home: clamp(4rem, 10vw, 7.5rem);   /* Padding en Inicio */

  /* ——— Tipografía ——— */
  /* Futura PT solo en wordmark FOCU(T)S (Latin Extended incompleto en las TTF).
     Titulares y cuerpo: Montserrat. */
  --font-display: "Montserrat", "Segoe UI", sans-serif;
  --font-brand: "Montserrat", "Futura PT", sans-serif;
  --font-body: "Montserrat", "Segoe UI", sans-serif;

  /* ——— Motion ——— */
  --ease: 180ms ease;                          /* Transiciones UI cortas */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);  /* Reveal al scroll */
  --motion: 880ms;                             /* Duración del reveal */
  --yeasy: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Fondo: degradado + brillo suave arriba (aquí se oscurece/aclara el ambiente) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 255, 255, 0.025), transparent 55%),
    linear-gradient(180deg, #0c0c0e 0%, #060608 100%);
}

/* Textura grain: subir/bajar opacity para más o menos grano */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6rem;
  letter-spacing: 0.04em;
}

h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); letter-spacing: 0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; }

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-pad);
  position: relative;
}

.section--page-intro {
  padding-top: clamp(2rem, 5vw, 3rem);
  padding-bottom: 0.75rem;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 0.6rem;
  line-height: 1.15;
}

.page-lead {
  margin: 0;
  max-width: 36rem;
  font-size: 1.05rem;
  color: rgba(244, 244, 245, 0.88);
}

.section--tight-top {
  padding-top: 1.25rem;
}

/* Separador corto entre secciones (cambia width/color aquí) */
.section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(7.5rem, 32vw); /* Largo del trazo */
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, var(--secondary) 75%, transparent) 50%,
    transparent 100%
  );
  pointer-events: none;
}

/* Inicio: más aire entre hero y bloques siguientes */
body.is-home main > .section {
  padding-block: var(--section-pad-home);
}

body.is-home main > .hero + .section {
  padding-top: clamp(4.5rem, 12vw, 8.5rem);
  padding-bottom: var(--section-pad-home);
}

body.is-home .grid-3,
body.is-home .method-steps {
  margin-top: clamp(2rem, 4vw, 3rem);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

body.is-home .feature h3 {
  margin-bottom: 0.65rem;
}

body.is-home .feature p {
  line-height: 1.65;
}

/* Primera sección: layout original (centrado + columnas con líneas) */
.diff__intro {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.diff__intro .eyebrow {
  margin-bottom: 1rem;
}

.diff__intro h2 {
  margin-bottom: 0;
}

.diff__rule {
  display: block;
  width: 48px;
  height: 1px;
  margin: 1.35rem auto 0;
  background: var(--secondary);
}

.diff__lead {
  margin: 0.85rem auto 0;
  max-width: 28rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.diff__grid {
  display: grid;
  gap: 2.5rem;
  margin-top: clamp(2.75rem, 6vw, 4rem);
}

@media (min-width: 800px) {
  .diff__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .diff__grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.diff__item {
  text-align: center;
  padding-inline: clamp(0.85rem, 2vw, 1.75rem);
}

@media (min-width: 800px) {
  .diff__item + .diff__item {
    border-left: 1px solid color-mix(in srgb, var(--secondary) 32%, transparent);
  }
}

.diff__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  color: var(--secondary);
}

.diff__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.diff__step {
  margin: 0 0 0.85rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.diff__item h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0 0 0.65rem;
  color: var(--text);
}

.diff__item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 16rem;
  margin-inline: auto;
}

/* Home horizontal photo slides */
.h-scroll--home {
  margin-top: clamp(2rem, 5vw, 3rem);
  gap: 1rem;
  padding-bottom: 0.75rem;
  align-items: stretch;
}

.home-slide {
  flex: 0 0 min(78vw, 280px);
  width: min(78vw, 280px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.home-slide__media {
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
  background: #151517;
  border: 1px solid var(--line);
}

.home-slide__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

/* Diff Inicio: fotos en B/N (quita esta regla para verlas a color) */
.section--diff .home-slide__media img {
  filter: grayscale(1) contrast(1.05);
}

.home-slide__body {
  padding: 1.35rem 0.35rem 0;
}

.home-slide__step {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.home-slide__body h3 {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.25;
  margin: 0 0 0.55rem;
  color: var(--text);
}

.home-slide__body p:last-child {
  margin: 0 auto;
  max-width: 18rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--muted);
}

@media (min-width: 900px) {
  .section--diff .h-scroll--home {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    gap: 1.25rem;
  }

  .section--method .h-scroll--home {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
    gap: 1.1rem;
  }

  .section--diff .home-slide,
  .section--method .home-slide {
    flex: none;
    width: auto;
  }
}

.section-link--center {
  text-align: center;
}

/* CTA centrado bajo un bloque de contenido */
.block-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}

.asesoria-invest {
  text-align: center;
  position: relative;
  z-index: 1;
}

.asesoria-invest > .eyebrow,
.asesoria-invest > h1,
.asesoria-invest > .lead {
  text-align: center;
  margin-inline: auto;
}

.asesoria-invest__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 auto 0.85rem;
  max-width: 18ch;
}

.asesoria-invest__price {
  margin: clamp(1.25rem, 3vw, 1.75rem) 0 0.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 500;
  color: var(--secondary);
  letter-spacing: 0.06em;
}

.asesoria-invest__include {
  margin: 0 auto 0.85rem;
  max-width: 28rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.asesoria-invest__note {
  margin: 0 auto;
  max-width: 28rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.asesoria-invest__time {
  margin: 0.85rem auto 0;
  max-width: 28rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.asesoria-flow {
  margin: 1.25rem auto 0;
  max-width: 22rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

.asesoria-flow strong {
  color: var(--text);
  font-weight: 500;
}

.asesoria-flow--compact {
  margin-top: 0.75rem;
}

.asesoria-invest .block-cta {
  margin-top: 1.35rem;
}

.asesoria-top {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(2.75rem, 7vw, 4.5rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
  background-color: var(--bg);
  background-image: url("../assets/textures/geo-dark.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.asesoria-top::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(10, 10, 12, 0.52);
  pointer-events: none;
}

.asesoria-grid {
  margin-top: 1.5rem;
}

.asesoria-lead {
  color: rgba(244, 244, 245, 0.9);
  max-width: 28rem;
}

.asesoria-analyze {
  margin-top: 1.75rem;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .asesoria-analyze {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    text-align: left;
  }

  body.is-page-center .asesoria-analyze {
    text-align: left;
  }
}

.asesoria-analyze__item h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--secondary);
}

.asesoria-analyze__body {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  color: rgba(244, 244, 245, 0.88);
}

.asesoria-analyze__why {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}

.asesoria-faq {
  margin-top: 1.5rem;
  max-width: 40rem;
  margin-inline: auto;
  border-top: 1px solid color-mix(in srgb, var(--secondary) 35%, transparent);
}

.asesoria-faq__item {
  border-bottom: 1px solid color-mix(in srgb, var(--secondary) 35%, transparent);
}

.asesoria-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.75rem 1rem 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
  position: relative;
}

.asesoria-faq__item summary::-webkit-details-marker {
  display: none;
}

.asesoria-faq__item summary::after {
  content: "";
  position: absolute;
  right: 0.15rem;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--ease);
}

.asesoria-faq__item[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.asesoria-faq__item p {
  margin: 0 0 1.1rem;
  padding-right: 1.5rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(244, 244, 245, 0.82);
}

.asesoria-includes {
  margin-top: 1.5rem;
  max-width: 40rem;
  margin-inline: auto;
  text-align: left;
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
}

.asesoria-includes__heading {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.asesoria-includes__group--deliver {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.asesoria-includes .list-clean li.is-key .list-clean__name {
  color: var(--text);
  font-weight: 600;
  font-size: 1.02rem;
}

.asesoria-includes .list-clean li.is-key--dossier .list-clean__name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.asesoria-dossier-preview {
  margin: 1.5rem 0 0;
}

.asesoria-dossier-preview__frame {
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.asesoria-dossier-preview__label {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.asesoria-dossier-preview__placeholder {
  margin: 0;
  max-width: 16rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: rgba(244, 244, 245, 0.55);
}

.asesoria-dossier-preview figcaption {
  margin-top: 0.65rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.asesoria-dossier {
  margin: clamp(2rem, 5vw, 3rem) 0 0;
  text-align: center;
}

.asesoria-dossier__label {
  margin: 0 0 0.85rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.asesoria-dossier figcaption {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.h-scroll--dossier {
  margin-top: 0;
  gap: 0.85rem;
  padding: 0.15rem 0.15rem 0.85rem;
  scroll-padding-inline: 0.15rem;
  align-items: flex-start;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
}

.h-scroll--dossier::-webkit-scrollbar {
  height: 3px;
}

.h-scroll--dossier::-webkit-scrollbar-track {
  background: transparent;
  margin-inline: 0.25rem;
}

.h-scroll--dossier::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.28);
  border-radius: 99px;
}

.h-scroll--dossier::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.45);
}

.dossier-slide {
  flex: 0 0 min(68vw, 220px);
  width: min(68vw, 220px);
  scroll-snap-align: start;
  border: 1px solid var(--line);
  background: #0e0e10;
  overflow: visible;
  line-height: 0;
}

.dossier-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: top center;
  vertical-align: top;
}

@media (min-width: 768px) {
  .dossier-slide {
    flex-basis: 240px;
    width: 240px;
  }
}

.asesoria-results {
  margin: clamp(2.5rem, 6vw, 3.75rem) 0 0;
  text-align: center;
}

.asesoria-results__label {
  margin: 0 0 0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.asesoria-results__lead {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
}

.h-scroll--results {
  margin-top: 0;
  gap: 0.85rem;
  padding: 0.15rem 0.15rem 0.85rem;
  scroll-padding-inline: 0.15rem;
  align-items: flex-start;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
}

.h-scroll--results::-webkit-scrollbar {
  height: 3px;
}

.h-scroll--results::-webkit-scrollbar-track {
  background: transparent;
  margin-inline: 0.25rem;
}

.h-scroll--results::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.28);
  border-radius: 99px;
}

.h-scroll--results::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.45);
}

.result-slide {
  flex: 0 0 min(52vw, 200px);
  width: min(52vw, 200px);
  scroll-snap-align: start;
  border: 1px solid var(--line);
  background: #0e0e10;
  overflow: hidden;
  line-height: 0;
}

.result-slide img {
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 16;
  display: block;
  object-fit: cover;
  object-position: center center;
}

@media (min-width: 768px) {
  .result-slide {
    flex-basis: 220px;
    width: 220px;
  }
}

.asesoria-trust__lead {
  margin-bottom: 1.5rem;
  color: rgba(244, 244, 245, 0.9);
}

.asesoria-trust {
  display: grid;
  gap: 1.25rem;
  max-width: 36rem;
  margin-inline: auto;
  text-align: left;
}

@media (min-width: 640px) {
  .asesoria-trust {
    grid-template-columns: 1fr 1fr;
    max-width: 44rem;
  }
}

.asesoria-trust__person {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.asesoria-trust__person img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  flex-shrink: 0;
  filter: grayscale(1) contrast(1.05);
}

.asesoria-trust__person h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0 0 0.35rem;
}

.asesoria-trust__person p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Solo Jorge: forzar centro (después del grid 2 cols) */
.asesoria-trust.asesoria-trust--solo {
  display: flex;
  justify-content: center;
  max-width: none;
  width: 100%;
  margin-inline: auto;
  text-align: center;
  grid-template-columns: none;
}

.asesoria-trust.asesoria-trust--solo .asesoria-trust__person {
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 22rem;
  margin-inline: auto;
}

.asesoria-trust.asesoria-trust--solo .asesoria-trust__person img {
  width: 140px;
  height: 140px;
}

.asesoria-trust.asesoria-trust--solo .asesoria-trust__person p {
  max-width: 20rem;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .asesoria-trust.asesoria-trust--solo {
    grid-template-columns: none;
    max-width: none;
  }
}

.asesoria-trust__privacy {
  margin: 1.75rem auto 0.65rem;
  max-width: 28rem;
  font-size: 0.92rem;
  color: rgba(244, 244, 245, 0.78);
  text-align: center;
}

.asesoria-trust__link {
  margin: 0 auto;
  text-align: center;
}

.asesoria-trust__link a {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--muted);
}

.asesoria-trust__link a:hover {
  color: var(--text);
}

.asesoria-trust__reviews {
  margin: 0.85rem 0 0;
}

.asesoria-trust__reviews a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.asesoria-trust__reviews a:hover {
  color: var(--text);
}

.asesoria-draft {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
}

.asesoria-draft p {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: rgba(244, 244, 245, 0.88);
}

.asesoria-draft__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.asesoria-sheet__bar {
  display: none;
}

@media (max-width: 767px) {
  body.is-asesoria-sheet-open {
    overflow: hidden;
    touch-action: none;
  }

  body.is-asesoria-sheet-open #perfil.asesoria-perfil {
    position: fixed;
    inset: 0;
    z-index: 80;
    margin: 0;
    padding: 0;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  body.is-asesoria-sheet-open .asesoria-sheet {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
  }

  body.is-asesoria-sheet-open .asesoria-sheet__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex: 0 0 auto;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
    background: rgba(18, 18, 20, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .asesoria-sheet__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
  }

  .asesoria-sheet__close {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 0.35rem 0.5rem;
  }

  .asesoria-sheet__close:hover,
  .asesoria-sheet__close:focus-visible {
    color: var(--text);
  }

  body.is-asesoria-sheet-open .asesoria-sheet__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-block: 1.25rem 2rem;
    width: min(100% - 2rem, var(--max));
  }

  body.is-asesoria-sheet-open .asesoria-form-panel__head .eyebrow {
    display: none;
  }
}

.asesoria-perfil {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.asesoria-form-panel {
  margin-top: 0;
  text-align: left;
}

.asesoria-form-panel__head {
  margin-bottom: 1.5rem;
  text-align: center;
}

.asesoria-form-panel__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 500;
  margin: 0 0 0.5rem;
}

.asesoria-form-panel__head p {
  margin: 0.35rem auto 0;
  max-width: 28rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.asesoria-form-panel__time {
  margin: 0.65rem auto 0;
  max-width: 28rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.asesoria-form-panel .form-shell {
  margin-top: 0;
  background: var(--bg-elevated);
  border-color: rgba(255, 255, 255, 0.14);
  padding: clamp(1.35rem, 3vw, 1.75rem);
}

.asesoria-done {
  margin-top: 0;
  text-align: center;
}

.asesoria-done h3 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 500;
  margin: 0 0 0.65rem;
}

.asesoria-done > p {
  margin: 0 auto 1.25rem;
  max-width: 26rem;
  color: var(--muted);
}

.asesoria-done__next {
  list-style: none;
  margin: 0 auto 1.5rem;
  padding: 0;
  max-width: 22rem;
  text-align: left;
  counter-reset: done;
}

.asesoria-done__next li {
  position: relative;
  padding: 0.55rem 0 0.55rem 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--text);
  counter-increment: done;
}

.asesoria-done__next li:last-child {
  border-bottom: 1px solid var(--line);
}

.asesoria-done__next li::before {
  content: counter(done);
  position: absolute;
  left: 0;
  top: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--muted);
}

.asesoria-done .btn {
  margin-top: 0.25rem;
}

.form-optional {
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--muted);
  font-size: 0.85em;
}

.photo-tips {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.photo-tips li {
  position: relative;
  padding-left: 0.9rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.photo-tips li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.photo-previews {
  display: flex;
  gap: 0.65rem;
  margin: 1rem 0 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.photo-previews:empty {
  display: none;
}

.photo-thumb {
  position: relative;
  flex: 0 0 88px;
  width: 88px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-thumb__remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.photo-thumb__remove:hover {
  background: rgba(0, 0, 0, 0.85);
}

body.is-home main > .section + .section {
  margin-top: clamp(0.5rem, 2vw, 1.25rem);
}

body.is-home .site-footer {
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

body.is-home .h-scroll {
  margin-top: clamp(2rem, 4vw, 3rem);
}

body.is-home .section-link {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

body.is-home .section-link a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

/* Trazo bajo títulos de sección (tras eyebrow) */
.section .container > h2 {
  position: relative;
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
}

.section .container > h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.75rem;
  height: 1px;
  background: var(--secondary);
}

body.is-page-center .section .container > h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.page-title::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 1px;
  margin-top: 0.85rem;
  background: var(--secondary);
}

.section--page-intro .page-title::after,
body.is-page-center .page-title::after {
  margin-inline: auto;
}

.lead {
  font-size: 1.05rem;
  max-width: 36rem;
}

/* Asesoría / Servicios / Productos: contenido centrado */
body.is-page-center .section .container {
  text-align: center;
}

body.is-page-center .lead {
  margin-inline: auto;
}

body.is-page-center .h-scroll {
  justify-content: flex-start;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  overflow-x: auto;
}

@media (min-width: 768px) {
  body.is-page-center .h-scroll {
    overflow-x: auto;
  }
}

body.is-page-center .feature,
body.is-page-center .method-steps li,
body.is-page-center .product-card {
  text-align: center;
}

body.is-page-center .method-steps li {
  justify-content: center;
}

body.is-page-center .list-clean {
  max-width: 42rem;
  margin-inline: auto;
  text-align: left;
}

body.is-page-center .form-shell {
  max-width: 36rem;
  margin-inline: auto;
  text-align: left;
}

/* ——— Header glass ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(18, 18, 20, 0.78);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    opacity 280ms ease,
    transform 280ms ease,
    visibility 280ms ease;
}

/* Inicio: header fijo sobre el vídeo */
body.is-home .site-header {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

/* Pixel 0: liquid glass transparente, muy poco blanquecino */
body.is-home:not(.is-scrolled):not(.is-header-hidden) .site-header {
  background: rgba(255, 255, 255, 0.07);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: none;
}

body.is-home:not(.is-scrolled):not(.is-header-hidden) .logo,
body.is-home:not(.is-scrolled):not(.is-header-hidden) .nav-desktop a {
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.85);
  color: #f4f4f5;
}

body.is-home:not(.is-scrolled):not(.is-header-hidden) .nav-desktop a {
  color: rgba(244, 244, 245, 0.94);
}

body.is-home:not(.is-scrolled):not(.is-header-hidden) .nav-desktop a:hover,
body.is-home:not(.is-scrolled):not(.is-header-hidden) .nav-desktop a[aria-current="page"] {
  color: #ffffff;
}

body.is-home:not(.is-scrolled):not(.is-header-hidden) .nav-desktop a.nav-link--featured::after {
  background: rgba(255, 255, 255, 0.55);
}

body.is-home:not(.is-scrolled):not(.is-header-hidden) .menu-toggle {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Primer scroll (aún en hero): estilo actual oscuro */
body.is-home.is-scrolled:not(.is-header-hidden) .site-header {
  background: rgba(18, 18, 20, 0.78);
  border-bottom-color: var(--glass-border);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Al llegar a la 1ª sección: pierde sticky/fixed y desaparece */
body.is-home.is-header-hidden .site-header {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-100%);
  position: absolute;
  box-shadow: none;
}

.site-header__inner {
  width: min(100% - 1.25rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-transform: uppercase;
}

.logo span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.28em;
  color: var(--muted);
  margin-top: 0.15rem;
}

.nav-desktop {
  display: none;
  gap: 1.35rem;
  align-items: center;
}

.nav-desktop a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--ease);
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--text);
}

/* Asesoría: foco sutil del menú (negocio principal) */
.nav-desktop a.nav-link--featured {
  color: rgba(244, 244, 245, 0.88);
  font-weight: 500;
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-desktop a.nav-link--featured::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.nav-desktop a.nav-link--featured:hover,
.nav-desktop a.nav-link--featured[aria-current="page"] {
  color: var(--text);
}

.nav-desktop a.nav-link--featured:hover::after,
.nav-desktop a.nav-link--featured[aria-current="page"]::after {
  background: rgba(255, 255, 255, 0.55);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* CTA variants */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 42px;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background 220ms var(--ease-out),
    color 220ms var(--ease-out),
    border-color 220ms var(--ease-out),
    opacity 220ms var(--ease-out),
    transform 220ms var(--ease-out);
}

@media (hover: hover) {
  .btn--solid:hover,
  .btn--ghost:hover {
    transform: translateY(-1px);
  }
}

.btn--solid {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn--solid:hover {
  background: #e8e8ea;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.35);
}

/* Header Yeasy: only outside Inicio (hidden on home — hero CTA covers it) */
.btn--yeasy-header {
  background: transparent;
  color: var(--muted);
  border: 1px solid transparent;
  min-height: 36px;
  padding: 0.4rem 0.75rem;
  font-size: 0.7rem;
}

.btn--yeasy-header:hover {
  color: var(--text);
  border-color: var(--line);
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  transition: transform var(--ease), opacity var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
}

/* ——— Bottom sheet ——— */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease);
}

.sheet-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 210;
  max-height: 55vh;
  padding: 0.75rem 1.25rem 1.5rem;
  border-radius: 20px 20px 0 0;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-bottom: none;
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  transform: translateY(110%);
  transition: transform 220ms ease;
}

.sheet.is-open {
  transform: translateY(0);
}

.sheet__handle {
  width: 36px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.25);
  margin: 0.25rem auto 1rem;
}

.sheet__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.sheet__top p {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.sheet__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: 1.1rem;
  line-height: 1;
}

.sheet nav {
  display: grid;
  gap: 0.15rem;
}

.sheet nav a {
  padding: 0.85rem 0.4rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sheet nav a:last-child {
  border-bottom: none;
}

.sheet nav a.nav-link--featured {
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0.1em;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.28);
}

/* ——— Hero / blocks ——— */
.hero {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding-block: 3rem var(--section-pad);
  position: relative;
}

/* Full-bleed bajo el header (el menú flota encima, no “come” altura) */
.hero--video {
  min-height: 100svh;
  min-height: 100vh;
  padding-block: 0;
  padding-top: var(--header-h);
  align-items: center;
  overflow: hidden;
}

.hero--video .hero__content {
  text-align: left;
  padding-block: 0;
  margin-top: calc(var(--header-h) * -0.35);
}

@media (min-width: 768px) {
  .hero--video .hero__content {
    transform: translateX(-150px);
  }
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0c0c0e;
}

.hero__video {
  display: block;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* Capa fondo: relleno borroso (evita el “pixel zoom” en laterales) */
.hero__video--bleed {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  object-fit: cover;
  object-position: center 28%;
  filter: blur(28px) brightness(0.55) saturate(0.15) contrast(1.05);
  transform: scale(1.08);
}

/* Capa principal: el vídeo a tamaño más natural */
.hero__video--main {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: auto;
  object-fit: cover;
  object-position: center 28%;
  filter: brightness(0.72) saturate(0.22) contrast(1.06);
}

/* En pantallas anchas: contain para no estirar el 576px; bleed rellena lados */
@media (min-width: 900px) {
  .hero__video--main {
    width: auto;
    height: 100%;
    max-width: none;
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateZ(0);
    object-fit: cover;
    /* Altura completa; el ancho nace del aspect ratio 9:16 */
    aspect-ratio: 9 / 16;
  }
}

@media (max-width: 899px) {
  /* Móvil: el source es portrait → cover nítido, sin doble capa pesada */
  .hero__video--bleed {
    display: none;
  }
  .hero__video--main {
    object-fit: cover;
    object-position: center 22%;
  }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 8, 10, 0.58) 0%, rgba(8, 8, 10, 0.32) 24%, rgba(8, 8, 10, 0.42) 55%, rgba(8, 8, 10, 0.9) 100%),
    linear-gradient(90deg, rgba(8, 8, 10, 0.45) 0%, rgba(8, 8, 10, 0.16) 50%, rgba(8, 8, 10, 0.2) 100%),
    rgba(10, 10, 12, 0.25);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: clamp(2.5rem, 8vh, 5rem);
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.hero--video .lead {
  color: rgba(244, 244, 245, 0.88);
  max-width: 32rem;
}

.hero--video .btn--ghost {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero__brand-line {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.grid-3 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.feature h3 {
  margin-bottom: 0.4rem;
}

.feature p {
  margin: 0;
  font-size: 0.95rem;
}

/* Horizontal slides */
.h-scroll {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

.h-scroll::-webkit-scrollbar {
  height: 3px;
}

.h-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.h-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 99px;
}

.h-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}

.card-slide {
  flex: 0 0 min(72vw, 260px);
  width: min(72vw, 260px);
  max-width: 260px;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  text-align: left;
}

a.card-slide {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

a.card-slide:hover,
a.card-slide:focus-visible {
  border-color: color-mix(in srgb, var(--secondary) 55%, transparent);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.card-slide__media {
  aspect-ratio: 3 / 4;
  width: 100%;
  flex: 0 0 auto;
  overflow: hidden;
  background: #151517;
}

.card-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Subir el sujeto en el encuadre (menos techo vacío) */
.card-slide__img--pro {
  object-position: center 82%;
}

.card-slide__img--duo {
  object-position: center 70%;
}

.card-slide__img--corte {
  object-position: center 85%;
}

.card-slide__body {
  padding: 1rem 1.05rem 1.15rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 9.75rem;
}

.card-slide__body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}

.card-slide__meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 0.4rem;
}

.card-slide__price {
  font-size: 0.9rem;
  color: var(--secondary);
  margin: 0;
}

.card-slide__body > p:last-child {
  margin-top: auto;
  padding-top: 0.55rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
}

.slide-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

/* Servicios destacados: 3 iguales en desktop */
@media (min-width: 900px) {
  .h-scroll--featured {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
    overflow: visible;
    scroll-snap-type: none;
  }

  .h-scroll--featured .card-slide {
    flex: none;
    width: auto;
    max-width: none;
  }
}

@media (min-width: 768px) {
  .h-scroll--center {
    justify-content: center;
    overflow-x: auto;
  }
}

.equipo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.5rem;
  width: 100%;
}

.equipo-block .h-scroll--center {
  width: 100%;
  justify-content: flex-start;
  margin-top: 0;
  padding-inline: 0.15rem;
  scroll-padding-inline: 0.15rem;
  /* Evita que el reveal o el borde se “comen” la card en el scroll */
  padding-block: 0.35rem 0.65rem;
  overflow-x: auto;
  overflow-y: visible;
}

/* Fotos equipo: 2:3 (mismo ratio que jorge/pablo.jpg) para que no se corten */
.equipo-block .card-slide__media {
  aspect-ratio: 2 / 3;
}

.equipo-block .card-slide__media img {
  object-fit: cover;
  object-position: center center;
}

.equipo-block .card-slide {
  overflow: visible;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.equipo-block .card-slide__media {
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}

.equipo-block .slide-cta {
  width: 100%;
  justify-content: center;
  margin-top: 1.5rem;
}

@media (min-width: 700px) {
  .equipo-block .h-scroll--center {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 300px));
    justify-content: center;
    gap: 1.15rem;
    overflow: visible;
    scroll-snap-type: none;
    padding-inline: 0;
    padding-block: 0;
  }

  .equipo-block .card-slide {
    flex: none;
    width: auto;
    max-width: none;
  }
}

/* Lists */
.list-clean {
  display: grid;
  gap: 0;
}

.list-clean li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.list-clean li:first-child {
  border-top: 1px solid var(--line);
}

.list-clean__name {
  color: var(--text);
  font-size: 0.95rem;
}

.list-clean__desc {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.list-clean__price {
  font-variant-numeric: tabular-nums;
  color: var(--secondary);
}

@media (min-width: 700px) {
  .list-clean--cols {
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
    max-width: 52rem;
  }

  .list-clean--cols li:first-child {
    border-top: 1px solid var(--line);
  }

  .list-clean--cols li:nth-child(2) {
    border-top: 1px solid var(--line);
  }
}

body.is-page-center .list-clean--cols {
  max-width: 52rem;
}

/* Products grid */
.product-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.product-card__media {
  aspect-ratio: 1;
  background: #1c1c1f;
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card__body {
  padding: 0.85rem;
}

.product-card__body h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

/* Contact layout */
.contact-intro {
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.contact-layout {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
}

@media (min-width: 800px) {
  .contact-layout {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    gap: clamp(2.5rem, 5vw, 4rem);
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3.5vw, 2.25rem);
}

.contact-block h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 500;
}

.contact-block p {
  margin: 0;
  line-height: 1.65;
  color: rgba(244, 244, 245, 0.82);
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 280px;
  background: #1a1a1d;
}

@media (min-width: 800px) {
  .contact-map {
    min-height: 360px;
  }
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  filter: grayscale(1) contrast(1.05);
}

@media (min-width: 800px) {
  .contact-map iframe {
    min-height: 360px;
  }
}

.contact-link {
  color: var(--text);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
  padding-top: 0.25rem;
}

body.is-contacto-page .contact-page {
  padding-bottom: clamp(3.5rem, 8vw, 5.5rem);
}

.contact-block-title {
  margin-top: 1.25rem;
}

/* Separación vertical entre título de bloque y contenido */
.section-gap {
  margin-top: 1.25rem;
}

.product-grid.section-gap {
  margin-top: 1.5rem;
}

.product-card__desc {
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.card-slide__bio {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.card-slide__social {
  margin: 0.75rem 0 0;
}

.card-slide__social a,
.text-link {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.h-scroll--center {
  margin-top: 1.5rem;
}

body.is-equipo-page .section--page-intro .container {
  text-align: center;
}

body.is-equipo-page .page-lead {
  margin-inline: auto;
}


/* Formulario de asesoría */
.form-shell {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-progress-wrap {
  margin-bottom: 1.25rem;
}

.form-progress-bar {
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
  overflow: hidden;
  margin-bottom: 0.65rem;
}

.form-progress-bar__fill {
  display: block;
  height: 100%;
  width: 12.5%;
  background: rgba(244, 244, 245, 0.85);
  border-radius: 1px;
  transition: width 180ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .form-progress-bar__fill {
    transition: none;
  }
}

/* ——— Scroll reveals (site-wide) ——— */
.reveal {
  opacity: 0;
  transform: translate3d(0, 2.4rem, 0);
  transition:
    opacity var(--motion) var(--ease-out),
    transform var(--motion) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal--soft {
  transform: translate3d(0, 1.55rem, 0);
}

.reveal .home-slide__media img,
.reveal .card-slide__media img,
.reveal .product-card__media img {
  transform: scale(1.06);
  transition: transform calc(var(--motion) + 320ms) var(--ease-out);
  transform-origin: center center;
}

.reveal.is-in .home-slide__media img,
.reveal.is-in .card-slide__media img,
.reveal.is-in .product-card__media img {
  transform: scale(1);
}

/* Equipo: sin scale (las fotos 2:3 se recortaban en el scroll) */
.equipo-block .reveal .card-slide__media img,
.equipo-block .reveal.is-in .card-slide__media img,
.equipo-block .card-slide:hover .card-slide__media img {
  transform: none;
}

.home-slide__media,
.card-slide__media {
  transition: border-color var(--ease);
}

.home-slide:hover .home-slide__media,
.card-slide:hover .card-slide__media {
  border-color: rgba(255, 255, 255, 0.22);
}

@media (hover: hover) {
  .home-slide.is-in:hover .home-slide__media img,
  .card-slide:hover .card-slide__media img {
    transform: scale(1.03);
    transition-duration: 500ms;
  }
}

#asesoria-form [data-step].is-step-active {
  animation: asesoria-step-in 240ms var(--ease-out);
}

@keyframes asesoria-step-in {
  from {
    opacity: 0.35;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .reveal .home-slide__media img,
  .reveal .card-slide__media img,
  .reveal .product-card__media img,
  .reveal.is-in .home-slide__media img,
  .reveal.is-in .card-slide__media img,
  .reveal.is-in .product-card__media img {
    transform: none;
    transition: none;
  }

  #asesoria-form [data-step].is-step-active {
    animation: none;
  }
}

.form-progress {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: rgba(244, 244, 245, 0.92);
}

.form-label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.55rem;
  color: rgba(244, 244, 245, 0.92);
}

.form-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.form-chip {
  display: inline-flex;
  margin: 0;
  cursor: pointer;
}

.form-chip input {
  position: absolute;
  opacity: 0;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  pointer-events: none;
}

.form-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.2);
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}

.form-chip:hover span {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text);
}

.form-chip input:checked + span {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--accent-ink);
  background: var(--accent);
}

.form-chip input:focus-visible + span {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.form-chips.is-invalid .form-chip span {
  border-color: rgba(255, 120, 120, 0.55);
}

.form-consent {
  padding: 0.15rem 0 0.35rem;
}

.form-consent__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0 0 0.65rem;
  letter-spacing: 0.02em;
}

.form-consent__lead {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(244, 244, 245, 0.82);
}

.form-field--consent {
  margin-bottom: 0.5rem;
}

.form-field label.form-check,
.form-check {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0.85rem;
  cursor: pointer;
  margin: 0;
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(244, 244, 245, 0.9);
  position: relative;
}

.form-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1px !important;
  height: 1px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  appearance: none;
  -webkit-appearance: none;
  pointer-events: none;
}

.form-check__box {
  box-sizing: border-box;
  flex: 0 0 22px;
  flex-shrink: 0;
  width: 22px;
  min-width: 22px;
  max-width: 22px;
  height: 22px;
  min-height: 22px;
  margin-top: 0.1rem;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  position: relative;
  display: block;
  transition: border-color var(--ease), background var(--ease);
}

.form-check__box::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border-right: 1.5px solid var(--accent-ink);
  border-bottom: 1.5px solid var(--accent-ink);
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  transition: transform var(--ease);
}

.form-check input[type="checkbox"]:checked + .form-check__box {
  background: var(--accent);
  border-color: var(--accent);
}

.form-check input[type="checkbox"]:checked + .form-check__box::after {
  transform: rotate(45deg) scale(1);
}

.form-check input[type="checkbox"]:focus-visible + .form-check__box {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 3px;
}

.form-field--consent.is-invalid .form-check__box {
  border-color: rgba(255, 120, 120, 0.7);
}

.form-check__text {
  flex: 1 1 auto;
  min-width: 0;
}

.form-field input:not([type="file"]):not([type="checkbox"]),
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font: inherit;
}

.form-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
}

/* Custom select (reemplaza el menú nativo del SO) */
.form-field select.is-customized {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
}

.custom-select {
  position: relative;
}

.custom-select__trigger {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 2.2rem 0.65rem 0.8rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: border-color var(--ease), background var(--ease);
}

.custom-select__trigger::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-65%) rotate(45deg);
}

.custom-select.is-open .custom-select__trigger {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.4);
}

.custom-select.is-open .custom-select__trigger::after {
  transform: translateY(-20%) rotate(225deg);
}

.custom-select__trigger.is-placeholder {
  color: var(--muted);
}

.custom-select__menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 40;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #161618;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  max-height: 240px;
  overflow-y: auto;
}

.custom-select__menu[hidden] {
  display: none;
}

.custom-select__option {
  padding: 0.7rem 0.75rem;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.92rem;
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
}

.custom-select__option:hover,
.custom-select__option:focus {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.custom-select__option.is-selected {
  background: rgba(255, 255, 255, 0.12);
}

.custom-select__option.is-placeholder {
  color: var(--muted);
}

.form-field textarea {
  min-height: 100px;
  resize: vertical;
}

.form-hint {
  margin: -0.15rem 0 0.85rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.file-picks {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 520px) {
  .file-picks {
    grid-template-columns: 1fr 1fr;
  }
}

.file-pick {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 140px;
  padding: 1.25rem 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}

.file-pick:hover,
.file-pick:focus-within {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.file-pick:focus-within {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 3px;
}

.file-pick input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-pick__icon {
  width: 40px;
  height: 40px;
  color: rgba(244, 244, 245, 0.65);
}

.file-pick__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.file-pick__label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.file-pick__status {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.file-pick__status.is-error {
  color: #ffb4b4;
}

.file-pick.has-files {
  border-color: rgba(255, 255, 255, 0.45);
  border-style: solid;
  color: var(--text);
}

.form-error {
  margin: 0 0 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255, 120, 120, 0.35);
  border-radius: 8px;
  background: rgba(120, 20, 20, 0.25);
  color: #ffb4b4;
  font-size: 0.85rem;
}

.form-field.is-invalid input:not([type="file"]),
.form-field.is-invalid textarea,
.custom-select.is-invalid .custom-select__trigger {
  border-color: rgba(255, 120, 120, 0.55);
}

.file-picks.is-invalid .file-pick {
  border-color: rgba(255, 120, 120, 0.55);
}

.form-nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* Footer */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid color-mix(in srgb, var(--secondary) 28%, transparent);
  padding: 2.5rem 0 2rem;
  margin-top: 1rem;
  background-color: var(--bg);
  background-image: url("../assets/textures/slate-dark.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(10, 10, 12, 0.62);
  pointer-events: none;
}

.site-footer > .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  text-align: center;
}

@media (min-width: 700px) {
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
  }

  .footer-brand {
    justify-self: start;
  }

  .footer-social {
    justify-self: center;
  }

  .footer-hours {
    justify-self: end;
    text-align: right;
  }
}

.footer-brand {
  max-width: 22rem;
}

.footer-brand p {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.footer-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 999px;
  line-height: 0;
  transition: color var(--ease), border-color var(--ease), background var(--ease);
}

.footer-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}

.footer-icon:hover {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.footer-hours h4 {
  margin-bottom: 0.65rem;
}

.footer-hours p {
  margin: 0.3rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.85rem;
}

.site-footer a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color var(--ease);
}

.site-footer a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--muted);
}

.footer-legal {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
}

.footer-legal a {
  font-size: 0.75rem;
  color: var(--muted);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ——— Legal pages ——— */
.legal-page {
  padding-top: clamp(2rem, 5vw, 3rem);
}

.legal-doc {
  max-width: 42rem;
  text-align: left;
}

.legal-doc h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  margin: 0 0 0.5rem;
  line-height: 1.15;
}

.legal-doc__updated {
  margin: 0 0 2rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.legal-doc h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin: 2rem 0 0.75rem;
  letter-spacing: 0.02em;
}

.legal-doc p,
.legal-doc li {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(244, 244, 245, 0.88);
}

.legal-doc p {
  margin: 0 0 0.85rem;
}

.legal-doc ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
}

.legal-doc li {
  margin-bottom: 0.4rem;
}

.legal-doc a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-doc a:hover {
  opacity: 0.85;
}

.legal-doc strong {
  color: var(--text);
  font-weight: 500;
}

.method-steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

@media (min-width: 700px) {
  .method-steps { grid-template-columns: repeat(4, 1fr); }
}

.method-steps li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.55rem;
  row-gap: 0.35rem;
  padding-top: 0.5rem;
  border-top: 1px solid color-mix(in srgb, var(--secondary) 40%, transparent);
}

.method-steps li::before {
  counter-increment: step;
  content: "0" counter(step);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--secondary);
}

.method-steps h3 {
  margin: 0;
  font-size: 1.15rem;
}

.method-steps p {
  flex-basis: 100%;
  margin: 0;
  font-size: 0.9rem;
}

.method-steps li.is-cover-active {
  border-top-color: var(--secondary);
}

.method-steps li.is-cover-active h3,
.asesoria-analyze__item.is-cover-active h3 {
  color: var(--secondary);
}

body.is-asesoria-page main {
  overflow-x: clip;
}
.coverflow {
  margin: clamp(1.25rem, 3vw, 2rem) auto 0;
  max-width: 42rem;
  width: 100%;
  perspective: 1100px;
  overflow: hidden;
  touch-action: pan-y;
  overscroll-behavior-x: contain;
}

.coverflow__stage {
  position: relative;
  /* Debe cubrir la altura de la card (aspect 9/16) o se corta el pie del slide */
  height: clamp(28rem, 72vw, 32rem);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
}

.coverflow__card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(42vw, 15.5rem);
  aspect-ratio: 9 / 16;
  margin: 0;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--secondary) 28%, transparent);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  background: #111113;
  cursor: pointer;
  transform-origin: center center;
  transform-style: preserve-3d;
  transition:
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.55s ease,
    border-color 0.35s ease,
    box-shadow 0.55s ease;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.coverflow__card.is-front {
  border-color: color-mix(in srgb, var(--secondary) 55%, transparent);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.55),
    0 0 0 1px color-mix(in srgb, var(--secondary) 18%, transparent);
  cursor: default;
}

.coverflow__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  pointer-events: none;
}

/* Slides con copy al borde inferior: priorizar el pie para no cortar letras */
.coverflow__card img.is-anchor-bottom {
  object-position: center bottom;
}

.coverflow__dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.15rem;
}

.coverflow__dot {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
}

.coverflow__dot.is-active {
  width: 1.15rem;
  background: var(--secondary);
}

@media (min-width: 900px) {
  .coverflow {
    max-width: 64rem;
  }

  .coverflow__stage {
    height: clamp(31rem, 42vw, 36rem);
  }

  .coverflow__card {
    width: min(26vw, 16.5rem);
  }
}

@media (max-width: 640px) {
  .coverflow__stage {
    height: clamp(24rem, 88vw, 28rem);
  }

  .coverflow__card {
    width: min(44vw, 12.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .coverflow__card {
    transition: none;
  }
}
