@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --navy:      #1a2139;
  --navy-deep: #11162a;
  --cyan:      #04d1f1;
  --slate:     #798190;
  --white:     #ffffff;
  --off-white: #f7f8fa;
  --line:      #e3e6ec;
  --ink:       #1a2139;
  --ink-soft:  #525a6e;

  --font-display: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;

  --max-width: 1200px;
  --radius:    10px;
  --shadow:    0 1px 3px rgba(26,33,57,.04), 0 8px 24px rgba(26,33,57,.07);
  --shadow-up: 0 4px 12px rgba(26,33,57,.09), 0 20px 48px rgba(26,33,57,.11);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: #fff; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }

/* ── Type ───────────────────────────────────────────────── */
h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 .5em;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { margin: 0 0 1em; color: var(--ink-soft); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
@media (max-width: 768px) { section { padding: 64px 0; } }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* ── Eyebrow ────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: .75rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 16px;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  padding: 14px 28px; border-radius: 100px; border: 2px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-cyan {
  background: var(--cyan); color: var(--navy-deep);
  box-shadow: 0 6px 18px rgba(4,209,241,.32);
}
.btn-cyan:hover { box-shadow: 0 10px 28px rgba(4,209,241,.44); }
.btn-navy  { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(26,33,57,.22); }
.btn-navy:hover  { background: var(--navy-deep); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-sm { padding: 10px 22px; font-size: .84rem; }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: var(--max-width); margin: 0 auto; gap: 16px;
}
.header-logo img { height: 30px; width: auto; }
.header-nav { display: flex; align-items: center; gap: 18px; }
.header-nav a {
  font-family: var(--font-display); font-size: .8rem; font-weight: 500;
  color: var(--navy); position: relative; padding: 4px 0; white-space: nowrap;
}
.header-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--cyan);
  transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.header-nav a:hover::after, .header-nav a.active::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-phone { font-family: var(--font-display); font-weight: 600; font-size: .82rem; color: var(--navy); display: none; white-space: nowrap; }
@media (min-width: 1200px) { .header-phone { display: inline; } }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 24px; height: 24px; color: var(--navy); }
.mobile-nav { display: none; flex-direction: column; padding: 8px 24px 24px; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav a { font-family: var(--font-display); font-weight: 500; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--navy); }
.mobile-nav .btn { margin-top: 16px; }
@media (max-width: 1020px) {
  .header-nav { display: none; }
  .desktop-only { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.nav-open .mobile-nav { display: flex; }
}

/* ── Eyebrow mark ────────────────────────────────────────── */
.mark {
  display: inline-block;
  width: 20px;
  height: 16px;
  flex-shrink: 0;
  vertical-align: middle;
  position: relative;
  top: -1px;
  background-image: url('../images/stripes-mark.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.mark--dark  { filter: brightness(0) invert(1); }
.mark--light { filter: none; }

/* ── Hero ───────────────────────────────────────────────── */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(17,22,42,.97) 0%, rgba(17,22,42,.88) 42%, rgba(17,22,42,.5) 75%, rgba(17,22,42,.2) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 640px; padding: 130px 24px 120px;
  margin: 0 auto 0 max(24px, calc((100vw - var(--max-width)) / 2));
}
@media (max-width: 900px) { .hero-content { padding: 88px 24px 88px; margin: 0 auto; } }
.hero-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 20px;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { color: var(--cyan); font-style: normal; }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,.78); max-width: 52ch; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-phone { font-family: var(--font-display); font-size: .88rem; color: rgba(255,255,255,.65); }
.hero-phone strong { color: #fff; }

/* ── Trust strip ─────────────────────────────────────────── */
.trust-strip { background: var(--off-white); border-bottom: 1px solid var(--line); padding: 20px 0; }
.trust-strip .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; }
.trust-item { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: .82rem; font-weight: 600; color: var(--ink-soft); }
.trust-item svg { width: 16px; height: 16px; color: var(--cyan); flex-shrink: 0; }

/* ── Section head ─────────────────────────────────────────── */
.section-head { max-width: 680px; margin: 0 0 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }

/* ── Photo card grid (homepage) ──────────────────────────── */
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
@media (max-width: 900px) { .value-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 580px) { .value-grid { grid-template-columns: 1fr; } }

.value-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: box-shadow .2s ease, transform .2s ease;
  display: flex; flex-direction: column;
}
.value-card:hover { box-shadow: var(--shadow-up); transform: translateY(-3px); }
.value-card-photo { aspect-ratio: 16/10; overflow: hidden; }
.value-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.value-card:hover .value-card-photo img { transform: scale(1.05); }
.value-card-body { padding: 28px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.value-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.value-card p  { margin-bottom: 18px; flex: 1; }
.link-arrow {
  font-family: var(--font-display); font-weight: 600; font-size: .86rem;
  color: var(--navy); display: inline-flex; align-items: center; gap: 6px; margin-top: auto;
}
.link-arrow svg { width: 14px; height: 14px; transition: transform .2s ease; }
.value-card:hover .link-arrow svg { transform: translateX(4px); }

/* Icon-only card variant (no photo) */
.value-card.icon-card { overflow: visible; }
.value-card.icon-card .value-card-body { padding: 32px; }
.value-icon { width: 48px; height: 48px; margin-bottom: 18px; }

/* ── Coverage grid ───────────────────────────────────────── */
.coverage-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 980px) { .coverage-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 580px) { .coverage-grid { grid-template-columns: 1fr; } }

