/* ============================================================
   Bosa — landing de una página
   Recreación del handoff + pase de consistencia (Apple HIG):
   escala de espaciado 4pt, sistema de botones, jerarquía única
   del CTA, tipografía (tracking/leading por tamaño).
   ============================================================ */

:root {
  /* Colores */
  --white: #ffffff;
  --ink: #111110;
  --ink-hover: #2b2a26;
  --green: #76BC21;
  --green-600: #5a9317;
  --green-400: #8ad42c;
  --green-deep: #3d6210;
  --green-ink: #2f4a0d;
  --green-ink-strong: #22300c;
  --green-tint: #b6e57a;
  --body: #3d3b36;
  --muted: #6b6860;
  --muted-dark: #8d8a83;
  --on-dark-body: #c9c7c0;
  --surface: #f7f6f2;
  --surface-hover: #f1efe8;
  --placeholder: #f2f1ec;
  --line: #e6e4dd;
  --line-soft: #ecebe6;
  --border: #ded9cc;
  --field-bg: #1c1b19;
  --field-border: #33322e;

  /* Layout */
  --container: 1240px;
  --pad-inline: 28px;

  /* Espaciado — escala 4pt (usar SIEMPRE estos escalones) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-9: 36px;
  --space-12: 48px;
  --space-14: 56px;

  /* Ritmo vertical entre secciones (una sola fuente) */
  --section-gap: 112px;
  --section-gap-sm: 72px;

  /* Sistema de botones (un solo conjunto de medidas) */
  --btn-pad-y: 14px;
  --btn-pad-x: 26px;        /* lado del texto */
  --btn-pad-x-icon: 16px;   /* lado del "dot" (más ajustado) */
  --btn-weight: 700;

  /* Sombras */
  --sh-header: 0 6px 24px rgba(17, 17, 16, .05);
  --sh-pill: 0 6px 20px rgba(17, 17, 16, .06);
  --sh-float-card: 0 14px 34px rgba(17, 17, 16, .1);
  --sh-glass: 0 24px 60px rgba(17, 17, 16, .1);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-synthesis: style weight;
  font-optical-sizing: auto;
  text-wrap: pretty;
}

img { max-width: 100%; display: block; }

a { color: var(--ink); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--green-600); }

h1, h2, h3, p { margin: 0; }

input, textarea, button { font-family: inherit; }

/* Foco visible: verde profundo (≈7:1 sobre blanco). Sobre superficies
   oscuras se usa el verde claro para mantener el contraste ≥3:1. */
:focus-visible { outline: 2px solid var(--green-deep); outline-offset: 3px; }
.contact :focus-visible,
.card--dark :focus-visible,
.marquee :focus-visible { outline-color: var(--green-400); }

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

/* overflow-x: clip (no scroll container) evita que las capas de resplandor
   a -28vw provoquen scroll horizontal; hidden queda de respaldo. */
.page { max-width: 100%; overflow-x: hidden; overflow-x: clip; }

/* Remate en cursiva (oblicua sintetizada, sin sustituir la familia) */
.italic-tail {
  font-weight: 300;
  font-style: italic;
  letter-spacing: -.02em;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 0 0 12px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; color: var(--white); }

/* ---------- Container helper ---------- */
.section {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad-inline);
}

/* ============================================================
   BOTONES  — un solo sistema de medidas y un solo primario
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: var(--btn-weight);
  font-size: 16px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, transform .25s ease, color .25s ease;
  white-space: nowrap;
}

/* "dot" circular con la flecha/glifo — tamaño único */
.btn__dot {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 13px;
  flex: 0 0 auto;
}
.btn__dot--ink { background: var(--ink); color: var(--white); }
.btn__dot--wa  { width: 28px; height: 28px; background: var(--green); color: var(--ink); }

/* PRIMARIO — verde relleno. Único tratamiento para "pedir cotización"
   en hero, sección 3D y bloque de contacto. */
.btn--primary {
  background: var(--green);
  color: var(--ink);
  padding-right: var(--btn-pad-x-icon);
}
.btn--primary:hover { background: var(--green-600); color: var(--ink); transform: translateY(-2px); }

/* SECUNDARIO — contorneado. Es el único botón no relleno del sitio. */
.btn--outline {
  border: 1px solid var(--border);
  color: var(--ink);
}
.btn--outline:hover { border-color: var(--ink); background: var(--surface); color: var(--ink); }

