/*
Theme Name: hudson-valley-coach (WPConvert)
Theme URI: https://wpconvert.ai
Author: WPConvert.ai
Author URI: https://wpconvert.ai
Description: This theme was automatically generated from your original site design using WPConvert.ai. It preserves your layout, colors, typography, header, footer, and page content, and makes it editable in WordPress.
Version: 2.0.0
Update URI: false
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wpconvert
Tags: landing page, responsive, custom header, custom footer
*/

/* External Stylesheets - @import statements MUST come before any CSS rules */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@600;700&family=Source+Sans+3:wght@400;600;700&display=swap');

/* CSS Variables */
:root {
}

/* Inline Styles */

/* Extracted CSS from page */
:root {
  --navy: #042151;
  --navy-deep: #060e23;
  --royal: #1f5cac;
  --royal-ink: #1f5cac;
  --royal-ink-hover: #184a8c;
  --star: #9ca2a9;
  --sky: #9ec2f0;
  --silver: #9ca2a9;
  --bg: #ffffff;
  --surface: #ffffff;
  --mist: #e8e8e9;
  --text: #060e23;
  --text-muted: #4a5466;
  --line: #d3d5d8;
  --header-bg: rgba(255, 255, 255, 0.97);
  --heading: #042151;
  --link: #1f5cac;
  --link-hover: #184a8c;
  --card-shadow:
    0 1px 2px rgba(4, 33, 81, 0.06), 0 8px 24px -12px rgba(4, 33, 81, 0.18);
  --font-head:
    'Barlow Semi Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --font-body:
    'Source Sans 3', 'Source Sans Pro', 'Segoe UI', Roboto, Helvetica, Arial,
    sans-serif;
  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --section-y: clamp(64px, 9vw, 112px);
  --radius-sm: 6px;
  --radius: 10px;
  --header-h: 84px;
  --qb-h: 84px;
  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*,
::before,
::after {
  box-sizing: inherit;
}
html {
  scroll-padding-top: calc(
    env(safe-area-inset-top, 0px) + var(--header-h) + 12px
  );
  text-size-adjust: 100%;
}
body {
  overflow-x: clip;
  margin: 0px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed;
  inset: 0px 0px auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--header-bg);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  margin: 0px 0px 0.5em;
  letter-spacing: -0.005em;
}
h2 {
  font-size: clamp(2rem, 1.4rem + 2.2vw, 2.875rem);
  color: var(--heading);
}
h3 {
  font-size: 1.5rem;
  font-weight: 600;
}
p {
  margin: 0px 0px 1em;
}
a {
  color: var(--link);
  text-underline-offset: 0.18em;
}
a:hover {
  color: var(--link-hover);
}
ul,
ol {
  margin: 0px;
  padding: 0px;
  list-style: none;
}
address {
  font-style: normal;
  margin-bottom: 1em;
}
:focus-visible {
  outline: 3px solid var(--royal);
  outline-offset: 3px;
  border-radius: 3px;
}
.hero :focus-visible,
.safety :focus-visible,
.reviews :focus-visible,
.closing-cta :focus-visible,
.site-footer :focus-visible,
.quote-bar :focus-visible,
.page-hero :focus-visible {
  outline-color: rgb(255, 255, 255);
}
.icon {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
}
.visually-hidden {
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0px, 0px, 0px, 0px);
  white-space: nowrap;
  position: absolute !important;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.skip,
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--navy);
  color: rgb(255, 255, 255);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.skip:focus,
