/* ============================================================
   Colombia Siembra y Germina · Editorial Botanical Stylesheet
   ============================================================ */

:root {
  /* Palette */
  --green-900: #0f2a1d;
  --green-800: #163b29;
  --green-700: #1a3d2e;
  --green-600: #2d5a44;
  --green-500: #3f7558;
  --green-300: #94b5a1;
  --green-100: #d8e4dc;

  --gold:    #c9a961;
  --gold-d:  #a8893f;
  --clay:    #b8593e;
  --clay-d:  #8c3f29;

  --cream:   #faf6ee;
  --cream-2: #f0ebe0;
  --paper:   #f7f1e4;

  --ink:     #1a2820;
  --ink-2:   #2c3a30;
  --muted:   #6b7368;
  --line:    rgba(26, 40, 32, 0.12);

  /* Type */
  --f-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --f-script:  "Italiana", "Fraunces", Georgia, serif;
  --f-body:    "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 4px;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; padding: 0; margin: 0; }

/* Subtle paper grain everywhere */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: .035;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

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

/* ============ TYPOGRAPHY HELPERS ============ */
.display-h2 {
  font-family: var(--f-display);
  font-weight: 350;
  font-size: clamp(2.2rem, 5.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
  color: var(--green-900);
  font-variation-settings: "SOFT" 50, "opsz" 144;
}
.display-h2 em {
  font-style: italic;
  font-family: var(--f-display);
  color: var(--clay);
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "opsz" 144;
}
.lead {
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--ink-2);
}

.num-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-body);
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--green-700);
  font-weight: 500;
}
.num-label::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--green-700);
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
.nav.is-scrolled {
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  padding: 10px 0;
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  color: var(--cream);
  transition: color .3s;
}
.nav.is-scrolled .nav__brand { color: var(--green-900); }
.nav__logo {
  width: 52px; height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.15));
}
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav__brand-name {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: -.01em;
}
.nav__brand-name .amp {
  font-style: italic;
  color: var(--gold);
  margin: 0 4px;
  font-weight: 300;
}
.nav__brand-tag {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .75;
  margin-top: 3px;
}
.nav__links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
  margin-right: auto;
}
.nav__links a {
  position: relative;
  font-size: .92rem;
  letter-spacing: .02em;
  color: var(--cream);
  font-weight: 400;
  transition: color .3s;
}
.nav.is-scrolled .nav__links a { color: var(--ink); }
.nav__links a::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0;
  height: 1px; width: 0;
  background: currentColor;
  transition: width .35s ease;
}
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--gold);
  color: var(--green-900);
  border-radius: 999px;
  font-weight: 500;
  font-size: .92rem;
  transition: transform .25s ease, background .25s ease;
  white-space: nowrap;
}
.nav__cta:hover { background: var(--cream); transform: translateY(-1px); }
.nav__cta .dot {
  width: 8px; height: 8px;
  background: var(--clay);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: .5; }
}
.nav__burger {
  display: none;
  width: 36px; height: 36px;
  position: relative;
}
.nav__burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: currentColor;
  margin: 5px auto;
  transition: transform .3s, opacity .3s;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,42,29,.45) 0%, rgba(15,42,29,.25) 35%, rgba(15,42,29,.75) 100%),
    radial-gradient(ellipse at 20% 100%, rgba(184,89,62,.18), transparent 60%);
}
.hero__grain {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .15;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.hero__content {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 120px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .9;
  margin-bottom: 32px;
  animation: fadeUp .9s ease-out;
}
.hero__eyebrow .line {
  width: 38px; height: 1px;
  background: var(--gold);
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: .95;
  letter-spacing: -.03em;
  margin: 0 0 32px;
  font-variation-settings: "SOFT" 80, "opsz" 144;
}
.hero__title .line-1,
.hero__title .line-2,
.hero__title .line-3 {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: heroLine 1s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero__title .line-1 { animation-delay: .15s; }
.hero__title .line-2 {
  animation-delay: .35s;
  margin-left: clamp(40px, 8vw, 120px);
  color: var(--gold);
}
.hero__title .line-2 em {
  font-style: italic;
  font-weight: 200;
  font-family: var(--f-script);
}
.hero__title .line-3 { animation-delay: .55s; }
@keyframes heroLine {
  to { opacity: 1; transform: translateY(0); }
}

/* When JS word-stagger is active, disable line-level animation; words handle it */
.js .hero__title .line-1,
.js .hero__title .line-2,
.js .hero__title .line-3 {
  opacity: 1;
  transform: none;
  animation: none;
}

.hero__sub {
  max-width: 580px;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  margin: 0 0 40px;
  opacity: 0;
  animation: fadeUp .9s ease-out .8s forwards;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 80px;
  opacity: 0;
  animation: fadeUp .9s ease-out 1s forwards;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.18);
  max-width: 720px;
  opacity: 0;
  animation: fadeUp .9s ease-out 1.2s forwards;
}
.hero__meta strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.hero__meta span {
  font-size: .82rem;
  letter-spacing: .04em;
  opacity: .8;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  opacity: .7;
  z-index: 2;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .3s;
  white-space: nowrap;
}
.btn svg { transition: transform .3s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn--primary {
  background: var(--gold);
  color: var(--green-900);
}
.btn--primary:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.35);
}
.btn--ghost {
  border: 1px solid currentColor;
  color: inherit;
}
.btn--ghost:hover {
  background: rgba(255,255,255,.1);
}
.btn--sm { padding: 10px 18px; font-size: .85rem; }
.btn--block { width: 100%; justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: .92rem;
  color: var(--green-700);
  border-bottom: 1px solid var(--green-700);
  padding-bottom: 4px;
  transition: gap .25s ease, color .25s ease, border-color .25s ease;
}
.link-arrow:hover {
  gap: 14px;
  color: var(--clay);
  border-color: var(--clay);
}

