/* ── VARIABLES ───────────────────────────────────────────── */
:root {
  --forest:    #1A2E1A;
  --forest-dk: #0F1F0F;
  --green:     #4CAF50;
  --green-lt:  #81C784;
  --neon:      #7dff6b;
  --cream:     #F5F0E8;
  --soft:      #E8F5E9;
  --orange:    #FF6B35;
  --earth:     #C4A882;
  --text:      #1C1C1C;
  --muted:     #6B7280;
  --white:     #FFFFFF;
  --border:    #E5E7EB;
  --radius:    8px;
  --radius-lg: 12px;
}

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

/* ── TIPOGRAFÍA ──────────────────────────────────────────── */
h1,h2,h3,h4 { font-family: 'Playfair Display', serif; line-height: 1.15; }
.eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--green); margin-bottom: .75rem; display: block; }

/* ── NAV ─────────────────────────────────────────────────── */
#site-nav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(26,46,26,.97); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: 64px;
  transition: box-shadow .3s;
}
#site-nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.3); }
.nav-brand { display: flex; align-items: center; }
.nav-brand svg { height: 36px; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: rgba(245,240,232,.8); font-size: .85rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; transition: color .2s; }
.nav-links a:hover { color: var(--green-lt); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-cta { background: var(--orange); color: var(--white); padding: 8px 20px; border-radius: 4px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; transition: opacity .2s; }
.nav-cta:hover { opacity: .85; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--cream); border-radius: 2px; transition: .3s; }
.nav-mobile { display: none; background: var(--forest-dk); padding: 1.5rem 5vw; }
.nav-mobile ul { display: flex; flex-direction: column; gap: 1rem; }
.nav-mobile a { color: rgba(245,240,232,.8); font-size: 1rem; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.nav-cta-mobile { display: inline-block; background: var(--orange); color: var(--white) !important; padding: 10px 24px; border-radius: 4px; font-size: .85rem; font-weight: 700; margin-top: .5rem; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; background: var(--forest);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; overflow: hidden; padding: 100px 5vw 80px;
  text-align: center;
}
.hero-canvas { position: absolute; inset: 0; pointer-events: none; }
.hero-eyebrow { color: var(--green); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.5rem; position: relative; }
.hero-logo-wrap { position: relative; margin-bottom: 1rem; }
.hero-logo-wrap svg { max-width: 580px; width: 100%; display: block; margin: 0 auto; }
.hero-sub { color: rgba(245,240,232,.65); font-size: 1.1rem; max-width: 560px; margin: 0 auto 2.5rem; line-height: 1.7; position: relative; }
.hero-actions { display: flex; gap: 1rem; margin-bottom: 4rem; position: relative; flex-wrap: wrap; justify-content: center; }
.btn-primary { background: var(--green); color: var(--forest); padding: 14px 32px; border-radius: 4px; font-weight: 700; font-size: .9rem; letter-spacing: .03em; transition: background .2s; display: inline-block; }
.btn-primary:hover { background: var(--green-lt); }
.btn-ghost { border: 1.5px solid rgba(245,240,232,.35); color: var(--cream); padding: 14px 32px; border-radius: 4px; font-weight: 500; font-size: .9rem; transition: border-color .2s; display: inline-block; }
.btn-ghost:hover { border-color: var(--green-lt); }
.hero-stats { display: flex; gap: 3rem; position: relative; flex-wrap: wrap; justify-content: center; }
.stat { text-align: center; }
.stat-n { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--green); font-weight: 700; }
.stat-l { font-size: .72rem; color: rgba(245,240,232,.5); text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; }
.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; color: rgba(245,240,232,.3); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom,rgba(76,175,80,.6),transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100%{opacity:.3} 50%{opacity:1} }

