/* ════════════════════════════════════════
   CANAPROSUCRE — styles.css
   Paleta: verde campo + dorado tierra + blanco
   Tipografía: Playfair Display + DM Sans
   ════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --green-deep:   #1a4a2e;
  --green-mid:    #2d7a4a;
  --green-light:  #4caf72;
  --green-pale:   #e8f5ed;
  --gold:         #c8952a;
  --gold-light:   #f5d87a;
  --earth:        #7a4a1a;
  --earth-light:  #f5ede0;
  --white:        #fafaf8;
  --gray-light:   #f0f0ec;
  --gray:         #888880;
  --dark:         #131810;
  --text:         #2c2c28;
  --text-light:   #6b6b60;

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

  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    28px;
  --shadow-card:  0 4px 24px rgba(26,74,46,.10);
  --shadow-float: 0 16px 48px rgba(26,74,46,.18);
  --transition:   .3s cubic-bezier(.4,0,.2,1);
  --verde:#1b4332; --verde-2:#2d6a4f; --dorado:#c9a227; --dorado-claro:#f6edc8;
  --fondo:#f5f6f1; --texto:#1d2a24; --suave:#5c6b63; --borde:#d7ddd3; --blanco:#fff;
}

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

/* ── CONTAINER ── */
.container { width: min(1200px, 90vw); margin-inline: auto; }

/* ── SECTION HELPERS ── */
.section { padding: 96px 0; }
.section-dark {
  background: var(--green-deep);
  color: var(--white);
}
.section-invest {
  background: linear-gradient(135deg, var(--earth-light) 0%, #fff9ef 100%);
}
.section-contact {
  background: var(--gray-light);
}
.section-label {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 12px;
}
.section-label.light { color: var(--green-light); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--green-deep);
  margin-bottom: 20px;
}
.section-title.light { color: var(--white); }
.section-title em {
  font-style: italic;
  color: var(--gold);
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin-bottom: 48px;
}
.section-subtitle.light { color: rgba(255,255,255,.7); }

/* ════════════ NAVBAR ════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250,250,248,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(45,122,74,.1);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(26,74,46,.12); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  width: min(1200px, 90vw);
  margin-inline: auto;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--green-mid), var(--green-deep));
  border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}
.brand-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--green-deep);
  line-height: 1.1;
}
.brand-sub {
  display: block;
  font-size: .7rem;
  color: var(--gray);
  letter-spacing: .08em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 14px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav-links a:hover { background: var(--green-pale); color: var(--green-deep); }
.btn-nav-invertir {
  background: var(--gold) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 9px 20px !important;
  border-radius: 50px !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.btn-nav-invertir:hover {
  background: var(--earth) !important;
  transform: translateY(-1px) !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--green-deep);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ════════════ HERO ════════════ */
.hero {
  min-height: 100vh;
  padding: 120px 5vw 80px;
  background: linear-gradient(145deg, #f0f9f3 0%, #e8f5ed 60%, #fff9ef 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 1 500px;
}

.hero-inner {
  width: min(1200px, 90vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;   /* para quedar por encima de hero-bg-shapes */
  z-index: 1;
}

.boletin {
  flex: 0 0 380px;
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: .12;
}
.shape-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--green-mid), transparent 70%);
  top: -200px; right: -200px;
}
.shape-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--gold), transparent 70%);
  bottom: -150px; left: -100px;
}
.shape-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--green-deep), transparent 70%);
  top: 40%; left: 45%;
}
.hero-content {
  max-width: 620px;
  animation: heroFadeUp .9s ease both;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green-mid);
  background: rgba(45,122,74,.1);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--green-deep);
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
  position: relative;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  padding: 14px 32px;
  background: var(--green-mid);
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  font-size: .95rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,122,74,.3);
}
.btn-secondary {
  padding: 14px 28px;
  border: 2px solid var(--gold);
  color: var(--earth);
  font-weight: 600;
  border-radius: 50px;
  font-size: .95rem;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn-secondary:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}

