:root {
  --ink: #e9f6ff;
  --bg1: #082235;
  --bg2: #0a4f6d;
  --bg3: #0e6f95;
  --card: rgba(255, 255, 255, 0.9);
  --card-strong: rgba(255, 255, 255, 0.95);
  --text: #0f2130;
  --muted: #456174;
  --accent: #0ea5c5;
  --accent-dark: #0b90ac;
  --line: #c7d8e2;
  --nav-btn: #8fd4ff;
  --nav-btn-hover: #b4e5ff;
  --nav-btn-text: #09131a;
  --radius: 16px;
  --shadow: 0 16px 34px rgba(4, 22, 36, 0.24);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 20%, #1a6f93 0%, var(--bg2) 38%, var(--bg1) 100%);
  line-height: 1.45;
}

a {
  color: #0a6e96;
}

a:hover {
  color: #0a5f86;
}

.hidden {
  display: none !important;
}

main,
.content-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 52px;
}

/* Nav */
.navbar {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(10px);
  background: rgba(5, 25, 39, 0.48);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.nav-inner {
  width: min(1280px, calc(100% - 30px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-tagline {
  margin: 0 6px;
  color: #bfeaff;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  text-align: center;
  flex: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-links > a:not(.nav-estimate-btn):not(.nav-contact-btn),
.nav-drop-btn {
  color: #e6f6ff;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}

.nav-links > a:not(.nav-estimate-btn):not(.nav-contact-btn):hover,
.nav-drop-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.nav-drop {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: -10px;
}

.nav-drop-menu {
  position: absolute;
  right: 0;
  top: calc(100% - 2px);
  display: none;
  width: min(530px, 92vw);
  max-height: 350px;
  overflow: auto;
  border-radius: 12px;
  background: #02101b;
  border: 1px solid #355267;
  padding: 10px;
  gap: 7px 14px;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.nav-services-menu {
  width: 270px;
  grid-template-columns: 1fr;
}

@media (min-width: 821px) {
  .nav-drop:hover .nav-drop-menu,
  .nav-drop:focus-within .nav-drop-menu,
  .nav-drop.hover-open .nav-drop-menu {
    display: grid;
  }


  #nav-locations-list.nav-drop-menu {
    background: #02101b !important;
  }

  #nav-locations-list .nav-area-search-wrap,
  #nav-locations-list .nav-area-results {
    background: #02101b;
  }
  .js .nav-drop.open .nav-drop-menu {
    display: none;
  }
}

.nav-drop-menu a {
  color: #dff4ff;
  text-decoration: none;
  font-size: 0.92rem;
  padding: 7px 8px;
  border-radius: 8px;
  display: block;
  background: #0c2536;
}

.nav-drop-menu a:hover {
  text-decoration: none;
  background: #18435d;
}

.nav-area-search-wrap {
  display: grid;
  gap: 8px;
  grid-column: 1 / -1;
}

.nav-area-search,
.nav-area-results a,
.town-search-input {
  font: inherit;
}

.nav-area-search {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid #2f4f63;
  border-radius: 10px;
  background: #f0f8fd;
  color: #0f2130;
}

.nav-area-results {
  display: grid;
  gap: 4px;
  max-height: 250px;
  overflow: auto;
  padding-right: 2px;
}

.nav-area-results a {
  color: #d6f0ff;
  text-decoration: none;
  padding: 7px 8px;
  border-radius: 6px;
  background: #0a2232;
}

.nav-area-results a:hover {
  background: #18435d;
}


#nav-locations-list.nav-drop-menu {
  background: #02101b !important;
  border-color: #355267 !important;
  opacity: 1 !important;
}

#nav-locations-list .nav-area-search-wrap,
#nav-locations-list .nav-area-results {
  background: #02101b;
  border-radius: 8px;
}
.town-search-empty {
  margin: 4px 0;
  color: #8bb7ce;
  font-size: 0.9rem;
}

.nav-estimate-btn,
.nav-contact-btn {
  border: 1px solid #9fdaf8;
  background: var(--nav-btn);
  color: var(--nav-btn-text);
  text-decoration: none;
  border-radius: 11px;
  padding: 9px 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.nav-estimate-btn {
  margin-left: 12px;
}

.nav-estimate-btn:hover,
.nav-contact-btn:hover {
  background: var(--nav-btn-hover);
  color: #000;
}

.mobile-nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(10, 40, 58, 0.88);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  margin-left: auto;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.mobile-nav-toggle span {
  width: 20px;
  height: 2px;
  background: #dff4ff;
  border-radius: 2px;
}

/* Hero */
.hero {
  border-radius: 22px;
  border: 1px solid #355267;
  background: linear-gradient(145deg, rgba(4, 21, 34, 0.75), rgba(13, 96, 127, 0.56));
  color: #fff;
  padding: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero img {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 190px;
  opacity: 0.15;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  max-width: 850px;
}

.hero p {
  margin: 0;
  color: #ddf4ff;
  max-width: 760px;
}

/* Generic cards + grid */
.grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  align-items: start;
}

.card,
.content-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 16px;
  box-shadow: 0 10px 24px rgba(10, 42, 61, 0.12);
}

.card h2,
.card h3,
.content-block h2,
.content-block h3 {
  margin-top: 0;
}

.card p,
.content-block p {
  color: var(--muted);
}

.area-two-column {
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: start;
}

.area-two-column .area-main-card {
  grid-column: 1;
  grid-row: 1 / span 3;
}

/* Content pages */
.content-shell {
  display: grid;
  gap: 14px;
}

.content-hero {
  border-radius: 18px;
  border: 1px solid #355267;
  background: linear-gradient(145deg, rgba(4, 21, 34, 0.74), rgba(14, 102, 133, 0.56));
  color: #fff;
  padding: 24px;
}

.content-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
}

.content-hero p {
  margin: 0;
  color: #d8f1ff;
  max-width: 860px;
}

.seo-list,
.checklist-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #234c63;
}

.seo-list li,
.checklist-list li {
  margin: 8px 0;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid #c9dbe5;
  border-radius: 12px;
  background: #f7fbff;
  padding: 8px 11px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #14415a;
}

.faq-item p {
  margin: 10px 0 2px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.blog-card {
  border: 1px solid #c6dae7;
  border-radius: 12px;
  background: #f8fcff;
  padding: 14px;
}

.blog-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.blog-card p {
  margin: 0;
}

.resource-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.resource-link-card {
  display: block;
  border: 1px solid #c6dae7;
  border-radius: 14px;
  padding: 16px;
  background: #f8fcff;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(10, 42, 61, 0.08);
}

.resource-link-card h3 {
  margin: 0 0 8px;
  color: #123e57;
}

.resource-link-card p {
  margin: 0;
  color: #3f5f72;
}

.resource-link-card:hover {
  border-color: #90bfd7;
  transform: translateY(-1px);
}

.town-finder {
  display: grid;
  gap: 10px;
}

.town-search-input {
  width: 100%;
  border: 1px solid #b9d1df;
  border-radius: 12px;
  padding: 11px 12px;
  background: #fff;
}

.town-search-input:focus {
  outline: none;
  border-color: #6caecb;
  box-shadow: 0 0 0 3px rgba(15, 126, 161, 0.14);
}

.town-search-results {
  border: 1px solid #d2e3ec;
  border-radius: 12px;
  background: #f9fcff;
  padding: 10px;
  max-height: 340px;
  overflow: auto;
  display: grid;
  gap: 5px;
}

.town-search-results a {
  text-decoration: none;
  color: #0f5f84;
}

.town-search-results a:hover {
  text-decoration: underline;
}

.service-photo-card {
  margin: 14px 0 10px;
  border: 1px solid #bad4e2;
  border-radius: 16px;
  background: #f7fbff;
  padding: 10px;
  width: min(650px, 100%);
}

.service-photo-card img {
  width: 100%;
  max-width: 520px;
  border-radius: 12px;
  border: 3px solid #72b8de;
  display: block;
  margin: 0 auto;
}

.service-photo-card figcaption {
  margin-top: 8px;
  color: #3f5f72;
  text-align: center;
  font-size: 0.94rem;
}

.relocation-details {
  margin-top: 9px;
}

/* Forms + buttons */
.quote-form {
  display: grid;
  gap: 10px;
}

.quote-form input,
.quote-form select,
.quote-form textarea,
.bubble input,
.bubble textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 11px;
  font: inherit;
  background: #fff;
  color: #123247;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus,
.bubble input:focus,
.bubble textarea:focus {
  outline: none;
  border-color: #78b7d4;
  box-shadow: 0 0 0 3px rgba(24, 132, 169, 0.12);
}

.quote-form label {
  font-weight: 700;
  color: #20465d;
  font-size: 0.93rem;
}

.q-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.q-row > * {
  min-width: 0;
  max-width: 100%;
}

.destination-select-wrap {
  position: relative;
}

.city-search-input {
  margin: -2px 0 2px;
}


.manual-destination-wrap {
  border: 1px solid #d6e3ec;
  background: #f7fbff;
  border-radius: 12px;
  padding: 10px;
}

.manual-destination-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.manual-destination-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 8px;
}

.manual-back {
  border: 1px solid #d8e2e9;
  background: #eef3f7;
  color: #4c6474;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.85rem;
  cursor: pointer;
}

.manual-back:hover {
  background: #e4edf3;
}

.primary-btn,
.relocation-toggle,
.inline-contact-btn,
.towns-toggle {
  border: 1px solid #8ec0d6;
  background: #d8effb;
  color: #073349;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary-btn:hover,
.relocation-toggle:hover,
.inline-contact-btn:hover,
.towns-toggle:hover {
  background: #bce3f7;
}

.inline-contact-btn {
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.small-status {
  margin: 0;
  font-size: 0.9rem;
  color: #165f2d;
}

/* Service area helpers */
.service-logo {
  width: 66px;
  height: 66px;
  object-fit: contain;
  margin-bottom: 8px;
}

.landmark-links a {
  display: block;
  margin: 6px 0;
  text-decoration: none;
  color: #0a5f86;
}

.landmark-links a:hover {
  text-decoration: underline;
}

.landmarks-bottom {
  margin-top: 16px;
}

.landmark-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.landmark-icon-link {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #d2e3ec;
  border-radius: 12px;
  background: #f7fbff;
  padding: 10px 12px;
  color: #0a5f86;
  text-decoration: none;
  font-weight: 600;
}

.landmark-icon-link:hover {
  background: #eef8ff;
  border-color: #a9d0e2;
}

.landmark-icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, #0f7ea1, #0a4866);
  color: #f1fbff;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  font-weight: 800;
  flex-shrink: 0;
}

.towns-panel {
  margin-top: 10px;
  display: none;
  max-height: 300px;
  overflow: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fcff;
  columns: 2;
}

.towns-panel.open {
  display: block;
}

.towns-panel a {
  display: block;
  text-decoration: none;
  color: #175f82;
  margin: 4px 0;
}

.towns-panel a:hover {
  text-decoration: underline;
}

.internal-links {
  margin-top: 8px;
}

.internal-links a {
  text-decoration: none;
  color: #0a5f86;
  font-weight: 700;
}

.internal-links a:hover {
  text-decoration: underline;
}

.contact-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* Home */
.home-quote-only {
  position: relative;
}

.home-quote-only::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("./assets/Photos/PVC2-bg.png") center 52% / min(54vw, 620px) no-repeat;
  opacity: 0.13;
  pointer-events: none;
  z-index: 0;
}

.home-quote-only .navbar {
  position: relative;
  z-index: 80;
}

.long-distance-photo-img {
  max-width: 440px !important;
  height: auto;
}

@media (max-width: 900px) {
  .home-quote-only::before {
    display: none;
  }
}

.captcha-wrap {
  margin: 4px 0 10px;
  display: flex;
  justify-content: flex-start;
}

.captcha-widget {
  min-height: 65px;
}

.home-quote-only main,
.home-quote-only .site-footer {
  position: relative;
  z-index: 1;
}

.home-quote-main {
  width: min(1180px, calc(100% - 32px));
  margin: 74px auto 44px;
  padding: 0;
  display: grid;
  gap: 16px;
}

.home-quote-bubble {
  border: 1px solid rgba(180, 218, 235, 0.9);
  background: rgba(244, 251, 255, 0.84);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 18px 36px rgba(8, 38, 56, 0.2);
}

.home-quote-logo {
  width: clamp(88px, 11vw, 130px);
  display: block;
  margin: 0 auto 8px;
  object-fit: contain;
}

.home-quote-bubble h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
}