.skip-link:focus {
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  color: rgb(255, 255, 255);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.7em 1.35em;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 0.15s,
    border-color 0.15s,
    color 0.15s;
}
.btn-lg {
  min-height: 54px;
  font-size: 1.0625rem;
  padding-inline: 1.6em;
}
.btn-primary {
  background: var(--royal-ink);
  color: rgb(255, 255, 255) !important;
}
.btn-primary:hover {
  background: var(--royal-ink-hover);
}
.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy) !important;
}
.btn-outline:hover {
  background: var(--navy);
  color: rgb(255, 255, 255) !important;
}
.btn-ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.85);
  color: rgb(255, 255, 255) !important;
}
.btn-ghost-light:hover {
  background: rgb(255, 255, 255);
  color: var(--navy-deep) !important;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.text-link {
  font-weight: 700;
  color: var(--link);
  text-decoration: underline 2px;
  text-underline-offset: 0.25em;
  display: inline-block;
  padding-block: 8px;
}
.text-link-light {
  color: var(--sky) !important;
}
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
  border-radius: 8px;
}
.brand-logo {
  display: block;
  width: 146px;
  height: auto;
}
.brand-badge {
  background: rgb(255, 255, 255);
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 6px 18px -10px;
}
.brand-badge .brand-logo {
  width: 236px;
}
.primary-nav {
  margin-left: auto;
}
.primary-nav ul {
  display: flex;
  gap: 2px;
}
.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0px 11px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.primary-nav ul a:hover {
  color: var(--royal-ink);
  background: var(--mist);
}
.nav-ctas {
  display: none;
}
.header-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover {
  color: var(--royal-ink);
}
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  border: 0px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle .icon {
  width: 28px;
  height: 28px;
}
.menu-toggle .icon-close {
  display: none;
}
.menu-toggle[aria-expanded='true'] .icon-open {
  display: none;
}
.menu-toggle[aria-expanded='true'] .icon-close {
  display: block;
}
@media (max-width: 1180px) {
  .header-phone span {
    display: none;
  }
  .header-phone {
    width: 44px;
    justify-content: center;
  }
  .header-phone .icon {
    width: 22px;
    height: 22px;
  }
}
@media (max-width: 1040px) {
  .menu-toggle {
    display: inline-flex;
  }
  .header-ctas {
    display: none;
  }
  .primary-nav {
    position: fixed;
    left: 0px;
    right: 0px;
    top: calc(env(safe-area-inset-top, 0px) + var(--header-h));
    bottom: 0px;
    background: var(--surface);
    padding: 20px var(--gutter) 40px;
    overflow-y: auto;
    border-top: 1px solid var(--line);
    display: none;
  }
  .primary-nav.is-open {
    display: block;
  }
  .primary-nav ul {
    flex-direction: column;
    gap: 0px;
  }
  .primary-nav ul a {
    width: 100%;
    min-height: 56px;
    font-size: 1.25rem;
    font-family: var(--font-head);
    border-bottom: 1px solid var(--line);
    border-radius: 0px;
    padding-inline: 4px;
  }
  .nav-ctas {
    display: grid;
    gap: 12px;
    margin-top: 24px;
  }
  body.nav-open {
    overflow: hidden;
  }
  .site-header {
    backdrop-filter: none;
    background: var(--surface);
  }
  body.nav-open .quote-bar {
    display: none;
  }
}
@media (max-width: 760px) {
  .brand-logo {
    width: 124px;
  }
}
@media (max-width: 420px) {
  .brand-logo {
    width: 112px;
  }
}
.hero {
  position: relative;
  background: var(--navy-deep);
  color: rgb(255, 255, 255);
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0px;
  z-index: -1;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0px;
  background:
    linear-gradient(
      90deg,
      rgba(4, 33, 81, 0.86) 0%,
      rgba(4, 33, 81, 0.66) 34%,
      rgba(4, 33, 81, 0.12) 62%,
      rgba(4, 33, 81, 0) 75%
    ),
    linear-gradient(0deg, rgba(4, 33, 81, 0.55) 0%, rgba(4, 33, 81, 0) 30%);
}
.hero-content {
  display: flex;
  align-items: center;
  min-height: clamp(600px, calc(100vh - var(--header-h)), 860px);
  padding-top: 56px;
  padding-bottom: 128px;
}
.hero-copy {
  max-width: 700px;
}
.hero h1 {
  font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.012em;
  margin-bottom: 0.4em;
  text-wrap: balance;
  color: rgb(255, 255, 255);
}
.hero-sub {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  max-width: 34em;
  color: rgb(236, 238, 241);
  margin-bottom: 1.6em;
}
.hero-sub strong {
  display: block;
  color: rgb(255, 255, 255);
  font-weight: 700;
  margin-bottom: 0.2em;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
  gap: 8px 0px;
  font-weight: 600;
  color: rgb(255, 255, 255);
  font-size: 0.98rem;
}
.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-right: 16px;
  margin-right: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
}
.trust-row li:last-child {
  border-right: 0px;
  margin-right: 0px;
  padding-right: 0px;
}
.trust-row .star {
  color: var(--star);
}
@media (max-width: 760px) {
  .hero-media {
    position: relative;
    inset: auto;
    aspect-ratio: 4 / 3;
  }
  .hero-img {
    object-position: 72% 50%;
  }
  .hero-media::after {
    background: linear-gradient(
      0deg,
      rgb(6, 14, 35) 0%,
      rgba(6, 14, 35, 0) 38%
    );
  }
  .hero-content {
    min-height: 0px;
    padding-top: 4px;
    padding-bottom: 104px;
  }
  .hero h1 {
    font-size: clamp(2.1rem, 1.4rem + 3.6vw, 2.7rem);
  }
  .hero .btn-row .btn {
    flex: 1 1 100%;
  }
  .trust-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
    font-size: 0.94rem;
  }
  .trust-row li {
    border: 0px;
    margin: 0px;
    padding: 0px;
  }
}
.quick-quote-section {
  position: relative;
  z-index: 2;
  margin-top: -88px;
}
.quick-quote {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow:
    rgba(6, 14, 35, 0.45) 0px 20px 50px -20px,
    rgba(6, 14, 35, 0.08) 0px 2px 6px;
  border: 1px solid var(--line);
  padding: 24px 28px;
  display: grid;
  gap: 16px 18px;
  grid-template-columns: 1.15fr 1fr 1fr 1.2fr auto;
  align-items: end;
}
.qq-intro h2 {
  font-size: 1.65rem;
  margin-bottom: 4px;
}
.qq-intro p {
  margin: 0px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.4;
}
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--text);
}
.field input {
  width: 100%;
  min-height: 50px;
  padding: 10px 12px;
  font-style: inherit;
  font-variant: inherit;
  font-weight: inherit;
  font-stretch: inherit;
  line-height: inherit;
  font-family: inherit;
  font-optical-sizing: inherit;
  font-size-adjust: inherit;
  font-kerning: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-language-override: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid rgb(107, 114, 128);
  border-radius: var(--radius-sm);
}
.field input:focus-visible {
  outline: 3px solid var(--royal);
  outline-offset: 1px;
  border-color: var(--royal-ink);
}
.field input[aria-invalid='true'] {
  border-color: rgb(180, 35, 24);
}
.field-error {
  color: rgb(180, 35, 24);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 6px 0px 0px;
}
.qq-submit {
  min-height: 50px;
}
.qq-note {
  grid-column: 1 / -1;
  margin: 0px;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.qq-note a {
  font-weight: 700;
}
@media (max-width: 1080px) {
  .quick-quote {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .qq-intro {
    grid-column: 1 / -1;
  }
  .qq-submit {
    grid-column: 1 / -1;
  }
}
@media (max-width: 760px) {
  .quick-quote-section {
    margin-top: -64px;
  }
  .quick-quote {
    grid-template-columns: 1fr 1fr;
    padding: 22px 18px;
  }
  .field-town,
  .qq-submit {
    grid-column: 1 / -1;
  }
  .field-pax {
    min-width: 0px;
  }
  .field-date {
    min-width: 0px;
  }
}
.section {
  padding-block: var(--section-y);
}
.section-mist {
  background: var(--mist);
}
.section-head {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.section-head p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0px;
}
.section-head-split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.section-head-split > div:first-child {
  max-width: 680px;
}
.quick-quote-section + .section {
  padding-top: clamp(56px, 7vw, 88px);
}
.serve-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}
.serve-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
  color: rgb(255, 255, 255);
  text-decoration: none;
  background: var(--navy);
}
.tile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.serve-tile::after {
  content: '';
  position: absolute;
  inset: 0px;
  background: linear-gradient(
    0deg,
    rgba(4, 33, 81, 0.92) 0%,
    rgba(4, 33, 81, 0.55) 36%,
    rgba(4, 33, 81, 0) 62%
  );
}
.serve-text {
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 1;
  padding: 22px 20px;
}
.serve-title {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.05;
  margin-bottom: 6px;
  text-decoration: underline 2px transparent;
  text-underline-offset: 0.15em;
  transition: text-decoration-color 0.2s;
}
.serve-line {
  display: block;
  font-size: 1rem;
  line-height: 1.4;
  color: rgb(227, 229, 232);
}
.serve-tile:hover .tile-img {
  transform: scale(1.04);
}
.serve-tile:hover .serve-title,
.serve-tile:focus-visible .serve-title {
  text-decoration-color: var(--royal);
}
.serve-tile:hover {
  color: rgb(255, 255, 255);
}
.serve-tile:focus-visible {
  outline-offset: 4px;
}
@media (max-width: 1080px) {
  .serve-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .serve-tile {
    aspect-ratio: 4 / 3;
  }
}
@media (max-width: 560px) {
  .serve-grid {
    grid-template-columns: 1fr;
  }
  .serve-tile {
    aspect-ratio: 3 / 2;
  }
}
.fleet-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}
.fleet-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--line);
}
.card-img {
  aspect-ratio: 3 / 2;
  width: 100%;
  object-fit: cover;
}
.fleet-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1 1 0%;
}
.seats {
  margin: 0px 0px 6px;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.seats-num {
  font-family: var(--font-head);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--royal-ink);
}
.fleet-card h3 {
  margin-bottom: 2px;
}
.fleet-card h3 a {
  color: var(--navy);
  text-decoration: none;
}
.fleet-card h3 a::after {
  content: '';
  position: absolute;
  inset: 0px;
}
.fleet-card h3 a:hover {
  text-decoration: underline;
}
.fleet-card:has(h3 a:focus-visible) {
  outline: 3px solid var(--royal);
  outline-offset: 3px;
}
.fleet-card h3 a:focus-visible {
  outline: none;
}
.model {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.amenities li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0px;
  border-top: 1px solid var(--line);
  font-size: 1rem;
}
.amenities .icon {
  color: var(--royal-ink);
  width: 18px;
  height: 18px;
}
.confirm-note {
  margin: 12px 0px 0px;
  position: relative;
  z-index: 1;
}
@media (max-width: 1080px) {
  .fleet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .fleet-grid {
    grid-template-columns: 1fr;
  }
}
.safety {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy);
  color: rgb(255, 255, 255);
}
.safety-copy {
  display: flex;
  justify-content: flex-end;
}
.safety-inner {
  max-width: calc(var(--wrap) / 2);
  width: 100%;
  padding: var(--section-y) clamp(28px, 5vw, 72px) var(--section-y)
    var(--gutter);
}
.safety h2 {
  color: rgb(255, 255, 255);
  text-wrap: balance;
}
.safety .lead {
  color: rgb(213, 216, 221);
  font-size: 1.125rem;
}
.safety-list {
  margin: 28px 0px 22px;
}
.safety-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.safety-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.safety-list .icon {
  width: 24px;
  height: 24px;
  color: var(--silver);
  margin-top: 2px;
}
.safety-media {
  position: relative;
  min-height: 420px;
}
.cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.safety-media .cover-img {
  position: absolute;
  inset: 0px;
  object-position: 50% 60%;
}
@media (max-width: 960px) {
  .safety {
    grid-template-columns: 1fr;
  }
  .safety-media {
    order: -1;
    min-height: 0px;
    aspect-ratio: 3 / 2;
  }
  .safety-copy {
    justify-content: flex-start;
  }
  .safety-inner {
    max-width: none;
    padding-inline: var(--gutter);
  }
}
.rail-controls {
  display: flex;
  gap: 10px;
}
.rail-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  background: var(--surface);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.rail-btn:hover:not(:disabled) {
  background: var(--navy);
  color: rgb(255, 255, 255);
}
.rail-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.rail-wrap {
  width: 100%;
}
.rail {
  --rail-pad: calc(max(0px, (100vw - var(--wrap)) / 2) + var(--gutter));
  --rail-col: calc((min(100vw, var(--wrap)) - 2 * var(--gutter) - 40px) / 3);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--rail-col);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--rail-pad);
  padding: 4px var(--rail-pad) 18px;
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
}
.rail:focus-visible {
  outline-offset: -3px;
}
.trip-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
.trip-img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.trip-card h3 {
  margin-bottom: 4px;
  color: var(--navy);
}
.trip-card p {
  color: var(--text-muted);
  margin-bottom: 4px;
  flex: 1 1 0%;
}
@media (max-width: 1080px) {
  .rail {
    --rail-col: 44vw;
  }
}
@media (max-width: 600px) {
  .rail {
    --rail-col: 80vw;
  }
  .rail-controls {
    display: none;
  }
}
.reviews {
  background: var(--navy);
  color: rgb(255, 255, 255);
  padding-block: var(--section-y);
}
.reviews h2 {
  color: rgb(255, 255, 255);
  margin: 0px;
}
.reviews-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin-bottom: 40px;
}
.rating-summary {
  display: flex;
  align-items: center;
  gap: 14px;
}
.rating-summary p {
  margin: 0px;
  color: rgb(213, 216, 221);
  font-size: 1.0625rem;
}
.rating-summary strong {
  color: rgb(255, 255, 255);
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
}
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--star);
}
.stars .icon {
  width: 24px;
  height: 24px;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0px 40px;
  margin-bottom: 36px;
}
.review {
  padding: 26px 0px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
}
.review blockquote {
  margin: 0px 0px 14px;
  flex: 1 1 0%;
}
.review blockquote p {
  font-size: 1.125rem;
  line-height: 1.55;
  margin: 0px;
  color: rgb(255, 255, 255);
}
.review-by {
  margin: 0px;
  color: rgb(184, 189, 196);
  font-size: 0.97rem;
}
.review-by strong {
  display: block;
  color: rgb(255, 255, 255);
  font-size: 1.0625rem;
}
@media (max-width: 960px) {
  .review-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .review-grid {
    grid-template-columns: 1fr;
  }
}
.roots {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.roots-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.roots-copy p {
  font-size: 1.125rem;
}
.roots-close {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
  font-size: 1.5rem !important;
}
@media (max-width: 960px) {
  .roots {
    grid-template-columns: 1fr;
  }
}
.road {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-top: 176px;
  counter-reset: stop 0;
}
.road::before {
  content: '';
  position: absolute;
  top: 112px;
  height: 44px;
  left: calc(-1 * (max(0px, (100vw - var(--wrap)) / 2) + var(--gutter)));
  right: calc(-1 * (max(0px, (100vw - var(--wrap)) / 2) + var(--gutter)));
  background:
    repeating-linear-gradient(90deg, #fff 0 40px, transparent 40px 72px)
      center / 100% 5px no-repeat,
    linear-gradient(#9ca2a9, #9ca2a9) top / 100% 3px no-repeat,
    linear-gradient(#9ca2a9, #9ca2a9) bottom / 100% 3px no-repeat,
    var(--navy);
}
.stop {
  position: relative;
}
.marker {
  position: absolute;
  top: -176px;
  left: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 96px;
  background: var(--royal-ink);
  color: rgb(255, 255, 255);
  border-radius: 6px;
  border: 3px solid rgb(255, 255, 255);
  box-shadow:
    0 0 0 2px var(--royal-ink),
    0 6px 14px -6px rgba(6, 14, 35, 0.5);
  font-family: var(--font-head);
  line-height: 1;
}
.marker::after {
  content: '';
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  width: 6px;
  height: 12px;
  margin-left: -3px;
  background: rgb(156, 162, 169);
}
.marker-word {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.marker-num {
  font-size: 2.6rem;
  font-weight: 700;
  margin-top: 2px;
}
.stop h3 {
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 1.65rem;
}
.stop p {
  color: var(--text-muted);
  margin: 0px;
}
@media (max-width: 860px) {
  .road {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 0px;
    padding-left: 92px;
  }
  .road::before {
    inset: -8px auto -8px 18px;
    width: 34px;
    height: auto;
    background:
      repeating-linear-gradient(180deg, #fff 0 26px, transparent 26px 48px)
        center / 4px 100% no-repeat,
      var(--navy);
  }
  .marker {
    top: 0px;
    left: -86px;
    width: 54px;
    height: 72px;
  }
  .marker::after {
    display: none;
  }
  .marker-num {
    font-size: 2rem;
  }
  .marker-word {
    font-size: 0.8rem;
  }
  .stop {
    min-height: 72px;
  }
}
.closing-cta {
  background: var(--royal-ink);
  color: rgb(255, 255, 255);
  padding-block: clamp(52px, 7vw, 80px);
}
.closing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.closing-cta h2 {
  color: rgb(255, 255, 255) !important;
  margin-bottom: 0.25em;
}
.closing-cta p {
  margin: 0px;
  font-size: 1.125rem;
  max-width: 40em;
  color: rgb(255, 255, 255);
}
.closing-cta .btn-primary {
  background: rgb(255, 255, 255);
  color: var(--navy-deep) !important;
}
.closing-cta .btn-primary:hover {
  background: rgb(232, 232, 233);
}
.site-footer {
  background: var(--navy-deep);
  color: rgb(213, 216, 221);
  padding-top: clamp(52px, 7vw, 80px);
  font-size: 1rem;
}
.site-footer a {
  color: rgb(255, 255, 255);
}
.site-footer a:hover {
  color: var(--sky);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.3fr 1fr 1.3fr;
  gap: 36px;
  padding-bottom: 36px;
}
.footer-tagline {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.4rem;
  color: rgb(255, 255, 255);
  margin: 18px 0px 4px;
  line-height: 1.2;
}
.footer-h {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: rgb(255, 255, 255);
  margin-bottom: 12px;
}
.footer-links li a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  text-decoration: none;
}
.footer-links li a:hover {
  text-decoration: underline;
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 0px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.badge-row li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(156, 162, 169, 0.55);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgb(255, 255, 255);
}
.badge-row .icon {
  color: var(--silver);
}
.social {
  margin: 0px 0px 24px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 18px 0px;
  font-size: 0.92rem;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer-bottom p {
  margin: 0px;
}
.sep {
  margin-inline: 8px;
  opacity: 0.5;
}
@media (max-width: 1040px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0s 1 normal both running rise;
  }
  .hero-copy > :nth-child(2) {
    animation-delay: 0.08s;
  }
  .hero-copy > :nth-child(3) {
    animation-delay: 0.16s;
  }
  .hero-copy > :nth-child(4) {
    animation-delay: 0.24s;
  }
  html {
    scroll-behavior: smooth;
  }
}
@keyframes rise {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tile-img {
    transition: none;
  }
  .serve-tile:hover .tile-img {
    transform: none;
  }
}
.sprite {
  position: absolute;
  width: 0px;
  height: 0px;
  overflow: hidden;
}
.eyebrow {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: var(--royal-ink);
  margin-bottom: 0.6em;
}
.lead {
  font-size: 1.1875rem;
  line-height: 1.55;
}
.note {
  font-size: 0.95rem;
  color: var(--text-muted);
}
.narrow {
  max-width: 820px;
  margin-inline: auto;
}
.h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--heading);
}
.more-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 28px 0px 0px;
}
.rounded {
  border-radius: var(--radius);
}
.notice {
  background: var(--navy-deep);
  color: rgb(227, 229, 232);
  font-size: 0.95rem;
}
.notice-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px 18px;
  flex-wrap: wrap;
  padding-block: 8px;
  text-align: center;
}
.notice p {
  margin: 0px;
  line-height: 1.4;
}
.notice strong {
  color: rgb(255, 255, 255);
}
.notice-link {
  color: rgb(255, 255, 255);
  font-weight: 700;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
}
.notice-link:hover {
  color: var(--sky);
}
.notice :focus-visible {
  outline-color: rgb(255, 255, 255);
}
@media (max-width: 760px) {
  .notice {
    font-size: 0.86rem;
  }
  .notice-inner {
    gap: 0px 12px;
    padding-block: 6px;
  }
}
.primary-nav a[aria-current='page'] {
  color: var(--royal-ink);
  box-shadow: inset 0 -3px 0 var(--royal-ink);
}
@media (max-width: 1040px) {
  .primary-nav a[aria-current='page'] {
    box-shadow: inset 4px 0 0 var(--royal-ink);
    padding-left: 14px;
  }
}
.header-phone .icon {
  width: 20px;
  height: 20px;
}
.nav-ctas .icon,
.btn .icon {
  width: 1.1em;
  height: 1.1em;
}
.page-hero {
  position: relative;
  isolation: isolate;
  color: rgb(255, 255, 255);
  background: var(--navy-deep);
}
.page-hero-media {
  position: absolute;
  inset: 0px;
  z-index: -1;
}
.page-hero-media .hero-img {
  object-position: 60% 50%;
}
.page-hero-media .hero-img.pos-center {
  object-position: 50% 50%;
}
.page-hero-media::after {
  content: '';
  position: absolute;
  inset: 0px;
  background:
    linear-gradient(
      90deg,
      rgba(4, 33, 81, 0.9) 0%,
      rgba(4, 33, 81, 0.72) 40%,
      rgba(4, 33, 81, 0.2) 75%,
      rgba(4, 33, 81, 0.05) 100%
    ),
    linear-gradient(0deg, rgba(4, 33, 81, 0.45), rgba(4, 33, 81, 0) 40%);
}
.page-hero-inner {
  min-height: clamp(420px, 52vh, 560px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 48px 56px;
}
.page-hero h1 {
  color: rgb(255, 255, 255);
  font-size: clamp(2.3rem, 1.4rem + 3vw, 3.75rem);
  line-height: 1.04;
  max-width: 15em;
  text-wrap: balance;
}
.page-lead {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  max-width: 36em;
  color: rgb(236, 238, 241);
  margin-bottom: 1.4em;
}
.page-hero .crumbs a,
.page-hero .crumbs li {
  color: rgb(227, 229, 232);
}
.page-hero .crumbs li + li::before {
  color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 760px) {
  .page-hero-media {
    position: relative;
    inset: auto;
    aspect-ratio: 16 / 10;
  }
  .page-hero-media::after {
    background: linear-gradient(
      0deg,
      rgb(6, 14, 35) 0%,
      rgba(6, 14, 35, 0) 45%
    );
  }
  .page-hero-inner {
    min-height: 0px;
    padding-block: 8px 40px;
  }
  .page-hero .btn-row .btn {
    flex: 1 1 100%;
  }
}
.plain-hero {
  background: var(--mist);
  padding-block: clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}
.plain-hero h1 {
  font-size: clamp(2.3rem, 1.4rem + 3vw, 3.5rem);
  color: var(--heading);
}
.plain-hero .page-lead {
  color: var(--text-muted);
  margin: 0px;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 18px;
  font-size: 0.95rem;
}
.crumbs li {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
}
.crumbs li + li::before {
  content: '/';
  margin-right: 6px;
  color: var(--silver);
}
.crumbs a {
  color: var(--link);
  display: inline-flex;
  min-height: 32px;
  align-items: center;
}
.split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.split-rev .split-media {
  order: 2;
}
.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.split-copy > p {
  font-size: 1.0625rem;
}
.split-copy .btn-row,
.split-copy > .btn {
  margin-top: 20px;
}
.split-text {
  align-items: center;
}
.split-side {
  display: grid;
  gap: 20px;
}
.split-form {
  grid-template-columns: 1.6fr 1fr;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--card-shadow);
}
.section-mist .panel {
  background: rgb(255, 255, 255);
}
.panel h3,
.panel .h3 {
  color: var(--heading);
  margin-bottom: 12px;
}
.panel .note {
  margin: 14px 0px 0px;
}
@media (max-width: 960px) {
  .split,
  .split-form {
    grid-template-columns: 1fr;
  }
  .split-rev .split-media {
    order: 0;
  }
}
.checklist li {
  display: flex;
  gap: 10px;
  padding: 7px 0px;
  align-items: flex-start;
}
.checklist .icon {
  color: var(--royal-ink);
  width: 20px;
  height: 20px;
  margin-top: 3px;
}
.panel .amenities li:first-child {
  border-top: 0px;
}
.link-list li a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  font-weight: 600;
}
.town-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 16px;
}
.town-list li {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 5px 0px;
}
.town-list .icon {
  color: var(--royal-ink);
  width: 18px;
  height: 18px;
}
.specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0px 0px;
}
.specs div {
  background: var(--mist);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.specs dt {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.specs dd {
  margin: 4px 0px 0px;
  font-weight: 600;
}
@media (max-width: 600px) {
  .specs {
    grid-template-columns: 1fr;
  }
  .town-list {
    grid-template-columns: 1fr;
  }
}
.card-grid {
  display: grid;
  gap: 22px;
}
.card-grid-1 {
  grid-template-columns: minmax(0px, 420px);
}
.card-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1080px) {
  .card-grid-3,
  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .card-grid-2,
  .card-grid-3,
  .card-grid-4 {
    grid-template-columns: 1fr;
  }
}
.link-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.link-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1 1 0%;
}
.link-card h3 {
  margin-bottom: 6px;
  font-size: 1.4rem;
}
.link-card h3 a {
  color: var(--navy);
  text-decoration: none;
}
.link-card h3 a::after {
  content: '';
  position: absolute;
  inset: 0px;
}
.link-card:hover h3 a {
  text-decoration: underline;
}
.link-card:has(h3 a:focus-visible) {
  outline: 3px solid var(--royal);
  outline-offset: 3px;
}
.link-card h3 a:focus-visible {
  outline: none;
}
.link-card p {
  color: var(--text-muted);
  margin-bottom: 10px;
  flex: 1 1 0%;
}
.card-more {
  font-weight: 700;
  color: var(--link);
  text-decoration: underline 2px;
  text-underline-offset: 0.25em;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-2 {
  grid-template-columns: repeat(2, 1fr);
}
.gallery-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.gallery-tight {
  gap: 10px;
}
@media (max-width: 600px) {
  .gallery {
    grid-template-columns: 1fr;
  }
  .gallery-2.gallery-tight {
    grid-template-columns: 1fr 1fr;
  }
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: var(--surface);
}
.compare th,
.compare td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare thead th {
  background: var(--navy);
  color: rgb(255, 255, 255);
  font-size: 0.95rem;
}
.compare tbody tr:last-child > * {
  border-bottom: 0px;
}
.compare tbody th a {
  font-weight: 700;
}
.table-wrap:focus-visible {
  outline-offset: 2px;
}
.callout {
  background: var(--mist);
  border-left: 6px solid var(--royal-ink);
  border-radius: var(--radius);
  padding: 28px 30px;
}
.callout h2 {
  font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem);
}
.callout-inline {
  padding: 18px 22px;
  margin: 8px 0px 18px;
}
.callout-inline h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
  color: var(--heading);
}
.callout-inline p {
  margin: 0px;
}
.faq-list {
  display: grid;
  gap: 10px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--heading);
  min-height: 56px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  font-size: 1.6rem;
  line-height: 1;
  color: var(--royal-ink);
  flex: 0 0 auto;
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item summary:focus-visible {
  outline-offset: -3px;
}
.faq-a {
  padding: 0px 20px 18px;
}
.faq-a p {
  margin: 0px;
}
.faq-group + .faq-group {
  margin-top: 48px;
}
.faq-group h2 {
  font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.2rem);
}
.form {
  display: grid;
  gap: 18px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}
