*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:   #1a6b3c;
  --green-d: #124d2b;
  --green-lt:#edf7f1;
  --gold:    #b07d2a;
  --gold-bg: #fffbeb;
  --gold-bd: #f0d080;
  --head:    #111827;
  --body:    #374151;
  --muted:   #6b7280;
  --border:  #e5e7eb;
  --bg:      #ffffff;
  --bg-off:  #f9fafb;
  --radius:  8px;
  --card:    #ffffff;
  --shadow:  0 1px 3px rgba(0,0,0,.07), 0 4px 12px rgba(0,0,0,.05);
}

html  { scroll-behavior: smooth; }
body  {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  font-size: 1rem;
}

/* ── LAYOUT ── */
.wrap        { max-width: 740px;  margin: 0 auto; padding: 0 1.5rem; }
.wrap-wide   { max-width: 900px;  margin: 0 auto; padding: 0 1.5rem; }
.wrap-narrow { max-width: 560px;  margin: 0 auto; padding: 0 1.5rem; }

/* ── AD BANNER ── */
.ad-banner {
  background: var(--gold-bg);
  border-bottom: 1px solid var(--gold-bd);
  padding: .5rem 1.5rem;
  text-align: center;
  font-size: .75rem;
  color: #78350f;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ── SITE HEADER ── */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: .9rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 200;
}
.header-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  letter-spacing: -.02em;
}
.logo span { color: var(--gold); }
.header-badge {
  font-size: .68rem;
  background: var(--gold-bg);
  border: 1px solid var(--gold-bd);
  color: #78350f;
  padding: .18rem .6rem;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ── ANCHOR NAV ── */
.anchor-nav {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
  position: sticky;
  top: 53px;
  z-index: 199;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.anchor-nav::-webkit-scrollbar { display: none; }
.anchor-nav-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}
.anchor-nav a {
  font-size: .78rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: .75rem 1rem;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.anchor-nav a:hover { color: var(--green); border-bottom-color: var(--green); }
.anchor-nav .nav-cta {
  margin-left: auto;
  background: var(--green);
  color: #fff;
  padding: .35rem .9rem;
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 600;
  border-bottom: none;
}
.anchor-nav .nav-cta:hover { background: var(--green-d); border-bottom-color: transparent; }

/* ── HERO ── */
.hero {
  padding: 3.5rem 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3.5rem;
  align-items: center;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--green);
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--head);
  letter-spacing: -.025em;
  margin-bottom: .9rem;
}
.hero-meta {
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.hero-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-bottom: 1.5rem;
}
.hero-checks li {
  font-size: .9rem;
  color: var(--body);
  display: flex;
  gap: .5rem;
  align-items: flex-start;
}
.hero-checks li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .05rem;
}
.hero-scroll {
  font-size: .8rem;
  color: var(--muted);
}
.hero-scroll a { color: var(--green); text-decoration: none; font-weight: 500; }

/* ── FORM CARD ── */
.form-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.form-card h2  { font-size: 1rem; font-weight: 700; color: var(--head); margin-bottom: .3rem; }
.form-card > p { font-size: .83rem; color: var(--muted); margin-bottom: 1.25rem; line-height: 1.5; }

.form-group { margin-bottom: .85rem; }
.form-group label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--head);
  margin-bottom: .3rem;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: .55rem .8rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: .88rem;
  color: var(--head);
  background: var(--bg);
  font-family: inherit;
  transition: border-color .15s;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(26,107,60,.1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }

.form-check-group { margin-bottom: .85rem; }
.check-label {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  cursor: pointer;
  font-size: .74rem;
  color: var(--muted);
  line-height: 1.5;
}
.check-label input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: .15rem;
  width: 14px;
  height: 14px;
  accent-color: var(--green);
  cursor: pointer;
}
.check-label a { color: var(--green); }
.field-error { font-size: .72rem; color: #ef4444; margin-top: .25rem; display: none; }

.btn-submit {
  width: 100%;
  padding: .75rem 1.25rem;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}
.btn-submit:hover { background: var(--green-d); }

.form-badges {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  margin-top: .75rem;
  justify-content: center;
}
.form-badges span {
  font-size: .68rem;
  color: var(--muted);
  background: var(--bg-off);
  border: 1px solid var(--border);
  padding: .15rem .5rem;
  border-radius: 4px;
}

/* ── SUCCESS ── */
.success-box {
  display: none;
  background: var(--green-lt);
  border: 1px solid #a7f3c0;
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.success-box h3 { color: var(--green-d); font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.success-box p  { color: var(--body); font-size: .85rem; line-height: 1.5; }
.success-list   { list-style: none; margin-top: .75rem; display: flex; flex-direction: column; gap: .3rem; max-width: 260px; margin-left: auto; margin-right: auto; }
.success-list li { font-size: .78rem; color: var(--body); display: flex; align-items: flex-start; gap: .4rem; text-align: left; }
.success-list li::before { content: "·"; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: .05rem; }

/* ── CONTENT SECTIONS ── */
.section { padding: 3rem 1.5rem; border-bottom: 1px solid var(--border); }
.section:last-of-type { border-bottom: none; }
.section-off { background: var(--bg-off); }

/* section label (small caps above heading) */
.s-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--green);
  display: block;
  margin-bottom: .6rem;
}
.s-h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--head);
  letter-spacing: -.02em;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.s-lead {
  font-size: .95rem;
  color: var(--body);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  max-width: 660px;
}