/* Stat cards */
.hero-card-float {
  display: flex;
  gap: 16px;
  margin-top: 56px;
  flex-wrap: wrap;
  animation: heroFadeUp 1.1s .3s ease both;
}
.stat-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(45,122,74,.08);
  min-width: 140px;
}
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--green-deep);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: .78rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* ════════════ QUIÉNES SOMOS ════════════ */
.qs-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.qs-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1.02rem;
}
.qs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.pill {
  background: var(--green-pale);
  color: var(--green-deep);
  font-weight: 600;
  font-size: .82rem;
  padding: 7px 16px;
  border-radius: 50px;
  border: 1px solid rgba(45,122,74,.15);
}
.qs-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.info-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow-card);
  border-left: 4px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition);
}
.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-float);
}
.accent-green { border-color: var(--green-mid); }
.accent-gold  { border-color: var(--gold); }
.accent-earth { border-color: var(--earth); }
.info-card-icon { font-size: 1.8rem; margin-bottom: 10px; }
.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 8px;
}
.info-card p { font-size: .92rem; color: var(--text-light); }
.sustainability-preview { background: var(--green-pale); }
.sustainability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.page-hero {
  padding-top: 140px;
  text-align: center;
}
.page-hero .section-title { max-width: 950px; margin-inline: auto; }
.page-hero .section-subtitle { max-width: 760px; margin-inline: auto; }
.page-hero .btn-primary { display: inline-block; }
.services-preview .section-subtitle { max-width: 720px; }
.service-lead,
.service-community,
.service-contact {
  max-width: 900px;
  margin-inline: auto;
}
.service-lead {
  color: var(--text-light);
  font-size: 1.02rem;
  text-align: center;
}
.service-cards,
.policy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.service-community,
.service-contact { text-align: center; }
.service-community p,
.service-contact p {
  color: var(--text-light);
  font-size: 1.02rem;
  margin-bottom: 16px;
}
.service-emphasis { color: var(--green-deep) !important; font-weight: 600; }
.service-actions,
.policy-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}
.card-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--green-mid);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.policy-section { background: var(--green-pale); }
.policy-intro {
  max-width: 960px;
  margin: 0 auto;
  color: var(--text-light);
  font-size: 1.02rem;
}
.policy-cards .info-card h2,
.policy-note h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 8px;
}
.policy-cards .info-card p,
.policy-note p { line-height: 1.65; }
.policy-note { margin-top: 24px; }
.policy-actions { margin-top: 32px; }
.sustainability-page { text-align: center; }
.sustainability-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 32px auto 40px;
  text-align: left;
}
.sustainability-home {
  display: inline-block;
  margin: 0;
  padding: 12px 24px;
  border-radius: 4px;
  background: var(--gold);
  color: var(--green-deep);
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.sustainability-home:hover,
.sustainability-home:focus-visible {
  background: var(--white);
  color: var(--green-deep);
  text-decoration: none;
}
.sustainability-infographic {
  max-width: 1100px;
  margin: 48px auto 0;
}
.sustainability-infographic img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .18);
}

/* ════════════ EQUIPO ════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.team-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: background var(--transition), transform var(--transition);
  animation: teamFade .6s ease both;
}
.team-card:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-4px);
}
@keyframes teamFade {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.team-avatar {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--green-light), var(--gold));
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 16px;
}
.team-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.team-role {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(200,149,42,.15);
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.team-card p { font-size: .88rem; color: rgba(255,255,255,.65); line-height: 1.6; }

/* ================ Beneficios de afiliarte ================ */
.benefits-banner {
  text-align: center;
  padding: 80px 20px;
  background:
    linear-gradient(rgba(30, 20, 10, 0.55), rgba(30, 20, 10, 0.55)),
    url("img/sede-canapro.jpeg") center / cover no-repeat;
}

.benefits-title {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 40px;
}

.benefits-title span {
  color: #d9a441;
}

.benefits-subtitle {
  color: #f5f5f5;
  margin-bottom: 40px;
}

