:root {
  --navy: #0f2a44;
  --navy-2: #173b5e;
  --blue: #1f6fb2;
  --accent: #f5a524;
  --accent-dark: #d98b0b;
  --ink: #1b2430;
  --muted: #5b6878;
  --line: #e2e7ee;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 42, 68, 0.10);
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); }

h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Top bar */
.topbar { background: var(--navy); color: #dbe6f2; font-size: 14px; }
.topbar .container { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; margin-right: 6px; box-shadow: 0 0 0 0 rgba(61,220,132,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.logo img { width: 40px; height: 40px; }
.logo strong { font-size: 1.35rem; letter-spacing: .04em; }
.logo span { display: block; font-size: .75rem; color: var(--muted); letter-spacing: .02em; margin-top: -4px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--bg-soft); color: var(--navy); }
.nav .btn { margin-left: 8px; }

.menu-toggle { display: none; }

@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: inherit; font-weight: 600; color: var(--navy); cursor: pointer; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit; transition: transform .1s ease, background .2s ease; }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: #1b1300; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.nav .btn-accent { color: #1b1300; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #2a5f93 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, #0b2036 100%); color: #e8f0f8; padding: 64px 0 72px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.2rem; color: #c9d8e8; max-width: 36em; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 28px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px 20px; list-style: none; padding: 0; margin: 0; font-size: .95rem; }
.badges li { display: flex; align-items: center; gap: 8px; }
.badges li::before { content: ""; width: 18px; height: 18px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5a524' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/contain no-repeat; }
.hero-art { justify-self: center; width: 100%; max-width: 440px; }
@media (max-width: 860px) {
  .hero { padding: 40px 0 48px; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { max-width: 300px; order: -1; }
}

.page-hero { background: linear-gradient(160deg, var(--navy) 0%, #0b2036 100%); color: #c9d8e8; padding: 48px 0; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { margin: 0; max-width: 40em; font-size: 1.1rem; }
.crumbs { font-size: .9rem; margin-bottom: 12px; }
.crumbs a { color: #9fc0e0; }

/* Sections */
.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
@media (max-width: 640px) { .section { padding: 52px 0; } }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 2px 0 rgba(15,42,68,.03); }
.card h3 { margin-top: 14px; }
.card p { color: var(--muted); margin: 0; }
.card .price { margin-top: 14px; font-weight: 700; color: var(--navy); }
.icon { width: 52px; height: 52px; border-radius: 12px; background: #e9f2fb; display: grid; place-items: center; }
.icon svg { width: 28px; height: 28px; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 64px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; }
.steps h3 { margin: 6px 0 4px; }
.steps p { color: var(--muted); margin: 0; }

/* Areas */
.areas { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.areas li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 600; color: var(--navy); font-size: .95rem; }

/* Price table */
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.price-table th, .price-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th { background: var(--navy); color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; font-weight: 700; color: var(--navy); }
.price-table th:last-child { color: #fff; }
.price-table small { display: block; color: var(--muted); font-weight: 400; }
.price-table tr:last-child td { border-bottom: 0; }
.note { color: var(--muted); font-size: .93rem; margin-top: 14px; }
@media (max-width: 560px) {
  .price-table th, .price-table td { padding: 12px; }
  .price-table td:last-child { white-space: normal; }
}

/* Service detail */
.service { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 32px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.service:last-child { border-bottom: 0; }
.service .icon { width: 72px; height: 72px; border-radius: 16px; }
.service .icon svg { width: 38px; height: 38px; }
.service ul { color: var(--muted); padding-left: 1.2em; margin: 0 0 1em; }
.service .price { font-weight: 700; color: var(--navy); }
@media (max-width: 560px) { .service { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* CTA band */
.cta { background: var(--accent); color: #1b1300; padding: 44px 0; }
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta h2 { color: #1b1300; margin: 0 0 4px; }
.cta p { margin: 0; }

/* Form */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } .form { padding: 20px; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #c8d2de; border-radius: 10px; font: inherit; color: var(--ink); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(31,111,178,.25); border-color: var(--blue); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--muted); margin-bottom: 18px; }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; font-weight: 600; }
.alert-error { background: #fdecec; color: #8a1c1c; border: 1px solid #f5c2c2; }
.info-card { background: var(--navy); color: #c9d8e8; border-radius: var(--radius); padding: 28px; }
.info-card h2, .info-card h3 { color: #fff; }
.info-card a { color: #fff; font-weight: 700; }
.info-card dl { margin: 0; }
.info-card dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: #8fb0d0; margin-top: 16px; }
.info-card dd { margin: 2px 0 0; font-size: 1.05rem; color: #fff; }

/* Footer */
.footer { background: #0b2036; color: #9fb4ca; padding: 48px 0 24px; font-size: .95rem; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer .cols { grid-template-columns: 1fr; } }
.footer h2 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; }
.footer a { color: #dbe6f2; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 6px; }
.footer .bottom { border-top: 1px solid #1d3a57; margin-top: 32px; padding-top: 18px; font-size: .85rem; }

/* Floating call button on mobile */
.call-fab { display: none; }
@media (max-width: 760px) {
  .call-fab { display: flex; position: fixed; right: 16px; bottom: 16px; z-index: 60; box-shadow: 0 8px 24px rgba(0,0,0,.25); border-radius: 999px; }
  body { padding-bottom: 72px; }
}

.center { text-align: center; }
.mt { margin-top: 28px; }