@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 10px 12px;
  font-style: inherit;
  font-variant: inherit;
  font-weight: inherit;
  font-stretch: inherit;
  line-height: inherit;
  font-family: inherit;
  font-optical-sizing: inherit;
  font-size-adjust: inherit;
  font-kerning: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-language-override: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid rgb(107, 114, 128);
  border-radius: var(--radius-sm);
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--royal);
  outline-offset: 1px;
  border-color: var(--royal-ink);
}
.field [aria-invalid='true'] {
  border-color: rgb(180, 35, 24);
}
.hint {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.9rem;
}
fieldset {
  border: 0px;
  margin: 0px;
  padding: 0px;
  min-width: 0px;
}
.step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--surface);
  display: grid;
  gap: 18px;
}
.step > legend {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--heading);
  padding: 0px 8px;
  margin-left: -8px;
}
.radio-group legend,
.rating-field legend {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.radio-group,
.rating-field {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  align-content: start;
}
.radio-group legend,
.rating-field legend {
  width: 100%;
}
.radio,
.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  cursor: pointer;
}
.check {
  align-items: flex-start;
}
.radio input,
.check input {
  width: 20px;
  height: 20px;
  accent-color: var(--royal-ink);
  flex: 0 0 auto;
}
.check input {
  margin-top: 3px;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.step-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.form-status {
  background: rgb(231, 240, 251);
  border-left: 5px solid var(--royal-ink);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin: 0px;
}
.progress {
  display: flex;
  gap: 8px;
  margin: 0px 0px 4px;
  counter-reset: none;
}
.progress li {
  flex: 1 1 0%;
  text-align: center;
  padding: 10px 6px;
  border-bottom: 4px solid var(--line);
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.progress li.is-done,
.progress li[aria-current='step'] {
  border-color: var(--royal-ink);
  color: var(--heading);
}
.js .js-steps .step:not(.is-active) {
  display: none;
}
.big-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.9rem;
  text-decoration: none;
  color: var(--navy);
}
.big-phone .icon {
  width: 26px;
  height: 26px;
  color: var(--royal-ink);
}
.helper {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px 18px;
  align-items: end;
  background: rgb(255, 255, 255);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.helper-out {
  grid-column: 1 / -1;
  margin: 0px;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--heading);
}
@media (max-width: 760px) {
  .helper {
    grid-template-columns: 1fr;
  }
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  min-height: 44px;
  padding: 0px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--navy);
  background: rgb(255, 255, 255);
  color: var(--navy);
  font-style: inherit;
  font-variant: inherit;
  font-stretch: inherit;
  font-size: inherit;
  line-height: inherit;
  font-family: inherit;
  font-optical-sizing: inherit;
  font-size-adjust: inherit;
  font-kerning: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-language-override: inherit;
  font-weight: 700;
  cursor: pointer;
}
.chip[aria-pressed='true'] {
  background: var(--navy);
  color: rgb(255, 255, 255);
}
.rating-light p {
  color: var(--text-muted);
}
.rating-light strong {
  color: var(--heading);
}
.rating-light .stars,
.review-card .stars {
  color: rgb(183, 121, 31);
}
.review-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 860px) {
  .review-list {
    grid-template-columns: 1fr;
  }
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--card-shadow);
}
.review-card[hidden] {
  display: none;
}
.review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.review-card .stars .icon {
  width: 20px;
  height: 20px;
}
.review-tag {
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--mist);
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--navy);
}
.review-card h3 {
  color: var(--heading);
  font-size: 1.35rem;
}
.review-card blockquote {
  margin: 0px 0px 12px;
}
.review-card blockquote p {
  margin: 0px 0px 0.7em;
}
.review-card .review-by {
  color: var(--text-muted);
}
.review-card .review-by strong {
  color: var(--text);
  display: inline;
  margin-right: 6px;
}
.trust-link {
  color: rgb(255, 255, 255);
}
.trust-link:hover {
  color: var(--sky);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
  align-items: stretch;
}
.contact-card p,
.contact-card address {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.contact-card .icon {
  color: var(--royal-ink);
  margin-top: 4px;
}
.contact-card .h3 {
  margin-top: 18px;
  font-size: 1.25rem;
}
.contact-card .h3:first-child {
  margin-top: 0px;
}
.map-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 320px;
  background: var(--mist);
}
.map-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0px;
}
.map-tall {
  min-height: 460px;
}
@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .map-tall {
    min-height: 340px;
  }
}
.prose h2 {
  font-size: 1.7rem;
  margin-top: 1.4em;
}
.prose p {
  max-width: 70ch;
}
.quote-bar {
  position: fixed;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 55;
  background: var(--navy);
  color: rgb(255, 255, 255);
  border-top: 3px solid var(--royal-ink);
  box-shadow: rgba(6, 14, 35, 0.6) 0px -10px 28px -14px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.quote-bar-form {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: nowrap;
}
.qb-label {
  margin: 0px 6px 12px 0px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  white-space: nowrap;
}
.qb-field {
  position: relative;
}
.qb-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgb(213, 216, 221);
  margin-bottom: 2px;
}
.qb-field input {
  width: 150px;
  min-height: 44px;
  padding: 6px 10px;
  font-style: inherit;
  font-variant: inherit;
  font-weight: inherit;
  font-stretch: inherit;
  line-height: inherit;
  font-family: inherit;
  font-optical-sizing: inherit;
  font-size-adjust: inherit;
  font-kerning: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-language-override: inherit;
  font-size: 1rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  background: rgb(255, 255, 255);
  color: var(--text);
}
.qb-field input[type='number'] {
  width: 110px;
}
.qb-town input {
  width: 180px;
}
.qb-field input[aria-invalid='true'] {
  border-color: rgb(255, 156, 147);
  box-shadow: rgb(255, 156, 147) 0px 0px 0px 2px;
}
.qb-field .field-error {
  position: absolute;
  bottom: calc(100% + 2px);
  left: 0px;
  margin: 0px;
  background: rgb(180, 35, 24);
  color: rgb(255, 255, 255);
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.qb-submit {
  min-height: 44px;
}
.quote-bar .btn-primary {
  background: rgb(255, 255, 255);
  color: var(--navy-deep) !important;
}
.quote-bar .btn-primary:hover {
  background: var(--mist);
}
.qb-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgb(255, 255, 255);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
}
.qb-phone:hover {
  color: var(--sky);
}
.qb-mobile {
  display: none;
}
@media (max-width: 1180px) {
  .qb-label {
    display: none;
  }
  .qb-phone span {
    display: none;
  }
}
@media (max-width: 900px) {
  .qb-town {
    display: none;
  }
}
@media (max-width: 760px) {
  :root {
    --qb-h: calc(72px + env(safe-area-inset-bottom, 0px));
    --header-h: 72px;
  }
  .quote-bar {
    background: var(--header-bg);
    border-top: 1px solid var(--line);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  }
  .quote-bar-form,
  .qb-phone {
    display: none;
  }
  .qb-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }
  .qb-mobile .btn {
    min-height: 52px;
  }
  .quote-bar .btn-primary {
    background: var(--royal-ink);
    color: rgb(255, 255, 255) !important;
  }
  .quote-bar :focus-visible {
    outline-color: var(--royal);
  }
}
@media print {
  .quote-bar,
  .notice,
  .menu-toggle {
    display: none;
  }
  body {
    padding-bottom: 0px;
  }
}
.quote-bar {
  transition: transform 0.25s;
}
.qb-tucked .quote-bar {
  transform: translateY(110%);
}
@media (prefers-reduced-motion: reduce) {
  .quote-bar {
    transition: none;
  }
}
.page-hero-compact .page-hero-inner {
  min-height: clamp(300px, 36vh, 400px);
  padding-block: 40px 44px;
}
.page-hero-compact .page-lead {
  margin-bottom: 0px;
}
.page-hero .page-lead a {
  color: rgb(255, 255, 255);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 760px) {
  .page-hero-compact .page-hero-media {
    aspect-ratio: 16 / 9;
  }
  .page-hero-compact .page-hero-inner {
    min-height: 0px;
    padding-block: 8px 32px;
  }
}

/* Source extracted CSS */

/* From css/style.css */
/* Hudson Valley Coach — full site
   Built by Bofill Technologies. Mobile-first, no framework. */

/* ---------- Tokens ---------- */
:root {
  --navy: #042151;
  --navy-deep: #060e23;
  --royal: #1f5cac; /* Coach Blue: accents, focus ring */
  --royal-ink: #1f5cac; /* Coach Blue buttons + links: 6.6:1 with white (AA) */
  --royal-ink-hover: #184a8c;
  --star: #9ca2a9; /* Metallic Silver: stars, icons and borders on navy (not for text on white) */
  --sky: #9ec2f0; /* light Coach Blue tint: links on navy */
  --silver: #9ca2a9; /* Metallic Silver */

  --bg: #ffffff;
  --surface: #ffffff;
  --mist: #e8e8e9;
  --text: #060e23;
  --text-muted: #4a5466;
  --line: #d3d5d8;
  --header-bg: rgba(255, 255, 255, 0.97);
  --heading: #042151;
  --link: #1f5cac;
  --link-hover: #184a8c;
  --card-shadow:
    0 1px 2px rgba(4, 33, 81, 0.06), 0 8px 24px -12px rgba(4, 33, 81, 0.18);

  --font-head:
    'Barlow Semi Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --font-body:
    'Source Sans 3', 'Source Sans Pro', 'Segoe UI', Roboto, Helvetica, Arial,
    sans-serif;

  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --section-y: clamp(64px, 9vw, 112px);
  --radius-sm: 6px;
  --radius: 10px;
  --header-h: 84px;
  --qb-h: 84px;

  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: inherit;
}
html {
  scroll-padding-top: calc(
    env(safe-area-inset-top, 0px) + var(--header-h) + 12px
  );
  -webkit-text-size-adjust: 100%;
}
body {
  overflow-x: clip;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* covers the status-bar area above the sticky header on phones */
body::before {
  content: '';
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--header-bg);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.005em;
}
h2 {
  font-size: clamp(2rem, 1.4rem + 2.2vw, 2.875rem);
  color: var(--heading);
}
h3 {
  font-size: 1.5rem;
  font-weight: 600;
}
p {
  margin: 0 0 1em;
}
a {
  color: var(--link);
  text-underline-offset: 0.18em;
}
a:hover {
  color: var(--link-hover);
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
address {
  font-style: normal;
  margin-bottom: 1em;
}
:focus-visible {
  outline: 3px solid var(--royal);
  outline-offset: 3px;
  border-radius: 3px;
}
.hero :focus-visible,
.safety :focus-visible,
.reviews :focus-visible,
.closing-cta :focus-visible,
.site-footer :focus-visible,
.quote-bar :focus-visible,
.page-hero :focus-visible {
  outline-color: #fff;
}
.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip,
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.skip:focus,
.skip-link:focus {
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  color: #fff;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.7em 1.35em;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}
.btn-lg {
  min-height: 54px;
  font-size: 1.0625rem;
  padding-inline: 1.6em;
}
.btn-primary {
  background: var(--royal-ink);
  color: #fff !important;
}
.btn-primary:hover {
  background: var(--royal-ink-hover);
}
.btn-outline {
  background: transparent;
  color: var(--navy) !important;
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff !important;
}
.btn-ghost-light {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.85);
}
.btn-ghost-light:hover {
  background: #fff;
  color: var(--navy-deep) !important;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.text-link {
  font-weight: 700;
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
  display: inline-block;
  padding-block: 8px;
}
.text-link-light {
  color: var(--sky) !important;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: none;
  border-radius: 8px;
}
.brand-logo {
  display: block;
  width: 146px;
  height: auto;
}
/* On dark backgrounds the logo sits on a white rounded badge (its navy subtitle and rules need a light ground) */
.brand-badge {
  background: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 6px 18px -10px rgba(0, 0, 0, 0.5);
}
.brand-badge .brand-logo {
  width: 236px;
}
.primary-nav {
  margin-left: auto;
}
.primary-nav ul {
  display: flex;
  gap: 2px;
}
.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 11px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.primary-nav ul a:hover {
  color: var(--royal-ink);
  background: var(--mist);
}
.nav-ctas {
  display: none;
}
.header-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover {
  color: var(--royal-ink);
}
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle .icon {
  width: 28px;
  height: 28px;
}
.menu-toggle .icon-close {
  display: none;
}
.menu-toggle[aria-expanded='true'] .icon-open {
  display: none;
}
.menu-toggle[aria-expanded='true'] .icon-close {
  display: block;
}

@media (max-width: 1180px) {
  .header-phone span {
    display: none;
  }
  .header-phone {
    width: 44px;
    justify-content: center;
  }
  .header-phone .icon {
    width: 22px;
    height: 22px;
  }
}
@media (max-width: 1040px) {
  .menu-toggle {
    display: inline-flex;
  }
  .header-ctas {
    display: none;
  }
  .primary-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: calc(env(safe-area-inset-top, 0px) + var(--header-h));
    bottom: 0;
    background: var(--surface);
    padding: 20px var(--gutter) 40px;
    overflow-y: auto;
    border-top: 1px solid var(--line);
    display: none;
  }
  .primary-nav.is-open {
    display: block;
  }
  .primary-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .primary-nav ul a {
    width: 100%;
    min-height: 56px;
    font-size: 1.25rem;
    font-family: var(--font-head);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding-inline: 4px;
  }
  .nav-ctas {
    display: grid;
    gap: 12px;
    margin-top: 24px;
  }
  body.nav-open {
    overflow: hidden;
  }
  /* backdrop-filter would make the header the containing block for the fixed menu */
  .site-header {
    backdrop-filter: none;
    background: var(--surface);
  }
  body.nav-open .quote-bar {
    display: none;
  }
}
@media (max-width: 760px) {
  .brand-logo {
    width: 124px;
  }
}
@media (max-width: 420px) {
  .brand-logo {
    width: 112px;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-deep);
  color: #fff;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(4, 33, 81, 0.86) 0%,
      rgba(4, 33, 81, 0.66) 34%,
      rgba(4, 33, 81, 0.12) 62%,
      rgba(4, 33, 81, 0) 75%
    ),
    linear-gradient(0deg, rgba(4, 33, 81, 0.55) 0%, rgba(4, 33, 81, 0) 30%);
}
.hero-content {
  display: flex;
  align-items: center;
  min-height: clamp(600px, calc(100vh - var(--header-h)), 860px);
  padding-top: 56px;
  padding-bottom: 128px;
}
.hero-copy {
  max-width: 700px;
}
.hero h1 {
  font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.012em;
  margin-bottom: 0.4em;
  text-wrap: balance;
  color: #fff;
}
.hero-sub {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  max-width: 34em;
  color: #eceef1;
  margin-bottom: 1.6em;
}
.hero-sub strong {
  display: block;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.2em;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
  gap: 8px 0;
  font-weight: 600;
  color: #fff;
  font-size: 0.98rem;
}
.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-right: 16px;
  margin-right: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
}
.trust-row li:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}
.trust-row .star {
  color: var(--star);
}