.benefits-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.benefit-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 25px 20px;
  width: 220px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.benefit-card h3 {
  color: #4a2c17;
  margin: 0 0 8px 0;
  font-size: 1.1rem;
}

.benefit-card p {
  color: #4a2c17;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.4;
}

.benefits-cta {
  display: inline-block;
  background: #d9a441;
  color: #4a2c17;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.benefits-cta:hover {
  background: #fff;
  color: #4a2c17;
}


 /*--=============== Canaprosucre en grande ===============--*/
 
 .marquee-section {
  overflow: hidden;
  background: #4a2c17; /* marrón institucional */
  padding: 20px 0;
}

.marquee-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: scroll-marquee 15s linear infinite;
}

.marquee-track span {
  font-size: 2rem;
  font-weight: bold;
  color: #d9a441; /* dorado */
  white-space: nowrap;
  letter-spacing: 2px;
}

@keyframes scroll-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ================ Sede Recreativa ================ */
.sede-hero {
  background: #4a2c17;
  text-align: center;
  padding: 100px 20px 60px;
}

.sede-hero h1 {
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.sede-hero h1 span {
  color: #d9a441;
}

.sede-hero p {
  color: #f0e6d6;
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.6;
}

.sede-gallery {
  padding: 60px 20px;
  background: #ffffff;
}

.sede-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.sede-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}

.sede-grid img:hover {
  transform: scale(1.03);
}

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

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

/* ════════════ Afiliate ════════════ */
.invest-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.invest-text .section-title { color: var(--earth); }
.invest-text .section-title em { color: var(--green-mid); }
.invest-text p { color: var(--text-light); margin-bottom: 28px; font-size: 1.02rem; }
.invest-benefits { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.invest-benefits li { display: flex; gap: 16px; align-items: flex-start; }
.benefit-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.invest-benefits strong { display: block; color: var(--earth); font-size: .95rem; margin-bottom: 2px; }
.invest-benefits p { font-size: .88rem; color: var(--text-light); margin: 0; }
.btn-invest-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--earth);
  color: #fff;
  font-weight: 600;
  padding: 15px 32px;
  border-radius: 50px;
  font-size: .95rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-invest-main:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(122,74,26,.25);
}

/* Visual invest */
.invest-visual { display: flex; flex-direction: column; gap: 28px; align-items: center; }
.invest-badge-wrap {
  position: relative;
  width: 240px; height: 240px;
}
.invest-badge {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: conic-gradient(var(--green-mid), var(--gold), var(--earth), var(--green-mid));
  display: grid; place-items: center;
  animation: rotateBadge 8s linear infinite;
  box-shadow: 0 12px 48px rgba(200,149,42,.3);
}
@keyframes rotateBadge {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.badge-inner {
  width: 200px; height: 200px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  animation: rotateBadge 8s linear infinite reverse;
}
.badge-icon { font-size: 2.4rem; }
.badge-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  color: var(--green-deep);
  line-height: 1.2;
}
.badge-sub { font-size: .72rem; color: var(--gray); letter-spacing: .08em; }
.invest-stat-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.inv-stat {
  text-align: center;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(200,149,42,.15);
  min-width: 90px;
}
.inv-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--earth);
}
.inv-stat span { font-size: .75rem; color: var(--text-light); }

/* ════════════ UBICACIÓN ════════════ */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}
.loc-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(45,122,74,.08);
}
.loc-item:last-of-type { border-bottom: none; }
.loc-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.loc-item strong { display: block; color: var(--green-deep); font-size: .95rem; margin-bottom: 4px; }
.loc-item p { font-size: .9rem; color: var(--text-light); }
.social-row { display: flex; gap: 12px; margin-top: 24px; }
.social-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green-deep);
  display: grid; place-items: center;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  border: 1px solid rgba(45,122,74,.15);
}
.social-btn:hover {
  background: var(--green-mid);
  color: #fff;
  transform: translateY(-2px);
}

