:root {
  --navy: #10233a;
  --navy-deep: #0b1828;
  --ember: #c45c1a;
  --ember-hot: #e07a2f;
  --sand: #f6f1ea;
  --paper: #fbfaf8;
  --ink: #1d2836;
  --muted: #5c6776;
  --line: #e4ddd4;
  --white: #fff;
  --shadow: 0 18px 48px rgba(16, 35, 58, 0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
}

h1, h2, h3, h4, .font-display {
  font-family: "Fraunces", Georgia, serif;
  color: var(--navy);
  letter-spacing: -0.02em;
}

a { color: var(--ember); }
a:hover { color: var(--navy); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ember);
  color: #fff;
  padding: 0.5rem 0.9rem;
  z-index: 2000;
}
.skip-link:focus { top: 0.75rem; color: #fff; }

.topbar {
  background: var(--navy-deep);
  color: #dbe4ef;
  font-size: 0.86rem;
}
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: #f0a14a; }

.site-header {
  background: rgba(251, 250, 248, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.navbar-brand img { height: 46px; width: auto; }

.navbar-toggler { border-color: var(--line); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2310233a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar .nav-link {
  color: var(--navy) !important;
  font-weight: 600;
  padding: 0.7rem 0.75rem !important;
}
.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--ember) !important; }

.dropdown-menu {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 12px;
  padding: 0.5rem;
}
.dropdown-item { border-radius: 8px; font-weight: 600; }

.btn-ember,
.btn-navy,
.btn-line {
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.85rem 1.35rem;
}

.btn-ember {
  background: var(--ember);
  border-color: var(--ember);
  color: #fff;
}
.btn-ember:hover { background: #a44b14; color: #fff; border-color: #a44b14; }

.btn-navy {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.btn-navy:hover { background: var(--navy-deep); color: #fff; }

.btn-line {
  border: 1px solid #fff;
  color: #fff;
  background: transparent;
}
.btn-line:hover { background: #fff; color: var(--navy); }

.hero {
  min-height: 78vh;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11, 24, 40, 0.84) 12%, rgba(11, 24, 40, 0.42) 70%);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 4.4rem); }
.hero .lead { max-width: 40rem; font-size: 1.15rem; }
.hero-phone { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; }
.hero-phone a { color: #f0a14a; text-decoration: none; }

.page-hero {
  min-height: 38vh;
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 6.5rem 0 2.5rem;
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 24, 40, 0.45), rgba(11, 24, 40, 0.78));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }

.section { padding: 5rem 0; }
.section-tight { padding: 3.2rem 0; }
.bg-sand { background: var(--sand); }
.bg-navy { background: var(--navy); color: #dbe4ef; }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }

.eyebrow {
  color: var(--ember);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 700;
}

.prose p { margin-bottom: 1.05rem; }
.prose ul, .prose ol { padding-left: 1.15rem; margin-bottom: 1.1rem; }
.prose li { margin-bottom: 0.35rem; }
.prose dt { margin-top: 0.9rem; }
.prose img { max-width: 100%; height: auto; border-radius: 16px; }

.service-card,
.info-card,
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 8px 24px rgba(16, 35, 58, 0.05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover,
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-card img { width: 100%; height: 210px; object-fit: cover; }
.rounded-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; min-height: 280px; }

.trust-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}
.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff2e8;
  color: var(--ember);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.quote-card { padding: 1.6rem; }
.progress { height: 1.4rem; border-radius: 999px; }
.progress-bar { background: var(--ember); font-size: 0.75rem; }

.site-footer {
  background: var(--navy-deep);
  color: #c9d3de;
}
.site-footer a { color: #eadfcb; text-decoration: none; }
.site-footer a:hover { color: #f0a14a; }
.site-footer h5 {
  color: #fff;
  font-family: Inter, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.notice { font-size: 0.82rem; color: #9aacbd; }
.footer-map { border: 0; border-radius: 14px; width: 100%; height: 200px; }

.form-control, .form-select {
  border-radius: 12px;
  border-color: #d7cbb8;
  padding: 0.8rem 0.9rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--ember);
  box-shadow: 0 0 0 0.2rem rgba(196, 92, 26, 0.15);
}

.legal-box {
  background: #eee;
  padding: 12px;
  border: 1px solid #2a5db0;
  border-radius: 8px;
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: #fff;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    margin-top: 0.75rem;
  }
  .hero { min-height: 68vh; padding: 5rem 0 3rem; }
}