@media (max-width: 760px) {
  .hero-media {
    position: relative;
    inset: auto;
    aspect-ratio: 4 / 3;
  }
  .hero-img {
    object-position: 72% 50%;
  }
  .hero-media::after {
    background: linear-gradient(
      0deg,
      rgba(6, 14, 35, 1) 0%,
      rgba(6, 14, 35, 0) 38%
    );
  }
  .hero-content {
    min-height: 0;
    padding-top: 4px;
    padding-bottom: 104px;
  }
  .hero h1 {
    font-size: clamp(2.1rem, 1.4rem + 3.6vw, 2.7rem);
  }
  .hero .btn-row .btn {
    flex: 1 1 100%;
  }
  .trust-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
    font-size: 0.94rem;
  }
  .trust-row li {
    border: 0;
    margin: 0;
    padding: 0;
  }
}

/* ---------- Quick quote ---------- */
.quick-quote-section {
  position: relative;
  z-index: 2;
  margin-top: -88px;
}
.quick-quote {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow:
    0 20px 50px -20px rgba(6, 14, 35, 0.45),
    0 2px 6px rgba(6, 14, 35, 0.08);
  border: 1px solid var(--line);
  padding: 24px 28px;
  display: grid;
  gap: 16px 18px;
  grid-template-columns: 1.15fr 1fr 1fr 1.2fr auto;
  align-items: end;
}
.qq-intro h2 {
  font-size: 1.65rem;
  margin-bottom: 4px;
}
.qq-intro p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.4;
}
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--text);
}
.field input {
  width: 100%;
  min-height: 50px;
  padding: 10px 12px;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid #6b7280;
  border-radius: var(--radius-sm);
}
.field input:focus-visible {
  outline: 3px solid var(--royal);
  outline-offset: 1px;
  border-color: var(--royal-ink);
}
.field input[aria-invalid='true'] {
  border-color: #b42318;
}
.field-error {
  color: #b42318;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 6px 0 0;
}
.qq-submit {
  min-height: 50px;
}
.qq-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.qq-note a {
  font-weight: 700;
}

@media (max-width: 1080px) {
  .quick-quote {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .qq-intro {
    grid-column: 1 / -1;
  }
  .qq-submit {
    grid-column: 1 / -1;
  }
}
@media (max-width: 760px) {
  .quick-quote-section {
    margin-top: -64px;
  }
  .quick-quote {
    grid-template-columns: 1fr 1fr;
    padding: 22px 18px;
  }
  .field-town,
  .qq-submit {
    grid-column: 1 / -1;
  }
  .field-pax {
    min-width: 0;
  }
  .field-date {
    min-width: 0;
  }
}

/* ---------- Sections ---------- */
.section {
  padding-block: var(--section-y);
}
.section-mist {
  background: var(--mist);
}
.section-head {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.section-head p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0;
}
.section-head-split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.section-head-split > div:first-child {
  max-width: 680px;
}
.quick-quote-section + .section {
  padding-top: clamp(56px, 7vw, 88px);
}

/* ---------- Who we serve ---------- */
.serve-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}
.serve-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
  color: #fff;
  text-decoration: none;
  background: var(--navy);
}
.tile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.serve-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(4, 33, 81, 0.92) 0%,
    rgba(4, 33, 81, 0.55) 36%,
    rgba(4, 33, 81, 0) 62%
  );
}
.serve-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 22px 20px;
}
.serve-title {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.05;
  margin-bottom: 6px;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.15em;
  text-decoration-thickness: 2px;
  transition: text-decoration-color 0.2s;
}
.serve-line {
  display: block;
  font-size: 1rem;
  line-height: 1.4;
  color: #e3e5e8;
}
.serve-tile:hover .tile-img {
  transform: scale(1.04);
}
.serve-tile:hover .serve-title,
.serve-tile:focus-visible .serve-title {
  text-decoration-color: var(--royal);
}
.serve-tile:hover {
  color: #fff;
}
.serve-tile:focus-visible {
  outline-offset: 4px;
}
@media (max-width: 1080px) {
  .serve-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .serve-tile {
    aspect-ratio: 4 / 3;
  }
}
@media (max-width: 560px) {
  .serve-grid {
    grid-template-columns: 1fr;
  }
  .serve-tile {
    aspect-ratio: 3 / 2;
  }
}

/* ---------- Fleet ---------- */
.fleet-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}
.fleet-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--line);
}
.card-img {
  aspect-ratio: 3 / 2;
  width: 100%;
  object-fit: cover;
}
.fleet-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.seats {
  margin: 0 0 6px;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.seats-num {
  font-family: var(--font-head);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--royal-ink);
}
.fleet-card h3 {
  margin-bottom: 2px;
}
.fleet-card h3 a {
  color: var(--navy);
  text-decoration: none;
}
.fleet-card h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
} /* whole card clickable */
.fleet-card h3 a:hover {
  text-decoration: underline;
}
.fleet-card:has(h3 a:focus-visible) {
  outline: 3px solid var(--royal);
  outline-offset: 3px;
}
.fleet-card h3 a:focus-visible {
  outline: none;
}
.model {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.amenities li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-top: 1px solid var(--line);
  font-size: 1rem;
}
.amenities .icon {
  color: var(--royal-ink);
  width: 18px;
  height: 18px;
}
.confirm-note {
  margin: 12px 0 0;
  position: relative;
  z-index: 1;
}
@media (max-width: 1080px) {
  .fleet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .fleet-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Safety ---------- */
.safety {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy);
  color: #fff;
}
.safety-copy {
  display: flex;
  justify-content: flex-end;
}
.safety-inner {
  max-width: calc(var(--wrap) / 2);
  width: 100%;
  padding: var(--section-y) clamp(28px, 5vw, 72px) var(--section-y)
    var(--gutter);
}
.safety h2 {
  color: #fff;
  text-wrap: balance;
}
.safety .lead {
  color: #d5d8dd;
  font-size: 1.125rem;
}
.safety-list {
  margin: 28px 0 22px;
}
.safety-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.safety-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.safety-list .icon {
  width: 24px;
  height: 24px;
  color: var(--silver);
  margin-top: 2px;
}
.safety-media {
  position: relative;
  min-height: 420px;
}
.cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.safety-media .cover-img {
  position: absolute;
  inset: 0;
  object-position: 50% 60%;
}
@media (max-width: 960px) {
  .safety {
    grid-template-columns: 1fr;
  }
  .safety-media {
    order: -1;
    min-height: 0;
    aspect-ratio: 3 / 2;
  }
  .safety-copy {
    justify-content: flex-start;
  }
  .safety-inner {
    max-width: none;
    padding-inline: var(--gutter);
  }
}

/* ---------- Trip ideas rail ---------- */
.rail-controls {
  display: flex;
  gap: 10px;
}
.rail-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  background: var(--surface);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.rail-btn:hover:not(:disabled) {
  background: var(--navy);
  color: #fff;
}
.rail-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.rail-wrap {
  width: 100%;
}
.rail {
  --rail-pad: calc(max(0px, (100vw - var(--wrap)) / 2) + var(--gutter));
  --rail-col: calc((min(100vw, var(--wrap)) - 2 * var(--gutter) - 40px) / 3);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--rail-col);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--rail-pad);
  padding: 4px var(--rail-pad) 18px;
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
}
.rail:focus-visible {
  outline-offset: -3px;
}
.trip-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
.trip-img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.trip-card h3 {
  margin-bottom: 4px;
  color: var(--navy);
}
.trip-card p {
  color: var(--text-muted);
  margin-bottom: 4px;
  flex: 1;
}
@media (max-width: 1080px) {
  .rail {
    --rail-col: 44vw;
  }
}
@media (max-width: 600px) {
  .rail {
    --rail-col: 80vw;
  }
  .rail-controls {
    display: none;
  }
}

/* ---------- Reviews ---------- */
.reviews {
  background: var(--navy);
  color: #fff;
  padding-block: var(--section-y);
}
.reviews h2 {
  color: #fff;
  margin: 0;
}
.reviews-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin-bottom: 40px;
}
.rating-summary {
  display: flex;
  align-items: center;
  gap: 14px;
}
.rating-summary p {
  margin: 0;
  color: #d5d8dd;
  font-size: 1.0625rem;
}
.rating-summary strong {
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
}
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--star);
}
.stars .icon {
  width: 24px;
  height: 24px;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 40px;
  margin-bottom: 36px;
}
.review {
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
}
.review blockquote {
  margin: 0 0 14px;
  flex: 1;
}
.review blockquote p {
  font-size: 1.125rem;
  line-height: 1.55;
  margin: 0;
  color: #fff;
}
.review-by {
  margin: 0;
  color: #b8bdc4;
  font-size: 0.97rem;
}
.review-by strong {
  display: block;
  color: #fff;
  font-size: 1.0625rem;
}
@media (max-width: 960px) {
  .review-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .review-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Same roots ---------- */
.roots {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.roots-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.roots-copy p {
  font-size: 1.125rem;
}
.roots-close {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.5rem !important;
  color: var(--navy);
  line-height: 1.25;
}
@media (max-width: 960px) {
  .roots {
    grid-template-columns: 1fr;
  }
}

/* ---------- How booking works: the road ---------- */
.road {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-top: 176px;
  counter-reset: stop;
}
/* asphalt band with a dashed centerline */
.road::before {
  content: '';
  position: absolute;
  top: 112px;
  height: 44px;
  left: calc(-1 * (max(0px, (100vw - var(--wrap)) / 2) + var(--gutter)));
  right: calc(-1 * (max(0px, (100vw - var(--wrap)) / 2) + var(--gutter)));
  background:
    repeating-linear-gradient(90deg, #fff 0 40px, transparent 40px 72px)
      center / 100% 5px no-repeat,
    linear-gradient(#9ca2a9, #9ca2a9) top / 100% 3px no-repeat,
    linear-gradient(#9ca2a9, #9ca2a9) bottom / 100% 3px no-repeat,
    var(--navy);
}
.stop {
  position: relative;
}
/* mile-marker post */
.marker {
  position: absolute;
  top: -176px;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 96px;
  background: var(--royal-ink);
  color: #fff;
  border-radius: 6px;
  border: 3px solid #fff;
  box-shadow:
    0 0 0 2px var(--royal-ink),
    0 6px 14px -6px rgba(6, 14, 35, 0.5);
  font-family: var(--font-head);
  line-height: 1;
}
.marker::after {
  content: '';
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  width: 6px;
  height: 12px;
  margin-left: -3px;
  background: #9ca2a9;
}
.marker-word {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.marker-num {
  font-size: 2.6rem;
  font-weight: 700;
  margin-top: 2px;
}
.stop h3 {
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 1.65rem;
}
.stop p {
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 860px) {
  .road {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 0;
    padding-left: 92px;
  }
  .road::before {
    left: 18px;
    right: auto;
    top: -8px;
    bottom: -8px;
    width: 34px;
    height: auto;
    background:
      repeating-linear-gradient(180deg, #fff 0 26px, transparent 26px 48px)
        center / 4px 100% no-repeat,
      var(--navy);
  }
  .marker {
    top: 0;
    left: -86px;
    width: 54px;
    height: 72px;
  }
  .marker::after {
    display: none;
  }
  .marker-num {
    font-size: 2rem;
  }
  .marker-word {
    font-size: 0.8rem;
  }
  .stop {
    min-height: 72px;
  }
}

/* ---------- Closing CTA ---------- */
.closing-cta {
  background: var(--royal-ink);
  color: #fff;
  padding-block: clamp(52px, 7vw, 80px);
}
.closing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.closing-cta h2 {
  color: #fff !important;
  margin-bottom: 0.25em;
}
.closing-cta p {
  margin: 0;
  font-size: 1.125rem;
  max-width: 40em;
  color: #fff;
}
.closing-cta .btn-primary {
  background: #fff;
  color: var(--navy-deep) !important;
}
.closing-cta .btn-primary:hover {
  background: #e8e8e9;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #d5d8dd;
  padding-top: clamp(52px, 7vw, 80px);
  font-size: 1rem;
}
.site-footer a {
  color: #fff;
}
.site-footer a:hover {
  color: var(--sky);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.3fr 1fr 1.3fr;
  gap: 36px;
  padding-bottom: 36px;
}
.footer-tagline {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.4rem;
  color: #fff;
  margin: 18px 0 4px;
  line-height: 1.2;
}
.footer-h {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.footer-links li a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  text-decoration: none;
}
.footer-links li a:hover {
  text-decoration: underline;
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.badge-row li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(156, 162, 169, 0.55);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}
.badge-row .icon {
  color: var(--silver);
}
.social {
  margin: 0 0 24px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 18px 0;
  font-size: 0.92rem;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer-bottom p {
  margin: 0;
}
.sep {
  margin-inline: 8px;
  opacity: 0.5;
}
@media (max-width: 1040px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .hero-copy > :nth-child(2) {
    animation-delay: 0.08s;
  }
  .hero-copy > :nth-child(3) {
    animation-delay: 0.16s;
  }
  .hero-copy > :nth-child(4) {
    animation-delay: 0.24s;
  }
  html {
    scroll-behavior: smooth;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tile-img {
    transition: none;
  }
  .serve-tile:hover .tile-img {
    transform: none;
  }
}

/* ================= Full-site additions ================= */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.eyebrow {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: var(--royal-ink);
  margin-bottom: 0.6em;
}
.lead {
  font-size: 1.1875rem;
  line-height: 1.55;
}
.note {
  font-size: 0.95rem;
  color: var(--text-muted);
}
.narrow {
  max-width: 820px;
  margin-inline: auto;
}
.h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--heading);
}
.more-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 28px 0 0;
}
.rounded {
  border-radius: var(--radius);
}

/* Notice banner (ownership change) */
.notice {
  background: var(--navy-deep);
  color: #e3e5e8;
  font-size: 0.95rem;
}
.notice-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px 18px;
  flex-wrap: wrap;
  padding-block: 8px;
  text-align: center;
}
.notice p {
  margin: 0;
  line-height: 1.4;
}
.notice strong {
  color: #fff;
}
.notice-link {
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
}
.notice-link:hover {
  color: var(--sky);
}
.notice :focus-visible {
  outline-color: #fff;
}
@media (max-width: 760px) {
  .notice {
    font-size: 0.86rem;
  }
  .notice-inner {
    gap: 0 12px;
    padding-block: 6px;
  }
}

/* Primary nav current page */
.primary-nav a[aria-current='page'] {
  color: var(--royal-ink);
  box-shadow: inset 0 -3px 0 var(--royal-ink);
}
@media (max-width: 1040px) {
  .primary-nav a[aria-current='page'] {
    box-shadow: inset 4px 0 0 var(--royal-ink);
    padding-left: 14px;
  }
}
.header-phone .icon {
  width: 20px;
  height: 20px;
}
.nav-ctas .icon,
.btn .icon {
  width: 1.1em;
  height: 1.1em;
}

/* Page heroes */
.page-hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: var(--navy-deep);
}
.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.page-hero-media .hero-img {
  object-position: 60% 50%;
}
.page-hero-media .hero-img.pos-center {
  object-position: 50% 50%;
}
.page-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(4, 33, 81, 0.9) 0%,
      rgba(4, 33, 81, 0.72) 40%,
      rgba(4, 33, 81, 0.2) 75%,
      rgba(4, 33, 81, 0.05) 100%
    ),
    linear-gradient(0deg, rgba(4, 33, 81, 0.45), rgba(4, 33, 81, 0) 40%);
}
.page-hero-inner {
  min-height: clamp(420px, 52vh, 560px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 48px 56px;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 1.4rem + 3vw, 3.75rem);
  line-height: 1.04;
  max-width: 15em;
  text-wrap: balance;
}
.page-lead {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  max-width: 36em;
  color: #eceef1;
  margin-bottom: 1.4em;
}
.page-hero .crumbs a,
.page-hero .crumbs li {
  color: #e3e5e8;
}
.page-hero .crumbs li + li::before {
  color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 760px) {
  .page-hero-media {
    position: relative;
    inset: auto;
    aspect-ratio: 16 / 10;
  }
  .page-hero-media::after {
    background: linear-gradient(
      0deg,
      rgba(6, 14, 35, 1) 0%,
      rgba(6, 14, 35, 0) 45%
    );
  }
  .page-hero-inner {
    min-height: 0;
    padding-block: 8px 40px;
  }
  .page-hero .btn-row .btn {
    flex: 1 1 100%;
  }
}
.plain-hero {
  background: var(--mist);
  padding-block: clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}
.plain-hero h1 {
  font-size: clamp(2.3rem, 1.4rem + 3vw, 3.5rem);
  color: var(--heading);
}
.plain-hero .page-lead {
  color: var(--text-muted);
  margin: 0;
}

/* Breadcrumbs */
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 18px;
  font-size: 0.95rem;
}
.crumbs li {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
}
.crumbs li + li::before {
  content: '/';
  margin-right: 6px;
  color: var(--silver);
}
.crumbs a {
  color: var(--link);
  display: inline-flex;
  min-height: 32px;
  align-items: center;
}

/* Split layouts and panels */
.split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.split-rev .split-media {
  order: 2;
}
.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.split-copy > p {
  font-size: 1.0625rem;
}
.split-copy .btn-row,
.split-copy > .btn {
  margin-top: 20px;
}
.split-text {
  align-items: center;
}
.split-side {
  display: grid;
  gap: 20px;
}
.split-form {
  grid-template-columns: 1.6fr 1fr;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--card-shadow);
}
.section-mist .panel {
  background: #fff;
}
.panel h3,
.panel .h3 {
  color: var(--heading);
  margin-bottom: 12px;
}
.panel .note {
  margin: 14px 0 0;
}
@media (max-width: 960px) {
  .split,
  .split-form {
    grid-template-columns: 1fr;
  }
  .split-rev .split-media {
    order: 0;
  }
}

