/* Oakmont Insurance Solutions LLC
   Modern black & yellow */

:root {
  --bg: #0a0a0a;
  --bg-raised: #121212;
  --bg-card: #161616;
  --bg-card-hover: #1c1c1c;
  --bg-panel: #181818;
  --line: rgba(245, 197, 24, 0.14);
  --line-strong: rgba(245, 197, 24, 0.35);
  --yellow: #f5c518;
  --yellow-soft: #ffd45a;
  --yellow-deep: #d4a50a;
  --yellow-dim: rgba(245, 197, 24, 0.1);
  --yellow-glow: rgba(245, 197, 24, 0.22);
  --text: #f3efe4;
  --text-muted: #a8a396;
  --text-dim: #7c796e;
  --black: #0a0a0a;
  --danger: #ff8a7a;
  --ok: #c6e38a;
  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --header-h: 4.5rem;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--yellow);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--yellow-soft);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--text);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.35rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; }

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: min(calc(100% - 2.5rem), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  padding: 0.6rem 1rem;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
  color: var(--black);
}

/* Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 10, 10, 0.94);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 1041px) {
  .site-header {
    background: rgba(10, 10, 10, 0.82);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
  }
}

.nav-inner {
  width: min(calc(100% - 2.5rem), var(--max));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--yellow);
  text-decoration: none;
  min-width: 0;
}

.logo:hover { color: var(--yellow-soft); }

.logo-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--text);
}

.logo-sub {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.site-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
  list-style: none;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.25rem 0;
  position: relative;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.site-nav a:not(.nav-cta):hover,
.site-nav a:not(.nav-cta):focus-visible {
  color: var(--yellow);
}

.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--yellow);
  color: var(--black) !important;
  padding: 0.55rem 0.95rem !important;
  border-radius: 999px;
  font-weight: 700 !important;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--yellow-soft) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  position: relative;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

body.nav-open .nav-toggle-bars { background: transparent; }
body.nav-open .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

/* Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn-primary {
  background: var(--yellow);
  color: var(--black);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--yellow-soft);
  color: var(--black);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--yellow);
  color: var(--yellow);
}

.btn-block { width: 100%; }

/* Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 9vw, 7.5rem) 0 4.5rem;
  border-bottom: 1px solid var(--line);
}

.hero-glow {
  pointer-events: none;
  position: absolute;
  inset: -20% 10% auto;
  height: 70%;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(245, 197, 24, 0.16), transparent 60%),
    radial-gradient(ellipse at 80% 40%, rgba(245, 197, 24, 0.05), transparent 45%);
}

.hero-inner {
  position: relative;
  text-align: center;
  max-width: 860px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  color: var(--yellow);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 1.15rem;
}

.hero-lead {
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 38rem;
  margin: 0 auto 1.85rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.25rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
}

.hero-pills li {
  border: 1px solid var(--line);
  background: var(--yellow-dim);
  color: var(--yellow-soft);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}

/* Sections
   ========================================================================== */

.section {
  padding: clamp(3.75rem, 8vw, 6.5rem) 0;
}

.section-intro {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.12rem;
}

.section-explainer {
  background: var(--bg-raised);
  border-bottom: 1px solid var(--line);
}

.explainer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
}

.explainer-main p {
  color: var(--text);
  font-size: 1.1rem;
}

.explainer-main p + p { color: var(--text-muted); }

.explainer-aside {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}

.explainer-aside h3 {
  color: var(--yellow);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--yellow) 0 35%, transparent 36%),
    conic-gradient(from 0deg, var(--yellow), var(--yellow));
  box-shadow: inset 0 0 0 2px var(--yellow);
  background: transparent;
  border: 2px solid var(--yellow);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.52rem;
  width: 0.28rem;
  height: 0.45rem;
  border-right: 2px solid var(--yellow);
  border-bottom: 2px solid var(--yellow);
  transform: rotate(40deg);
}


/* PMI vs Mortgage Protection
   ========================================================================== */

.section-compare {
  border-bottom: 1px solid var(--line);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  align-items: stretch;
}

.compare-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.45rem 1.7rem;
  display: flex;
  flex-direction: column;
}

.compare-card-featured {
  background:
    linear-gradient(180deg, rgba(245, 197, 24, 0.07), transparent 40%),
    var(--bg-card);
  border-color: var(--line-strong);
}