.home-quote-sub,
.platform-note {
  margin: 6px 0 0;
  text-align: center;
  color: #365d72;
}

.platform-note {
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.home-bubble-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 14px;
}

.home-trust-bubble {
  background: rgba(248, 253, 255, 0.84);
}

.home-photo-story {
  border-radius: var(--radius);
  border: 1px solid #c9dbe6;
  background: rgba(248, 253, 255, 0.84);
  padding: 16px;
}

.home-photo-story h2 {
  margin: 0;
}

.story-lead {
  margin: 8px 0 12px;
}

.home-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.home-photo-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 180px;
  border: 1px solid #aacde1;
}

.home-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
}

.home-photo-overlay {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(180deg, rgba(6, 28, 45, 0) 0%, rgba(6, 28, 45, 0.86) 72%);
  color: #e9f8ff;
  padding: 12px;
}

.home-photo-overlay h3 {
  margin: 0 0 4px;
  font-size: 1.02rem;
}

.home-photo-overlay p {
  margin: 0;
  font-size: 0.9rem;
  color: #d8eef9;
}

.home-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-why-card {
  border: 1px solid #bdd6e3;
  border-radius: 14px;
  background: rgba(246, 252, 255, 0.86);
  padding: 15px;
}

.home-why-card h3 {
  margin: 0 0 6px;
}