/* COMPACTO — mismo verde y forma que el primario, texto 14px y lado
   del texto más corto. Para el CTA del header y del menú móvil. */
.btn--pill-green {
  background: var(--green);
  color: var(--ink);
  font-size: 14px;
  padding-left: var(--space-5);
  padding-right: var(--btn-pad-x-icon);
}
.btn--pill-green:hover { background: var(--green-600); color: var(--ink); transform: translateY(-1px); }

/* WhatsApp — contorno sobre fondo oscuro */
.btn--wa {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .35);
  padding-right: var(--btn-pad-x-icon);
}
.btn--wa:hover {
  background: rgba(255, 255, 255, .08);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  backdrop-filter: blur(22px) saturate(1.6);
  border-bottom: 1px solid rgba(255, 255, 255, .6);
  box-shadow: var(--sh-header);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: rgba(255, 255, 255, .92); }
}

.site-header__row {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--pad-inline);
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.site-header__brand { display: flex; align-items: center; flex: 0 0 auto; }
.site-header__brand img { height: 22px; width: auto; }

.site-nav {
  display: flex;
  gap: var(--space-6);
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
}
.site-nav a {
  position: relative;
  padding: 4px 0;
}
/* Estado activo por scrollspy: subrayado verde bajo el enlace de la sección visible. */
.site-nav a.is-current { color: var(--green-deep); }
.site-nav a.is-current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.site-header__social { display: flex; align-items: center; gap: var(--space-1); }
.site-header__divider { width: 1px; height: 20px; background: rgba(17, 17, 16, .14); }

.social-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: var(--ink);
  transition: background .22s ease, border-color .22s ease, color .22s ease;
}
.social-btn:hover { background: var(--green); color: var(--ink); }
.social-btn--bordered { width: 38px; height: 38px; border: 1px solid var(--line); }
.social-btn--bordered:hover { background: var(--green); border-color: var(--green); }

