/* ═══════════════════════════════════════════════
   RINDIX.IO — Global Stylesheet
   Versión 1.0 · 2025
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── VARIABLES ── */
:root {
  --verde-oscuro:  #0f2408;
  --verde-bosque:  #1a3a0f;
  --verde-campo:   #3d7a1a;
  --verde-vivo:    #639922;
  --verde-claro:   #97c459;
  --cosecha:       #c0dd97;
  --cosecha-light: #e8f4d4;
  --dorado:        #ba7517;
  --dorado-claro:  #f4c05a;
  --crema:         #f7f3ec;
  --crema-dark:    #ede8e0;
  --blanco:        #ffffff;
  --gris-100:      #f5f4f0;
  --gris-200:      #e8e6e0;
  --gris-400:      #a8a5a0;
  --gris-600:      #6b6866;
  --gris-800:      #3a3836;
  --negro:         #181614;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;

  --shadow-sm:  0 2px 8px rgba(15,36,8,.08);
  --shadow-md:  0 8px 24px rgba(15,36,8,.12);
  --shadow-lg:  0 20px 60px rgba(15,36,8,.18);
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --nav-h: 72px;
  --max-w: 1180px;
  --section-py: 6rem;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); background: var(--blanco); color: var(--gris-800); overflow-x: hidden; }
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }

/* ── UTILS ── */
.container   { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.sr-only     { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.section-py  { padding: var(--section-py) 0; }
.text-center { text-align: center; }
.flex        { display: flex; }
.grid        { display: grid; }
.hidden      { display: none; }

/* ── TYPOGRAPHY ── */
.eyebrow {
  font-size: .72rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--verde-vivo); margin-bottom: .6rem;
  display: block;
}
.eyebrow--gold { color: var(--dorado); }
.eyebrow--light { color: var(--cosecha); }

h1, .h1 {
  font-family: var(--font-display); font-size: clamp(2.6rem,6vw,5rem);
  font-weight: 800; line-height: 1.06; letter-spacing: -.02em;
  color: var(--negro);
}
h2, .h2 {
  font-family: var(--font-display); font-size: clamp(1.9rem,4vw,3rem);
  font-weight: 700; line-height: 1.15; color: var(--negro);
}
h3, .h3 {
  font-family: var(--font-display); font-size: 1.3rem;
  font-weight: 700; line-height: 1.25; color: var(--negro);
}
h4, .h4 { font-size: 1rem; font-weight: 600; color: var(--negro); }
.lead { font-size: 1.12rem; font-weight: 300; line-height: 1.75; color: var(--gris-600); }
.small { font-size: .82rem; color: var(--gris-400); }
.text-green  { color: var(--verde-vivo); }
.text-gold   { color: var(--dorado); }
.text-white  { color: var(--blanco); }
.text-light  { color: rgba(255,255,255,.6); }
.text-cosecha { color: var(--cosecha); }

em.accent { font-style: normal; color: var(--verde-vivo); }
em.accent-gold { font-style: normal; color: var(--dorado-claro); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem; border-radius: var(--radius-md);
  font-size: .95rem; font-weight: 500; transition: all .2s; line-height: 1;
}
.btn-primary {
  background: var(--verde-vivo); color: var(--blanco);
}
.btn-primary:hover { background: var(--dorado); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline {
  border: 1.5px solid rgba(255,255,255,.35); color: var(--blanco);
}
.btn-outline:hover { border-color: var(--cosecha); background: rgba(192,221,151,.08); }

.btn-dark {
  background: var(--verde-bosque); color: var(--cosecha);
}
.btn-dark:hover { background: var(--verde-campo); }

.btn-white {
  background: var(--blanco); color: var(--verde-oscuro);
}
.btn-white:hover { background: var(--cosecha); transform: translateY(-2px); }

.btn-ghost {
  color: var(--verde-vivo); border: 1.5px solid var(--verde-vivo);
}
.btn-ghost:hover { background: var(--verde-vivo); color: var(--blanco); }

.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem 1.2rem; font-size: .85rem; }

.btn svg, .btn .icon { width: 18px; height: 18px; }

/* ── BADGES ── */
.badge {
  display: inline-block; padding: .3rem .85rem;
  border-radius: 99px; font-size: .72rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
}
.badge-green  { background: var(--cosecha-light); color: var(--verde-campo); }
.badge-gold   { background: #faeeda; color: #854f0b; }
.badge-dark   { background: rgba(192,221,151,.15); color: var(--cosecha); border: 1px solid rgba(192,221,151,.3); }
.badge-white  { background: rgba(255,255,255,.12); color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.2); }

/* ── NAV ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s;
  background: transparent;
}
#navbar.scrolled {
  background: rgba(15,36,8,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
#navbar.light-nav {
  background: rgba(247,243,236,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(15,36,8,.08);
}
#navbar.light-nav .nav-link { color: var(--gris-800); }
#navbar.light-nav .nav-link:hover { color: var(--verde-vivo); }
#navbar.light-nav .nav-logo { color: var(--verde-oscuro); }
#navbar.light-nav .nav-logo span { color: var(--verde-vivo); }

.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 2rem;
  width: 100%; display: flex; align-items: center; gap: 2rem;
}
.nav-logo {
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 800;
  color: var(--blanco); letter-spacing: -.02em; flex-shrink: 0;
}
.nav-logo span { color: var(--cosecha); }

.nav-links {
  display: flex; align-items: center; gap: .25rem; margin-left: auto;
}
.nav-link {
  color: rgba(255,255,255,.78); font-size: .9rem; font-weight: 400;
  padding: .5rem .85rem; border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--cosecha); background: rgba(192,221,151,.08); }
.nav-link.active { color: var(--cosecha); }

.nav-cta {
  margin-left: .75rem;
  background: var(--verde-vivo); color: var(--blanco);
  padding: .55rem 1.3rem; border-radius: var(--radius-sm);
  font-size: .88rem; font-weight: 500; transition: background .2s;
}
.nav-cta:hover { background: var(--dorado); }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: .5rem; cursor: pointer; margin-left: auto;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--blanco); border-radius: 2px; transition: all .3s;
}
#navbar.light-nav .nav-hamburger span { background: var(--gris-800); }

.nav-mobile {
  display: none; position: fixed; inset: 0; z-index: 199;
  background: var(--verde-oscuro); padding: calc(var(--nav-h) + 1rem) 2rem 2rem;
  flex-direction: column; gap: .5rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: rgba(255,255,255,.8); font-size: 1.1rem; padding: .9rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08); transition: color .15s;
}
.nav-mobile a:hover { color: var(--cosecha); }
.nav-mobile .btn { margin-top: 1rem; width: 100%; justify-content: center; }

/* ── HERO (HOME) ── */
.hero {
  min-height: 100vh;
  background: var(--verde-oscuro);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: calc(var(--nav-h) + 4rem) 2rem 5rem;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 85%, rgba(61,122,26,.22) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 85% 15%, rgba(186,117,23,.14) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 50% 50%, rgba(99,153,34,.08) 0%, transparent 60%);
}
/* subtle dot grid */
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(192,221,151,.06) 1px, transparent 1px);
  background-size: 32px 32px;
}

