:root {
  --ink-deep: #241a15;
  --ink-2: #3c2418;
  --ink-3: #5c2a1e;
  --brick: #8a3a2b;
  --brick-dark: #6b2c20;
  --brick-bright: #b5573f;
  --gold: #b3873f;
  --gold-dark: #96702f;
  --gold-bright: #d8b25e;
  --gold-soft: #f5e9d1;
  --cream: #faf6ef;
  --cream-2: #f2e9d9;
  --ink: #241f1c;
  --body: #4a423d;
  --muted: #746a63;
  --line: rgba(36, 26, 21, 0.12);
  --line-strong: rgba(36, 26, 21, 0.2);
  --page: #faf7f1;
  --paper: #ffffff;
  --ok: #157f3c;
  --warn: #96702f;
  --shadow-sm: 0 2px 6px rgba(36, 26, 21, 0.07);
  --shadow: 0 18px 45px rgba(36, 26, 21, 0.14);
  --shadow-lg: 0 30px 70px rgba(36, 26, 21, 0.2);
  --radius: 18px;
  --radius-lg: 26px;
  --max: 1180px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

::selection { background: var(--gold); color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(179, 135, 63, 0.1), transparent 60%),
    radial-gradient(800px 600px at -10% 20%, rgba(138, 58, 43, 0.07), transparent 65%),
    var(--page);
}

a { color: var(--brick-dark); text-decoration: none; }
a:hover { color: var(--gold-dark); }
p, li { line-height: 1.7; color: var(--body); }
p { max-width: 68ch; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.18; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
img { max-width: 100%; height: auto; display: block; }

.site-header, .site-footer, main { width: min(calc(100% - 2rem), var(--max)); margin-left: auto; margin-right: auto; }

/* ========== HEADER / NAV ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.9rem 1.2rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.brand { display: flex; align-items: center; gap: 0.7rem; font-weight: 700; color: var(--ink-deep); }
.brand-logo {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ink-deep), var(--ink-3));
  color: var(--gold-bright);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.2);
}
.brand-logo svg { width: 26px; height: 26px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-display); font-size: 1.02rem; letter-spacing: -0.01em; }
.brand-text small { font-size: 0.7rem; color: var(--muted); font-weight: 500; letter-spacing: 0.02em; }

.site-nav { display: flex; gap: 0.1rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a {
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #382b23;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.site-nav a:hover { background: var(--gold-soft); color: var(--ink-deep); }
.site-nav a.active { background: var(--ink-deep); color: #fff; }
.site-nav a.active:hover { background: var(--ink-3); color: #fff; }

.nav-toggle {
  display: none;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

/* ========== BUTTONS ========== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.15;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s, color 0.18s, border-color 0.18s;
  white-space: nowrap;
  text-decoration: none;
}
.button svg { width: 18px; height: 18px; flex-shrink: 0; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--brick); color: #fff; box-shadow: 0 10px 22px rgba(138, 58, 43, 0.32); }
.button.primary:hover { background: var(--brick-dark); color: #fff; box-shadow: 0 14px 28px rgba(107, 44, 32, 0.4); }
.button.secondary { background: var(--ink-deep); color: #fff; }
.button.secondary:hover { background: var(--ink-3); color: #fff; }
.button.ghost { background: transparent; color: var(--ink-deep); border-color: var(--line-strong); }
.button.ghost:hover { background: var(--paper); border-color: var(--gold); color: var(--gold-dark); }
.button.whatsapp { background: #128c47; color: #fff; }
.button.whatsapp:hover { background: #0d6b36; color: #fff; }

.button.small { padding: 0.55rem 1rem; font-size: 0.9rem; min-height: 38px; }
.page-hero .button.ghost,
.page-hero .button.ghost.small {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}
.page-hero .button.ghost:hover,
.page-hero .button.ghost.small:hover {
  background: var(--gold);
  color: #ffffff;
  border-color: var(--gold);
}

.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }

/* ========== HERO ========== */
.page-hero {
  position: relative;
  margin: 1.6rem 0 2rem;
  padding: clamp(2.4rem, 5.5vw, 4.2rem) clamp(1.4rem, 4vw, 3.2rem);
  background: linear-gradient(135deg, var(--ink-deep) 0%, var(--ink-2) 55%, var(--ink-3) 100%);
  color: #f7ede2;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(216, 178, 94, 0.3), transparent 60%),
    radial-gradient(500px 400px at 0% 100%, rgba(92, 42, 30, 0.85), transparent 60%);
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
  pointer-events: none;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 22ch; }
.page-hero p.lead { font-size: 1.15rem; line-height: 1.6; max-width: 58ch; margin-top: 0.6rem; color: #e8dccb; }
.eyebrow {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  margin: 0 0 1rem;
  background: rgba(216, 178, 94, 0.18);
  color: var(--gold-bright);
  border: 1px solid rgba(216, 178, 94, 0.35);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero.light { background: linear-gradient(135deg, #ffffff 0%, #f3ece0 100%); color: var(--ink); border: 1px solid var(--line); }
.page-hero.light h1 { color: var(--ink-deep); }
.page-hero.light p.lead { color: var(--muted); }
.page-hero.light .eyebrow { background: var(--gold-soft); color: var(--gold-dark); border-color: rgba(179, 135, 63, 0.3); }

/* ========== SECTIONS ========== */
main { padding-bottom: 3rem; }
section { margin: 3rem 0; }
.section-head { text-align: center; max-width: 62ch; margin: 0 auto 2.2rem; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow.on-page { color: var(--gold-dark); background: var(--gold-soft); border-color: rgba(179, 135, 63, 0.3); }

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.6rem;
  margin: 1.8rem 0;
  padding: 1.15rem 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.trust-bar span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--ink-deep);
  font-size: 0.92rem;
}
.trust-bar span::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
}

/* ========== CARD GRIDS ========== */
.card-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(36, 26, 21, 0.13); border-color: rgba(179, 135, 63, 0.4); }
.card h3 { margin-top: 0.3rem; color: var(--ink-deep); font-family: var(--font-display); font-weight: 700; }
.card p { color: var(--muted); margin: 0.35rem 0 0.9rem; font-size: 0.95rem; }
.card .card-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  color: var(--brick); font-weight: 700; font-size: 0.92rem;
}
.card .card-link::after { content: "→"; transition: transform 0.15s; }
.card:hover .card-link::after { transform: translateX(3px); }
.card-icon {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-soft) 0%, #f0dcb8 100%);
  color: var(--gold-dark);
  margin-bottom: 0.3rem;
}
.card-icon svg { width: 26px; height: 26px; }