/* ── 3 QUESTIONS ── */
.q-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0 1.25rem;
}
.q-item { display: flex; gap: .75rem; align-items: flex-start; }
.q-num {
  width: 28px; height: 28px;
  border: 2px solid var(--green);
  color: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .8rem;
  flex-shrink: 0;
  margin-top: .05rem;
}
.q-item p { font-size: .88rem; color: var(--body); line-height: 1.6; }

/* ── INLINE ILLUSTRATION ── */
.inline-img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: block;
  margin: 1.75rem 0;
}
.inline-img-caption {
  font-size: .75rem;
  color: var(--muted);
  text-align: center;
  margin-top: -.75rem;
  margin-bottom: 1.75rem;
  font-style: italic;
}

/* ── PULL QUOTE ── */
.pull-quote {
  border-left: 3px solid var(--green);
  padding: .85rem 1.25rem;
  margin: 1.75rem 0;
  background: var(--green-lt);
  border-radius: 0 6px 6px 0;
  font-size: .95rem;
  font-style: italic;
  color: var(--head);
  line-height: 1.65;
}

/* ── STEPS ── */
.steps { display: flex; flex-direction: column; gap: 1.25rem; margin: 1.5rem 0; }
.step  { display: flex; gap: 1rem; align-items: flex-start; }
.step-num {
  font-size: .75rem;
  font-weight: 700;
  color: var(--green);
  background: var(--green-lt);
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-body h3 { font-size: .95rem; font-weight: 700; color: var(--head); margin-bottom: .25rem; }
.step-body p  { font-size: .88rem; color: var(--body); line-height: 1.6; margin: 0; }
.step-tag     { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--green); margin-bottom: .25rem; }

/* ── CHECK LIST ── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: .85rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; font-size: .92rem; color: var(--body); line-height: 1.65; }
.check-list li::before { content: "✓"; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: .1rem; }

/* ── BEFORE YOU ACT CARDS ── */
.act-list { display: flex; flex-direction: column; gap: .85rem; margin-top: 1.25rem; }
.act-item { border-left: 2px solid var(--border); padding: .6rem 1rem; }
.act-item h3 { font-size: .9rem; font-weight: 700; color: var(--head); margin-bottom: .25rem; }
.act-item p  { font-size: .85rem; color: var(--body); line-height: 1.6; margin: 0; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: .5rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .95rem 1.25rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--head);
  cursor: pointer;
  list-style: none;
  gap: 1rem;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: "+"; font-size: 1.25rem; font-weight: 300; color: var(--green); flex-shrink: 0; transition: transform .2s; }
details[open] .faq-q::after { transform: rotate(45deg); }
.faq-a { padding: 0 1.25rem .95rem; font-size: .87rem; color: var(--body); line-height: 1.7; }
.faq-a a { color: var(--green); }

/* ── CTA BAND ── */
.cta-band {
  background: var(--green);
  padding: 2.75rem 1.5rem;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); font-weight: 800; color: #fff; margin-bottom: .6rem; letter-spacing: -.02em; }
.cta-band p  { font-size: .9rem; color: rgba(255,255,255,.8); margin-bottom: 1.25rem; }
.btn-white {
  display: inline-block;
  padding: .75rem 1.75rem;
  background: #fff;
  color: var(--green);
  border-radius: 6px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: opacity .15s;
}
.btn-white:hover { opacity: .9; }

