:root {
  --navy: #122C4C;
  --navy-deep: #0C2038;
  --navy-light: #274870;
  --ink: #1B2027;
  --muted: #5B6472;
  --bg: #F4F5F7;
  --white: #FFFFFF;
  --border: #E3E5E9;
  --accent: #D9731C;
  --accent-deep: #B85E12;
  --accent-tint: #FBEBDA;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy-deep);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  background: var(--navy-deep);
  color: #CBD8E8;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 6px;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  gap: 6px;
}

.topbar strong {
  color: var(--white);
  font-weight: 600;
}

.brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 21px;
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand .mark {
  width: 34px;
  height: 34px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.brand .mark svg {
  width: 19px;
  height: 19px;
  stroke: var(--white);
}

.brand span {
  color: var(--accent);
}

header > .wrap {
  position: relative;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  gap: 16px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  flex-shrink: 0;
}

.nav-toggle:hover {
  background: var(--bg);
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-deep);
  border-radius: 1px;
  transition: transform .2s ease, opacity .2s ease;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

nav ul a {
  opacity: 0.75;
  transition: opacity .15s;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

nav ul a:hover,
nav ul a.active {
  opacity: 1;
  color: var(--navy);
  border-bottom-color: var(--accent);
}

.call-btn {
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 6px;
  font-size: 14px;
}

.call-btn:hover {
  background: var(--accent-deep);
}

.eyebrow {
  font-family: 'Inter';
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 10px;
}

.page-hero {
  background: var(--navy-deep);
  color: var(--white);
  padding: clamp(40px, 8vw, 64px) 0;
  min-height: clamp(260px, 38vh, 400px);
  display: flex;
  align-items: center;
}

.page-hero .eyebrow {
  color: #F3B27B;
}

.page-hero h1 {
  font-size: clamp(32px, 4.6vw, 48px);
  color: var(--white);
  max-width: 760px;
}

.page-hero p.lead {
  color: #C7D3E2;
  font-size: 16.5px;
  max-width: 560px;
  margin-top: 14px;
}

.hero {
  background: var(--navy-deep);
  color: var(--white);
  padding: 60px 0 0;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.hero-text {
  padding-bottom: 64px;
}

.trust-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(217, 115, 28, 0.16);
  border: 1px solid rgba(217, 115, 28, 0.4);
  color: #F3B27B;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 20px;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 54px);
  margin-bottom: 18px;
  color: var(--white);
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero p.lead {
  font-size: 17px;
  color: #C7D3E2;
  max-width: 470px;
  margin-bottom: 30px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 26px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--accent-deep);
}

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 26px;
  border-radius: 6px;
}

.quote-stats {
  display: flex;
  gap: 30px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  flex-wrap: wrap;
}

.quote-stats div .num {
  font-family: 'Poppins';
  font-weight: 800;
  font-size: 26px;
  color: var(--accent);
  line-height: 1;
}

.quote-stats div .cap {
  font-size: 12px;
  color: #A9B9CD;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.hero-photo {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.hero-photo .frame {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(160deg, var(--navy-light), var(--navy-deep));
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.hero-photo .frame svg {
  width: 62%;
  opacity: 0.92;
}

.hero-photo .caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(12, 32, 56, 0.72);
  backdrop-filter: blur(2px);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12.5px;
  color: #D7E1EE;
}

.photo-block {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 8px 28px rgba(18, 44, 76, 0.06);
}

.photo-block--featured {
  max-width: 880px;
  margin: 0 auto;
}

.split .photo-block {
  max-width: none;
  margin: 0;
}

.photo-block .ph {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #E7EBF0, #D8DEE6);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.photo-block .ph img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.photo-block .ph svg {
  width: 38%;
  stroke: var(--navy-light);
}

.photo-block figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

section {
  padding: 70px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 42px;
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 38px);
}

.section-head p {
  color: var(--muted);
  font-size: 16px;
  margin-top: 12px;
}

.fleet-band {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.fleet-band .wrap {
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.fleet-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fleet-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.fleet-tags span {
  background: var(--accent-tint);
  color: var(--accent-deep);
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.services-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  transition: box-shadow .15s, transform .15s;
}

.service-card:hover {
  box-shadow: 0 12px 30px rgba(18, 44, 76, 0.08);
  transform: translateY(-2px);
}

.service-card .icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  border-radius: 9px;
  margin-bottom: 18px;
}

.service-card .icon svg {
  width: 22px;
  height: 22px;
}

.service-card h3 {
  font-size: 16.5px;
  margin-bottom: 9px;
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
}

.process {
  background: var(--navy-deep);
  color: var(--white);
}

.process .section-head p {
  color: #B9C7D9;
}

.process .eyebrow {
  color: #F3B27B;
}

.process .section-head h2 {
  color: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.process-step {
  position: relative;
  padding-left: 2px;
}

.process-step .idx {
  font-family: 'Poppins';
  font-weight: 800;
  font-size: 15px;
  color: var(--navy-deep);
  background: var(--accent);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 15.5px;
  color: var(--white);
  margin-bottom: 7px;
}

.process-step p {
  font-size: 13.5px;
  color: #AFC0D5;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.badge-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 6px;
}

.badge-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.badge-item .dot {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 8px;
  background: var(--accent-tint);
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
}

.badge-item h4 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--ink);
}