.checklist li {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  align-items: flex-start;
}
.checklist .icon {
  color: var(--royal-ink);
  width: 20px;
  height: 20px;
  margin-top: 3px;
}
.panel .amenities li:first-child {
  border-top: 0;
}
.link-list li a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  font-weight: 600;
}
.town-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 16px;
}
.town-list li {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 5px 0;
}
.town-list .icon {
  color: var(--royal-ink);
  width: 18px;
  height: 18px;
}

.specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0 0;
}
.specs div {
  background: var(--mist);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.specs dt {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.specs dd {
  margin: 4px 0 0;
  font-weight: 600;
}
@media (max-width: 600px) {
  .specs {
    grid-template-columns: 1fr;
  }
  .town-list {
    grid-template-columns: 1fr;
  }
}

/* Card grids */
.card-grid {
  display: grid;
  gap: 22px;
}
.card-grid-1 {
  grid-template-columns: minmax(0, 420px);
}
.card-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1080px) {
  .card-grid-3,
  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .card-grid-2,
  .card-grid-3,
  .card-grid-4 {
    grid-template-columns: 1fr;
  }
}
.link-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.link-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.link-card h3 {
  margin-bottom: 6px;
  font-size: 1.4rem;
}
.link-card h3 a {
  color: var(--navy);
  text-decoration: none;
}
.link-card h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
}
.link-card:hover h3 a {
  text-decoration: underline;
}
.link-card:has(h3 a:focus-visible) {
  outline: 3px solid var(--royal);
  outline-offset: 3px;
}
.link-card h3 a:focus-visible {
  outline: none;
}
.link-card p {
  color: var(--text-muted);
  margin-bottom: 10px;
  flex: 1;
}
.card-more {
  font-weight: 700;
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-2 {
  grid-template-columns: repeat(2, 1fr);
}
.gallery-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.gallery-tight {
  gap: 10px;
}
@media (max-width: 600px) {
  .gallery {
    grid-template-columns: 1fr;
  }
  .gallery-2.gallery-tight {
    grid-template-columns: 1fr 1fr;
  }
}

/* Compare table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: var(--surface);
}
.compare th,
.compare td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare thead th {
  background: var(--navy);
  color: #fff;
  font-size: 0.95rem;
}
.compare tbody tr:last-child > * {
  border-bottom: 0;
}
.compare tbody th a {
  font-weight: 700;
}
.table-wrap:focus-visible {
  outline-offset: 2px;
}

/* Callouts */
.callout {
  background: var(--mist);
  border-left: 6px solid var(--royal-ink);
  border-radius: var(--radius);
  padding: 28px 30px;
}
.callout h2 {
  font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem);
}
.callout-inline {
  padding: 18px 22px;
  margin: 8px 0 18px;
}
.callout-inline h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
  color: var(--heading);
}
.callout-inline p {
  margin: 0;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 10px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--heading);
  min-height: 56px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  font-size: 1.6rem;
  line-height: 1;
  color: var(--royal-ink);
  flex: none;
}
.faq-item[open] summary::after {
  content: '\2212';
}
.faq-item summary:focus-visible {
  outline-offset: -3px;
}
.faq-a {
  padding: 0 20px 18px;
}
.faq-a p {
  margin: 0;
}
.faq-group + .faq-group {
  margin-top: 48px;
}
.faq-group h2 {
  font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.2rem);
}

/* Forms */
.form {
  display: grid;
  gap: 18px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}
@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 10px 12px;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid #6b7280;
  border-radius: var(--radius-sm);
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--royal);
  outline-offset: 1px;
  border-color: var(--royal-ink);
}
.field [aria-invalid='true'] {
  border-color: #b42318;
}
.hint {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.9rem;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--surface);
  display: grid;
  gap: 18px;
}
.step > legend {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--heading);
  padding: 0 8px;
  margin-left: -8px;
}
.radio-group legend,
.rating-field legend {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.radio-group,
.rating-field {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  align-content: start;
}
.radio-group legend,
.rating-field legend {
  width: 100%;
}
.radio,
.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  cursor: pointer;
}
.check {
  align-items: flex-start;
}
.radio input,
.check input {
  width: 20px;
  height: 20px;
  accent-color: var(--royal-ink);
  flex: none;
}
.check input {
  margin-top: 3px;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.step-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.form-status {
  background: #e7f0fb;
  border-left: 5px solid var(--royal-ink);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin: 0;
}
.progress {
  display: flex;
  gap: 8px;
  margin: 0 0 4px;
  counter-reset: none;
}
.progress li {
  flex: 1;
  text-align: center;
  padding: 10px 6px;
  border-bottom: 4px solid var(--line);
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.progress li.is-done,
.progress li[aria-current='step'] {
  border-color: var(--royal-ink);
  color: var(--heading);
}
.js .js-steps .step:not(.is-active) {
  display: none;
}
.big-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.9rem;
  text-decoration: none;
  color: var(--navy);
}
.big-phone .icon {
  width: 26px;
  height: 26px;
  color: var(--royal-ink);
}
.helper {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px 18px;
  align-items: end;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.helper-out {
  grid-column: 1 / -1;
  margin: 0;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--heading);
}
@media (max-width: 760px) {
  .helper {
    grid-template-columns: 1fr;
  }
}

/* Reviews page */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1.5px solid var(--navy);
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.chip[aria-pressed='true'] {
  background: var(--navy);
  color: #fff;
}
.rating-light p {
  color: var(--text-muted);
}
.rating-light strong {
  color: var(--heading);
}
.rating-light .stars,
.review-card .stars {
  color: #b7791f;
}
.review-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 860px) {
  .review-list {
    grid-template-columns: 1fr;
  }
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--card-shadow);
}
.review-card[hidden] {
  display: none;
}
.review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.review-card .stars .icon {
  width: 20px;
  height: 20px;
}
.review-tag {
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--mist);
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--navy);
}
.review-card h3 {
  color: var(--heading);
  font-size: 1.35rem;
}
.review-card blockquote {
  margin: 0 0 12px;
}
.review-card blockquote p {
  margin: 0 0 0.7em;
}
.review-card .review-by {
  color: var(--text-muted);
}
.review-card .review-by strong {
  color: var(--text);
  display: inline;
  margin-right: 6px;
}
.trust-link {
  color: #fff;
}
.trust-link:hover {
  color: var(--sky);
}

/* Contact + map */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
  align-items: stretch;
}
.contact-card p,
.contact-card address {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.contact-card .icon {
  color: var(--royal-ink);
  margin-top: 4px;
}
.contact-card .h3 {
  margin-top: 18px;
  font-size: 1.25rem;
}
.contact-card .h3:first-child {
  margin-top: 0;
}
.map-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 320px;
  background: var(--mist);
}
.map-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}
.map-tall {
  min-height: 460px;
}
@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .map-tall {
    min-height: 340px;
  }
}

/* Prose */
.prose h2 {
  font-size: 1.7rem;
  margin-top: 1.4em;
}
.prose p {
  max-width: 70ch;
}

/* Sticky quote bar (every page) */
.quote-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  background: var(--navy);
  color: #fff;
  border-top: 3px solid var(--royal-ink);
  box-shadow: 0 -10px 28px -14px rgba(6, 14, 35, 0.6);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.quote-bar-form {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: nowrap;
}
.qb-label {
  margin: 0 6px 12px 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  white-space: nowrap;
}
.qb-field {
  position: relative;
}
.qb-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #d5d8dd;
  margin-bottom: 2px;
}
.qb-field input {
  width: 150px;
  min-height: 44px;
  padding: 6px 10px;
  font: inherit;
  font-size: 1rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
}
.qb-field input[type='number'] {
  width: 110px;
}
.qb-town input {
  width: 180px;
}
.qb-field input[aria-invalid='true'] {
  border-color: #ff9c93;
  box-shadow: 0 0 0 2px #ff9c93;
}
.qb-field .field-error {
  position: absolute;
  bottom: calc(100% + 2px);
  left: 0;
  margin: 0;
  background: #b42318;
  color: #fff;
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.qb-submit {
  min-height: 44px;
}
.quote-bar .btn-primary {
  background: #fff;
  color: var(--navy-deep) !important;
}
.quote-bar .btn-primary:hover {
  background: var(--mist);
}
.qb-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
}
.qb-phone:hover {
  color: var(--sky);
}
.qb-mobile {
  display: none;
}
@media (max-width: 1180px) {
  .qb-label {
    display: none;
  }
  .qb-phone span {
    display: none;
  }
}
@media (max-width: 900px) {
  .qb-town {
    display: none;
  }
}
@media (max-width: 760px) {
  :root {
    --qb-h: calc(72px + env(safe-area-inset-bottom, 0px));
    --header-h: 72px;
  }
  .quote-bar {
    background: var(--header-bg);
    border-top: 1px solid var(--line);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  }
  .quote-bar-form,
  .qb-phone {
    display: none;
  }
  .qb-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }
  .qb-mobile .btn {
    min-height: 52px;
  }
  .quote-bar .btn-primary {
    background: var(--royal-ink);
    color: #fff !important;
  }
  .quote-bar :focus-visible {
    outline-color: var(--royal);
  }
}
@media print {
  .quote-bar,
  .notice,
  .menu-toggle {
    display: none;
  }
  body {
    padding-bottom: 0;
  }
}

/* Sticky bar tucks away while a full quote form is on screen */
.quote-bar {
  transition: transform 0.25s ease;
}
.qb-tucked .quote-bar {
  transform: translateY(110%);
}
@media (prefers-reduced-motion: reduce) {
  .quote-bar {
    transition: none;
  }
}

/* Photo headers on utility pages (reviews, FAQ, contact, quote, privacy, 404) */
.page-hero-compact .page-hero-inner {
  min-height: clamp(300px, 36vh, 400px);
  padding-block: 40px 44px;
}
.page-hero-compact .page-lead {
  margin-bottom: 0;
}
.page-hero .page-lead a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 760px) {
  .page-hero-compact .page-hero-media {
    aspect-ratio: 16 / 9;
  }
  .page-hero-compact .page-hero-inner {
    min-height: 0;
    padding-block: 8px 32px;
  }
}

/* WordPress-specific styles */
.wp-block-group {
  margin-bottom: 1rem;
}

.wp-block-image {
  margin-bottom: 1rem;
}

.wp-block-button {
  margin-bottom: 1rem;
}

/* CRITICAL: Reset WordPress default constraints that break layouts */
/* WordPress adds default max-width to containers which breaks original layouts */
.entry-content,
.site-content,
.content-area {
  max-width: none !important;
  width: 100% !important;
}

