@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700;800&family=Manrope:wght@300;400;600;700&display=swap');

:root {
  --navy: #0c1f45;
  --navy-2: #142a5b;
  --yellow: #ffff00;
  --brand-blue: #1c3f8a;
  --brand-blue-2: #22479a;
  --cream: #f7f4ee;
  --ink: #0b1120;
  --muted: #5a6a87;
  --glass: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 60px rgba(12, 31, 69, 0.2);
}

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

img {
  max-width: 100%;
  height: auto;
}

body {
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #f0f4ff 0%, #f7f4ee 45%, #ffffff 100%);
  line-height: 1.6;
}

html,
body {
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
  touch-action: none;
}

/* Fixed header: make anchor jumps land nicely */
[id] {
  scroll-margin-top: 110px;
}

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

.container {
  width: min(1320px, 96vw);
  margin: 0 auto;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  z-index: 1;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: transparent;
  box-shadow: none;
  --solid: 0;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-2));
  opacity: var(--solid);
  transition: opacity 0.35s ease;
  z-index: -1;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(calc(var(--solid) * 10px));
  -webkit-backdrop-filter: blur(calc(var(--solid) * 10px));
  opacity: calc(var(--solid) * 0.9);
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: -1;
}

.site-header {
  box-shadow: 0 8px 30px rgba(10, 20, 40, calc(var(--solid) * 0.22));
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.logo img {
  width: 210px;
  height: auto;
}

.nav-toggle {
  display: none; /* Desktop keeps the classic header; burger is mobile-only */
  width: 54px;
  height: 54px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(12, 31, 69, 0.34);
  color: #fff;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 30;
}

.nav-toggle span {
  display: block;
  height: 3.5px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  width: 26px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-50% - 9px));
  transition: transform 0.22s ease, opacity 0.18s ease;
}

.nav-toggle span:nth-child(2) {
  transform: translate(-50%, -50%);
}
.nav-toggle span:nth-child(3) {
  transform: translate(-50%, calc(-50% + 9px));
}

/* Desktop nav (classic) */
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(255, 255, 255, 0.92);
  position: static;
  height: auto;
  width: auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  display: flex;
  z-index: 28;
}

.nav-brand {
  display: none;
}

.nav a {
  position: relative;
  padding: 10px 2px;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 0.98rem;
}

.nav a::after {
  display: none;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav .cta {
  background: var(--yellow);
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(255, 204, 0, 0.35);
  justify-content: center;
}

/* Desktop: keep CTA readable on hover */
.nav a:not(.cta):hover {
  background: rgba(255, 255, 255, 0.08);
}
.nav .cta:hover {
  background: var(--yellow);
  color: var(--navy);
}

/* Scrim behind the off-canvas menu */
.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 18, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.22s ease;
  z-index: 27;
}

.nav-scrim.is-open {
  opacity: 1;
}

.site-header.is-nav-open .nav {
  transform: translateX(0);
}

.site-header.is-nav-open .nav-toggle span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}
.site-header.is-nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.site-header.is-nav-open .nav-toggle span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Mobile: burger + off-canvas */
@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100svh;
    width: min(300px, 78vw);
    padding: 22px 18px 18px;
    background: linear-gradient(180deg, rgba(10, 26, 63, 0.98), rgba(10, 26, 63, 0.92));
    box-shadow: 30px 0 90px rgba(0, 0, 0, 0.35);
    transform: translateX(-105%);
    transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: rgba(255, 255, 255, 0.95);
    align-items: stretch;
  }

  .nav-brand {
    display: block;
    padding: 52px 8px 16px;
  }

  .nav-brand img {
    width: min(260px, 72%);
    height: auto;
    filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.35));
  }

  .nav a {
    padding: 16px 14px;
    border-radius: 16px;
    font-size: 1.5rem;
    letter-spacing: 0.01em;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    width: 100%;
    text-align: left;
  }

  .nav .cta {
    background: transparent;
    color: inherit;
    padding: 16px 14px;
    border-radius: 16px;
    box-shadow: none;
  }

  .nav a:hover {
    background: rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 480px) {
  .logo img { width: 176px; }
  .nav { width: min(340px, 86vw); }
  .nav-toggle { width: 50px; height: 50px; }
}

.hero {
  position: relative;
  padding: 140px 0 90px;
  min-height: 100vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #0c1f45;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  z-index: -2;
}

.hero-bg.is-active {
  opacity: 1;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(18, 46, 110, 0.95) 0%,
    rgba(18, 46, 110, 0.6) 55%,
    rgba(18, 46, 110, 0.1) 100%
  );
  z-index: -1;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  color: #f7f7f7;
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 220px);
}

.hero-copy {
  max-width: 680px;
  margin-left: 12px;
  margin-top: 30px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  font-size: 0.75rem;
  color: #ffffff;
  text-shadow: 0 6px 16px rgba(5, 10, 25, 0.6);
}

.eyebrow span {
  position: static;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 0, 0.9);
  background: rgba(10, 27, 63, 0.75);
  border-radius: 999px;
  backdrop-filter: none;
}

.hero h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.6rem, 5.4vw, 4.5rem);
  line-height: 1.15;
  margin: 16px 0 18px;
  color: #ffffff;
  text-shadow: none;
}

.accent {
  color: var(--yellow);
  text-shadow:
    0 2px 0 #1c4fd6,
    0 4px 0 #1c4fd6,
    0 8px 14px rgba(5, 10, 25, 0.6);
}

