:root {
  --ink: #19344f;
  --ink-deep: #10263a;
  --teal: #2a7d78;
  --teal-dark: #1f645f;
  --sky: #e8f4f3;
  --paper: #ffffff;
  --mist: #f4f7f8;
  --line: #d7e1e5;
  --muted: #566979;
  --warm: #c97443;
  --shadow: 0 20px 55px rgba(16, 38, 58, 0.12);
  --radius: 1.1rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink-deep);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--ink-deep);
  color: white;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(25, 52, 79, 0.09);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 4.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand > span:last-child span { color: var(--teal); }

.brand-mark {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border-radius: 0.55rem 0.55rem 0.55rem 0.18rem;
  background: var(--ink);
  color: white;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.desktop-nav { display: flex; gap: 1.6rem; }

.desktop-nav a {
  color: #405668;
  font-size: 0.93rem;
  font-weight: 650;
  text-decoration: none;
}

.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--teal-dark); }

.button {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.65rem;
  padding: 0.85rem 1.25rem;
  background: var(--teal);
  color: white;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.button:hover { background: var(--teal-dark); transform: translateY(-1px); }
.button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #e0a37e; outline-offset: 3px; }
.button-small { min-height: 2.75rem; padding: 0.65rem 1rem; font-size: 0.9rem; }

.hero {
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  background:
    radial-gradient(circle at 14% 12%, rgba(42, 125, 120, 0.13), transparent 24rem),
    linear-gradient(135deg, #f8fbfb 0%, #eef5f6 68%, #e7f0f1 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.78fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
}

.eyebrow, .form-kicker {
  margin: 0 0 0.8rem;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}

h1, h2, h3 { margin-top: 0; color: var(--ink); line-height: 1.12; }

h1 {
  max-width: 760px;
  margin-bottom: 1.4rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 6.4vw, 5.7rem);
  font-weight: 600;
  letter-spacing: -0.055em;
}

.hero-intro {
  max-width: 700px;
  margin: 0;
  color: #415869;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.7;
}

.hero-actions { display: flex; align-items: center; gap: 1.35rem; margin-top: 2rem; }

.text-link {
  color: var(--ink);
  font-weight: 750;
  text-decoration-color: rgba(25, 52, 79, 0.3);
  text-underline-offset: 0.3rem;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.4rem;
  margin: 2rem 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.88rem;
  list-style: none;
}

.hero-notes li { position: relative; padding-left: 1rem; }
.hero-notes li::before { content: ""; position: absolute; top: 0.67em; left: 0; width: 0.35rem; height: 0.35rem; border-radius: 50%; background: var(--warm); }

.quick-form {
  border: 1px solid rgba(25, 52, 79, 0.1);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.1rem);
  background: white;
  box-shadow: var(--shadow);
}

.quick-form h2 { margin-bottom: 0.7rem; font-size: clamp(1.55rem, 3vw, 2rem); letter-spacing: -0.03em; }
.quick-form > p:not(.form-kicker) { margin: 0 0 1.25rem; color: var(--muted); }
.quick-form form, .quick-form label { display: grid; gap: 0.42rem; }
.quick-form form { gap: 0.9rem; }
.quick-form label { color: var(--ink); font-size: 0.88rem; font-weight: 750; }
.optional { color: var(--muted); font-size: 0.76rem; font-weight: 500; }
.photo-fields { margin: 0; border: 0; padding: 0; }
.photo-fields legend { margin-bottom: 0.35rem; color: var(--ink); font-size: 0.88rem; font-weight: 750; }
.quick-form textarea { min-height: 5.5rem; }
.quick-form .photo-fields input { min-height: auto; font-size: 0.8rem; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }

input, select {
  width: 100%;
  min-height: 3rem;
  border: 1px solid #bac9d0;
  border-radius: 0.5rem;
  padding: 0.7rem 0.8rem;
  background: white;
  color: var(--ink-deep);
  font: inherit;
}