/* EC-CONTAIN-001: Only override .container / section max-width when the site's
   own CSS does NOT define them. Tailwind and Bootstrap sites intentionally set
   .container { max-width: … } — blasting it with !important breaks every section. */
.container {
  max-width: none !important;
}

/* EC-ANIM-008 / EC-ANIM-009: Scroll-reveal utilities (.scroll-fade-up etc.) start at opacity:0
   and transition to visible when an IntersectionObserver adds .visible (injected in functions.php).
   Carousels inside scroll-reveal wrappers must be forced visible immediately so Embla can measure. */
.scroll-fade-up:has([aria-roledescription='carousel']),
.scroll-fade-up:has([data-wpconvert-blog-filter-bar]),
.scroll-fade-left:has([aria-roledescription='carousel']),
.scroll-fade-right:has([aria-roledescription='carousel']),
.scroll-scale-in:has([aria-roledescription='carousel']) {
  opacity: 1 !important;
  transform: none !important;
}

/* EC-SCROLL-001: Auto-scroll marquee CSS (always included - lightweight, no-op if no marquee elements) */

/* EC-SCROLL-001: Auto-scroll gallery marquee animation */
/* Replaces React requestAnimationFrame/scrollLeft with pure CSS animation */
.wpconvert-marquee-container {
  overflow: hidden !important;
}
.wpconvert-marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: wpconvert-marquee 30s linear infinite;
}
@keyframes wpconvert-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* Pause on hover for accessibility */
.wpconvert-marquee-container:hover .wpconvert-marquee-track {
  animation-play-state: paused;
}
/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .wpconvert-marquee-track {
    animation: none;
    overflow-x: auto;
  }
}
/* EC-MARQUEE-OVERFLOW-001: Local clip for a SOURCE marquee/ticker wrapper whose
   over-wide track would otherwise add horizontal page scroll. Applied at build
   time to the track's direct parent (see clipMarqueeOverflow). Works on every
   browser and never touches body/sticky-header behavior. */
.wpc-marquee-clip {
  overflow-x: hidden;
  max-width: 100%;
}

/* EC-ANIM-011: Frozen Framer Motion infinite float/pulse animations replaced with CSS keyframes.
   4 float variants with staggered durations and amplitudes, plus a pulse variant. */
@keyframes wpconvert-float-1 {
  0%,
  100% {
    transform: translateY(-8px);
  }
  50% {
    transform: translateY(8px);
  }
}
@keyframes wpconvert-float-2 {
  0%,
  100% {
    transform: translateY(6px);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes wpconvert-float-3 {
  0%,
  100% {
    transform: translateY(-5px);
  }
  50% {
    transform: translateY(12px);
  }
}
@keyframes wpconvert-float-4 {
  0%,
  100% {
    transform: translateY(10px);
  }
  50% {
    transform: translateY(-6px);
  }
}
@keyframes wpconvert-pulse {
  0%,
  100% {
    scale: 1;
  }
  50% {
    scale: 1.05;
  }
}
@keyframes wpconvert-float-tilt {
  0%,
  100% {
    transform: translateY(0%) rotate(0deg);
  }
  50% {
    transform: translateY(4%) rotate(-2deg);
  }
}
.wpconvert-float-1 {
  animation: wpconvert-float-1 5s ease-in-out infinite;
}
.wpconvert-float-2 {
  animation: wpconvert-float-2 6s ease-in-out infinite 0.5s;
}
.wpconvert-float-3 {
  animation: wpconvert-float-3 5.5s ease-in-out infinite 1s;
}
.wpconvert-float-4 {
  animation: wpconvert-float-4 6.5s ease-in-out infinite 1.5s;
}
.wpconvert-pulse {
  animation: wpconvert-pulse 4s ease-in-out infinite;
}
.wpconvert-float-tilt {
  animation: wpconvert-float-tilt 6s ease-in-out infinite;
}
/* EC-ANIM-011c: z-0 override for centered pulse cards whose z-10 was demoted */
.wpconvert-pulse.z-0 {
  z-index: 0;
}
@media (prefers-reduced-motion: reduce) {
  .wpconvert-float-1,
  .wpconvert-float-2,
  .wpconvert-float-3,
  .wpconvert-float-4,
  .wpconvert-pulse,
  .wpconvert-float-tilt {
    animation: none;
  }
}

/* WPConvert Tabs Component CSS */

/* WPConvert Tabs Component */
.wpconvert-tabs {
  max-width: 64rem;
  margin: 0 auto;
}

.wpconvert-tab-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .wpconvert-tab-nav {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .wpconvert-tab-nav {
    grid-template-columns: repeat(6, 1fr);
  }
}

.wpconvert-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: all 0.3s ease;
}

.wpconvert-tab-btn:hover {
  border-color: hsl(var(--primary) / 0.5);
  color: hsl(var(--foreground));
}

.wpconvert-tab-btn.active {
  background: hsl(var(--primary) / 0.1);
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

.wpconvert-tab-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-bottom: 0.5rem;
}

.wpconvert-tab-icon svg {
  width: 100%;
  height: 100%;
}

.wpconvert-tab-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}

.wpconvert-tab-viewport {
  position: relative;
  display: flex;
  align-items: center;
}

.wpconvert-tab-content {
  flex: 1;
  position: relative;
}

.wpconvert-tab-panel {
  display: none;
  padding: 2rem;
  border-radius: 0.75rem;
  background: linear-gradient(
    135deg,
    hsl(var(--card)) 0%,
    hsl(var(--muted) / 0.3) 100%
  );
  border: 1px solid hsl(var(--border));
  text-align: center;
  animation: wpconvert-tab-fade-in 0.3s ease;
}

.wpconvert-tab-panel.active {
  display: block;
}

@keyframes wpconvert-tab-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wpconvert-tab-icon-large {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 2rem;
  padding: 1rem;
  border-radius: 1rem;
  background: hsl(var(--primary) / 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wpconvert-tab-icon-large svg {
  width: 100%;
  height: 100%;
  color: hsl(var(--primary));
}

.wpconvert-tab-title {
  font-family: var(--font-display, inherit);
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .wpconvert-tab-title {
    font-size: 1.875rem;
  }
}

.wpconvert-tab-description {
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
  max-width: 42rem;
  margin: 0 auto 1.5rem;
}

.wpconvert-tab-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.wpconvert-tab-arrow:hover {
  color: hsl(var(--primary));
  border-color: hsl(var(--primary));
}

.wpconvert-tab-prev {
  left: -1rem;
}

@media (min-width: 640px) {
  .wpconvert-tab-prev {
    left: -1.5rem;
  }
}

.wpconvert-tab-next {
  right: -1rem;
}

@media (min-width: 640px) {
  .wpconvert-tab-next {
    right: -1.5rem;
  }
}

.wpconvert-tab-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.wpconvert-tab-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: hsl(var(--muted-foreground) / 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wpconvert-tab-dot:hover {
  background: hsl(var(--muted-foreground) / 0.5);
}

.wpconvert-tab-dot.active {
  background: hsl(var(--primary));
  width: 2rem;
  border-radius: 0.375rem;
}

/* EC-MSTEP-001: Multi-step form wizard CSS */

/* EC-MSTEP-001: Multi-step form wizard */
.wpconvert-multistep-form {
  width: 100%;
}
.wpconvert-step-panel {
  display: none;
}
.wpconvert-step-panel.active {
  display: block;
  animation: wpconvert-step-fade-in 0.25s ease;
}
@keyframes wpconvert-step-fade-in {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.wpconvert-step-progress-fill {
  transition: width 0.4s ease-out;
}
/* Signature canvas */
canvas[data-wpc-sig-init] {
  width: 100%;
  min-height: 150px;
  border: 2px solid var(--border, #e5e7eb);
  border-radius: 1rem;
  background: #fff;
  cursor: crosshair;
  touch-action: none;
}

/* EC-CALC-001: Interactive calculator CSS */

/* EC-CALC-001: Interactive calculator */
[data-wpc-calc] input[type='range'] {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
[data-wpc-calc] input[type='range']:focus {
  outline: none;
}
[data-wpc-calc] [data-wpc-calc-toggle].wpc-calc-toggle-active {
  opacity: 1;
}
[data-wpc-calc] [data-wpc-calc-toggle]:not(.wpc-calc-toggle-active) {
  opacity: 0.6;
}

/* CRITICAL FIX: Ensure gradient overlays respect their default hidden state */
/* NOTE: The main fix is in cleanHtmlContent() which corrects captured hover states */
/* These CSS rules are a FALLBACK to ensure overlays stay hidden if any slip through */

/* Keep gradient overlays hidden - they're decorative hover effects */
.group [class*='absolute'][class*='inset-0'][class*='bg-gradient'].opacity-0 {
  opacity: 0 !important;
}

/* Keep bottom accent bars hidden by default */
.group [class*='absolute'][class*='bottom-0'][class*='bg-gradient'].scale-x-0 {
  transform: scaleX(0) !important;
}

/* Reset WordPress default margins that break spacing */
.entry-content > *:first-child,
.site-content > *:first-child {
  margin-top: 0 !important;
}

/* EC-DARK-001: In dark-themed sites (html.dark), containers with explicit bg-white
   backgrounds need dark text. The .dark scope sets --foreground to a light color,
   making text invisible on white cards. Reset to :root-scope (light) variable values. */
.dark .bg-white,
.dark [class*='bg-white'] {
  --foreground: 222.2 84% 4.9%;
  --muted-foreground: 215.4 16.3% 46.9%;
  color: hsl(222.2 84% 4.9%);
}
.dark .bg-white .text-foreground,
.dark [class*='bg-white'] .text-foreground,
.dark .bg-white [class*='text-foreground'],
.dark [class*='bg-white'] [class*='text-foreground'] {
  color: hsl(222.2 84% 4.9%);
}

/* Navigation Menu Styling - Universal for all dropdown patterns */
/* Reset ALL menu items */
.menu-item,
li.menu-item,
li.menu-item-type-post_type,
li.menu-item-type-custom,
li.menu-item-object-page,
li.menu-item-has-children {
  position: relative;
  list-style: none !important;
  margin: 0;
}

/* EC-NAV-MOBILE-010: The force-horizontal / force-inline-block rules below are DESKTOP-ONLY.
   They exist to coerce WordPress-generated <ul class="menu"><li> markup into a horizontal bar.
   Previously they were unconditional with id-specificity + !important, which overrode the source
   theme's mobile-first hide (e.g. a .nav-primary .menu display:none revealed via a hamburger).
   On classic mobile-first themes that leaked the desktop nav onto every mobile page (often as a
   full-screen overlay, since the source .menu base is position:fixed;inset:0). Scoping to a
   min-width media query keeps desktop horizontal while letting the source's mobile nav / our
   injected #wpconvert-mobile-nav drawer own small screens.
   EC-NAV-483: and the width where small screens end is the source's to choose — see
   source-nav-breakpoint.js. 768px is the default, raised when the source's own CSS hides
   the primary list above it. */
@media (min-width: 768px) {
  /* CRITICAL: Top-level menu MUST be horizontal - Maximum specificity */
  /* NOTE: nav ul#wpconvert-primary-ul is NOT included here to avoid conflicting with .main-nav styling */
  /* EC-NAV-095: Do NOT set gap here. A fixed gap with !important (previously 0.25rem, briefly 2rem) overrides
   menus.json ulClasses / Tailwind (e.g. gap-8) and breaks diverse nav densities. Spacing comes from ulClasses.
   EC-NAV-502: a panel carried from the source keeps its own list classes and layout. */
  header ul#wpconvert-primary-ul,
  #wpconvert-primary-ul,
  #wpconvert-primary-ul.menu,
  ul#wpconvert-primary-ul.menu,
  ul.menu:not(.submenu):not(.sub-menu):not([data-wpc-external-nav-panel] ul) {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
  }

  /* CRITICAL: Preserve original .main-nav styling for static sites - MUST come AFTER generic rules */
  /* MAXIMUM specificity with header prefix ensures this overrides ALL other rules */
  header nav.main-nav ul#wpconvert-primary-ul,
  header .main-nav ul#wpconvert-primary-ul,
  nav.main-nav ul#wpconvert-primary-ul,
  .main-nav #wpconvert-primary-ul,
  .main-nav ul#wpconvert-primary-ul {
    /* Inherit the original .main-nav ul styles */
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
  }

  /* EC-NAV-364: …but an auto margin on the menu <ul> IS the navbar's horizontal
   layout, not a stray UA default. Bootstrap's .navbar-nav.ml-auto (and the
   Tailwind / BS5 spellings) is what pushes the menu away from the brand over to
   the right edge; the ID-scoped "margin: 0 !important" resets above outrank the
   utility's own !important and collapse the whole bar to the left (Butterfly
   Cancer Care Foundation). Re-asserted here — last, and with a 3-element variant
   that ties the highest-specificity reset ("header nav.main-nav ul#…") so it wins
   on both counts. Additive: these selectors match ONLY a <ul> that literally
   carries the utility, so every other menu keeps today's layout byte-for-byte. */
  header nav ul#wpconvert-primary-ul.ml-auto,
  header ul#wpconvert-primary-ul.ml-auto,
  ul#wpconvert-primary-ul.ml-auto,
  #wpconvert-primary-ul.ml-auto,
  header nav ul#wpconvert-primary-ul.ms-auto,
  header ul#wpconvert-primary-ul.ms-auto,
  ul#wpconvert-primary-ul.ms-auto,
  #wpconvert-primary-ul.ms-auto {
    margin-left: auto !important;
  }
  header nav ul#wpconvert-primary-ul.mr-auto,
  header ul#wpconvert-primary-ul.mr-auto,
  ul#wpconvert-primary-ul.mr-auto,
  #wpconvert-primary-ul.mr-auto,
  header nav ul#wpconvert-primary-ul.me-auto,
  header ul#wpconvert-primary-ul.me-auto,
  ul#wpconvert-primary-ul.me-auto,
  #wpconvert-primary-ul.me-auto {
    margin-right: auto !important;
  }
  header nav ul#wpconvert-primary-ul.mx-auto,
  header ul#wpconvert-primary-ul.mx-auto,
  ul#wpconvert-primary-ul.mx-auto,
  #wpconvert-primary-ul.mx-auto,
  header nav ul#wpconvert-primary-ul.m-auto,
  header ul#wpconvert-primary-ul.m-auto,
  ul#wpconvert-primary-ul.m-auto,
  #wpconvert-primary-ul.m-auto {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* CRITICAL: Top-level items MUST be inline - Maximum specificity for ALL WordPress classes */
  /* NOTE: nav ul#wpconvert-primary-ul > li is NOT included to avoid conflicting with .main-nav */
  header ul#wpconvert-primary-ul > li,
  #wpconvert-primary-ul > li,
  #wpconvert-primary-ul > li.menu-item,
  #wpconvert-primary-ul > li.menu-item-type-post_type,
  #wpconvert-primary-ul > li.menu-item-type-custom,
  #wpconvert-primary-ul > li.menu-item-object-page,
  #wpconvert-primary-ul > li.menu-item-object-custom,
  #wpconvert-primary-ul > li.menu-item-has-children,
  #wpconvert-primary-ul > li.current-menu-item,
  #wpconvert-primary-ul > li.current_page_item,
  #wpconvert-primary-ul > li.current-menu-ancestor,
  #wpconvert-primary-ul.menu > li,
  ul.menu:not(.submenu):not(.sub-menu):not([data-wpc-external-nav-panel] ul)
    > li,
  body #wpconvert-primary-ul > li {
    display: inline-block !important;
    position: relative !important;
    flex-shrink: 0 !important;
    list-style: none !important;
    /* EC-NAV-295: Do NOT force the top-level item margin to zero here. This rule is
     ID-scoped (+ !important) and previously clobbered a source theme's inter-item spacing
     (e.g. .main-menu__list > li + li margin-left:37px), collapsing classic HTML
     navbars into a jammed-together row. Item spacing must come from the source theme
     (li margins) or from ulClasses on the ul (Tailwind gap-*). The gentle
     low-specificity .menu-item margin:0 default above still neutralises stray
     browser/WP margins for sites that ship none, and any source li spacing wins. */
    vertical-align: middle !important;
    float: none !important;
    width: auto !important;
    clear: none !important;
  }
}
/* End EC-NAV-MOBILE-010 desktop-only nav layout */

/* Preserve original .main-nav link styling (color/weight is width-independent) */
header nav.main-nav ul#wpconvert-primary-ul a,
header .main-nav ul#wpconvert-primary-ul a,
nav.main-nav ul#wpconvert-primary-ul a,
.main-nav #wpconvert-primary-ul a,
.main-nav ul#wpconvert-primary-ul a {
  text-decoration: none;
  font-weight: 500;
}

/* Top-level links maintain their button appearance */
#wpconvert-primary-ul > .menu-item > a {
  /* Keep original classes for styling */
}