.hl {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.nowrap {
  white-space: nowrap;
}

.hero h1 br {
  display: inline;
}

.lead {
  font-size: 1.12rem;
  color: #ffffff;
  max-width: 520px;
  text-shadow:
    0 2px 0 #2a7bff,
    0 6px 18px rgba(5, 10, 25, 0.55);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  position: relative;
  transition: transform 0.38s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.38s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.btn.primary {
  background: var(--yellow);
  color: var(--navy);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 30px rgba(255, 224, 102, 0.45);
}

.btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(12, 31, 69, 0.25);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn::before,
.btn::after {
  content: "";
  height: 2px;
  width: 14px;
  background: currentColor;
  opacity: 0.9;
}

.btn::before {
  margin-right: 8px;
}

.btn::after {
  margin-left: 8px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  text-align: center;
  margin-top: auto;
  padding-top: 8px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-highlights .num {
  display: block;
  font-weight: 700;
  font-size: 1.6rem;
  color: #ffffff;
}

.hero-highlights .label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 860px) {
  .hero {
    padding: 128px 0 56px;
    min-height: 78svh;
  }

  .hero-inner {
    min-height: auto;
  }

  .hero-copy {
    margin-left: 0;
    margin-top: 26px;
    max-width: 44rem;
  }

  .nowrap {
    white-space: normal;
  }

  .lead {
    font-size: 1.05rem;
    max-width: 56ch;
  }

  .hero-highlights {
    margin-top: 22px;
    padding-top: 0;
  }
}

@media (max-width: 520px) {
  html { font-size: 15px; }
  .container { width: min(1320px, 92vw); }

  .eyebrow { font-size: 0.68rem; }

  .hero h1 {
    font-size: clamp(2.4rem, 10.2vw, 3.15rem);
    line-height: 1.12;
  }

  .hero-copy { margin-top: 36px; }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 18px 0 18px;
  }

  /* Buttons are already “loud”: remove the side ticks on very small screens */
  .btn::before,
  .btn::after {
    display: none;
  }

  .hero-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 100%;
  }

  .hero-highlights .num { font-size: 1.3rem; }
  .hero-highlights .label { font-size: 0.82rem; }
}

@media (max-width: 380px) {
  html { font-size: 14px; }
}

@media (max-width: 600px) {
  .site-header {
    padding-top: env(safe-area-inset-top);
  }

  .hero {
    padding: 116px 0 44px;
    min-height: 70svh;
  }

  .hero-bg {
    background-position: center 28%;
  }

  .hero-actions {
    margin: 20px 0 18px;
  }

  .hero-actions .btn {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .hero-copy .lead {
    font-size: 1.02rem;
    text-shadow: none;
    color: rgba(255, 255, 255, 0.92);
  }
}

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

@media (max-width: 600px) {
  .licenses {
    padding: 66px 0 22px;
  }

  .licenses-content h2 {
    font-size: 2.35rem;
  }

  .support {
    padding: 36px 0 70px;
  }

  .support-copy h2 {
    font-size: 2.35rem;
  }

  .steps {
    padding: 82px 0;
  }

  .steps-head h2 {
    font-size: 2.35rem;
  }

  .reviews {
    padding: 82px 0;
  }

  .reviews-copy {
    padding-left: 0;
  }

  .reviews-head h2 {
    font-size: 2.35rem;
  }

  .locations {
    padding: 82px 0;
  }

  .locations-head h2 {
    font-size: 2.35rem;
  }

  .footer {
    padding: 60px 0 34px;
  }
}

.strip {
  background: linear-gradient(90deg, #0d204d, #11285a);
  color: #fff;
  padding: 28px 0;
}

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

.strip h3 {
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.strip p {
  color: rgba(255, 255, 255, 0.7);
}

.strip-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
  font-weight: 700;
}

.section {
  padding: 70px 0;
}

.licenses {
  padding: 90px 0 60px;
  background: #ffffff;
}

.licenses-inner {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 96px;
  align-items: center;
}

.licenses-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: 38px;
  row-gap: 38px;
  align-items: stretch;
  padding: 0 18px;
  grid-auto-flow: row;
  margin-top: 12px;
}

@media (max-width: 860px) {
  .licenses {
    padding: 74px 0 46px;
  }

  .licenses-inner {
    gap: 48px;
  }

  .licenses-grid {
    column-gap: 16px;
    row-gap: 16px;
    padding: 0;
  }
}

.license-card {
  position: relative;
  border: none;
  background: transparent;
  text-align: left;
  color: #0b1120;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  min-height: 240px;
  height: 240px;
  aspect-ratio: 1 / 1;
  grid-column: span 2;
  transition:
    transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 30px rgba(12, 31, 69, 0.12);
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
}

@media (max-width: 700px) {
  .license-card {
    /* Use lighter assets on mobile to reduce iOS stutter while animating */
    background-image: var(--bg-mobile, var(--bg));
  }
  .license-card,
  .license-card * {
    -webkit-tap-highlight-color: transparent;
  }
}

.license-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 20, 52, 0.4);
  z-index: 0;
  transition: opacity 0.3s ease;
}

.license-card .license-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.license-tint.yellow {
  background: rgba(255, 255, 0, 0.65);
}

.license-tint.blue {
  background: rgba(24, 52, 122, 0.75);
}

.license-icon {
  position: relative;
  z-index: 2;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  margin: 30px 22px 14px;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1), margin 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  background: rgba(8, 22, 54, 0.35);
}

