/* =====================================================================
   POSAVASOS QR — HOJA DE ESTILOS
   =====================================================================
   Los colores, tipografías, redondeos y sombras están al principio,
   en el bloque :root. Cambiándolos ahí cambia toda la web.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. VARIABLES  ← AQUÍ SE CAMBIAN LOS COLORES DE TODA LA WEB
   --------------------------------------------------------------------- */
:root {
  /* --- Colores base --- */
  --c-bg:          #FAF8F2;   /* fondo principal, crema muy claro */
  --c-bg-alt:      #F2EEE3;   /* fondo de secciones alternas */
  --c-surface:     #FFFFFF;   /* fondo de tarjetas */
  --c-ink:         #0B172A;   /* texto principal, azul casi negro */
  --c-ink-soft:    #4A5670;   /* texto secundario */
  --c-ink-faint:   #78839A;   /* textos pequeños y apoyos */

  /* --- Color destacado (el verde del logotipo) --- */
  --c-accent:      #5FC72C;
  --c-accent-dark: #47A31C;
  --c-accent-soft: #EBF8E2;

  /* --- Color secundario --- */
  --c-secondary:      #6C47F5;
  --c-secondary-soft: #EDE8FE;

  /* --- Colores de apoyo para las tarjetas --- */
  --c-teal:       #10A9A4;
  --c-teal-soft:  #E0F5F4;
  --c-amber:      #F5A623;
  --c-amber-soft: #FDF0DA;
  --c-blue:       #2563EB;
  --c-blue-soft:  #E4ECFD;

  /* --- Bordes y sombras --- */
  --c-border:       rgba(11, 23, 42, 0.10);
  --c-border-strong:rgba(11, 23, 42, 0.18);
  --shadow-sm: 0 1px 2px rgba(11, 23, 42, .05), 0 2px 8px rgba(11, 23, 42, .05);
  --shadow-md: 0 4px 12px rgba(11, 23, 42, .06), 0 12px 32px rgba(11, 23, 42, .07);
  --shadow-lg: 0 12px 28px rgba(11, 23, 42, .09), 0 30px 70px rgba(11, 23, 42, .12);

  /* --- Redondeos --- */
  --r-sm:  10px;
  --r-md:  18px;
  --r-lg:  28px;
  --r-xl:  40px;
  --r-pill: 999px;

  /* --- Tipografías --- */
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* --- Medidas --- */
  --wrap:      1240px;
  --wrap-slim: 820px;
  --gutter:    clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --header-h:  76px;
}

/* ---------------------------------------------------------------------
   2. RESET Y BASE
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 1.4rem + 4vw, 4.25rem); }
h2 { font-size: clamp(1.95rem, 1.3rem + 2.6vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--c-accent); color: var(--c-ink); }

:focus-visible {
  outline: 3px solid var(--c-secondary);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 50%; top: 8px;
  transform: translate(-50%, -200%);
  background: var(--c-ink); color: #fff;
  padding: .7rem 1.2rem; border-radius: var(--r-pill);
  font-weight: 700; z-index: 200; text-decoration: none;
  transition: transform .2s;
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ---------------------------------------------------------------------
   3. LAYOUT
   --------------------------------------------------------------------- */
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.wrap-slim { width: min(100% - var(--gutter) * 2, var(--wrap-slim)); margin-inline: auto; }

.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--c-bg-alt); }
.section--ink { background: var(--c-ink); color: #fff; }
.section--ink h2, .section--ink h3 { color: #fff; }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--c-ink-soft); font-size: 1.075em; margin-bottom: 0; }
.section--ink .section-head p { color: rgba(255, 255, 255, .72); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display);
  font-size: .8125rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-accent-dark);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: var(--c-accent);
}
.section--ink .eyebrow { color: var(--c-accent); }

.hl { color: var(--c-accent-dark); }
.section--ink .hl, .hero .hl { color: var(--c-accent); }