/* ── TICKER ──────────────────────────────────────────────── */
.ticker { background: #2d4d2d; padding: 10px 0; overflow: hidden; white-space: nowrap; border-top: 1px solid rgba(76,175,80,.15); border-bottom: 1px solid rgba(76,175,80,.15); }
.ticker-inner { display: inline-flex; animation: ticker 30s linear infinite; }
.ticker-item { font-size: .8rem; color: var(--green-lt); padding: 0 2rem; display: flex; align-items: center; gap: .6rem; }
.t-dot { width: 5px; height: 5px; background: var(--neon); border-radius: 50%; flex-shrink: 0; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── SECCIÓN BASE ────────────────────────────────────────── */
section { padding: 80px 5vw; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem,3.5vw,2.8rem); color: var(--forest); line-height: 1.15; margin-bottom: .75rem; }
.section-sub { color: var(--muted); font-size: 1rem; line-height: 1.7; max-width: 520px; }
.link-all { color: var(--green); font-size: .85rem; font-weight: 600; white-space: nowrap; border-bottom: 1px solid var(--green); padding-bottom: 2px; transition: opacity .2s; }
.link-all:hover { opacity: .75; }

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

/* ── CATEGORÍAS ──────────────────────────────────────────── */
.categories { background: var(--soft); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(140px,1fr)); gap: 1rem; }
.cat-card { background: var(--white); border-radius: var(--radius-lg); padding: 1.5rem 1rem; text-align: center; cursor: pointer; transition: transform .2s, box-shadow .2s; display: block; color: var(--text); }
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(26,46,26,.12); }
.cat-icon { font-size: 2rem; margin-bottom: .75rem; }
.cat-name { font-size: .85rem; font-weight: 600; color: var(--forest); }
.cat-count { font-size: .72rem; color: var(--muted); margin-top: 4px; }

