/* ===== Design tokens ===== */
:root {
  --navy: #0f2a43;
  --navy-700: #163a5c;
  --teal: #1c8a8a;
  --teal-600: #157575;
  --gold: #c8a15a;
  --gold-600: #b58e45;
  --ink: #1a2733;
  --muted: #5b6b78;
  --line: #e4e9ee;
  --bg: #ffffff;
  --bg-alt: #f5f8fa;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(15, 42, 67, 0.06);
  --shadow: 0 14px 40px rgba(15, 42, 67, 0.12);
  --shadow-lg: 0 30px 70px rgba(15, 42, 67, 0.18);
  --maxw: 1180px;
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.1; color: var(--navy); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.container--narrow { max-width: 820px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 12px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--gold); color: var(--navy); box-shadow: 0 8px 22px rgba(200, 161, 90, 0.4); }
.btn--primary:hover { background: var(--gold-600); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); }
.btn--sm { padding: 9px 18px; font-size: 0.9rem; }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ===== Topbar ===== */
.topbar { background: var(--navy); color: rgba(255,255,255,0.85); font-size: 0.82rem; }
.topbar__inner { display: flex; justify-content: space-between; padding: 8px 22px; }
.topbar__item--right { color: var(--gold); font-weight: 600; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem;
  display: grid; place-items: center; flex: none;
}
.brand__text { font-size: 1.05rem; font-weight: 600; color: var(--muted); line-height: 1.15; }
.brand__text strong { color: var(--navy); display: block; font-size: 1.15rem; }

.nav { display: flex; gap: 26px; }
.nav a { font-weight: 500; color: var(--ink); font-size: 0.97rem; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--gold); transition: width 0.2s ease; }
.nav a:hover { color: var(--teal); }
.nav a:hover::after { width: 100%; }

.header__cta { display: flex; align-items: center; gap: 16px; }
.phone-link { text-align: right; line-height: 1.1; white-space: nowrap; }
.phone-link__label { display: block; font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.phone-link__number { display: block; font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.phone-link:hover .phone-link__number { color: var(--teal); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; transition: 0.25s; }

/* ===== Hero ===== */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(15,42,67,0.94) 0%, rgba(15,42,67,0.72) 55%, rgba(15,42,67,0.45) 100%),
    url("https://images.unsplash.com/photo-1584622650111-993a426fbf0a?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; align-items: center; padding: 84px 22px 90px; }
.hero__content .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); color: #fff; }
.hero h1 span { color: var(--gold); }
.hero__lead { margin: 20px 0 30px; font-size: 1.12rem; color: rgba(255,255,255,0.9); max-width: 540px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__badges { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; font-size: 0.92rem; color: rgba(255,255,255,0.9); }

.hero__card { display: flex; justify-content: flex-end; }
.quote-card {
  background: #fff; color: var(--ink); border-radius: var(--radius-lg);
  padding: 30px 28px; width: 100%; max-width: 380px; box-shadow: var(--shadow-lg);
}
.quote-card h3 { font-size: 1.5rem; margin-bottom: 4px; }
.quote-card__sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.quote-card input, .quote-card select,
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 13px 14px; margin-bottom: 12px;
  border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 0.97rem; color: var(--ink); background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.quote-card input:focus, .quote-card select:focus,
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(28,138,138,0.15);
}
.quote-card__fine, .contact-form__fine { font-size: 0.76rem; color: var(--muted); text-align: center; margin-top: 10px; }

/* ===== Trust strip ===== */
.trust { background: var(--navy-700); }
.trust__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 22px; text-align: center; color: #fff; }
.trust__item strong { display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--gold); }
.trust__item span { font-size: 0.88rem; color: rgba(255,255,255,0.8); }