/* Menú móvil */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--border);
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
}
.nav-toggle__bar {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  border-top: 1px solid rgba(17, 17, 16, .08);
  padding: var(--space-3) var(--pad-inline) var(--space-5);
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  padding: var(--space-4) var(--space-1);
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu__cta { margin-top: var(--space-4); }

/* ============================================================
   RESPLANDOR (glow / aurora)
   ============================================================ */
/* Los gradientes se desvanecen a transparente MUY dentro de la caja: la zona
   con color queda centrada y los bordes son transparentes, así el
   `overflow:hidden` no recorta nada visible a NINGÚN tamaño de pantalla.
   Sin "velo" blanco (causaba bandeo y lavaba el contenido encima). */
.glow {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.glow__color { position: absolute; inset: 0; filter: blur(110px); }
.glow__veil { display: none; }

.glow--hero {
  top: -320px;
  left: -32vw;
  right: -32vw;
  height: 1240px;
}
.glow--hero .glow__color {
  opacity: .7;
  background:
    radial-gradient(34% 40% at 22% 32%, rgba(118, 188, 33, .5) 0%, rgba(118, 188, 33, 0) 58%),
    radial-gradient(28% 32% at 48% 14%, rgba(182, 229, 122, .42) 0%, rgba(182, 229, 122, 0) 60%),
    radial-gradient(30% 36% at 74% 40%, rgba(90, 147, 23, .3) 0%, rgba(90, 147, 23, 0) 60%);
}

/* top: 0 — NO invade la sección 3D de arriba (evita lavar el botón). */
.glow--proceso {
  top: 0;
  left: -32vw;
  right: -32vw;
  bottom: -120px;
}
.glow--proceso .glow__color {
  opacity: .62;
  background:
    radial-gradient(34% 44% at 26% 46%, rgba(118, 188, 33, .42) 0%, rgba(118, 188, 33, 0) 58%),
    radial-gradient(28% 34% at 56% 20%, rgba(182, 229, 122, .34) 0%, rgba(182, 229, 122, 0) 60%),
    radial-gradient(30% 38% at 78% 60%, rgba(90, 147, 23, .26) 0%, rgba(90, 147, 23, 0) 58%);
}

/* ============================================================
   EYEBROW / PÍLDORAS GLASS
   ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  border: 1px solid rgba(255, 255, 255, .75);
  background: rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--sh-pill);
  border-radius: 999px;
  padding: var(--space-2) var(--space-4) var(--space-2) var(--space-3);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
}
.eyebrow img { height: 14px; width: auto; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .eyebrow { background: rgba(255, 255, 255, .92); }
}

.eyebrow--solid {
  padding: var(--space-2) var(--space-4);
  border-color: rgba(17, 17, 16, .12);
  box-shadow: none;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px var(--pad-inline) 0;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: var(--space-12);
  align-items: end;
}

.eyebrow[data-reveal] { margin-bottom: var(--space-6); }

.hero__title {
  font-size: clamp(46px, 7vw, 104px);
  line-height: .92;
  letter-spacing: -.035em;
  font-weight: 800;
  margin-bottom: 28px;
}
.hero__highlight {
  display: inline-block;
  background: var(--green);
  padding: 0 .14em;
  border-radius: 10px;
}

.hero__lede {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
  max-width: 44ch;
  margin-bottom: var(--space-9);
  color: var(--body);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }

.hero__media { position: relative; }

/* ---- Objeto flotante ---- */
.float-stage {
  position: relative;
  width: 100%;
  display: grid;
  place-items: center;
}
.float-stage--hero { aspect-ratio: 4 / 5; }
.float-stage--3d { aspect-ratio: 5 / 6; z-index: 1; }

.float-img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* Objetos flotantes SIN sombra (decisión del cliente): ni drop-shadow
   ni elipse de piso. Solo la animación de flotado. */
.float-img--hero {
  animation: bosa-float-hero 7s ease-in-out infinite;
}
.float-img--3d {
  animation: bosa-float-3d 8.5s ease-in-out infinite;
}

.float-card {
  position: absolute;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 20px;
  box-shadow: var(--sh-float-card);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .float-card { background: rgba(255, 255, 255, .95) !important; }
}
.float-card--hero {
  bottom: -22px; left: -22px;
  background: rgba(255, 255, 255, .62);
  padding: var(--space-4) var(--space-5);
  animation: bosa-float 6s ease-in-out infinite;
}
.float-card--3d {
  z-index: 2;
  bottom: -20px; right: -18px;
  background: rgba(255, 255, 255, .66);
  padding: var(--space-4) var(--space-5);
}
.float-card__big {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1;
}
.float-card__small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: .01em;
  margin-top: var(--space-1);
}
.float-card--hero .float-card__small { margin-top: 0; }

/* ---- Fila de cifras ---- */
.hero__stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-6);
  margin-top: var(--section-gap-sm);
  padding-top: var(--space-8);
  border-top: 1px solid var(--line-soft);
}
.stat__num {
  display: block;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
}
.stat__label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: .01em;
  margin-top: var(--space-1);
}

/* ============================================================
   MARQUESINA
   ============================================================ */