/* ============ MARQUEE ============ */
.marquee {
  background: var(--green-900);
  color: var(--cream);
  padding: 26px 0;
  overflow: hidden;
  border-top: 1px solid var(--green-800);
  border-bottom: 1px solid var(--green-800);
}
.marquee__track {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  animation: scroll 38s linear infinite;
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(1.4rem, 2.6vw, 2.4rem);
  font-style: italic;
  font-variation-settings: "SOFT" 100;
}
.marquee__track span { flex-shrink: 0; }
.marquee__track .dot-sep { color: var(--gold); font-style: normal; }
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ============ MANIFEST ============ */
.manifest {
  padding: clamp(80px, 12vw, 160px) 0;
  background: var(--cream);
  position: relative;
}
.manifest__grid {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.manifest__label {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: .78rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--green-700);
  font-weight: 500;
}
.manifest__label .num {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: 2.2rem;
  color: var(--clay);
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
}
.manifest__body { max-width: 720px; }
.manifest__body p + p { margin-top: 1.2em; }
.manifest__figure {
  grid-column: 2;
  margin: 64px 0 0;
  max-width: 540px;
  margin-left: auto;
  position: relative;
}
.manifest__figure img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4/5;
  object-fit: cover;
}
.manifest__figure figcaption {
  margin-top: 14px;
  font-family: var(--f-display);
  font-style: italic;
  font-size: .95rem;
  color: var(--muted);
}
.manifest__figure::before {
  content: "";
  position: absolute;
  top: -20px; left: -20px;
  right: 40px; bottom: 40px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}

/* ============ SECTION HEAD ============ */
.section-head { margin-bottom: clamp(40px, 6vw, 80px); }
.section-head--center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-head--center .section-head__label { justify-content: center; }
.section-head__label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  font-size: .78rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--green-700);
  font-weight: 500;
}
.section-head__label .num {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.4rem;
  color: var(--clay);
  letter-spacing: 0;
  text-transform: none;
}
.section-head__sub {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin-top: 4px;
}

/* ============ SERVICES ============ */
.services {
  padding: clamp(80px, 12vw, 160px) 0;
  background: var(--paper);
}
.services__list {
  display: flex;
  flex-direction: column;
  gap: clamp(60px, 8vw, 110px);
}
.service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.service:nth-child(even) .service__media { order: 2; }
.service__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 30px 60px -20px rgba(15,42,29,.25);
}
.service__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.service:hover .service__media img { transform: scale(1.04); }
.service__num {
  display: inline-block;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1rem;
  color: var(--clay);
  margin-bottom: 18px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--clay);
}
.service__title {
  font-family: var(--f-display);
  font-weight: 350;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.05;
  margin: 0 0 20px;
  color: var(--green-900);
  letter-spacing: -.02em;
}
.service__body p {
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 24px;
  max-width: 540px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.tags li {
  padding: 6px 14px;
  border: 1px solid var(--green-300);
  border-radius: 999px;
  font-size: .82rem;
  color: var(--green-700);
  background: rgba(255,255,255,.4);
}

/* ============ CATALOG ============ */
.catalog {
  padding: clamp(80px, 12vw, 160px) 0;
  background: var(--cream);
}
.catalog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2vw, 28px);
}
.cat-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .4s ease, box-shadow .4s ease;
  display: flex;
  flex-direction: column;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 50px -25px rgba(15,42,29,.3);
}
.cat-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.cat-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(.2,.7,.2,1);
}
.cat-card:hover .cat-card__img img { transform: scale(1.06); }
.cat-card__body {
  padding: 28px 26px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cat-card__num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: .9rem;
  color: var(--clay);
  margin-bottom: 10px;
}
.cat-card__body h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--green-900);
  margin: 0 0 12px;
  letter-spacing: -.01em;
}
.cat-card__body p {
  font-size: .95rem;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}
.cat-card--cta {
  background: var(--green-900);
  color: var(--cream);
  justify-content: center;
  padding: 20px;
}
.cat-card--cta .cat-card__body {
  padding: 20px;
  justify-content: center;
}
.cat-card--cta h3 {
  color: var(--cream);
  font-size: 1.7rem;
}
.cat-card--cta p {
  color: rgba(255,255,255,.75);
  margin-bottom: 20px;
}

/* ============ STATS ============ */
.stats {
  padding: clamp(80px, 12vw, 140px) 0;
  background: var(--green-900);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  top: -50%; left: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(201,169,97,.08), transparent 60%);
  transform: rotate(-20deg);
}
.stats__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  position: relative;
}
.stats .display-h2 { color: var(--cream); }
.stats .display-h2 em { color: var(--gold); }
.stats .num-label { color: var(--gold); }
.stats .num-label::before { background: var(--gold); }

