:root {
  --ink: #10231b;
  --muted: #4f6158;
  --accent: #0e7a41;
  --accent-dark: #0a5c31;
  --accent-soft: #e4f4ea;
  --bg: #ffffff;
  --soft: #f3f7f4;
  --line: #dfe8e2;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

a { color: var(--accent); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Language switching: Spanish is shown by default (also without JavaScript). */
html[data-lang="es"] .en,
html:not([data-lang]) .en { display: none !important; }
html[data-lang="en"] .es { display: none !important; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 16px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; letter-spacing: 0.02em; color: var(--ink); text-decoration: none; font-size: 1.2rem;
}
.brand .word > span { color: var(--accent); }
.brand svg { width: 30px; height: 30px; flex: none; }
nav.main { display: flex; align-items: center; gap: 22px; }
nav.main a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
nav.main a:hover { color: var(--accent); }
.lang-toggle {
  border: 1px solid var(--line); background: var(--soft); color: var(--ink);
  border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 0.85rem; cursor: pointer;
}
@media (max-width: 760px) {
  nav.main a.navlink { display: none; }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #08201a 0%, #0d3b2b 55%, #138a4c 140%);
  color: #fff; padding: 96px 0 88px;
}
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.3rem); line-height: 1.12; margin: 0 0 18px; max-width: 760px; }
.hero p { font-size: 1.15rem; max-width: 640px; color: #cfe3d8; margin: 0 0 30px; }
.hero .badge { background: rgba(255,255,255,0.12); color: #d9f2e3; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; background: #fff; color: var(--ink); font-weight: 600;
  padding: 12px 22px; border-radius: 8px; text-decoration: none; border: 1px solid #fff;
}
.btn:hover { background: #e6f3eb; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn.ghost:hover { background: rgba(255,255,255,0.1); }

.badge {
  display: inline-block; background: var(--accent-soft); color: var(--accent);
  font-weight: 700; font-size: 0.8rem; padding: 4px 12px; border-radius: 999px; margin-bottom: 16px;
}

/* Sections */
section { padding: 80px 0; }
section.alt { background: var(--soft); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; color: var(--accent); font-weight: 700; margin: 0 0 8px; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0 0 18px; line-height: 1.2; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 760px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; margin-top: 36px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px;
}
.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* Numbered steps */
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 14px;
}

/* Subscription */
.two-col { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 24px 0 0; }
.checks li { padding-left: 32px; position: relative; margin-bottom: 14px; color: var(--ink); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 800; }
.owner-card { background: var(--soft); }
.owner-card p + p { margin-top: 12px; }

/* Contact */
.contact-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; margin-top: 30px; }
.contact-box .card a { font-weight: 600; }

/* Footer */
footer.site { background: #08201a; color: #b4c9bd; padding: 40px 0; font-size: 0.92rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer.site a { color: #fff; }

/* Legal pages */
.legal { padding: 60px 0 80px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 6px; }
.legal h2 { font-size: 1.3rem; margin: 36px 0 10px; scroll-margin-top: 84px; }
.legal p, .legal li { color: #2a3a32; }
.legal .updated { color: var(--muted); font-size: 0.95rem; margin-bottom: 30px; }
