/* ============================================================
   UEY — Premium Mobility
   Inspired by Waymo's design language:
   minimal, whitespace-heavy, thin dividers, large type.
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  color: #011520;
  background: #ffffff;
  line-height: 1.5;
  padding-top: 86px;
  -webkit-font-smoothing: antialiased;
}

h1, h2 {
  font-family: 'Montserrat', 'Inter', -apple-system, sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  transform: scaleY(0.85) !important;
  transform-origin: center center !important;
  letter-spacing: 0 !important;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

:root {
  --ink: #011520;
  --ink-soft: #4a5a6a;
  --line: #e0e6ed;
  --bg: #ffffff;
  --bg-soft: #f4f7f9;
  --accent: #023048;
  --max: 1600px;
  --pad: clamp(16px, 2vw, 24px);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ====== HEADER ====== */
.promo-banner {
  background: #011520;
  color: #fff;
  padding: 12px var(--pad);
  font-size: 14px;
  display: flex;
  justify-content: center;
}

.promo-content {
  display: flex;
  align-items: center;
  gap: 24px;
}

.promo-text {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-blue {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-blue:hover {
  background: #034a70;
  border-color: #034a70;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
  padding: 0 var(--pad);
  max-width: 1200px;
  margin: 0 auto;
  gap: 16px;
}

.brand {
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  flex: 1;
}

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

.nav {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.nav-item {
  position: static;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-link {
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  display: inline-block;
  transition: all .2s ease;
  border-radius: 999px;
}

.nav-link:hover,
.nav-item.open .nav-link {
  background-color: #f0f0f0;
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}

/* ===== Search Dropdown ===== */
.search-dropdown {
  position: absolute;
  top: calc(100% + 15px);
  right: 0;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 10px;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  width: 360px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.98);
  transform-origin: top right;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

.search-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.search-form {
  display: flex;
  gap: 8px;
  background: #f4f5f7;
  border-radius: 16px;
  padding: 6px;
}

.search-form input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--ink);
  outline: none;
}

.search-form input::placeholder {
  color: #999;
}

.search-form button {
  padding: 10px 24px !important;
  border-radius: 12px !important;
  font-weight: 500;
  font-size: 14px;
}

@media (max-width: 600px) {
  .search-dropdown {
    position: fixed;
    top: 80px;
    left: 16px;
    right: 16px;
    width: auto;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 999px;
  transition: all .2s;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

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

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.icon-btn:hover {
  border-color: var(--ink);
}

/* ===== MEGA MENU ===== */
.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  background: #fff;
  border-top: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
  transform: translateY(20px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
  pointer-events: none;
}

.mega-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.nav-item:hover .mega,
.nav-item.open .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-content-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mega-title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 12px;
}

.mega-subtitle {
  font-size: 32px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.mega-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mega-links a {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.mega-links a svg {
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.2s ease;
}

.mega-links a:hover {
  opacity: 0.7;
}

.mega-links a:hover svg {
  opacity: 1;
  transform: translateX(0);
}

.mega-image-col {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  height: 300px;
}

.mega-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mega-inner:hover .mega-image-col img {
  transform: scale(1.05);
}

/* ====== MOBILE NAV ====== */
.mobile-toggle {
  display: none;
}

/* Hidden by default — only shown via the media query */
.mobile-nav {
  display: none;
}

/* Animated hamburger lines */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 24px;
  height: 24px;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transform-origin: center;
  transition: transform .3s ease, opacity .3s ease, width .3s ease;
}

.mobile-toggle.open .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.open .hamburger span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.mobile-toggle.open .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1024px) {

  .nav,
  .header-actions .btn-primary.desktop-only {
    display: none;
  }

  .nav {
    display: none !important;
  }

  .header-actions .btn {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Slide-in panel */
  .mobile-nav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 9999;
    padding: 0;
    overflow-y: auto;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    /* Ensure it sits above everything */
    isolation: isolate;
  }

  .mobile-nav.open {
    transform: translateX(0);
  }

  /* Top-level items */
  .mobile-nav-item {
    border-bottom: 1px solid var(--line);
  }

  .mobile-nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px var(--pad);
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    cursor: pointer;
    transition: color .2s;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
  }

  .mobile-nav-top:hover {
    color: var(--accent);
  }

  .mobile-nav-top a {
    display: block;
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    padding: 18px var(--pad);
    transition: color .2s;
  }

  .mobile-nav-top a:hover {
    color: var(--accent);
  }

  /* Chevron arrow */
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px var(--pad);
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    cursor: pointer;
    width: 100%;
    background: none;
    border: none;
    font-family: inherit;
    text-align: left;
  }

  .mobile-nav-toggle svg {
    flex-shrink: 0;
    transition: transform .3s ease;
    color: var(--ink-soft);
  }

  .mobile-nav-item.open .mobile-nav-toggle {
    color: var(--accent);
  }

  .mobile-nav-item.open .mobile-nav-toggle svg {
    transform: rotate(180deg);
  }

  /* Sub-links accordion */
  .mobile-sub {
    max-height: 0;
    overflow: hidden;
    background: var(--bg-soft);
    transition: max-height .35s cubic-bezier(.4, 0, .2, 1);
  }

  .mobile-nav-item.open .mobile-sub {
    max-height: 500px;
  }

  .mobile-sub a {
    display: block;
    padding: 14px var(--pad);
    padding-left: calc(var(--pad) + 16px);
    font-size: 15px;
    color: var(--ink-soft);
    border-bottom: 1px solid var(--line);
    transition: color .2s, background .2s;
  }

  .mobile-sub a:last-child {
    border-bottom: none;
  }

  .mobile-sub a:hover {
    color: var(--accent);
    background: #fff;
  }

  /* Download CTA at the bottom */
  .mobile-nav-footer {
    padding: 24px var(--pad);
    margin-top: auto;
    border-top: 1px solid var(--line);
  }

  .mobile-nav-footer .btn {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    padding: 14px 22px;
    background: var(--ink);
    color: #fff;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    transition: background .2s;
  }

  .mobile-nav-footer .btn:hover {
    background: var(--accent);
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  background: #011520;
}

.hero video,
.hero .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--pad) 80px;
  max-width: var(--max);
  margin: 0 auto;
  color: #fff;
}