/* Hide submenus by default with high z-index - CRITICAL for all sites */
/* EC-NAV-220: Layout & visibility properties stay !important so the
   hover-to-show behaviour overrides Tailwind's display:none / opacity:0
   defaults on sites without their own dropdown CSS. */
.menu-item.menu-item-has-children > .submenu,
.menu-item.menu-item-has-children > .sub-menu,
.menu-item-has-children > ul,
li.menu-item-has-children > ul {
  display: none !important; /* Important to override inline-flex and other display classes */
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  z-index: 9999 !important; /* Higher than content */
  list-style: none !important;
  margin: 0 !important;
}
/* EC-NAV-220: Visual surface properties (background / border / shadow /
   padding / sizing) are emitted via :where(...) so the selector collapses
   to specificity (0,0,0). Any captured custom-submenu CSS rule with
   non-zero specificity (e.g. aura-lace .dropdown-menu with background
   var(--emerald)) automatically wins via the cascade so the author's
   luxury / dark-themed dropdown panel renders correctly.
   For sites WITHOUT captured dropdown CSS, these white-card defaults
   still apply because nothing else competes. */
:where(.menu-item.menu-item-has-children) > :where(.submenu),
:where(.menu-item.menu-item-has-children) > :where(.sub-menu),
:where(.menu-item-has-children) > :where(ul),
:where(li.menu-item-has-children) > :where(ul) {
  background: white;
  min-width: 200px;
  max-width: 500px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
}

/* Show on hover/focus - Maximum specificity to override everything */
.menu-item.menu-item-has-children:hover > .submenu,
.menu-item.menu-item-has-children:hover > .sub-menu,
.menu-item.menu-item-has-children:hover > ul,
.menu-item.menu-item-has-children:focus-within > .submenu,
.menu-item.menu-item-has-children:focus-within > .sub-menu,
.menu-item.menu-item-has-children:focus-within > ul,
li.menu-item-has-children:hover > ul,
li.menu-item-has-children:focus-within > ul {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Force submenu items to display as block - Override ALL WordPress and utility classes */
.submenu li,
.submenu .menu-item,
.submenu .menu-item-type-post_type,
.submenu .menu-item-type-custom,
.submenu .menu-item-object-page,
.submenu .menu-item-object-custom,
.submenu .current-menu-item,
.submenu .current_page_item,
ul.sub-menu li,
ul.sub-menu .menu-item,
body .submenu li {
  display: block !important;
  width: 100% !important;
  position: relative !important;
  flex-direction: column !important;
  list-style: none !important;
  float: none !important;
  clear: both !important;
}

.submenu .menu-item a,
.submenu a,
ul.sub-menu a {
  display: block !important;
  width: 100% !important;
  padding: 0.5rem 1rem !important;
  white-space: nowrap !important;
  text-align: left !important;
}

/* Override ANY utility classes that could break submenu layout */
.submenu .menu-item.inline-flex,
.submenu .menu-item.flex,
.submenu .menu-item.grid,
.submenu li.inline-flex,
.submenu li.flex,
.submenu li.grid,
.submenu .inline-flex,
.submenu .flex,
.submenu .grid {
  display: block !important;
  flex-direction: column !important;
}

.submenu .menu-item a.inline-flex,
.submenu .menu-item a.flex,
.submenu .menu-item a.grid,
.submenu a.inline-flex,
.submenu a.flex,
.submenu a.grid {
  display: block !important;
}

/* Ensure submenu container is vertical */
.submenu,
ul.sub-menu {
  flex-direction: column !important;
}

/* EC-NAV-493: display:block !important used to ride along on the rule above, to
   beat an inline-flex utility class on the panel. On a wp_nav_menu() menu it
   decided nothing - the hide/show pair on .menu-item-has-children outranks it
   either way. On a captured hand-authored nav there is no .menu-item-has-children
   for those rules to match, so the blanket declaration was the only one left
   standing, and it beat the site's own unprefixed .submenu { display: none }:
   every CSS-hover dropdown shipped permanently open (Unitive Mind). The display
   is therefore scoped to the shapes WordPress itself generates, where visibility
   is already governed and nothing moves.

   The scope is .menu-item rather than the panel's own class because the class
   name says nothing about who wrote it - a hand-authored nav is free to call
   its panel sub-menu too, and scoping only .submenu would leave that site with
   the same permanently-open dropdown. Both walkers stamp .menu-item on every
   item they emit, and a captured nav carries it nowhere.

   Descendant, not child: EC-NAV-428 wraps the panel in a positioning div when
   the source revealed it through one, which puts a generation between the item
   and the panel. A child combinator reads as correctly scoped and would
   silently stop reaching that shape.
   NOTE: no backticks in this comment - it lives inside a JS template literal. */
.menu-item .submenu,
.menu-item .sub-menu {
  display: block !important;
}

/* FLAT NAV ACTIVE STATE - For React/Vite sites converted to wp_nav_menu() */
/* EC-NAV-010: Dynamic current page highlighting */
/* The .wpconvert-active-link class is added by WPConvert_Flat_Menu_Walker to current page links */
.wpconvert-active-link {
  /* Default active styling - will be enhanced by extracted classes if available */
  font-weight: 600;
}

/* EC-NAV-010: When active link has text-primary class, override any text-foreground from base */
/* This ensures the active item shows the highlighted color (text-primary = green/brand color) */
a.wpconvert-active-link.text-primary,
.current-menu-item > a.text-primary,
.current_page_item > a.text-primary {
  color: hsl(var(--primary)) !important;
}

/* EC-NAV-010: Ensure inactive items don't get active color */
/* Links WITHOUT wpconvert-active-link should use text-foreground */
nav a.text-foreground:not(.wpconvert-active-link):not(.text-primary) {
  color: hsl(var(--foreground)) !important;
}

/* Also style current-menu-item for flat navs */
.current-menu-item > a,
.current_page_item > a,
a.current-menu-item,
a.wpconvert-active-link {
  /* The actual active styling comes from extracted activeLinkClasses */
  /* These are fallback styles if extraction doesn't provide specific classes */
}

/* Flat nav submenu styling */
.wpconvert-flat-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 0.375rem;
  padding: 0.5rem 0;
  display: none;
  z-index: 9999;
}

.wpconvert-flat-submenu a {
  display: block;
  padding: 0.5rem 1rem;
  white-space: nowrap;
}

/* EC-NAV-140: Large flat dropdowns flow into two columns (mega-style) without extra walker markup */
.wpconvert-flat-submenu--mega-cols-2 {
  min-width: min(640px, 92vw);
  column-count: 2;
  column-gap: 2.5rem;
  padding: 0.75rem 1.25rem !important;
}
.wpconvert-flat-submenu--mega-cols-2 > a {
  white-space: normal !important;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}
/* Show flat submenu when parent <li> hovers (wp_nav_menu wraps items in li.menu-item-has-children) */
li.menu-item-has-children:hover > .wpconvert-flat-submenu,
li.menu-item-has-children:focus-within > .wpconvert-flat-submenu {
  display: block !important;
}

/* Hide Radix UI viewport containers and similar dropdown containers - Universal */
[data-radix-navigation-menu-viewport],
[class*='viewport'][data-state='open'],
[class*='popover'][data-state='open'],
.radix-navigation-menu-viewport,
nav > div[class*='absolute'][class*='top-full'] {
  display: none !important;
  visibility: hidden !important;
}

/* EC-DIALOG-001: Hide Radix Sheet/Dialog overlays and panels that survive into converted themes */
/* These are interactive React components captured in open state during snapshot */
/* EC-GALLERY-002d: [data-wpc-live-dialog] opts out — a dialog WPConvert injects on purpose
   (e.g. the gallery lightbox) is not snapshot debris, and these !important rules would
   otherwise beat even its inline styles and leave it permanently invisible. */
[role='dialog'][class*='fixed']:not([data-wpc-live-dialog]),
[data-radix-dialog-content][class*='fixed']:not([data-wpc-live-dialog]),
div[data-state='open'][class*='fixed'][class*='inset-0'][class*='bg-black']:not(
    [data-wpc-live-dialog]
  ),
div[data-state='open'][class*='fixed'][class*='inset-0'][class*='backdrop']:not(
    [data-wpc-live-dialog]
  ) {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .menu-item.menu-item-has-children > .submenu {
    position: static;
    box-shadow: none;
  }
}

/* CRITICAL: Ensure header and navigation are above hero/content sections */
/* Only apply relative positioning if nav is NOT sticky/fixed/absolute */
/* Exclude #wpconvert-mobile-nav — it must stay position:fixed as an overlay */
/* EC-NAV-190: Also exclude position:absolute overlay headers (Tailwind
   "absolute" utility class) — common in hero-overlay navbars (e.g.
   svg-to-site-magic-main: <header class="absolute inset-x-0 top-6 z-30 ...">).
   Without this exclusion, the !important rule below forces the absolute
   overlay header into normal flow, taking up its full height and pushing
   the hero section down by ~80px (visible as a white band above the navbar). */
/* EC-NAV-429: the class guards above only see a utility class ON the element.
   A header the source lifts out of flow from an ancestor rule — Scorpion uses
   ".overlap #HeaderZone { position: absolute }" with no class on the header at
   all — passed every guard and was forced back into flow, dropping a
   deliberately transparent header onto the page background where its light link
   text became invisible. Such ids are detected from the source CSS. */
/* EC-NAV-526: a header toggle's restored panel ([data-wpc-toggle-panel]) is a
   dropdown the source positions itself (Sandton: .site .site-nav{position:absolute});
   forced into flow, the open panel pushed the whole page down. */
header:not([class*='sticky']):not([class*='fixed']):not([class*='absolute']),
.site-header:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ),
nav:not([class*='sticky']):not([class*='fixed']):not([class*='absolute']):not(
    #wpconvert-mobile-nav
  ):not([data-wpc-toggle-panel]),
[role='banner']:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ),
[role='navigation']:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ):not(#wpconvert-mobile-nav):not([data-wpc-toggle-panel]) {
  position: relative !important;
  z-index: 1000 !important;
}

/* EC-NAV-361: the rule above uses BARE TAG selectors, but <header> and <nav> are
   also valid SECTIONING content — a hero banner, an article header, a breadcrumb
   trail. Those live inside <main class="site-main">, and inflating them to
   z-index:1000 puts PAGE CONTENT on a layer above almost everything, where it
   beats any overlay the source site authored (Jegson Publicity: the enquiry modal
   is z-index:100, so the 78vh hero <header> painted straight over the open popup).
   Site chrome is always emitted OUTSIDE <main>, so scoping the repair to
   descendants of the content wrapper can never reach the real navbar.
   Only z-index is reset — position is left alone so the EC-NAV-190 absolute-overlay
   and EC-NAV-352 CSS-authored-fixed-nav behaviours are untouched. "auto" is what an
   un-styled hero has, and it is the value that restores the source ordering: the
   base rule already beats a Tailwind z-* utility (it is !important), so exempting
   those would merely leave them inflated to 1000 — the very bug being fixed. */
main.site-main
  header:not([class*='sticky']):not([class*='fixed']):not([class*='absolute']),
main.site-main
  nav:not([class*='sticky']):not([class*='fixed']):not([class*='absolute']):not(
    #wpconvert-mobile-nav
  ),
main.site-main
  [role='banner']:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ) {
  z-index: auto !important;
}

/* Preserve sticky/fixed positioning for navs that have it */
/* CRITICAL: Ensure sticky/fixed actually works - add explicit CSS for common patterns */
nav[class*='sticky'],
nav[class*='fixed'],
header nav[class*='sticky'],
header nav[class*='fixed'],
header[class*='sticky'],
header[class*='fixed'],
.site-header[class*='sticky'],
.site-header[class*='fixed'] {
  z-index: 1000 !important; /* Keep z-index for visibility */
}

/* Explicit sticky positioning support - ensures it works even without Tailwind CSS loaded */
/* Only apply if sticky class is present and no explicit position override */
/* EC-NAV-296: Exclude the classic-theme sticky-header class family
   (.sticky-header / .sticky-header--normal / .sticky-header--cloned). Those are SEMANTIC
   class names from HTML themes (e.g. Visanet / Smart Travel International) that ship their
   OWN sticky-on-scroll mechanism: JS clones .main-header into a .sticky-header--cloned
   element whose source CSS keeps it position:fixed + visibility:hidden + translateY(-100%)
   (out of flow, hidden) until .active is added on scroll. The broad [class*=sticky]
   substring match also caught that clone and forced position:sticky !important, which —
   because sticky stays IN FLOW — made the invisible clone occupy ~114px of vertical space
   (white gap between navbar and hero, issue #1) and surface as a duplicate header band
   (issue #2). The exclusion is substring-scoped to sticky-header, so Tailwind's sticky
   utility (nav.sticky / header.sticky) and responsive variants like lg:sticky are
   UNAFFECTED — they never contain the sticky-header token. */
/* EC-NAV-363: same source-neutralisation exemption as the fixed block below. */
nav.sticky,
nav[class*='sticky']:not([style*='position']):not([class*='sticky-header']),
header nav.sticky,
header
  nav[class*='sticky']:not([style*='position']):not([class*='sticky-header']),
header.sticky,
header[class*='sticky']:not([style*='position']):not([class*='sticky-header']) {
  position: sticky !important;
}