.stats__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 60px;
}
.stat strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
  font-variation-settings: "SOFT" 80;
}
.stat span {
  display: block;
  font-size: .82rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .75;
  margin-bottom: 12px;
}
.stat p {
  font-size: .95rem;
  line-height: 1.55;
  opacity: .8;
  margin: 0;
}

/* ============ PROCESS ============ */
.process {
  padding: clamp(80px, 12vw, 160px) 0;
  background: var(--cream);
}
.process__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
  counter-reset: process;
}
.process__list li {
  position: relative;
  padding: 32px 28px;
  background: var(--paper);
  border-radius: var(--radius);
  border-top: 2px solid var(--gold);
  transition: transform .3s ease;
}
.process__list li:hover { transform: translateY(-4px); }
.process__list .step {
  display: inline-block;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: 2.4rem;
  color: var(--clay);
  line-height: 1;
  margin-bottom: 20px;
}
.process__list h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.4rem;
  margin: 0 0 10px;
  color: var(--green-900);
  letter-spacing: -.01em;
}
.process__list p {
  font-size: .95rem;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}

/* ============ CTA BLOCK ============ */
.cta-block {
  padding: clamp(80px, 12vw, 140px) 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
}
.cta-block__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.cta-block__copy p {
  max-width: 460px;
  color: var(--ink-2);
}
.cta-block__info {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cta-block__info li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.cta-block__info li > span:first-child {
  font-size: .76rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.cta-block__info li a,
.cta-block__info li > span:last-child {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--green-900);
  transition: color .25s;
}
.cta-block__info li a:hover { color: var(--clay); }

.cta-block__form {
  background: var(--green-900);
  color: var(--cream);
  padding: clamp(32px, 4vw, 48px);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.cta-block__form::before {
  content: "";
  position: absolute;
  top: -40%; right: -20%;
  width: 60%; height: 80%;
  background: radial-gradient(circle, rgba(201,169,97,.15), transparent 70%);
  pointer-events: none;
}
.cta-block__form h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.8rem;
  margin: 0 0 28px;
  color: var(--cream);
  letter-spacing: -.01em;
  position: relative;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: .75;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px;
  color: var(--cream);
  font: inherit;
  transition: border-color .25s, background .25s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,.1);
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,.4); }
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-note {
  font-size: .82rem;
  opacity: .65;
  margin: 14px 0 0;
  text-align: center;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--green-900);
  color: var(--cream);
  padding-top: clamp(60px, 8vw, 100px);
  position: relative;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.footer__logo {
  width: 64px; height: 64px;
  flex-shrink: 0;
}
.footer__name {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.15rem;
  margin: 0 0 4px;
  line-height: 1.2;
}
.footer__tag {
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  opacity: .65;
  margin: 0;
}
.footer__col h4 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.footer__col ul li {
  margin-bottom: 10px;
  font-size: .92rem;
  opacity: .85;
}
.footer__col a:hover { color: var(--gold); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px var(--gutter);
  font-size: .82rem;
  opacity: .7;
}
.footer__seal { font-family: var(--f-display); font-style: italic; }