.home-why-card p {
  margin: 0;
  color: #456174;
}

.home-cta-band {
  border: 1px solid #bdd6e3;
  border-radius: 16px;
  background: rgba(246, 252, 255, 0.86);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.home-cta-band h3 {
  margin: 0 0 4px;
}

.home-cta-band p {
  margin: 0;
  color: #456174;
}

/* Contact bubble */
.bubble {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: min(420px, calc(100vw - 24px));
  border: 1px solid #b7d2df;
  border-radius: 16px;
  background: rgba(246, 252, 255, 0.98);
  box-shadow: 0 18px 34px rgba(4, 20, 34, 0.28);
  padding: 12px;
  z-index: 80;
  display: none;
}

.bubble.open {
  display: block;
}

.bubble-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.bubble-close {
  border: 1px solid #d2e0e8;
  background: #ecf3f8;
  color: #3f5969;
  border-radius: 9px;
  padding: 5px 8px;
  cursor: pointer;
}

.bubble-close:hover {
  background: #e1edf5;
}

.bubble textarea {
  min-height: 100px;
  resize: vertical;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(5, 20, 32, 0.75);
}

.site-footer-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.footer-grid section h4 {
  margin: 0 0 8px;
  color: #d8effb;
  font-size: 1rem;
}

.footer-grid section p,
.footer-grid section a {
  display: block;
  margin: 4px 0;
  color: #bcd8e8;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-grid section a:hover {
  text-decoration: underline;
}

.footer-contact-link {
  font-weight: 800;
}

/* Responsive */
@media (max-width: 1150px) {
  .nav-tagline {
    display: none;
  }
}

@media (max-width: 980px) {
  .area-two-column {
    grid-template-columns: 1fr;
  }

  .area-two-column .area-main-card {
    grid-row: auto;
  }

  .resource-links-grid,
  .home-why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-bubble-layout {
    grid-template-columns: 1fr;
  }

  .home-photo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  body.nav-open {
    overflow: hidden;
  }

  .nav-inner {
    min-height: 66px;
    flex-wrap: nowrap;
  }

  .mobile-nav-toggle {
    display: none;
  }

  .js .mobile-nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: flex;
    position: static;
    width: 100%;
    z-index: auto;
    background: transparent;
    border: 0;
    padding: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    max-height: none;
    overflow: visible;
  }

  .js .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 70;
    background: rgba(4, 20, 33, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 12px;
    max-height: calc(100vh - 66px);
    overflow: auto;
  }

  .js .nav-links.open {
    display: flex;
  }

  .nav-links > a:not(.nav-estimate-btn):not(.nav-contact-btn),
  .nav-drop-btn {
    width: 100%;
    text-align: left;
    padding: 10px 11px;
    border: 1px solid rgba(173, 217, 239, 0.2);
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-drop {
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .nav-drop-menu {
    position: static;
    width: 100%;
    max-height: none;
    margin-top: 6px;
    grid-template-columns: 1fr;
    border-color: #3a5f77;
    background: #010d17;
  }

  html:not(.js) .nav-drop-menu {
    display: grid;
  }


  #nav-locations-list.nav-drop-menu {
    background: #010d17 !important;
  }

  #nav-locations-list .nav-area-search-wrap,
  #nav-locations-list .nav-area-results {
    background: #010d17;
  }
  .js .nav-drop.open .nav-drop-menu {
    display: grid;
  }

  .nav-estimate-btn,
  .nav-contact-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    margin-left: 0;
  }

  main,
  .content-shell,
  .home-quote-main,
  .site-footer-inner {
    width: calc(100% - 24px);
  }

  .q-row,
  .manual-destination-grid,
  .landmark-icon-grid,
  .blog-grid,
  .resource-links-grid,
  .home-photo-grid,
  .home-why-grid {
    grid-template-columns: 1fr;
  }

  .towns-panel {
    columns: 1;
  }

  .home-quote-main {
    margin-top: 58px;
  }

  .home-quote-bubble {
    border-radius: 18px;
    padding: 16px;
  }

  .home-cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .bubble {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: 12px;
  }
}