.license-icon svg {
  width: 36px;
  height: 36px;
  fill: #ffffff;
  stroke: #ffffff;
}

.license-icon img {
  width: 42px;
  height: 42px;
  filter: invert(1);
}

.license-title {
  position: relative;
  z-index: 2;
  font-size: 1.3rem;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1), margin 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  font-weight: 700;
  margin: 0 22px 10px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.license-more {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  position: absolute;
  right: 18px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.license-more::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1;
}

.license-desc {
  position: relative;
  z-index: 2;
  margin: 0 22px 50px;
  font-size: 1.02rem;
  color: #ffffff;
  opacity: 0;
  max-height: 0;
  transition: max-height 0.55s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.45s ease;
}

.license-card.is-active {
  transform: scale(1.14);
  box-shadow: 0 18px 46px rgba(12, 31, 69, 0.2);
  z-index: 3;
}

.license-card.is-active .license-desc {
  opacity: 1;
  max-height: 120px;
}

.license-card.is-dim {
  transform: scale(0.92);
  opacity: 0.95;
}

.license-card.is-active .license-tint {
  opacity: 0.95;
}

.licenses-content h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  line-height: 1;
  margin: 16px 0 12px;
  color: #0c1f45;
}

.licenses-content .lead {
  color: #394b6a;
  text-shadow: none;
}

.licenses-cta {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.license-a { grid-column: 1 / span 2; grid-row: 1; }
.license-b { grid-column: 3 / span 2; grid-row: 1; }
.license-c { grid-column: 5 / span 2; grid-row: 1; }
.license-pro { grid-column: 2 / span 2; grid-row: 2; transform: translateY(-30px); }
.license-d { grid-column: 4 / span 2; grid-row: 2; transform: translateY(-30px); }

.license-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  border: none;
  background: rgba(8, 22, 54, 0.6);
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.license-card.is-active .license-close {
  opacity: 1;
  pointer-events: auto;
}

.license-card.is-active .license-icon {
  margin: 18px 22px 10px;
  transform: translateX(-6px) scale(0.95);
}

.license-card.is-active .license-title {
  margin-top: 4px;
  transform: translateY(-6px);
}

.support {
  padding: 70px 0 95px;
  background:
    radial-gradient(900px 320px at 85% 55%, rgba(28, 79, 214, 0.12), rgba(28, 79, 214, 0) 60%),
    #ffffff;
}

.support-inner {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 44px;
  align-items: center;
}

.support-copy h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  line-height: 1.02;
  margin: 16px 0 12px;
  color: #0c1f45;
}

.support-copy .lead {
  color: #394b6a;
  text-shadow: none;
  max-width: 62ch;
}

.support-points {
  margin-top: 22px;
  display: grid;
  gap: 14px;
  max-width: 62ch;
}

.point {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  align-items: start;
}

.point .dot {
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 6px rgba(255, 255, 0, 0.18);
}

.point h4 {
  font-size: 1.05rem;
  margin-bottom: 2px;
  color: #0c1f45;
}

.point p {
  color: #5a6a87;
}

.support-actions {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.support-media .media-frame {
  position: relative;
  border-radius: 26px;
  padding: 14px;
  background: rgba(12, 31, 69, 0.06);
  box-shadow: 0 22px 60px rgba(12, 31, 69, 0.12);
  overflow: hidden;
}

.support-media .media-shape {
  position: absolute;
  inset: -60px -80px auto auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 0, 0.6), rgba(255, 255, 0, 0) 70%);
  transform: rotate(18deg);
  pointer-events: none;
}

.support-media .media-img {
  height: 460px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.02);
}

.support-media .media-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 12px 14px;
  border-radius: 16px;
  color: #fff;
  background: rgba(12, 31, 69, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.support-media .media-badge .big {
  display: block;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.support-media .media-badge .small {
  display: block;
  font-size: 0.86rem;
  opacity: 0.9;
}

.steps {
  padding: 95px 0;
  background:
    radial-gradient(900px 340px at 15% 15%, rgba(28, 79, 214, 0.10), rgba(28, 79, 214, 0) 60%),
    radial-gradient(900px 340px at 85% 15%, rgba(255, 255, 0, 0.06), rgba(255, 255, 0, 0) 60%),
    #ffffff;
}

.steps-head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 46px;
}

.steps-head h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  line-height: 1.02;
  margin: 16px 0 12px;
  color: #0c1f45;
}

.steps-sub {
  color: #4b5f83;
  max-width: 70ch;
  margin: 0 auto;
}

.steps-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 42px;
  padding: 10px 0 10px;
  --progress: 0;
  --pathlen: 1;
  align-items: center;
}

.steps-snake {
  position: absolute;
  inset: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(980px, 100%);
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}

.snake-base {
  fill: none;
  stroke: rgba(12, 31, 69, 0.12);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.snake-progress {
  fill: none;
  stroke: rgba(28, 79, 214, 0.75);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--pathlen);
  stroke-dashoffset: calc((1 - var(--progress)) * var(--pathlen));
  transition: stroke-dashoffset 0.15s linear;
  filter: drop-shadow(0 0 26px rgba(255, 255, 0, 0.22));
}

.step-item {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  justify-content: center;
  overflow: visible;
}

.step-node {
  display: none;
}