/* ---------------------------------------------------------------------
   4. BOTONES
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: .95rem 1.6rem;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
  line-height: 1.2;
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--c-accent); color: var(--c-ink); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--c-accent-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--primary:active { transform: translateY(0); }

.btn--dark { background: var(--c-ink); color: #fff; }
.btn--dark:hover { background: #16253f; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--dark:active { transform: translateY(0); }

.btn--ghost { background: transparent; color: var(--c-ink); border-color: var(--c-border-strong); }
.btn--ghost:hover { border-color: var(--c-ink); background: rgba(11, 23, 42, .04); transform: translateY(-2px); }
.btn--ghost:active { transform: translateY(0); }

.section--ink .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.section--ink .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .10); }

.btn--sm { padding: .65rem 1.15rem; font-size: .9rem; }
.btn--block { width: 100%; }

/* ---------------------------------------------------------------------
   5. CABECERA
   --------------------------------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(250, 248, 242, .72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .25s, border-color .25s, box-shadow .25s;
}
.header.is-stuck {
  background: rgba(250, 248, 242, .94);
  border-bottom-color: var(--c-border);
  box-shadow: 0 6px 24px rgba(11, 23, 42, .06);
}
.header__inner { display: flex; align-items: center; gap: 1.5rem; width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.header__logo { display: flex; align-items: center; text-decoration: none; flex: none; }
.header__logo img { height: 34px; width: auto; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(.5rem, 1.4vw, 1.35rem); }
.nav__link {
  display: block; text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  color: var(--c-ink-soft); padding: .45rem .25rem;
  border-bottom: 2px solid transparent;
  transition: color .18s, border-color .18s;
  white-space: nowrap;
}
.nav__link:hover { color: var(--c-ink); }
.nav__link.is-active { color: var(--c-ink); border-bottom-color: var(--c-accent); }

.header__cta { flex: none; }
.nav__cta { display: none; }

.burger {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border-radius: 14px;
  background: transparent; border: 1px solid var(--c-border-strong);
  cursor: pointer; padding: 0; place-items: center; color: var(--c-ink);
}
.burger span {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .25s ease, opacity .2s ease;
}
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1050px) {
  .burger { display: grid; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow-lg);
    padding: 1rem var(--gutter) 1.75rem;
    margin: 0;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: .9rem .25rem; font-size: 1.05rem; border-bottom: 1px solid var(--c-border); }
  .nav__link.is-active { border-bottom-color: var(--c-accent); }
  .nav__cta { display: block; margin-top: 1.25rem; }
}

/* ---------------------------------------------------------------------
   6. HERO
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
  overflow: hidden;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); z-index: 0;
  pointer-events: none;
}
.hero::before { width: 46vw; height: 46vw; top: -14vw; right: -10vw; background: rgba(95, 199, 44, .20); }
.hero::after  { width: 36vw; height: 36vw; bottom: -16vw; left: -12vw; background: rgba(108, 71, 245, .14); }

.hero__grid {
  position: relative; z-index: 1;
  display: grid; gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
}
.hero__title { margin-bottom: .55em; }
.hero__sub { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: var(--c-ink-soft); max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

.hero__stats {
  display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 2.75rem; padding-top: 1.9rem;
  border-top: 1px solid var(--c-border);
}
.hero__stat-value {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1;
}
.hero__stat-label { font-size: .875rem; color: var(--c-ink-faint); margin-top: .35rem; }

/* --- Composición visual del hero --- */
.hero__visual { position: relative; }
.hero__photo {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--c-bg-alt);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.float-card {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(10px);
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  padding: .65rem 1.1rem .65rem .7rem;
  font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  animation: floaty 6s ease-in-out infinite;
}
.float-card__icon {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  background: var(--c-accent-soft); color: var(--c-accent-dark);
}
.float-card__icon svg { width: 16px; height: 16px; }
.float-card[data-pos="0"] { top: 7%;   left: -5%;  animation-delay: 0s; }
.float-card[data-pos="1"] { top: 44%;  right: -4%; animation-delay: -2s; }
.float-card[data-pos="1"] .float-card__icon { background: var(--c-secondary-soft); color: var(--c-secondary); }
.float-card[data-pos="2"] { bottom: -4%; left: 4%; animation-delay: -4s; }
.float-card[data-pos="2"] .float-card__icon { background: var(--c-amber-soft); color: #B97709; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* Animación de "escaneo" que une posavasos y móvil */
.hero__scan {
  position: absolute; z-index: 3; left: 6%; top: 34%;
  width: 54%; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--c-accent), transparent);
  border-radius: 3px; opacity: .9;
  transform-origin: left center;
  animation: scanbeam 4.5s cubic-bezier(.6, 0, .4, 1) infinite;
}
@keyframes scanbeam {
  0%   { transform: translateY(0) scaleX(0); opacity: 0; }
  12%  { transform: translateY(0) scaleX(1); opacity: .95; }
  55%  { transform: translateY(150px) scaleX(1); opacity: .95; }
  70%  { transform: translateY(150px) scaleX(0); opacity: 0; }
  100% { transform: translateY(0) scaleX(0); opacity: 0; }
}
.hero__pulse {
  position: absolute; z-index: 2; right: 16%; top: 26%;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 0 rgba(95, 199, 44, .55);
  animation: pulsedot 2.6s ease-out infinite;
}
@keyframes pulsedot {
  0%   { box-shadow: 0 0 0 0 rgba(95, 199, 44, .55); }
  70%  { box-shadow: 0 0 0 26px rgba(95, 199, 44, 0); }
  100% { box-shadow: 0 0 0 0 rgba(95, 199, 44, 0); }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: 2; margin-top: .5rem; }
  .hero__copy { order: 1; }
  .float-card:nth-child(1) { left: -2%; }
  .float-card:nth-child(2) { right: -2%; }
}
@media (max-width: 560px) {
  .float-card { font-size: .78rem; padding: .5rem .85rem .5rem .55rem; }
  .float-card__icon { width: 25px; height: 25px; }
  .hero__stats { gap: 1.25rem 2rem; }
}