/* ════════════ CONTACTO ════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}

/* Form */
.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--green-deep);
  letter-spacing: .04em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e0e0d8;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(45,122,74,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--green-mid);
  color: #fff;
  font-weight: 600;
  padding: 15px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  margin-top: 8px;
}
.btn-submit:hover {
  background: var(--green-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(45,122,74,.3);
}
.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 20px;
  background: var(--green-pale);
  border: 1px solid rgba(45,122,74,.2);
  border-radius: var(--radius-sm);
  color: var(--green-deep);
  font-size: .92rem;
  font-weight: 500;
  text-align: center;
}

/* Contact side */
.contact-side { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(45,122,74,.06);
}
.contact-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 8px;
  font-size: 1rem;
}
.contact-card p { font-size: .88rem; color: var(--text-light); margin-bottom: 12px; }
.contact-cta-link {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-mid);
  margin-top: 8px;
  transition: color var(--transition);
}
.contact-cta-link:hover { color: var(--green-deep); }

.highlight-invest {
  border-left: 4px solid var(--gold);
  background: linear-gradient(135deg, #fff, #fffbf0);
}
.invest-tag {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
}
.btn-invest-side {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  transition: background var(--transition), transform var(--transition);
  margin-top: 4px;
}
.btn-invest-side:hover { background: var(--earth); transform: translateY(-1px); }
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  transition: background var(--transition), transform var(--transition);
  margin-top: 4px;
}
.btn-whatsapp:hover { background: #1ebe5c; transform: translateY(-1px); }

/* ════════════ FOOTER ════════════ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding: 60px 0 40px;
}
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { font-size: .85rem; color: rgba(255,255,255,.5); margin-top: 4px; line-height: 1.6; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links strong { color: #fff; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.footer-links a,
.footer-links span { font-size: .88rem; color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-links a:hover { color: var(--green-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.35); }

.brand-logo img {
  border-radius: 50%;
  object-fit: cover;
}

/* ════════════ RESPONSIVE ════════════ */
@media (max-width: 900px) {
  .nav-links { display: none; flex-direction: column; gap: 8px; position: absolute; top: 72px; left: 0; right: 0; background: rgba(250,250,248,.97); backdrop-filter: blur(16px); padding: 20px; border-bottom: 1px solid rgba(45,122,74,.1); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; border-radius: var(--radius-sm); }
  .hamburger { display: flex; }
  .qs-grid,
  .invest-grid,
  .location-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 120px 5vw 60px; }
  .hero-card-float { gap: 12px; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero-title { font-size: 2.6rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .qs-cards .info-card { padding: 20px; }
  .contact-form { padding: 28px 20px; }
  .invest-badge-wrap { width: 200px; height: 200px; }
  .badge-inner { width: 168px; height: 168px; }
}
/* ===== Hero de la página de eventos ===== */
.eventos-hero {
  background: #4a2c17;
  color: #fff;
  text-align: center;
  padding: 100px 20px 60px;
}

.eventos-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.eventos-hero h1 span {
  color: #d9a441;
}

.eventos-hero p {
  max-width: 500px;
  margin: 0 auto;
  opacity: 0.9;
}

/* ===== Grid de eventos ===== */
.eventos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.evento-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.evento-card:hover {
  transform: translateY(-8px);
}

.evento-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.evento-info {
  padding: 20px;
}

.evento-fecha {
  color: #d9a441;
  font-weight: bold;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.evento-info h3 {
  margin: 10px 0;
  color: #4a2c17;
}

.evento-info p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ===== Transición de entrada de página ===== */
body {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.evento-card {
  cursor: pointer;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  padding: 24px;
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
}

.modal-content img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 16px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

/* ===== Afiliación - Tarjeta CTA (para index.html) ===== */
#afiliate-cta {
  max-width: 900px;
  margin: 60px auto;
  background: linear-gradient(135deg, #1f4d2c, #2f6b3c);
  border-radius: 16px;
  padding: 40px;
  color: white;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
#afiliate-cta .cta-texto {
  flex: 1;
  min-width: 240px;
}
#afiliate-cta h2 {
  margin: 0 0 10px;
  font-size: 28px;
}
#afiliate-cta p {
  margin: 0;
  line-height: 1.5;
  color: #eef4ea;
  font-size: 15px;
}
.btn-dorado {
  display: inline-block;
  background: #c9a227;
  color: #1f4d2c;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn-dorado:hover {
  background: #e8c85a;
  transform: translateY(-2px);
}

/* ===== Afiliación - Página completa (afiliacion.html) ===== */
#afiliacion-page {
  max-width: 900px;
  margin: 40px auto;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
#afiliacion-page .hero {
  background: #1f4d2c;
  color: white;
  padding: 50px 40px;
  text-align: center;
}
#afiliacion-page .hero h1 {
  margin: 0 0 12px;
  font-size: 32px;
}
#afiliacion-page .hero p {
  margin: 0;
  color: #dcecd8;
  font-size: 16px;
}
.pasos {
  padding: 40px;
}
.pasos h2 {
  color: #1f4d2c;
  font-size: 20px;
  border-left: 4px solid #c9a227;
  padding-left: 12px;
  margin-bottom: 24px;
}
.paso {
  display: flex;
  gap: 18px;
  margin-bottom: 22px;
  align-items: flex-start;
}
.paso-numero {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #c9a227;
  color: #1f4d2c;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.paso-texto strong {
  display: block;
  color: #1f4d2c;
  margin-bottom: 4px;
}
.paso-texto p {
  margin: 0;
  font-size: 14px;
  color: #555;
}
.descarga-box {
  margin: 20px 40px 40px;
  background: #faf8f2;
  border: 1px dashed #c9a227;
  border-radius: 12px;
  padding: 26px;
  text-align: center;
}
.descarga-box p {
  margin: 0 0 16px;
  font-size: 14px;
  color: #555;
}
.requisitos {
  padding: 0 40px 40px;
}
.requisitos h2 {
  color: #1f4d2c;
  font-size: 20px;
  border-left: 4px solid #c9a227;
  padding-left: 12px;
  margin-bottom: 16px;
}
.requisitos ul {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.8;
  color: #444;
}