.step-mark {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(6.5rem, 9vw, 10rem);
  letter-spacing: -0.03em;
  color: rgba(28, 79, 214, 0.12);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.step-body {
  position: relative;
  background: #ffffff;
  border-radius: 22px;
  padding: 22px 22px 20px;
  box-shadow: 0 18px 46px rgba(12, 31, 69, 0.10);
  border: 1px solid rgba(12, 31, 69, 0.08);
  overflow: hidden;
  isolation: isolate;
  width: min(640px, 100%);
  z-index: 1;
}

.step-top {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
}

.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(12, 31, 69, 0.06);
  border: 2px solid rgba(255, 255, 0, 0.75);
  display: grid;
  place-items: center;
}

.step-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #0c1f45;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-item.left {
  justify-content: flex-start;
  padding-left: 10%;
  padding-right: 10%;
}

.step-item.right {
  justify-content: flex-end;
  padding-left: 10%;
  padding-right: 10%;
}

.step-item.left .step-body {
  transform: none;
}

.step-item.right .step-body {
  transform: none;
}

.step-item.left .step-mark {
  left: -34px;
}

.step-item.right .step-mark {
  right: -34px;
}

/* Make the car icon visible (filled) */
.step-item:nth-of-type(3) .step-icon svg {
  width: 26px;
  height: 26px;
  fill: #0c1f45;
  stroke: none;
}

.step-body h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #0c1f45;
}

.step-lead {
  margin-top: 4px;
  color: #4b5f83;
  font-weight: 600;
}

.step-text {
  margin-top: 12px;
  color: #5a6a87;
}

@media (max-width: 980px) {
  .steps {
    overflow-x: clip;
  }

  /* Let the steps section breathe edge-to-edge a bit more on mobile */
  .steps .container {
    width: 100%;
    max-width: none;
    padding-left: 12px;
    padding-right: 12px;
  }

  .steps-timeline {
    /* Mobile: stacked cards with a left progress line (no center snake) */
    position: relative;
    /* Keep the line, but give the cards more width */
    padding: 0 0 14px 20px;
    align-items: flex-start;
    gap: 26px;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    transform: translateX(clamp(0px, 1.8vw, 12px));
    overflow: visible;
  }

  /* Remove watermark numbers on mobile */
  .step-mark {
    display: none;
  }

  /* Hide the center snake on mobile/tablet */
  .steps-snake {
    display: none;
  }

  /* Left vertical line (base + progress) driven by --progress from JS */
  .steps-timeline::before,
  .steps-timeline::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 999px;
    pointer-events: none;
  }

  .steps-timeline::before {
    background: rgba(12, 31, 69, 0.10);
  }

  .steps-timeline::after {
    background: rgba(28, 79, 214, 0.78);
    transform-origin: top;
    transform: translate3d(0, 0, 0) scaleY(var(--progress, 0));
    will-change: transform;
  }

  .step-item {
    justify-content: flex-start;
    padding: 0;
  }

  .step-body {
    width: min(980px, 100%);
  }

  /* Remove the “node” dot on mobile (more space + cleaner look) */
  .step-item::before {
    display: none;
  }

  .steps-head h2 {
    font-size: 2.4rem;
  }
}

/* Steps: mobile keeps the left/right “zig-zag” with a centered line, but very subtle */
@media (max-width: 700px) {
  .steps {
    /* Slightly tighter on mobile: less whitespace above the timeline */
    padding: 52px 0 62px;
    overflow-x: clip;
  }

  .steps-head {
    margin-bottom: 28px;
  }

  .steps-timeline {
    padding-left: 18px;
    gap: 22px;
    align-items: flex-start;
    transform: translateX(0);
  }

  .steps-timeline::before,
  .steps-timeline::after {
    left: 7px;
  }

  .step-body {
    width: 100%;
  }
}

/* Pass Rate / Results */
.passrate {
  padding: 95px 0;
  background:
    radial-gradient(900px 340px at 18% 18%, rgba(28, 79, 214, 0.10), rgba(28, 79, 214, 0) 60%),
    radial-gradient(900px 340px at 82% 22%, rgba(255, 255, 0, 0.08), rgba(255, 255, 0, 0) 60%),
    #ffffff;
}

.passrate-inner {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 54px;
  align-items: center;
}

.passrate-copy h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  line-height: 1.02;
  margin: 16px 0 12px;
  color: #0c1f45;
}

.passrate-copy .lead {
  color: #394b6a;
  max-width: 70ch;
}

.passrate-points {
  margin-top: 22px;
  display: grid;
  gap: 14px;
  max-width: 70ch;
}

.pr-point {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  align-items: start;
}

.pr-point .dot {
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 6px rgba(255, 255, 0, 0.18);
}

.pr-point h3 {
  font-size: 1.05rem;
  margin-bottom: 2px;
  color: #0c1f45;
}

.pr-point p {
  color: #5a6a87;
}

.passrate-actions {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.passrate-panel {
  width: 100%;
}

.pr-card {
  border-radius: 26px;
  padding: 18px 18px 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(12, 31, 69, 0.10);
  box-shadow: 0 22px 60px rgba(12, 31, 69, 0.12);
  overflow: hidden;
}

.pr-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: rgba(12, 31, 69, 0.8);
}

