:root {
  --ink: #18212a;
  --ink-soft: #42505d;
  --paper: #f5f6f4;
  --white: #fff;
  --line: #d9dfe1;
  --gold: #f5bc3d;
  --gold-deep: #d88b12;
  --navy: #13191e;
  --green: #156d43;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-underline-offset: .18em; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { overflow-wrap: break-word; }
main, section, article, .grid > *, .row > * { min-width: 0; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 12px; z-index: 1000; background: var(--gold); color: var(--ink); font-weight: 800; padding: 10px 18px; border-radius: 0 0 9px 9px; }
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid #1477aa; outline-offset: 3px; }

/* Shared navigation */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--white); border-bottom: 1px solid #394147; box-shadow: 0 5px 20px #10182021; }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 82px; }
.brand { display: flex; align-items: center; gap: 11px; min-width: max-content; color: var(--white); text-decoration: none; }
.brand-logo-shell { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid #4a5054; border-radius: 11px; background: #070b10; overflow: hidden; }
.brand-logo { width: 48px; height: 48px; object-fit: contain; }
.brand-title { display: block; font-size: 1.25rem; font-weight: 850; line-height: 1.1; letter-spacing: -.025em; }
.brand-sub { display: block; color: #c6ced3; font-size: .75rem; line-height: 1.4; }
.menu-panel { display: flex; align-items: center; gap: 18px; flex: 1; justify-content: flex-end; }
.main-nav, .header-cta { display: flex; align-items: center; gap: 4px; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 10px; border-radius: 6px; color: #e8edef; text-decoration: none; font-size: .88rem; font-weight: 650; white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { background: #ffffff19; color: var(--white); }
.main-nav a.active { box-shadow: inset 0 -3px var(--gold); }
.header-cta { gap: 8px; }
.menu-toggle { display: none; }

/* Buttons and links */
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 10px 18px; border: 1px solid transparent; border-radius: 8px; font-weight: 750; font-size: .95rem; line-height: 1.3; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .18s, border-color .18s, transform .18s; }
.btn:hover { transform: translateY(-1px); }
.btn-pop, .btn--solid { background: var(--gold); border-color: var(--gold); color: #17212a; }
.btn-pop:hover, .btn--solid:hover { background: #ffcf61; }
.btn-dark { border-color: #65727a; background: transparent; color: var(--white); }
.btn-dark:hover { background: #ffffff17; }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: #f3f4f4; }
.btn--ghost { border-color: #71808a; background: transparent; color: var(--ink); }
.btn--ghost:hover { background: #edf0f0; }
.btn-whatsapp { background: #e2f4e8; border-color: #a6d7b9; color: #115e38; }
.btn-big { min-height: 50px; padding-inline: 21px; }
.btn-full { width: 100%; }
.hero-quick-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 22px; }
.hero-quick-links a { color: #ffe0a0; font-weight: 750; }
.hero-quick-links a:hover { color: var(--white); }

/* Homepage */
.hero-pop { background: radial-gradient(circle at 90% 45%, #334047 0%, #1b242a 30%, #11171b 75%); color: var(--white); padding: 70px 0 72px; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(330px, .78fr); grid-template-areas: "copy visual" "support visual"; align-items: center; column-gap: 55px; row-gap: 22px; }
.hero-copy { grid-area: copy; }
.hero-support { grid-area: support; }
.eyebrow, .section-tag, .kicker { display: inline-block; margin: 0; color: #955b02; background: #fff1c9; border-radius: 5px; padding: 5px 10px; text-transform: uppercase; letter-spacing: .1em; font-size: .73rem; line-height: 1.4; font-weight: 850; }
.hero-copy .eyebrow { color: #ffdb84; background: #f5bc3d1c; border-left: 3px solid var(--gold); border-radius: 0 5px 5px 0; }
.hero-copy h1 { max-width: 790px; margin: 20px 0 22px; font-size: clamp(2.8rem, 3.9vw, 4rem); line-height: 1.1; letter-spacing: -.045em; font-weight: 850; text-wrap: balance; }
.hero-lead { max-width: 650px; margin: 0; color: #e1e7ea; font-size: 1.15rem; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 26px; }
.pop-proof { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 9px; max-width: 640px; }
.pop-proof div { padding: 12px; border: 1px solid #4a5861; border-radius: 7px; background: #ffffff0c; }
.pop-proof strong { display: block; color: var(--gold); font-size: .85rem; }
.pop-proof span { display: block; color: #e0e6e9; font-size: .82rem; }
.hero-visual { grid-area: visual; position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #11171b; border: 1px solid #586168; border-radius: 9px; box-shadow: 0 22px 55px #06090caa; }
.hero-visual::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: var(--gold); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.quick-quote-zone { padding: 64px 0; }
.quote-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 28px; align-items: start; }
.quote-copy { position: sticky; top: 118px; padding: 30px; border: 1px solid #e5d49f; background: #fff7df; border-radius: 12px; }
.quote-copy h2 { margin: 16px 0 12px; font-size: clamp(2rem,3vw,3rem); line-height: 1.15; letter-spacing: -.035em; }
.quote-copy p { margin: 0; color: var(--ink-soft); }
.quote-tips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.quote-tips span { display: inline-block; padding: 6px 9px; border-radius: 5px; background: var(--white); color: #5a4620; font-size: .82rem; font-weight: 700; }
.card-pop, .quote-form { padding: 30px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 0 8px 28px #1a2b3611; }
.form-topline { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.form-topline strong { font-size: 1.45rem; line-height: 1.2; }
.form-topline span { color: var(--ink-soft); font-size: .82rem; }
.form-row, .row, .grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.form-group { margin-bottom: 16px; }
label, .form-group label { display: block; margin: 0 0 6px; color: var(--ink); font-weight: 700; font-size: .9rem; }
input, select, textarea, .input, .form-group input, .form-group select, .form-group textarea { display: block; width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #9ba8b1; border-radius: 7px; background: var(--white); color: var(--ink); }
textarea, .form-group textarea { min-height: 122px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: #116b94; outline: 3px solid #c8e9f7; }
::placeholder { color: #687782; opacity: 1; }
.form-note { margin: 12px 0 0; color: var(--ink-soft); font-size: .85rem; }
.pop-section { padding: 20px 0 65px; }
.section-heading { max-width: 700px; margin-bottom: 25px; }
.section-heading h2, .final-pop-box h2 { margin: 13px 0 0; font-size: clamp(2rem,3.4vw,3.3rem); line-height: 1.15; letter-spacing: -.04em; }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.feature-card { min-height: 220px; padding: 26px; border: 1px solid #dce1e3; border-radius: 12px; background: var(--white); }
.feature-card span { display: block; color: #a06607; font-weight: 850; font-size: .85rem; }
.feature-card h3 { margin: 18px 0 8px; font-size: 1.3rem; line-height: 1.25; }
.feature-card p { margin: 0; color: var(--ink-soft); }
.feature-card.card-dark { background: var(--navy); color: var(--white); border-color: var(--navy); }
.feature-card.card-dark p { color: #d3dce0; }
.symptom-strip { padding: 24px 0; background: #e7ecec; }
.symptom-strip-inner { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.symptom-strip strong { margin-right: 6px; }
.symptom-strip span { background: var(--white); border: 1px solid #d6dfe1; border-radius: 5px; padding: 5px 9px; font-size: .83rem; }
.final-pop-cta { padding: 65px 0; }
.final-pop-box { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding: 34px; background: var(--navy); color: var(--white); border-radius: 13px; }
.final-pop-box p { margin: 10px 0 0; color: #d5e0e2; }
.final-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Interior pages */
.card { width: min(calc(100% - 40px), 1040px); margin: 44px auto; padding: clamp(24px,4vw,50px); border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 0 8px 30px #1a2b360a; }
.card .card { width: auto; margin: 0; padding: 23px; box-shadow: none; background: #f8faf9; }
.card[id] { scroll-margin-top: 112px; }
.card > .grid { margin: 21px 0; }
.card > .grid + .grid { margin-top: 16px; }
.h1 { display: block; margin: 14px 0 20px; font-size: clamp(2.2rem,4vw,3.45rem); font-weight: 850; line-height: 1.13; letter-spacing: -.045em; }
.h2 { display: block; margin: 28px 0 10px; font-size: clamp(1.35rem,2.25vw,1.9rem); font-weight: 780; line-height: 1.25; letter-spacing: -.025em; }
.card .card .h2 { font-size: 1.28rem; margin-top: 0; }
.h3 { margin: 0 0 10px; font-size: 1.1rem; line-height: 1.3; }
.p, .section-intro { color: var(--ink-soft); line-height: 1.72; margin: 0 0 16px; }
.muted { color: #576570; font-size: .9rem; }
.hr { height: 1px; background: var(--line); margin: 30px 0; }
.card ul { color: var(--ink-soft); }
.card li { padding-left: 3px; margin-bottom: 5px; }
.card li a { color: #0b6389; font-weight: 700; }
.card li a:hover { color: #073e57; }
.area-list { list-style: none; margin: 0; padding: 0; }
.area-list li { margin: 0 0 7px; padding: 0; }
.area-link { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 9px 12px; border: 1px solid #dbe3e5; border-radius: 6px; background: var(--white); text-decoration: none; }
.area-link:hover { background: #eaf4f7; border-color: #a8cddc; }
.guide-grid-three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.card > div[style*="display:flex"] { gap: 10px; }
.card .btn { margin: 0; }
.hero { padding: 1px 0; }
.form > .row { margin-bottom: 16px; }
.form > input, .form > select, .form > textarea { margin-bottom: 16px; }
.form > label { margin-top: 16px; }
.alert { padding: 14px 16px; margin: 15px 0; border-radius: 7px; }
.alert.bad { background: #fff0ed; color: #9d3024; border: 1px solid #e3ada6; }

/* Footer */
.site-footer { margin-top: 0; padding: 34px 0 40px; background: var(--navy); color: #d0d9dd; }
.footer-inner { display: flex; justify-content: space-between; gap: 25px; }
.footer-brand { max-width: 425px; }
.footer-brand strong { display: block; margin-bottom: 5px; color: var(--white); font-size: 1.15rem; }
.footer-brand span { font-size: .88rem; }
.footer-links { display: flex; align-content: start; justify-content: flex-end; gap: 6px 17px; flex-wrap: wrap; max-width: 560px; }
.footer-links a { color: var(--white); font-size: .88rem; font-weight: 650; }
.footer-links a:hover { color: var(--gold); }

@media (max-width: 1150px) {
  .header-inner { min-height: 72px; }
  .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 46px; height: 46px; margin-left: auto; border: 1px solid #76828a; border-radius: 7px; background: transparent; color: var(--white); cursor: pointer; }
  .menu-toggle span { display: block; width: 21px; height: 2px; background: currentColor; }
  .menu-panel { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 18px 20px 24px; background: var(--navy); border-top: 1px solid #394750; box-shadow: 0 18px 30px #0b121b45; }
  .menu-open .menu-panel { display: block; }
  .main-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3px; }
  .main-nav a { width: 100%; }
  .header-cta { margin-top: 15px; }
}

@media (max-width: 800px) {
  .hero-layout, .quote-layout { grid-template-columns: 1fr; }
  .hero-layout { grid-template-areas: "copy" "visual" "support"; gap: 28px; }
  .hero-pop { padding: 48px 0 52px; }
  .hero-visual { max-width: 680px; }
  .quote-copy { position: static; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .final-pop-box { display: block; }
  .final-actions { margin-top: 20px; }
}

@media (max-width: 700px) {
  .container, .card { width: min(calc(100% - 28px), var(--container)); }
  .brand-sub { display: none; }
  .brand-logo-shell { width: 45px; height: 45px; }
  .brand-logo { width: 42px; height: 42px; }
  .brand-title { font-size: 1.1rem; }
  .main-nav, .header-cta, .form-row, .row, .grid { grid-template-columns: 1fr !important; }
  .header-cta { display: grid; }
  .header-cta .btn { width: 100%; }
  .hero-copy h1 { font-size: clamp(2.35rem,10vw,3.35rem); }
  .hero-lead { font-size: 1.04rem; }
  .pop-proof { grid-template-columns: 1fr; }
  .pop-proof div { display: flex; align-items: baseline; gap: 10px; }
  .hero-actions .btn, .final-actions .btn { width: 100%; }
  .hero-visual { width: 100%; }
  .quick-quote-zone, .final-pop-cta { padding: 42px 0; }
  .quote-copy, .quote-form, .final-pop-box { padding: 22px; }
  .card { margin: 24px auto; padding: 24px; }
  .card .card { padding: 18px; }
  .h1 { font-size: clamp(2rem,8vw,2.7rem); }
  .h2 { font-size: 1.35rem; }
  .footer-inner { display: block; }
  .footer-links { justify-content: flex-start; margin-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