.compare-card-label {
  display: inline-block;
  margin: 0 0 0.45rem;
  color: var(--yellow);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.compare-card h3 {
  margin-bottom: 0.15rem;
}

.compare-points {
  list-style: none;
  display: grid;
  gap: 0;
  margin-top: 1.15rem;
}

.compare-points li {
  padding: 1rem 0 0;
  margin-top: 1rem;
  border-top: 1px solid var(--line);
}

.compare-points li:first-child {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.compare-points strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.compare-points p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin: 0;
}

.compare-points p strong {
  display: inline;
  font-family: var(--font-body);
  font-size: inherit;
  letter-spacing: 0;
  color: var(--text);
  margin: 0;
}

.compare-takeaway {
  margin-top: 1.75rem;
  background:
    linear-gradient(180deg, rgba(245, 197, 24, 0.07), transparent 55%),
    var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.7rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem 2rem;
  align-items: center;
}

.compare-takeaway p {
  color: var(--text-muted);
  font-size: 1.08rem;
  margin: 0;
}

.compare-takeaway p strong {
  color: var(--text);
}

/* Services
   ========================================================================== */

.section-services {
  border-bottom: 1px solid var(--line);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.1rem;
}

.card {
  grid-column: span 2;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.55rem 1.4rem 1.6rem;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card:nth-child(-n+2) {
  grid-column: span 3;
}

.card-featured {
  background:
    linear-gradient(180deg, rgba(245, 197, 24, 0.07), transparent 40%),
    var(--bg-card);
  border-color: var(--line-strong);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--yellow);
  background: var(--bg-card-hover);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(245, 197, 24, 0.08);
}

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--yellow);
  border: 1px solid var(--line-strong);
  background: var(--yellow-dim);
  border-radius: 12px;
}

.card-icon svg { width: 28px; height: 28px; }

.card h3 { margin-bottom: 0.55rem; }
.card p { color: var(--text-muted); font-size: 0.98rem; }


.card .card-note {
  margin: 0.9rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.card-note-label {
  display: block;
  color: var(--yellow);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.premiums-block {
  margin-top: 2.25rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.15rem;
}

.premiums-intro {
  max-width: 42rem;
  margin-bottom: 0.35rem;
}

.premiums-intro h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  margin-bottom: 0.7rem;
}

.premiums-intro p {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 0.5rem;
}

.premiums-list {
  margin: 0.85rem 0 0;
}

.premiums-list > div {
  display: grid;
  grid-template-columns: minmax(10rem, 14.5rem) 1fr;
  gap: 1rem 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.premiums-list dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
  padding-top: 0.1rem;
}

.premiums-list dd {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Steps
   ========================================================================== */

.section-steps {
  background: var(--bg-raised);
  border-bottom: 1px solid var(--line);
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  counter-reset: none;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem 1.6rem;
  min-height: 100%;
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--yellow);
  letter-spacing: -0.04em;
  margin-bottom: 0.9rem;
}

.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--text-muted); font-size: 0.98rem; }

/* About
   ========================================================================== */

.section-about {
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-copy p { color: var(--text-muted); font-size: 1.08rem; }

.about-panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}

.about-panel h3 {
  color: var(--yellow);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.detail-list {
  display: grid;
  gap: 0.9rem;
}

.detail-list div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.detail-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.detail-list dt {
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-top: 0.15rem;
  white-space: nowrap;
}

.detail-list dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: break-word;
}

.detail-list dd,
.contact-points li,
.contact-points span,
.footer-contact,
.footer-contact p,
.form-note,
.faq-body {
  min-width: 0;
  overflow-wrap: break-word;
}

a[href^="mailto:"] {
  overflow-wrap: break-word;
}

/* FAQ
   ========================================================================== */

.section-faq {
  background: var(--bg-raised);
  border-bottom: 1px solid var(--line);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.faq-intro { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 1.25rem); }

.faq-list { display: grid; gap: 0.7rem; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  padding: 1.05rem 3rem 1.05rem 1.2rem;
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--yellow);
  border-bottom: 2px solid var(--yellow);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s var(--ease);
}

.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq-item summary:hover,
.faq-item summary:focus-visible {
  color: var(--yellow-soft);
}

.faq-body {
  padding: 0 1.2rem 1.2rem;
  color: var(--text-muted);
}

.faq-item[open] {
  border-color: var(--line-strong);
}

/* Quote / contact
   ========================================================================== */

.section-quote {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(245, 197, 24, 0.1), transparent 50%),
    var(--bg);
}

.quote-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.4rem;
  align-items: start;
}

.quote-copy p { color: var(--text-muted); font-size: 1.08rem; }

.contact-points {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.85rem;
}

.contact-points li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
}

.quote-form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.6rem 1.5rem 1.5rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.form-row label {
  font-weight: 650;
  font-size: 0.9rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: #101010;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-row input:hover,
.form-row select:hover,
.form-row textarea:hover {
  border-color: var(--line-strong);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px var(--yellow-glow);
}

.form-row input.invalid,
.form-row select.invalid,
.form-row textarea.invalid {
  border-color: var(--danger);
}

.form-row textarea { resize: vertical; min-height: 6.5rem; }

.form-row select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--yellow) 50%),
    linear-gradient(135deg, var(--yellow) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
}

.form-note {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin: 0 0 1.1rem;
}