/* ---------------------------------------------------------------------
   7. TARJETAS GENÉRICAS
   --------------------------------------------------------------------- */
.grid { display: grid; gap: clamp(1.1rem, 2vw, 1.75rem); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }

.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--c-border-strong); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--c-ink-soft); margin-bottom: 0; }

.card__icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--c-accent-soft); color: var(--c-accent-dark);
}
.card__icon svg { width: 24px; height: 24px; }

/* Variantes suaves de color para las tarjetas */
.card--lime   .card__icon { background: var(--c-accent-soft);    color: var(--c-accent-dark); }
.card--violet .card__icon { background: var(--c-secondary-soft); color: var(--c-secondary); }
.card--teal   .card__icon { background: var(--c-teal-soft);      color: var(--c-teal); }
.card--amber  .card__icon { background: var(--c-amber-soft);     color: #B97709; }
.card--blue   .card__icon { background: var(--c-blue-soft);      color: var(--c-blue); }

/* ---------------------------------------------------------------------
   8. PROCESO (4 pasos)
   --------------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: clamp(1.1rem, 2vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.step {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.4vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step__num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 2.6rem; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--c-accent);
  margin-bottom: .9rem;
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--c-ink-soft); font-size: .97rem; margin-bottom: 0; }

/* ---------------------------------------------------------------------
   9. CARRUSELES
   --------------------------------------------------------------------- */
.carousel { position: relative; }
.carousel__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem;
}
.carousel__head .section-head { margin-bottom: 0; }

.carousel__controls { display: flex; gap: .6rem; flex: none; }
.carousel__btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--c-border-strong); background: var(--c-surface);
  color: var(--c-ink); cursor: pointer;
  display: grid; place-items: center;
  transition: background-color .18s, color .18s, transform .18s, opacity .18s;
}
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__btn:hover:not(:disabled) { background: var(--c-ink); color: #fff; transform: translateY(-2px); }
.carousel__btn:active:not(:disabled) { transform: translateY(0); }
.carousel__btn:disabled { opacity: .35; cursor: default; }
.section--ink .carousel__btn { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.section--ink .carousel__btn:hover:not(:disabled) { background: #fff; color: var(--c-ink); }

.carousel__track {
  display: flex; gap: clamp(1rem, 2vw, 1.5rem);
  overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: .35rem .35rem 1.5rem;
  margin: -.35rem -.35rem 0;
  scrollbar-width: none; -ms-overflow-style: none;
  cursor: grab;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.carousel__track.is-dragging * { pointer-events: none; }

.carousel__item {
  flex: 0 0 clamp(255px, 30%, 340px);
  scroll-snap-align: start;
}
.carousel__item > * { height: 100%; }

.carousel__dots { display: flex; justify-content: center; gap: .45rem; margin-top: .25rem; }
.carousel__dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
  background: var(--c-border-strong); cursor: pointer;
  transition: width .2s, background-color .2s;
}
.carousel__dot.is-active { width: 26px; border-radius: var(--r-pill); background: var(--c-accent); }
.section--ink .carousel__dot { background: rgba(255,255,255,.3); }
.section--ink .carousel__dot.is-active { background: var(--c-accent); }

/* ---------------------------------------------------------------------
   10. ESTILOS DE DISEÑO — carrusel "Un diseño para cada idea"
   --------------------------------------------------------------------- */
.styles { overflow: hidden; }
.styles__viewport { margin-top: clamp(.5rem, 2vw, 1.25rem); }
.styles__rail { position: relative; }

.styles__track {
  --gap: clamp(1rem, 2vw, 1.75rem);
  display: flex; gap: var(--gap);
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 1.25rem .6rem 2.25rem;
  align-items: stretch;
  margin-inline: -.6rem;
  scrollbar-width: none; -ms-overflow-style: none;
  cursor: grab;
}
.styles__track::-webkit-scrollbar { display: none; }
.styles__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.styles__track.is-dragging * { pointer-events: none; }

.style-card {
  flex: 0 0 calc((100% - var(--gap) * 2) / 2.3);
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: var(--c-surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s ease, opacity .35s ease;
  opacity: .82;
}
.style-card.is-active { transform: scale(1.025); box-shadow: var(--shadow-lg); opacity: 1; }
.style-card:hover .style-card__media img { transform: scale(1.05); }

.style-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-bg-alt); }
.style-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.3,1); }

