/* HEAEL LLC — Non-Emergency Medical Transportation
   Shared stylesheet. Colors from the logo: navy #022e62 + green #1f7a1f, bright amber buttons. */
:root {
  --navy: #022e62;
  --navy-2: #0a4388;
  --green: #1f7a1f;
  --green-d: #17621a;
  --green-l: #7fd17f;
  --green-soft: #eaf5ea;
  --accent: #ffb41f;
  --accent-d: #f59e0b;
  --orange: var(--green);
  --orange-d: var(--green-d);
  --orange-soft: var(--green-soft);
  --bg: #f4f8f6;
  --white: #fff;
  --text: #1b2c40;
  --muted: #5f7085;
  --line: #e2e9ee;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(2, 46, 98, 0.08);
  --shadow-lg: 0 18px 50px rgba(2, 46, 98, 0.16);
  --max: 1200px;
  --header-h: 80px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open {
  overflow: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.2;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.01em;
}
p {
  margin: 0 0 1em;
}
button {
  font: inherit;
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}
.container {
  width: min(var(--max), 100% - 40px);
  margin-inline: auto;
}
.ico {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.ico.fill {
  fill: currentColor;
  stroke: none;
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: #fff;
  padding: 10px 16px;
  z-index: 2000;
}
.skip:focus {
  left: 10px;
  top: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: 0.2s;
  line-height: 1.2;
  text-align: center;
}
.btn-primary {
  background: var(--accent);
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(255, 180, 31, 0.35);
}
.btn-primary:hover {
  background: var(--accent-d);
  transform: translateY(-1px);
}
.btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
.btn-outline:hover {
  background: #fff;
  color: var(--navy);
}
.btn-dark {
  background: var(--navy);
  color: #fff;
}
.btn-dark:hover {
  background: var(--green);
}
.btn-light {
  background: #fff;
  color: var(--navy);
}
.btn-light:hover {
  background: var(--orange-soft);
}
.btn-sm {
  padding: 10px 18px;
  font-size: 0.88rem;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-weight: 600;
  font-size: 0.88rem;
}
.link-arrow .ico {
  transition: transform 0.2s;
}
.link-arrow:hover .ico {
  transform: translateX(4px);
}

/* Top bar */
.topbar {
  background: var(--navy);
  color: #dbe6f3;
  font-size: 0.8rem;
}
.topbar-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 9px 0;
}
.tb-left {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.tb-left span,
.tb-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tb-left .ico,
.tb-phone .ico {
  color: var(--orange);
}
.tb-phone {
  color: #fff;
  font-weight: 500;
}
.tb-phone:hover {
  color: var(--orange);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s;
}
.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(2, 46, 98, 0.1);
}
.nav-in {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand svg {
  width: 44px;
  height: 44px;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.brand-name b {
  color: var(--orange);
  font-weight: 800;
}
.brand-tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-top: 4px;
  text-transform: uppercase;
}
.main-nav,
.main-nav > ul,
.main-nav > ul > li {
  height: 100%;
}
.main-nav > ul {
  display: flex;
  align-items: stretch;
  gap: 4px;
}
.main-nav > ul > li {
  display: flex;
  align-items: center;
  position: relative;
}
.main-nav > ul > li > a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  transition: color 0.2s;
}
.main-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 20px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.is-active > a {
  color: var(--orange);
}
.main-nav > ul > li.is-active > a::after,
.main-nav > ul > li > a:hover::after {
  transform: scaleX(1);
}
.sub-toggle {
  background: none;
  border: 0;
  padding: 6px 8px 6px 0;
  margin-left: -10px;
  color: var(--navy);
  display: flex;
  align-items: center;
}
.sub-toggle .ico {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}
.has-sub:hover > .sub-toggle .ico,
.has-sub.open > .sub-toggle .ico {
  transform: rotate(180deg);
}
.has-mega {
  position: static !important;
}
.mega,
.dropdown {
  position: absolute;
  top: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 0;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.22s;
  z-index: 50;
}
.mega {
  left: 0;
  right: 0;
  border-radius: 0 0 16px 16px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr 300px;
  gap: 10px 28px;
}
.has-sub:hover > .mega,
.has-sub:hover > .dropdown,
.has-sub:focus-within > .mega,
.has-sub:focus-within > .dropdown,
.has-sub.open > .mega,
.has-sub.open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.mega-link {
  display: flex;
  gap: 14px;
  padding: 12px;
  border-radius: 12px;
  transition: background 0.2s;
}
.mega-link:hover {
  background: var(--orange-soft);
}
.mega-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange);
  display: grid;
  place-items: center;
  flex: none;
  font-size: 1.3rem;
}
.mega-link strong {
  display: block;
  color: var(--navy);
  font-size: 0.92rem;
  line-height: 1.3;
}
.mega-link small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
  display: block;
  margin-top: 2px;
}
.mega-feature {
  grid-row: 1 / span 3;
  grid-column: 3;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  min-height: 230px;
  display: flex;
  align-items: flex-end;
}
.mega-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.mega-feature div {
  position: relative;
  padding: 20px;
}
.mega-feature h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.mega-feature p {
  font-size: 0.82rem;
  color: #dbe6f3;
  margin-bottom: 12px;
}
.dropdown {
  left: 0;
  min-width: 330px;
  border-radius: 0 0 14px 14px;
  padding: 10px;
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.4;
}
.dropdown a:hover {
  background: var(--orange-soft);
  color: var(--orange);
}
.dropdown a.all {
  color: var(--orange);
  font-weight: 700;
}
.nav-cta {
  flex: none;
}
.nav-toggle,
.nav-close,
.nav-overlay,
.nav-mobile-extra {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(120deg, #022e62, #0a4388);
  color: #fff;
  overflow: hidden;
  padding: 84px 0 150px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(2, 30, 66, 0.96) 0%,
    rgba(2, 30, 66, 0.8) 42%,
    rgba(2, 30, 66, 0.25) 100%
  );
  z-index: 1;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: end;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  line-height: 1.1;
  margin-bottom: 22px;
}
.hero h1 span {
  color: var(--orange);
  display: block;
}
.hero-lead {
  max-width: 520px;
  color: #d6e2f1;
  font-size: 1.02rem;
  margin-bottom: 28px;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
}
.stat {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.stat .ico {
  color: var(--orange);
  font-size: 1.4rem;
  margin-top: 3px;
}
.stat b {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}
.stat small {
  color: #bccde2;
  font-size: 0.75rem;
  line-height: 1.3;
  display: block;
}
.hero-card {
  justify-self: end;
  background: #fff;
  color: var(--text);
  border-radius: 16px;
  padding: 22px 24px;
  max-width: 290px;
  box-shadow: var(--shadow-lg);
}
.hero-card .ico-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--orange);
  color: var(--orange);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  font-size: 1.2rem;
}
.hero-card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.hero-card p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.5;
}