.pr-big {
  margin-top: 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.pr-range {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: clamp(2.6rem, 4.4vw, 3.6rem);
  letter-spacing: -0.02em;
  color: #0c1f45;
}

.pr-label {
  font-weight: 900;
  color: rgba(12, 31, 69, 0.72);
}

.pr-bars {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.pr-bar-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
  color: rgba(12, 31, 69, 0.78);
  font-weight: 800;
}

.pr-bar-top .val {
  color: rgba(12, 31, 69, 0.62);
  font-weight: 900;
}

.track {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background: rgba(12, 31, 69, 0.08);
  overflow: hidden;
}

.fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 0%);
  border-radius: 999px;
  background: rgba(28, 79, 214, 0.45);
}

.fill.is-italy {
  background: rgba(12, 31, 69, 0.22);
}

.fill.is-easy {
  background: linear-gradient(90deg, rgba(255, 255, 0, 0.85), rgba(28, 79, 214, 0.65));
}

.mark {
  position: absolute;
  top: -2px;
  bottom: -2px;
  left: var(--x, 0%);
  width: 3px;
  border-radius: 999px;
  background: rgba(12, 31, 69, 0.6);
  transform: translateX(-50%);
  opacity: 0.6;
}

.pr-note {
  margin-top: 12px;
  font-size: 0.9rem;
  color: rgba(12, 31, 69, 0.6);
}

@media (max-width: 980px) {
  .passrate {
    padding: 82px 0;
  }
  .passrate-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .passrate-copy h2 {
    font-size: 2.4rem;
  }
}

@media (max-width: 600px) {
  .passrate {
    padding: 70px 0;
  }
  .passrate-copy h2 {
    font-size: 2.15rem;
    line-height: 1.06;
  }
}

@media (max-width: 980px) {
  .licenses-inner {
    display: flex;
    flex-direction: column;
    gap: 34px;
  }
  .licenses-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .licenses-content {
    order: 1;
    width: 100%;
  }
  .licenses-grid {
    order: 2;
  }
  .licenses-content .licenses-cta {
    justify-content: flex-start;
    margin-top: 14px;
  }
  .license-card {
    grid-column: span 1;
    height: 240px;
  }
  .license-card:nth-child(4),
  .license-card:nth-child(5) {
    grid-column: span 1;
  }

  /* Reset the desktop “special” grid positions for mobile/tablet */
  .license-a,
  .license-b,
  .license-c,
  .license-d,
  .license-pro {
    grid-column: auto !important;
    grid-row: auto !important;
    transform: none !important;
  }

  .license-card.is-active {
    transform: scale(1.06);
  }

  .support-inner {
    grid-template-columns: 1fr;
  }
  .support-media .media-img {
    height: 380px;
  }
  .support-copy h2 {
    font-size: 2.4rem;
  }
}

@media (max-width: 860px) {
  .license-card {
    height: 210px;
    min-height: 210px;
  }
}

@media (max-width: 700px) {
  .licenses {
    padding: 62px 0 26px;
  }

  .licenses-content h2 {
    font-size: 2.25rem;
    line-height: 1.06;
  }

  .licenses-content .lead {
    font-size: 1.02rem;
  }

  .licenses-grid {
    grid-template-columns: 1fr;
    row-gap: 14px;
    column-gap: 14px;
    padding: 0;
  }
  .license-card.is-active {
    grid-column: span 1;
  }

  .license-card {
    height: auto;
    min-height: 170px;
    border-radius: 16px;
    aspect-ratio: auto;
    contain: layout paint;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-appearance: none;
    appearance: none;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition:
      transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
      box-shadow 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
      filter 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  .license-card:focus {
    outline: none;
  }

  .license-card:focus-visible {
    outline: 3px solid rgba(255, 255, 0, 0.55);
    outline-offset: 4px;
  }

  .license-icon {
    margin: 20px 16px 10px;
    width: 74px;
    height: 74px;
    border-width: 4px;
    transition: none;
    transform: translateZ(0);
    will-change: transform;
  }

  .license-title {
    margin: 0 16px 6px;
    font-size: 1.28rem;
    transition: none;
    transform: translateZ(0);
  }

  .license-more {
    right: 14px;
    bottom: 14px;
  }

  .license-desc {
    margin: 0 16px 0;
    font-size: 1.06rem;
    line-height: 1.55;
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.22s ease;
    will-change: opacity;
  }

  .license-card.is-active {
    transform: none;
    box-shadow: 0 18px 46px rgba(12, 31, 69, 0.22);
  }

  .license-card.is-dim {
    transform: none;
    opacity: 1;
  }

  .license-card.is-active .license-desc {
    margin: 0 16px 42px;
    max-height: 260px;
    opacity: 1;
  }

  /* Keep text visible while animating height (reduces “late” feeling) */
  .license-card.is-animating .license-desc {
    opacity: 1;
  }

  /* Mobile: keep icon/title steady (override desktop active margin shifts) */
  .license-card.is-active .license-icon {
    margin: 20px 16px 10px;
    transform: none;
  }

  .license-card.is-active .license-title {
    margin-top: 0;
    transform: none;
  }

  .license-close {
    display: inline-flex;
    opacity: 0;
    pointer-events: none;
  }

  .license-card.is-active .license-close {
    opacity: 1;
    pointer-events: auto;
  }

  /* Alternate brand contrast on mobile: A blue, B yellow, C blue, D yellow, PRO blue */
  .license-card[data-license="a"] .license-tint,
  .license-card[data-license="c"] .license-tint,
  .license-card[data-license="pro"] .license-tint {
    background: rgba(24, 52, 122, 0.78) !important;
  }
  .license-card[data-license="b"] .license-tint,
  .license-card[data-license="d"] .license-tint {
    background: rgba(255, 255, 0, 0.66) !important;
  }
}

/* iOS tap can briefly trigger focus styles; avoid the “flash” on touch devices */
@media (max-width: 700px) and (hover: none) and (pointer: coarse) {
  .license-card:focus-visible {
    outline: none;
  }
}

@media (max-width: 600px) {
  .licenses-inner {
    gap: 42px;
  }

  .support-media .media-img {
    height: 320px;
  }

  .reviews-carousel {
    max-width: none;
  }

  .review-card {
    min-height: 0;
    padding: 22px 20px 18px;
  }
}

/* Mobile typography + spacing normalization (desktop unchanged) */
@media (max-width: 600px) {
  .section {
    padding: 56px 0;
  }

  .licenses-content h2,
  .support-copy h2,
  .steps-head h2,
  .reviews-head h2,
  .locations-head h2 {
    font-size: 2.15rem;
    line-height: 1.06;
  }

  .licenses-content .lead,
  .support-copy .lead,
  .steps-sub,
  .reviews-sub,
  .locations-sub {
    font-size: 1.02rem;
  }

  .reviews {
    padding: 78px 0;
  }

  .support {
    padding: 62px 0 78px;
  }

  .steps {
    /* Reduce top whitespace above the timeline on small screens */
    padding: 56px 0 66px;
  }

  .locations {
    padding: 78px 0;
  }

  .footer {
    padding: 58px 0 34px;
  }
}

.section h3 {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  margin-bottom: 24px;
}

.reviews {
  padding: 95px 0;
  background: #ffffff;
}

.reviews-mobile-head {
  display: none;
  text-align: left;
  max-width: 980px;
  margin: 0 auto 18px;
}

.reviews-mobile-head .eyebrow {
  margin-bottom: 10px;
}

.reviews-mobile-head h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.2rem;
  line-height: 1.05;
  margin: 0 0 10px;
  color: #0c1f45;
}