/* ============ FAB WhatsApp ============ */
.fab-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(37,211,102,.55), 0 6px 14px -4px rgba(0,0,0,.25);
  z-index: 90;
  transition: transform .25s ease;
  animation: fabIn .8s ease-out 1.4s backwards;
}
.fab-wa:hover { transform: scale(1.08) rotate(-4deg); }
@keyframes fabIn {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

/* ============ REVEAL ANIMATIONS ============ */
/* Only hide elements if JS is available to reveal them */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .catalog__grid { grid-template-columns: repeat(2, 1fr); }
  .process__list { grid-template-columns: repeat(2, 1fr); }
  .stats__items { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .nav__inner { gap: 1rem; }
  .nav__links { display: none; }
  .nav__burger { display: block; margin-left: auto; }
  .nav__cta { padding: 8px 14px; font-size: .85rem; }
  .nav__brand-tag { display: none; }
  .nav__logo { width: 44px; height: 44px; }

  .manifest__grid { grid-template-columns: 1fr; }
  .manifest__figure { grid-column: 1; margin-top: 40px; margin-left: 0; }
  .manifest__label { position: relative; top: 0; flex-direction: row; align-items: center; gap: 16px; }

  .service { grid-template-columns: 1fr; }
  .service:nth-child(even) .service__media { order: 0; }
  .service__media { aspect-ratio: 4/3; }

  .stats__grid { grid-template-columns: 1fr; }
  .cta-block__grid { grid-template-columns: 1fr; }
  .cta-block__info li { grid-template-columns: 1fr; gap: 4px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }

  .hero__title .line-2 { margin-left: 8vw; }
  .hero__meta { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .catalog__grid { grid-template-columns: 1fr; }
  .process__list { grid-template-columns: 1fr; }
  .stats__items { grid-template-columns: 1fr; gap: 28px; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }

  /* Nav: hide phone CTA to free room for burger; phone available in mobile menu */
  .nav__cta { display: none; }
  .nav { padding: 12px 0; }
  .nav__inner { gap: .75rem; }
  .nav__brand-name { font-size: 1rem; }
  .nav__logo { width: 40px; height: 40px; }

  /* Hero spacing — extra room at bottom so FAB doesn't cover content */
  .hero { padding: 100px 0 140px; }
  .hero__title { font-size: clamp(2.5rem, 12vw, 3.5rem); margin-bottom: 24px; }
  .hero__eyebrow { font-size: .72rem; letter-spacing: .12em; }
  .hero__eyebrow span:last-child { white-space: nowrap; }
  .hero__sub { font-size: 1rem; max-width: 100%; margin-bottom: 28px; }
  .hero__cta { gap: 12px; }
  .hero__cta .btn { width: 100%; justify-content: center; padding: 16px 24px; }
  .hero__meta { margin-top: 40px; padding-top: 24px; gap: 16px; }

  /* WhatsApp FAB — smaller and inset away from CTAs */
  .fab-wa {
    width: 52px !important; height: 52px !important;
    bottom: 18px !important; right: 18px !important;
  }
  .fab-wa svg { width: 24px !important; height: 24px !important; }

  /* Scroll indicator (Bajar) — hide on small phones, redundant */
  .hero__scroll { display: none; }

  /* Section padding — tighter on small screens */
  .manifest, .services, .catalog, .stats, .process, .cta-block {
    padding-top: clamp(60px, 14vw, 90px);
    padding-bottom: clamp(60px, 14vw, 90px);
  }

  /* Section heads — left aligned, smaller */
  .section-head { text-align: left; }
  .display-h2 { font-size: clamp(1.9rem, 8vw, 2.6rem) !important; line-height: 1.05; }

  /* Catalog cards full-width with comfortable padding */
  .cat-card { padding: 0; }

  /* Process cards — readable spacing */
  .process__list > li { padding: 24px 18px; }

  /* CTA form */
  .cta-block__form { padding: 24px 18px; }
  .cta-block__form .row-2 { grid-template-columns: 1fr; }

  /* Marquee — smaller font in small screens */
  .marquee__track { font-size: clamp(1.2rem, 5.5vw, 1.8rem); gap: 24px; }

  /* Stats — bigger numbers stay impressive */
  .stat strong { font-size: clamp(2.4rem, 10vw, 3rem); }

  /* Footer */
  .footer__brand .nav__logo { width: 48px; height: 48px; }
}

/* Very small phones (320px / iPhone SE) */
@media (max-width: 360px) {
  .nav__brand-name { font-size: .9rem; }
  .nav__logo { width: 36px; height: 36px; }
  .hero__title { font-size: clamp(2.2rem, 12vw, 3rem); }
  .hero__eyebrow { font-size: .65rem; letter-spacing: .08em; }
  .hero__eyebrow span:last-child { font-size: .65rem; }
  .marquee__track { font-size: 1.1rem; }
  .display-h2 { font-size: clamp(1.65rem, 8vw, 2.2rem) !important; }
}

/* ============ ANIMATION ENHANCEMENTS ============ */

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--clay) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 200;
  pointer-events: none;
  transition: transform .12s linear;
}

/* Page-load fade */
.preload body { opacity: 0; }
body { opacity: 1; transition: opacity .8s ease-out; }
.preload .hero__title .word { opacity: 0; }

/* Word stagger (hero + display titles) */
.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: 1.05;
  padding-bottom: 0.05em; /* prevent descender clipping */
}
.word__inner {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%) rotate(2deg);
  transition: opacity .9s cubic-bezier(.22,.7,.18,1), transform 1.05s cubic-bezier(.22,.7,.18,1);
  will-change: transform, opacity;
}
.word.word-in .word__inner {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

/* Image mask reveal */
.mask-reveal {
  position: relative;
  overflow: hidden;
}
.mask-reveal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cream);
  transform-origin: bottom center;
  transition: transform 1.1s cubic-bezier(.7,0,.18,1);
  z-index: 5;
  pointer-events: none;
}
.mask-reveal.mask-in::after {
  transform: scaleY(0);
}
/* Slight inner image animation when revealed */
.mask-reveal img {
  transform: scale(1.12);
  transition: transform 1.4s cubic-bezier(.22,.7,.18,1);
}
.mask-reveal.mask-in img {
  transform: scale(1.0);
}
/* Cat card already has hover scale rule; ensure it still works on top */
.cat-card:hover .cat-card__img.mask-reveal.mask-in img { transform: scale(1.06); }
.service:hover .service__media.mask-reveal.mask-in img { transform: scale(1.05); }

/* Magnetic buttons — smooth transform back to origin */
.magnetic {
  transition: transform .4s cubic-bezier(.22,.7,.18,1), background .25s, color .25s, border-color .25s;
  will-change: transform;
}
.magnetic:hover {
  transition: transform .12s cubic-bezier(.22,.7,.18,1), background .25s, color .25s, border-color .25s;
}

/* Marquee hover-slow */
.marquee.is-slow .marquee__track {
  animation-duration: 78s;
}
.marquee__track {
  transition: animation-duration .6s linear;
}