/* Responsive */
@media (max-width: 600px) {
  #afiliate-cta {
    padding: 28px;
    text-align: center;
    justify-content: center;
  }
  .pasos, .requisitos {
    padding: 28px;
  }
  .descarga-box {
    margin: 20px 20px 28px;
  }
}

/* ══════════════ NOTICIAS ══════════════ */
:root {
  --verde-oscuro: #1f4d3a;
  --verde-claro: #eef4ee;
  --dorado: #c9932e;
  --crema: #faf8f2;
  --texto: #2c2c28;
  --texto-suave: #5a5a52;
}
 
/* CONTENEDOR PRINCIPAL DEL BOLETÍN */
.boletin {
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(31, 77, 58, 0.12);
  overflow: hidden;
  border: 1px solid rgba(31, 77, 58, 0.08);
}
 
/* ENCABEZADO DEL BOLETÍN */
.boletin__header {
  background: var(--verde-oscuro);
  color: #fff;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
 
.boletin__header h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}
 
.boletin__header span {
  font-family: Arial, sans-serif;
  font-size: 0.7rem;
  background: var(--dorado);
  color: var(--verde-oscuro);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
}
 
/* LISTA DE NOTICIAS */
.boletin__lista {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}
 
.noticia {
  padding: 16px 24px;
  border-bottom: 1px solid #f0ede4;
  display: flex;
  gap: 14px;
}
 
.noticia:last-child {
  border-bottom: none;
}
 
.noticia__linea {
  width: 3px;
  background: var(--dorado);
  border-radius: 2px;
  flex-shrink: 0;
}
 
.noticia__contenido {
  flex: 1;
}
 
.noticia__fecha {
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  color: var(--dorado);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  display: block;
}
 
.noticia__titulo {
  margin: 0 0 4px 0;
  font-size: 1rem;
  color: var(--verde-oscuro);
  line-height: 1.3;
}
 