.form-status {
  margin: 0.9rem 0 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-status.is-info { color: var(--yellow-soft); }
.form-status.is-error { color: var(--danger); }

/* Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--line);
  background: #070707;
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.logo-footer { margin-bottom: 0.9rem; }
.footer-brand p { color: var(--text-muted); max-width: 22rem; }

.footer-nav {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.footer-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.footer-nav a:hover { color: var(--yellow); }

.footer-contact p {
  margin: 0 0 0.35rem;
  color: var(--text-muted);
}

@media (max-width: 1040px) {
  .footer-contact { margin-top: 0.5rem; }
  .footer-nav { margin-top: 0.35rem; }
}

.footer-legal {
  padding-top: 1.4rem;
}

.footer-legal p {
  color: var(--text-dim);
  font-size: 0.86rem;
  margin-bottom: 0.7rem;
}

.disclaimer { max-width: 72rem; line-height: 1.6; }

/* Reveal
   ========================================================================== */

.reveal {
  animation: fade-up 0.7s var(--ease) both;
}

@media (prefers-reduced-motion: no-preference) {
  .card-grid .card:nth-child(1) { animation-delay: 0.05s; }
  .card-grid .card:nth-child(2) { animation-delay: 0.1s; }
  .card-grid .card:nth-child(3) { animation-delay: 0.15s; }
  .card-grid .card:nth-child(4) { animation-delay: 0.2s; }
  .card-grid .card:nth-child(5) { animation-delay: 0.25s; }
  .steps .step:nth-child(2) { animation-delay: 0.08s; }
  .steps .step:nth-child(3) { animation-delay: 0.16s; }
  .steps .step:nth-child(4) { animation-delay: 0.24s; }
  .faq-item:nth-child(2) { animation-delay: 0.05s; }
  .faq-item:nth-child(3) { animation-delay: 0.1s; }
  .faq-item:nth-child(4) { animation-delay: 0.15s; }
  .faq-item:nth-child(5) { animation-delay: 0.2s; }
  .faq-item:nth-child(6) { animation-delay: 0.25s; }
  .faq-item:nth-child(7) { animation-delay: 0.3s; }
  .faq-item:nth-child(8) { animation-delay: 0.35s; }
  .faq-item:nth-child(9) { animation-delay: 0.4s; }
  .compare-grid .compare-card:nth-child(2) { animation-delay: 0.1s; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}


@media (min-width: 1041px) and (max-width: 1240px) {
  .site-nav .nav-list {
    gap: 0.15rem 0.8rem;
  }

  .site-nav a {
    font-size: 0.88rem;
  }

  .nav-cta {
    padding: 0.5rem 0.8rem !important;
  }
}

/* Focus
   ========================================================================== */

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.nav-cta:focus-visible,
.btn:focus-visible {
  outline-offset: 3px;
}

/* Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .explainer-grid,
  .about-grid,
  .faq-layout,
  .quote-grid,
  .footer-grid,
  .compare-grid,
  .compare-takeaway {
    grid-template-columns: 1fr;
  }

  .compare-takeaway .btn {
    justify-self: start;
  }

  .faq-intro { position: static; }

  .steps { grid-template-columns: 1fr 1fr; }

  .card-grid { grid-template-columns: 1fr 1fr; }
  .card,
  .card-featured,
  .card:nth-child(-n+2) {
    grid-column: auto;
  }
  .card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: #0a0a0a;
    border-bottom: 0;
    padding: 0.85rem 1.25rem 1.5rem;
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .site-nav a {
    display: block;
    padding: 0.7rem 0.2rem;
    font-size: 1.05rem;
  }

  .site-nav a.nav-cta {
    margin-top: 0.5rem;
    justify-content: center;
  }

  body.nav-open { overflow: hidden; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 1.5rem), var(--max)); }

  .hero { padding: 3rem 0 3.25rem; }
  .section { padding: 3.25rem 0; }

  .card-grid,
  .steps,
  .form-split {
    grid-template-columns: 1fr;
  }

  .detail-list div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .premiums-list > div {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .premiums-block {
    padding: 1.35rem 1.1rem 1rem;
  }

  .quote-form { padding: 1.25rem 1.05rem 1.2rem; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none; }
  .btn,
  .card,
  .nav-cta,
  .site-nav,
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after,
  .site-nav a::after {
    transition: none;
  }
}

.agent-card { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.agent-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--yellow); flex-shrink: 0; }
.agent-name { margin: 0; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--text); }
.agent-role { margin: 0.15rem 0 0; color: var(--text-muted); font-size: 0.95rem; }

.carrier-grid { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0.9rem; }
.carrier { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 84px; padding: 1rem; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--text); transition: border-color .2s, background .2s; }
.carrier:hover { border-color: var(--line-strong); background: var(--bg-card-hover); }
.carrier-more { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.carrier-more:hover { background: var(--yellow-soft); }
.carrier-note { margin-top: 1.2rem; color: var(--text-dim); font-size: 0.9rem; }

.carrier-more-title { margin: 2.2rem 0 0.9rem; color: var(--yellow); font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; }
.carrier-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.55rem; }
.carrier-chips li { padding: 0.5rem 0.95rem; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--bg-raised); color: var(--text); font-size: 0.95rem; }
.carrier-chips .chip-more { background: var(--yellow); color: var(--black); border-color: var(--yellow); font-weight: 700; }