/* Hero image — base state ready for parallax (smooth transform) */
.hero__media img {
  will-change: transform;
  transition: transform .05s linear;
}

/* Subtle floating badge on numbered labels */
.section-head__num .num,
.stats__intro .num-label {
  display: inline-block;
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Service tag pills lift on hover */
.service-tags .pill,
.cta-block__form .pill,
.hero__cta .pill {
  transition: transform .25s cubic-bezier(.22,.7,.18,1), border-color .25s, background .25s;
}
.service-tags .pill:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

/* Catalog card subtle lift on hover */
.cat-card {
  transition: transform .35s cubic-bezier(.22,.7,.18,1), box-shadow .35s;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px -22px rgba(15,42,29,.25);
}

/* Process step cards subtle lift */
.process__list > li {
  transition: transform .35s cubic-bezier(.22,.7,.18,1), border-color .35s;
}
.process__list > li:hover {
  transform: translateY(-3px);
  border-top-color: var(--clay);
}

/* Stats numbers — keep typography stable while counter animates */
.stat strong,
.hero__meta strong {
  font-variant-numeric: tabular-nums;
}

/* Hero scroll arrow gentle bounce */
.hero__scroll {
  animation: heroScroll 2.4s ease-in-out infinite;
}
@keyframes heroScroll {
  0%, 100% { transform: translateY(0); opacity: .85; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* WhatsApp FAB — already pulses; add ripple on hover */
.fab-wa {
  transition: transform .45s cubic-bezier(.22,.7,.18,1), box-shadow .35s, opacity .35s;
}
.fab-wa:hover {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 14px 40px -8px rgba(37, 211, 102, .55);
}

/* Tucked away (used on mobile during hero) */
.fab-wa.is-tucked {
  transform: translate3d(0, 120%, 0) scale(.85);
  opacity: 0;
  pointer-events: none;
}

/* Reduce motion: silence everything decorative */
@media (prefers-reduced-motion: reduce) {
  .word__inner { opacity: 1; transform: none; transition: none; }
  .mask-reveal::after { display: none; }
  .mask-reveal img { transform: none; }
  .scroll-progress { display: none; }
  .hero__scroll, .section-head__num .num, .stats__intro .num-label { animation: none; }
  .hero__media img { transform: none !important; }
  .magnetic { transform: none !important; }
}

/* ============ IMPACTO EN VIVO ============ */
.impact {
  background: linear-gradient(180deg, var(--green-900) 0%, var(--green-800) 100%);
  color: var(--cream);
  padding: clamp(80px, 12vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.impact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(201, 169, 97, 0.08), transparent 50%);
  pointer-events: none;
}
.impact__head {
  max-width: 800px;
  margin-bottom: clamp(50px, 7vw, 80px);
  position: relative;
}
.impact__head .num-label { color: var(--gold); }
.impact__head .display-h2 { color: var(--cream); }
.impact__head .display-h2 em { color: var(--gold-warm); }

.impact__counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 48px);
  position: relative;
}
.impact__counter {
  padding-top: 24px;
  border-top: 1px solid rgba(201, 169, 97, 0.3);
  position: relative;
}
.impact__counter::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.impact__num {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1;
  color: var(--gold-warm);
  letter-spacing: -.02em;
  font-variation-settings: "SOFT" 60, "opsz" 144;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}
.impact__label strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--cream);
  margin-bottom: 4px;
  letter-spacing: -.01em;
}
.impact__label span {
  display: block;
  font-size: .85rem;
  color: rgba(250, 246, 238, 0.65);
  line-height: 1.5;
}
.impact__footnote {
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 24px;
  border-top: 1px solid rgba(201, 169, 97, 0.15);
  font-size: .82rem;
  color: rgba(250, 246, 238, 0.6);
  font-style: italic;
  max-width: 720px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.impact__pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25D366;
  position: relative;
  flex-shrink: 0;
}
.impact__pulse::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #25D366;
  opacity: .35;
  animation: pulseRing 2s ease-out infinite;
}
@keyframes pulseRing {
  0%   { transform: scale(1); opacity: .4; }
  100% { transform: scale(2.4); opacity: 0; }
}

.impact__digits {
  display: inline-block;
  transition: transform .35s cubic-bezier(.22, .7, .18, 1), color .35s;
}
.impact__digits.is-bumped {
  transform: translateY(-3px);
  color: var(--gold);
}

/* ============ CALCULADORA ============ */
.calc {
  background: var(--cream);
  padding: clamp(80px, 12vw, 140px) 0;
  position: relative;
}
.calc__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.calc__intro .display-h2 em { color: var(--clay); }
.calc__lead {
  margin-top: 28px;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 480px;
}
.calc__legend {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: .88rem;
  color: var(--ink-soft);
}
.calc__legend li {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.4;
}
.calc__legend .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.calc__legend .dot--gold { background: var(--gold); }
.calc__legend .dot--clay { background: var(--clay); }
.calc__legend .dot--emerald { background: var(--green-700); }

