:root {
  --blue: #0f3f73;
  --blue-dark: #092746;
  --blue-light: #eaf3fb;
  --gold: #d6a434;
  --gold-dark: #a97708;
  --text: #152033;
  --muted: #5f6c7b;
  --white: #ffffff;
  --bg: #f8fbff;
  --border: #dbe5ef;
  --shadow: 0 18px 45px rgba(15, 63, 115, 0.14);
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow { max-width: 820px; }

.section-padding { padding: 92px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--blue-dark);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--gold);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(9, 39, 70, 0.18);
}

.brand-text { font-size: 1.08rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-weight: 600;
}

.nav-links a:hover { color: var(--blue); }

.nav-cta {
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--blue-dark) !important;
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--blue);
  color: var(--white);
  font-size: 24px;
  border-radius: 10px;
  padding: 8px 12px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(214, 164, 52, 0.26), transparent 30%),
    linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white);
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto -15% -40% auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

h1, h2, h3 { margin: 0 0 16px; line-height: 1.15; }

h1 { font-size: clamp(2.4rem, 5vw, 4.7rem); letter-spacing: -0.04em; }

h2 { font-size: clamp(2rem, 3vw, 3.1rem); letter-spacing: -0.03em; color: var(--blue-dark); }

.hero h1, .hero h2 { color: var(--white); }

.hero-subtitle {
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 690px;
  margin-bottom: 30px;
}

.hero-actions, .trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.trust-row {
  margin-top: 24px;
  color: rgba(255,255,255,0.86);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-primary { background: var(--gold); color: var(--blue-dark); }

.btn-secondary { border-color: rgba(255,255,255,0.42); color: var(--white); }

.full-width { width: 100%; }

.hero-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card p, .hero-card li { color: rgba(255,255,255,0.84); }

.hero-card ul { padding-left: 20px; margin-bottom: 26px; }

.card-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: var(--gold);
  font-weight: 800;
  font-size: 0.85rem;
}

.stats {
  transform: translateY(-36px);
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 22px;
  padding: 24px;
}

.stats-grid div {
  text-align: center;
  padding: 14px;
  border-right: 1px solid var(--border);
}

.stats-grid div:last-child { border-right: 0; }
.stats-grid strong { display: block; color: var(--blue); font-size: 1.55rem; }
.stats-grid span { color: var(--muted); font-weight: 600; }

.section-heading { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }

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

.service-card, .feature, blockquote, .about-panel, .lead-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(15, 63, 115, 0.08);
}

.service-card { padding: 28px; }
.service-card .icon { font-size: 2rem; margin-bottom: 16px; }
.service-card h3, .feature h3 { color: var(--blue-dark); }
.service-card p, .feature p, blockquote p, .about-section p, .contact-section p { color: var(--muted); }

.about-section { background: var(--blue-light); }
.about-grid, .contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 44px;
  align-items: center;
}

.about-panel {
  padding: 34px;
  border-top: 6px solid var(--gold);
}

.features-grid { grid-template-columns: repeat(4, 1fr); }
.feature { padding: 24px; }

.testimonials-section { background: var(--white); }
blockquote { margin: 0; padding: 28px; }
blockquote p { font-size: 1.03rem; }
cite { color: var(--blue); font-weight: 800; font-style: normal; }

.faq-section { background: var(--blue-light); }
details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 14px;
  padding: 18px 22px;
}
summary { cursor: pointer; font-weight: 800; color: var(--blue-dark); }
details p { color: var(--muted); margin-bottom: 0; }

.map-section { padding: 60px 0; background: var(--white); }
.map-placeholder {
  min-height: 340px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
  border-radius: 24px;
  border: 2px dashed var(--gold);
  background:
    linear-gradient(rgba(15,63,115,0.78), rgba(15,63,115,0.78)),
    url('https://maps.gstatic.com/tactile/basepage/pegman_sherlock.png');
  color: var(--white);
}
.map-placeholder h2 { color: var(--white); }
.map-placeholder p:not(.eyebrow) { color: rgba(255,255,255,0.86); }

.contact-section { background: var(--bg); }
.contact-details { display: grid; gap: 12px; margin-top: 26px; font-weight: 700; color: var(--blue); }

.lead-form { padding: 30px; }
.lead-form label { display: block; margin: 14px 0 7px; font-weight: 800; color: var(--blue-dark); }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 15px;
  font: inherit;
  background: #fff;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: 3px solid rgba(214,164,52,0.28);
  border-color: var(--gold);
}
.form-note { font-size: 0.84rem; margin-bottom: 0; }

.sticky-call {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  background: var(--gold);
  color: var(--blue-dark);
  padding: 15px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-weight: 900;
}

.site-footer {
  background: var(--blue-dark);
  color: var(--white);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.6fr;
  gap: 30px;
}
.footer-brand { color: var(--white); margin-bottom: 12px; }
.site-footer p, .site-footer a { color: rgba(255,255,255,0.78); }
.site-footer h3 { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); margin-top: 34px; padding-top: 20px; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow);
  }
  .nav-links.active { display: flex; }
  .hero-grid, .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .cards-grid, .features-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr; }
  .stats-grid div { border-right: 0; border-bottom: 1px solid var(--border); }
  .stats-grid div:last-child { border-bottom: 0; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1120px); }
  .section-padding { padding: 68px 0; }
  .cards-grid, .features-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-card { padding: 24px; }
  .sticky-call { left: 16px; right: 16px; text-align: center; justify-content: center; }
  .brand-text { font-size: 0.96rem; }
}
