@import url("../fonts/fonts-trades.css");

:root {
  --bg: #f3f5f7;
  --bg-alt: #e7ecf0;
  --bg-dark: #102033;
  --navy-deep: #0b1724;
  --ink: #102033;
  --ink-soft: #2a3d52;
  --muted: #4d5e70;
  --line: #d5dce3;
  --line-dark: #1e3a55;
  --amber: #f0c14b;
  --amber-deep: #c88914;
  --white: #ffffff;
  --paper: #f8fafb;
  --focus: #102033;
  --radius: 6px;
  --shadow: 0 16px 40px rgba(16, 32, 51, 0.12);
  --font: "IBM Plex Sans", "Segoe UI", sans-serif;
  --display: "Space Grotesk", "Segoe UI", sans-serif;
  --wrap: 1120px;
  --pad: clamp(1.25rem, 4vw, 2rem);
  --sticky-space: 0px;
}

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

html { scroll-behavior: smooth; }

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

p, li, blockquote { hyphens: manual; overflow-wrap: break-word; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 0.18em; }

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 40;
  background: var(--ink);
  color: var(--amber);
  padding: 0.55rem 0.9rem;
  border-radius: 4px;
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

.wrap {
  width: min(var(--wrap), 100% - var(--pad) * 2);
  margin-inline: auto;
}

.sample-banner {
  margin: 0;
  padding: 0.45rem var(--pad);
  background: var(--navy-deep);
  color: #d7e0e8;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.sample-banner a {
  color: var(--amber);
  font-weight: 600;
  text-decoration: none;
}
.sample-banner a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg-dark) 94%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--white);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.logo-mark { color: var(--amber); flex-shrink: 0; }

.nav-toggle {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  cursor: pointer;
  border-radius: 4px;
}

.nav-burger-bars,
.nav-burger-bars::before,
.nav-burger-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  position: relative;
  border-radius: 1px;
}

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

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 550;
  color: #d7e0e8;
}

.site-nav a:hover { color: var(--white); }

.phone-link { font-variant-numeric: tabular-nums; color: var(--amber) !important; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--amber);
  border-radius: 4px;
  background: var(--amber);
  color: var(--ink);
  text-decoration: none;
  font: inherit;
  font-family: var(--display);
  font-weight: 650;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover { background: #ffd56a; border-color: #ffd56a; }

.btn-ghost {
  background: transparent;
  color: var(--amber);
}

.btn-ghost:hover { background: var(--amber); color: var(--ink); }

.btn-ghost-light {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost-light:hover { background: var(--ink); color: var(--white); }

.btn-sm { min-height: 40px; padding: 0.4rem 0.9rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

.eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-deep);
}

.eyebrow-on-dark { color: var(--amber); }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 1rem;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); max-width: 16ch; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); max-width: 20ch; }
h3 { font-size: 1.2rem; }

.lead, .section-lede {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  font-size: 1.125rem;
  max-width: 40rem;
}

.section { padding: clamp(4.25rem, 8vw, 6.75rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #e7eef4; }
.section-dark p,
.section-dark .section-lede { color: #c5d0da; }
.section-dark h2 { color: var(--white); }
.section-head { margin-bottom: 2.4rem; }

.hero {
  background: var(--bg-dark);
  color: var(--white);
  padding: clamp(3rem, 7vw, 5.25rem) 0 4.25rem;
}

.hero .lead { color: #c5d0da; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.75rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.35rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: #c5d0da;
  font-size: 0.92rem;
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-meta li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--amber);
}

.hero-art-wrap { position: relative; }

.hero-art {
  width: 100%;
  height: auto;
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow);
}

.hero-card {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: color-mix(in srgb, var(--navy-deep) 92%, transparent);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-dark);
  padding: 1rem 1.1rem;
  color: var(--white);
}

.hero-card-label {
  margin: 0 0 0.2rem;
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--amber);
}

.hero-card-title {
  margin: 0 0 0.25rem;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 650;
}

.hero-card-note { margin: 0; font-size: 0.9rem; color: #c5d0da; }

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.offer-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.2rem;
  border-top: 3px solid var(--amber);
}

.offer-icon { color: var(--amber-deep); margin-bottom: 0.8rem; }
.offer-card p { color: var(--ink-soft); margin: 0; }