/* ===== Sections ===== */
.section { padding: 84px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.section__lead { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

/* ===== Cards ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon { font-size: 2rem; width: 60px; height: 60px; display: grid; place-items: center; background: var(--bg-alt); border-radius: 14px; margin-bottom: 16px; }
.card h3 { font-size: 1.28rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.97rem; }

/* ===== Gallery ===== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.gallery__item { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* ===== Steps ===== */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 32px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; margin-bottom: 14px; }
.step h3 { font-size: 1.18rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ===== Why ===== */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.why__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); height: 100%; max-height: 480px; object-fit: cover; width: 100%; }
.ticks { list-style: none; margin: 22px 0 28px; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; color: var(--muted); }
.ticks li strong { color: var(--ink); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; background: var(--teal); color: #fff; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; font-weight: 700; }

/* ===== Areas ===== */
.areas { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.areas li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; text-align: center; font-weight: 500; color: var(--ink); transition: 0.2s; }
.areas li:hover { border-color: var(--teal); color: var(--teal); }

/* ===== Reviews ===== */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); }
.review__stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 14px; }
.review blockquote { font-size: 1rem; color: var(--ink); font-style: italic; margin-bottom: 14px; }
.review figcaption { font-weight: 600; color: var(--muted); font-size: 0.92rem; }

/* ===== FAQ ===== */
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 22px; }
.faq__item summary { cursor: pointer; font-weight: 600; color: var(--navy); padding: 16px 0; list-style: none; position: relative; padding-right: 30px; font-size: 1.02rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--teal); transition: transform 0.2s; }
.faq__item[open] summary::after { content: "−"; }
.faq__item p { color: var(--muted); padding-bottom: 18px; }

/* ===== CTA / Contact ===== */
.cta { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 100%); color: #fff; padding: 80px 0; }
.cta__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.cta__content h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.cta__content p { color: rgba(255,255,255,0.9); margin-top: 14px; font-size: 1.05rem; }
.cta__contacts { display: flex; flex-direction: column; gap: 10px; margin: 24px 0 8px; }
.cta__phone { font-size: 1.5rem; font-weight: 700; color: var(--gold); }
.cta__email { color: rgba(255,255,255,0.9); }
.cta__hours { color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.contact-form { background: #fff; border-radius: var(--radius-lg); padding: 32px 30px; box-shadow: var(--shadow-lg); }
.contact-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row input { margin-bottom: 12px; }

/* ===== Footer ===== */
.footer { background: #0b2036; color: rgba(255,255,255,0.75); padding: 60px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 40px; }
.brand--light .brand__text { color: rgba(255,255,255,0.7); }
.brand--light .brand__text strong { color: #fff; }
.footer__col p { margin-top: 12px; font-size: 0.92rem; }
.footer__col h4 { color: #fff; margin-bottom: 14px; font-size: 1.05rem; }
.footer__col a { display: block; margin-bottom: 9px; font-size: 0.94rem; transition: color 0.15s; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; font-size: 0.85rem; color: rgba(255,255,255,0.55); }

/* ===== Mobile call bar ===== */
.mobile-call { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: var(--gold); color: var(--navy); text-align: center; font-weight: 700; padding: 15px; box-shadow: 0 -4px 20px rgba(0,0,0,0.15); }

/* ===== Toast ===== */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120%); background: var(--navy); color: #fff; padding: 14px 26px; border-radius: 999px; box-shadow: var(--shadow-lg); z-index: 100; transition: transform 0.35s ease; font-weight: 500; }
.toast.is-visible { transform: translateX(-50%) translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__card { justify-content: flex-start; }
  .quote-card { max-width: 480px; }
  .cards, .reviews { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why, .cta__inner { grid-template-columns: 1fr; gap: 34px; }
  .areas { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav, .header__cta .phone-link, .header__cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav.is-open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 18px 22px; gap: 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .topbar__item--right { display: none; }
  .topbar__inner { justify-content: center; }
  .cards, .reviews, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 1; }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; gap: 6px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .mobile-call { display: block; }
  body { padding-bottom: 54px; }
  .trust__inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
