/* ==========================================================================
   Show-Me Home Repairs — site styles
   Meddock LLC dba Show-Me Home Repairs

   Palette is sampled directly from Logo.png:
     navy #023873   red #D91024
   The roofline chevron from the logo is used as a repeating design motif
   (dividers, bullets, section texture) to tie the pages to the mark.
   ========================================================================== */

:root {
  /* --- Brand, straight off the logo --- */
  --navy:        #023873;
  --navy-deep:   #012349;
  --navy-lift:   #0A4B8F;
  --red:         #D91024;
  --red-deep:    #AE0B1B;

  /* --- Neutrals --- */
  --cream:   #F7F4EF;
  --sand:    #E6DFD4;
  --ink:     #131A22;
  --muted:   #59636E;
  --white:   #FFFFFF;

  /* --- Type --- */
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* --- Layout --- */
  --wrap: 1140px;
  --pad: 1.5rem;

  /* --- Motifs (inline SVG, no external requests) --- */
  --chevron-red: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cpath d='M0 14 L14 1 L28 14' fill='none' stroke='%23D91024' stroke-width='2.5'/%3E%3C/svg%3E");
  --chevron-navy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cpath d='M0 14 L14 1 L28 14' fill='none' stroke='%23023873' stroke-width='2.5'/%3E%3C/svg%3E");
  /* One large roofline, used once as a corner flourish — not a repeating tile */
  --roofline-ghost: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='520' viewBox='0 0 900 520'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='16'%3E%3Cpath d='M-40 520 L450 30 L940 520'/%3E%3Cpath d='M-40 520 L450 190 L940 520'/%3E%3C/g%3E%3C/svg%3E");
}

/* --- Base ---------------------------------------------------------------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

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

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.08;
  letter-spacing: -0.022em;
  font-weight: 800;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 6.2vw, 4.25rem); }
h2 { font-size: clamp(1.85rem, 4vw, 2.85rem); }
h3 { font-size: 1.3125rem; letter-spacing: -0.01em; }

p { margin: 0 0 1rem; }

a { color: var(--navy); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--red); }

::selection { background: var(--red); color: #fff; }

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

.section { padding-block: clamp(3.25rem, 8vw, 6rem); }
.section--cream { background: var(--cream); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 3.5rem); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--red); color: #fff; padding: 0.875rem 1.25rem; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* --- Shared type devices ------------------------------------------------- */