/* Quote widget */
.quote {
  position: relative;
  z-index: 5;
  margin-top: -74px;
}
.quote-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 28px 30px;
  border: 1px solid var(--line);
}
.quote-card h2 {
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.quote-card h2 span {
  color: var(--orange);
}
.quote-form {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.9fr auto;
  gap: 16px;
  align-items: end;
}
.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.field input,
.field select {
  width: 100%;
  height: 44px;
  border: 1px solid #d6dce6;
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
  font-size: 0.88rem;
  color: var(--text);
  background: #fff;
}
.field input:focus,
.field select:focus {
  border-color: var(--orange);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(31, 122, 31, 0.2);
}
.quote-note {
  font-size: 0.76rem;
  color: var(--muted);
  margin: 12px 0 0;
}

/* Sections */
.section {
  padding: 84px 0;
}
.section.alt {
  background: var(--bg);
}
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 46px;
}
.eyebrow {
  display: inline-block;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.section-head p {
  color: var(--muted);
}
.grid {
  display: grid;
  gap: 24px;
}
.g2 {
  grid-template-columns: repeat(2, 1fr);
}
.g3 {
  grid-template-columns: repeat(3, 1fr);
}
.g4 {
  grid-template-columns: repeat(4, 1fr);
}
.g5 {
  grid-template-columns: repeat(5, 1fr);
}

/* Image wrappers (gradient shows if an image fails) */
.imgbox {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-2), var(--navy));
}
.imgbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-failed {
  visibility: hidden;
}