.hero h1 {
  font-family: 'Montserrat', 'Inter', -apple-system, sans-serif;
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: uppercase;
  max-width: 14ch;
  transform: scaleY(0.85);
  transform-origin: left center;
}

.hero p {
  margin-top: 24px;
  font-size: clamp(18px, 1.6vw, 22px);
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.85);
}

.hero-cta {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===== SECTIONS ===== */
section {
  padding: clamp(48px, 6vw, 80px) 0;
}

.section-eyebrow {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}

/* Make eyebrow text visible on dark backgrounds */
section[style*="background: var(--ink)"] .section-eyebrow,
section[style*="background:var(--ink)"] .section-eyebrow,
section[style*="background: #011520"] .section-eyebrow,
section[style*="background:#011520"] .section-eyebrow {
  color: #00E676; /* Bright green for dark backgrounds */
}

.section-title {
  font-family: 'Montserrat', 'Inter', -apple-system, sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 22ch;
  color: var(--ink);
  transform: scaleY(0.85);
  transform-origin: left center;
}

/* Automatically make titles white on dark sections */
[style*="background: var(--ink)"] .section-title,
[style*="background: #011520"] .section-title {
  color: #fff !important;
}

.section-lead {
  margin-top: 0;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--ink-soft);
  max-width: 60ch;
  line-height: 1.6;
}

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

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

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