.hero-inner { position: relative; z-index: 2; max-width: 820px; }
.hero-badge { margin-bottom: 1.8rem; }
.hero-title {
  font-family: var(--font-display); font-size: clamp(3rem,7.5vw,5.8rem);
  font-weight: 800; color: var(--blanco); line-height: 1.04;
  letter-spacing: -.02em; margin-bottom: 1.5rem;
}
.hero-title em { color: var(--cosecha); font-style: normal; }
.hero-sub {
  font-size: 1.15rem; font-weight: 300; line-height: 1.78;
  color: rgba(255,255,255,.62); max-width: 560px; margin: 0 auto 2.5rem;
}
.hero-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 4rem;
}
.hero-stats {
  display: flex; gap: 3.5rem; justify-content: center; flex-wrap: wrap;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(192,221,151,.15);
}
.hero-stat .num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 700;
  color: var(--cosecha); line-height: 1;
}
.hero-stat .lbl {
  font-size: .75rem; color: rgba(255,255,255,.45);
  text-transform: uppercase; letter-spacing: .1em; margin-top: .35rem;
}

/* animated reveal */
.reveal {
  opacity: 0; transform: translateY(28px);
  animation: revealUp .65s ease forwards;
}
.reveal:nth-child(1) { animation-delay: 0s; }
.reveal:nth-child(2) { animation-delay: .1s; }
.reveal:nth-child(3) { animation-delay: .2s; }
.reveal:nth-child(4) { animation-delay: .32s; }
.reveal:nth-child(5) { animation-delay: .44s; }
@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--verde-bosque);
  padding: calc(var(--nav-h) + 3.5rem) 2rem 3.5rem;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 0% 100%, rgba(61,122,26,.3) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 100% 0%, rgba(186,117,23,.12) 0%, transparent 50%);
}
.page-hero-inner { position: relative; z-index: 2; max-width: var(--max-w); margin: 0 auto; }
.page-hero h1 { color: var(--blanco); margin-bottom: .75rem; }
.page-hero .lead { color: rgba(255,255,255,.6); max-width: 600px; }
.page-breadcrumb {
  display: flex; gap: .5rem; align-items: center; margin-bottom: 1.5rem;
  font-size: .82rem; color: rgba(255,255,255,.4);
}
.page-breadcrumb a { color: rgba(255,255,255,.55); }
.page-breadcrumb a:hover { color: var(--cosecha); }
.page-breadcrumb span { color: rgba(255,255,255,.25); }