/* Service cards */
.svc-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.svc-card .imgbox {
  height: 150px;
}
.svc-badge {
  position: relative;
  z-index: 2;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 18px;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  box-shadow: 0 6px 14px rgba(31, 122, 31, 0.35);
}
.svc-body {
  padding: 14px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.svc-body h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.svc-body p {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.55;
  flex: 1;
}

/* Why choose */
.why {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
  border: 1px solid var(--line);
}
.why-left {
  position: relative;
  color: #fff;
  padding: 48px 44px;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 380px;
}
.why-left > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.why-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(2, 30, 66, 0.95),
    rgba(2, 30, 66, 0.55)
  );
  z-index: 1;
}
.why-left > *:not(img) {
  position: relative;
  z-index: 2;
}
.why-left .eyebrow {
  font-size: 0.68rem;
}
.why-left h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.why-left h2 span {
  color: var(--orange);
}
.why-left p {
  color: #d6e2f1;
  font-size: 0.92rem;
  max-width: 380px;
  margin-bottom: 22px;
}
.why-left .btn {
  align-self: flex-start;
}
.why-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 30px;
  padding: 46px 44px;
  background: var(--bg);
}
.feat .ico-sq {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--orange);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.feat h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.feat p {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0;
}

/* Steps */
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  position: relative;
}
.step-num {
  position: absolute;
  top: -18px;
  left: 24px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(31, 122, 31, 0.35);
}
.step .ico-sq {
  font-size: 1.6rem;
  color: var(--orange);
  margin: 8px 0 10px;
  display: block;
}
.step h3 {
  font-size: 1.05rem;
}
.step p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Blog cards */
.post-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.post-card .imgbox {
  height: 200px;
}
.post-card .imgbox img {
  transition: transform 0.5s;
}
.post-card:hover .imgbox img {
  transform: scale(1.05);
}
.post-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tag {
  display: inline-block;
  background: var(--orange-soft);
  color: var(--orange-d);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  align-self: flex-start;
  margin-bottom: 12px;
}
.post-body h3 {
  font-size: 1.08rem;
  line-height: 1.35;
  margin-bottom: 8px;
}
.post-body h3 a:hover {
  color: var(--orange);
}
.post-body p {
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 12px;
}
.meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}
.chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  padding: 9px 18px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: 0.2s;
}
.chip:hover,
.chip.on {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.post-card[hidden] {
  display: none;
}

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--navy);
  color: #fff;
  padding: 46px 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
}
.cta-band > img {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 52%;
  object-fit: cover;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.cta-band > div {
  position: relative;
  z-index: 2;
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin-bottom: 8px;
}
.cta-band p {
  color: #cbdaec;
  margin: 0;
  font-size: 0.95rem;
}
.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cta-wrap {
  padding: 0 0 84px;
}

/* Page banner (inner pages) */
.page-banner {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 84px 0 74px;
  overflow: hidden;
}
.page-banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(2, 30, 66, 0.95),
    rgba(2, 30, 66, 0.55)
  );
  z-index: 1;
}
.page-banner .container {
  position: relative;
  z-index: 2;
}
.page-banner h1 {
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  margin-bottom: 14px;
}
.page-banner h1 span {
  color: var(--orange);
}
.page-banner p {
  max-width: 600px;
  color: #d6e2f1;
  font-size: 1.02rem;
  margin-bottom: 22px;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.82rem;
  color: #bccde2;
  margin-bottom: 18px;
}
.crumbs a:hover {
  color: var(--orange);
}
.crumbs .sep {
  opacity: 0.5;
}

/* Split sections */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}
.split.rev .split-img {
  order: 2;
}
.split-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  position: relative;
}
.split-img .badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 3;
  background: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 12px;
  align-items: center;
}
.split-img .badge .ico {
  font-size: 1.6rem;
  color: var(--orange);
}
.split-img .badge b {
  display: block;
  color: var(--navy);
  line-height: 1.2;
}
.split-img .badge small {
  color: var(--muted);
  font-size: 0.78rem;
}
.split h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.split p {
  color: var(--muted);
}
.checks {
  margin: 18px 0 26px;
  display: grid;
  gap: 10px;
}
.checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
}
.checks .ico {
  color: var(--orange);
  margin-top: 5px;
  font-size: 1.05rem;
  stroke-width: 2.4;
}