.card {
  background: var(--bg-soft);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-body {
  padding: 32px;
}

.card h3 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.card p {
  color: var(--ink-soft);
  font-size: 16px;
}

/* ===== SAFER SECTION & SCENARIOS ===== */
.scenario-card {
  width: 440px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .safer-container {
    flex-direction: column !important;
    text-align: center;
  }
  .safer-container .safer-text {
    align-items: center;
    display: flex;
    flex-direction: column;
  }
  .safer-container .safer-10x {
    font-size: 80px !important;
  }
  .safer-container .safer-desc {
    text-align: left;
  }
  .safer-image {
    width: 100%;
  }
  .floating-card {
    flex-direction: column !important;
    text-align: center;
    gap: 16px;
    padding: 24px !important;
  }
  .floating-card-text {
    max-width: 100% !important;
  }
  .floating-card-container {
    transform: translateY(20%) !important;
  }
  .scenario-card {
    width: 360px;
  }
}

@media (max-width: 600px) {
  :root {
    --pad: 16px;
  }
  
  .promo-content {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 36px !important;
  }
  
  .safer-container .safer-10x {
    font-size: 64px !important;
  }
  
  .scenario-card {
    width: 85vw;
  }
  
  .video-band h2, .section-title {
    font-size: 32px !important;
  }
  
  .mega {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px var(--pad);
  }
  
  .mega-logo {
    display: none;
  }
  
  .mega-image.rounded-circle {
    max-width: 200px;
    margin: 0 auto;
  }
}

/* ===== FULL-WIDTH VIDEO BANDS ===== */
.video-band {
  position: relative;
  height: 80vh;
  min-height: 560px;
  overflow: hidden;
  background: #011520;
}

.video-band video,
.video-band .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.6));
}

.video-band .content {
  position: relative;
  z-index: 2;
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--pad) 64px;
  max-width: var(--max);
  margin: 0 auto;
}

.video-band h2 {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 400;
  max-width: 18ch;
  letter-spacing: -0.02em;
}

/* ===== UK MAP ===== */
.coverage {
  background: var(--bg-soft);
}

.map-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 64px;
  align-items: stretch;
}

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

.uk-map {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  aspect-ratio: 4/5;
  position: relative;
}

.uk-map svg {
  width: 100%;
  height: 100%;
}

.uk-map .uk-shape {
  fill: #ececea;
  stroke: #d4d4d0;
  stroke-width: 1;
}

.city-pin {
  cursor: pointer;
  transition: all .2s;
}

.city-pin circle.outer {
  fill: rgba(255, 90, 31, 0.18);
  transition: all .25s;
}

.city-pin circle.inner {
  fill: var(--accent);
  transition: all .25s;
}

.city-pin:hover circle.outer,
.city-pin.active circle.outer {
  r: 18;
  fill: rgba(255, 90, 31, 0.28);
}

.city-pin:hover circle.inner,
.city-pin.active circle.inner {
  r: 8;
}

.city-pin text {
  font-size: 13px;
  font-weight: 500;
  fill: var(--ink);
  pointer-events: none;
}