/* ── CARDS ── */
.card {
  background: var(--blanco); border-radius: var(--radius-lg);
  border: 1px solid var(--gris-200); overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.card-sector {
  padding: 1.8rem 1.5rem;
}
.card-sector .icon {
  font-size: 2.2rem; margin-bottom: 1rem; display: block;
}
.card-sector h3 { margin-bottom: .5rem; font-size: 1.05rem; }
.card-sector p { font-size: .88rem; color: var(--gris-600); line-height: 1.65; }
.card-sector .tag {
  display: inline-block; margin-top: .9rem;
  font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  background: var(--cosecha-light); color: var(--verde-campo);
  padding: .25rem .75rem; border-radius: 99px;
}

/* ── PROYECTO CARD ── */
.proyecto-card {
  background: var(--blanco); border-radius: var(--radius-lg);
  border: 1px solid var(--gris-200); overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.proyecto-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.proyecto-card-img {
  height: 200px;
  background: var(--verde-bosque);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; position: relative; overflow: hidden;
}
.proyecto-card-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(61,122,26,.4), rgba(186,117,23,.2));
}
.proyecto-card-body { padding: 1.5rem; }
.proyecto-meta {
  display: flex; gap: .5rem; margin-bottom: 1rem; flex-wrap: wrap;
}
.proyecto-card-body h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.proyecto-card-body p { font-size: .88rem; color: var(--gris-600); line-height: 1.6; margin-bottom: 1.2rem; }
.proyecto-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: .75rem;
  padding-top: 1rem; border-top: 1px solid var(--gris-200);
  margin-bottom: 1.2rem;
}
.stat-mini .val {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700;
  color: var(--verde-vivo); line-height: 1;
}
.stat-mini .lbl { font-size: .7rem; color: var(--gris-400); margin-top: .2rem; }

/* progress bar */
.progress-wrap { margin-bottom: 1rem; }
.progress-info {
  display: flex; justify-content: space-between; margin-bottom: .4rem;
  font-size: .78rem; color: var(--gris-600);
}
.progress-info strong { color: var(--verde-vivo); }
.progress-bar {
  height: 6px; background: var(--gris-200); border-radius: 99px; overflow: hidden;
}
.progress-fill {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--verde-campo), var(--verde-vivo));
  transition: width .6s ease;
}

/* ── STEPS ── */
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.step {
  border-left: 3px solid var(--cosecha);
  padding: 0 0 0 1.25rem;
}
.step-num {
  font-family: var(--font-display); font-size: 2.8rem; font-weight: 700;
  color: var(--cosecha); opacity: .35; line-height: 1; margin-bottom: .5rem;
}
.step h3 { font-size: 1rem; margin-bottom: .5rem; }
.step p { font-size: .88rem; color: var(--gris-600); line-height: 1.65; }