.style-card__tag {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(6px);
  font-family: var(--font-display); font-weight: 800;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .4rem .85rem; border-radius: var(--r-pill);
  color: var(--c-ink); box-shadow: var(--shadow-sm);
}

.style-card__body {
  display: flex; flex-direction: column;
  padding: clamp(1.15rem, 2vw, 1.6rem) clamp(1.25rem, 2.2vw, 1.75rem) clamp(1.35rem, 2.2vw, 1.75rem);
  flex: 1; min-height: 9.25rem;
}
.style-card__body h3 { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.45rem); margin: 0 0 .4rem; }
/* Sin recorte: la descripción se ve entera. Todas las tarjetas se igualan
   a la más alta, así que conviene no pasar de dos o tres líneas. */
.style-card__desc {
  color: var(--c-ink-soft); font-size: .95rem; line-height: 1.5;
  margin: 0 0 1.25rem; min-height: 2.85em;
}
.style-card__link {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: .45rem;
  background: none; border: 0; padding: .2rem 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  color: var(--c-accent-dark);
  border-bottom: 2px solid currentColor;
  transition: gap .2s ease, color .2s ease;
}
.style-card__link svg { width: 17px; height: 17px; transition: transform .2s ease; }
.style-card__link:hover { gap: .7rem; }
.style-card__link:hover svg { transform: translateX(3px); }

/* --- Flechas --- */
.styles__arrow {
  position: absolute; z-index: 3; top: 36%;
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--c-border); background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  color: var(--c-ink); cursor: pointer;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  transition: background-color .2s, color .2s, transform .2s, opacity .2s;
}
.styles__arrow svg { width: 22px; height: 22px; }
.styles__arrow:hover:not(:disabled) { background: var(--c-ink); color: #fff; transform: scale(1.06); }
.styles__arrow:disabled { opacity: 0; pointer-events: none; }
.styles__arrow--prev { left: -18px; }
.styles__arrow--next { right: -18px; }

/* --- Indicadores de progreso --- */
.styles__progress { display: flex; justify-content: center; gap: .5rem; }
.styles__bar {
  width: 46px; height: 5px; padding: 0; border: 0; border-radius: var(--r-pill);
  background: rgba(11, 23, 42, .14); cursor: pointer; position: relative; overflow: hidden;
  transition: background-color .2s;
}
.styles__bar::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: var(--c-accent); transform: scaleX(0); transform-origin: left;
  transition: transform .45s cubic-bezier(.2,.7,.3,1);
}
.styles__bar.is-active::after { transform: scaleX(1); }
.styles__bar:hover { background: rgba(11, 23, 42, .24); }