.reviews-copy-head {
  display: block;
}

.reviews-head {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 46px;
}

.reviews-head h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  line-height: 1.02;
  margin: 16px 0 12px;
  color: #0c1f45;
}

.reviews-sub {
  color: #4b5f83;
  max-width: 76ch;
  margin: 0 auto;
}

.reviews-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 56px;
  align-items: start;
}

.reviews-carousel {
  position: relative;
  max-width: 620px;
}

.reviews-viewport {
  border-radius: 26px;
  background: rgba(12, 31, 69, 0.04);
  border: 1px solid rgba(12, 31, 69, 0.08);
  box-shadow: 0 22px 60px rgba(12, 31, 69, 0.10);
  overflow: hidden;
  outline: none;
  min-height: 300px;
}

.reviews-track {
  display: flex;
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.review-card {
  flex: 0 0 100%;
  padding: 26px 26px 22px;
  background: #ffffff;
  position: relative;
  min-height: 300px;
}

.review-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

.review-name {
  font-weight: 800;
  color: #0c1f45;
  letter-spacing: 0.01em;
}

.review-meta {
  margin-top: 4px;
  color: #0c1f45;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  opacity: 0.9;
}

.review-badge {
  font-size: 0.8rem;
  font-weight: 800;
  color: #0c1f45;
  background: rgba(255, 255, 0, 0.45);
  border: 1px solid rgba(255, 255, 0, 0.75);
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.review-text {
  color: #4b5f83;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}

.review-card.is-expanded .review-text {
  -webkit-line-clamp: unset;
}

.review-more {
  margin-top: 14px;
  border: none;
  background: transparent;
  color: #1c4fd6;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
}

.review-more:hover {
  text-decoration: underline;
}

.reviews-controls {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
}

.arrow {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(12, 31, 69, 0.14);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(12, 31, 69, 0.10);
  cursor: pointer;
  font-weight: 900;
  color: #0c1f45;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.arrow:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(12, 31, 69, 0.14);
}

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(12, 31, 69, 0.25);
  background: rgba(12, 31, 69, 0.12);
  cursor: pointer;
}

.dot.is-active {
  background: var(--yellow);
  border-color: rgba(255, 255, 0, 0.95);
  box-shadow: 0 0 0 6px rgba(255, 255, 0, 0.18);
}

.reviews-copy h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.2rem;
  line-height: 1.05;
  margin: 16px 0 12px;
  color: #0c1f45;
}

.reviews-copy {
  padding-left: 0;
}

.reviews-copy .lead {
  color: #394b6a;
  text-shadow: none;
}

.reviews-bullets {
  margin-top: 14px;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.reviews-bullets li {
  position: relative;
  padding-left: 18px;
  color: #0c1f45;
  font-weight: 800;
}

.reviews-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 5px rgba(255, 255, 0, 0.16);
  transform: translateY(-50%);
}

@media (min-width: 981px) {
  .reviews-copy {
    padding-left: 26px;
  }
}

@media (max-width: 980px) {
  .reviews-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .reviews-head h2 {
    font-size: 2.4rem;
  }
}

/* Reviews: mobile cleanup (keep desktop unchanged) */
@media (max-width: 700px) {
  .reviews {
    padding: 66px 0;
    overflow-x: clip;
  }

  .reviews-mobile-head {
    display: block;
  }

  .reviews-mobile-head h3 {
    font-size: 2.05rem;
  }

  .reviews-copy-head {
    display: none;
  }

  .reviews-inner {
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }

  .reviews-carousel {
    max-width: 100%;
  }

  .reviews-viewport {
    border-radius: 20px;
    min-height: 260px;
    outline: none;
  }

  .reviews-track {
    transition: transform 0.48s cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  .review-card {
    padding: 20px 18px 16px;
    min-height: 260px;
  }

  .review-name {
    font-size: 1.02rem;
  }

  .review-meta {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
  }

  .review-badge {
    padding: 7px 10px;
    font-size: 0.75rem;
  }

  .review-text {
    font-size: 1.02rem;
    -webkit-line-clamp: 6;
  }

  .reviews-controls {
    grid-template-columns: 40px 1fr 40px;
    gap: 10px;
  }

  .arrow {
    width: 40px;
    height: 40px;
  }

  .reviews-dots {
    gap: 8px;
    flex-wrap: wrap;
  }

  .dot {
    width: 9px;
    height: 9px;
  }

  .reviews-copy h3 {
    font-size: 2.05rem;
  }

  .reviews-copy .lead {
    font-size: 1.02rem;
  }

  .reviews-bullets {
    gap: 9px;
  }

  .support-actions {
    margin-top: 18px;
  }
}

.locations {
  padding: 95px 0;
  background:
    radial-gradient(900px 340px at 85% 55%, rgba(255, 255, 0, 0.10), rgba(255, 255, 0, 0) 60%),
    #ffffff;
}

.footer {
  padding: 70px 0 38px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-2));
  color: rgba(255, 255, 255, 0.9);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.footer-brand img {
  width: 150px;
  height: auto;
  margin-bottom: 14px;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.35));
}