/* Small uppercase label, echoes the "HOME REPAIRS" line in the logo */
.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}
.eyebrow--onnavy { color: #7FB2EA; }

/* Short red rule used under headings */
.rule { width: 68px; height: 5px; background: var(--red); margin: 0 0 1.5rem; border: 0; }
.rule--center { margin-inline: auto; }

.lede { font-size: clamp(1.0625rem, 2vw, 1.25rem); color: var(--muted); max-width: 56ch; }
.section--navy .lede, .hero .lede { color: #B9CDE4; }

/* --- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--red);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  padding: 1.0625rem 1.75rem;
  border: 2px solid var(--red);
  border-radius: 2px;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); color: #fff; transform: translateY(-1px); }

.btn--sm { padding: 0.6875rem 1.125rem; font-size: 0.9375rem; }

.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-1px); }

.btn--onnavy { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--onnavy:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.875rem; margin-top: 2rem; }

/* --- Header -------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--sand);
}
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.75rem 1.5rem; padding-block: 0.875rem;
}

.brand { display: block; line-height: 0; flex-shrink: 0; }
.brand img { height: 60px; width: auto; }

.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; }
.site-nav a {
  color: var(--navy);
  font-weight: 600; font-size: 0.9375rem;
  text-decoration: none;
  padding: 0.375rem 0;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { color: var(--red); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--red); }
.site-nav .btn { border-bottom: 0; color: #fff; }
.site-nav .btn:hover { color: #fff; }

.nav-phone { font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap; }
.nav-phone:hover { color: var(--red); }

/* Client portal entrance. Deliberately distinct from the page nav so account
   holders can find it, without competing with the primary Request CTA. */
.nav-login {
  display: inline-flex; align-items: center; gap: 0.4375rem;
  font-size: 0.875rem; font-weight: 700; white-space: nowrap;
  color: var(--navy); text-decoration: none;
  padding: 0.5rem 0.8125rem;
  border: 1.5px solid var(--sand); border-radius: 2px;
  border-bottom-width: 1.5px;
}
.nav-login::before {
  content: ""; width: 13px; height: 15px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='15' viewBox='0 0 13 15'%3E%3Cpath d='M3 6V4a3.5 3.5 0 0 1 7 0v2' fill='none' stroke='%23023873' stroke-width='1.6'/%3E%3Crect x='1' y='6' width='11' height='8' rx='1.5' fill='none' stroke='%23023873' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat center;
}
.site-nav .nav-login:hover { color: var(--navy); background: var(--cream); border-color: var(--navy); }

@media (max-width: 560px) {
  .brand img { height: 42px; }
  .site-nav { gap: 0.375rem 1rem; font-size: 0.875rem; width: 100%; }
}

/* --- Navy surfaces ------------------------------------------------------- */

.section--navy, .hero, .site-footer {
  background-color: var(--navy);
  color: #D5E2F0;
}

/* The roofline flourish appears once per navy band, anchored bottom-right,
   scaled to the band. Not tiled. */
.section--navy, .hero {
  background-image: var(--roofline-ghost);
  background-repeat: no-repeat;
  background-position: right -120px bottom -60px;
  background-size: auto 130%;
}
.section--navy h1, .section--navy h2, .section--navy h3,
.hero h1, .hero h2, .hero h3 { color: #fff; }

/* --- Hero ---------------------------------------------------------------- */

.hero { padding-block: clamp(3.5rem, 10vw, 7rem); position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { margin-bottom: 0; }
.hero .rule { margin-block: 1.5rem; width: 92px; }
.hero .lede { font-size: clamp(1.125rem, 2.2vw, 1.4375rem); line-height: 1.5; max-width: 42ch; }

/* The tagline, set as a display line under the H1 */
.hero .tagline-big {
  font-size: clamp(1.5rem, 3.4vw, 2.375rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0.25em 0 0;
}
.hero .tagline-big em { font-style: normal; color: var(--red); }

/* --- Trust bar ----------------------------------------------------------- */

.trust-bar { background: var(--red); color: #fff; }
.trust-bar ul {
  list-style: none; margin: 0; padding-block: 1.125rem;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 0.5rem 1.25rem;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  text-align: center;
}
.trust-bar li { display: flex; align-items: center; gap: 1.25rem; }
.trust-bar li:not(:last-child)::after {
  content: ""; width: 18px; height: 9px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='9' viewBox='0 0 18 9'%3E%3Cpath d='M0 9 L9 1 L18 9' fill='none' stroke='%23ffffff' stroke-width='2'/%3E%3C/svg%3E") no-repeat center;
  opacity: .75;
}
@media (max-width: 700px) { .trust-bar li:not(:last-child)::after { display: none; } }

/* --- Section heading block ---------------------------------------------- */

.head { max-width: 62ch; margin-bottom: 2.75rem; }
.head--center { margin-inline: auto; text-align: center; }
.head--center .rule { margin-inline: auto; }

/* --- Service cards ------------------------------------------------------- */

/* auto-fit so the row absorbs a new service line without stranding an orphan */
.cards { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px)  { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 2px;
  padding: 2rem 1.5rem 1.75rem;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--navy);
  transition: background-color .16s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(2,56,115,.13); border-color: #D4CABA; }
.card:hover::before { background: var(--red); }

/* Cards used as whole-block links (the 404 page) keep the body text readable */
a.card { color: inherit; display: block; }
a.card h3 { color: var(--navy); }
a.card:hover h3 { color: var(--red); }

.card .num {
  display: block;
  font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.18em;
  color: var(--red); margin-bottom: 0.875rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.9875rem; }

/* --- Feature list on navy ------------------------------------------------ */

.features { list-style: none; margin: 2.75rem 0 0; padding: 0; display: grid; gap: 1.75rem; }
@media (min-width: 820px) { .features { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }

.features li { padding-top: 1.25rem; border-top: 4px solid var(--red); color: #B9CDE4; }
.features strong { display: block; color: #fff; font-size: 1.0625rem; margin-bottom: 0.25rem; }

/* --- Services page blocks ------------------------------------------------ */

.service { padding-block: clamp(2.5rem, 5vw, 3.75rem); border-top: 1px solid var(--sand); }
.service:first-of-type { border-top: 0; padding-top: 0; }

.service-head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.service-head .num {
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; line-height: 1;
  color: var(--sand); letter-spacing: -0.03em; flex-shrink: 0;
}
.service-head h2 { margin: 0; }

.service > p { max-width: 66ch; color: var(--muted); font-size: 1.0625rem; }
.service .kicker { color: var(--navy); font-weight: 700; font-size: 1.0625rem; max-width: 60ch; }

.tick { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: 0.625rem; }
@media (min-width: 720px) { .tick { grid-template-columns: repeat(2, 1fr); gap: 0.625rem 2.5rem; } }
.tick li {
  position: relative; padding-left: 1.875rem; color: var(--ink);
}
.tick li::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 16px; height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='8' viewBox='0 0 16 8'%3E%3Cpath d='M0 8 L8 1 L16 8' fill='none' stroke='%23D91024' stroke-width='2.5'/%3E%3C/svg%3E") no-repeat center;
}

/* --- About prose --------------------------------------------------------- */

.prose { max-width: 64ch; }
.prose p { font-size: 1.09375rem; }
.prose > p:first-of-type { font-size: 1.25rem; color: var(--navy); font-weight: 500; }

.pullquote {
  margin: 2.5rem 0;
  padding: 1.75rem 0 1.75rem 1.75rem;
  border-left: 6px solid var(--red);
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
}

/* --- Stats strip --------------------------------------------------------- */

.stats { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, 1fr); margin-top: 1rem; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats div { border-top: 4px solid var(--red); padding-top: 1rem; }
.stats b { display: block; font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; line-height: 1; color: #fff; letter-spacing: -0.03em; }
.stats span { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #8FB6DF; }

/* --- Service area chips -------------------------------------------------- */

.towns { list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.towns li {
  background: var(--white); border: 1px solid var(--sand); border-bottom: 3px solid var(--navy);
  padding: 0.75rem 1.25rem; font-weight: 700; color: var(--navy); border-radius: 2px;
}

/* --- Pricing ------------------------------------------------------------- */

/* auto-fit so a 3-item set lands as 3 and a 4-item set lands as 4, no orphan row */
.principles { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-top: 2rem; }
@media (min-width: 700px) { .principles { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; } }
.principles div { background: var(--white); border: 1px solid var(--sand); border-top: 5px solid var(--red); padding: 1.75rem 1.5rem; }
.principles h3 { margin-bottom: 0.375rem; }
.principles p { margin: 0; color: var(--muted); font-size: 0.9875rem; }

.rate-wrap { overflow-x: auto; margin-top: 2rem; }

.rates { width: 100%; border-collapse: collapse; min-width: 520px; background: var(--white); }
.rates caption {
  text-align: left; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--red); padding-bottom: 0.875rem;
}
.rates th, .rates td { text-align: left; padding: 1.0625rem 1.25rem; border-bottom: 1px solid var(--sand); vertical-align: top; }
.rates thead th {
  background: var(--navy); color: #fff; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; border-bottom: 0;
}
.rates tbody tr:last-child td { border-bottom: 0; }
.rates tbody tr:nth-child(even) { background: #FBFAF7; }
.rates td:first-child { font-weight: 700; color: var(--navy); }
.rates .price { font-weight: 800; color: var(--navy); font-size: 1.125rem; white-space: nowrap; }
.rates .note { color: var(--muted); font-size: 0.9375rem; }

/* On phones the rate card stops being a table and becomes stacked blocks, so
   nobody has to scroll sideways to find out what something costs. The column
   order (name, price, detail) reads correctly without headers. */
@media (max-width: 699px) {
  .rate-wrap { overflow-x: visible; }
  .rates { min-width: 0; }
  .rates thead { position: absolute; left: -9999px; }
  .rates tr { display: block; padding: 1.125rem 0; border-bottom: 1px solid var(--sand); }
  .rates tbody tr:nth-child(even) { background: transparent; }
  .rates tbody tr:last-child { border-bottom: 0; }
  .rates td { display: block; border: 0; padding: 0; }
  .rates td:first-child { font-size: 1.0625rem; margin-bottom: 0.125rem; }
  .rates .price { font-size: 1.5rem; margin-bottom: 0.375rem; }
  .rates .note { font-size: 0.9375rem; }
}

/* Rates not yet confirmed render as an obvious red token, same idea as [PHONE] */
.tbd { color: var(--red); font-weight: 800; letter-spacing: 0.04em; }

.callout {
  margin-top: 2.5rem; padding: 1.75rem;
  background: var(--white); border: 2px solid var(--navy); border-left-width: 8px;
}
.callout h3 { margin-bottom: 0.375rem; }
.callout p:last-child { margin-bottom: 0; }

.no-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
@media (min-width: 720px) { .no-list { grid-template-columns: repeat(2, 1fr); gap: 0.75rem 2.5rem; } }
.no-list li { position: relative; padding-left: 2rem; font-weight: 600; color: var(--navy); }
.no-list li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='8' fill='none' stroke='%23D91024' stroke-width='2'/%3E%3Cpath d='M5.5 5.5 L12.5 12.5 M12.5 5.5 L5.5 12.5' stroke='%23D91024' stroke-width='2'/%3E%3C/svg%3E") no-repeat center;
}

/* --- Account tiers ------------------------------------------------------- */

.tiers { display: grid; gap: 1.5rem; grid-template-columns: 1fr; margin-top: 2.5rem; align-items: start; }
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; } }

.tier {
  background: var(--white);
  border: 1px solid var(--sand);
  border-top: 6px solid var(--navy);
  padding: 2rem 1.75rem;
  display: flex; flex-direction: column; height: 100%;
}
.tier--featured {
  border-color: var(--red);
  border-top-color: var(--red);
  box-shadow: 0 18px 44px rgba(2,56,115,.14);
}
.tier .flag {
  display: inline-block; align-self: flex-start;
  background: var(--red); color: #fff;
  font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.3125rem 0.625rem; margin-bottom: 0.875rem;
}
.tier h3 { font-size: 1.375rem; margin-bottom: 0.25rem; }
.tier .who { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-bottom: 1.25rem; }
.tier .cost { font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 800; line-height: 1; color: var(--navy); letter-spacing: -0.03em; }
.tier .cost small { display: block; font-size: 0.875rem; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-top: 0.375rem; }
.tier ul { list-style: none; margin: 1.5rem 0 1.75rem; padding: 0; display: grid; gap: 0.625rem; align-content: start; flex-grow: 1; }
.tier li { position: relative; padding-left: 1.75rem; font-size: 0.9875rem; color: var(--ink); }
.tier li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 15px; height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='8' viewBox='0 0 15 8'%3E%3Cpath d='M0 8 L7.5 1 L15 8' fill='none' stroke='%23D91024' stroke-width='2.5'/%3E%3C/svg%3E") no-repeat center;
}
.tier .btn { justify-content: center; }

/* --- Guarantee / policy blocks ------------------------------------------ */

.guarantee {
  display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center;
  background: var(--white); border: 2px solid var(--navy); border-left-width: 10px;
  padding: clamp(1.75rem, 4vw, 2.5rem);
}
@media (min-width: 820px) { .guarantee { grid-template-columns: auto 1fr; gap: 2.5rem; } }
.guarantee .badge {
  font-size: clamp(2.75rem, 7vw, 4rem); font-weight: 800; line-height: 0.9;
  color: var(--red); letter-spacing: -0.04em; white-space: nowrap;
}
.guarantee .badge small { display: block; font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.16em; color: var(--navy); text-transform: uppercase; margin-top: 0.375rem; }
.guarantee h3 { margin-bottom: 0.5rem; }
.guarantee p:last-child { margin-bottom: 0; }

.policy-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 820px) { .policy-list { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2.5rem; } }
.policy-list li { padding-left: 1.5rem; border-left: 3px solid var(--red); }
.policy-list strong { display: block; color: var(--navy); margin-bottom: 0.125rem; }
.policy-list span { color: var(--muted); font-size: 0.9875rem; }

/* --- "We don't do that" list --------------------------------------------- */

.limits { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-top: 2rem; }
@media (min-width: 820px) { .limits { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; } }
.limits div { background: var(--white); border: 1px solid var(--sand); border-left: 5px solid var(--muted); padding: 1.5rem; }
.limits h3 { font-size: 1.0625rem; margin-bottom: 0.375rem; }
.limits p { margin: 0; color: var(--muted); font-size: 0.9375rem; }

/* --- Numbered process steps --------------------------------------------- */

.steps { list-style: none; counter-reset: step; margin: 2.25rem 0 0; padding: 0; display: grid; gap: 1.75rem; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.steps li { counter-increment: step; padding-top: 1.25rem; border-top: 4px solid rgba(255,255,255,.22); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-size: 1.75rem; font-weight: 800; line-height: 1;
  color: var(--red); margin-bottom: 0.625rem;
}
.steps strong { display: block; color: #fff; margin-bottom: 0.25rem; }
.steps span { color: #B9CDE4; font-size: 0.9375rem; }
.section--cream .steps li { border-top-color: var(--sand); }
.section--cream .steps strong { color: var(--navy); }
.section--cream .steps span { color: var(--muted); }

/* --- Form ---------------------------------------------------------------- */

.form-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 2px;
  box-shadow: 0 18px 44px rgba(2,56,115,.10);
  overflow: hidden;
}
.form-card__head { background: var(--navy); color: #fff; padding: 1.375rem 1.75rem; }
.form-card__head h2, .form-card__head h3 { color: #fff; margin: 0 0 0.125rem; font-size: 1.375rem; }
.form-card__head p { margin: 0; font-size: 0.9375rem; color: #A9C6E5; }
.form-card form { padding: clamp(1.5rem, 4vw, 2rem); }

.field { margin-bottom: 1.25rem; }
.field label { display: block; font-weight: 700; font-size: 0.875rem; letter-spacing: 0.03em; color: var(--navy); margin-bottom: 0.4375rem; text-transform: uppercase; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #FCFBF9; padding: 0.875rem 1rem;
  border: 1.5px solid #CFC6B8; border-radius: 2px;
  transition: border-color .15s ease, background-color .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--navy); background: #fff; }
.field select {
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1 L7 7.5 L13 1' fill='none' stroke='%23023873' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.field input::placeholder, .field textarea::placeholder { color: #9AA3AD; }
.field textarea { min-height: 8.5rem; resize: vertical; }
.form-card .btn { width: 100%; justify-content: center; }

.hp { position: absolute; left: -9999px; }

/* --- Contact split ------------------------------------------------------- */

.split { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; } }

.contact-block { margin-bottom: 2rem; }
.contact-block h3 { font-size: 0.8125rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); margin-bottom: 0.5rem; }
.contact-block p { margin: 0; font-size: 1.125rem; }
.contact-block a { font-weight: 700; }

/* --- CTA band ------------------------------------------------------------ */

.cta-band { text-align: center; }
.cta-band .lede { margin-inline: auto; }

/* --- Footer -------------------------------------------------------------- */

.site-footer { padding-block: 3.5rem 2rem; color: #A9C0D8; font-size: 0.9375rem; }
.site-footer a { color: #E4EDF6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer img.footer-logo { height: 62px; width: auto; margin-bottom: 1.125rem; }

.footer-grid { display: grid; gap: 2.25rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 3rem; } }

.site-footer h2 {
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff; margin-bottom: 0.875rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.5rem; }

.site-footer a.social {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; text-decoration: none;
}
.site-footer a.social::before {
  content: ""; width: 18px; height: 18px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23E4EDF6'%3E%3Cpath d='M22 12a10 10 0 1 0-11.56 9.88v-6.99H7.9V12h2.54V9.8c0-2.5 1.49-3.89 3.77-3.89 1.09 0 2.24.2 2.24.2v2.46h-1.26c-1.24 0-1.63.77-1.63 1.56V12h2.78l-.45 2.89h-2.33v6.99A10 10 0 0 0 22 12z'/%3E%3C/svg%3E") no-repeat center;
}
.site-footer a.social:hover { text-decoration: underline; }

.legal {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: 0.8125rem; color: #7E97B2;
}

/* --- Thanks page --------------------------------------------------------- */

.centered { text-align: center; max-width: 46ch; margin-inline: auto; }
.centered .rule { margin-inline: auto; }

/* --- Motion / print ------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .card:hover, .btn:hover { transform: none; }
}

@media print {
  .site-header, .site-footer, .trust-bar, .btn { display: none; }
  body { color: #000; background: #fff; }
  .section--navy, .hero { background: #fff !important; color: #000; }
}
