/* Pavlino Digital — site styles */
:root {
  --navy: #111827;
  --navy-2: #1B2335;
  --navy-line: #2C364C;
  --ink-deep: #0B1120;
  --amber: #E8A00C;
  --amber-ink: #8A5D00;
  --check: #C88A00;
  --paper: #F6F5F0;
  --white: #FFFFFF;
  --line: #E6E3DA;
  --text: #111827;
  --muted: #4A5163;
  --muted-dark: #C9CFDA;
  --muted-dark-2: #9AA3B5;
  --wa: #25D366;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: 'Montserrat', sans-serif; margin: 0; line-height: 1.15; }
h1 { font-size: 52px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
h2 { font-size: 40px; font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; line-height: 1.3; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--text); }
a:hover { color: var(--amber-ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 40px; }
.section { padding: 88px 0; }
.section-sm { padding: 64px 0; }
.bg-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bg-dark { background: var(--navy); color: var(--white); }
.bg-amber { background: var(--amber); }
.eyebrow { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber-ink); }
.bg-dark .eyebrow { color: var(--amber); }
.lead { font-size: 20px; color: var(--muted); max-width: 760px; }
.bg-dark .lead { color: var(--muted-dark); }
.muted { color: var(--muted); }
.bg-dark .muted { color: var(--muted-dark); }
.small { font-size: 15px; }
.accent { color: var(--amber); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 780px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 14px 24px; border-radius: 6px; font-weight: 700; text-decoration: none; border: 1.5px solid transparent; font-size: 17px; cursor: pointer; font-family: inherit; }
.btn-amber { background: var(--amber); color: var(--navy); }
.btn-amber:hover { background: #F2B12E; color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #222C42; color: var(--white); }
.btn-ghost { border-color: #4B5568; color: var(--white); font-weight: 500; }
.btn-ghost:hover { border-color: var(--amber); color: var(--white); }
.btn-wa { background: var(--wa); color: var(--ink-deep); }
.btn-wa:hover { background: #3BE07A; color: var(--ink-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link { font-weight: 700; color: var(--amber-ink); }
.bg-dark .text-link { color: var(--amber); }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.site-header .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 16px; padding-bottom: 16px; }
.brand img { height: 40px; width: auto; }
.site-nav { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px 16px; font-weight: 500; font-size: 15px; white-space: nowrap; }
.site-nav a { text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--amber-ink); font-weight: 700; }
.site-nav .btn { min-height: 44px; padding: 10px 14px; font-size: 15px; }
.nav-toggle { display: none; align-items: center; gap: 8px; background: var(--white); border: 1.5px solid #D9D5CA; border-radius: 6px; padding: 10px 14px; font: inherit; font-weight: 700; color: var(--text); cursor: pointer; min-height: 44px; }

/* Hero */
.hero { padding: 80px 0 88px; }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 56px; align-items: center; }
.breadcrumb { font-size: 15px; color: var(--muted-dark-2); }
.breadcrumb a { color: var(--muted-dark-2); }

/* Grids & cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card-dark { background: var(--navy); color: var(--white); border-color: var(--navy); }
.card-dark .muted { color: var(--muted-dark); }
.card-panel { background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: 12px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.card-panel p { color: #B8BFCC; }
.card-paper { background: var(--paper); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
a.card { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--amber); transform: translateY(-2px); color: inherit; }
a.card.card-dark, a.card.card-dark:hover { color: var(--white); }
.card-dark .text-link { color: var(--amber); }
.field .lbl { display: block; }
.card .num { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 32px; color: var(--amber); line-height: 1; }
.tag { align-self: flex-start; background: var(--amber); color: var(--navy); font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.rule-top { border-top: 3px solid var(--amber); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }

/* Lists */
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 12px; }
.check-list svg { flex-shrink: 0; margin-top: 3px; }
.dot-list { display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 16px; padding-left: 20px; list-style: disc; }
.card-dark .dot-list { color: var(--muted-dark); }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list li { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 16px; font-weight: 500; font-size: 15px; }

/* Flow diagram (home hero) */
.flow { background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.flow-step { display: flex; align-items: center; gap: 16px; background: var(--navy); border-radius: 10px; padding: 16px 18px; }
.flow-step.loop { border: 1.5px dashed var(--amber); }
.flow-step .n { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 15px; color: var(--navy); background: var(--amber); width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.flow-step p:last-child { font-size: 15px; color: var(--muted-dark-2); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 28px; }
.steps li { display: flex; flex-direction: column; gap: 8px; }
.steps .n { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 40px; color: var(--amber); line-height: 1; }
.steps p { font-size: 15px; color: var(--muted); }
.v-steps { display: flex; flex-direction: column; gap: 20px; }
.v-steps li { display: flex; gap: 16px; }
.v-steps .n { font-family: 'Montserrat', sans-serif; font-weight: 800; color: var(--navy); background: var(--amber); width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 20px 24px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { color: var(--muted); margin-top: 10px; }

/* CTA band */
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { font-size: 32px; max-width: 700px; }

/* Founder */
.founder { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.founder img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

/* Forms */
.form-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px; align-items: start; }
.lead-form { background: var(--white); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: 15px; }
.field.full, .lead-form .full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; border: 1px solid #BDB8AC; border-radius: 6px; padding: 12px 14px; background: var(--white); color: var(--text); width: 100%; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: 2px solid var(--amber); outline-offset: 0; }
.hint { font-weight: 400; font-size: 13px; color: #5C6270; }
.req { color: #B42318; }
fieldset.field { border: 0; padding: 0; margin: 0; }
fieldset.field legend { padding: 0; margin-bottom: 6px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #BDB8AC; border-radius: 999px; padding: 9px 16px; cursor: pointer; font-weight: 500; min-height: 44px; }
.radio-row input { accent-color: var(--navy); width: 18px; height: 18px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 400; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex-shrink: 0; }
.form-status { margin: 0; font-size: 15px; color: #B42318; }
.form-status:empty { display: none; }
.lead-form button[type="submit"] { width: 100%; }
.lead-form button[type="submit"]:disabled { opacity: 0.7; cursor: wait; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Legal pages */
.legal h2 { font-size: 24px; margin-bottom: 10px; }
.legal p, .legal li { color: #33394A; }
.legal ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal section { display: flex; flex-direction: column; gap: 10px; }

/* Footer */
.site-footer { background: var(--ink-deep); color: #B8BFCC; font-size: 15px; }
.site-footer .container { padding-top: 64px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 36px; }
.footer-grid div { display: flex; flex-direction: column; gap: 10px; }
.footer-grid .title { color: var(--white); font-weight: 700; }
.site-footer a { color: #B8BFCC; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-logo { height: 40px; width: auto; align-self: flex-start; }
.footer-base { border-top: 1px solid #222B3D; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
.footer-base a { text-decoration: underline !important; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 50; display: flex; align-items: center; gap: 10px; background: var(--wa); color: var(--ink-deep); font-weight: 700; font-size: 16px; text-decoration: none; padding: 14px 20px; border-radius: 999px; box-shadow: 0 8px 24px rgba(11, 17, 32, 0.28); }
.wa-float:hover { color: var(--ink-deep); background: #3BE07A; }

@media (max-width: 1279px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; width: 100%; flex-direction: column; white-space: normal; align-items: stretch; gap: 2px; padding-top: 8px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 4px; }
  .site-nav .btn { margin-top: 8px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .cta-band h2 { font-size: 26px; }
  .lead { font-size: 18px; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
  .lead-form { padding: 22px; }
  .wa-float { padding: 16px; bottom: 16px; right: 16px; }
  .wa-float span { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } a.card { transition: none; } }