.marquee {
  margin-top: var(--section-gap-sm);
  background: var(--green);
  padding: var(--space-4) 0;
  overflow: hidden;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: bosa-marquee 26s linear infinite;
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: var(--space-9);
  padding-right: var(--space-9);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.marquee__sep { opacity: .45; }

/* ============================================================
   SECCIONES — ritmo vertical único (--section-gap)
   ============================================================ */
.section--servicios { padding-top: var(--section-gap); }
.section--3d { position: relative; padding-top: var(--section-gap); }
.section--proceso { position: relative; padding-top: var(--section-gap); }
.section--faq { padding-top: var(--section-gap); }
.section--contacto { margin-top: var(--section-gap); }

.section__head {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}
.section__head--proceso {
  position: relative;
  z-index: 1;
}
.section__title {
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: -.035em;
  font-weight: 800;
  max-width: 20ch;
}
.section__intro {
  font-size: 16px;
  line-height: 1.55;
  color: var(--body);
  max-width: 36ch;
}

/* ============================================================
   SERVICIOS — tarjetas + galería
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
}
.card {
  border-radius: 22px;
  padding: 28px var(--space-6) var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-height: 330px;
  transition: transform .3s ease, background .3s ease;
}
.card:hover { transform: translateY(-6px); }
.card--dark { background: var(--ink); color: var(--white); }
.card--surface { background: var(--surface); }
.card--surface:hover { background: var(--surface-hover); }
.card--green { background: var(--green); }

.card__top { display: flex; align-items: center; justify-content: space-between; }
.card__num { font-size: 13px; font-weight: 600; letter-spacing: .01em; }
.card__num--green { color: var(--green); }
.card__num--muted { color: var(--muted); }
.card__num--green-ink { color: var(--green-ink); }

.card__glyph {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 14px;
  flex: 0 0 auto;
}
.card__glyph--green { background: var(--green); color: var(--ink); }
.card__glyph--ink { background: var(--ink); color: var(--white); }

.card__title {
  font-size: 26px;
  line-height: 1.08;
  letter-spacing: -.025em;
  font-weight: 700;
}
.card__text { font-size: 16px; line-height: 1.6; color: var(--body); }
.card--dark .card__text { color: var(--on-dark-body); }
.card__text--on-green { color: var(--green-ink-strong); }

.card__meta { margin-top: auto; font-size: 13px; color: var(--muted); letter-spacing: .01em; }
.card__meta--on-dark { color: var(--muted-dark); }
.card__meta--on-green { color: var(--green-ink); }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-5);
}
.gallery__cell {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--placeholder);
}
.gallery__cell img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   IMPRESIÓN 3D
   ============================================================ */
.printing__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  gap: var(--space-14);
  align-items: center;
}
.eyebrow--solid[data-reveal] { margin-bottom: var(--space-6); }
.printing__copy .section__title { margin-bottom: var(--space-5); }
.printing__lede {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.6;
  color: var(--body);
  max-width: 46ch;
  margin-bottom: var(--space-8);
}

.feature-list { border-top: 1px solid var(--line); }
.feature {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.feature__num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--green-deep);
  flex: 0 0 var(--space-9);
}
.feature__title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: var(--space-2);
}
.feature__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  max-width: 48ch;
}
.printing__copy .btn--primary { margin-top: var(--space-8); }

.printing__media { position: relative; }

/* ============================================================
   PROCESO — pasos
   ============================================================ */
.steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--space-9) 28px;
}
.step__head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.step__num {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 700;
  flex: 0 0 auto;
}
.step__num--green { background: var(--green); color: var(--ink); }
.step__line { flex: 1; height: 1px; background: var(--line); }
.step__title {
  font-size: 21px;
  letter-spacing: -.01em;
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.step__text { font-size: 16px; line-height: 1.6; color: var(--body); }

/* ============================================================
   PREGUNTAS FRECUENTES
   ============================================================ */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: var(--space-14);
  align-items: start;
}
.faq__aside .section__title { margin-bottom: var(--space-5); }
.faq__aside .section__intro { max-width: 32ch; margin-bottom: var(--space-6); }
.faq__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: 15px;
  border-bottom: 2px solid var(--green);
  padding-bottom: var(--space-1);
}

.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__trigger {
  width: 100%;
  background: none;
  border: 0;
  padding: var(--space-5) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  text-align: left;
  cursor: pointer;
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--ink);
}
.accordion__sign {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--placeholder);
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 500;
  position: relative;
}
.accordion__sign::before,
.accordion__sign::after {
  content: "";
  position: absolute;
  background: var(--ink);
  border-radius: 2px;
}
.accordion__sign::before { width: 12px; height: 2px; }
.accordion__sign::after { width: 2px; height: 12px; transition: transform .3s ease, opacity .3s ease; }
.accordion__trigger[aria-expanded="true"] .accordion__sign::after { transform: rotate(90deg); opacity: 0; }

.accordion__panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .35s ease, opacity .2s ease;
}
.accordion__panel.is-open {
  max-height: 280px;
  opacity: 1;
  transition: max-height .4s ease, opacity .3s ease;
}
.accordion__panel p {
  padding: 0 0 var(--space-5);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  max-width: 60ch;
}

/* ============================================================
   CONTACTO
   ============================================================ */
.contact {
  width: 100%;
  background: var(--ink);
  color: var(--white);
  border-radius: 28px;
  padding: clamp(32px, 4vw, 64px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-12);
  position: relative;
  overflow: hidden;
}
.contact__title {
  font-size: clamp(32px, 3.8vw, 54px);
  line-height: 1;
  letter-spacing: -.035em;
  font-weight: 800;
  margin-bottom: var(--space-5);
}
.contact__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--on-dark-body);
  max-width: 38ch;
  margin-bottom: var(--space-8);
}
.contact__hours { color: var(--muted-dark); font-size: 15px; }