@media (max-width: 1000px) {
  .style-card { flex: 0 0 calc((100% - var(--gap)) / 1.6); }
  .styles__arrow { width: 48px; height: 48px; }
  .styles__arrow--prev { left: -8px; }
  .styles__arrow--next { right: -8px; }
}
@media (max-width: 700px) {
  .style-card { flex: 0 0 85%; opacity: 1; }
  .style-card.is-active { transform: none; }
  .styles__arrow { display: none; }
  .styles__track { padding-inline: .6rem; }
  .styles__bar { width: 34px; }
}

/* --- Ventana ampliada del estilo --- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: none; place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(7, 14, 26, .88);
  backdrop-filter: blur(6px);
}
.lightbox.is-open { display: grid; animation: fadeIn .2s ease; }
.lightbox__dialog {
  position: relative;
  background: var(--c-surface); border-radius: var(--r-lg); overflow: hidden;
  width: min(100%, 1000px); max-height: 90dvh;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg); animation: popIn .25s cubic-bezier(.2,.8,.3,1);
}
.lightbox__close {
  position: absolute; z-index: 4; top: 1rem; right: 1rem;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .28); background: rgba(11, 23, 42, .65);
  color: #fff; cursor: pointer; display: grid; place-items: center;
  transition: background-color .18s, transform .18s;
}
.lightbox__close svg { width: 19px; height: 19px; }
.lightbox__close:hover { background: var(--c-accent); color: var(--c-ink); border-color: transparent; }

.style-modal { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); overflow-y: auto; }
.style-modal__media {
  position: relative; background: var(--c-bg-alt);
  display: grid; grid-template-rows: minmax(0, 1fr) auto auto; min-height: 0;
}
.style-modal__hero { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.style-modal__caption {
  padding: .7rem 1.1rem .45rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-ink-faint); background: var(--c-surface);
}
.style-modal__thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 0 1.1rem 1.1rem; background: var(--c-surface); }
.style-modal__thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); }

.style-modal__body {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex; flex-direction: column; overflow-y: auto;
}
.style-modal__tag {
  align-self: flex-start;
  font-family: var(--font-display); font-weight: 800;
  font-size: .73rem; letter-spacing: .11em; text-transform: uppercase;
  padding: .4rem .9rem; border-radius: var(--r-pill);
  color: #fff; margin-bottom: 1rem;
}
.style-modal__body h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2.1rem); margin-bottom: .75rem; }
.style-modal__body p { color: var(--c-ink-soft); font-size: .97rem; }
.style-modal__msg {
  margin: 1.25rem 0 1.75rem; padding: 1rem 1.25rem;
  border-radius: var(--r-md); background: var(--c-bg-alt);
  border-left: 4px solid var(--c-accent);
}
.style-modal__msg span {
  display: block; font-size: .74rem; letter-spacing: .09em; text-transform: uppercase;
  font-weight: 700; color: var(--c-ink-faint); margin-bottom: .3rem;
}
.style-modal__msg strong { font-family: var(--font-display); font-size: 1.1rem; }
.style-modal__cta { margin-top: auto; padding-top: .5rem; }

@media (max-width: 820px) {
  .style-modal { grid-template-columns: 1fr; }
  .style-modal__hero { max-height: 34dvh; min-height: 0; }
}

/* ---------------------------------------------------------------------
   11. QR DINÁMICO
   --------------------------------------------------------------------- */
.split {
  display: grid; gap: clamp(2.25rem, 5vw, 4.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  align-items: center;
}
.split__media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3 / 2; background: var(--c-bg-alt); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }

.benefits { display: grid; gap: 1.1rem; margin-top: 2rem; }
.benefit { display: flex; gap: 1rem; align-items: flex-start; }
.benefit__icon {
  width: 42px; height: 42px; border-radius: 13px; flex: none;
  display: grid; place-items: center;
  background: rgba(95, 199, 44, .15); color: var(--c-accent);
}
.benefit__icon svg { width: 20px; height: 20px; }
.benefit h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.benefit p { font-size: .95rem; color: rgba(255,255,255,.68); margin: 0; }

.note {
  display: flex; gap: .7rem; align-items: flex-start;
  margin-top: 2rem; padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13);
  font-size: .92rem; color: rgba(255,255,255,.8);
}
.note svg { width: 18px; height: 18px; flex: none; margin-top: .2rem; color: var(--c-accent); }

/* ---------------------------------------------------------------------
   12. SECTORES
   --------------------------------------------------------------------- */