.badge-item p {
  font-size: 14px;
  color: var(--muted);
}

.checklist-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 30px;
}

.checklist-card h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
  color: var(--navy);
  font-family: 'Inter';
  font-weight: 800;
}

.check-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 13px 0;
  border-top: 1px solid var(--border);
  font-size: 14.5px;
}

.check-item:first-of-type {
  border-top: none;
}

.check-item .mark {
  width: 19px;
  height: 19px;
  flex: none;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.check-item .mark svg {
  width: 10px;
  height: 10px;
  stroke: var(--white);
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 26px;
}

.info-card h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-deep);
  margin-bottom: 12px;
  font-weight: 800;
}

.info-card .big {
  font-family: 'Poppins';
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--navy-deep);
}

.info-card p {
  font-size: 14px;
  color: var(--muted);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.quote-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 16px 40px rgba(18, 44, 76, 0.06);
}

.quote-form .head {
  color: var(--navy-deep);
  font-family: 'Poppins';
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 6px;
}

.quote-form .subhead {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 22px;
}

.quote-form label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.form-row {
  margin-bottom: 16px;
}

.form-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--ink);
  font-family: 'Inter';
  font-size: 14.5px;
  padding: 12px 14px;
  border-radius: 6px;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: #9AA3AF;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  background: var(--white);
}

.quote-form textarea {
  resize: vertical;
  min-height: 90px;
}

.quote-form button {
  width: 100%;
  background: var(--accent);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 6px;
  margin-top: 6px;
}

.quote-form button:hover {
  background: var(--accent-deep);
}

.form-note {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 12px;
}

.form-success {
  display: none;
  background: var(--white);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
}

.form-success.show {
  display: block;
}

.form-success h4 {
  font-family: 'Poppins';
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 6px;
}

.form-success p {
  font-size: 14px;
  color: var(--muted);
}

.cta-band {
  background: var(--accent);
  padding: 50px 0;
}

.cta-band .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.cta-band h2 {
  font-size: clamp(26px, 3.6vw, 34px);
  color: var(--white);
}

.cta-band p {
  font-size: 14px;
  color: #FBE3C8;
  margin-top: 6px;
}

.cta-band .btn-primary {
  background: var(--navy-deep);
  color: var(--white);
}

.cta-band .btn-primary:hover {
  background: var(--navy);
}

footer {
  background: var(--navy-deep);
  color: #AFC0D5;
  padding: 52px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
}

footer h4 {
  font-family: 'Poppins';
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

footer p {
  font-size: 14px;
  line-height: 1.7;
}

footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14px;
}

footer ul a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: #7B8CA3;
}