.calc__form {
  background: var(--paper);
  border: 1px solid rgba(26, 40, 32, .08);
  border-radius: 4px;
  padding: clamp(28px, 4vw, 44px);
  position: relative;
  box-shadow: 0 24px 60px -30px rgba(15, 42, 29, 0.18);
}
.calc__form::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 60px; height: 3px;
  background: var(--gold);
}
.calc__field {
  margin-bottom: 22px;
}
.calc__field label {
  display: block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--green-800);
  font-weight: 600;
  margin-bottom: 8px;
}
.calc__hint {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-style: italic;
  color: var(--ink-soft);
  font-size: .8rem;
  margin-left: 6px;
}
.calc__field input[type="number"],
.calc__field select {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(26, 40, 32, .15);
  border-radius: 3px;
  transition: border-color .25s, box-shadow .25s;
}
.calc__field input[type="number"]:focus,
.calc__field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, .2);
}
.calc__input-wrap {
  position: relative;
}
.calc__input-wrap input[type="number"] { padding-right: 50px; }
.calc__suffix {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-display);
  font-style: italic;
  color: var(--gold);
  pointer-events: none;
  font-size: 1rem;
}
.calc__range {
  width: 100%;
  margin-top: 10px;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: rgba(26, 61, 46, 0.15);
  border-radius: 2px;
  outline: none;
}
.calc__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: var(--gold);
  border: 2px solid var(--cream);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 42, 29, .25);
  transition: transform .2s;
}
.calc__range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
.calc__range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: var(--gold);
  border: 2px solid var(--cream);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 42, 29, .25);
}

.calc__results {
  margin: 28px 0 24px;
  padding: 24px;
  background: var(--green-900);
  color: var(--cream);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}
.calc__results::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.12), transparent 70%);
  pointer-events: none;
}
.calc__result {
  position: relative;
}
.calc__result--primary {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}
.calc__result-label {
  display: block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}
.calc__result-value {
  display: block;
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3rem);
  line-height: 1;
  color: var(--gold-warm);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.calc__result-value--sm {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
}
.calc__result-aux {
  display: block;
  margin-top: 6px;
  font-size: .78rem;
  color: rgba(250, 246, 238, 0.55);
  font-style: italic;
}
.calc__result-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.calc__cta {
  width: 100%;
  justify-content: center;
}
.calc__disclaimer {
  margin-top: 14px;
  font-size: .75rem;
  color: var(--ink-soft);
  line-height: 1.5;
  font-style: italic;
}

/* ============ LEAD MAGNET PDF ============ */
.lead-magnet {
  background: var(--paper);
  padding: clamp(80px, 12vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.lead-magnet__grid {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.lead-magnet__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 460px;
}
.lead-magnet__book {
  width: clamp(220px, 30vw, 320px);
  aspect-ratio: 1 / 1.414;
  position: relative;
  transform: rotate(-6deg);
  transition: transform .6s cubic-bezier(.22, .7, .18, 1);
  filter: drop-shadow(0 30px 50px rgba(15, 42, 29, .35));
}
.lead-magnet:hover .lead-magnet__book {
  transform: rotate(-2deg) translateY(-8px);
}
.lead-magnet__cover {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 100%);
  color: var(--cream);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}
.lead-magnet__cover::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 70%;
  height: 60%;
  background:
    radial-gradient(ellipse at 30% 80%, rgba(201, 169, 97, 0.25), transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(45, 95, 70, 0.6), transparent 60%);
  pointer-events: none;
}
.lead-magnet__cover::after {
  content: '';
  position: absolute;
  top: 0; left: 4px;
  bottom: 0; width: 2px;
  background: rgba(0, 0, 0, 0.25);
}
.lead-magnet__cover-eyebrow {
  font-size: .58rem;
  letter-spacing: .25em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
}
.lead-magnet__cover-eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  margin-top: 8px;
}
.lead-magnet__cover-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.05;
  color: var(--cream);
  font-variation-settings: "SOFT" 60;
  letter-spacing: -.02em;
  margin-top: auto;
  position: relative;
}
.lead-magnet__cover-title em {
  color: var(--gold-warm);
  font-family: var(--f-script);
  font-weight: 200;
}
.lead-magnet__cover-brand {
  margin-top: 18px;
  font-family: var(--f-display);
  font-style: italic;
  font-size: .85rem;
  color: var(--gold);
  line-height: 1.3;
  position: relative;
}
.lead-magnet__copy .display-h2 em { color: var(--clay); }
.lead-magnet__copy p {
  margin-top: 24px;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 1.02rem;
}
.lead-magnet__bullets {
  list-style: none;
  padding: 0;
  margin: 28px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lead-magnet__bullets li {
  padding-left: 24px;
  position: relative;
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.5;
}
.lead-magnet__bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 1px;
  background: var(--gold);
}
.lead-magnet__cta {
  margin-top: 8px;
}
.lead-magnet__note {
  margin-top: 14px;
  font-size: .8rem;
  font-style: italic;
  color: var(--ink-soft);
}