/* ── DIRECTORIO ──────────────────────────────────────────── */
.directory { background: var(--cream); }
.dir-filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn { padding: 8px 16px; border-radius: 100px; border: 1.5px solid var(--border); background: transparent; font-size: .8rem; font-weight: 500; cursor: pointer; transition: all .15s; color: var(--text); }
.filter-btn.active, .filter-btn:hover { background: var(--forest); border-color: var(--forest); color: var(--white); }
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 1.5rem; }
.dir-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; transition: transform .2s, box-shadow .2s; display: block; color: var(--text); }
.dir-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(26,46,26,.1); }
.dir-img { height: 180px; background: var(--soft); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; }
.dir-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.dir-badge { position: absolute; top: 12px; left: 12px; background: var(--green); color: var(--white); font-size: .65rem; font-weight: 700; padding: 4px 10px; border-radius: 100px; text-transform: uppercase; letter-spacing: .05em; }
.dir-badge.premium { background: var(--orange); }
.dir-body { padding: 1.25rem; }
.dir-cat { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--green); margin-bottom: .5rem; }
.dir-name { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--forest); margin-bottom: .4rem; }
.dir-desc { font-size: .85rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.dir-meta { display: flex; align-items: center; justify-content: space-between; }
.dir-location { font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.dir-rating { font-size: .78rem; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 4px; }
.stars { color: #F59E0B; }
.no-results { grid-column: 1/-1; text-align: center; padding: 3rem; color: var(--muted); font-size: 1rem; }

/* ── CUPONES ─────────────────────────────────────────────── */
.cupones-section { background: var(--soft); }
.cupones-grid { display: flex; flex-direction: column; gap: 1rem; max-width: 760px; }
.cupon-card { background: var(--white); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; display: flex; align-items: center; gap: 1.25rem; border: 1.5px dashed var(--border); transition: border-color .2s; }
.cupon-card:hover { border-color: var(--green); }
.cupon-brand-icon { width: 48px; height: 48px; border-radius: var(--radius); background: var(--soft); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.cupon-body { flex: 1; }
.cupon-brand { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--green); margin-bottom: .3rem; }
.cupon-title { font-size: 1rem; font-weight: 600; color: var(--forest); margin-bottom: .5rem; }
.cupon-code-wrap { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.cupon-code { font-family: 'Courier New', monospace; font-size: .85rem; background: #F3F4F6; padding: 4px 12px; border-radius: 4px; letter-spacing: .08em; color: var(--text); border: 1px solid var(--border); }
.cupon-copy { background: var(--forest); color: var(--cream); padding: 5px 14px; border-radius: 4px; font-size: .78rem; font-weight: 600; border: none; cursor: pointer; transition: background .2s; }
.cupon-copy:hover { background: #2d4d2d; }
.cupon-copy.copied { background: var(--green); }
.cupon-validity { font-size: .72rem; color: var(--muted); margin-top: .4rem; }

/* ── PATROCINADOR HERO ───────────────────────────────────── */
.sponsor-hero-banner { background: var(--forest); border-radius: var(--radius-lg); padding: 2rem 2.5rem; display: flex; gap: 2.5rem; align-items: center; margin: 40px 5vw; }
.shb-badge { font-size: .65rem; font-weight: 700; border: 1px solid rgba(245,240,232,.2); color: rgba(245,240,232,.5); padding: 4px 10px; border-radius: 100px; text-transform: uppercase; letter-spacing: .08em; display: inline-block; margin-bottom: .75rem; }
.shb-title { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--cream); margin-bottom: .75rem; line-height: 1.3; }
.shb-desc { font-size: .9rem; color: rgba(245,240,232,.6); line-height: 1.6; margin-bottom: 1.25rem; max-width: 400px; }
.shb-actions { display: flex; align-items: center; gap: 1rem; }
.shb-code { font-family: 'Courier New', monospace; font-size: .85rem; background: rgba(245,240,232,.08); border: 1px dashed rgba(245,240,232,.25); padding: 8px 14px; border-radius: 6px; color: rgba(245,240,232,.7); }
.shb-logo { width: 160px; height: 90px; border-radius: var(--radius); background: rgba(245,240,232,.06); border: 1px solid rgba(245,240,232,.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: rgba(245,240,232,.3); font-size: .85rem; text-align: center; padding: 1rem; }

/* ── BLOG ────────────────────────────────────────────────── */
.blog-section { background: var(--soft); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 1.5rem; }
.blog-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; transition: transform .2s, box-shadow .2s; display: block; color: var(--text); }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(26,46,26,.1); }
.blog-img { height: 180px; background: var(--soft); overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 1.25rem; }
.blog-cat { font-size: .7rem; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .5rem; }
.blog-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--forest); line-height: 1.3; margin-bottom: .75rem; }
.blog-meta { font-size: .75rem; color: var(--muted); }

/* ── PATROCINIOS ─────────────────────────────────────────── */
.sponsors-section { background: var(--cream); padding: 80px 5vw; }
.sponsor-intro { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.sponsor-tiers { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-bottom: 3rem; }
.tier-card { border-radius: var(--radius-lg); overflow: hidden; border: 1.5px solid var(--border); background: var(--white); transition: transform .2s, box-shadow .2s; }
.tier-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(26,46,26,.1); }
.tier-card.featured-tier { border-color: var(--orange); position: relative; }
.tier-badge-top { position: absolute; top: 0; left: 50%; transform: translateX(-50%); background: var(--orange); color: var(--white); font-size: .65rem; font-weight: 700; padding: 4px 16px; border-radius: 0 0 8px 8px; text-transform: uppercase; letter-spacing: .1em; }
.tier-head { padding: 2rem 1.5rem 1.25rem; border-bottom: 1px solid #F3F4F6; }
.tier-icon { font-size: 1.5rem; margin-bottom: .75rem; }
.tier-name { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--forest); margin-bottom: .25rem; }
.tier-price { font-size: .85rem; color: var(--muted); }
.tier-price strong { font-size: 1.5rem; color: var(--text); font-weight: 700; }
.tier-body { padding: 1.5rem; }
.tier-features { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.5rem; }
.tier-features li { font-size: .85rem; color: var(--muted); display: flex; align-items: flex-start; gap: 8px; line-height: 1.45; }
.tier-features li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.tier-cta { display: block; text-align: center; background: var(--forest); color: var(--cream); padding: 12px; border-radius: 6px; font-size: .85rem; font-weight: 600; transition: background .2s; cursor: pointer; }
.tier-cta:hover { background: #2d4d2d; }
.tier-card.featured-tier .tier-cta { background: var(--orange); }
.tier-card.featured-tier .tier-cta:hover { background: #e55a28; }

/* ROI BAR */
.roi-bar { background: var(--forest); border-radius: var(--radius-lg); padding: 1.5rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.roi-item { text-align: center; flex: 1; }
.roi-n { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--neon); font-weight: 700; }
.roi-l { font-size: .7rem; color: rgba(245,240,232,.5); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.roi-sep { width: 1px; height: 40px; background: rgba(245,240,232,.1); }

/* ── NEWSLETTER ──────────────────────────────────────────── */
.newsletter-section { background: var(--forest); padding: 80px 5vw; text-align: center; }
.newsletter-section .section-eyebrow { color: var(--green-lt); justify-content: center; }
.newsletter-section .section-title { color: var(--cream); max-width: 560px; margin: 0 auto 1rem; }
.newsletter-section p { color: rgba(245,240,232,.6); margin-bottom: 2.5rem; }
.nl-form-wrap { max-width: 460px; margin: 0 auto; }
.nl-form { display: flex; gap: .75rem; }
.nl-input { flex: 1; padding: 14px 16px; border-radius: 6px; border: 1.5px solid rgba(245,240,232,.2); background: rgba(245,240,232,.08); color: var(--cream); font-size: .9rem; outline: none; transition: border-color .2s; }
.nl-input::placeholder { color: rgba(245,240,232,.3); }
.nl-input:focus { border-color: var(--green); }
.nl-btn { background: var(--green); color: var(--forest); padding: 14px 24px; border-radius: 6px; border: none; font-weight: 700; font-size: .9rem; cursor: pointer; transition: background .2s; white-space: nowrap; }
.nl-btn:hover { background: var(--green-lt); }
.nl-msg { font-size: .85rem; margin-top: .75rem; min-height: 1.2em; color: var(--green-lt); }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer { background: var(--forest-dk); color: rgba(245,240,232,.6); padding: 60px 5vw 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { font-size: .85rem; line-height: 1.7; max-width: 260px; margin-top: 1rem; }
.footer-social { display: flex; gap: 1rem; margin-top: 1.5rem; }
.footer-social a { color: rgba(245,240,232,.45); font-size: .8rem; transition: color .2s; }
.footer-social a:hover { color: var(--green-lt); }
.footer-col h4 { color: var(--cream); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; font-family: 'Inter', sans-serif; }
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col a { color: rgba(245,240,232,.45); font-size: .85rem; transition: color .2s; }
.footer-col a:hover { color: var(--green-lt); }
.footer-bottom { border-top: 1px solid rgba(245,240,232,.08); padding-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: .8rem; }

/* ── ELEMENTOR OVERRIDE ──────────────────────────────────── */
.elementor-section.elementor-section-boxed > .elementor-container { max-width: 1200px; }
.e-con-inner { max-width: 1200px; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .sponsor-tiers { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  section { padding: 60px 5vw; }
  .nav-links, .nav-actions .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile.open { display: block; }
  .hero { padding: 90px 5vw 60px; }
  .hero-stats { gap: 1.5rem; }
  .sponsor-tiers { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .shb-logo { display: none; }
  .sponsor-hero-banner { flex-direction: column; gap: 1.5rem; padding: 1.5rem; }
  .nl-form { flex-direction: column; }
  .roi-bar { flex-direction: column; gap: 1.5rem; }
  .roi-sep { width: 100%; height: 1px; }
}
@media (max-width: 480px) {
  .dir-grid, .blog-grid, .rec-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
}
