:root {
  --ink: #14202b;
  --ink-2: #3a4a58;
  --muted: #6b7a87;
  --line: #e4e0d8;
  --paper: #fbf9f5;
  --card: #ffffff;
  --navy: #13293d;
  --navy-2: #1d3b55;
  --amber: #f2a33a;
  --amber-2: #e08a12;
  --amber-soft: #fdf1df;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; }
a { color: var(--navy-2); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; color: var(--ink-2); }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 249, 245, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--navy); text-decoration: none; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px; background: var(--navy);
  display: grid; place-items: center;
}
.logo-mark span { width: 12px; height: 12px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px 3px rgba(242,163,58,.7); }
nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; align-items: center; }
nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .95rem; }
nav a:hover, nav a[aria-current="page"] { color: var(--navy); }
.menu-toggle { display: none; }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 10px; font-weight: 650;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem;
  transition: transform .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: var(--navy); }
.btn-primary:hover { background: var(--amber-2); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-light { border-color: rgba(255,255,255,.5); color: #fff; }
nav .btn { padding: 9px 16px; color: var(--navy); }

/* Hero */
.hero { padding: 88px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--amber-2); background: var(--amber-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero p.lead { font-size: 1.2rem; max-width: 34em; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.fine { font-size: .88rem; color: var(--muted); margin-top: 14px; }

.phone-card {
  background: var(--navy); color: #fff; border-radius: 22px; padding: 26px;
  box-shadow: 0 30px 60px -20px rgba(19,41,61,.45);
}
.phone-card .time { font-size: .8rem; color: #9fb3c6; margin-bottom: 14px; display: flex; justify-content: space-between; }
.bubble { padding: 12px 15px; border-radius: 16px; margin-bottom: 10px; font-size: .95rem; max-width: 88%; }
.bubble.in { background: #233f59; border-bottom-left-radius: 4px; }
.bubble.out { background: var(--amber); color: var(--navy); margin-left: auto; border-bottom-right-radius: 4px; }
.bubble.sys { background: transparent; color: #9fb3c6; font-size: .8rem; text-align: center; max-width: 100%; padding: 4px; }

/* Sections */
section { padding: 80px 0; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dark { background: var(--navy); color: #fff; }
.dark p { color: #c4d2df; }
.dark h2, .dark h3 { color: #fff; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.card .icon {
  width: 44px; height: 44px; border-radius: 11px; background: var(--amber-soft); color: var(--amber-2);
  display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 16px;
}
.card p:last-child { margin-bottom: 0; }
.card ul { padding-left: 1.1em; margin: 0; color: var(--ink-2); }
.card li { margin-bottom: 6px; }

.stat { font-size: 2.4rem; font-weight: 800; color: var(--amber); letter-spacing: -0.03em; }

.steps { counter-reset: step; }
.step { position: relative; padding-left: 64px; margin-bottom: 30px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--amber); font-weight: 800; display: grid; place-items: center;
}

.problem-list { list-style: none; padding: 0; margin: 0; }
.problem-list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; color: var(--ink-2); }
.problem-list li strong { color: var(--ink); }
.problem-list li::before { content: "✕"; color: #c2410c; font-weight: 800; }
.fix-list li::before { content: "✓"; color: #15803d; }

/* Pricing */
.price-card { display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--amber); position: relative; }
.price-card.featured::after {
  content: "Most popular"; position: absolute; top: -13px; left: 28px; background: var(--amber); color: var(--navy);
  font-size: .75rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em;
}
.price { font-size: 2.6rem; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; }
.price small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.price-card ul { margin: 18px 0 26px; flex: 1; }
.price-card .btn { text-align: center; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { font-weight: 650; cursor: pointer; font-size: 1.05rem; list-style: none; }
summary::after { content: "+"; float: right; color: var(--amber-2); font-weight: 800; }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band p { max-width: 36em; margin: 0 auto 26px; }

/* Forms */
form .field { margin-bottom: 16px; }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff;
}
textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .9rem; color: var(--muted); }
.form-success { display: none; background: #ecfdf3; border: 1px solid #a7e3bd; padding: 16px; border-radius: 10px; color: #14532d; }

/* Page hero */
.page-hero { padding: 72px 0 40px; }
.page-hero p { font-size: 1.15rem; max-width: 40em; }

/* Footer */
footer { background: var(--navy); color: #9fb3c6; padding: 56px 0 30px; font-size: .92rem; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
footer h4 { color: #fff; margin: 0 0 12px; font-size: .95rem; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 8px; }
footer a { color: #c4d2df; text-decoration: none; }
footer a:hover { color: var(--amber); }
footer .logo { color: #fff; margin-bottom: 12px; }
footer p { color: #9fb3c6; }
.copyright { max-width: var(--max); margin: 36px auto 0; padding: 20px 24px 0; border-top: 1px solid #284660; }

@media (max-width: 900px) {
  .hero .wrap, .grid-3, .grid-2, .grid-4, footer .wrap { grid-template-columns: 1fr; }
  nav ul { display: none; }
  nav ul.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--paper); padding: 20px; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: block; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: inherit; }
  section { padding: 60px 0; }
  .hero { padding: 56px 0; }
}