@media (max-width: 640px) {
  .hero,
  .content-hero {
    padding: 18px;
  }

  .hero img {
    width: 130px;
    opacity: 0.12;
  }

  .home-photo-card,
  .home-photo-card img {
    min-height: 160px;
  }

  .service-photo-card {
    width: 100%;
  }
}






/* Final solid dropdown override (desktop + mobile) */
.navbar .nav-drop-menu {
  background: #02101b !important;
  border: 1px solid #355267 !important;
  opacity: 1 !important;
}

.navbar .nav-drop-menu a {
  background: #0c2536 !important;
  color: #dff4ff !important;
  text-decoration: none !important;
}

.navbar .nav-drop-menu a:hover {
  background: #18435d !important;
  color: #ffffff !important;
}

.navbar #nav-locations-list .nav-area-search-wrap,
.navbar #nav-locations-list .nav-area-results {
  background: #02101b !important;
}

.navbar #nav-locations-list .nav-area-results a {
  background: #0a2232 !important;
  color: #dff4ff !important;
}

.navbar #nav-locations-list .nav-area-results a:hover {
  background: #18435d !important;
}

@media (max-width: 820px) {
  .navbar .nav-drop-menu {
    background: #010d17 !important;
    border-color: #3a5f77 !important;
  }

  .navbar .nav-drop-menu a {
    background: #122f43 !important;
  }

  .navbar #nav-locations-list .nav-area-search-wrap,
  .navbar #nav-locations-list .nav-area-results {
    background: #010d17 !important;
  }

  .navbar #nav-locations-list .nav-area-results a {
    background: #122f43 !important;
  }
}