/* ── INVESTOR TIER CARDS ── */
.tier-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(192,221,151,.18);
  border-radius: var(--radius-lg); padding: 2rem 1.5rem;
  transition: background .2s, border-color .2s;
  position: relative;
}
.tier-card:hover { background: rgba(192,221,151,.08); border-color: rgba(192,221,151,.4); }
.tier-card.featured {
  background: rgba(99,153,34,.12);
  border-color: var(--verde-vivo);
}
.tier-featured-label {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--verde-vivo); color: var(--blanco);
  font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem 1rem; border-radius: 99px;
}
.tier-tipo {
  font-size: .72rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--cosecha); margin-bottom: .5rem;
}
.tier-card h3 {
  color: var(--blanco); font-size: 1.1rem; margin-bottom: .6rem;
}
.tier-card p { font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.65; }
.tier-desde {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
  color: var(--dorado-claro); margin: 1rem 0 .25rem; line-height: 1;
}
.tier-desde small {
  font-family: var(--font-body); font-size: .75rem;
  font-weight: 400; color: rgba(255,255,255,.35); margin-left: .3rem;
}
.tier-features { margin-top: 1.2rem; }
.tier-feature {
  display: flex; gap: .6rem; align-items: flex-start;
  padding: .45rem 0; border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .88rem; color: rgba(255,255,255,.65);
}
.tier-feature:last-child { border-bottom: none; }
.tier-feature::before {
  content: '✓'; color: var(--verde-claro); font-size: .85rem;
  flex-shrink: 0; margin-top: .05rem; font-weight: 700;
}

/* ── FORM ── */
.form-group { margin-bottom: 1.2rem; }
.form-label {
  display: block; font-size: .85rem; font-weight: 500;
  color: var(--gris-600); margin-bottom: .4rem;
}
.form-control {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--gris-200); border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: .95rem; color: var(--gris-800);
  background: var(--blanco); transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-control:focus {
  border-color: var(--verde-vivo);
  box-shadow: 0 0 0 3px rgba(99,153,34,.12);
}
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a8a5a0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-error { font-size: .78rem; color: #c0392b; margin-top: .3rem; display: none; }
.form-success {
  padding: 1rem 1.2rem; background: var(--cosecha-light);
  border: 1px solid var(--cosecha); border-radius: var(--radius-md);
  font-size: .9rem; color: var(--verde-campo); display: none;
}

/* ── ACCORDION (FAQ) ── */
.faq-item {
  border-bottom: 1px solid var(--gris-200);
}
.faq-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 0; text-align: left; gap: 1rem;
  font-size: .98rem; font-weight: 500; color: var(--gris-800);
  background: none; cursor: pointer; transition: color .15s;
}
.faq-btn:hover { color: var(--verde-vivo); }
.faq-btn .icon {
  width: 20px; height: 20px; flex-shrink: 0;
  border: 1.5px solid var(--gris-400); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s, border-color .15s;
  font-size: .7rem; color: var(--gris-400);
}
.faq-btn.open .icon { transform: rotate(45deg); border-color: var(--verde-vivo); color: var(--verde-vivo); }
.faq-content {
  max-height: 0; overflow: hidden; transition: max-height .35s ease;
}
.faq-content-inner {
  padding-bottom: 1.2rem;
  font-size: .92rem; line-height: 1.75; color: var(--gris-600);
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--verde-bosque); padding: 1rem 0;
  overflow: hidden;
}
.trust-inner {
  display: flex; gap: 4rem; align-items: center;
  white-space: nowrap;
}
.trust-item {
  display: flex; align-items: center; gap: .6rem;
  font-size: .82rem; color: rgba(255,255,255,.5);
  flex-shrink: 0;
}
.trust-item strong { color: var(--cosecha); font-weight: 500; }

/* ── STATS SECTION ── */
.stats-section {
  background: var(--verde-oscuro); padding: 4rem 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem; text-align: center;
}
.stat-block .num {
  font-family: var(--font-display); font-size: 3rem; font-weight: 700;
  color: var(--cosecha); line-height: 1;
}
.stat-block .lbl {
  font-size: .78rem; color: rgba(255,255,255,.4);
  text-transform: uppercase; letter-spacing: .1em; margin-top: .5rem;
}

/* ── FEATURE ROWS ── */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-visual {
  aspect-ratio: 4/3; background: var(--verde-bosque);
  border-radius: var(--radius-xl); display: flex;
  align-items: center; justify-content: center;
  font-size: 6rem; position: relative; overflow: hidden;
}
.feature-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(99,153,34,.3), rgba(186,117,23,.15));
}
.feature-content .eyebrow { margin-bottom: .75rem; }
.feature-content h2 { margin-bottom: 1rem; }
.feature-content p { margin-bottom: 1.5rem; }
.feature-list { margin: 1.25rem 0; }
.feature-list li {
  display: flex; gap: .75rem; padding: .6rem 0;
  border-bottom: 1px solid var(--gris-200); font-size: .92rem; color: var(--gris-600);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: '→'; color: var(--verde-vivo); flex-shrink: 0; font-weight: 700;
}

