:root {
  --navy: #16283f;
  --navy-2: #1f3a5c;
  --amber: #c8801f;
  --amber-dark: #a76712;
  --stone: #f5f2ea;
  --stone-2: #ebe6d8;
  --ink: #1b2430;
  --muted: #5d6877;
  --white: #fff;
  --green: #1f7a4d;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(22, 40, 63, .08), 0 4px 14px rgba(22, 40, 63, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  padding-bottom: 64px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
a:hover { color: var(--amber-dark); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.4rem, 3.5vw, 1.9rem); margin: 1.6em 0 .5em; }
h3 { font-size: 1.15rem; margin: 1.2em 0 .4em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; color: #2c3a4b; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--amber-dark); margin: 0 0 .5em; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--stone-2); }
.header-row { display: flex; align-items: center; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.brand img { height: 40px; width: 218px; object-fit: cover; }
.footer-logo { height: 44px; width: 240px; object-fit: cover; filter: brightness(0) invert(1); }
.nav-toggle { margin-left: auto; background: none; border: 1px solid var(--stone-2); border-radius: 8px; padding: 8px 12px; font: inherit; }
.site-nav { display: none; width: 100%; padding-bottom: 12px; }
.site-nav.open { display: flex; flex-direction: column; }
.site-nav a { padding: 10px 4px; text-decoration: none; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--stone); }
.site-nav a[aria-current] { color: var(--amber-dark); }
.header-call { display: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; border-radius: 8px; border: 2px solid var(--navy); background: var(--white); color: var(--navy); font-weight: 700; text-decoration: none; cursor: pointer; font-size: 1rem; }
.btn:hover { background: var(--stone); color: var(--navy); }
.btn-lg { padding: 13px 20px; font-size: 1.05rem; }
.btn-primary { background: var(--amber); border-color: var(--amber); color: #fff; }
.btn-primary:hover { background: var(--amber-dark); border-color: var(--amber-dark); color: #fff; }
.btn-call { background: var(--navy); color: #fff; }
.btn-call:hover { background: var(--navy-2); color: #fff; }
.btn-viber { border-color: #7360f2; color: #5a48d6; }
.btn-wa { border-color: #1f9d57; color: #187a44; }
.btn-msgr { border-color: #0a7cff; color: #0663cc; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.stack { display: flex; flex-direction: column; gap: 10px; align-items: stretch; margin-bottom: 20px; }

/* hero */
.hero { background: linear-gradient(180deg, var(--stone) 0%, var(--white) 100%); padding: 28px 0 8px; }
.hero-grid { display: grid; gap: 24px; align-items: center; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.ticks { list-style: none; padding: 0; margin: 12px 0 0; }
.ticks li { padding-left: 26px; position: relative; margin: 6px 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }

/* sections */
.section { padding: 36px 0; }
.section.alt { background: var(--stone); }
.cards { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 16px 0; }
.card { background: var(--white); border: 1px solid var(--stone-2); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.card h2, .card h3 { margin-top: 0; }
.card p { margin: .4em 0; }
.card.placeholder { background: var(--stone); border-style: dashed; color: var(--muted); }
.card-link { text-decoration: none; color: inherit; display: block; transition: transform .15s, box-shadow .15s; }
.card-link:hover { transform: translateY(-2px); color: inherit; }
.card .more { color: var(--amber-dark); font-weight: 700; }
.price { color: var(--green); font-weight: 700; }
.price-box { background: var(--stone); border-left: 4px solid var(--amber); padding: 12px 14px; border-radius: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.chip { padding: 8px 14px; border: 1px solid var(--stone-2); border-radius: 999px; text-decoration: none; background: var(--white); font-weight: 600; }
.chip:hover { background: var(--stone); }

.steps { list-style: none; counter-reset: s; padding: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; background: var(--white); border: 1px solid var(--stone-2); border-radius: var(--radius); padding: 14px 14px 14px 58px; position: relative; display: flex; flex-direction: column; gap: 2px; }
.steps li::before { content: counter(s); position: absolute; left: 14px; top: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }
.steps li em { color: var(--muted); }

.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); margin: 16px 0; }
.gallery figure, figure { margin: 0; }
.gallery img { border-radius: 8px; border: 1px solid var(--stone-2); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--stone); }
figcaption { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.survey-plan-sample { margin: 16px 0 24px; }
.survey-plan-sample a { display: block; }
.survey-plan-sample img { display: block; width: 100%; height: auto; border: 1px solid var(--stone-2); border-radius: var(--radius); background: var(--stone); }
.survey-plan-sample a:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; border-radius: var(--radius); }

.crumbs { padding-top: 14px; font-size: .9rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

.cta-band { background: var(--navy); color: #fff; padding: 32px 0; text-align: center; }
.cta-band h2 { color: #fff; margin-top: 0; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn { background: #fff; }
.cta-band .btn-primary { background: var(--amber); }
.cta-band .btn-call { background: var(--navy-2); border-color: #fff; color: #fff; }

details.faq { border: 1px solid var(--stone-2); border-radius: 8px; margin: 10px 0; padding: 0 14px; background: var(--white); }
details.faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; color: var(--navy); }
details.faq p { margin: 0 0 14px; }

/* form */
.lead-form { display: grid; gap: 14px; background: var(--white); padding: 18px; border: 1px solid var(--stone-2); border-radius: var(--radius); box-shadow: var(--shadow); }
.lead-form label { display: grid; gap: 4px; font-weight: 600; font-size: .95rem; }
.lead-form input, .lead-form select, .lead-form textarea { font: inherit; padding: 11px 12px; border: 1px solid #b9c2cf; border-radius: 8px; background: #fff; width: 100%; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 3px solid rgba(200, 128, 31, .35); border-color: var(--amber); }
.lead-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.lead-form .check input { width: auto; margin-top: 5px; }
.field-row { display: grid; gap: 14px; grid-template-columns: 1fr; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status { margin: 0; font-weight: 600; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #b3261e; }
.lead-form.is-sending button { opacity: .6; pointer-events: none; }

.contact-grid { display: grid; gap: 28px; }
.hours { list-style: none; padding: 0; margin: 8px 0; }
.hours li { display: flex; justify-content: space-between; gap: 12px; max-width: 320px; }

/* footer */
.site-footer { background: #0f1c2c; color: #c8d1dd; padding-top: 32px; font-size: .95rem; }
.site-footer a { color: #e6ecf4; }
.site-footer h3 { color: #fff; margin-top: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 4px 0; }
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
.footer-bottom { border-top: 1px solid #243448; margin-top: 24px; padding: 16px; font-size: .85rem; color: #93a1b3; }

/* mobile sticky bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; background: var(--navy); box-shadow: 0 -2px 10px rgba(0, 0, 0, .2); }
.mobile-bar a { flex: 1; text-align: center; padding: 14px 4px; color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem; border-right: 1px solid rgba(255, 255, 255, .15); }
.mobile-bar a.primary { background: var(--amber); border-right: 0; }

@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .nav-toggle { display: none; }
  .site-nav { display: flex; flex-direction: row; width: auto; gap: 4px; padding: 0; margin-left: auto; }
  .site-nav a { border: 0; padding: 8px 10px; }
  .header-call { display: inline-flex; }
  .hero { padding: 48px 0 24px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards.one { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1.4fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps.big { grid-template-columns: 1fr; }
}
@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cards.one { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card-link { transition: none; }
}

/* odd last gallery photo spans the full row */
@media (min-width: 760px) {
  .gallery figure:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .gallery figure:last-child:nth-child(odd) img { aspect-ratio: 16 / 9; }
}
