/* La Vitrina landing: same colours and fonts as the docs site (orange on warm stone, DM Sans + DM Mono). */
:root {
  --ink: #1c1917;
  --ink-2: #44403c;
  --muted: #57534e;
  --faint: #78716c;
  --line: #e7e2dc;
  --line-strong: #d6d0ca;
  --paper: #faf8f5;
  --card: #ffffff;
  --accent: #c2410c;
  --accent-dark: #9a3412;
  --accent-soft: #ffedd5;
  --accent-light: #fdba74;
  --dark: #1c1917;
  --code: #0c0a09;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3, p { margin: 0; }
section[id] { scroll-margin-top: 80px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-dark); }
.lead { font-size: 19px; line-height: 1.6; color: var(--muted); }
.check { flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 12px; font-weight: 600; font-size: 17px; text-decoration: none; }
.btn-sm { min-height: 44px; padding: 0 18px; border-radius: 10px; font-size: 15px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-2); color: var(--ink); }
.btn-light { background: var(--accent-light); color: var(--ink); font-weight: 700; }
.btn-light:hover { background: #fed7aa; color: var(--ink); }
.btn-outline-accent { border: 1px solid var(--accent); color: #7c2d12; }
.btn-whatsapp { background: #166534; color: #fff; }
.btn-whatsapp:hover { background: #14532d; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(250, 248, 245, 0.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.nav-links { display: flex; flex-wrap: wrap; gap: 4px 24px; flex: 1 1 auto; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--ink-2); text-decoration: none; padding: 12px 0; }
.nav-links a:hover { color: var(--accent); }
.nav-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-block: 88px 72px; }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-text .btn-row { margin-top: 8px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 62px); line-height: 1.04; letter-spacing: -0.03em; }
.hero .lead { max-width: 560px; }
.hero-code { flex: 1 1 440px; min-width: 0; }

/* Code windows */
.code-card { border-radius: 16px; background: var(--dark); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(28, 25, 23, 0.45); }
.code-card.dark { background: var(--code); border: 1px solid var(--ink-2); box-shadow: none; border-radius: 14px; }
.code-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #292524; font-family: var(--mono); font-size: 13px; color: #a8a29e; }
.code-head .tag { color: var(--accent-light); }
.tabs { display: flex; gap: 4px; padding: 10px 12px; border-bottom: 1px solid #292524; font-family: var(--mono); font-size: 13px; }
.tabs span { padding: 6px 12px; color: #a8a29e; }
.tabs .on { border-radius: 6px; background: #292524; color: #fafaf9; }
.code-card pre { margin: 0; padding: 22px; font-family: var(--mono); font-size: 14px; line-height: 1.75; color: #e7e5e4; overflow-x: auto; white-space: pre; }
.c-com { color: #a8a29e; }
.c-key { color: var(--accent-light); }
.c-str { color: #86efac; }
.code-foot { border-top: 1px solid #292524; padding: 14px 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 14px; color: #d6d3d1; }
.code-foot span { display: flex; gap: 8px; align-items: center; }
.code-foot.mono { font-family: var(--mono); font-size: 13px; color: #a8a29e; gap: 10px; }
.status-200 { background: #15803d; color: #fff; padding: 2px 8px; border-radius: 5px; }

/* Sections */
.band { background: var(--card); border-block: 1px solid var(--line); }
.section { padding-block: 88px; display: flex; flex-direction: column; gap: 48px; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 700px; }
.section-head h2 { font-size: 40px; line-height: 1.1; letter-spacing: -0.02em; }
.section-head p:not(.eyebrow) { font-size: 18px; line-height: 1.6; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 12px; background: var(--paper); }
.card h3 { font-size: 20px; }
.card p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.steps li { display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--ink); padding-top: 20px; }
.steps .num { font-family: var(--mono); font-size: 15px; font-weight: 500; color: var(--accent-dark); }
.steps h3 { font-size: 22px; }
.steps p { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Docs band */
.dark-band { background: var(--dark); color: #fafaf9; }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-block: 88px; }
.split > div { flex: 1 1 420px; min-width: 0; }
.split-text { display: flex; flex-direction: column; gap: 20px; }
.split-text .eyebrow { color: var(--accent-light); }
.split-text h2 { font-size: 40px; line-height: 1.1; letter-spacing: -0.02em; }
.split-text > p:not(.eyebrow) { font-size: 18px; line-height: 1.6; color: #d6d3d1; }
.split-text .btn-row { margin-top: 8px; }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; color: #e7e5e4; }
.ticks li { display: flex; gap: 10px; align-items: center; }

/* Final call */
.cta { padding-block: 88px; }
.cta-box { border-radius: 24px; background: var(--accent-soft); padding: 56px 40px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.cta-box > div:first-child { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cta-box h2 { font-size: 36px; line-height: 1.15; letter-spacing: -0.02em; color: #431407; }
.cta-box p { font-size: 18px; line-height: 1.6; color: #7c2d12; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.foot { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-block: 48px; }
.foot-brand { flex: 1 1 260px; display: flex; flex-direction: column; gap: 12px; }
.foot-brand strong { font-size: 18px; }
.foot-brand p { font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 320px; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 56px; }
.foot-cols div { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot-cols a { color: var(--muted); text-decoration: none; }
.foot-cols a:hover { color: var(--accent); }
.copy { padding-bottom: 32px; font-size: 14px; color: var(--faint); }
.foot-small { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding-block: 32px; font-size: 14px; color: var(--faint); }
.foot-small a { color: var(--muted); text-decoration: none; }

/* Contact page */
.page-head { display: flex; flex-direction: column; gap: 20px; padding-block: 88px 48px; }
.page-head h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -0.03em; max-width: 820px; }
.page-head .lead { max-width: 640px; }
.channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; padding-bottom: 72px; }
.channel { border: 1px solid var(--line); border-radius: 20px; background: var(--card); padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.channel h2 { font-size: 26px; letter-spacing: -0.01em; }
.channel p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.channel .contact-value { font-family: var(--mono); font-size: 17px; color: var(--ink); }
.channel .btn { margin-top: 8px; }
.icon-lg { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.icon-green { background: #dcfce7; color: #166534; }
.icon-orange { background: var(--accent-soft); color: var(--accent); }
.tips { display: flex; flex-wrap: wrap; gap: 48px; padding-block: 72px; }
.tips > div { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.tips h2 { font-size: 32px; line-height: 1.15; letter-spacing: -0.02em; }
.tips > div p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.tips ul { flex: 2 1 480px; min-width: 0; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.tips li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.tips li svg { margin-top: 2px; }
.docs-nudge { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-block: 56px; }
.docs-nudge p { font-size: 17px; color: var(--muted); }

@media (max-width: 640px) {
  .hero, .page-head { padding-block: 56px 40px; }
  .section, .split, .cta { padding-block: 64px; }
  .section-head h2, .split-text h2 { font-size: 32px; }
  .cta-box { padding: 36px 24px; }
  .cta-box h2 { font-size: 28px; }
  .channel { padding: 28px; }
}

/* Contact form */
.contact-grid { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; padding-bottom: 72px; }
.contact-grid .form-card { flex: 999 1 520px; min-width: 0; }
.contact-grid .channel { flex: 1 1 300px; min-width: 0; }
.form-card { border: 1px solid var(--line); border-radius: 20px; background: var(--card); padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.form-card h2 { font-size: 26px; letter-spacing: -0.01em; }
.form-card > p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field .opt { font-weight: 400; color: var(--faint); }
.field input, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%; }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.form-card button { border: 0; cursor: pointer; font-family: inherit; align-self: flex-start; }
/* Honeypot: hidden from people, bots fill it */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Result pages */
.result { max-width: 640px; margin: 0 auto; padding: 120px 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.result h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; }
.result p { font-size: 18px; line-height: 1.6; color: var(--muted); }