/* ── COMPANY BLOCK ── */
.company-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.company-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.company-table td { padding: .45rem .6rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.company-table td:first-child { color: var(--muted); font-weight: 500; white-space: nowrap; width: 42%; }
.company-table td:last-child { color: var(--head); font-weight: 600; }

/* ── DISCLAIMER BOX ── */
.disclaimer {
  background: var(--bg-off);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.35rem;
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 1.5rem;
}
.disclaimer strong { color: var(--body); }

/* ── FOOTER ── */
.site-footer {
  background: #111827;
  color: rgba(255,255,255,.55);
  padding: 2.25rem 1.5rem 1.5rem;
  font-size: .8rem;
}
.footer-inner { max-width: 900px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo { color: #fff; font-size: 1rem; display: block; margin-bottom: .6rem; }
.footer-brand p { font-size: .78rem; line-height: 1.65; color: rgba(255,255,255,.5); }
.footer-col h4 {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.8);
  margin-bottom: .65rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .35rem; }
.footer-col a { color: rgba(255,255,255,.5); text-decoration: none; font-size: .78rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { text-align: center; font-size: .72rem; color: rgba(255,255,255,.35); }
.footer-legal {
  font-size: .72rem;
  color: rgba(255,255,255,.3);
  line-height: 1.65;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* ── COOKIE BANNER ── */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #1f2937;
  color: #d1d5db;
  padding: .9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  z-index: 999;
  font-size: .82rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
#cookie-banner a { color: #6ee7b7; }
.ck-btns { display: flex; gap: .5rem; }
.ck-btn { padding: .4rem .9rem; border-radius: 5px; border: none; cursor: pointer; font-size: .8rem; font-weight: 600; font-family: inherit; }
.ck-accept { background: var(--green); color: #fff; }
.ck-reject { background: #374151; color: #d1d5db; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero-inner     { grid-template-columns: 1fr; }
  .form-card      { order: -1; }
  .q-grid         { grid-template-columns: 1fr; }
  .company-wrap   { grid-template-columns: 1fr; }
  .footer-top     { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .anchor-nav a   { padding: .65rem .7rem; font-size: .72rem; }
}

/* ===== LEGAL / ABOUT / CONTACT PAGES ===== */
.legal-page, .about-page, .contact-page { padding: 4rem 1.25rem; }
.legal-page h1, .about-page h1, .contact-page h1 { font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 800; color: var(--head); margin-bottom: .5rem; letter-spacing:-.02em; }
.legal-page .meta, .about-page .lead + .meta, .contact-page .meta { font-size:.85rem; color:var(--muted); margin-bottom:2.5rem; }
.contact-page .meta { margin-bottom:2rem; }
.legal-page h2, .about-page h2 { font-size:1.15rem; font-weight:700; color:var(--head); margin:2rem 0 .75rem; }
.legal-page p, .legal-page li, .about-page p, .about-page li, .contact-page p, .contact-page li { font-size:.95rem; line-height:1.75; color:var(--body); margin-bottom:.75rem; }
.legal-page ul, .about-page ul { padding-left:1.25rem; margin-bottom:.75rem; }
.legal-page a, .about-page a, .contact-page a { color:var(--green); }
.legal-page strong, .about-page strong { color:var(--head); }

/* info-table (aviso-legal, quienes-somos) */
.info-table { width:100%; border-collapse:collapse; font-size:.92rem; margin:1rem 0 1.5rem; }
.info-table td { padding:.55rem .75rem; border-bottom:1px solid var(--border); vertical-align:top; }
.info-table td:first-child { color:var(--muted); font-weight:600; white-space:nowrap; width:38%; }
.info-table td:last-child { color:var(--head); }

/* cookie-table */
.cookie-table { width:100%; border-collapse:collapse; font-size:.88rem; margin:1rem 0 1.5rem; }
.cookie-table th { background:var(--bg-stone); padding:.65rem .9rem; text-align:left; font-weight:600; color:var(--head); border:1px solid var(--border); }
.cookie-table td { padding:.55rem .9rem; border:1px solid var(--border); vertical-align:top; color:var(--body); }
.cookie-table tr:nth-child(even) td { background:var(--bg-off); }

/* about-page specific */
.about-page .lead { font-size:1.05rem; line-height:1.75; color:var(--body); margin-bottom:2rem; }
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:1.5rem; margin:1.5rem 0; }
.about-card { background:var(--card); border:1px solid var(--border); border-radius:var(--radius); padding:1.5rem; }
.about-card h3 { font-size:1rem; font-weight:700; color:var(--head); margin-bottom:.5rem; }
.about-card p  { font-size:.88rem; color:var(--body); line-height:1.6; margin:0; }
@media(max-width:600px){ .about-grid { grid-template-columns:1fr; } }

/* contact-page specific */
.contact-card { background:var(--card); border:1px solid var(--border); border-radius:var(--radius); padding:2rem; box-shadow:var(--shadow); margin-bottom:1.5rem; }
.contact-card h2 { font-size:1rem; font-weight:700; color:var(--head); margin-bottom:1rem; }
.contact-card ul { list-style:none; padding:0; }