.city-detail {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.city-detail .city-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.city-detail .city-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.city-detail .city-body {
  padding: 36px;
  flex: 1;
}

.city-status {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 999px;
  background: #e8f5e9;
  color: #2e7d32;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.city-status.expanding {
  background: #fff3e0;
  color: #e65100;
}

.city-detail h3 {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.city-detail p {
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.city-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.city-stat .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

.city-stat .value {
  font-size: 18px;
  font-weight: 500;
  margin-top: 4px;
}

/* ===== APP SHOWCASE ===== */
.app-showcase {
  background: linear-gradient(to right, rgba(1, 21, 32, 0.95) 0%, rgba(1, 21, 32, 0.85) 30%, transparent 80%), url('../images/home/mobile\ _app.png') no-repeat right center / cover;
  background-color: var(--ink);
  color: #fff;
  padding: 120px 0;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.app-showcase .section-title,
.app-showcase .section-eyebrow,
.app-showcase .section-lead {
  color: inherit;
}

.phones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 56px;
}

.phone-card {
  position: relative;
  aspect-ratio: 9/16;
  max-height: 640px;
  border-radius: 32px;
  overflow: hidden;
  background: #1a1a1a;
  box-shadow: 0 40px 60px rgba(0,0,0,0.5);
}

.phone-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes slideDownLoop {
  0% { transform: translateY(-120%); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(120%); opacity: 0; }
}

@keyframes slideUpLoop {
  0% { transform: translateY(120%); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-120%); opacity: 0; }
}

.phone-card:nth-child(1) {
  animation: slideDownLoop 15s linear infinite;
}

.phone-card:nth-child(2) {
  animation: slideUpLoop 15s linear infinite;
  animation-delay: -7.5s; /* offset so they don't sync completely */
}

@media (max-width: 700px) {
  .phones {
    grid-template-columns: 1fr;
  }
  .phone-card:nth-child(1),
  .phone-card:nth-child(2) {
    animation: none;
    transform: none;
    opacity: 1;
  }
}

/* ===== TESTIMONIAL SLIDER ===== */
.testimonials {
  background: var(--bg-soft);
}

.t-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin-top: 48px;
  padding-bottom: 24px;
  /* Full-bleed implementation */
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
  /* Ensure snap points are correctly padded */
  scroll-padding-left: calc(50vw - 50%);
}

.t-slider::-webkit-scrollbar {
  height: 4px;
}

.t-slider::-webkit-scrollbar-thumb {
  background: var(--ink);
  border-radius: 2px;
}

.t-card {
  flex: 0 0 min(440px, 85vw);
  scroll-snap-align: start;
  background: #fff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.t-card p.quote {
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.t-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.t-author .name {
  font-weight: 600;
}

.t-author .role {
  font-size: 14px;
  color: var(--ink-soft);
}

/* ===== CTA ===== */
.cta-band {
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.cta-band .section-title {
  margin: 0 auto;
}

.cta-band .hero-cta {
  justify-content: center;
}

/* ===== FOOTER ===== */
footer {
  background: var(--accent);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}

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

footer h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

footer a {
  display: block;
  padding: 6px 0;
  color: #aaa;
  font-size: 15px;
}

footer a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 40px;
  margin-top: 60px;
  border-top: 1px solid #222;
  font-size: 13px;
}

/* PAGE HEADER (sub pages) */
.page-header {
  padding: 100px 0 60px;
  border-bottom: 1px solid var(--line);
}

.page-header .page-eyebrow {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.page-header h1 {
  font-family: 'Montserrat', 'Inter', -apple-system, sans-serif;
  font-size: clamp(48px, 7vw, 100px);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 1.1;
  transform: scaleY(0.85);
  transform-origin: left center;
}

.page-header .page-lead {
  margin-top: 24px;
  font-size: 22px;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

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

.price-card {
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.price-card.featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.price-card .price {
  font-size: 56px;
  font-weight: 400;
  margin: 16px 0;
  letter-spacing: -0.03em;
}

.price-card ul {
  list-style: none;
  margin: 24px 0;
}

.price-card li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 15px;
}

.price-card.featured li {
  border-color: rgba(255, 255, 255, 0.1);
}

/* TIMELINE */
.timeline {
  margin-top: 56px;
  border-left: 2px solid var(--line);
  padding-left: 32px;
}

.timeline-item {
  padding-bottom: 48px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -41px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
}

.timeline-item .year {
  font-size: 14px;
  color: var(--ink-soft);
}

.timeline-item h3 {
  font-size: 28px;
  font-weight: 500;
  margin: 6px 0 12px;
}

.timeline-item p {
  color: var(--ink-soft);
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  cursor: pointer;
}

.faq-item summary {
  font-size: 22px;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 28px;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin-top: 16px;
  color: var(--ink-soft);
  max-width: 75ch;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 56px;
}

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

.contact-info p {
  margin-bottom: 12px;
  color: var(--ink-soft);
}

.contact-info strong {
  display: block;
  color: var(--ink);
  margin-top: 24px;
  margin-bottom: 6px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  color: var(--ink-soft);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  background: #fff;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.alert {
  padding: 16px;
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* fade-in on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===== HERO ===== */
.uey-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden
}

.uey-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0
}

.uey-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.uey-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .35) 40%, rgba(0, 0, 0, .75) 100%)
}

.uey-hero__inner {
  position: relative;
  z-index: 2;
  padding: 140px 24px 80px;
  max-width: 1200px;
  margin: 0 auto
}