/* ── TEAM CARDS ── */
.team-card {
  background: var(--blanco); border-radius: var(--radius-lg);
  padding: 1.5rem; border: 1px solid var(--gris-200); text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--verde-bosque); margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--cosecha); font-family: var(--font-display);
  font-weight: 700; font-size: 1.4rem;
}
.team-card h4 { font-size: 1rem; margin-bottom: .25rem; }
.team-card .rol { font-size: .82rem; color: var(--verde-vivo); font-weight: 500; margin-bottom: .6rem; }
.team-card .bio { font-size: .82rem; color: var(--gris-600); line-height: 1.6; }

/* ── SECTIONS BACKGROUNDS ── */
.bg-cream    { background: var(--crema); }
.bg-dark     { background: var(--verde-oscuro); }
.bg-bosque   { background: var(--verde-bosque); }
.bg-verde    { background: var(--verde-vivo); }
.bg-white    { background: var(--blanco); }
.bg-gris     { background: var(--gris-100); }

/* ── SECTION HEADER ── */
.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-header .eyebrow { margin-bottom: .6rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header .lead { max-width: 580px; }
.section-header.center .lead { margin: 0 auto; }

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--verde-vivo); padding: 5rem 2rem; text-align: center;
}
.cta-banner h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem,4vw,3rem);
  font-weight: 800; color: var(--blanco); margin-bottom: 1rem;
}
.cta-banner p { color: rgba(255,255,255,.75); max-width: 520px; margin: 0 auto 2.2rem; font-size: 1.05rem; }

/* ── FOOTER ── */
footer {
  background: var(--verde-oscuro); padding: 4rem 0 0;
  color: rgba(255,255,255,.5);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 800;
  color: var(--blanco); margin-bottom: .75rem; display: block;
}
.footer-brand .logo span { color: var(--cosecha); }
.footer-brand p { font-size: .88rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-size: .75rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--cosecha); margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col a {
  font-size: .88rem; color: rgba(255,255,255,.45); transition: color .15s;
}
.footer-col a:hover { color: var(--cosecha); }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .75rem; font-size: .78rem;
}
.footer-bottom a { color: rgba(255,255,255,.35); margin-left: 1.25rem; }
.footer-bottom a:hover { color: var(--cosecha); }
.footer-reg {
  background: rgba(255,255,255,.04); padding: .85rem 2rem;
  font-size: .72rem; color: rgba(255,255,255,.28); text-align: center;
  border-top: 1px solid rgba(255,255,255,.05); margin-top: 0;
  letter-spacing: .02em;
}

/* ── NOTIFICATION TOAST ── */
.toast {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  background: var(--verde-bosque); color: var(--cosecha);
  border: 1px solid rgba(192,221,151,.25);
  border-radius: var(--radius-md); padding: .9rem 1.4rem;
  font-size: .9rem; box-shadow: var(--shadow-lg);
  transform: translateY(120%); opacity: 0;
  transition: transform .4s, opacity .4s;
  max-width: 360px;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ── SCROLL TO TOP ── */
#scrollTop {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 100;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--verde-vivo); color: var(--blanco);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; cursor: pointer;
  opacity: 0; transform: scale(.7);
  transition: opacity .3s, transform .3s, background .2s;
  box-shadow: var(--shadow-md); border: none;
}
#scrollTop.visible { opacity: 1; transform: scale(1); }
#scrollTop:hover { background: var(--dorado); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-row.reverse { direction: ltr; }
}

@media (max-width: 768px) {
  :root { --section-py: 4rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .hero-stats { gap: 2rem; }
  .hero-stat .num { font-size: 1.8rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom a { margin: 0 .5rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ── FADE IN ANIMATIONS (moved from JS) ── */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in.delay-1 { transition-delay: .1s; }
.fade-in.delay-2 { transition-delay: .2s; }
.fade-in.delay-3 { transition-delay: .3s; }
.fade-in.delay-4 { transition-delay: .4s; }

/* Fallback: si JS no carga, mostrar todo */
.no-js .fade-in { opacity: 1; transform: none; }