/* EC-NAV-322: Inner <nav> must not be sticky when the header wrapper is already
   fixed/sticky — double-positioning clips menu text in pre-scroll (Kai.dev:
   fixed header + converter-injected nav.sticky.top-0). */
header.fixed nav.sticky,
header.fixed nav[class*='sticky']:not([class*='sticky-header']),
header[class*='fixed'] nav.sticky,
header[class*='fixed']
  nav[class*='sticky']:not([style*='position']):not([class*='sticky-header']),
header.sticky nav.sticky,
header[class*='sticky']
  nav[class*='sticky']:not([style*='position']):not([class*='sticky-header']) {
  position: static !important;
  top: auto !important;
}

/* Explicit fixed positioning support - ensures it works even without Tailwind CSS loaded */
/* EC-NAV-296: same sticky-header clone exclusion (a .sticky-header--cloned does not carry
   a fixed token, but keep the guard symmetric in case a theme names a clone with both). */
/* EC-NAV-363: the substring selectors additionally exempt any framework position
   class the SOURCE cascade already neutralises (Bootstrap .fixed-top redeclared
   in-flow by a later .navbar{position:relative}). The exact-token `nav.fixed`
   (Tailwind) selectors are never guarded — they have no such override. */
nav.fixed,
nav[class*='fixed']:not([style*='position']):not([class*='sticky-header']),
header nav.fixed,
header
  nav[class*='fixed']:not([style*='position']):not([class*='sticky-header']),
header.fixed,
header[class*='fixed']:not([style*='position']):not([class*='sticky-header']) {
  position: fixed !important;
}

/* Common Tailwind patterns: sticky top-0, fixed top-0 */
nav[class*='sticky'][class*='top-0'],
nav[class*='fixed'][class*='top-0'],
header nav[class*='sticky'][class*='top-0'],
header nav[class*='fixed'][class*='top-0'],
header[class*='sticky'][class*='top-0'],
header[class*='fixed'][class*='top-0'] {
  top: 0 !important;
}

/* Fixed navs typically need full width */
nav[class*='fixed'][class*='w-full'],
nav[class*='fixed'][class*='top-0'],
header nav[class*='fixed'][class*='w-full'],
header nav[class*='fixed'][class*='top-0'],
header[class*='fixed'][class*='w-full'],
header[class*='fixed'][class*='top-0'] {
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
}

/* Ensure hero and main content respect header z-index */
section[class*='hero'],
.hero,
main,
.site-main {
  position: relative;
  z-index: 1;
}

/* Theme-specific overrides */
/* Only apply relative if not sticky/fixed */
.site-header:not([class*='sticky']):not([class*='fixed']) {
  position: relative;
}

.site-main {
  margin-top: 0;
  padding-top: 0;
}

/* Remove gap between fixed navbar and first content (white band under header).
 * Use :first-of-type (not :first-child): WP templates often have a whitespace text node
 * between <div id="primary"> and <section>, so section is never :first-child and rules
 * would silently fail (EC-NAV-086 follow-up).
 *
 * EC-NAV-276: INNER-page templates wrap content one level deeper —
 *   .site-main > div.page-SLUG > div.page-content > HERO
 * and the hero is frequently authored as a div (e.g. div.hero), not a section.
 * Static sites (e.g. WECConnect) set the original nav position:fixed and give
 * each subpage hero margin-top:NAVHEIGHT to clear it; once the universal reset
 * forces the class-only nav in-flow (sticky/relative), that top margin becomes a
 * visible white band under the bar. Zero the first child inside .page-content
 * (section OR div) so inner pages match the front page (whose hero is already
 * covered by the rules above). Scoped to .page-content, which only WPConvert
 * page templates emit — SPA inner pages never carry it.
 *
 * EC-NAV-442: suppressed when the site's own stylesheet holds the bar OUT of
 * flow — the margin is then the author's clearance, not a redundant gap. */

.site-main > section:first-of-type,
.site-main > div:first-of-type > section:first-of-type,
.site-main .page-content > section:first-of-type,
.site-main .page-content > div:first-of-type,
.site-main .page-content > :first-child > :first-child {
  margin-top: 0;
}

/* EC-NAV-086: Fixed nav + full-viewport hero (Tailwind min-h-screen) — React/Vite SPAs
 * stack the hero at document top with fixed nav overlaid; body/main background shows through
 * any empty band under the bar. Pull the first min-h-screen hero up by the header bar height
 * (--wpconvert-header-bar-height from header.php EC-NAV-100; fallback 4rem) so background layers
 * align with the original SPA.
 * Only on front-page template (body.front-page); skip sections with explicit pt-* / mt-* utilities.
 * :first-of-type required: newline/whitespace between #primary and hero <section> breaks :first-child. */
body.front-page
  .site-main
  #primary
  > section.min-h-screen:first-of-type:not([class*='pt-']):not([class*='mt-']),
body.front-page
  .site-main
  #primary
  > div:first-of-type
  > section.min-h-screen:first-of-type:not([class*='pt-']):not([class*='mt-']),
body.front-page
  .site-main
  > div:first-of-type
  > section.min-h-screen:first-of-type:not([class*='pt-']):not([class*='mt-']) {
  /* Logged out: --wp-admin--admin-bar--height is unset → 0px. Logged in: WP sets 32px / 46px (782px). */
  margin-top: calc(
    -1 * var(--wpconvert-header-bar-height, 4rem) -
      var(--wp-admin--admin-bar--height, 0px)
  );
}

/* EC-NAV-089: Admin bar is fixed at top:0; in-flow content gets html { margin-top } but fixed nav does not,
 * so the site navbar sits under #wpadminbar. Offset primary fixed nav; exclude full-screen mobile drawer.
 * EC-NAV-323: Also offset header.fixed — React/Vite SPAs (Kai.dev) use <header class="fixed top-0">,
 * not bare nav.fixed, so the round-1 EC-NAV-089 selectors never matched. */
body.admin-bar nav.fixed.top-0:not(#wpconvert-mobile-nav),
body.admin-bar nav.fixed[class*='top-0']:not(#wpconvert-mobile-nav),
body.admin-bar header.fixed.top-0,
body.admin-bar header.fixed[class*='top-0'] {
  top: var(--wp-admin--admin-bar--height, 32px) !important;
}

/* EC-NAV-087: Merged / blog / legacy CSS often sets body { padding-top: 5rem+ } as “clearance”
 * for fixed headers. With a fixed overlay nav, that padding does NOT move the bar — it only
 * pushes <main> down while body background shows through → white/cream band (~nav height) under
 * the bar. Stay Boost ships this in bundled style.css; EC-NAV-086 margin alone cannot cancel it. */
body.front-page {
  padding-top: 0 !important;
}

/* EC-HERO-014: Full-viewport hero fidelity — SPA wrapper path + min-height guard */
body.front-page #primary section#top.min-h-screen,
body.front-page
  #primary
  > div:first-of-type
  > section.min-h-screen:first-of-type {
  min-height: 100vh !important;
  min-height: 100dvh !important;
}
body.front-page #primary section#top.min-h-screen > .absolute.bottom-10 {
  z-index: 10;
}

.site-footer {
  margin-top: auto;
}

/* EC-TW4-001: WordPress default style overrides */

body.wp-admin {
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
}
/* EC-CSS-001: Long-hand padding-left/right (NOT shorthand 'padding: 0 20px') so
 * compound selectors like .container.hero-grid (which sets padding-top: 74px)
 * keep their vertical padding. The shorthand resets ALL four sides at the same
 * specificity, which on Dabster Labs caused the hero badge to slide under the
 * fixed 74px nav. Horizontal gutter (20px each side) unchanged; vertical
 * defaults to the browser's 0 — same effective behavior for sites that do not
 * set padding-top via another selector. */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
/* EC-CSS-009: :where() = 0 specificity, same reasoning as EC-BTN-104 above. A
   bare "h1, h2, h3, h4, h5, h6" list ties a site's own "h1, h2, h3 { font-weight:
   400 }" on specificity (0,0,1) and, being emitted after the merged site CSS,
   wins — so a display face meant to render at 400 shipped bold everywhere. These
   declarations still beat the UA stylesheet, because author origin outranks
   user-agent origin regardless of specificity. */
:where(h1, h2, h3, h4, h5, h6) {
  font-weight: 700;
  margin: 0;
}
:where(button, .btn) {
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}
/* EC-BTN-107: Disclosure/accordion toggle buttons (aria-expanded) must not be
   text-selectable. Otherwise a double-click or click-drag on a FAQ question
   label paints the browser's default blue text-selection highlight, which the
   user sees as a stray "bluish background" that appears on one click and clears
   on the next. Native <button>s are non-selectable and the source React FAQ is
   too. Scoped to button[aria-expanded] so ordinary buttons and selectable
   content elsewhere are untouched. */
button[aria-expanded] {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
input,
textarea,
select {
  font-family: inherit;
}
/* EC-CSS-LIST-RESET-001: no list reset — the site's CSS owns its lists (a framework
   preflight already resets them; a hand-written site relies on the browser's
   bullets and indent, which any author rule here would strip). */

/* Grid Layout & Sidebar Preservation - Ensures Bootstrap and other grid systems work properly */
.grid-layout-container {
  width: 100%;
  max-width: 100%;
}

/* Preserve Bootstrap row structure */
.grid-layout-container .row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

/* Ensure Bootstrap columns work */
.grid-layout-container [class*='col-'] {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

/* Bootstrap column widths - responsive */
@media (min-width: 768px) {
  .grid-layout-container .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .grid-layout-container .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .grid-layout-container .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .grid-layout-container .col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .grid-layout-container .col-md-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .grid-layout-container .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Mobile stacking for sidebars */
@media (max-width: 767px) {
  .grid-layout-container [class*='col-'] {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Sidebar styling */
.grid-layout-container aside,
.grid-layout-container [class*='sidebar'] {
  padding: 20px;
}

/* CRITICAL: Disable popups marked by WPConvert - Universal for ALL popup libraries */
/* This targets ONLY popups we've marked, regardless of the library used */
/* Users can re-enable by overriding this CSS in Customizer → Additional CSS */
[data-wpconvert-popup-disabled='true'] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -9999 !important;
  position: absolute !important;
  left: -99999px !important;
  transform: scale(0) !important;
}

/* Also hide child elements of disabled popups (for nested structures) */
[data-wpconvert-popup-disabled='true'] * {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Disable popup overlay backgrounds (universal) */
[data-wpconvert-popup-disabled='true'].overlay,
[data-wpconvert-popup-disabled='true'][class*='overlay'],
[data-wpconvert-popup-disabled='true'][class*='backdrop'],
[data-wpconvert-popup-disabled='true'][class*='bg'] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* EC-FORM-004: Native <select> option list styling.
 *
 * Why: EC-FORMS-004 / EC-MSTEP-001C converts Radix shadcn comboboxes to
 * native <select> elements so the form submits as a real HTML form. Native
 * select-popups inherit the trigger element background, so on shadcn forms
 * with translucent inputs (e.g. bg-white slash 10), the option list paints
 * as a translucent panel that bleeds the parent form background and makes
 * options nearly unreadable.
 *
 * The rule below paints each option on a solid surface using the same
 * shadcn --card design tokens the rest of the theme already uses, so
 * dropdowns visually match the original SelectContent / bg-popover render.
 *
 * Safety:
 *   - Scoped strictly to select option / select optgroup — never leaks
 *     to custom popover divs.
 *   - hsl(var(--card, ...)) with fallbacks degrades cleanly on themes
 *     that do not define the variable.
 *   - Safari ignores option styling entirely (no DOM hook into the native
 *     popup) so this is a no-op there. Chrome/Edge/Firefox/Brave honour it.
 */
/* EC-FORM-004 / EC-FORM-004b: solid option surfaces — card tokens by default,
   popover tokens on dark booking sections (bg-secondary / needs-wiring forms). */
select option,
select optgroup,
.bg-secondary select option,
.bg-secondary select optgroup,
form[data-wpconvert-form] select option,
form[data-wpconvert-form] select optgroup {
  background-color: hsl(var(--popover, var(--card, 0 0% 100%)));
  color: hsl(var(--popover-foreground, var(--card-foreground, 222.2 84% 4.9%)));
}

/* CRITICAL: Tailwind Font Override - ensure custom fonts take precedence over Tailwind CDN */
/* Tailwind CDN generates CSS dynamically that can override static CSS, so we use !important */
/* No custom font classes detected */

/* EC-NAV-478: the source positions this header with `.site-header { position: sticky }`.
   The base reset only skips headers that advertise positioning as a class token, and the
   EC-NAV-352 / EC-NAV-162b overrides cover <nav> and header/.site-header by name — not this
   element. Without this rule the bar drops into flow, the hero is pushed below it, and a
   transparent bar's light ink lands on the page background. */
header.site-header:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ) {
  position: sticky !important;
}

/* EC-NAV-162b: Site CSS sets position:sticky on header — override WPConvert base relative reset.
   Non-Tailwind sites define fixed positioning in their stylesheet, not as a utility class.
   EC-NAV-197: selector includes :not([class*='absolute']) so specificity (0,4,0) ties the
   EC-NAV-190 safety-net; source-order then makes this override win the !important cascade.
   EC-NAV-433: the selector mirrors the source rule's own qualification — <header> is also
   sectioning content, and a bare tag here force-fixes every content header on the page.
   EC-NAV-457: grouped by the position each source rule authored. */
.site-header:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ) {
  position: sticky !important;
  z-index: 1000 !important;
}

/* EC-NAV-433b: the EC-NAV-190 in-flow repair uses BARE tag selectors, and its
   :not([class*='…']) guards only see a utility class ON the element. A content
   header the SOURCE lifts out of flow from a stylesheet rule — Sabrina's
   ".set-product-head { position: absolute; top: 50% }" caption inside an
   overflow:hidden product frame — slipped past all three guards, was forced
   back into flow and clipped out of its frame. Restore the authored value for
   sectioning headers inside <main>, where the site header never lives. */
main.site-main
  header.site-header:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ),
main.site-main
  nav.site-header:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ),
main.site-main
  [role='banner'].site-header:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ),
main.site-main
  [role='navigation'].site-header:not([class*='sticky']):not(
    [class*='fixed']
  ):not([class*='absolute']) {
  position: sticky !important;
}

main.site-main
  header.primary-nav:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ),
main.site-main
  nav.primary-nav:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ),
main.site-main
  [role='banner'].primary-nav:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ),
main.site-main
  [role='navigation'].primary-nav:not([class*='sticky']):not(
    [class*='fixed']
  ):not([class*='absolute']) {
  position: fixed !important;
}

/* EC-PAGE-WIDTH-001: vertical rhythm for the fallback page template. Width,
   horizontal padding and breakpoints come from the source container .wrap
   (max-width: var(--wrap)), which this page shares with every route template. */
.wpconvert-page-body {
  padding-top: clamp(2rem, 6vw, 4.5rem);
  padding-bottom: clamp(2rem, 6vw, 4.5rem);
}