/* Value / who cards */
.val-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}
.val-card:hover {
  transform: translateY(-4px);
}
.val-card .ico-sq {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--orange-soft);
  color: var(--orange);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.val-card h3 {
  font-size: 1.05rem;
}
.val-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Detailed service blocks */
.svc-detail {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  scroll-margin-top: 110px;
}
.svc-detail .imgbox {
  height: 210px;
}
.svc-detail .body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.svc-detail h3 {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.svc-detail h3 .ico {
  color: var(--orange);
  font-size: 1.3rem;
}
.svc-detail p {
  color: var(--muted);
  font-size: 0.92rem;
}
.svc-detail ul {
  margin: 0 0 18px;
  display: grid;
  gap: 7px;
}
.svc-detail li {
  font-size: 0.88rem;
  display: flex;
  gap: 8px;
}
.svc-detail li .ico {
  color: var(--orange);
  margin-top: 4px;
  font-size: 0.95rem;
  stroke-width: 2.4;
}
.svc-detail .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* FAQ */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq-q .ico {
  transition: transform 0.25s;
  color: var(--orange);
}
.faq-item.open .faq-q .ico {
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a p {
  padding: 0 22px 20px;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}
.no-js .faq-a {
  max-height: none;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: -56px;
  position: relative;
  z-index: 5;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 26px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s;
}
.contact-card:hover {
  transform: translateY(-5px);
}
.contact-card .ico-sq {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange);
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  margin-bottom: 16px;
}
.contact-card h2 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.contact-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
  word-break: break-word;
}
.contact-card .btn {
  margin-top: auto;
}
.map-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: var(--bg);
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
}