.coverage-card {
  border-radius: var(--radius); border: 1px solid var(--line); background: #fff;
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.coverage-card:hover { box-shadow: var(--shadow-up); transform: translateY(-3px); }
.coverage-card-img { position: relative; height: 150px; overflow: hidden; }
.coverage-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.coverage-card:hover .coverage-card-img img { transform: scale(1.06); }
.coverage-card-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,22,42,.1) 0%, rgba(17,22,42,.65) 100%);
}
.coverage-card-badge {
  position: absolute; bottom: 12px; left: 14px; z-index: 2;
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--cyan); display: flex; align-items: center; justify-content: center;
}
.coverage-card-badge svg { width: 18px; height: 18px; color: var(--navy-deep); }
.coverage-card-body { padding: 22px 22px 26px; flex: 1; }
.coverage-card-body h4 { margin-bottom: 8px; font-size: 1.05rem; }
.coverage-card-body p  { font-size: .92rem; margin-bottom: 0; }

/* ── Testimonials ─────────────────────────────────────────── */
.testimonial-section { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.testimonial-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; position: relative; z-index: 2; }
@media (max-width: 720px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 32px 28px;
}
.testimonial-stars { color: var(--cyan); font-size: 1rem; letter-spacing: 2px; display: block; margin-bottom: 12px; }
.testimonial-card p  { color: rgba(255,255,255,.88); font-size: 1rem; margin-bottom: 16px; }
.testimonial-author  { font-family: var(--font-display); font-weight: 600; font-size: .88rem; color: var(--cyan); }

