/* Itiba Tech — landing */

:root {
  --forest: #094E31;
  --forest-700: #06321F;
  --forest-500: #0E6B44;
  --leaf: #0CB771;
  --leaf-dark: #087A4B;
  --leaf-darker: #066640;
  --sun: #F6C445;
  --coral: #E2573B;
  --mint: #BFEBD5;
  --peach: #FCE3A0;
  --cream: #FBF3E4;
  --sand: #F3E3C7;
  --ink: #1B2A2F;
  --ink-soft: #3D4F55;
  --white: #FFFFFF;

  --font-display: 'Red Hat Display', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Nunito', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 32px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 112px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--forest); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--leaf-dark); 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 {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 12px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 880px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px;
  border: 2px solid transparent; border-radius: 999px;
  font: 700 16px/1.2 var(--font-body);
  text-decoration: none; text-align: center; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn__icon { width: 22px; height: 22px; flex: none; fill: currentColor; }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--leaf-dark); color: var(--white); box-shadow: 0 6px 20px -8px rgba(8, 122, 75, .7); }
.btn--primary:hover { background: var(--leaf-darker); }
.btn--ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--ghost:hover { background: var(--forest); color: var(--cream); }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: #FFD45E; }
.btn--forest { background: var(--forest); color: var(--white); }
.btn--forest:hover { background: var(--forest-700); }
.btn--outline-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--leaf-dark); }

/* ---------- Header ---------- */

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  transition: box-shadow .25s;
}
.header.is-scrolled { box-shadow: 0 1px 0 rgba(27, 42, 47, .08), 0 8px 24px -16px rgba(27, 42, 47, .35); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }

.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 54px; width: auto; }
.footer__logo { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px 26px; font-weight: 600; font-size: 15px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 10px 0; position: relative; }
.nav a { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1100px) {
  .nav { gap: 6px 12px; font-size: 14px; }
  .nav .btn--sm { padding: 10px 16px; font-size: 14px; }
  .nav .btn--sm .btn__icon { width: 18px; height: 18px; }
}
.nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
  background: var(--leaf-dark); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer;
  padding: 12px; border-radius: 12px; flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 8px var(--gutter) 20px;
    box-shadow: 0 16px 24px -16px rgba(27, 42, 47, .35);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(27, 42, 47, .08); font-size: 17px; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 16px; }
}

/* ---------- Shared type ---------- */

.eyebrow { margin-bottom: 10px; font-weight: 700; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--leaf-dark); }
.eyebrow--sun { color: var(--sun); }
.h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(32px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -.02em;
  color: var(--forest); max-width: 20ch; text-wrap: balance;
}
.h2--wide { max-width: none; }
.section__intro { margin-top: 16px; font-size: 18px; max-width: 640px; color: var(--ink-soft); }
.section__intro--wide { max-width: none; }

.section { padding: var(--section-y) 0; }
.section--tight { padding-top: 0; }
.section--white { background: var(--white); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--forest); color: var(--cream); }
.section--dark .h2 { color: var(--cream); }
.section--dark .section__intro { color: rgba(251, 243, 228, .85); }

.list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.list li { position: relative; padding-left: 26px; font-size: 16px; }
.list li::before {
  content: ''; position: absolute; left: 0; top: .45em; width: 14px; height: 8px;
  border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor;
  transform: rotate(-45deg); opacity: .8;
}

/* ---------- Colores por servicio ---------- */