.footer-brand p {
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.75);
}

.footer h4 {
  margin: 0 0 10px;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.footer a {
  color: rgba(255, 255, 255, 0.85);
}

.footer a:hover {
  color: var(--yellow);
}

/* Footer: don't break yellow buttons on hover */
.footer a.btn.primary:hover {
  color: var(--navy);
}

.footer-links,
.footer-contacts {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-contacts .line {
  color: rgba(255, 255, 255, 0.75);
}

.footer-cta {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-cta .btn.ghost {
  background: rgba(255, 255, 255, 0.06);
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

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

.chat-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
}

.chat-fab {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  border: 1px solid rgba(12, 31, 69, 0.18);
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-2));
  color: #ffffff;
  box-shadow: 0 18px 46px rgba(12, 31, 69, 0.22);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.chat-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #ff2b2b;
  box-shadow: 0 0 0 4px rgba(255, 43, 43, 0.22);
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}

.chat-fab.has-badge .chat-badge {
  opacity: 1;
  transform: scale(1);
  animation: chatBadgePulse 1.35s ease-in-out infinite;
}

@keyframes chatBadgePulse {
  0% {
    box-shadow: 0 0 0 4px rgba(255, 43, 43, 0.18);
  }
  60% {
    box-shadow: 0 0 0 10px rgba(255, 43, 43, 0);
  }
  100% {
    box-shadow: 0 0 0 4px rgba(255, 43, 43, 0.18);
  }
}

.chat-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 56px rgba(12, 31, 69, 0.28);
}

.chat-fab svg {
  width: 34px;
  height: 34px;
}

.chat-pop {
  position: absolute;
  right: 0;
  bottom: 86px;
  width: min(360px, calc(100vw - 36px));
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(12, 31, 69, 0.10);
  box-shadow: 0 26px 70px rgba(12, 31, 69, 0.22);
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.chat-pop.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chat-pop-head {
  padding: 14px 14px 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-2));
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 520px) {
  .chat-widget {
    right: 12px;
    bottom: 12px;
  }

  .chat-fab {
    width: 64px;
    height: 64px;
  }

  .chat-fab svg {
    width: 32px;
    height: 32px;
  }

  .chat-pop {
    bottom: 78px;
    width: min(360px, calc(100vw - 24px));
    border-radius: 18px;
  }
}

.chat-pop-title {
  font-weight: 900;
  letter-spacing: 0.02em;
}