.hidden-field { position: absolute; left: -10000px; }
.form-button { width: 100%; margin-top: 0.2rem; }
.form-note { margin: 0; color: #687b89; font-size: 0.78rem; text-align: center; }

.purpose-strip { border-block: 1px solid var(--line); background: white; }
.purpose-grid { display: grid; grid-template-columns: 0.65fr 1.35fr; gap: 2rem; padding-block: 1.5rem; }
.purpose-grid p { margin: 0; }
.purpose-grid p:last-child { color: var(--muted); }

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-heading { max-width: 660px; margin-bottom: 2.4rem; }
.section-heading h2 { margin-bottom: 0.8rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.1rem, 4.5vw, 3.6rem); font-weight: 600; letter-spacing: -0.04em; }
.section-heading > p:last-child { margin: 0; color: var(--muted); font-size: 1.08rem; }

.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.problem-card { position: relative; min-height: 300px; border: 1px solid var(--line); border-radius: 0.8rem; padding: 1.35rem; background: var(--paper); text-decoration: none; transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.problem-card:hover { transform: translateY(-3px); border-color: #95bcb9; box-shadow: 0 14px 35px rgba(16, 38, 58, 0.09); }
.card-number { display: inline-block; margin-bottom: 3rem; color: var(--warm); font-size: 0.76rem; font-weight: 850; letter-spacing: 0.1em; }
.problem-card h3 { margin-bottom: 0.8rem; font-size: 1.18rem; }
.problem-card p { margin: 0 0 1.2rem; color: var(--muted); font-size: 0.94rem; }
.card-link { position: absolute; bottom: 1.35rem; color: var(--teal-dark); font-size: 0.86rem; font-weight: 800; }

.section-tint { background: var(--mist); }
.split-heading { display: grid; grid-template-columns: 1fr 0.8fr; gap: 3rem; align-items: end; margin-bottom: 2.5rem; }
.split-heading h2, .decision-grid h2, .coverage-grid h2 { margin-bottom: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.1rem, 4.5vw, 3.6rem); font-weight: 600; letter-spacing: -0.04em; }
.split-heading > p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.service-list { border-top: 1px solid #cbd8dd; }
.service-list a { display: grid; grid-template-columns: 0.9fr 1.4fr auto; gap: 1.5rem; align-items: center; border-bottom: 1px solid #cbd8dd; padding: 1.3rem 0.4rem; text-decoration: none; }
.service-list span { font-weight: 800; }
.service-list small { color: var(--muted); font-size: 0.92rem; }
.service-list b { color: var(--teal); font-size: 1.3rem; }
.process-section { background: var(--ink); }
.process-section h2, .process-section h3 { color: white; }
.process-section .eyebrow { color: #78c5be; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.process-grid li { border-top: 1px solid #557087; padding: 1.4rem 1rem 0 0; }
.process-grid li > span { display: inline-grid; width: 2rem; height: 2rem; place-items: center; border-radius: 50%; background: #d8a080; color: var(--ink-deep); font-weight: 850; }
.process-grid h3 { margin: 1.3rem 0 0.6rem; }
.process-grid p { color: #c3d0d8; }
.decision-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.decision-grid > div > p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; }
.factor-list { margin: 0; border-top: 1px solid var(--line); }
.factor-list div { border-bottom: 1px solid var(--line); padding: 1.2rem 0; }
.factor-list dt { color: var(--ink); font-weight: 800; }
.factor-list dd { margin: 0.35rem 0 0; color: var(--muted); }
.coverage-section { background: var(--sky); }
.coverage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 6rem); align-items: center; }
.coverage-grid p { color: var(--muted); }
.button-outline { border: 1px solid var(--teal); background: transparent; color: var(--teal-dark); }
.button-outline:hover { color: white; }
.city-list { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 3vw, 2.2rem); line-height: 1.65; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.guide-grid a { border: 1px solid var(--line); border-radius: 0.85rem; padding: 1.5rem; text-decoration: none; }
.guide-grid span { color: var(--warm); font-size: 0.76rem; font-weight: 850; text-transform: uppercase; letter-spacing: 0.09em; }
.guide-grid h3 { margin: 1.4rem 0 0.8rem; font-size: 1.3rem; }
.guide-grid p { margin: 0; color: var(--muted); }
.final-cta { padding: 3.3rem 0; background: #dceceb; }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.final-cta h2 { margin-bottom: 0.3rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 600; letter-spacing: -0.04em; }
.final-cta p { margin: 0; color: var(--muted); }
.site-footer { padding: 4rem 0 1.5rem; background: #0b1d2b; color: #b9c8d2; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.7fr 1fr; gap: 3rem; }
.footer-brand { color: white; }
.footer-grid > div:first-child p { max-width: 390px; }
.footer-grid h2 { margin-bottom: 1rem; color: white; font-family: inherit; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid a:not(.brand) { margin-bottom: 0.55rem; color: #c9d6de; text-decoration-color: #506574; text-underline-offset: 0.25rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; margin-top: 3rem; border-top: 1px solid #294153; padding-top: 1.4rem; font-size: 0.78rem; }
.footer-bottom p { max-width: 620px; margin: 0; }

/* Interior pages */
.page-hero { padding: clamp(3.8rem, 8vw, 7rem) 0 3.5rem; background: linear-gradient(135deg, #f8fbfb, #eaf3f4); }
.page-hero .shell { max-width: 900px; margin-left: max(1rem, calc((100% - 1160px) / 2)); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
.page-hero p:last-child { max-width: 760px; margin: 0; color: #405869; font-size: 1.18rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 5rem; align-items: start; }
.article h2 { margin: 3rem 0 0.8rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 3.5vw, 2.7rem); font-weight: 600; letter-spacing: -0.035em; }
.article h2:first-child { margin-top: 0; }
.article h3 { margin-top: 2rem; }
.article p, .article li { color: #445b6c; }
.article ul { padding-left: 1.25rem; }
.answer-box { margin: 2rem 0; border-left: 4px solid var(--teal); padding: 1.2rem 1.3rem; background: var(--sky); }
.answer-box p { margin: 0; color: var(--ink-deep); }
.article-cta { position: sticky; top: 6rem; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; background: white; box-shadow: 0 12px 35px rgba(16,38,58,.08); }
.article-cta h2 { margin-bottom: 0.7rem; font-size: 1.5rem; }
.article-cta p { color: var(--muted); }
.article-cta .button { width: 100%; }
.faq details { border-top: 1px solid var(--line); padding: 1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { color: var(--ink); font-weight: 800; cursor: pointer; }
.faq details p { margin-bottom: 0; }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 4rem; }
.full-form { display: grid; gap: 1rem; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2rem); box-shadow: var(--shadow); }
.full-form label { display: grid; gap: 0.4rem; font-weight: 750; }
textarea { min-height: 8rem; resize: vertical; border: 1px solid #bac9d0; border-radius: 0.5rem; padding: 0.8rem; color: var(--ink-deep); font: inherit; }
.photo-fields { display: grid; gap: 0.7rem; }
.photo-fields input { padding: 0.6rem; }

@media (max-width: 960px) {
  .header-inner { flex-wrap: wrap; padding-block: 0.7rem; }
  .desktop-nav { order: 3; width: 100%; gap: 1.2rem; overflow-x: auto; padding: 0.15rem 0 0.3rem; white-space: nowrap; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .quick-form { max-width: 680px; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; gap: 3rem; }
  .article-cta { position: static; max-width: 600px; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 1.25rem, 1160px); }
  .site-header .button-small { display: none; }
  .header-inner { min-height: 4.25rem; }
  .desktop-nav { font-size: 0.88rem; }
  .hero { padding-top: 3rem; }
  h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .text-link { padding: 0.4rem 0.2rem; }
  .hero-notes { display: grid; }
  .field-row, .purpose-grid, .problem-grid { grid-template-columns: 1fr; }
  .problem-card { min-height: 250px; }
  .split-heading, .decision-grid, .coverage-grid, .guide-grid, .process-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .service-list a { grid-template-columns: 1fr auto; gap: 0.4rem 1rem; }
  .service-list small { grid-column: 1 / -1; }
  .final-cta-inner, .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