.t-asesoria   { --c-hero: #FADB85; --c-bg: #FDEBB8; --c-soft: #FFF6DA; --c-tint: #F6C445; --c-acc: #8A5300; --c-acc-hover: #6E4200; }
.t-instalacion { --c-hero: #8FD3DE; --c-bg: #D3EEF1; --c-soft: #EDF8FA; --c-tint: #2BB3C9; --c-acc: #0B6573; --c-acc-hover: #084F5A; }
.t-equipos    { --c-hero: #8EDDB9; --c-bg: #D7F3E3; --c-soft: #EEFAF3; --c-tint: #0CB771; --c-acc: #087A4B; --c-acc-hover: #066640; }

.btn--theme { background: var(--c-acc); color: var(--white); box-shadow: 0 8px 20px -10px var(--c-acc); }
.btn--theme:hover { background: var(--c-acc-hover); }
.btn--theme-ghost { background: transparent; color: var(--c-acc); border-color: var(--c-acc); }
.btn--theme-ghost:hover { background: var(--c-acc); color: var(--white); }

/* ---------- Hero slideshow ---------- */

.hero {
  position: relative; overflow: hidden; background: var(--cream); color: var(--forest);
  height: calc(100vh - var(--chrome, 110px));
  height: calc(100svh - var(--chrome, 110px));
  min-height: 520px;
}
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 0s 1.1s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s ease; }
.slide { background: var(--c-hero); color: var(--forest-700); }
/* Centro del dibujo dentro de cada SVG del hero (0–1), para centrarlo */
.slide.t-asesoria { --fx: .757; --fy: .5; }
.slide.t-instalacion { --fx: .72; --fy: .62; }
.slide.t-equipos { --fx: .767; --fy: .46; }
.slide .btn--theme { background: var(--forest-700); color: var(--white); box-shadow: 0 10px 24px -12px rgba(6, 50, 31, .8); }
.slide .btn--theme:hover { background: var(--forest); }
.slide .btn--theme-ghost { color: var(--forest-700); border-color: var(--forest-700); }
.slide .btn--theme-ghost:hover { background: var(--forest-700); color: var(--white); }
.slide img {
  /* Centrada verticalmente con el texto (que deja 72px abajo para los controles):
     --fy = centro vertical del dibujo dentro de su SVG */
  --h: min(78%, 620px);
  position: absolute; top: calc(50% - 36px - var(--fy, .5) * var(--h)); height: var(--h); object-fit: cover; object-position: 100% 50%;
  /* Alineada al contenedor de 1240px, como el resto de las secciones */
  right: calc(max(0px, (100% - 1240px) / 2) + var(--gutter)); width: calc(min(100%, 1240px) - 2 * var(--gutter));
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 25%, #000 50%, #000 94%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, transparent 25%, #000 50%, #000 94%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-composite: intersect;
  transform: scale(1.06); transform-origin: right center;
}
.slide.is-active img { animation: kenburns 9s ease-out forwards; }
.slide__content {
  position: relative; z-index: 1; height: 100%;
  display: flex; flex-direction: column; justify-content: center; gap: 16px;
  padding-bottom: 72px;
}
.slide__word {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(34px, 7vw, 100px); line-height: .92; letter-spacing: -.03em;
}
.slide__line { font-size: clamp(18px, 1.8vw, 24px); max-width: 560px; font-weight: 500; }
.slide__line strong { font-weight: 800; }
.slide .cta-row { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.slide.is-active .slide__content > * { animation: rise .9s var(--ease) both; }
.slide.is-active .slide__word { animation-delay: .08s; }
.slide.is-active .slide__line { animation-delay: .16s; }
.slide.is-active .cta-row { animation-delay: .24s; }

.hero__controls { position: absolute; z-index: 2; left: 0; right: 0; bottom: 28px; pointer-events: none; }
.hero__dots { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); display: flex; gap: 8px; }
.hero__dots button {
  pointer-events: auto; width: 56px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer;
  display: flex; align-items: center;
}
.hero__dots span { display: block; width: 100%; height: 4px; border-radius: 2px; background: rgba(6, 50, 31, .25); overflow: hidden; position: relative; }
.hero__dots span::after { content: ''; position: absolute; inset: 0; background: var(--forest-700); transform: scaleX(0); transform-origin: left; }
.hero__dots [aria-selected="true"] span::after { animation: progress var(--slide-ms, 7000ms) linear forwards; }
.hero.is-paused .hero__dots [aria-selected="true"] span::after { animation-play-state: paused; }

.hero__down {
  position: absolute; z-index: 2; left: 50%; bottom: 20px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--forest-700); text-decoration: none; font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
}
.hero__down svg {
  width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--forest-700);
  fill: none; stroke: var(--sun); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes progress { to { transform: scaleX(1); } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

@media (max-width: 700px) {
  .slide img {
    /* Sin recorte: el SVG entero a 16:9 y desplazado para que su dibujo (--fx = centro
       horizontal del dibujo dentro del SVG) quede centrado en pantalla. */
    right: auto; left: 50%; width: auto; max-width: none; height: 50%; aspect-ratio: 16 / 9; top: 24px;
    translate: calc(var(--fx, .75) * -100%) 0; transform-origin: center top;
    -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 92%), linear-gradient(90deg, transparent 0%, #000 12%, #000 86%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 62%, transparent 92%), linear-gradient(90deg, transparent 0%, #000 12%, #000 86%, transparent 100%);
  }
  .slide__content { justify-content: flex-end; padding-bottom: 120px; }
  .hero__controls { bottom: auto; top: 16px; }
  .hero__down span { display: none; }
  .slide .cta-row .btn--lg { padding-left: 22px; padding-right: 22px; font-size: 16px; }
}

/* ---------- Service sections ---------- */

.svc { padding: var(--section-y) 0; overflow: hidden; background: var(--c-bg); }
.svc__inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.svc--flip .svc__inner { grid-template-columns: 1fr 1.25fr; }
.svc--flip .svc__copy { order: 2; }
.svc__copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.svc__copy .h2 { max-width: 18ch; }
.svc__tag { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--c-acc); }
.svc__tag span {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--c-acc); color: var(--white); letter-spacing: 0; font-size: 15px;
}
.svc__tag svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc__lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-soft); max-width: 600px; }
.svc__lead + .svc__lead { margin-top: -8px; }
.svc__subhead { font-size: 15px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--forest); }
.svc__list li::before { color: var(--c-acc); }
.svc__note { font-size: 16px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--white); max-width: 600px; border-left: 0; }
.svc__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.svc__cols > div { display: flex; flex-direction: column; gap: 12px; }
.svc__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.svc__facts > div { background: var(--white); border-radius: var(--radius-sm); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.svc__facts strong { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--c-acc); line-height: 1.15; }
.svc__facts span { font-size: 14px; color: var(--ink-soft); }

