:root {
  --ink: #1a2030;
  --ink-soft: #3a4458;
  --paper: #f4f6fa;
  --paper-2: #fbfcfe;
  --rule: #c5cde0;
  --sidebar: #0f2a5c;
  --sidebar-text: #eef2fb;
  --sidebar-muted: #a8b8d8;
  --red: #c4122e;
  --red-deep: #9e0e24;
  --blue: #163a7a;
  --blue-mid: #1e4fa0;
  --glow: #ffd4da;
  --panel: #ffffff;
  --link: #c4122e;
  --link-hover: #9e0e24;
  --max: 1120px;
  --side: 220px;
  --top: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.55 "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}

a { color: var(--link); }
a:hover { color: var(--link-hover); }

.top {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--sidebar);
  color: var(--paper);
  border-bottom: 3px solid var(--red);
}
.top-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.7rem 1.25rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}
.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: #0a1c42;
  border: 2px solid var(--red);
  box-shadow: 0 0 10px rgba(196, 18, 46, 0.35);
  display: grid;
  place-items: center;
  font: 700 9px/1.05 "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0.06em;
  color: #fff;
  text-align: center;
}
.logo-name {
  font: 700 1.35rem/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0.02em;
  color: #ffffff;
}
.logo-tag {
  display: block;
  font: 500 0.72rem/1.2 "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--sidebar-muted);
  letter-spacing: 0.04em;
  margin-top: 0.15rem;
}
.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}
.top-nav > a,
.nav-drop > a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font: 700 0.82rem/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.58rem 0.8rem 0.52rem;
  border-radius: 6px;
  background: linear-gradient(180deg, #2f64c0 0%, #1a4a96 48%, #12367a 100%);
  border: 1px solid #4a7ad4;
  border-top-color: #8eb0f0;
  border-bottom-color: #0a1c42;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.38),
    inset 0 -1px 0 rgba(0,0,0,0.18),
    0 3px 0 #0a1c42,
    0 5px 10px rgba(0,0,0,0.28);
  text-shadow: 0 1px 0 rgba(0,0,0,0.35);
}
.top-nav > a:hover,
.nav-drop > a:hover {
  background: linear-gradient(180deg, #3d74d4 0%, #2456ae 48%, #1a4a96 100%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 -1px 0 rgba(0,0,0,0.18),
    0 4px 0 #0a1c42,
    0 7px 12px rgba(0,0,0,0.32);
}
.top-nav > a:active,
.nav-drop > a:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,0.28),
    0 1px 0 #0a1c42;
}
.top-nav > a[aria-current="page"],
.nav-drop > a[aria-current="page"] {
  background: linear-gradient(180deg, #ee334c 0%, #c4122e 50%, #9a0e24 100%);
  color: #fff;
  border-color: #f06074;
  border-top-color: #ff9aa8;
  border-bottom-color: #6e0a18;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    inset 0 -1px 0 rgba(0,0,0,0.2),
    0 3px 0 #6e0a18,
    0 5px 10px rgba(0,0,0,0.28);
}


.nav-drop {
  position: relative;
  display: flex;
  align-items: stretch;
}
.nav-drop > a .caret {
  font-size: 0.7em;
  margin-left: 0.2em;
  opacity: 0.95;
}
.drop-list {
  display: none;
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  min-width: 15.75rem;
  z-index: 80;
  background: #0f2a5c;
  border: 1px solid #3d6ec4;
  border-top: 4px solid var(--red);
  border-radius: 8px;
  padding: 0.4rem;
  box-shadow: 0 8px 24px rgba(10, 28, 66, 0.4);
}
.nav-drop:hover .drop-list,
.nav-drop:focus-within .drop-list,
.nav-drop.open .drop-list {
  display: block;
}
.drop-list a {
  display: block;
  color: #fff;
  text-decoration: none;
  font: 600 0.88rem/1.25 "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0.01em;
  text-transform: none;
  padding: 0.58rem 0.8rem 0.52rem;
  margin: 0.18rem 0;
  border-radius: 6px;
  background: linear-gradient(180deg, #2a5ab0 0%, #163a7a 52%, #102c62 100%);
  border: 1px solid #3d6ec4;
  border-top-color: #7ea0e0;
  border-bottom-color: #0a1c42;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.28),
    0 2px 0 #0a1c42;
  text-shadow: 0 1px 0 rgba(0,0,0,0.35);
  text-align: left;
}
.drop-list a:hover {
  background: linear-gradient(180deg, #3a6ed0 0%, #1e4fa0 52%, #163a7a 100%);
  color: #fff;
}
.drop-list a:first-child { margin-top: 0; }
.drop-list a:last-child { margin-bottom: 0; }

.shell {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: var(--side) 1fr;
  min-height: calc(100vh - var(--top));
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  background: var(--paper-2);
}

.side {
  background: var(--sidebar);
  color: var(--sidebar-text);
  padding: 1.25rem 0 7rem;
  position: sticky;
  top: var(--top);
  align-self: start;
  height: calc(100vh - var(--top));
  overflow: auto;
}
.side-label {
  font: 700 0.68rem/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffb3be;
  padding: 0.85rem 1.1rem 0.4rem;
}
.side-nav { padding: 0 0.55rem 0.35rem; }
.side a {
  display: block;
  color: #fff;
  text-decoration: none;
  font: 600 0.95rem/1.25 "Helvetica Neue", Helvetica, Arial, sans-serif;
  padding: 0.58rem 0.85rem 0.52rem;
  margin: 0.32rem 0;
  border-radius: 6px;
  background: linear-gradient(180deg, #2a5ab0 0%, #163a7a 52%, #102c62 100%);
  border: 1px solid #3d6ec4;
  border-top-color: #7ea0e0;
  border-bottom-color: #0a1c42;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.32),
    inset 0 -1px 0 rgba(0,0,0,0.18),
    0 3px 0 #0a1c42,
    0 5px 8px rgba(0,0,0,0.28);
  text-shadow: 0 1px 0 rgba(0,0,0,0.35);
}
.side a:hover {
  background: linear-gradient(180deg, #3a6ed0 0%, #1e4fa0 52%, #163a7a 100%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    inset 0 -1px 0 rgba(0,0,0,0.18),
    0 4px 0 #0a1c42,
    0 7px 10px rgba(0,0,0,0.32);
}
.side a:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,0.28),
    0 1px 0 #0a1c42;
}
.side a[aria-current="page"] {
  background: linear-gradient(180deg, #ee334c 0%, #c4122e 50%, #9a0e24 100%);
  color: #fff;
  border-color: #f06074;
  border-top-color: #ff9aa8;
  border-bottom-color: #6e0a18;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    inset 0 -1px 0 rgba(0,0,0,0.2),
    0 3px 0 #6e0a18,
    0 5px 8px rgba(0,0,0,0.28);
}

.main { padding: 1.75rem 2rem 5rem; }
.page-head {
  background: none;
  padding: 0;
  border: none;
  box-shadow: none;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.page-head h1,
.main h1 {
  font: 700 2rem/1.15 "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin: 0 0 0.55rem;
  letter-spacing: -0.02em;
  color: var(--blue);
}
.page-head h1 {
  color: #fff;
  margin: 0;
  background: linear-gradient(180deg, #163a7a 0%, #0c234e 100%);
  padding: 1.15rem 1.4rem 1.2rem;
  border-radius: 8px;
  border-top: 5px solid var(--red);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    0 3px 0 #0a1c42,
    0 6px 14px rgba(15, 42, 92, 0.2);
}
.page-head .lead {
  margin: 0;
  color: var(--blue);
  background: #d6e2f6;
  padding: 1rem 1.4rem 1.1rem;
  border-radius: 8px;
  border: 1px solid #b7c8e6;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 2px 0 #9aafd0,
    0 4px 10px rgba(15, 42, 92, 0.1);
}
.page-head a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.page-head a:hover { color: var(--red-deep); }
.main h2 {
  font: 700 1.25rem/1.25 "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin: 1.75rem 0 0.6rem;
  color: var(--blue);
}
.lead { font-size: 1.15rem; color: var(--ink-soft); margin: 0 0 1.25rem; }
.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 1.25rem 0 1.75rem;
}
.card {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--red);
  border-radius: 6px;
  padding: 0.95rem 1rem;
}
.card h3 {
  margin: 0 0 0.3rem;
  font: 700 1rem/1.2 "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--blue);
}
.card p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }

.reasons { list-style: none; margin: 1rem 0 0; padding: 0; }
.reasons li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.85rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--rule);
}
.reasons .num {
  font: 700 1.35rem/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--red);
}
.reasons h2 { margin: 0 0 0.25rem; font-size: 1.15rem; }
.reasons p { margin: 0; color: var(--ink-soft); }