/* Responsive — impact / calc / lead-magnet */
@media (max-width: 1100px) {
  .impact__counters { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}
@media (max-width: 880px) {
  .calc__grid { grid-template-columns: 1fr; }
  .lead-magnet__grid { grid-template-columns: 1fr; }
  .lead-magnet__visual { min-height: 380px; }
}
@media (max-width: 560px) {
  .impact__counters { grid-template-columns: 1fr; gap: 32px; }
  .calc__result-row { grid-template-columns: 1fr; gap: 18px; }
  .lead-magnet__visual { min-height: 320px; }
}

/* ============ PÁGINAS DE SERVICIO ============ */

/* Nav variant: ya tiene fondo desde el inicio (no transparente) */
.nav--internal {
  background: rgba(250, 246, 238, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 40, 32, 0.08);
}
.nav--internal .nav__brand { color: var(--green-900); }
.nav--internal .nav__links a { color: var(--ink); }
.nav--internal .nav__burger { color: var(--green-900); }
.nav--internal .nav__cta { color: var(--ink); border-color: rgba(26, 40, 32, 0.18); }

/* Breadcrumb */
.breadcrumb {
  background: var(--paper);
  padding: 14px 0;
  margin-top: 76px; /* leave room for fixed nav */
  border-bottom: 1px solid rgba(26, 40, 32, 0.06);
  font-size: .85rem;
  color: var(--ink-soft);
}
.breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--ink-soft);
  transition: color .25s;
  border-bottom: 1px solid transparent;
}
.breadcrumb a:hover { color: var(--clay); border-bottom-color: var(--clay); }
.breadcrumb__sep { color: var(--gold); }
.breadcrumb__current {
  color: var(--green-900);
  font-weight: 500;
}

/* Hero variant for inner pages — shorter, more compact */
.hero--inner {
  min-height: 70vh;
  min-height: 70svh;
  padding-top: 30px;
  padding-bottom: 40px;
}
.hero--inner .hero__title {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
}
.hero--inner .hero__scroll { display: none; }

/* Page-service body — adjust nav offset */
.page-service .nav {
  position: fixed;
}

/* SVC INTRO */
.svc-intro {
  background: var(--cream);
  padding: clamp(70px, 10vw, 120px) 0;
}
.svc-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.svc-intro__copy .display-h2 em { color: var(--clay); }
.svc-intro__lead {
  margin-top: 24px;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.svc-intro__bullets {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.svc-intro__bullets li {
  padding-left: 20px;
  position: relative;
  color: var(--ink-soft);
  font-size: .98rem;
  line-height: 1.55;
}
.svc-intro__bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 10px; height: 1px;
  background: var(--gold);
}
.svc-intro__bullets strong {
  color: var(--green-900);
  font-weight: 600;
}
.svc-intro__figure {
  margin: 0;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 30px 60px -30px rgba(15,42,29,.35);
}
.svc-intro__figure img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.svc-intro__figure figcaption {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  color: var(--cream);
  font-style: italic;
  font-family: var(--f-display);
  font-size: .9rem;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}

/* SVC LINES (líneas de producto / tipos) */
.svc-lines {
  background: var(--paper);
  padding: clamp(80px, 12vw, 140px) 0;
}
.svc-lines__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.svc-line {
  background: var(--cream);
  border: 1px solid rgba(26, 40, 32, 0.08);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.22,.7,.18,1), box-shadow .35s;
}
.svc-line:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px -22px rgba(15,42,29,.25);
}
.svc-line__img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.svc-line__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.22,.7,.18,1);
}
.svc-line:hover .svc-line__img img { transform: scale(1.05); }
.svc-line__body {
  padding: 24px 22px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.svc-line__num {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--clay);
  font-size: .9rem;
  margin-bottom: 6px;
}
.svc-line__body h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--green-900);
  margin: 0 0 10px;
  letter-spacing: -.01em;
}
.svc-line__body p {
  font-size: .92rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 12px;
}
.svc-line__alt {
  margin-top: auto !important;
  padding-top: 12px;
  font-size: .82rem !important;
  color: var(--ink-soft);
  border-top: 1px solid rgba(26,40,32,0.06);
}
.svc-line__alt strong { color: var(--green-900); }

/* CTA variant of svc-line */
.svc-line--cta {
  background: var(--green-900);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 0;
}
.svc-line--cta:hover { transform: translateY(-4px); }
.svc-line--cta .svc-line__body { padding: 32px 28px; }
.svc-line--cta h3 {
  color: var(--cream);
  font-size: 1.4rem;
}
.svc-line--cta p {
  color: rgba(250,246,238,0.8);
  margin-bottom: 20px;
}
.svc-line--cta .btn {
  align-self: flex-start;
}