/* ── CTA band ────────────────────────────────────────────── */
.cta-band { background: var(--off-white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: 6px; }
.cta-band p  { margin-bottom: 0; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Split layout ────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ── Page hero ────────────────────────────────────────────── */
.page-hero { background: var(--navy); color: #fff; padding: 80px 0 60px; position: relative; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(17,22,42,.96) 0%, rgba(17,22,42,.88) 50%, rgba(17,22,42,.65) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--cyan); }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero > .container > p { color: rgba(255,255,255,.76); max-width: 60ch; font-size: 1.05rem; margin-bottom: 0; }
.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--cyan); }

/* ── Feature list ────────────────────────────────────────── */
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.feature-list li:last-child { border-bottom: none; }
.feature-list svg { width: 20px; height: 20px; color: var(--cyan); flex-shrink: 0; margin-top: 2px; }
.feature-list strong { color: var(--navy); font-family: var(--font-display); display: block; margin-bottom: 2px; }
.feature-list span { color: var(--ink-soft); font-size: .94rem; }

/* ── Blog ────────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
@media (max-width: 680px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.blog-card:hover { box-shadow: var(--shadow-up); transform: translateY(-3px); }
.blog-card-photo { height: 180px; overflow: hidden; }
.blog-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-card-photo img { transform: scale(1.05); }
.blog-card-body { padding: 26px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.blog-card-body .eyebrow { font-size: .7rem; color: var(--slate); margin-bottom: 10px; }
.blog-card-body h3 { margin-bottom: 10px; font-size: 1.15rem; }
.blog-card-body p { font-size: .93rem; }

/* ── Contact form ─────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 52px; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; gap: 36px; } }
.contact-info-card { background: var(--navy); border-radius: var(--radius); padding: 36px 30px; }
.contact-info-card h3 { color: #fff; }
.contact-info-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-info-row:last-of-type { border-bottom: none; }
.contact-info-row svg { width: 20px; height: 20px; color: var(--cyan); flex-shrink: 0; margin-top: 3px; }
.contact-info-row .label { font-size: .75rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }
.contact-info-row a, .contact-info-row .value { font-family: var(--font-display); font-weight: 600; color: #fff; display: block; font-size: .96rem; }
.footer-social.invert { margin-top: 24px; }
.form-card { background: var(--off-white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
@media (max-width: 540px) { .form-card { padding: 24px 18px; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-display); font-size: .82rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: .94rem;
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(4,209,241,.14);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: .8rem; color: var(--slate); margin-top: 14px; margin-bottom: 0; }
.form-success { display: none; text-align: center; padding: 40px 24px; }
.form-success svg { width: 48px; height: 48px; color: var(--cyan); margin: 0 auto 16px; }
.form-success.show { display: block; }
.form-card.hidden { display: none; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.65); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 48px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: 28px; }
.footer-grid > div:first-child p { color: rgba(255,255,255,.5); font-size: .9rem; }
.footer-col h5 { font-family: var(--font-display); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.95); margin-bottom: 16px; }
.footer-col a { display: block; font-size: .9rem; color: rgba(255,255,255,.58); padding: 6px 0; transition: color .15s ease; }
.footer-col a:hover { color: var(--cyan); }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; padding: 0; transition: border-color .15s ease, background .15s ease; }
.footer-social a:hover { border-color: var(--cyan); background: rgba(4,209,241,.1); }
.footer-social svg { width: 15px; height: 15px; color: rgba(255,255,255,.75); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: rgba(255,255,255,.4); }
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--cyan); }

/* ── Utilities ───────────────────────────────────────────── */
.bg-off  { background: var(--off-white); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy p { color: rgba(255,255,255,.76); }
.text-center { text-align: center; }

/* ── Article / Village post page ────────────────────────── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
}

.article-body { max-width: 720px; }
.article-body h2 { font-size: 1.5rem; margin-top: 2em; margin-bottom: .5em; }
.article-body h3 { font-size: 1.2rem; margin-top: 1.6em; margin-bottom: .4em; }
.article-body h4 { font-size: 1rem; margin-top: 1.4em; margin-bottom: .3em; color: var(--navy); }
.article-body p  { font-size: 1.02rem; line-height: 1.75; color: var(--ink-soft); }
.article-body ul, .article-body ol { padding-left: 1.4em; margin-bottom: 1.2em; }
.article-body li { font-size: 1rem; line-height: 1.7; color: var(--ink-soft); margin-bottom: .4em; }
.article-body strong { color: var(--navy); }
.article-body a { color: var(--cyan); border-bottom: 1px solid rgba(4,209,241,.3); }
.article-body a:hover { border-bottom-color: var(--cyan); }
.article-body hr { border: none; border-top: 1px solid var(--line); margin: 2.4em 0; }

.article-meta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line);
}
.article-tag {
  background: rgba(4,209,241,.12); color: var(--navy);
  font-family: var(--font-display); font-size: .72rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px;
}
.article-date { font-size: .88rem; color: var(--slate); }

.article-sidebar { position: sticky; top: 96px; }
.sidebar-card {
  background: var(--navy); color: #fff;
  border-radius: var(--radius); padding: 32px 28px; margin-bottom: 24px;
}
.sidebar-card h4 { color: #fff; margin-bottom: 10px; }
.sidebar-card p { color: rgba(255,255,255,.72); font-size: .92rem; margin-bottom: 18px; }
.sidebar-card .btn { width: 100%; text-align: center; }

.sidebar-more h5 {
  font-family: var(--font-display); font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--slate);
  margin-bottom: 14px;
}
.sidebar-more a {
  display: block; font-size: .9rem; font-weight: 500; color: var(--navy);
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.sidebar-more a:hover { color: var(--cyan); }

/* Village index — larger grid */
.village-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 960px) { .village-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .village-grid { grid-template-columns: 1fr; } }

/* ── File upload button ─────────────────────────────────── */
.file-upload-wrap { margin-top: 4px; }
.file-upload-btn {
  display: inline-flex; align-items: center; gap: 10px;
  cursor: pointer; padding: 12px 16px;
  border: 1.5px dashed var(--line);
  border-radius: 8px; width: 100%;
  font-family: var(--font-body); font-size: .92rem; color: var(--ink-soft);
  background: var(--white); transition: border-color .15s, background .15s;
}
.file-upload-btn:hover { border-color: var(--cyan); background: rgba(4,209,241,.04); color: var(--navy); }

/* ── Comparison table ───────────────────────────────────── */
.comp-table-wrap {
  overflow-x: auto; margin: 0 0 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.comp-table {
  width: 100%; border-collapse: collapse;
  font-size: .94rem; table-layout: fixed;
}

/* Column widths — Coverage wide, AirCover narrow, VIFO wide */
.comp-table .col-coverage { width: 44%; }
.comp-table .col-aircover  { width: 16%; }
.comp-table .col-vifo      { width: 40%; }

/* Headers — three distinct colours */
.comp-table thead tr { border-bottom: none; }
.comp-table thead th {
  font-family: var(--font-display); font-size: .76rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: 18px 24px;
}
.comp-table th.comp-coverage-head {
  background: var(--navy-deep); color: rgba(255,255,255,.75);
  text-align: left;
}
.comp-table th.comp-aircover-head {
  background: #6b7280; color: #fff;
  text-align: center;
  border-left: 1px solid rgba(0,0,0,.12);
}
.comp-table th.comp-vifo-head {
  background: var(--cyan); color: var(--navy-deep);
  text-align: left; padding-left: 28px;
  border-left: 1px solid rgba(0,0,0,.06);
}

/* Body rows — white base, no alternating on coverage column */
.comp-table tbody tr { border-bottom: 1px solid var(--line); background: var(--white); }
.comp-table tbody tr:last-child { border-bottom: none; }
.comp-table tbody tr:hover { background: rgba(4,209,241,.03); }

/* Coverage area cell */
.comp-topic {
  padding: 22px 24px; vertical-align: middle;
  border-right: 1px solid var(--line);
}
.comp-topic strong {
  display: block; color: var(--navy);
  font-family: var(--font-display); font-weight: 700;
  font-size: .97rem; margin-bottom: 4px;
}
.comp-topic .comp-detail { font-size: .82rem; color: var(--slate); line-height: 1.4; }

/* AirCover cell — icon centred */
.comp-cell {
  padding: 22px 12px; text-align: center; vertical-align: middle;
  border-right: 1px solid var(--line);
}

/* VIFO cell — icon + text left-aligned, light cyan tint */
.comp-vifo { padding: 22px 28px; vertical-align: middle; background: rgba(4,209,241,.05); }
.comp-vifo-inner { display: flex; align-items: center; gap: 12px; }
.comp-vifo-inner .comp-detail { font-size: .88rem; color: var(--ink-soft); line-height: 1.35; margin: 0; }

/* Icons */
.comp-yes svg { stroke: #16a34a; width: 24px; height: 24px; flex-shrink: 0; }
.comp-no  svg { stroke: #dc2626; width: 24px; height: 24px; flex-shrink: 0; }
.comp-warn svg { stroke: #d97706; width: 24px; height: 24px; flex-shrink: 0; }
.comp-yes, .comp-no, .comp-warn { display: inline-flex; align-items: center; justify-content: center; }

@media (max-width: 700px) {
  .comp-table { table-layout: auto; }
  .comp-topic { padding: 14px 16px; }
  .comp-cell  { padding: 14px 10px; }
  .comp-vifo  { padding: 14px 16px; }
  .comp-vifo-inner .comp-detail { font-size: .8rem; }
}

.aircover-callout {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(217,119,6,.08); border: 1px solid rgba(217,119,6,.3);
  border-radius: var(--radius); padding: 22px 24px; margin-top: 32px;
}
.aircover-callout-icon svg { stroke: #d97706; flex-shrink: 0; margin-top: 2px; }
.aircover-callout strong { color: var(--navy); }

/* ── How It Works ───────────────────────────────────────── */
.how-it-works { display: flex; align-items: flex-start; gap: 0; }
@media (max-width: 760px) { .how-it-works { flex-direction: column; } }
.hiw-step { flex: 1; display: flex; gap: 20px; align-items: flex-start; }
.hiw-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hiw-content h3 { margin-bottom: 8px; }
.hiw-content p { font-size: .95rem; margin-bottom: 0; }
.hiw-connector {
  width: 60px; flex-shrink: 0;
  border-top: 2px dashed var(--cyan);
  margin-top: 24px;
}
@media (max-width: 760px) {
  .hiw-connector { width: 2px; height: 32px; border-top: none; border-left: 2px dashed var(--cyan); margin: 8px 0 8px 24px; }
  .how-it-works { gap: 4px; }
}

/* ── FAQ ────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; background: var(--white); border: none; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--navy);
}
.faq-q:hover { background: var(--off-white); }
.faq-chevron { flex-shrink: 0; transition: transform .2s ease; }
.faq-q[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-a { padding: 0 24px 20px; }
.faq-a p { margin-bottom: 0; }
.faq-a a { color: var(--cyan); }

/* ── Mobile sticky CTA bar ──────────────────────────────── */
.mobile-cta-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--navy); padding: 12px 20px;
  justify-content: space-between; align-items: center; gap: 12px;
  border-top: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
}
@media (max-width: 768px) { .mobile-cta-bar { display: flex; } body { padding-bottom: 72px; } }
.mobile-cta-call {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: #fff;
}
.mobile-cta-quote { flex-shrink: 0; }

/* ── Testimonial grid expand to 4 columns ───────────────── */
@media (min-width: 900px) {
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}
.testimonial-stars { color: #f59e0b; font-size: 1rem; display: block; margin-bottom: 10px; letter-spacing: 2px; }

/* ── Income Estimator ───────────────────────────────────── */
.estimator-layout { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; }
@media (max-width:840px) { .estimator-layout { grid-template-columns:1fr; } }
.estimator-card { background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:36px; box-shadow:var(--shadow); }
.availability-btns { display:flex; gap:8px; flex-wrap:wrap; }
.avail-btn {
  padding:9px 16px; border-radius:100px; border:1.5px solid var(--line); background:var(--white);
  font-family:var(--font-display); font-size:.84rem; font-weight:600; color:var(--slate); cursor:pointer;
  transition:all .15s ease;
}
.avail-btn.active, .avail-btn:hover { border-color:var(--navy); background:var(--navy); color:#fff; }
.estimator-result { border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); }
.result-header { background:var(--navy); color:#fff; padding:28px 32px; }
.result-header h2 { color:#fff; font-size:clamp(1.4rem,3vw,2rem); margin-bottom:6px; }
.result-body { background:var(--white); border:1px solid var(--line); border-top:none; padding:24px 32px; }
.result-row { display:flex; justify-content:space-between; align-items:center; padding:11px 0; border-bottom:1px solid var(--line); font-size:.95rem; }
.result-row:last-of-type { border-bottom:none; }
.result-row.highlight { background:var(--off-white); margin:0 -32px; padding:14px 32px; font-weight:700; font-size:1.05rem; }
.result-row strong { font-family:var(--font-display); color:var(--navy); }

/* ── Legal Templates ─────────────────────────────────────── */
.templates-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:28px; margin-bottom:40px; }
@media (max-width:760px) { .templates-grid { grid-template-columns:1fr; } }
.template-card { background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:32px; box-shadow:var(--shadow); display:flex; flex-direction:column; }
.template-icon { width:52px; height:52px; background:var(--navy); border-radius:10px; display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.template-icon svg { stroke:#fff; }
.template-body h4 { margin-bottom:10px; }
.template-includes { list-style:none; padding:0; margin:16px 0 0; }
.template-includes li { font-size:.88rem; color:var(--slate); padding:5px 0; border-bottom:1px solid var(--line); display:flex; align-items:center; gap:8px; }
.template-includes li::before { content:""; width:6px; height:6px; border-radius:50%; background:var(--cyan); flex-shrink:0; }
.template-includes li:last-child { border-bottom:none; }
.legal-disclaimer { display:flex; gap:14px; align-items:flex-start; background:var(--off-white); border:1px solid var(--line); border-radius:var(--radius); padding:20px 22px; }
.legal-disclaimer svg { stroke:var(--slate); }

/* ── Checklist ───────────────────────────────────────────── */
.chk-header-bar { display:flex; align-items:center; gap:24px; background:var(--navy); border-radius:var(--radius); padding:24px 28px; margin-bottom:40px; flex-wrap:wrap; }
.chk-overall-label { font-size:.78rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:rgba(255,255,255,.6); }
.chk-overall-score { font-family:var(--font-display); font-size:2rem; font-weight:800; color:var(--cyan); }
.chk-progress-bar { height:8px; background:rgba(255,255,255,.15); border-radius:4px; overflow:hidden; }
.chk-progress-bar--lg { height:12px; flex:1; }
.chk-progress-fill { height:100%; background:var(--cyan); border-radius:4px; transition:width .3s ease; width:0; }
.chk-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
@media (max-width:820px) { .chk-grid { grid-template-columns:1fr; } }
.chk-category { background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:28px; box-shadow:var(--shadow); }
.chk-cat-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; gap:16px; }
.chk-cat-header h3 { margin:0; font-size:1.05rem; }
.chk-cat-progress { display:flex; align-items:center; gap:10px; flex-shrink:0; }
.chk-cat-count { font-family:var(--font-display); font-size:.8rem; font-weight:600; color:var(--slate); white-space:nowrap; }
.chk-cat-progress .chk-progress-bar { width:80px; height:6px; background:var(--line); }
.chk-item { display:flex; align-items:flex-start; gap:12px; padding:9px 0; border-bottom:1px solid var(--line); cursor:pointer; }
.chk-item:last-child { border-bottom:none; }
.chk-item.chk-done .chk-text { color:var(--slate); text-decoration:line-through; opacity:.6; }
.chk-box { display:none; }
.chk-check { width:20px; height:20px; border:2px solid var(--line); border-radius:5px; flex-shrink:0; margin-top:1px; display:flex; align-items:center; justify-content:center; transition:all .15s; }
.chk-box:checked + .chk-check { background:var(--cyan); border-color:var(--cyan); }
.chk-box:checked + .chk-check::after { content:""; width:5px; height:9px; border:2px solid var(--navy); border-top:none; border-left:none; transform:rotate(45deg) translate(-1px,-1px); display:block; }
.chk-text { font-size:.88rem; color:var(--ink-soft); line-height:1.4; }
.chk-badge { display:inline-block; font-size:.68rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; padding:2px 7px; border-radius:100px; margin-left:6px; vertical-align:middle; }
.chk-badge.req { background:rgba(220,38,38,.1); color:#dc2626; }
.chk-badge.opt { background:rgba(121,129,144,.12); color:var(--slate); }
.chk-cta { background:var(--navy); border-radius:var(--radius); padding:36px; text-align:center; margin-top:40px; }
.chk-cta h3 { color:#fff; margin-bottom:10px; }
.chk-cta p { color:rgba(255,255,255,.75); margin-bottom:20px; }

/* ── Vendor Network ──────────────────────────────────────── */
.vendor-coming-soon { background:var(--off-white); border:1px solid var(--line); border-radius:var(--radius); padding:48px; text-align:center; margin-bottom:48px; }
.vendor-cs-icon { width:72px; height:72px; background:var(--navy); border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 24px; }
.vendor-cs-icon svg { stroke:var(--cyan); }
.vendor-categories { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-bottom:64px; }
@media (max-width:760px) { .vendor-categories { grid-template-columns:repeat(2,1fr); } }
.vendor-cat { background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:18px 20px; display:flex; align-items:center; gap:12px; font-family:var(--font-display); font-weight:600; font-size:.9rem; color:var(--navy); }
.vendor-cat svg { stroke:var(--cyan); flex-shrink:0; }
.vendor-apply .form-card { background:var(--off-white); border:1px solid var(--line); }

/* ── Village tools strip ─────────────────────────────────── */
.village-tools-strip {
  background: var(--off-white);
  border-bottom: 1px solid var(--line);
  padding: 48px 0;
}
.village-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 960px) { .village-tools-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .village-tools-grid { grid-template-columns: 1fr; } }

.village-tool-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow);
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
  text-decoration: none;
}
.village-tool-card:hover {
  box-shadow: 0 4px 20px rgba(26,33,57,.10);
  transform: translateY(-2px);
  border-color: var(--cyan);
}
.village-tool-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--navy);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.village-tool-icon svg { stroke: var(--cyan); }
.village-tool-label {
  font-family: var(--font-display);
  font-weight: 700; font-size: .92rem;
  color: var(--navy); display: block; margin-bottom: 3px;
}
.village-tool-desc {
  font-size: .78rem; color: var(--slate); line-height: 1.35;
}
.village-tool-arrow {
  margin-left: auto; flex-shrink: 0;
  stroke: var(--slate);
  transition: transform .18s ease, stroke .18s ease;
}
.village-tool-card:hover .village-tool-arrow {
  stroke: var(--cyan);
  transform: translateX(3px);
}

/* ── Checklist score label — allow longer encouraging text ── */
.chk-overall-score {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 2rem);
  font-weight: 800; color: var(--cyan);
  white-space: nowrap;
}

/* ── Related internal links ─────────────────────────────────── */
.related-links {
  max-width: 760px; margin: 0 auto 0; padding: 32px 0 0;
  border-top: 1px solid var(--line);
}
.related-links h5 {
  font-family: var(--font-display); font-size: .75rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--slate);
  margin-bottom: 14px;
}
.related-links-list { display: flex; flex-wrap: wrap; gap: 10px; }
.related-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-size: .84rem; font-weight: 600;
  color: var(--navy); padding: 8px 16px;
  border: 1.5px solid var(--line); border-radius: 100px;
  background: var(--white); transition: all .15s ease;
}
.related-link svg { stroke: var(--cyan); transition: transform .15s ease; }
.related-link:hover {
  border-color: var(--navy); background: var(--navy); color: #fff;
}
.related-link:hover svg { stroke: #fff; transform: translateX(3px); }

/* ── State availability disclaimer ──────────────────────── */
.availability-note {
  font-size: .8rem; color: var(--slate);
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  max-width: var(--max-width);
  margin: 0 auto;
}
.avail-asterisk {
  color: var(--cyan); font-size: .85em;
  font-weight: 700; vertical-align: super;
}

/* ── Checklist skip button & skipped state ──────────────── */
.chk-skip-btn {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-display); font-size: .72rem; font-weight: 600;
  letter-spacing: .04em; color: var(--slate);
  background: none; border: 1.5px solid var(--line);
  border-radius: 100px; padding: 5px 12px; cursor: pointer;
  margin-left: auto; flex-shrink: 0;
  transition: all .15s ease;
}
.chk-skip-btn:hover { border-color: var(--navy); color: var(--navy); }
.chk-skip-btn[aria-pressed="true"] {
  border-color: var(--cyan); color: var(--navy);
  background: rgba(4,209,241,.08);
}

/* Skipped category — dims everything */
.chk-category.chk-skipped {
  opacity: .45;
  pointer-events: none; /* prevents clicking items */
}
/* But keep the header interactive */
.chk-category.chk-skipped .chk-cat-header {
  pointer-events: all;
  opacity: 1;
}
.chk-category.chk-skipped .chk-skip-btn {
  pointer-events: all;
  opacity: 1;
}
.chk-category.chk-skipped .chk-cat-header h3 {
  text-decoration: line-through;
  color: var(--slate);
}