/* Two-path cards (home page) */
.path-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.path-card {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.path-card .path-eyebrow { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--brick); margin-bottom: 0.5rem; }
.path-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

/* Feature boxes */
.feature-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.feature {
  display: flex; gap: 0.9rem;
  padding: 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.feature-icon {
  flex: 0 0 42px;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--ink-deep);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-weight: 700;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.02rem; margin: 0 0 0.3rem; color: var(--ink-deep); }
.feature p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* Numbered step list (how it works) */
.step-list { counter-reset: step; display: grid; gap: 1rem; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
}
.step-num {
  counter-increment: step;
  width: 38px; height: 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brick) 0%, var(--brick-dark) 100%);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
  font-family: var(--font-display);
  flex-shrink: 0;
}
.step h3 { margin: 0 0 0.3rem; color: var(--ink-deep); }
.step p { margin: 0; }

/* ========== PRICING ========== */
.pricing-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 900px;
  margin: 0 auto;
}
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  position: relative;
}
.price-card.featured {
  border: 2px solid var(--gold);
  box-shadow: 0 18px 45px rgba(179, 135, 63, 0.2);
}
.price-badge {
  position: absolute;
  top: -14px; left: 1.8rem;
  padding: 0.25rem 0.75rem;
  background: var(--gold-dark);
  color: #fff;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.price { font-size: 2.4rem; font-weight: 800; color: var(--ink-deep); line-height: 1; margin: 0.4rem 0 0.2rem; font-family: var(--font-display); }
.price sup { font-size: 1.1rem; font-weight: 700; color: var(--muted); vertical-align: super; }
.price-sub { font-size: 0.9rem; color: var(--muted); }
.price-list { list-style: none; padding: 0; margin: 1.2rem 0; }
.price-list li { padding: 0.35rem 0 0.35rem 1.5rem; position: relative; font-size: 0.95rem; }
.price-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-dark); font-weight: 900; }