/* SVC TYPES (modalidades, tipos de proyecto) */
.svc-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 44px);
}
.svc-lines--vertical .svc-types,
.svc-lines--compensacion .svc-types { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.svc-type {
  padding: 32px 28px;
  background: var(--cream);
  border-top: 2px solid var(--gold);
  position: relative;
  transition: transform .35s cubic-bezier(.22,.7,.18,1), border-top-color .35s;
}
.svc-type:hover {
  transform: translateY(-3px);
  border-top-color: var(--clay);
}
.svc-type__num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 2rem;
  color: var(--clay);
  line-height: 1;
  display: block;
  margin-bottom: 18px;
  font-weight: 300;
}
.svc-type h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.45rem;
  color: var(--green-900);
  margin: 0 0 14px;
  letter-spacing: -.01em;
  line-height: 1.2;
}
.svc-type p {
  font-size: .95rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.svc-type__tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.svc-type__tags li {
  font-size: .78rem;
  padding: 5px 11px;
  background: var(--paper);
  border: 1px solid rgba(26,40,32,0.1);
  border-radius: 16px;
  color: var(--ink-soft);
}

/* SVC COMMIT — compromisos / paleta */
.svc-commit {
  background: var(--cream);
  padding: clamp(80px, 12vw, 140px) 0;
}
.svc-commit__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.svc-commit__item {
  padding: 24px 0;
  border-top: 1px solid rgba(26,40,32,0.12);
  position: relative;
}
.svc-commit__item::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.svc-commit__num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--clay);
  display: block;
  margin-bottom: 12px;
  font-weight: 300;
}
.svc-commit__item h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--green-900);
  margin: 0 0 8px;
  letter-spacing: -.01em;
}
.svc-commit__item p {
  font-size: .9rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* SVC CALC REF — referencia a la calculadora del home */
.svc-calc-ref {
  background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
  padding: clamp(80px, 12vw, 140px) 0;
}
.svc-calc-ref__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.svc-calc-ref__inner .display-h2 em { color: var(--clay); }
.svc-calc-ref__inner p {
  margin: 24px 0 32px;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.svc-calc-ref__visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 36px 32px;
  background: var(--green-900);
  color: var(--cream);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}
.svc-calc-ref__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(201,169,97,0.12), transparent 60%);
  pointer-events: none;
}
.svc-calc-ref__stat {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(201,169,97,0.2);
  position: relative;
}
.svc-calc-ref__stat:last-child { border-bottom: 0; padding-bottom: 0; }
.svc-calc-ref__stat strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--gold-warm);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.svc-calc-ref__stat span {
  display: block;
  font-size: .9rem;
  color: rgba(250,246,238,0.7);
}

/* Responsive — service pages */
@media (max-width: 1100px) {
  .svc-lines__grid { grid-template-columns: repeat(2, 1fr); }
  .svc-types { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .svc-intro__grid { grid-template-columns: 1fr; gap: 40px; }
  .svc-intro__figure { aspect-ratio: 4/3; max-width: 100%; }
  .svc-calc-ref__inner { grid-template-columns: 1fr; }
  .breadcrumb { margin-top: 70px; }
}
@media (max-width: 560px) {
  .svc-lines__grid { grid-template-columns: 1fr; }
  .svc-types { grid-template-columns: 1fr; }
  .svc-commit__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero--inner { min-height: 60vh; }
  .breadcrumb { font-size: .78rem; padding: 12px 0; }
}

/* ============ MOBILE NAV ENHANCEMENTS ============ */

/* Burger: animate to X when menu is open */
.nav__burger {
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--cream);
  padding: 6px;
  transition: color .3s;
  z-index: 100;
  position: relative;
}
.nav.is-scrolled .nav__burger { color: var(--green-900); }
.nav__burger.is-open { color: var(--cream) !important; }
.nav__burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: currentColor;
  margin: 5px auto;
  transition: transform .35s cubic-bezier(.22,.7,.18,1), opacity .25s;
  transform-origin: center;
}
.nav__burger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__burger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__burger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu link hover/active (touch-friendly) */
.nav__links.is-open a {
  position: relative;
  transition: padding-left .25s, color .25s;
}
.nav__links.is-open a:active {
  color: var(--gold) !important;
}

/* Hide nav extras (phone + email) on desktop — only visible in mobile overlay */
.nav__extra { display: none; }
.nav__links.is-open .nav__extra { display: flex; }

/* Mobile menu extra info row (phone + email) */
.nav__extra-link:active {
  color: var(--gold) !important;
}

/* Disable hover effects on touch devices (prevents stuck hover state) */
@media (hover: none) {
  .cat-card:hover {
    transform: none;
    box-shadow: 0 12px 32px -16px rgba(15,42,29,.18);
  }
  .cat-card:hover .cat-card__img.mask-in img,
  .cat-card:hover .cat-card__img img { transform: scale(1); }
  .service:hover .service__media.mask-in img,
  .service:hover .service__media img { transform: scale(1); }
  .process__list > li:hover { transform: none; border-top-color: inherit; }
  .service-tags .pill:hover { transform: none; border-color: inherit; }
  .magnetic:hover { transform: none !important; }

  /* Add tap feedback instead */
  .cat-card:active { transform: scale(.985); }
  .btn:active { transform: scale(.97); }
  .pill:active { background: rgba(26, 61, 46, .08); }
}

/* iOS safe-area handling */
@supports (padding: max(0px)) {
  .fab-wa {
    bottom: max(24px, env(safe-area-inset-bottom)) !important;
  }
  @media (max-width: 560px) {
    .fab-wa {
      bottom: max(18px, env(safe-area-inset-bottom)) !important;
    }
  }
}

/* Touch target size — ensure all interactive elements ≥ 44px */
@media (max-width: 560px) {
  .btn { min-height: 48px; }
  .pill { min-height: 36px; padding: 8px 14px; display: inline-flex; align-items: center; }
  .footer a, .nav__links a { padding: 8px 0; display: inline-block; }
  input, select, textarea { min-height: 44px; font-size: 16px !important; } /* 16px prevents iOS zoom on focus */
  textarea { min-height: 96px; }
}