.svc .cta-row { display: flex; flex-wrap: wrap; gap: 8px; }
.svc .cta-row .btn--lg { padding-left: 22px; padding-right: 22px; font-size: 16px; }

.svc__media { position: relative; margin: 0; }
.svc__media img {
  width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -40px rgba(9, 78, 49, .45);
}
.svc__badge {
  /* Montada sobre el borde lateral de la ilustración */
  position: absolute; left: -48px; bottom: 28px; display: flex; flex-direction: column;
  background: var(--white); color: var(--ink-soft); border-radius: 18px; padding: 14px 20px;
  font-size: 14px; font-weight: 700; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .45);
}
.svc__badge strong { font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 1.1; color: var(--c-acc); }
.svc--flip .svc__badge { left: auto; right: -48px; }
.svc__badge[hidden] { display: none; }
.svc__free { margin-top: 14px; font-size: 14px; color: var(--ink-soft); max-width: 460px; }

.products { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.products li {
  display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: center;
  padding: 14px 16px; border-radius: var(--radius-sm); background: var(--white);
}
.products svg {
  grid-row: span 2; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--c-bg);
  fill: none; stroke: var(--c-acc); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.products strong { font-size: 16px; color: var(--ink); }
.products span { font-size: 14px; color: var(--ink-soft); }

@media (max-width: 900px) {
  .svc__inner, .svc--flip .svc__inner { grid-template-columns: 1fr; }
  .svc--flip .svc__copy { order: 0; }
  .svc__media { max-width: 420px; }
  /* Sin espacio a los lados: montada sobre el borde inferior para no tapar el dibujo */
  .svc__media { margin-bottom: 28px; }
  .svc__badge, .svc--flip .svc__badge { left: 16px; right: auto; bottom: -28px; }
}
@media (max-width: 560px) {
  .svc__cols, .products { grid-template-columns: 1fr; }
  .svc__facts { grid-template-columns: 1fr; }
}

/* ---------- Audience ---------- */

.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.audience__item { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: start; align-content: start; padding: 8px 0; }
.audience__item svg {
  grid-row: span 2; width: 48px; height: 48px; padding: 11px; border-radius: 50%;
  background: var(--forest); fill: none; stroke: var(--sun); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.audience__item h3 { font-size: 19px; font-weight: 700; }
.audience__item p { font-size: 15px; color: var(--ink-soft); }
@media (max-width: 800px) { .audience { grid-template-columns: 1fr; } }

/* ---------- Diaspora band ---------- */

.band { position: relative; overflow: hidden; background: var(--sun); color: var(--ink); }
.band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-top: 48px; padding-bottom: 48px; }
.band__copy { position: relative; z-index: 1; flex: 1 1 440px; min-width: 0; }
.band__gift { flex: 0 1 440px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.band__gift .btn { position: relative; z-index: 1; }
.band__art { position: relative; width: 100%; max-width: 340px; }
.band__art img { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
/* Rayos de sol: nacen del sol de la ilustración (50 % × 41 %) y se pierden hacia los bordes */
.band__art::before {
  content: ''; position: absolute; left: 50%; top: 41%; width: 2400px; height: 2400px; transform: translate(-50%, -50%); pointer-events: none;
  background: repeating-conic-gradient(rgba(255, 255, 255, .3) 0 7.5deg, transparent 7.5deg 15deg);
  -webkit-mask-image: radial-gradient(circle, #000 0, rgba(0, 0, 0, .5) 22%, transparent 58%); mask-image: radial-gradient(circle, #000 0, rgba(0, 0, 0, .5) 22%, transparent 58%);
}
/* Etiquetas de regalo: con su agujero, en coral y un poco inclinadas (distintas de los iconos de la sección de público) */
.band__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.band__steps li {
  position: relative; display: flex; flex-direction: column; gap: 8px; padding: 34px 18px 18px; border-radius: 22px 22px 14px 14px;
  background: var(--white); box-shadow: 0 14px 28px -16px rgba(94, 62, 0, .6); transform: rotate(-2deg); transition: transform .25s var(--ease);
}
.band__steps li:nth-child(2) { transform: translateY(6px) rotate(1.5deg); }
.band__steps li:nth-child(3) { transform: rotate(-1deg); }
.band__steps li:hover { transform: rotate(0) translateY(-3px); }
.band__steps li::before {  /* agujero de la etiqueta */
  content: ''; position: absolute; top: 12px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%;
  background: var(--sun); box-shadow: 0 0 0 3px var(--coral);
}
.band__steps svg { flex: none; width: 34px; height: 34px; fill: none; stroke: var(--coral); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.band__steps strong { display: block; font-size: 16px; line-height: 1.25; color: var(--forest); }
.band__steps span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.4; }
@media (max-width: 600px) {
  .band__steps { grid-template-columns: 1fr; gap: 12px; }
  .band__steps li { flex-direction: row; align-items: center; gap: 14px; padding: 14px 18px 14px 44px; border-radius: 22px 14px 14px 22px; transform: rotate(-.8deg); }
  .band__steps li:nth-child(2) { transform: rotate(.8deg); }
  .band__steps li:nth-child(3) { transform: rotate(-.5deg); }
  .band__steps li::before { top: 50%; left: 16px; margin: -7px 0 0; }
}
@media (max-width: 1000px) { .band__copy, .band__gift { flex-basis: 100%; } .band__art { max-width: 300px; } }
.band__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4vw, 46px); text-wrap: balance; line-height: 1.1; color: var(--forest); margin-bottom: 10px; letter-spacing: -.01em; }
.band p { max-width: 640px; color: var(--ink); }

/* ---------- Medios de pago ---------- */

.paybar { background: #1A2723; color: var(--cream); padding: 32px 0; }
.paybar__inner { display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 16px 32px; }
.paybar__title { flex: none; white-space: nowrap; font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; letter-spacing: -.01em; color: var(--sun); }
@media (max-width: 1040px) { .paybar__inner { flex-direction: column; align-items: flex-start; } }
.pay { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px 12px; }
.pay__group { display: contents; }
.pay__head { font-size: 10.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(251, 243, 228, .6); white-space: nowrap; }
.pay ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pay__group--crypto .pay__head, .pay__group--crypto ul { padding-top: 2px; }
.pay__pill {
  display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px 0 7px; border-radius: 999px;
  background: var(--white); color: var(--ink); font-size: 12px; font-weight: 700; white-space: nowrap;
}
.pay__pill svg { height: 16px; width: auto; flex: none; }
.pay__pill--word { padding: 0 11px; }
.pay__visa { font: italic 900 14px/1 var(--font-body); letter-spacing: .4px; color: #1A1F71; }
.pay__paypal { font: italic 900 13.5px/1 var(--font-body); }
.pay__paypal b { color: #003087; font-weight: 900; }
.pay__paypal i { color: #009CDE; }
@media (max-width: 600px) {
  .pay { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .pay__group--crypto .pay__head { margin-top: 4px; }
  .pay__group--crypto ul { padding-top: 0; }
}

/* ---------- Calculator ---------- */

.section--dark#calculadora { border-top: 1px solid rgba(251, 243, 228, .12); }
#calculadora { padding-top: 48px; scroll-margin-top: -26px; }  /* menos relleno arriba; el ancla deja "Calculadora solar" justo bajo el menú */
.calc { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px, 5vw, 56px); align-items: start; }
.calc > * { min-width: 0; }
.calc__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.calc__head .h2 { margin: 0; }
.mode { display: inline-flex; flex: none; padding: 5px; gap: 4px; border-radius: 999px; background: rgba(251, 243, 228, .1); }
.mode__btn {
  min-height: 44px; padding: 8px 22px; border: 0; border-radius: 999px; cursor: pointer;
  font: 800 15px var(--font-display); letter-spacing: .5px; text-transform: uppercase;
  background: transparent; color: var(--cream); transition: background-color .2s, color .2s;
}
.mode__btn[aria-pressed="true"] { background: var(--sun); color: var(--ink); }
.mode__btn:focus-visible { outline-color: var(--cream); }
.mode__hint { margin-top: 6px; padding-left: 4px; font-size: 12px; line-height: 1.4; color: rgba(251, 243, 228, .6); }

.finder { position: relative; margin-top: 28px; }
.finder__icon { position: absolute; left: 18px; top: 18px; width: 20px; height: 20px; fill: none; stroke: var(--ink-soft); stroke-width: 2.4; stroke-linecap: round; pointer-events: none; }
.finder input {
  width: 100%; min-height: 56px; padding: 12px 52px 12px 48px; border: 2px solid transparent; border-radius: var(--radius-sm);
  font: 600 17px var(--font-body); color: var(--ink); background: var(--white);
}
.finder input:focus { outline: none; border-color: var(--sun); }
.finder__list {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none;
  max-height: min(420px, 60vh); overflow-y: auto; overscroll-behavior: contain; background: var(--white); color: var(--ink); border-radius: var(--radius-sm);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .55);
}
.finder__toggle {
  position: absolute; right: 6px; top: 6px; width: 44px; height: 44px; border: 0; border-radius: 10px;
  background: transparent; color: var(--ink-soft); cursor: pointer;
}
.finder__toggle:hover { background: rgba(27, 42, 47, .06); }
.finder__toggle svg { width: 22px; height: 22px; margin: auto; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.finder__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.finder__head .ico { width: 16px; height: 16px; }
.finder__head {
  display: flex; align-items: center; gap: 8px;
  position: sticky; top: -6px; z-index: 1; margin: 4px -6px 0; padding: 8px 18px 6px; background: var(--white);
  font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--leaf-dark);
}
.finder__list [role="option"] { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 12px; border-radius: 10px; cursor: pointer; }
.finder__list [role="option"] span { font-weight: 700; font-size: 15px; }
.finder__list [role="option"] small { flex: none; font-size: 13px; color: var(--ink-soft); }
.finder__list [aria-selected="true"], .finder__list [role="option"]:hover { background: var(--mint); }
.finder__none { padding: 12px; font-size: 15px; color: var(--ink-soft); }

.groups { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 20px; }
@media (min-width: 1000px) {
  .groups--basic { display: block; columns: 2; column-gap: 14px; }
  .groups--basic .grp { break-inside: avoid; margin-bottom: 14px; }
  .groups--basic .grp__title { font-size: 16px; }
  .groups--basic .grp__kwh { font-size: 13px; }
  .groups--basic .item { min-height: 52px; padding: 6px 4px 6px 12px; gap: 4px; }
  .groups--basic .item__name { font-size: 14px; }
  .groups--basic .qty__btn { width: 34px; height: 34px; font-size: 18px; }
  .groups--basic .qty__n { min-width: 26px; font-size: 16px; }
  .groups--basic .item__x { width: 32px; height: 32px; }
  .groups--basic .chip { min-height: 36px; padding: 5px 12px; font-size: 13px; }
}
.grp { min-width: 0; padding: 16px; border-radius: 18px; background: var(--cream); color: var(--ink); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .55); }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.grp__title { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 800 17px var(--font-display); color: var(--forest); }
.grp__name { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.grp__ico { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--mint); color: var(--leaf-dark); }
.grp__kwh { font-size: 14px; font-weight: 800; color: var(--leaf-dark); white-space: nowrap; }
.grp__items { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.grp__chips {
  display: flex; gap: 8px; margin: 12px -16px -4px; padding: 0 16px 4px; overflow-x: auto; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent);
          mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent);
}
.grp__chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; white-space: nowrap; min-height: 40px; padding: 7px 14px; border-radius: 999px; cursor: pointer;
  font: 600 14px var(--font-body); color: var(--ink); background: var(--white); border: 1.5px dashed rgba(9, 78, 49, .3);
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip span { font-weight: 800; color: var(--leaf-dark); }
.chip:hover { border-style: solid; border-color: var(--leaf-dark); }

.item {
  display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 8px 8px 8px 14px;
  border-radius: 12px; background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px rgba(9, 78, 49, .08);
}
.item__name { flex: 1 1 auto; min-width: 0; font-weight: 700; font-size: 15px; line-height: 1.3; }
.item__meta, .item__kwh { display: block; font-weight: 600; font-size: 12.5px; color: var(--ink-soft); }
.item__kwh { color: var(--leaf-dark); }
.qty { display: inline-flex; align-items: center; gap: 2px; flex: none; }
.qty__btn {
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  font: 800 20px/1 var(--font-display); color: var(--white); background: var(--leaf-dark);
}
.qty__btn:hover { background: var(--leaf-darker); }
.qty__btn:disabled { background: #C9D3CF; cursor: default; }
.qty__n { min-width: 30px; text-align: center; font: 800 18px var(--font-display); font-variant-numeric: tabular-nums; }
.item__x { width: 36px; height: 36px; flex: none; border: 0; border-radius: 50%; background: transparent; cursor: pointer; color: var(--ink-soft); }
.item__x svg { width: 18px; height: 18px; margin: auto; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.item__x:hover { background: rgba(27, 42, 47, .08); color: var(--ink); }
.item--adv { flex-wrap: wrap; row-gap: 8px; }
.item--adv .item__name { flex-basis: 200px; }
.item__hours { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.item__hours input {
  width: 64px; min-height: 40px; padding: 6px 8px; border: 1.5px solid #C9D3CF; border-radius: 10px;
  font: 700 16px var(--font-body); color: var(--ink); text-align: center; background: var(--white);
}
.item__cycle { font-size: 13px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
.item__ess { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-size: 13px; font-weight: 700; cursor: pointer; }
.item__ess input { width: 20px; height: 20px; margin: 0; accent-color: var(--leaf-dark); }
.calc__empty { margin-top: 16px; padding: 18px; border-radius: 18px; border: 1.5px dashed rgba(251, 243, 228, .35); color: rgba(251, 243, 228, .85); }

.custom { margin-top: 14px; border-radius: 18px; background: var(--cream); color: var(--ink); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .55); }
.custom summary { min-height: 52px; padding: 14px 16px; cursor: pointer; font-weight: 800; color: var(--leaf-dark); }
.custom__form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0 16px 16px; align-items: end; }
.custom__form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.custom__form .custom__name { grid-column: 1 / -1; }
.custom__form input {
  min-height: 44px; padding: 8px 12px; border: 1.5px solid #C9D3CF; border-radius: 10px;
  font: 600 16px var(--font-body); color: var(--ink); background: var(--white); width: 100%;
}
.custom__form input[aria-invalid="true"] { border-color: #E5484D; }
.custom__form .btn { grid-column: 1 / -1; justify-self: start; }
.custom__reset { background: transparent; color: var(--forest); border-color: rgba(9, 78, 49, .35); }
.custom__reset:hover { border-color: var(--leaf-dark); color: var(--leaf-dark); }

.range { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.range label { font-weight: 600; font-size: 18px; }
.range output { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--sun); margin-left: 6px; }
.range input { width: 100%; height: 32px; accent-color: var(--sun); cursor: pointer; }
.range__scale { display: flex; justify-content: space-between; font-size: 13px; opacity: .8; }

.calc__result {
  position: sticky; top: 96px;
  background: var(--cream); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5);
}
.calc__result .eyebrow { margin: 0; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stat { background: var(--white); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.stat__label { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-soft); }
.stat__label .ico { width: 18px; height: 18px; color: var(--leaf-dark); }
.kitpick__label { display: flex; align-items: center; gap: 6px; }
.kitpick__label .ico { width: 18px; height: 18px; }
.stat__value { font-weight: 600; font-size: 15px; color: var(--forest); }
.stat__value b { font-family: var(--font-display); font-weight: 800; font-size: 32px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat__value--leaf-dark { color: var(--leaf-dark); }
.stat__sub { font-size: 12.5px; color: var(--ink-soft); }
.stat--wide { grid-column: 1 / -1; }
.split { display: grid; gap: 6px; }
.split[hidden] { display: none; }
.split__row { display: grid; grid-template-columns: minmax(0, 1fr) 90px 44px; align-items: center; gap: 10px; font-size: 13px; }
.split__row span:first-child { display: flex; align-items: center; gap: 6px; min-width: 0; }
.split__row span:first-child .ico { width: 15px; height: 15px; color: var(--leaf-dark); }
.split__row em { font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.split__row b { text-align: right; font-variant-numeric: tabular-nums; }
.split__bar { height: 6px; border-radius: 3px; background: rgba(9, 78, 49, .1); overflow: hidden; }
.split__bar i { display: block; height: 100%; border-radius: 3px; background: var(--leaf-dark); }
.kitpick { background: var(--sun); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; }
.kitpick__label { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.kitpick__name { font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: 1.1; }
.kitpick__note { font-size: 15px; }
.kitpick__why { font-size: 15px; font-weight: 700; }
.kitpick__why[hidden], .kitpick__note:empty { display: none; }
.fineprint { font-size: 13px; color: var(--ink-soft); }

@media (max-width: 900px) {
  .calc { grid-template-columns: 1fr; }
  .calc__result { position: static; }
}
@media (max-width: 520px) {
  .custom__form { grid-template-columns: 1fr 1fr; }
  .item { padding-left: 12px; gap: 6px; }
  .mode { display: flex; flex: 1 1 100%; }
  .mode__btn { flex: 1; }
  .item--adv { position: relative; }
  .item--adv .item__name { flex-basis: 100%; padding-right: 34px; }
  .item--adv .item__x { position: absolute; top: 4px; right: 4px; }
}

/* ---------- Steps ---------- */

.steps { margin: 56px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; display: flex; flex-direction: column; gap: 8px; }
.step__dot {
  position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 10px; border-radius: 50%;
  background: var(--white); color: var(--leaf-dark); border: 2px solid var(--mint);
  box-shadow: 0 8px 20px -10px rgba(9, 78, 49, .45); transition: transform .35s ease, background .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.step__dot svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step__dot::after {
  counter-increment: step; content: counter(step);
  position: absolute; top: -4px; right: -4px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  font: 800 12px/1 var(--font-display); color: var(--white); background: var(--forest);
}
.step:hover .step__dot { transform: translateY(-4px) scale(1.06); background: var(--leaf-dark); color: var(--white); border-color: var(--leaf-dark); }
.step--last .step__dot { background: var(--leaf-dark); color: var(--white); border-color: var(--leaf-dark); }
.step.is-lit .step__dot { transform: scale(1.12); background: var(--leaf-dark); color: var(--white); border-color: var(--leaf); box-shadow: 0 0 0 8px rgba(12, 183, 113, .18), 0 10px 24px -8px rgba(9, 78, 49, .55); }
.step.is-lit.step--last .step__dot { background: var(--leaf); }
.step h3, .step__tag { transition: color .35s ease; }
.step.is-lit h3 { color: var(--leaf-dark); }
.step--last .step__dot::after { content: '✓'; background: var(--sun); color: var(--forest); }
/* Flow: energía que corre de un paso al siguiente */
/* Flow: un caminito de puntos que serpentea al paso siguiente, con una chispa que lo recorre */
.step__link { position: absolute; top: -8px; left: 70px; width: calc(100% - 70px + 14px); height: 80px; overflow: visible; pointer-events: none; }
.step__trail { fill: none; stroke: var(--leaf); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 0 10; animation: trail 1.4s linear infinite; }
.step__spark { fill: var(--sun); stroke: var(--white); stroke-width: 2; filter: drop-shadow(0 0 4px rgba(12, 183, 113, .9)); }
@keyframes trail { to { stroke-dashoffset: -20; } }
@keyframes flow-y { to { background-position: 0 24px; } }
.step__tag { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--leaf-dark); }
.step h3 { font-size: 20px; font-weight: 700; }
.step p { font-size: 15px; color: var(--ink-soft); }
@media (max-width: 1000px) {
  .steps { grid-template-columns: 1fr; gap: 28px; max-width: 560px; }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; row-gap: 4px; align-content: start; }
  .step__dot { grid-row: 1 / span 3; margin: 0; }
  .step__link { display: none; }
  .step:not(.step--last)::before {
    content: ''; position: absolute; animation: flow-y 1.2s linear infinite; opacity: .9;
    top: 72px; bottom: -20px; left: 26px; right: auto; width: 12px; height: auto;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='24'%3E%3Cpath d='M6 0 Q0 6 6 12 T6 24' fill='none' stroke='%230CB771' stroke-width='3.2' stroke-dasharray='0 6.5' stroke-linecap='round'/%3E%3C/svg%3E") repeat-y 0 0 / 12px 24px; animation-name: flow-y;
  }
}
@media (prefers-reduced-motion: reduce) { .step::before, .step__trail { animation: none !important; } .step__spark { display: none; } }

/* ---------- Work gallery ---------- */

.gallery {
  margin-top: 44px; display: grid; gap: 14px;
  grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px;
}
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  font-size: 14px; font-weight: 600; color: var(--white);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}
.gallery__big { grid-column: span 2; grid-row: span 2; }
.gallery__tall { grid-row: span 2; }
.gallery__wide { grid-column: span 2; }
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery__wide { grid-column: span 2; }
}

.gallery figure { cursor: zoom-in; }

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(6, 50, 31, .94); color: var(--white);
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; max-width: min(1200px, 88vw); display: flex; flex-direction: column; gap: 12px; }
.lightbox img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 16px; }
.lightbox figcaption { text-align: center; font-weight: 600; }
.lightbox button {
  position: absolute; width: 52px; height: 52px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--sun); color: var(--forest); font-size: 30px; line-height: 1; display: grid; place-items: center;
}
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) {
  .lightbox__nav { top: auto !important; bottom: 24px; transform: none !important; }
}

/* ---------- Cases (testimonios) ---------- */

.cases[hidden] { display: none; }
.cases { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case {
  background: var(--cream); border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.case__where { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--leaf-dark); }
.case__specs { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.case__specs li { background: var(--white); border-radius: var(--radius-sm); padding: 10px 12px; display: flex; flex-direction: column; }
.case__specs b { font-family: var(--font-display); font-size: 18px; color: var(--leaf-dark); white-space: nowrap; }
.case__specs span { font-size: 13px; color: var(--ink-soft); }
.case__quote { margin: 4px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink); flex: 1; }
.case__who { font-weight: 700; font-size: 15px; color: var(--ink-soft); }
@media (max-width: 900px) { .cases { grid-template-columns: 1fr; } }

/* ---------- Legal page ---------- */

.legal h2 { margin-top: 36px; margin-bottom: 10px; font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--forest); }
.legal p, .legal .list li { font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.legal p + p, .legal .list + p { margin-top: 12px; }
.legal a:not(.btn) { color: var(--leaf-dark); }
.legal__date { margin-top: 40px; }

/* ---------- Kits ---------- */

.kits { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.kit {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.kit:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(9, 78, 49, .45); }
.kit > p { color: var(--ink-soft); }
.kit .list li::before { color: var(--leaf-dark); }
.kit__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.kit__name { font-family: var(--font-display); font-weight: 800; font-size: 34px; letter-spacing: -.02em; color: var(--forest); }
.kit > .btn { margin-top: auto; }
.kit--featured { background: var(--forest); color: var(--cream); transform: translateY(-12px); box-shadow: 0 30px 60px -30px rgba(9, 78, 49, .7); }
.kit--featured:hover { transform: translateY(-16px); }
.kit--featured > p { color: rgba(251, 243, 228, .85); }
.kit--featured .kit__name { color: var(--sun); }
.kit--featured .list li::before { color: var(--sun); }
.badge { background: var(--sun); color: var(--ink); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
@media (max-width: 1000px) {
  .kits { grid-template-columns: 1fr; max-width: 560px; }
  .kit--featured, .kit--featured:hover { transform: none; }
}

/* ---------- Why ---------- */

.why { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why__item { border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.why__item:nth-child(1) { background: var(--sun); }
.why__item:nth-child(2) { background: var(--mint); }
.why__item:nth-child(3) { background: var(--peach); }
.why__num { font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--leaf-dark); }
.why__item:nth-child(2) .why__num { color: var(--forest); }
.why__item h3 { font-size: 24px; font-weight: 700; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */

.faq { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--white); border-radius: 18px; padding: 0 24px; transition: background-color .2s; }
.faq details[open] { background: var(--sand); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 14px 0; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex: none; font-size: 28px; font-weight: 400; line-height: 1; color: var(--leaf-dark);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--ink-soft); }

/* ---------- Contact ---------- */

.contact {
  position: relative; color: var(--white); padding: var(--section-y) 0;
  background:
    url("../img/art/contacto-bg.svg") right center / cover no-repeat var(--leaf-dark);
}
.contact__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.contact__copy { display: flex; flex-direction: column; gap: 16px; }
.contact__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 5vw, 60px); line-height: 1; letter-spacing: -.02em; }
.contact__copy p { font-size: 19px; max-width: 520px; }
.contact__direct { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.contact__direct .btn { flex: 1 1 130px; padding-left: 16px; padding-right: 16px; }

.form {
  background: var(--cream); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.optional { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: 16px/1.4 var(--font-body); color: var(--ink);
  background: var(--white); border: 2px solid #E5D6BC; border-radius: 12px;
  transition: border-color .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); }
.field input[aria-invalid="true"] { border-color: var(--leaf-dark); }
.place { position: relative; }
.place input { padding-right: 50px; }
.place .finder__toggle { right: 2px; top: 2px; }
.place .finder__list { max-height: min(300px, 45vh); }
.form__note { font-size: 13px; color: var(--ink-soft); text-align: center; }

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

/* ---------- Footer ---------- */

.footer { background: var(--forest-700); color: #E9E2D3; font-size: 15px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 32px; }
.footer__brand { flex: 1 1 280px; }
.footer__brand p { margin-top: 12px; max-width: 360px; color: #B9B2A3; }
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__head { font-weight: 700; color: var(--white); margin-bottom: 4px; }
.footer a { color: #E9E2D3; text-decoration: none; }
.footer a:hover { color: var(--sun); }
.footer__item { display: inline-flex; align-items: center; gap: 10px; }
.footer__item svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--sun); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer__social { display: flex; gap: 10px; margin-top: 4px; }
.footer__social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(233, 226, 211, .1); transition: background .2s; }
.footer__social a:hover { background: var(--sun); color: var(--forest); }
.footer__social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer__legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer__legal { padding-top: 20px; padding-bottom: 32px; border-top: 1px solid rgba(233, 226, 211, .12); font-size: 13px; color: #B9B2A3; }

/* ---------- Barra fija (móvil) ---------- */

.ctabar { display: none; }
@media (max-width: 900px) and (min-height: 481px) {  /* en horizontal taparía demasiado */
  .ctabar {
    position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; gap: 10px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .92); box-shadow: 0 -8px 24px -16px rgba(27, 42, 47, .45);
    backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
    transition: transform .3s var(--ease), visibility .3s;
  }
  .ctabar .btn { flex: 1; padding: 10px 12px; box-shadow: none; }
  .ctabar.is-off { transform: translateY(105%); visibility: hidden; }
  .hero { height: calc(100vh - var(--chrome, 110px) - 68px); height: calc(100svh - var(--chrome, 110px) - 68px); }
}

/* ---------- Reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .kit--featured.reveal.is-visible { transform: translateY(-12px); }
@media (max-width: 1000px) { .js .kit--featured.reveal.is-visible { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media (max-width: 350px) {
  .slide .cta-row .btn--lg { padding-left: 16px; padding-right: 16px; font-size: 15px; }
}
@media (max-width: 400px) {
  .svc .cta-row .btn--lg { padding-left: 16px; padding-right: 16px; }
}