.uey-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #9ad;
  margin-bottom: 18px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  backdrop-filter: blur(6px)
}

.uey-eyebrow--light {
  color: #cde
}

.uey-hero__title {
  font-size: clamp(36px, 6vw, 76px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -.02em;
  margin: 0 0 24px;
  max-width: 14ch
}

.uey-grad {
  background: linear-gradient(90deg, #7cc4ff, #fff 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.uey-hero__lede {
  font-size: clamp(16px, 1.4vw, 20px);
  max-width: 54ch;
  opacity: .9;
  margin: 0 0 36px
}

.uey-hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

.uey-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  max-width: 780px
}

.uey-hero__stats div {
  display: flex;
  flex-direction: column
}

.uey-hero__stats strong {
  font-size: 28px;
  font-weight: 600
}

.uey-hero__stats span {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .7;
  margin-top: 4px
}

.uey-hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 22px;
  z-index: 3;
  opacity: .8;
  animation: bob 2s ease-in-out infinite
}

@keyframes bob {

  0%,
  100% {
    transform: translate(-50%, 0)
  }

  50% {
    transform: translate(-50%, 8px)
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  transition: transform .2s, background .2s, color .2s;
  text-decoration: none;
  border: 1px solid transparent
}

.btn--primary {
  background: #fff;
  color: #0a0a0a
}

.btn--primary:hover {
  transform: translateY(-2px);
  background: #eaeaea
}

.btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .4)
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, .1)
}

.btn--dark {
  background: #0a0a0a;
  color: #fff
}

.btn--outline {
  border-color: #0a0a0a;
  color: #0a0a0a
}

/* ===== SECTIONS ===== */
.section {
  padding: 120px 24px
}

.section--light {
  background: #f6f6f4;
  color: #0a0a0a
}

.section--dark {
  background: #0a0a0a;
  color: #fff
}

.section__title {
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -.02em;
  margin: 0 0 18px;
  max-width: 18ch
}

.section__title--light {
  color: #fff
}

.section__lede {
  font-size: 18px;
  opacity: .75;
  max-width: 60ch;
  margin: 0 0 48px
}

.section__lede--light {
  color: #dde;
  opacity: .85
}

.container {
  max-width: 1200px;
  margin: 0 auto
}

.text-center {
  text-align: center
}

.text-center .section__title,
.text-center .section__lede {
  margin-left: auto;
  margin-right: auto
}

/* ===== GRIDS ===== */
.grid {
  display: grid;
  gap: 32px
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr)
}

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

.grid--center {
  align-items: center
}

/* ===== FEATURE / STEPS ===== */
.feature {
  background: #fff;
  padding: 36px;
  border-radius: 20px;
  box-shadow: 0 2px 30px rgba(0, 0, 0, .04);
  transition: transform .3s, box-shadow .3s
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .08)
}

.feature__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #0a0a0a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 24px
}

.feature h3 {
  font-size: 20px;
  margin: 0 0 10px
}

.feature p {
  opacity: .7;
  line-height: 1.6;
  margin: 0
}

.steps .step {
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent)
}

.step__num {
  font-size: 14px;
  letter-spacing: .2em;
  color: #7cc4ff;
  display: block;
  margin-bottom: 18px
}

.step h3 {
  font-size: 22px;
  margin: 0 0 12px
}

.step p {
  opacity: .7;
  line-height: 1.6
}

/* ===== VIDEO BAND ===== */
.band {
  position: relative;
  height: 60vh;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff
}

.band__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.band__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .4))
}

.band__title {
  position: relative;
  z-index: 2;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 500;
  text-align: center;
  letter-spacing: -.02em;
  padding: 0 24px;
  max-width: 18ch;
  line-height: 1.1
}

.band__title em {
  font-style: normal;
  background: linear-gradient(90deg, #7cc4ff, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

/* ===== UK MAP ===== */
.uk-map-wrap {
  margin-top: 60px;
  min-height: 520px
}

/* ===== APP SHOWCASE ===== */
.phone-mock {
  position: relative;
  aspect-ratio: 9/19;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 42px;
  overflow: hidden;
  background: #000;
  border: 10px solid #0a0a0a;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .35)
}

.phone-mock video {
  width: 100%;
  height: 100%;
  object-fit: cover
}

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

.cta-row--center {
  justify-content: center
}

/* ===== SAFETY ===== */
.safety__video {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5)
}

.safety__video video {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.safety-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .15)
}