/* Article */
.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
}
.article-hero {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16/8;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
}
.prose {
  font-size: 1.04rem;
  color: #2a3850;
}
.prose h2 {
  font-size: 1.6rem;
  margin: 2em 0 0.6em;
  scroll-margin-top: 100px;
}
.prose h3 {
  font-size: 1.2rem;
  margin: 1.6em 0 0.5em;
}
.prose p {
  margin-bottom: 1.15em;
}
.prose ul,
.prose ol {
  margin: 0 0 1.3em 1.2em;
  padding: 0;
}
.prose ul {
  list-style: disc;
}
.prose ol {
  list-style: decimal;
}
.prose li {
  margin-bottom: 0.5em;
  padding-left: 4px;
}
.prose li::marker {
  color: var(--orange);
}
.prose a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a:hover {
  color: var(--orange);
}
.prose strong {
  color: var(--navy);
}
.takeaways {
  background: var(--orange-soft);
  border-left: 4px solid var(--orange);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 0 0 2em;
}
.takeaways h2 {
  font-size: 1.05rem !important;
  margin: 0 0 8px !important;
}
.takeaways ul {
  margin-bottom: 0;
}
.callout {
  background: var(--navy);
  color: #e6eff8;
  border-radius: 14px;
  padding: 24px 26px;
  margin: 2em 0;
}
.callout h3 {
  color: #fff;
  margin-top: 0;
}
.callout p {
  margin-bottom: 14px;
}
.sidebar {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 22px;
}
.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.side-card.dark {
  background: var(--navy);
  color: #dbe6f3;
  border: 0;
}
.side-card.dark h3 {
  color: #fff;
}
.side-card h3 {
  font-size: 1.05rem;
}
.side-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.side-list li:last-child {
  border: 0;
  padding-bottom: 0;
}
.side-list a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  display: block;
}
.side-list a:hover {
  color: var(--orange);
}
.share {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.share a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg);
  display: grid;
  place-items: center;
  color: var(--navy);
  transition: 0.2s;
}
.share a:hover {
  background: var(--orange);
  color: #fff;
}
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 40px;
}
.post-nav a {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  display: block;
  transition: 0.2s;
}
.post-nav a:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow);
}
.post-nav small {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.post-nav span {
  display: block;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.92rem;
  line-height: 1.4;
  margin-top: 4px;
}
.post-nav .next {
  text-align: right;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #bccde2;
  padding: 64px 0 34px;
  font-size: 0.9rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer .brand-name {
  color: #fff;
}
.site-footer .brand-tag {
  color: #93a9c4;
}
.foot-about {
  margin: 16px 0 20px;
  max-width: 280px;
  line-height: 1.6;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.site-footer li {
  margin-bottom: 10px;
}
.site-footer a:hover {
  color: var(--orange);
}
.foot-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.foot-contact .ico {
  color: var(--orange);
  margin-top: 4px;
}
.social {
  display: flex;
  gap: 10px;
}
.social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: #fff;
  transition: 0.2s;
  font-size: 1.1rem;
}
.social a:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}
.foot-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.foot-bar {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.82rem;
}
.copyright {
  background: #011c3e;
  color: #93a9c4;
  text-align: center;
  padding: 16px 20px;
  font-size: 0.85rem;
}
.copyright a {
  color: var(--orange);
  font-weight: 600;
}
.copyright a:hover {
  text-decoration: underline;
}
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s;
  z-index: 900;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* Reveal on scroll */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .g5 {
    grid-template-columns: repeat(3, 1fr);
  }
  .foot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .foot-grid > div:first-child {
    grid-column: 1/-1;
  }
  .quote-form {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .quote-form .btn {
    grid-column: span 1;
  }
}
@media (max-width: 1100px) {
  :root {
    --header-h: 70px;
  }
  .tb-left span:nth-child(n + 2) {
    display: none;
  }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    align-items: center;
    padding: 0;
  }
  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: 0.25s;
    position: relative;
    content: "";
  }
  .nav-toggle span::before {
    position: absolute;
    top: -6px;
  }
  .nav-toggle span::after {
    position: absolute;
    top: 6px;
  }
  .nav-in {
    justify-content: space-between;
  }
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(380px, 90vw);
    background: #fff;
    z-index: 1200;
    transform: translateX(105%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 76px 18px 28px;
    box-shadow: -20px 0 50px rgba(2, 46, 98, 0.25);
    visibility: hidden;
  }
  
  .main-nav.open {
    transform: none;
    visibility: visible;
  }
  .main-nav > ul,
  .main-nav > ul > li {
    height: auto;
  }
  .main-nav {
    top: 0;
    bottom: 0;
    height: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior: contain;
  }
  .main-nav > ul { flex: none; }
  .nav-mobile-extra { flex: none; padding-bottom: 24px; }
  .main-nav > ul {
    flex-direction: column;
    gap: 0;
  }
  .main-nav > ul > li {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    border-bottom: 1px solid var(--line);
  }
  .main-nav > ul > li > a {
    flex: 1;
    height: auto;
    padding: 16px 6px;
    font-size: 1rem;
    white-space: normal;
  }
  .main-nav > ul > li.nav-quote { border-bottom: 0; padding: 14px 0 6px; }
  .main-nav > ul > li.nav-quote > a { flex: 1; justify-content: center; margin: 0; padding: 14px 18px; }
  .main-nav > ul > li > a::after {
    display: none;
  }
  .sub-toggle {
    margin: 0;
    padding: 0 14px;
    border-left: 1px solid var(--line);
    color: var(--navy);
  }
  .sub-toggle .ico {
    width: 18px;
    height: 18px;
  }
  .mega,
  .dropdown {
    position: static;
    width: 100%;
    flex: 0 0 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    display: block;
    min-width: 0;
    background: var(--bg);
    border-radius: 10px;
  }
  .has-sub:hover > .mega,
  .has-sub:hover > .dropdown,
  .has-sub:focus-within > .mega,
  .has-sub:focus-within > .dropdown {
    max-height: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .has-sub.open > .mega,
  .has-sub.open > .dropdown {
    max-height: 1400px;
    padding: 8px;
    margin-bottom: 12px;
  }
  .has-sub:hover > .sub-toggle .ico {
    transform: none;
  }
  .has-sub.open > .sub-toggle .ico {
    transform: rotate(180deg);
  }
  .mega { grid-template-columns: 1fr; }
  .has-sub.open > .mega { display: grid; gap: 2px; }
  .mega-feature {
    display: none;
  }
  .mega-link {
    padding: 10px;
  }
  .mega-ico {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
  .nav-close {
    display: grid;
    place-items: center;
    position: absolute;
    top: 14px;
    right: 16px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--navy);
    font-size: 1.2rem;
  }
  .nav-mobile-extra {
    display: grid;
    gap: 10px;
    margin-top: 24px;
  }
  .nav-mobile-extra .btn {
    width: 100%;
  }
  .nav-mobile-extra .btn-outline {
    border-color: var(--navy);
    color: var(--navy);
    background: #fff;
  }
  .nav-mobile-extra .btn-outline:hover {
    background: var(--navy);
    color: #fff;
  }
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(2, 22, 52, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 1100;
  }
  .nav-overlay.show {
    opacity: 1;
    visibility: visible;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-card {
    justify-self: start;
  }
  .g4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .why {
    grid-template-columns: 1fr;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .split.rev .split-img {
    order: 0;
  }
  .article-wrap {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
  .cta-band {
    grid-template-columns: 1fr;
  }
  .cta-actions {
    justify-content: flex-start;
  }
  .cta-band > img {
    width: 100%;
    opacity: 0.25;
    -webkit-mask-image: none;
    mask-image: none;
  }
}
@media (max-width: 820px) {
  .g3,
  .g5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .quote-form {
    grid-template-columns: 1fr 1fr;
  }
  .quote-form .btn {
    grid-column: 1/-1;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 60px 0 130px;
  }
  .why-right {
    grid-template-columns: 1fr 1fr;
    padding: 34px 28px;
  }
  .why-left {
    padding: 38px 28px;
  }
}
@media (max-width: 600px) {
  .container {
    width: min(var(--max), 100% - 32px);
  }
  .topbar-in {
    justify-content: center;
  }
  .tb-left {
    display: none;
  }
  .section {
    padding: 60px 0;
  }
  .g2,
  .g3,
  .g4,
  .g5 {
    grid-template-columns: 1fr;
  }
  .quote-form {
    grid-template-columns: 1fr;
  }
  .quote-card {
    padding: 22px 18px;
  }
  .hero-btns .btn {
    flex: 1 1 100%;
  }
  .hero-card {
    max-width: none;
    width: 100%;
  }
  .hero-stats {
    gap: 16px 24px;
  }
  .why-right {
    grid-template-columns: 1fr;
  }
  .cta-band {
    padding: 32px 22px;
  }
  .cta-actions .btn {
    flex: 1 1 100%;
  }
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .foot-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .post-nav {
    grid-template-columns: 1fr;
  }
  .post-nav .next {
    text-align: left;
  }
  .prose {
    font-size: 1rem;
  }
  .prose h2 {
    font-size: 1.35rem;
  }
  .map-wrap iframe {
    height: 360px;
  }
  .page-banner {
    padding: 60px 0 54px;
  }
  .contact-grid {
    margin-top: -36px;
  }
  .brand-name {
    font-size: 1.3rem;
  }
  .brand svg {
    width: 40px;
    height: 40px;
  }
}


/* ============ Brand updates (logo palette) ============ */
.skip { background: var(--accent); color: var(--navy); }
.tb-left .ico, .tb-phone .ico, .stat .ico, .site-footer .foot-contact .ico { color: var(--accent); }
.tb-left a:hover, .tb-phone:hover, .crumbs a:hover, .site-footer a:hover, .copyright a { color: var(--accent); }
.hero h1 span, .page-banner h1 span, .why-left h2 span { color: var(--accent); }
.why-left .eyebrow { color: var(--green-l); }
.hero-card .link-arrow { color: var(--green); }
.to-top { background: var(--accent); color: var(--navy); }
.social a:hover { background: var(--accent); color: var(--navy); }
.share a:hover, .chip:hover, .chip.on { background: var(--green); border-color: var(--green); color: #fff; }
.mega-feature .btn, .side-card.dark .btn-primary, .cta-band .btn-primary { color: var(--navy); }
.tag { background: var(--green-soft); color: var(--green-d); }
.post-nav small, .link-arrow { color: var(--green); }
:focus-visible { outline-color: var(--accent); }
.prose a { color: var(--green-d); }
.prose a:hover { color: var(--navy); }
.callout .btn, .side-card.dark .btn { margin-top: 2px; }

/* Logo keeps the desktop proportions on tablet and phone */
@media (max-width: 1100px) {
  .brand { gap: 12px; }
  .brand-mark { height: 50px; width: auto; max-width: none; }
  .brand-name { font-size: 1.5rem; }
  .brand-tag { font-size: 0.6rem; letter-spacing: 0.16em; }
  .nav-in { gap: 12px; }
}
@media (max-width: 360px) {
  .brand { gap: 9px; }
  .brand-mark { height: 42px; }
  .brand-name { font-size: 1.28rem; }
  .brand-tag { font-size: 0.5rem; letter-spacing: 0.12em; }
}
.brand, .brand-text { min-width: 0; }
.brand-mark, .brand-text { flex: none; }
.brand-name, .brand-tag { white-space: nowrap; }

/* Hero spacing (no overlapping widget any more) */
.hero { padding: 84px 0 96px; }
@media (max-width: 820px) { .hero { padding: 56px 0 64px; } }

a.stat { color: #fff; transition: transform .2s; }
a.stat:hover { transform: translateY(-2px); }
a.stat:hover b { color: var(--accent); }

/* Brand logo */
.brand { gap: 12px; }
.brand-mark { height: 50px; width: auto; display: block; flex: none; }
.brand-name { font-size: 1.5rem; letter-spacing: 0.01em; line-height: 1; }
.brand-name b { color: var(--green); }
.brand-tag { color: var(--green); font-size: 0.6rem; letter-spacing: 0.16em; margin-top: 5px; }
.site-footer .brand { background: #fff; padding: 10px 16px 10px 12px; border-radius: 14px; display: inline-flex; }
.site-footer .brand-name { color: var(--navy); }
.site-footer .brand-name b, .site-footer .brand-tag { color: var(--green); }
.site-footer .brand-mark { height: 50px; }

/* Nav: Request a Quote as a bright button */
.main-nav > ul > li > a { padding: 0 11px; font-size: 0.9rem; white-space: nowrap; }
.main-nav > ul > li > a::after { left: 11px; right: 11px; }
.main-nav > ul { gap: 2px; }
.main-nav > ul > li.nav-quote > a {
  background: var(--accent); color: var(--navy); font-weight: 700; height: auto;
  padding: 11px 18px; border-radius: 8px; margin: 0 6px; box-shadow: 0 6px 16px rgba(255, 180, 31, 0.35);
}
.main-nav > ul > li.nav-quote > a::after { display: none; }
.main-nav > ul > li.nav-quote > a:hover, .main-nav > ul > li.nav-quote.is-active > a { background: var(--accent-d); color: var(--navy); }
.sub-toggle { margin-left: -8px; }
.mega { grid-template-columns: 1fr 1fr 300px; }
.mega-feature { grid-row: 1 / span 4; }
.mega-link strong { font-size: 0.9rem; }
.dropdown { left: auto; right: 0; }

/* Mission / vision cards */
.mv-grid { max-width: var(--max); margin: 0 auto; }
.mv-values { display: grid; gap: 9px; margin: 0; }
.mv-values li { display: flex; gap: 10px; align-items: center; font-size: .95rem; color: var(--navy); font-weight: 600; }
.mv-values .ico { color: var(--green); stroke-width: 2.4; }
.mv-card > p { margin-bottom: 14px; }
.mv-card { padding: 36px 32px; border-top: 4px solid var(--accent); }
.mv-card h3 { font-size: 1.3rem; }
.mv-card p { font-size: 1rem; }
.val-card .ico-sq { background: var(--green-soft); color: var(--green); }

/* Tabs + forms */
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 980px; margin: 0 auto 26px; }
.tab { display: flex; gap: 14px; align-items: flex-start; text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 18px 20px; color: var(--navy); transition: .2s; }
.tab > span { width: 46px; height: 46px; border-radius: 12px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: 1.35rem; flex: none; }
.tab b { display: block; font-size: 1rem; line-height: 1.3; }
.tab small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.45; margin-top: 3px; font-weight: 400; }
.tab:hover { border-color: var(--green); }
.tab.on { border-color: var(--navy); background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); }
.tab.on small { color: #cbdaec; }
.tab.on > span { background: var(--accent); color: var(--navy); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 34px 36px; max-width: 980px; margin: 0 auto; }
.contact-split .form-card { max-width: none; margin: 0; padding: 30px; }
.form-card h2 { font-size: 1.4rem; margin-bottom: 18px; }
.js .tabpanel[hidden] { display: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .wide { grid-column: 1 / -1; }
.field .req { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid #cfd9e3; border-radius: 8px; padding: 0 12px; font: inherit; font-size: .92rem;
  color: var(--text); background: #fff; height: 46px;
}
.field textarea { height: auto; padding: 12px; resize: vertical; min-height: 110px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); outline: 0; box-shadow: 0 0 0 3px rgba(31, 122, 31, .2); }
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192, 57, 43, .12); }
.field label { font-size: .8rem; }
.checkset { border: 0; padding: 0; margin: 0; min-width: 0; }
.checkset legend { font-size: .8rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; padding: 0; letter-spacing: .02em; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-size: .9rem !important; font-weight: 500 !important; color: var(--text) !important; margin: 0 !important; cursor: pointer; line-height: 1.45; letter-spacing: 0 !important; }
.check input { width: 18px !important; height: 18px !important; flex: none; margin: 2px 0 0 !important; padding: 0; accent-color: var(--green); }
.check.consent { font-size: .84rem !important; color: var(--muted) !important; font-weight: 400 !important; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-submit { margin-top: 22px; width: 100%; padding: 15px 24px; font-size: 1rem; }
.form-submit[disabled] { opacity: .65; cursor: wait; }
.form-note { font-size: .78rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 10px; font-size: .92rem; font-weight: 500; }
.form-status.ok { background: #e7f6e9; color: #14591a; border: 1px solid #b6e0bb; }
.form-status.err { background: #fdecea; color: #8e2a1f; border: 1px solid #f3c1bb; }
.form-status a { text-decoration: underline; font-weight: 700; }
.quote-help { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.quote-help h2 { font-size: 1.5rem; margin-bottom: 4px; }
.quote-help p { margin: 0; color: var(--muted); }
.quote-help .btn-dark { background: var(--navy); }

/* Contact */
.touch-grid .contact-card { box-shadow: var(--shadow); }
.contact-card p a { color: var(--navy); font-weight: 600; }
.contact-card p a:hover { color: var(--green); }
.contact-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.contact-split { align-items: start; }
.inq-list { display: grid; gap: 16px; margin-top: 22px; }
.inq-list li { display: flex; gap: 14px; align-items: flex-start; }
.inq-ico { width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--green); display: grid; place-items: center; flex: none; font-size: 1.25rem; box-shadow: var(--shadow); }
.inq-list b { display: block; color: var(--navy); font-size: .98rem; line-height: 1.35; }
.inq-list small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.5; margin-top: 2px; }
.contact-split .social a { background: var(--navy); }
.contact-split .social a:hover { background: var(--accent); color: var(--navy); }

@media (max-width: 820px) {
  .tabs, .form-grid, .check-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
}
@media (max-width: 600px) {
  .form-card { padding: 22px 16px; border-radius: 16px; }
  .contact-split .form-card { padding: 22px 16px; }
}

/* Mobile drawer overrides (must come after the desktop brand rules above) */
@media (max-width: 1100px) {
  .main-nav > ul { gap: 0; }
  .main-nav > ul > li > a { padding: 16px 6px; font-size: 1rem; white-space: normal; }
  .main-nav > ul > li > a::after { display: none; }
  .main-nav > ul > li.nav-quote > a { padding: 14px 18px; margin: 0; }
  .sub-toggle { margin: 0; }
  .mega { grid-template-columns: 1fr; }
  .mega-feature { display: none; }
  .dropdown { left: 0; right: auto; }
}