@media (min-width: 801px) {
  .main { padding-right: 17.5rem; }
}
.sticky {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 50;
  width: 260px;
  background: var(--blue);
  color: #fff;
  border: 2px solid var(--red);
  box-shadow: 0 8px 28px rgba(15, 42, 92, 0.28);
  border-radius: 8px;
  padding: 1rem 1rem 1.05rem;
}
.sticky h2 {
  margin: 0 0 0.35rem;
  font: 700 1rem/1.25 "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #fff;
}
.sticky p { margin: 0 0 0.75rem; font-size: 0.88rem; color: #d7e0f4; }
.sticky .phone {
  display: block;
  color: #fff;
  font: 700 1.05rem/1.2 "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-decoration: none;
  margin-bottom: 0.7rem;
}
.sticky .btn {
  display: block;
  text-align: center;
  background: linear-gradient(180deg, #ee334c 0%, #c4122e 50%, #9a0e24 100%);
  color: #fff;
  text-decoration: none;
  font: 700 0.85rem/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.75rem 0.65rem 0.68rem;
  border-radius: 6px;
  border: 1px solid #f06074;
  border-top-color: #ff9aa8;
  border-bottom-color: #6e0a18;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    0 3px 0 #6e0a18,
    0 5px 8px rgba(0,0,0,0.28);
  text-shadow: 0 1px 0 rgba(0,0,0,0.3);
}
.sticky .btn:hover {
  background: linear-gradient(180deg, #ff425a 0%, #d41634 50%, #a81028 100%);
  color: #fff;
  transform: translateY(-1px);
}
.sticky .btn:active {
  transform: translateY(2px);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.3), 0 1px 0 #6e0a18;
}

.foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem 1.25rem 1.5rem;
  text-align: center;
  font: 500 0.8rem/1.45 "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink-soft);
  border-top: 3px solid var(--red);
}
.foot a { color: var(--blue); }


.quote-form {
  margin: 1.35rem 0 1.75rem;
  max-width: 36rem;
  background: #fff;
  border: 1px solid var(--rule);
  border-top: 5px solid var(--red);
  border-radius: 8px;
  padding: 1.2rem 1.3rem 1.35rem;
  box-shadow: 0 4px 16px rgba(15, 42, 92, 0.08);
}
.quote-form h2 {
  margin: 0 0 0.3rem;
  font: 700 1.25rem/1.25 "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--blue);
}
.quote-form .form-intro {
  margin: 0 0 1.05rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.quote-form .field { margin-bottom: 0.95rem; }
.quote-form label,
.quote-form legend {
  display: block;
  font: 700 0.88rem/1.3 "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--blue);
  margin-bottom: 0.35rem;
}
.quote-form .req { color: var(--red); font-weight: 600; font-size: 0.82em; }
.quote-form .opt { color: var(--ink-soft); font-weight: 500; font-size: 0.82em; }
.quote-form input[type="text"],
.quote-form input[type="tel"],
.quote-form textarea {
  width: 100%;
  font: 17px/1.45 "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  color: var(--ink);
  padding: 0.65rem 0.75rem;
  border: 1px solid #b7c2d8;
  border-radius: 6px;
  background: #fff;
}
.quote-form textarea { resize: vertical; min-height: 6rem; }
.quote-form input[type="text"]:focus,
.quote-form input[type="tel"]:focus,
.quote-form textarea:focus {
  outline: 2px solid var(--blue-mid);
  outline-offset: 1px;
  border-color: var(--blue);
}
.quote-form fieldset {
  border: 1px solid #d0d8ea;
  border-radius: 8px;
  padding: 0.75rem 0.9rem 0.85rem;
  margin: 0 0 1rem;
  background: #f4f7fc;
}
.quote-form .choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem 0.85rem;
}
.quote-form .choices label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font: 500 0.95rem/1.3 "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  margin: 0;
  padding: 0.42rem 0.1rem;
  cursor: pointer;
}
.quote-form .choices input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--red);
  flex-shrink: 0;
}
.quote-form .honey {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.quote-form .form-btn {
  display: inline-block;
  cursor: pointer;
  background: linear-gradient(180deg, #ee334c 0%, #c4122e 50%, #9a0e24 100%);
  color: #fff;
  font: 700 0.88rem/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.82rem 1.25rem 0.76rem;
  border-radius: 6px;
  border: 1px solid #f06074;
  border-top-color: #ff9aa8;
  border-bottom-color: #6e0a18;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    0 3px 0 #6e0a18,
    0 5px 8px rgba(0,0,0,0.28);
  text-shadow: 0 1px 0 rgba(0,0,0,0.3);
}
.quote-form .form-btn:hover {
  background: linear-gradient(180deg, #ff425a 0%, #d41634 50%, #a81028 100%);
  transform: translateY(-1px);
}
.quote-form .form-btn:active {
  transform: translateY(2px);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.3), 0 1px 0 #6e0a18;
}
.thanks {
  background: #d6e2f6;
  border: 1px solid #b7c8e4;
  border-left: 5px solid var(--red);
  padding: 0.95rem 1.15rem;
  border-radius: 8px;
  margin: 0 0 1.25rem;
  max-width: 36rem;
  color: var(--ink);
}

@media (max-width: 800px) {
  .top-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    padding: 0.7rem 0.9rem 0.5rem;
  }
  .logo-name {
    font-size: 1.2rem;
    white-space: nowrap;
  }
  .logo-tag {
    white-space: nowrap;
    font-size: 0.68rem;
  }
  .logo-mark { flex-shrink: 0; }
  .top-nav {
    justify-content: space-between;
    width: 100%;
    flex-wrap: nowrap;
    border-top: 1px solid rgba(255,255,255,0.18);
    padding-top: 0.4rem;
  }
  .top-nav {
    gap: 0.28rem;
  }
  .top-nav > a,
  .nav-drop > a {
    padding: 0.48rem 0.28rem 0.42rem;
    font-size: 0.66rem;
    letter-spacing: 0.04em;
    text-align: center;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.35),
      0 2px 0 #0a1c42,
      0 3px 6px rgba(0,0,0,0.25);
  }
  .top-nav > a[aria-current="page"],
.nav-drop > a[aria-current="page"] {
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.38),
      0 2px 0 #6e0a18,
      0 3px 6px rgba(0,0,0,0.25);
  }
  .nav-full { display: none; }
  .top-nav { position: relative; }
  .nav-drop { position: static; }
  .drop-list {
    left: 0;
    right: 0;
    min-width: 0;
    width: auto;
    top: 100%;
    margin-top: 0.35rem;
  }

  .shell { grid-template-columns: 1fr; border: none; }
  .side { display: none; }
  .main { padding: 1.2rem 1.05rem 8.25rem; }
  .main h1, .page-head h1 { font-size: 1.45rem; }
  .lead { font-size: 1.05rem; }
  .page-head { margin-bottom: 1.2rem; gap: 0.4rem; }
  .page-head h1 { padding: 0.95rem 1.05rem 1rem; }
  .page-head .lead { padding: 0.85rem 1.05rem 0.95rem; }
  .services { grid-template-columns: 1fr; }
  .reasons { grid-template-columns: 2.4rem 1fr; }
  .sticky {
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    border-radius: 10px 10px 0 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.35rem 0.85rem;
    align-items: center;
    padding: 0.75rem 0.9rem calc(0.75rem + env(safe-area-inset-bottom));
  }
  .sticky p { display: none; }
  .sticky h2 { margin: 0; font-size: 0.95rem; }
  .sticky .phone { margin: 0; font-size: 0.95rem; }
  .sticky .btn { padding: 0.7rem 0.85rem; }
  .foot { padding-bottom: 7.5rem; }

  .quote-form { padding: 1.05rem 1rem 1.2rem; }
  .quote-form .choices { grid-template-columns: 1fr; }
  .quote-form .form-btn { width: 100%; }
}