.sector-list { display: grid; gap: .55rem; margin-top: 1.25rem; }
.sector-list li { display: flex; gap: .55rem; align-items: flex-start; font-size: .94rem; color: var(--c-ink-soft); }
.sector-list svg { width: 17px; height: 17px; flex: none; margin-top: .28rem; color: var(--c-accent-dark); }

/* ---------------------------------------------------------------------
   13. PRECIOS
   --------------------------------------------------------------------- */
.pricing { display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: stretch; }

.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan--featured {
  border-color: var(--c-ink); background: var(--c-ink); color: #fff;
  box-shadow: var(--shadow-lg);
}
.plan--featured h3 { color: #fff; }

.plan__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--c-accent); color: var(--c-ink);
  font-family: var(--font-display); font-weight: 800; font-size: .76rem;
  letter-spacing: .09em; text-transform: uppercase;
  padding: .4rem 1rem; border-radius: var(--r-pill);
  white-space: nowrap; box-shadow: var(--shadow-sm);
}
.plan__name { font-family: var(--font-display); font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-accent-dark); margin-bottom: .6rem; }
.plan--featured .plan__name { color: var(--c-accent); }
.plan__qty { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); line-height: 1.1; margin-bottom: .35rem; }
.plan__desc { font-size: .93rem; color: var(--c-ink-soft); margin-bottom: 1.5rem; }
.plan--featured .plan__desc { color: rgba(255,255,255,.7); }

.plan__price { padding: 1.1rem 0 1.25rem; border-block: 1px solid var(--c-border); margin-bottom: 1.5rem; }
.plan--featured .plan__price { border-color: rgba(255,255,255,.16); }
.plan__total { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); line-height: 1.1; letter-spacing: -.02em; }
.plan__unit { font-size: .9rem; color: var(--c-ink-faint); margin-top: .3rem; }
.plan--featured .plan__unit { color: rgba(255,255,255,.62); }

.plan__features { display: grid; gap: .65rem; margin-bottom: 1.9rem; }
.plan__features li { display: flex; gap: .6rem; align-items: flex-start; font-size: .94rem; }
.plan__features svg { width: 18px; height: 18px; flex: none; margin-top: .22rem; color: var(--c-accent-dark); }
.plan--featured .plan__features svg { color: var(--c-accent); }
.plan--featured .plan__features li { color: rgba(255,255,255,.88); }

.plan__cta { margin-top: auto; }
.plan--featured .btn--dark { background: var(--c-accent); color: var(--c-ink); }
.plan--featured .btn--dark:hover { background: #fff; color: var(--c-ink); }

.pricing__note { text-align: center; color: var(--c-ink-faint); font-size: .9rem; margin-top: 1.75rem; }
.pricing__footnote {
  text-align: center; margin-top: 2.5rem; padding: 1.35rem 1.5rem;
  background: var(--c-accent-soft); border-radius: var(--r-md);
  color: var(--c-ink); font-size: .97rem;
}

/* ---------------------------------------------------------------------
   14. ¿YA TIENES DISEÑO?
   --------------------------------------------------------------------- */
.design-card { display: flex; flex-direction: column; }
.design-card .card__icon { background: var(--c-secondary-soft); color: var(--c-secondary); }
.design-card:first-child .card__icon { background: var(--c-accent-soft); color: var(--c-accent-dark); }
.design-card__list { display: grid; gap: .55rem; margin: 1.25rem 0 1.9rem; }
.design-card__list li { display: flex; gap: .55rem; align-items: flex-start; font-size: .93rem; color: var(--c-ink-soft); }
.design-card__list svg { width: 17px; height: 17px; flex: none; margin-top: .26rem; color: var(--c-accent-dark); }
.design-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------------------------------------------------------------------
   15. GARANTÍA
   --------------------------------------------------------------------- */
.guarantee__highlight {
  display: flex; gap: 1rem; align-items: center;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.35rem, 2.5vw, 1.9rem) clamp(1.5rem, 3vw, 2.25rem);
  background: var(--c-ink); color: #fff;
  border-radius: var(--r-lg);
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1rem, .95rem + .35vw, 1.15rem);
}
.guarantee__highlight svg { width: 30px; height: 30px; flex: none; color: var(--c-accent); }

/* ---------------------------------------------------------------------
   16. FAQ
   --------------------------------------------------------------------- */