/* Acciones de contacto: dos botones (correo + WhatsApp), alineados
   arriba con la columna de texto (no centrados). */
.contact__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  justify-content: flex-start;
}
.contact__btn {
  width: 100%;
  justify-content: space-between;
  padding-left: var(--btn-pad-x);
  padding-right: var(--btn-pad-x-icon);
}
.contact__note {
  margin-top: var(--space-1);
  font-size: 13px;
  color: var(--muted-dark);
  letter-spacing: .01em;
}

/* ============================================================
   PIE
   ============================================================ */
.site-footer {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-12) var(--pad-inline) var(--space-14);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  align-items: center;
  justify-content: space-between;
}
.site-footer img { height: 20px; width: auto; }
.site-footer__nav { display: flex; gap: var(--space-6); font-size: 14px; font-weight: 500; flex-wrap: wrap; }
.site-footer__social { display: flex; align-items: center; gap: var(--space-2); }
.site-footer__copy { font-size: 13px; color: var(--muted); letter-spacing: .01em; }

/* ============================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ============================================================ */
.wa-fab {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(17, 17, 16, .22);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.wa-fab:hover {
  background: var(--green-600);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(17, 17, 16, .26);
}
.wa-fab:active { transform: translateY(0) scale(.96); }
.wa-fab svg { display: block; }
@media (max-width: 560px) {
  .wa-fab { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}

/* ============================================================
   PÁGINA LEGAL (política de privacidad)
   ============================================================ */
.legal {
  padding-top: var(--section-gap);
  padding-bottom: var(--space-14);
}
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: var(--space-6);
}
.legal__back:hover { color: var(--green-600); }
.legal__title {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 800;
  margin-bottom: var(--space-3);
}
.legal__meta { font-size: 14px; color: var(--muted); margin-bottom: var(--space-12); }
.legal__content { max-width: 72ch; }
.legal__content h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.015em;
  margin: var(--space-12) 0 var(--space-4);
}
.legal__content h2:first-child { margin-top: 0; }
.legal__content p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  margin-bottom: var(--space-4);
}
.legal__content ul { margin: 0 0 var(--space-4); padding-left: 1.2em; }
.legal__content li { font-size: 16px; line-height: 1.65; color: var(--body); margin-bottom: var(--space-2); }
.legal__content a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal__content strong { color: var(--ink); }

/* ============================================================
   REVELADO AL SCROLL
   ============================================================ */
[data-reveal].is-hidden {
  opacity: 0;
  transform: translateY(26px);
}
[data-reveal].is-revealing {
  transition: opacity .6s cubic-bezier(.2, .7, .3, 1), transform .6s cubic-bezier(.2, .7, .3, 1);
}

/* ============================================================
   ANIMACIONES CONTINUAS
   ============================================================ */
@keyframes bosa-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes bosa-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes bosa-float-hero { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(-1.1deg); } }
@keyframes bosa-float-3d { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-18px) rotate(1.2deg); } }
@keyframes bosa-shadow { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(.88); opacity: .55; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .site-nav,
  .site-header__social,
  .site-header__cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header__row { gap: var(--space-4); }
  .site-header__brand { margin-right: auto; }

  .hero__grid,
  .printing__grid,
  .faq__grid {
    grid-template-columns: 1fr;
  }
  .hero__grid { gap: var(--space-10, 40px); }
  .hero__copy { order: 1; }
  .hero__media { order: 2; max-width: 420px; }
  .printing__grid { gap: var(--space-12); }
}

@media (max-width: 700px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  :root { --pad-inline: 20px; }
  .hero { padding-top: 44px; }

  .section--servicios,
  .section--3d,
  .section--proceso,
  .section--faq,
  .legal { padding-top: var(--section-gap-sm); }
  .section--contacto { margin-top: var(--section-gap-sm); }

  /* padding interno de tarjeta = gutter de página */
  .card { padding: var(--space-6) var(--space-5) 28px; }

  .marquee__group { font-size: 18px; gap: var(--space-6); padding-right: var(--space-6); }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .site-footer { justify-content: center; text-align: center; }
}

/* ============================================================
   MOVIMIENTO REDUCIDO
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  [data-reveal].is-hidden { opacity: 1; transform: none; }
}