.safety-stats strong {
  font-size: 28px;
  display: block
}

.safety-stats span {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .7
}

/* ===== TESTIMONIALS ===== */
.testimonials blockquote {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  margin: 0;
  box-shadow: 0 2px 30px rgba(0, 0, 0, .04)
}

.testimonials p {
  font-size: 18px;
  line-height: 1.55;
  margin: 0 0 24px
}

.testimonials footer {
  display: flex;
  flex-direction: column
}

.testimonials strong {
  font-size: 15px
}

.testimonials span {
  font-size: 13px;
  opacity: .6;
  margin-top: 2px
}

/* ===== FINAL CTA ===== */
.cta-final {
  position: relative;
  padding: 140px 24px;
  color: #fff;
  overflow: hidden;
  text-align: center
}

.cta-final video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0
}

.cta-final__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, .85));
  z-index: 1
}

.cta-final__inner {
  position: relative;
  z-index: 2
}

.cta-final h2 {
  font-size: clamp(36px, 5vw, 64px);
  margin: 0 0 16px;
  font-weight: 600;
  letter-spacing: -.02em
}

.cta-final p {
  opacity: .85;
  font-size: 18px;
  margin: 0 0 32px
}

/* ===== RESPONSIVE ===== */
@media (max-width:880px) {

  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr
  }

  .uey-hero__stats {
    grid-template-columns: repeat(2, 1fr)
  }

  .safety-stats {
    grid-template-columns: 1fr
  }

  .hide-sm {
    display: none
  }

  .section {
    padding: 80px 20px
  }
}

/* ===== SCENARIOS MARQUEE ===== */
.scenarios-marquee {
  animation: marquee-scroll 25s linear infinite;
  display: flex;
}

.scenarios-marquee:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 12px)); }
}
/* ===== WhatsApp Widget ===== */
.wa-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: 'Inter', sans-serif;
}

.wa-chat-box {
  width: 320px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  margin-bottom: 16px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8) translateY(20px);
  transform-origin: bottom right;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-chat-box.open {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

.wa-chat-header {
  background: #095e54;
  color: #fff;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wa-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 15px;
}

.wa-close-btn {
  color: #fff;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.wa-close-btn:hover {
  opacity: 1;
}

.wa-chat-body {
  background: #efe7dd;
  padding: 16px;
  height: 220px;
  overflow-y: auto;
}

.wa-message-received {
  display: inline-flex;
  flex-direction: column;
  background: #fff;
  padding: 8px 12px;
  border-radius: 0 8px 8px 8px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.05);
  max-width: 85%;
}

.wa-message-bubble {
  font-size: 14px;
  color: #303030;
  margin-bottom: 4px;
}

.wa-message-time {
  font-size: 10px;
  color: #999;
  align-self: flex-end;
}

.wa-chat-footer {
  background: #f0f0f0;
  padding: 10px;
}

.wa-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wa-input-wrapper {
  flex: 1;
  background: #fff;
  border-radius: 20px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wa-input-wrapper input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: #333;
}

.wa-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #008f82;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.wa-send-btn:hover {
  background: #00776b;
}

.wa-toggle-container {
  position: relative;
  display: flex;
  align-items: center;
}

.wa-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  background: #fff;
  color: #333;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -4px;
  transform: translateY(-50%);
  border-width: 5px 0 5px 5px;
  border-style: solid;
  border-color: transparent transparent transparent #fff;
}

.wa-toggle-container:hover .wa-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.wa-toggle-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease;
}

.wa-toggle-btn:hover {
  transform: scale(1.05);
}

@media (max-width: 480px) {
  .wa-chat-box {
    width: calc(100vw - 32px);
    margin-right: -8px; /* Alignment adjustment for mobile */
  }
}