.faq { display: grid; gap: .8rem; }
.faq__item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq__item.is-open { border-color: var(--c-border-strong); box-shadow: var(--shadow-sm); }
.faq__q {
  width: 100%; display: flex; gap: 1rem; align-items: center; justify-content: space-between;
  padding: 1.2rem clamp(1.1rem, 2.4vw, 1.6rem);
  background: transparent; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1rem, .97rem + .2vw, 1.1rem); color: var(--c-ink);
  transition: color .18s;
}
.faq__q:hover { color: var(--c-accent-dark); }
.faq__icon {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--c-accent-soft); color: var(--c-accent-dark);
  transition: transform .28s ease, background-color .2s;
}
.faq__icon svg { width: 17px; height: 17px; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--c-accent); color: var(--c-ink); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a p {
  padding: 0 clamp(1.1rem, 2.4vw, 1.6rem) 1.5rem;
  color: var(--c-ink-soft); margin: 0; max-width: 62ch;
}

/* ---------------------------------------------------------------------
   17. CTA FINAL
   --------------------------------------------------------------------- */
.final-cta { position: relative; overflow: hidden; text-align: center; }
.final-cta::before {
  content: ""; position: absolute; width: 60vw; height: 60vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(95,199,44,.22), transparent 68%);
  top: -25vw; left: 50%; transform: translateX(-50%); pointer-events: none;
}
.final-cta__inner { position: relative; z-index: 1; }
.final-cta p { color: rgba(255,255,255,.75); font-size: 1.1rem; max-width: 44rem; margin-inline: auto; }
.final-cta__actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 2.25rem; }
.final-cta__mail { display: block; margin-top: 1.75rem; font-size: .95rem; color: rgba(255,255,255,.6); }
.final-cta__mail a { color: var(--c-accent); font-weight: 600; text-decoration: none; }
.final-cta__mail a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------------
   18. FORMULARIO
   --------------------------------------------------------------------- */
.form-wrap {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: clamp(1.6rem, 4vw, 3.25rem);
  box-shadow: var(--shadow-md);
}
.form { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }

.field label { font-family: var(--font-display); font-weight: 600; font-size: .92rem; }
.field label .req { color: var(--c-accent-dark); }

.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--c-ink);
  background: var(--c-bg);
  border: 1.5px solid var(--c-border-strong);
  border-radius: var(--r-sm);
  padding: .85rem 1rem;
  width: 100%;
  transition: border-color .18s, box-shadow .18s, background-color .18s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A5670' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px;
  padding-right: 2.75rem;
}
.field input::placeholder, .field textarea::placeholder { color: var(--c-ink-faint); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--c-ink-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff;
  border-color: var(--c-accent); box-shadow: 0 0 0 4px rgba(95, 199, 44, .18);
}
.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: #D93A3A; box-shadow: 0 0 0 4px rgba(217, 58, 58, .12);
}
.field__error { font-size: .85rem; color: #C42B2B; display: none; }
.field.has-error .field__error { display: flex; gap: .35rem; align-items: center; }
.field__error svg { width: 14px; height: 14px; flex: none; }

.checkbox { flex-direction: row; align-items: flex-start; gap: .7rem; }
.checkbox input { width: 22px; height: 22px; flex: none; margin-top: .12rem; accent-color: var(--c-accent-dark); padding: 0; cursor: pointer; }
.checkbox__body { display: flex; flex-direction: column; gap: .25rem; align-items: flex-start; }
.checkbox label { font-weight: 400; font-size: .92rem; color: var(--c-ink-soft); cursor: pointer; }
.checkbox button.linkish {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--c-accent-dark); font: inherit; text-decoration: underline;
}
.checkbox button.linkish:hover { color: var(--c-ink); }

.form__submit { grid-column: 1 / -1; margin-top: .35rem; }
.form__status { grid-column: 1 / -1; }

