:root {
  --primary: #0f5aa3;
  --primary-dark: #0b3f74;
  --accent: #ff9f1c;
  --accent-dark: #ef7f00;
  --text: #1f2937;
  --muted: #667085;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --border: rgba(15, 90, 163, 0.12);
  --shadow: 0 16px 40px rgba(16, 24, 40, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  color: var(--text);
  background: #fff;
}

a { text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5 { font-family: "Montserrat", sans-serif; }

.top-strip {
  background: #0d1b2a;
  color: rgba(255,255,255,0.9);
  padding: 10px 0;
  font-size: 14px;
}

.top-strip a, .top-strip span { color: rgba(255,255,255,0.92); }
.top-strip i { color: #ffd08a; margin-right: 6px; }

.emergency-mini-btn,
.btn-emergency {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
}

.emergency-mini-btn {
  padding: 8px 14px;
  background: #25d366;
  color: #fff;
}

.header {
  top: 44px;
  background: rgba(217, 238, 226, 0.95);
  backdrop-filter: blur(10px);
  z-index: 997;
  transition: all 0.3s ease;
}

.header.header-scrolled {
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  border-bottom: 1px solid var(--border);
}

.header .container { min-height: 78px; position: relative; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.logo strong { display: block; font-size: 1.05rem; }
.logo small { display: block; color: var(--muted); font-size: 0.75rem; }

.logo-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), #1a78cf);
  color: #fff;
  font-size: 1.2rem;
}

.navbar { display: flex; align-items: center; position: static; }
.navbar ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.navbar a {
  color: #23384d;
  font-weight: 600;
  font-size: 14px;
}

.navbar a.active, .navbar a:hover { color: var(--primary); }
.mobile-nav-toggle {
  display: none;
  font-size: 28px;
  color: var(--primary-dark);
  cursor: pointer;
}

.hero {
  margin-top: 122px;
  padding: 90px 0 80px;
  background: linear-gradient(135deg, #0d2238 0%, #12385f 50%, #0f5aa3 100%);
}

.hero-copy { color: #fff; }
.eyebrow, .section-kicker {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.08;
  margin: 18px 0 14px;
}

.hero-copy p {
  max-width: 620px;
  color: rgba(255,255,255,0.9);
  font-size: 1.02rem;
}

.hero-actions, .trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions { margin-top: 24px; }
.trust-row {
  margin-top: 18px;
  color: rgba(255,255,255,0.92);
  font-size: 0.94rem;
}

.trust-row i { color: #89f0a0; margin-right: 6px; }

.hero-photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.hero-photo {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  min-height: 128px;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 16px 32px rgba(5, 18, 30, 0.24);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 128px;
  object-fit: cover;
}

.btn-emergency {
  padding: 13px 20px;
  background: linear-gradient(135deg, #25d366, #179c52);
  color: #fff;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.28);
}

.btn-emergency:hover { color: #fff; transform: translateY(-2px); }

.btn-outline,
.btn-outline-dark,
.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.55);
  color: #fff;
}

.btn-outline:hover { background: rgba(255,255,255,0.12); color: #fff; }

.btn-main {
  background: linear-gradient(135deg, var(--accent), #ffc34d);
  color: #1f2937;
}

.btn-main:hover { color: #1f2937; transform: translateY(-2px); }

.btn-outline-dark {
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline-dark:hover { background: var(--primary); color: #fff; }
.btn-block { width: 100%; }

.hero-card,
.service-card,
.area-card,
.why-card,
.contact-card,
.contact-form-wrap {
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-card h3,
.section-heading h2 { margin-bottom: 12px; }
.hero-card p,
.section-heading p,
.why-card p,
.contact-card p,
.footer p { color: var(--muted); }

.hero-card ul,
.service-card ul,
.contact-card ul {
  list-style: none;
  padding: 0;
  margin: 18px 0;
}

.hero-card li,
.service-card li,
.contact-card li { margin-bottom: 10px; }
.hero-card i,
.contact-card i { color: var(--primary); margin-right: 8px; }

.section { padding: 88px 0; }
.section-light { background: var(--surface-soft); }
.section-heading { margin-bottom: 28px; }
.section-heading .section-kicker {
  background: rgba(15, 90, 163, 0.1);
  color: var(--primary);
}

.service-card {
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover { transform: translateY(-6px); }
.service-card i {
  font-size: 1.55rem;
  color: var(--primary);
}

.service-card h4,
.why-card h4 { margin: 16px 0 12px; }
.service-card ul { margin-bottom: 0; }
.featured-card { border-top: 4px solid var(--accent); }

.area-tags,
.coverage-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-tags span,
.coverage-grid span {
  padding: 9px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: #234;
  font-weight: 600;
  font-size: 0.9rem;
}

.area-card h3 { margin-bottom: 10px; }
.coverage-grid { margin: 18px 0 20px; }

.why-card {
  height: 100%;
  text-align: center;
}

.why-card i {
  font-size: 1.6rem;
  color: var(--primary);
}

.contact-card ul { margin-top: 16px; }
.contact-form-wrap label {
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-form-wrap .form-control,
.contact-form-wrap .form-select {
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: none;
}

.contact-form-wrap textarea.form-control { min-height: auto; }

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 19, 32, 0.06) 0%, rgba(8, 19, 32, 0.8) 100%);
}

.gallery-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
}

.gallery-copy span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gallery-copy h4 {
  margin: 0;
  font-size: 1.08rem;
}

.gallery-card-wide {
  grid-row: span 2;
  min-height: 100%;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.footer-socials a:hover {
  background: var(--accent);
  color: #13202d;
}

.footer {
  background: #0d1b2a;
  color: rgba(255,255,255,0.92);
  padding: 30px 0;
}

.call-float,
.back-to-top {
  position: fixed;
  right: 18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
  z-index: 999;
}

.call-float {
  bottom: 86px;
  background: #25d366;
  font-size: 1.25rem;
}

.back-to-top {
  bottom: 22px;
  background: var(--primary);
  font-size: 1.6rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 991px) {
  .mobile-nav-toggle { display: block; }
  .navbar { position: static; }
  .navbar ul { display: none; }

  .navbar.navbar-mobile ul {
    position: absolute;
    top: calc(100% + 8px);
    right: 12px;
    left: 12px;
    width: auto;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-radius: 18px;
    padding: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
  }

  .navbar.navbar-mobile li { width: 100%; }
  .navbar.navbar-mobile a { display: block; padding: 12px 10px; }
}

@media (max-width: 991px) {
  .hero-photo-strip,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-card-wide {
    grid-row: span 1;
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .top-strip { display: none; }
  .header { top: 0; }
  .hero { margin-top: 78px; padding-top: 70px; }
  .section { padding: 72px 0; }

  .hero-photo-strip,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card-wide {
    grid-column: span 1;
  }
}
