/* site.css — page chrome & section styles */

/* ---------- Top nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243,247,249,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, background .25s, box-shadow .25s;
}
.nav.scrolled { border-color: var(--line); box-shadow: var(--sh-sm); background: rgba(243,247,249,.9); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 9px 15px; border-radius: 999px; font-weight: 500; font-size: .96rem; color: var(--ink-2);
  transition: background .15s, color .15s;
}
.nav-link:hover { background: var(--bg-tint); color: var(--ink); }
.nav-link.active { color: var(--primary); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); font-size: .96rem; }
.nav-phone:hover { color: var(--primary); }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); align-items: center; justify-content: center; }

.mobile-menu { display: none; }
@media (max-width: 940px) {
  .nav-links, .nav-cta .nav-phone, .nav-cta .btn { display: none; }
  .nav-burger { display: inline-flex; }
  .mobile-menu { display: block; border-top: 1px solid var(--line); background: var(--surface); padding: 14px var(--gutter) 22px; }
  .mobile-menu a { display: block; padding: 13px 6px; font-size: 1.05rem; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
  .mobile-menu .btn { display: inline-flex; margin-top: 16px; width: 100%; }
}

/* ---------- Hero shared ---------- */
.hero { position: relative; overflow: hidden; }
.hero-bg-tint { position: absolute; inset: 0; background: radial-gradient(120% 90% at 85% -10%, var(--bg-tint), transparent 60%); z-index: 0; }

/* split hero */
.hero-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 60px); align-items: center; position: relative; z-index: 1; }
.hero-form-card { padding: clamp(22px, 2.4vw, 34px); background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--sh-lg); border: 1px solid var(--line-soft); }

/* image hero */
.hero-image { position: relative; z-index: 1; }
.hero-image-ph { position: absolute; inset: 0; border-radius: 0; }

/* centered hero */
.hero-centered { position: relative; z-index: 1; text-align: center; }

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
}

/* ---------- Quote form ---------- */
.qf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.qf-field { display: flex; flex-direction: column; gap: 6px; }
.qf-label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.qf-input {
  font-family: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; width: 100%;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.qf-input::placeholder { color: var(--ink-3); }
.qf-input:focus { outline: none; border-color: var(--primary); background: var(--surface); box-shadow: 0 0 0 4px rgba(31,111,139,.12); }
.qf-input.err { border-color: #d2604f; }
.qf-err { font-size: .8rem; color: #c0432f; }
select.qf-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b8089' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 38px; }
@media (max-width: 560px) { .qf-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; background: none; border: 0; font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.faq-icon { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--primary); transition: transform .25s, background .2s, border-color .2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--primary); color: #fff; border-color: var(--primary); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 280px; }
.faq-a p { padding-bottom: 22px; color: var(--ink-2); max-width: 720px; }

/* ---------- Areas grid ---------- */
.area-chip { display: flex; align-items: center; gap: 9px; padding: 13px 16px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); font-weight: 500; color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; }
.area-chip:hover { transform: translateY(-2px); box-shadow: var(--sh-sm); border-color: var(--line); }
.area-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }

/* ---------- Dark band ---------- */
.band-dark { background: linear-gradient(160deg, var(--primary-deep), #0a2c39); color: var(--on-dark); position: relative; overflow: hidden; }
.band-dark h2, .band-dark h3 { color: #fff; }

/* ---------- Footer ---------- */
.footer { background: #0c3340; color: var(--on-dark-soft); }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-col h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.footer-col a, .footer-col p { display: block; padding: 6px 0; font-size: .95rem; color: var(--on-dark-soft); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Service detail modal ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(10,44,57,.45); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 24px; animation: fade .2s ease; }
.modal { background: var(--surface); border-radius: var(--r-xl); max-width: 560px; width: 100%; max-height: 88vh; overflow: auto; box-shadow: var(--sh-lg); animation: pop .25s ease; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