.noticia__texto {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  color: var(--texto-suave);
  line-height: 1.45;
}
 
/* PIE DEL BOLETÍN */
.boletin__footer {
  padding: 16px 24px 20px;
  text-align: center;
}
 
.boletin__boton {
  display: inline-block;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--verde-oscuro);
  text-decoration: none;
  border: 1.5px solid var(--verde-oscuro);
  padding: 9px 22px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
 
.boletin__boton:hover {
  background: var(--verde-oscuro);
  color: #fff;
}

.modal-content--large {
  max-width: 900px;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}
img, iframe, video {
  max-width: 100%;
}
.marquee-section {
  overflow: hidden;
  max-width: 100%;
}

.evento-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1f4d3a, #c9962b);
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
}

/* ===== Simulacion de Crédito ===== */
*{box-sizing:border-box}
  body.simulador-body{
    margin:0;font-family:Georgia,"Times New Roman",serif;
    background:var(--fondo);
    color:var(--texto);
    line-height:1.6
  }
  body.simulador-body h1,
  body.simulador-body h2,
  body.simulador-body label,
  body.simulador-body button:not(.hamburger),
  body.simulador-body table,
  body.simulador-body .dato small,
  body.simulador-body .volver{
    font-family:"Segoe UI",Roboto,Helvetica,Arial,sans-serif
  }
  body.simulador-body header{
    background:var(--verde);
    color:var(--blanco);
    padding: 96px;;
    border-bottom:5px solid var(--dorado)
  }
  body.simulador-body .wrap{
    max-width:980px;
    margin:0 auto
  }
  body.simulador-body header h1{
    margin:0 0 4px;
    font-size:clamp(1.5rem,4vw,2.2rem)
  }
  body.simulador-body header p{
    margin:0;
    color:#dfe9e2
  }
  body.simulador-body .volver{
    display:inline-block;
    margin-bottom:12px;
    color:var(--dorado-claro);
    text-decoration:none;
    font-size:.9rem
  }
  body.simulador-body .volver:hover,
  body.simulador-body .volver:focus{
    text-decoration:underline
  }
  body.simulador-body main{
    padding:28px 20px 48px
  }
  body.simulador-body .panel{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px
  }
  @media(max-width:760px){
    body.simulador-body .panel{
      grid-template-columns:1fr
    }
  }
  body.simulador-body .caja{
    background:var(--blanco);
    border:1px solid var(--borde);
    border-radius:10px;
    padding:22px
  }
  body.simulador-body .caja h2{
    margin:0 0 16px;
    font-size:1.15rem;
    color:var(--verde)
  }
  body.simulador-body .campo{
    margin-bottom:16px
  }
  body.simulador-body label{
    display:block;
    font-weight:600;
    font-size:.92rem;
    margin-bottom:5px
  }
  body.simulador-body input,
  body.simulador-body select{
    width:100%;
    padding:11px 12px;
    font-size:1rem;
    border:1px solid var(--borde);
    border-radius:6px;
    background:var(--blanco);
    color:var(--texto)
  }
  body.simulador-body input:focus,
  body.simulador-body select:focus,
  body.simulador-body button:focus-visible,
  body.simulador-body summary:focus-visible{
    outline:3px solid var(--dorado);
    outline-offset:1px
  }
  body.simulador-body .ayuda{
    font-size:.82rem;
    color:var(--suave);
    margin-top:4px
  }
  body.simulador-body .error{
    color:#a4261c;
    font-size:.88rem;
    min-height:1.2em;
    font-family:"Segoe UI",Roboto,Arial,sans-serif
  }
  body.simulador-body button:not(.hamburger){
    width:100%;
    padding:13px;
    font-size:1rem;
    font-weight:700;
    color:var(--verde);
    background:var(--dorado);
    border:0;
    border-radius:6px;
    cursor:pointer
  }
  body.simulador-body button:not(.hamburger):hover{
    background:#b8921f
  }
  body.simulador-body .dato{
    display:flex;
    justify-content:space-between;
    align-items:baseline;
    gap:12px;
    padding:11px 0;
    border-bottom:1px solid var(--borde)
  }
  body.simulador-body .dato:last-of-type{
    border-bottom:0
  }
  body.simulador-body .dato small{
    color:var(--suave);
    font-size:.9rem
  }
  body.simulador-body .dato strong{
    font-size:1.05rem
  }
  body.simulador-body .cuota{
    background:var(--verde);
    color:var(--blanco);
    border-radius:8px;
    padding:16px;
    margin-bottom:8px
  }
  body.simulador-body .cuota small{
    color:#dfe9e2;
    font-family:"Segoe UI",Roboto,Arial,sans-serif
  }
  body.simulador-body .cuota strong{
    display:block;
    font-size:clamp(1.7rem,5vw,2.3rem);
    color:var(--dorado-claro)
  }
  body.simulador-body .vacio{
    color:var(--suave);
    font-style:italic
  }
  body.simulador-body details{
    margin-top:24px;
    background:var(--blanco);
    border:1px solid var(--borde);
    border-radius:10px;
    padding:0 22px
  }
  body.simulador-body summary{
    cursor:pointer;
    padding:16px 0;
    font-weight:700;
    color:var(--verde);
    font-family:"Segoe UI",Roboto,Arial,sans-serif
  }
  body.simulador-body .tabla{
    max-height:420px;
    overflow:auto;
    margin-bottom:18px;
    border:1px solid var(--borde);
    border-radius:6px
  }
  body.simulador-body table{
    width:100%;
    border-collapse:collapse;
    font-size:.88rem;
    min-width:560px
  }
  body.simulador-body th,
  body.simulador-body td{
    padding:8px 10px;
    text-align:right;
    border-bottom:1px solid var(--borde)
  }
  body.simulador-body th:first-child,
  body.simulador-body td:first-child{
    text-align:center
  }
  body.simulador-body thead th{
    position:sticky;
    top:0;
    background:var(--verde);
    color:var(--blanco)
  }
  body.simulador-body .aviso{
    margin-top:24px;
    padding:16px 18px;
    background:var(--dorado-claro);
    border-left:5px solid var(--dorado);
    border-radius:6px;
    font-size:.92rem
  }
  body.simulador-body .aviso p{
    margin:0 0 6px
  }
  body.simulador-body .aviso p:last-child{
    margin:0
  }
  body.simulador-body footer{
    text-align:center;
    padding:20px;
    color:var(--suave);
    font-size:.85rem;
    font-family:"Segoe UI",Roboto,Arial,sans-serif
  }