.terms-pre-note {
  margin: -2px 0 2px;
  font-size: 0.85rem;
  color: #35586f;
}

body.terms-open {
  overflow: hidden;
}

.terms-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(4, 20, 33, 0.68);
  display: grid;
  place-items: center;
  padding: 14px;
}

.terms-modal-card {
  width: min(900px, calc(100vw - 24px));
  max-height: min(86vh, 900px);
  border-radius: 16px;
  border: 1px solid #b5cfdd;
  background: #f8fcff;
  box-shadow: 0 20px 44px rgba(4, 20, 34, 0.42);
  display: grid;
  grid-template-rows: auto auto minmax(180px, 1fr) auto auto auto;
  gap: 10px;
  padding: 14px;
}

.terms-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.terms-modal-head h2 {
  margin: 0;
  font-size: clamp(1rem, 1.9vw, 1.25rem);
  color: #0e2c3f;
}

.terms-effective-date {
  margin: 0;
  color: #36586e;
  font-size: 0.92rem;
}

.terms-content {
  border: 1px solid #d1e1eb;
  border-radius: 12px;
  background: #ffffff;
  padding: 12px;
  overflow: auto;
}

.terms-content p {
  margin: 8px 0;
  color: #2e5066;
  font-size: 0.92rem;
}

.terms-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #173d54;
}

.terms-list > li {
  margin: 0 0 10px;
}

.terms-list > li > strong {
  display: block;
  margin-bottom: 2px;
}