.area-grid,
.about-grid,
.faq-wrap,
.book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.town-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1rem;
  list-style: none;
  margin: 1.25rem 0 1rem;
  padding: 0;
  font-family: var(--display);
  font-weight: 650;
  font-size: 1.15rem;
  color: var(--white);
}

.town-list li {
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line-dark);
  background: #13263a;
}

.area-map { border: 1px solid var(--line-dark); }
.map-art { width: 100%; height: auto; }

.principles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.principles li {
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  background: var(--paper);
  border-left: 3px solid var(--amber);
  display: grid;
  gap: 0.3rem;
}

.principles strong {
  font-family: var(--display);
  font-size: 1.1rem;
}

.principles span { color: var(--ink-soft); font-size: 0.98rem; }

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.quote-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
}

.quote-card p {
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0 0 1.15rem;
}

.quote-card footer {
  margin-top: auto;
  font-size: 0.88rem;
  color: var(--muted);
}

.sample-note { margin: 1.4rem 0 0; font-size: 0.82rem; color: var(--muted); }
.sample-note.on-dark { color: #9aafc0; }

.price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--paper);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.price-table thead th {
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--bg-dark);
  color: var(--amber);
  border-bottom: 0;
}

.price-table tbody th { font-weight: 650; width: 28%; }
.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table td:nth-child(2) {
  font-family: var(--display);
  font-weight: 650;
  white-space: nowrap;
  width: 22%;
}

.pricing-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

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

details {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
  padding: 0.15rem 1.1rem;
}

summary {
  cursor: pointer;
  font-weight: 650;
  font-family: var(--display);
  padding: 1rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--amber-deep);
}
details[open] summary::after { content: "–"; }
details p { margin: 0 0 1.05rem; color: var(--ink-soft); max-width: 42rem; }

.book-aside {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.book-aside li {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line-dark);
  color: #c5d0da;
}

.book-aside strong {
  display: block;
  color: var(--amber);
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.form {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: grid;
  gap: 1rem;
}

.field, .field-row { display: grid; gap: 0.4rem; }
.field-row { grid-template-columns: 1fr 1fr; gap: 0.9rem; }
label { font-size: 0.88rem; font-weight: 650; }

.form input,
.form select,
.form textarea {
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #b9c4ce;
  border-radius: 4px;
  padding: 0.75rem 0.85rem;
  width: 100%;
}

.form input:hover,
.form select:hover,
.form textarea:hover { border-color: #7e8c99; }

.form-disclaimer,
.form-success { margin: 0; font-size: 0.85rem; color: var(--muted); }

.form-success {
  color: var(--ink);
  background: #e7f0d8;
  border-radius: 4px;
  padding: 0.75rem 0.85rem;
}

.site-footer {
  background: var(--navy-deep);
  color: #e7eef4;
  padding: 3.5rem 0 5.5rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line-dark);
}

.footer-brand {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 650;
  margin: 0 0 0.5rem;
  color: var(--white);
}

.site-footer p { color: #c5d0da; max-width: 34rem; margin: 0; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 1.15rem; }
.footer-inner a { color: #e7eef4; text-decoration: none; font-weight: 650; }
.footer-inner a:hover { color: var(--amber); }
.footer-note { padding-top: 1.25rem; font-size: 0.82rem; }
.footer-note p { color: #9aafc0; }

.sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 15;
  gap: 0.6rem;
  justify-content: center;
  padding: 0.7rem var(--pad);
  background: var(--navy-deep);
  border-top: 1px solid var(--line-dark);
}

@media (max-width: 900px) {
  .nav-burger { display: grid; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--line-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem var(--pad) 1.2rem;
    gap: 0.35rem;
  }
  .site-nav a { padding: 0.7rem 0.2rem; }
  .site-nav .btn { width: fit-content; margin-top: 0.3rem; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .nav-toggle:focus-visible + .nav-burger { outline: 2px solid var(--amber); outline-offset: 3px; }
  .hero-grid,
  .area-grid,
  .about-grid,
  .faq-wrap,
  .book-grid,
  .offer-grid,
  .quote-grid,
  .field-row,
  .town-list {
    grid-template-columns: 1fr;
  }
  h1 { max-width: none; }
  .footer-inner { flex-direction: column; }
  .sticky-cta { display: flex; }
  .site-footer { padding-bottom: 6.5rem; }
  body { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
