/* ============================================================
   FAMEC — Styles
   Federación Agroenergética Mixta de Colombia
   Paleta: azul navy + naranja + verde higuerilla + dorado ricino
   Fuentes: Outfit (headings) + Inter (body)
   ============================================================ */

/* ── RESET / BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0F2A5C;   /* Azul FAMEC principal */
  --navy-dark:   #091a3a;
  --navy-light:  #e8edf7;
  --orange:      #F39200;   /* Naranja FAMEC — CTAs y acentos */
  --orange-dark: #c97800;
  --orange-light:#fff3dc;
  --green:       #2E7D3E;   /* Verde higuerilla */
  --green-dark:  #1e5429;
  --green-light: #e6f4ea;
  --gold:        #D4A017;   /* Dorado ricino — premium */
  --gold-dark:   #a87c0f;
  --cream:       #F8F6F0;   /* Crema institucional */
  --gray:        #4A5568;   /* Gris texto secundario */
  --ink:         #1A1A1A;   /* Negro institucional */
  --line:        #dde2ee;
  --shadow:      0 2px 18px rgba(0,0,0,.11);
  --shadow-lg:   0 6px 36px rgba(0,0,0,.16);
  --head: "Outfit", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --radius: 10px;
  --wrap: 1200px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
}

img { display: block; max-width: 100%; height: auto; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.2rem, 4vw, 2.5rem);
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-family: var(--head);
  line-height: 1.18;
  font-weight: 700;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--head);
  font-size: .92rem;
  font-weight: 600;
  padding: .72rem 1.7rem;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.btn-navy    { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-dark); }
.btn-orange  { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-orange:hover { background: var(--orange-dark); }
.btn-green   { background: var(--green); color: #fff; border-color: var(--green); }
.btn-green:hover { background: var(--green-dark); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.12); }

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 3px solid var(--orange);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.topbar {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding-block: .9rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex-shrink: 0;
}
.logo-mark {
  width: 52px; height: 52px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { fill: #fff; width: 32px; height: 32px; }
.logo-name {
  font-family: var(--head);
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.01em;
  line-height: 1.1;
}
.logo-name span {
  display: block;
  font-size: .64rem;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.nav {
  display: flex;
  gap: .2rem;
  margin-left: auto;
}
.nav a {
  font-family: var(--head);
  font-size: .88rem;
  font-weight: 500;
  padding: .48rem .82rem;
  border-radius: 100px;
  transition: background .15s, color .15s;
  color: var(--gray);
}
.nav a:hover { background: var(--navy-light); color: var(--navy); }
.nav li.active a { background: var(--navy-light); color: var(--navy); font-weight: 700; }
.head-actions {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-shrink: 0;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .25s;
}

/* ── HERO ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
}
.hero-illustration {
  position: relative;
  overflow: hidden;
  background: var(--green-dark);
  min-height: 400px;
}
.hero-illustration img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .75;
}
.hero-illustration svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero-text {
  background: var(--navy);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 5vw, 4.5rem);
  position: relative;
  overflow: hidden;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.1rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--orange);
}
.hero-text h1 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.2rem;
}
.hero-text h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero-text p {
  font-size: clamp(.97rem, 1.5vw, 1.08rem);
  color: rgba(255,255,255,.85);
  max-width: 440px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-badges {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
}
.hero-badge {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 100px;
  padding: .38rem 1rem;
  font-family: var(--head);
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}

/* ── SECTION BASE ── */
.section { padding: 5rem 0; }
.section-cream { background: var(--cream); }
.section-orange-light { background: var(--orange-light); }
.section-green-light  { background: var(--green-light); }
.section-navy {
  background: var(--navy);
  color: #fff;
}
.section-green {
  background: var(--green-dark);
  color: #fff;
}

.sec-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--head);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .6rem;
}
.sec-label::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green);
}
.sec-label-orange { color: var(--orange); }
.sec-label-orange::before { background: var(--orange); }
.sec-title {
  font-family: var(--head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .4rem;
}
.section-navy .sec-title,
.section-green .sec-title { color: #fff; }
.section-navy .sec-label,
.section-green .sec-label { color: var(--orange); }
.section-navy .sec-label::before,
.section-green .sec-label::before { background: var(--orange); }

/* ── ABOUT SPLIT ── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text p {
  color: var(--gray);
  margin-bottom: 1.5rem;
  font-size: 1.02rem;
  line-height: 1.75;
}
.about-datos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  margin-top: 1.6rem;
}
.about-dato {
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: .9rem 1rem;
}
.about-dato strong {
  display: block;
  font-family: var(--head);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--navy);
  margin-bottom: .25rem;
}
.about-dato span {
  font-size: .94rem;
  color: var(--ink);
  font-weight: 600;
}

/* ── CADENA DE VALOR ── */
.cadena-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 3rem;
  position: relative;
}
.cadena-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--orange), var(--green));
  z-index: 0;
}
.cadena-step {
  text-align: center;
  padding: 0 .5rem;
  position: relative;
  z-index: 1;
}
.cadena-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--head);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--orange);
}
.cadena-step h4 {
  font-family: var(--head);
  font-size: .92rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .4rem;
}
.cadena-step p {
  font-size: .8rem;
  color: var(--gray);
  line-height: 1.45;
}
.section-navy .cadena-step h4 { color: #fff; }
.section-navy .cadena-num { border-color: var(--navy); box-shadow: 0 0 0 3px var(--orange); background: var(--orange); color: var(--navy); }
.section-navy .cadena-step p { color: rgba(255,255,255,.7); }

/* ── PRODUCTOS ── */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  margin-top: 2.5rem;
}
.producto-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.producto-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.producto-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--navy-light);
  position: relative;
}
.producto-img img { width: 100%; height: 100%; object-fit: cover; }
.producto-badge {
  position: absolute;
  top: .8rem;
  left: .8rem;
  background: var(--orange);
  color: #fff;
  font-family: var(--head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: 100px;
}
.producto-body { padding: 1.6rem 1.5rem; }
.producto-body h3 {
  font-family: var(--head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .5rem;
}
.producto-body p { color: var(--gray); font-size: .94rem; line-height: 1.65; margin-bottom: 1rem; }
.producto-stats {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  padding-top: .8rem;
  border-top: 1px solid var(--line);
}
.prod-stat {
  background: var(--green-light);
  border-radius: 6px;
  padding: .3rem .8rem;
  font-family: var(--head);
  font-size: .78rem;
  font-weight: 700;
  color: var(--green-dark);
}

/* ── PILARES ── */
.pilares-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 2.5rem;
}
.pilar-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-top: 3px solid var(--orange);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  text-align: center;
  transition: background .2s;
}
.pilar-card:hover { background: rgba(255,255,255,.13); }
.pilar-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(243,146,0,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .9rem;
}
.pilar-icon svg { fill: var(--orange); width: 28px; height: 28px; }
.pilar-card h3 {
  font-family: var(--head);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .4rem;
}
.pilar-card p {
  font-size: .84rem;
  color: rgba(255,255,255,.72);
  line-height: 1.55;
}