.terms-consent {
  display: grid;
  gap: 8px;
  border: 1px solid #d1e1eb;
  border-radius: 12px;
  background: #f4f9fd;
  padding: 10px;
}

.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #143f57;
  font-size: 0.92rem;
  line-height: 1.35;
}

.terms-check input {
  margin-top: 3px;
  flex-shrink: 0;
}

.terms-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.terms-actions .primary-btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.terms-status {
  margin: 0;
  color: #8a1d1d;
  min-height: 1.2em;
}

@media (max-width: 820px) {
  .terms-modal {
    padding: 10px;
  }

  .terms-modal-card {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    padding: 10px;
    gap: 8px;
  }

  .terms-content {
    padding: 10px;
  }

  .terms-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .terms-actions .manual-back,
  .terms-actions .primary-btn {
    width: 100%;
  }
}


/* Compact transparent terms modal override */
.terms-modal {
  background: rgba(4, 20, 33, 0.46);
}

.terms-modal-card {
  width: min(420px, calc(100vw - 24px));
  max-height: min(42vh, 380px);
  background: rgba(248, 252, 255, 0.42);
  border-color: rgba(170, 201, 219, 0.76);
  box-shadow: 0 16px 30px rgba(4, 20, 34, 0.34);
  backdrop-filter: blur(6px);
  padding: 10px;
  gap: 7px;
}

.terms-modal-head h2 {
  font-size: 0.93rem;
}

.terms-effective-date,
.terms-content p,
.terms-check,
.terms-list {
  font-size: 0.78rem;
}

.terms-content {
  background: rgba(255, 255, 255, 0.44);
  padding: 8px;
}

.terms-consent {
  background: rgba(244, 249, 253, 0.45);
  padding: 8px;
}

.terms-actions .manual-back,
.terms-actions .primary-btn {
  padding: 6px 9px;
  font-size: 0.82rem;
}

@media (max-width: 820px) {
  .terms-modal-card {
    width: min(330px, calc(100vw - 16px));
    max-height: min(54vh, 320px);
    padding: 8px;
  }
}


/* Terms checkbox overflow fix */
.terms-modal-card,
.terms-content,
.terms-consent,
.terms-check {
  min-width: 0;
}

.terms-modal-card {
  overflow: hidden;
  grid-template-rows: auto auto minmax(90px, 1fr) auto auto auto;
}

.terms-consent {
  max-height: 120px;
  overflow: auto;
}

.terms-check {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.terms-check input {
  margin: 2px 0 0 0;
}

@media (max-width: 820px) {
  .terms-consent {
    max-height: 132px;
  }
}


/* Navigation stability override */
html {
  scrollbar-gutter: stable;
}

@media (min-width: 821px) {
  body {
    overflow-y: scroll;
  }
}

.nav-tagline {
  flex: 0 0 clamp(250px, 28vw, 360px);
  max-width: clamp(250px, 28vw, 360px);
  overflow: hidden;
  text-overflow: ellipsis;
}




/* Quote form polish: select arrow spacing + mobile date field sizing */
.quote-form input,
.quote-form select,
.quote-form textarea {
  min-width: 0;
}

.quote-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.45rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23375f77' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px 14px;
}

.move-date-shell {
  position: relative;
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 10px 11px;
  overflow: hidden;
}

.move-date-display {
  width: 100%;
  border: 0 !important;
  background: transparent !important;
  color: #123247;
  padding: 0 !important;
  margin: 0;
  pointer-events: none;
}

.move-date-display::placeholder {
  color: #97a7b3;
}

.move-date-native {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  border: 0 !important;
  padding: 0 !important;
  cursor: pointer;
}

@media (max-width: 820px) {
  .move-date-shell {
    min-height: 46px;
  }

  .move-date-display {
    font-size: 16px;
  }
}


.city-autocomplete {
  position: relative;
}

.city-search-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 220px;
  overflow: auto;
  background: #ffffff;
  border: 1px solid #c4d9e6;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(6, 28, 45, 0.16);
  z-index: 30;
  padding: 4px;
}

.city-search-option {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 8px;
  color: #123247;
  padding: 8px 9px;
  font: inherit;
  cursor: pointer;
}

.city-search-option:hover,
.city-search-option.active {
  background: #e6f4fe;
  color: #0a3d58;
}