.chat-pop-sub {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.chat-pop-close {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.chat-pop-body {
  height: 360px;
  overflow: auto;
  padding: 12px;
  background:
    radial-gradient(420px 160px at 20% 0%, rgba(255, 255, 0, 0.16), rgba(255, 255, 0, 0) 60%),
    rgba(12, 31, 69, 0.04);
}

.chat-bubble {
  max-width: 85%;
  padding: 10px 12px;
  border-radius: 14px;
  margin: 10px 0;
  line-height: 1.5;
  white-space: pre-wrap;
  border: 1px solid rgba(12, 31, 69, 0.10);
  background: #ffffff;
  color: #0c1f45;
}

.chat-bubble.me {
  margin-left: auto;
  background: rgba(255, 255, 0, 0.20);
  border-color: rgba(255, 255, 0, 0.55);
}

.chat-bubble.bot {
  background: rgba(28, 79, 214, 0.06);
  border-color: rgba(28, 79, 214, 0.14);
}

.chat-bubble.typing {
  opacity: 0.9;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chat-bubble.typing .dots {
  display: inline-flex;
  gap: 5px;
}

.chat-bubble.typing .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(12, 31, 69, 0.55);
  opacity: 0.35;
  transform: translateY(0);
  animation: chatDot 1.1s ease-in-out infinite;
}

.chat-bubble.typing .dot:nth-child(2) {
  animation-delay: 0.12s;
}
.chat-bubble.typing .dot:nth-child(3) {
  animation-delay: 0.24s;
}

@keyframes chatDot {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  45% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.chat-pop-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 12px;
  border-top: 1px solid rgba(12, 31, 69, 0.08);
  background: #ffffff;
}

.chat-pop-form input {
  border-radius: 14px;
  border: 1px solid rgba(12, 31, 69, 0.14);
  padding: 12px 12px;
  font: inherit;
  outline: none;
}

.chat-pop-form input:focus {
  border-color: rgba(28, 79, 214, 0.55);
  box-shadow: 0 0 0 6px rgba(28, 79, 214, 0.10);
}

@media (max-width: 600px) {
  .chat-widget {
    right: 12px;
    bottom: 12px;
  }
  .chat-pop-body {
    height: 320px;
  }
}

.chatpage,
.adminpage {
  padding: 110px 0 80px;
  background: radial-gradient(900px 340px at 20% 10%, rgba(255, 255, 0, 0.10), rgba(255, 255, 0, 0) 60%), #ffffff;
}

.chatpanel,
.adminpanel {
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(12, 31, 69, 0.08);
  box-shadow: 0 22px 60px rgba(12, 31, 69, 0.10);
  padding: 22px;
}

.chathead {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}

.chattitle {
  font-weight: 900;
  font-size: 1.2rem;
  color: #0c1f45;
}

.chatsub {
  color: #4b5f83;
  font-size: 0.95rem;
}

.messages {
  height: 420px;
  overflow: auto;
  padding: 12px;
  border-radius: 18px;
  background: rgba(12, 31, 69, 0.04);
  border: 1px solid rgba(12, 31, 69, 0.06);
}

.msg {
  max-width: 80%;
  padding: 10px 12px;
  border-radius: 14px;
  margin: 10px 0;
  line-height: 1.5;
  white-space: pre-wrap;
}

.msg.bot {
  background: rgba(28, 79, 214, 0.08);
  border: 1px solid rgba(28, 79, 214, 0.14);
  color: #0c1f45;
}

.msg.me {
  margin-left: auto;
  background: rgba(255, 255, 0, 0.20);
  border: 1px solid rgba(255, 255, 0, 0.55);
  color: #0c1f45;
}

.composer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 12px;
}

.composer input,
.adminrow input,
.field input,
.field textarea {
  border-radius: 14px;
  border: 1px solid rgba(12, 31, 69, 0.14);
  padding: 12px 12px;
  font: inherit;
  outline: none;
}

.composer input:focus,
.adminrow input:focus,
.field input:focus,
.field textarea:focus {
  border-color: rgba(28, 79, 214, 0.55);
  box-shadow: 0 0 0 6px rgba(28, 79, 214, 0.10);
}

.chatlogin {
  padding: 18px 0 6px;
}

.loginbox {
  border-radius: 22px;
  padding: 18px;
  background: rgba(12, 31, 69, 0.04);
  border: 1px solid rgba(12, 31, 69, 0.06);
}

.loginlabel {
  font-weight: 900;
  color: #0c1f45;
  margin-bottom: 6px;
}

.loginhelp {
  color: #4b5f83;
  margin-bottom: 12px;
}

.loginrow {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.loginhint {
  margin-top: 10px;
  color: rgba(12, 31, 69, 0.6);
  font-size: 0.9rem;
}

.admintitle {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  margin-bottom: 6px;
  color: #0c1f45;
}

.adminsub {
  color: #4b5f83;
  margin-bottom: 16px;
}

.adminrow {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
}

.admingrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.field span {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: #0c1f45;
  margin-bottom: 6px;
}

.field textarea {
  width: 100%;
  resize: vertical;
  min-height: 160px;
}

.adminhint {
  margin-top: 10px;
  color: rgba(12, 31, 69, 0.65);
  font-weight: 700;
}

@media (max-width: 980px) {
  .messages {
    height: 360px;
  }
  .admingrid {
    grid-template-columns: 1fr;
  }
}

.locations-head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 46px;
}

.locations-head h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  line-height: 1.02;
  margin: 16px 0 12px;
  color: #0c1f45;
}

.locations-sub {
  color: #4b5f83;
  max-width: 76ch;
  margin: 0 auto;
}

.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.loc-card {
  border-radius: 26px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(12, 31, 69, 0.08);
  box-shadow: 0 22px 60px rgba(12, 31, 69, 0.10);
}

.loc-map {
  height: 260px;
  background: rgba(12, 31, 69, 0.05);
}

.loc-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.loc-body {
  padding: 20px 22px 22px;
}

.loc-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.loc-top h3 {
  margin: 0;
  font-size: 1.4rem;
  color: #0c1f45;
}

.loc-pill {
  font-size: 0.8rem;
  font-weight: 800;
  color: #0c1f45;
  background: rgba(255, 255, 0, 0.45);
  border: 1px solid rgba(255, 255, 0, 0.75);
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.loc-line {
  margin: 6px 0;
  color: #4b5f83;
}

.loc-line a {
  font-weight: 800;
}

.loc-hours {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(12, 31, 69, 0.04);
  border: 1px solid rgba(12, 31, 69, 0.06);
  color: #394b6a;
  font-weight: 600;
}

.loc-actions {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .locations-grid {
    grid-template-columns: 1fr;
  }
  .locations-head h2 {
    font-size: 2.4rem;
  }
  .loc-map {
    height: 240px;
  }
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.tile {
  background: #fff;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 18px 40px rgba(20, 30, 70, 0.08);
}

.tile h4 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.tile p {
  color: var(--muted);
}