.form-alert {
  display: flex; gap: .85rem; align-items: flex-start;
  padding: 1.1rem 1.3rem; border-radius: var(--r-md);
  font-size: .95rem;
}
.form-alert svg { width: 22px; height: 22px; flex: none; margin-top: .1rem; }
.form-alert--ok  { background: var(--c-accent-soft); color: #235C0C; }
.form-alert--err { background: #FDECEC; color: #9F2222; }
.form-alert strong { display: block; font-family: var(--font-display); margin-bottom: .15rem; }

.form-aside { display: grid; gap: 1.1rem; align-content: start; }
.form-aside .contact-item { display: flex; gap: .9rem; align-items: flex-start; }
.form-aside .contact-item__icon {
  width: 44px; height: 44px; border-radius: 14px; flex: none;
  display: grid; place-items: center;
  background: var(--c-accent-soft); color: var(--c-accent-dark);
}
.form-aside .contact-item__icon svg { width: 20px; height: 20px; }
.form-aside .contact-item__label { font-size: .82rem; color: var(--c-ink-faint); text-transform: uppercase; letter-spacing: .07em; font-weight: 700; }
.form-aside .contact-item a { font-family: var(--font-display); font-weight: 700; text-decoration: none; }
.form-aside .contact-item a:hover { color: var(--c-accent-dark); }

.form-layout { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; }

@media (max-width: 900px) {
  .form-layout { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .form { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------
   19. PIE DE PÁGINA
   --------------------------------------------------------------------- */
.footer { background: var(--c-ink); color: rgba(255,255,255,.72); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer__top { display: grid; gap: clamp(2rem, 4vw, 3rem); grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); }
.footer__logo img { height: 34px; width: auto; margin-bottom: 1.1rem; }
.footer__desc { font-size: .95rem; max-width: 34ch; }
.footer__col h4 { font-family: var(--font-display); font-size: .82rem; letter-spacing: .11em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
.footer__col a { display: block; padding: .32rem 0; text-decoration: none; font-size: .94rem; transition: color .18s; }
.footer__col a:hover { color: var(--c-accent); }

.footer__contact { display: grid; gap: .5rem; margin-top: 1.6rem; font-size: .94rem; }
.footer__contact a { text-decoration: none; }
.footer__contact a:hover { color: var(--c-accent); }

.footer__social { display: flex; gap: .6rem; margin-top: 1.5rem; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: grid; place-items: center; color: #fff;
  transition: background-color .18s, border-color .18s, transform .18s;
}
.footer__social a:hover { background: var(--c-accent); color: var(--c-ink); border-color: transparent; transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; }

.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; align-items: center; justify-content: space-between;
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .875rem;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer__legal button {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: inherit; font: inherit; transition: color .18s;
}
.footer__legal button:hover { color: var(--c-accent); text-decoration: underline; }

@media (max-width: 880px) {
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer__top { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------
   20. MODAL LEGAL
   --------------------------------------------------------------------- */
.modal {
  position: fixed; inset: 0; z-index: 300;
  display: none; place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(7, 14, 26, .8); backdrop-filter: blur(5px);
}
.modal.is-open { display: grid; animation: fadeIn .2s ease; }
.modal__dialog {
  position: relative;
  background: var(--c-surface); border-radius: var(--r-lg);
  width: min(100%, 720px); max-height: 86dvh;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg); animation: popIn .25s cubic-bezier(.2,.8,.3,1);
}
.modal__head { padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.25rem) 1rem; border-bottom: 1px solid var(--c-border); }
.modal__head h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); margin-bottom: .25rem; }
.modal__head p { font-size: .85rem; color: var(--c-ink-faint); margin: 0; }
.modal__body { padding: clamp(1.25rem, 3vw, 2.25rem); overflow-y: auto; }
.modal__body h3 { font-size: 1.08rem; margin-top: 1.75rem; }
.modal__body h3:first-child { margin-top: 0; }
.modal__body p { color: var(--c-ink-soft); font-size: .95rem; }
.modal__close {
  position: absolute; top: 1rem; right: 1rem;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--c-border-strong); background: var(--c-surface);
  color: var(--c-ink); cursor: pointer; display: grid; place-items: center;
  transition: background-color .18s, color .18s;
}
.modal__close:hover { background: var(--c-ink); color: #fff; }
.modal__close svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------------------
   21. ANIMACIONES DE SCROLL
   --------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn   { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes fadeUp  { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------------
   22. ACCESIBILIDAD: MOVIMIENTO REDUCIDO
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__scan, .hero__pulse { display: none; }
  .carousel__track { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------------
   23. IMPRESIÓN
   --------------------------------------------------------------------- */
@media print {
  .header, .footer, .carousel__controls, .filters, .burger { display: none !important; }
  body { background: #fff; }
  .reveal { opacity: 1; transform: none; }
}