/* ── GALERÍA ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.gal-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gal-item:hover img { transform: scale(1.06); }
.gal-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  background: linear-gradient(to top, rgba(15,42,92,.7) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .25s;
}
.gal-item:hover .gal-overlay { opacity: 1; }
.gal-overlay span {
  font-family: var(--head);
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ── CTA ── */
.cta-band {
  background: linear-gradient(130deg, var(--navy) 0%, var(--green-dark) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 {
  font-family: var(--head);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: .8rem;
}
.cta-band p {
  font-size: 1.06rem;
  color: rgba(255,255,255,.82);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── OBJETO STRIP ── */
.objeto-strip {
  background: var(--navy-dark);
  padding: .9rem 0;
}
.objeto-strip p {
  font-family: var(--head);
  font-size: .8rem;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  text-align: center;
  letter-spacing: .02em;
}

/* ── FOOTER ── */
.foot-top {
  background: #091428;
  padding: 4rem 0 3rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 2.5rem;
}
.foot-brand p {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  max-width: 300px;
  margin-top: .8rem;
}
.foot-logo-mark {
  width: 56px; height: 56px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.foot-logo-mark svg { fill: #fff; width: 34px; height: 34px; }
.foot-col h4 {
  font-family: var(--head);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .9rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid rgba(243,146,0,.3);
}
.foot-col a, .foot-col p {
  display: block;
  font-size: .87rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  transition: color .15s;
  margin-bottom: .25rem;
}
.foot-col a:hover { color: var(--orange); }
.foot-bottom {
  background: #040d1a;
  padding: 1.1rem 0;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  text-align: center;
}

/* ── FLOATING WA ── */
.float-wa {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  background: #25d366;
  color: #fff;
  padding: .78rem 1.4rem .78rem 1.1rem;
  border-radius: 100px;
  font-family: var(--head);
  font-size: .88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  z-index: 200;
  transition: transform .15s, box-shadow .15s;
}
.float-wa:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(37,211,102,.55); }
.float-wa svg { fill: #fff; width: 20px; height: 20px; flex-shrink: 0; }

/* ── PAGE HEAD (páginas internas) ── */
.page-head {
  background: linear-gradient(130deg, var(--navy) 0%, var(--green-dark) 100%);
  padding: 4rem 0 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-head h1 {
  font-family: var(--head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: .5rem;
}
.page-head p {
  font-size: 1.06rem;
  color: rgba(255,255,255,.78);
  max-width: 540px;
  margin-inline: auto;
}
.breadcrumb {
  font-family: var(--head);
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  margin-bottom: .8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.breadcrumb a { color: var(--orange); }

/* ── NOSOTROS ── */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.mv-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem 1.7rem;
}
.mv-card h3 {
  font-family: var(--head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .7rem;
  padding-bottom: .55rem;
  border-bottom: 2px solid var(--orange-light);
}
.mv-card p { font-size: .95rem; color: var(--gray); line-height: 1.7; }

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-top: 1.5rem;
}
.value-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.3rem 1.2rem;
  transition: transform .2s;
}
.value-card:hover { transform: translateY(-3px); }
.value-icon {
  width: 44px; height: 44px;
  background: var(--orange-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.value-icon svg { fill: var(--orange); width: 22px; height: 22px; }
.value-card h4 {
  font-family: var(--head);
  font-size: .97rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .3rem;
}
.value-card p { font-size: .88rem; color: var(--gray); line-height: 1.55; }

/* ── CONTACTO ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-icon {
  width: 44px; height: 44px;
  background: var(--orange-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { fill: var(--orange); width: 22px; height: 22px; }
.contact-item h4 {
  font-family: var(--head);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--navy);
  margin-bottom: .25rem;
}
.contact-item p, .contact-item a { font-size: .95rem; color: var(--gray); }
.contact-item a { color: var(--navy); font-weight: 600; }
.contact-item a:hover { color: var(--orange); }
.contact-form {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.8rem;
}
.contact-form h3 {
  font-family: var(--head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.3rem;
}
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-family: var(--head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: .35rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .72rem .95rem;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-family: var(--body);
  font-size: .94rem;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
  background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(243,146,0,.15);
}
.form-group textarea { resize: vertical; min-height: 110px; }

/* ── DECO ICONS ── */
.deco-icon {
  position: absolute;
  pointer-events: none;
  user-select: none;
  line-height: 0;
}

/* ── STAT STRIP ── */
.stat-strip {
  background: var(--orange);
  padding: 2.5rem 0;
}
.stats-row {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--head);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  display: block;
}
.stat-label {
  font-family: var(--head);
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  margin-top: .3rem;
}

/* ── LINEAS ── */
.lineas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  margin-top: 2.5rem;
}
.linea-card {
  border-top: 4px solid var(--orange);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 2rem 1.8rem;
  transition: transform .2s, box-shadow .2s;
}
.linea-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.linea-card-icon {
  width: 52px; height: 52px;
  background: var(--navy-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.linea-card-icon svg { fill: var(--navy); }
.linea-card h3 {
  font-family: var(--head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .55rem;
}
.linea-card p { color: var(--gray); font-size: .93rem; line-height: 1.65; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-illustration { min-height: 280px; max-height: 340px; }
  .about-split,
  .contact-grid { grid-template-columns: 1fr; }
  .pilares-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: span 2; }
  .cadena-steps { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .cadena-steps::before { display: none; }
}
@media (max-width: 700px) {
  .nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: var(--shadow); padding: 1rem; z-index: 200; }
  .nav.open { display: flex; }
  .nav a { border-radius: 8px; padding: .6rem 1rem; }
  .burger { display: flex; }
  .head-actions .btn:not(.btn-orange) { display: none; }
  .hero-text h1 { font-size: 1.7rem; }
  .about-split,
  .lineas-grid,
  .gallery-grid,
  .mv-grid,
  .values-grid,
  .contact-grid,
  .productos-grid,
  .pilares-grid { grid-template-columns: 1fr; }
  .cadena-steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-brand { grid-column: span 1; }
  .about-datos { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { gap: 2rem; }
}