@media(max-width:980px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split .photo-block {
    max-width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  nav {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .brand {
    font-size: 18px;
  }

  .brand .mark {
    width: 30px;
    height: 30px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: calc(100% + 48px);
    margin: 0 -24px;
    padding: 8px 24px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(18, 44, 76, 0.08);
  }

  nav.is-open .nav-menu {
    display: flex;
  }

  nav.is-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  nav.is-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  nav.is-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav-menu ul li {
    border-bottom: 1px solid var(--border);
  }

  .nav-menu ul a {
    display: block;
    padding: 14px 0;
    border-bottom: none;
    opacity: 1;
  }

  .nav-menu ul a.active {
    color: var(--navy);
    border-left: 3px solid var(--accent);
    padding-left: 10px;
  }

  .nav-menu .call-btn {
    width: 100%;
    text-align: center;
    margin-top: 16px;
  }
}

body.nav-open {
  overflow: hidden;
}

@media(max-width:560px) {
  .topbar {
    font-size: 12px;
    padding: 8px 0;
  }

  .topbar .wrap {
    justify-content: center;
    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .fleet-band .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .quote-stats {
    gap: 20px;
    flex-wrap: wrap;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-row.two {
    grid-template-columns: 1fr;
  }
}

/* ===== Animations ===== */
header {
  transition: box-shadow .25s ease;
}

header.scrolled {
  box-shadow: 0 4px 24px rgba(18, 44, 76, 0.10);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s cubic-bezier(.16, .84, .44, 1), transform .65s cubic-bezier(.16, .84, .44, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-fade {
  opacity: 0;
  transition: opacity .6s ease;
}

.reveal-fade.visible {
  opacity: 1;
}

.btn-primary,
.btn-ghost,
.call-btn {
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(217, 115, 28, 0.28);
}

.call-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(217, 115, 28, 0.28);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}

.service-card {
  transition: box-shadow .25s ease, transform .25s ease;
}

.service-card .icon {
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.service-card:hover .icon {
  transform: rotate(-6deg) scale(1.08);
}

.checklist-card,
.info-card,
.photo-block,
.quote-form {
  transition: box-shadow .25s ease, transform .25s ease;
}

.checklist-card:hover,
.info-card:hover {
  box-shadow: 0 14px 30px rgba(18, 44, 76, 0.07);
  transform: translateY(-2px);
}

nav ul a {
  transition: opacity .2s ease, border-color .2s ease, color .2s ease;
}

@keyframes floaty {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.hero-photo .frame svg {
  animation: floaty 4.5s ease-in-out infinite;
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(.92);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.form-success.show {
  animation: popIn .4s ease;
}

.trust-tag {
  transition: transform .2s ease;
}

.trust-tag:hover {
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {

  .reveal,
  .reveal-fade,
  .hero-photo .frame svg,
  .form-success.show {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Anchor offset for sticky header */
[id] {
  scroll-margin-top: 96px;
}

a.service-card {
  display: block;
}

/* ===== Header / brand link, phone link ===== */
.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar a {
  color: inherit;
}

.topbar a:hover {
  color: var(--accent);
}

/* ===== Full-slide hero slider (home page) ===== */
.hero-slider {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  color: var(--white);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(12, 32, 56, 0.92) 20%, rgba(12, 32, 56, 0.62) 75%);
}

.hero-slide .fallback-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--navy-light), var(--navy-deep));
}

.hero-slider .hero-content {
  position: relative;
  z-index: 3;
  padding: 110px 0 90px;
}

.hero-dots {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 4;
}

.hero-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, transform .2s ease;
}

.hero-dots button.active {
  background: var(--accent);
  transform: scale(1.35);
}

.hero-slider .quote-stats {
  border-top-color: rgba(255, 255, 255, 0.18);
}

/* ===== Page hero with background photo (inner pages) ===== */
.page-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(12, 32, 56, 0.92) 25%, rgba(12, 32, 56, 0.7) 80%);
  z-index: 1;
}

.page-hero .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* ===== Real photo frames (background-image fallback) ===== */
.photo-block .ph[style*="background-image"] {
  background-size: cover;
  background-position: center;
}

.photo-block .ph.no-photo {
  background: linear-gradient(160deg, #E7EBF0, #D8DEE6);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Inline quote form (mini version reused across pages) ===== */
.inline-quote {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(18, 44, 76, 0.06);
}

.inline-quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.inline-quote-copy {
  background: var(--navy-deep);
  color: var(--white);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.inline-quote-copy .eyebrow {
  color: #F3B27B;
}

.inline-quote-copy h2 {
  color: var(--white);
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 12px;
}

.inline-quote-copy p {
  color: #C7D3E2;
  font-size: 15px;
  margin-bottom: 18px;
}

.inline-quote-copy ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.inline-quote-copy li {
  font-size: 14px;
  color: #DCE5F0;
  display: flex;
  gap: 9px;
  align-items: center;
}

.inline-quote-copy li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
}

.inline-quote-form {
  padding: 36px;
}

@media(max-width:900px) {
  .inline-quote-grid {
    grid-template-columns: 1fr;
  }
}


/* Hero Section Container */
.hero-slider-bg {
  position: relative;
  width: 100%;
  min-height: clamp(480px, 78vh, 720px);
  overflow: hidden;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

/* Background Container locked strictly to section height */
.hero-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

/* Overlay locked to hero background */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #0b1727 0%, rgba(11, 23, 39, 0.85) 60%, rgba(11, 23, 39, 0.5) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Content Container */
.relative-content {
  position: relative;
  z-index: 3;
  width: 100%;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 8vw, 72px) 0 clamp(56px, 10vw, 80px);
}

.hero-slider-bg .hero-text {
  padding-bottom: 0;
  max-width: 640px;
}

.slider-dots {
  display: flex;
  gap: 10px;
  margin-top: 98px;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
  flex-shrink: 0;
}

.slider-dots .dot.active {
  background: var(--accent);
  transform: scale(1.25);
}

.slider-dots .dot:hover {
  background: rgba(255, 255, 255, 0.65);
}

/* ===== Responsive image tuning ===== */
@media (max-width: 768px) {
  .page-hero {
    min-height: 240px;
    background-position: center 40%;
  }

  .page-hero::before {
    background: linear-gradient(160deg, rgba(12, 32, 56, 0.93) 20%, rgba(12, 32, 56, 0.82) 100%);
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(11, 23, 39, 0.9) 0%, rgba(11, 23, 39, 0.72) 55%, rgba(11, 23, 39, 0.55) 100%);
  }

  .slide img {
    object-position: center center;
  }

  .photo-block .ph {
    aspect-ratio: 16 / 11;
  }

  .hero-slider-bg .quote-stats {
    gap: 20px;
    margin-top: 28px;
    padding-top: 20px;
  }

  .hero-slider-bg .quote-stats div .num {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .hero-slider-bg {
    min-height: clamp(440px, 85vh, 560px);
  }

  .photo-block .ph {
    aspect-ratio: 4 / 3;
    border-radius: 0;
  }

  .photo-block {
    border-radius: 10px;
  }
}