/* Pricing tables */
.table-wrap { overflow-x: auto; margin: 1.4rem 0; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
table.price-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 0.95rem; min-width: 480px; }
table.price-table caption { text-align: left; padding: 1rem 1.2rem 0; font-weight: 700; color: var(--ink-deep); font-family: var(--font-display); font-size: 1.1rem; }
table.price-table th, table.price-table td { padding: 0.85rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); }
table.price-table thead th { background: var(--cream-2); color: var(--ink-deep); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.03em; }
table.price-table tbody tr:last-child td { border-bottom: none; }
table.price-table tbody tr:hover { background: #fbf7ee; }
table.price-table td.num, table.price-table th.num { font-weight: 700; color: var(--brick-dark); white-space: nowrap; }
.price-note { font-size: 0.88rem; color: var(--muted); margin: 0.6rem 0 1.6rem; font-style: italic; }

/* ========== CALLOUT / BANNER ========== */
.callout {
  padding: 2rem clamp(1.2rem, 3vw, 2.4rem);
  background: linear-gradient(135deg, var(--ink-deep), var(--ink-2));
  color: #fff;
  border-radius: var(--radius-lg);
  display: flex;
  gap: 1.4rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.callout h2 { color: #fff; margin: 0 0 0.35rem; }
.callout p { color: #e8dccb; margin: 0; }
.callout .actions { margin-top: 0; }

.section-alt {
  margin: 3rem 0;
  padding: 3rem clamp(1.4rem, 4vw, 2.4rem);
  background: var(--cream-2);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(179, 135, 63, 0.14);
}

/* ========== FAQ ========== */
.faq-list { display: grid; gap: 0.9rem; max-width: 780px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.6rem; }
.faq-item h3 { margin: 0 0 0.5rem; color: var(--ink-deep); font-size: 1.08rem; }
.faq-item p { margin: 0; }
.faq-item p a { font-weight: 600; }

/* ========== STATS ========== */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  padding: 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stat { text-align: center; }
.stat .num { font-size: 1.8rem; font-weight: 800; color: var(--brick); line-height: 1; font-family: var(--font-display); }
.stat .label { font-size: 0.82rem; color: var(--muted); font-weight: 600; margin-top: 0.3rem; }

/* ========== AREAS ========== */
.areas-list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.area-chip {
  display: inline-flex; align-items: center;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-deep);
}

/* ========== ARTICLE / LEGAL ========== */
.how-to-article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.4rem); max-width: 780px; margin: 0 auto; }
.how-to-article h2 { color: var(--ink-deep); margin-top: 1.8em; }
.how-to-article h2:first-of-type { margin-top: 0.5em; }
.how-to-article ul, .how-to-article ol { padding-left: 1.2rem; }
.how-to-article li { margin-bottom: 0.4rem; }

/* ========== CONTACT FORM ========== */
.contact-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 820px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.contact-form { display: grid; gap: 0.9rem; }
.contact-form label { font-weight: 600; font-size: 0.9rem; color: var(--ink-deep); display: block; margin-bottom: 0.3rem; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(179, 135, 63, 0.2);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.honey { position: absolute; left: -9999px; visibility: hidden; }
.form-alert { padding: 0.9rem 1.1rem; border-radius: 10px; font-weight: 600; margin-bottom: 1rem; }
.form-alert.error { background: #fdecec; color: #8a1a1a; border: 1px solid #f4c2c2; }
.form-alert.info { background: var(--gold-soft); color: var(--warn); border: 1px solid rgba(179, 135, 63, 0.3); }

/* ========== FOOTER ========== */
.site-footer {
  margin-top: 3rem;
  padding: 2rem 1.4rem;
  background: var(--ink-deep);
  color: #ddd0c2;
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
}
.site-footer a { color: #ecdfce; }
.site-footer a:hover { color: var(--gold-bright); }
.footer-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  margin-bottom: 1.5rem;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: 0.86rem; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 0.8rem; font-family: var(--font-sans); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.4rem; font-size: 0.92rem; }
.footer-grid .brand { color: #fff; margin-bottom: 0.8rem; }
.footer-grid .brand-text small { color: #b7a58e; }
.footer-grid p { color: #c2b19c; font-size: 0.9rem; margin: 0 0 0.6rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  font-size: 0.82rem;
  color: #b7a58e;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ========== UTILITIES ========== */
.two-col { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.2rem; align-items: center; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
.prose { max-width: 68ch; }
.prose p { color: #2e2620; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4rem; }

.breadcrumbs { font-size: 0.85rem; color: var(--muted); margin: 0 0 0.6rem; }
.breadcrumbs a { color: var(--brick-dark); font-weight: 600; }
.breadcrumbs span { margin: 0 0.4rem; color: #c7b8a5; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Mobile nav */
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 0.6rem 0 0.2rem; justify-content: flex-start; }
  .site-nav.open { display: flex; }
  .site-header { flex-wrap: wrap; }
  .site-nav a { padding: 0.7rem 0.85rem; border-radius: 10px; }
  .brand-text small { display: none; }
}

/* Reduce motion accessibility */
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