@media (max-width: 600px) {
  .hero-inner {
    width: calc(100% - 32px);
    gap: 24px;
  }
  .hero-left {
    width: 100%;
    min-width: 0;
    flex-basis: 100%;
  }
  .boletin {
    width: 100%;
    max-width: 380px;
    flex: 0 1 100%;
  }
  .hero-title { font-size: clamp(2rem, 8vw, 2.6rem); }
  .hero-ctas > a {
    flex: 1 1 100%;
    text-align: center;
  }
  .page-hero { padding: 112px 0 56px; }
  .section-title { font-size: clamp(1.8rem, 8vw, 2.25rem); }
  .eventos-hero { padding: 104px 20px 48px; }
  .eventos-hero h1 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .eventos-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 32px 16px;
  }
  .sustainability-page.section { padding-top: 108px; }
  .service-actions,
  .policy-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .service-actions > a,
  .policy-actions > a { text-align: center; }
  #afiliacion-page { margin: 88px 12px 24px; }
  #afiliacion-page .hero { padding: 36px 20px; }
  #afiliacion-page .hero h1 { font-size: clamp(1.6rem, 7vw, 2rem); }
  .pasos, .requisitos { padding: 24px 20px; }
  .paso-texto {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .descarga-box { padding: 20px 16px; }
  .descarga-box .btn-dorado {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 10px auto;
    white-space: normal;
  }
}

  /*=== Sostenibilidad Ambiental ===*/
  