:root {
  --ink: #0f172a;
  --ink-soft: #475569;
  --brand: #073759;
  --brand-dark: #000204;
  --accent: #50a069;
  --accent-light: #3bd42d;
  --border: #e2e8f0;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
}

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

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

.bg-secondary {
  background: var(--accent);
}

.bg-primary {
  background: var(--brand);
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.color-primary {
  color: var(--brand);
}

.color-secondary {
  color: var(--accent);
}

.text-center {
  text-align: center;
}

.section-slab {
  padding: 80px 0;
  background: var(--surface);
}

.section-slab.alt {
  background: var(--surface-alt);
}

.section-header {
  margin-bottom: 32px;
}

.section-header h2,
.section-header h1 {
  font-family: "DM Serif Display", "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 0 0 12px;
}

.section-header p {
  margin: 0;
  color: var(--ink-soft);
}

.header {
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
}

.logo img {
  height: 150px;
  width: auto;
}

.main-nav {
  flex: 1;
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-weight: 600;
  color: var(--ink);
}

.nav-link.active {
  color: var(--brand);
}

.nav-item.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;
  min-width: 220px;
  background: var(--surface);
  border-radius: 16px;
  padding: 12px;
  box-shadow: var(--shadow);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s ease;
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
  color: var(--ink);
}

.dropdown-menu li a:hover {
  background: var(--surface-alt);
  color: var(--brand-dark);
}

.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-info {
  display: grid;
  gap: 4px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.contact-info i {
  color: var(--brand);
  margin-right: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 24px rgba(14, 165, 164, 0.25);
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-outline {
  border-color: var(--brand);
  color: var(--brand-dark);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(14, 165, 164, 0.08);
}

.btn-lg {
  padding: 14px 26px;
}

.btn-block {
  width: 100%;
}

.coverage-grid,
.testimonials-grid {
  display: grid;
  gap: 24px;
}

.coverage-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.coverage-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
  color: white;
  font-weight: 600;
}

.coverage-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--brand);
  margin-bottom: 10px;
  background-color: white;
  border-radius: 50%;
}

.coverage-icon i {
  font-size: 2rem;
  color: var(--accent);
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: grid;
  gap: 10px;
}

.service-features i {
  color: var(--accent);
  margin-right: 8px;
}

.service-link {
  color: var(--brand);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.split-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.split-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.quote-cta-panel {
  justify-self: end;
}

.legal-content p {
  margin: 0 0 1rem;
  color: var(--ink);
}

.legal-content h2 {
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  font-weight: 700;
  margin: 1.75rem 0 0.75rem;
  color: var(--ink);
}

.legal-content h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  font-weight: 700;
  margin: 1.25rem 0 0.6rem;
  color: var(--ink);
}

.legal-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem;
  color: var(--ink);
}

.legal-content ul {
  margin: 0 0 1rem 1.25rem;
  padding-left: 1rem;
}

.legal-content li {
  margin-bottom: 0.55rem;
}

.legal-content .service-features {
  list-style: disc;
  display: block;
  gap: 0;
  color: var(--ink);
  padding-left: 1rem;
  margin: 0 0 1rem 1.25rem;
}

.legal-content .service-features i {
  display: none;
}

.quote-panel {
  padding: 20px;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.badge {
  padding: 6px 14px;
  border-radius: 999px;
  background: white;
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 0.85rem;
}

.insurance-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
}

.footer {
  background: var(--brand-dark);
  color: #e2e8f0;
}

.footer-main {
  padding: 30px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.footer-logo {
  display: flex;
  justify-content: center;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: #cbd5f5;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding: 20px 0;
}

.footer-bottom-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  align-items: center;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  color: #fff;
}

.footer-legal a {
  margin-right: 14px;
  color: #cbd5f5;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  border: none;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.back-to-top.show {
  display: flex;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
}

.mobile-nav {
  display: none;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-menu {
  list-style: none;
  margin: 0;
  padding: 18px 0;
  display: grid;
  gap: 4px;
}

.mobile-nav-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-weight: 600;
}

.mobile-contact {
  padding: 0 0 20px;
  display: grid;
  gap: 8px;
}

.mobile-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--brand-dark);
}
