/* ============================================
   SAI ONE WAY TAXI — PREMIUM REDESIGN
   Design tokens
   ============================================ */
:root {
  /* Brand core (unchanged) */
  --blue: #0057b8;
  --gold: #f6b500;

  /* Derived tints/shades — same hues, extended range */
  --blue-deep: #00203f;
  --blue-dark: #003b7c;
  --blue-mid: #0066d6;
  --blue-soft: #e7f0fc;
  --gold-soft: #ffd966;
  --gold-dim: #b9870a;

  --ink: #0a0e16;
  --paper: #f7f9fc;
  --white: #ffffff;

  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-bg-light: rgba(255, 255, 255, 0.55);
  --glass-border-light: rgba(0, 87, 184, 0.12);

  --shadow-sm: 0 4px 16px rgba(0, 32, 63, 0.08);
  --shadow-md: 0 12px 40px rgba(0, 32, 63, 0.14);
  --shadow-lg: 0 30px 80px rgba(0, 32, 63, 0.22);
  --shadow-gold: 0 14px 40px rgba(246, 181, 0, 0.35);

  --font-display: "Bricolage Grotesque", "Poppins", sans-serif;
  --font-body: "Poppins", sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

/* Focus visibility */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

/* ============================================
   SIGNATURE ELEMENT: the route line
   An SVG dashed path threads behind sections,
   drawing itself in as the user scrolls — the
   visual idea of a "route," literalized.
   ============================================ */
.route-line-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.route-line-wrap svg {
  width: 100%;
  height: 100%;
}

.route-line-path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 10 14;
  opacity: 0.5;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  background: var(--blue-deep);
  color: var(--blue-soft);
  padding: 9px 0;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
}

.top-bar strong {
  color: var(--gold-soft);
  font-weight: 600;
}

/* ============================================
   NAVBAR — glassmorphism, sticky
   ============================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg-light);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--glass-border-light);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  color: var(--blue-deep);
  letter-spacing: -0.01em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 100px;
  position: relative;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav-links a:hover {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.call-btn {
  background: var(--gold);
  color: var(--ink);
  padding: 12px 22px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: var(--shadow-gold);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.navbar-toggler {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--blue-deep);
  cursor: pointer;
}

/* ============================================
   HERO — asymmetric bento composition
   ============================================ */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 85% 10%, rgba(246, 181, 0, 0.18), transparent 45%),
    linear-gradient(150deg, var(--blue-deep) 0%, var(--blue-dark) 55%, var(--blue-mid) 100%);
  color: var(--white);
  padding: 110px 0 90px;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-copy .eyebrow {
  color: var(--gold-soft);
}

.hero-copy .eyebrow::before {
  background: var(--gold-soft);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  overflow: hidden;
}

.hero h1 .line {
  display: block;
  overflow: hidden;
}

.hero h1 .line span {
  display: inline-block;
  will-change: transform;
}

.hero h1 .accent {
  color: var(--gold);
}

.hero-sub {
  font-size: 18px;
  max-width: 480px;
  margin: 26px 0 36px;
  color: rgba(255, 255, 255, 0.82);
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  position: relative;
  isolation: isolate;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: var(--shadow-gold);
}

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

.btn-ghost {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--white);
  backdrop-filter: blur(10px);
}

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

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--glass-border);
}

.hero-stats .stat-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--gold);
}

.hero-stats .stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* Hero visual: layered glass bento card with floating image */
.hero-visual {
  position: relative;
  height: 560px;
}

.hero-visual-card {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--glass-border);
}

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

.hero-float-badge {
  position: absolute;
  bottom: 28px;
  left: -28px;
  background: var(--glass-bg-light);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  max-width: 250px;
}

.hero-float-badge .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.6);
  animation: pulse 1.8s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.55);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
  }
}

.hero-float-badge strong {
  font-size: 14px;
  display: block;
}

.hero-float-badge span {
  font-size: 12px;
  color: #5a6472;
}

.hero-chip {
  position: absolute;
  top: 30px;
  right: -18px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-gold);
}

/* ============================================
   MARQUEE strip — routes ticker
   ============================================ */
.marquee {
  background: var(--blue-deep);
  color: var(--blue-soft);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scrollMarquee 32s linear infinite;
}

.marquee-track span {
  padding: 14px 36px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
}

.marquee-track span::after {
  content: "✦";
  color: var(--gold);
  margin-left: 36px;
}

@keyframes scrollMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section {
  position: relative;
  padding: 110px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 60px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--blue-deep);
}

.section-head p {
  color: #586073;
  font-size: 16px;
}

/* ============================================
   ROUTES — premium drag-scroll showcase
   ============================================ */
.routes {
  background: var(--paper);
}

.route-scroller {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--blue) transparent;
}

.route-scroller:active {
  cursor: grabbing;
}

.route-scroller::-webkit-scrollbar {
  height: 6px;
}

.route-scroller::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 10px;
}

.route-card {
  position: relative;
  flex: 0 0 300px;
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease);
}

.route-card:hover {
  box-shadow: var(--shadow-md);
}

.route-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.route-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.route-card:hover .route-card-img img {
  transform: scale(1.08);
}

.route-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 32, 63, 0.75), transparent 60%);
}

.route-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 100px;
  z-index: 2;
}

.route-card-body {
  padding: 22px;
}

.route-card-body h4 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 6px;
}

.route-card-body p {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 16px;
}

.route-card-body a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--blue);
  text-decoration: none;
}

.route-card-body a::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

.route-card-body a:hover::after {
  transform: translateX(4px);
}

/* ============================================
   ABOUT — split with floating stat card
   ============================================ */
.about {
  background: var(--white);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;

  object-fit: cover;
}

.about-stat-card {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--blue-deep);
  color: var(--white);
  padding: 26px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.about-stat-card .num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: var(--gold);
}

.about-stat-card .label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.about-copy p {
  color: #586073;
  font-size: 16.5px;
  margin-bottom: 28px;
}

.about-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--blue-deep);
}

.about-list .check {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* ============================================
   SERVICES — Bento Grid
   ============================================ */
.services {
  background: var(--paper);
}

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

.bento-item {
  position: relative;
  border-radius: var(--radius-md);
  padding: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  will-change: transform;
}

.bento-item:hover {
  box-shadow: var(--shadow-lg);
}

.bento-item h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.bento-item p {
  font-size: 14.5px;
  opacity: 0.85;
}

.bento-item .bento-icon {
  position: absolute;
  top: 28px;
  left: 28px;
  font-size: 30px;
}

.bento-1 {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(160deg, var(--blue-deep), var(--blue-dark));
  color: var(--white);
}

.bento-2 {
  grid-column: span 2;
  grid-row: span 1;
  background: var(--white);
  color: var(--blue-deep);
  box-shadow: var(--shadow-sm);
}

.bento-3 {
  grid-column: span 1;
  grid-row: span 1;
  background: var(--gold);
  color: var(--ink);
}

.bento-4 {
  grid-column: span 1;
  grid-row: span 1;
  background: var(--white);
  color: var(--blue-deep);
  box-shadow: var(--shadow-sm);
}

.bento-1 .bento-icon,
.bento-2 .bento-icon,
.bento-4 .bento-icon {
  color: var(--gold);
}

.bento-3 .bento-icon {
  color: var(--blue-deep);
}

/* ============================================
   FLEET — interactive showcase with spec panel
   ============================================ */
.fleet {
  background: var(--blue-deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

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

.fleet .section-head p {
  color: rgba(255, 255, 255, 0.65);
}

.fleet-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.fleet-stage {
  position: relative;
  height: 380px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.fleet-stage img {
  max-width: 82%;
  max-height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.4));
}

.fleet-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.fleet-tab {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.fleet-tab.active,
.fleet-tab:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.fleet-info h3 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 10px;
}

.fleet-info p.fleet-desc {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 26px;
  max-width: 420px;
}

.fleet-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.fleet-spec {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
}

.fleet-spec .val {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--gold);
}

.fleet-spec .lab {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
}

/* ============================================
   CTA
   ============================================ */
.cta {
  position: relative;
  background: linear-gradient(120deg, var(--gold), var(--gold-soft));
  color: var(--ink);
  padding: 90px 0;
  text-align: center;
  overflow: hidden;
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.cta p {
  font-size: 17px;
  margin: 16px 0 34px;
  opacity: 0.85;
}

.cta .btn-primary {
  background: var(--blue-deep);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.5fr 0.5fr 1.4fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

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

.footer-col h5 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-col p,
.footer-col a {
  display: block;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  margin-bottom: 10px;
}

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

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* ============================================
   FLOATING CALL + MAGNETIC CURSOR
   ============================================ */
.floating-call {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 999;
}

.floating-call a {
  width: 60px;
  height: 60px;
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45);
}

.magnetic-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .magnetic-cursor {
    display: block;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    height: 420px;
    order: -1;
  }

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

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 200px);
  }

  .bento-1 {
    grid-column: span 2;
  }

  .fleet-layout {
    grid-template-columns: 1fr;
  }

  .section-head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar-toggler {
    display: block;
  }

  .nav-links,
  .nav-cta .call-btn {
    display: none;
  }

  .hero {
    padding: 70px 0 60px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-stats {
    gap: 22px;
    flex-wrap: wrap;
  }

  .section {
    padding: 70px 0;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 200px);
  }

  .bento-1,
  .bento-2 {
    grid-column: span 1;
  }

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

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

  .about-stat-card {
    right: 10px;
    bottom: -20px;
    padding: 18px 20px;
  }

  .hero-float-badge {
    left: 10px;
  }

  .hero-chip {
    right: 10px;
  }
}

/* ==================== AUTO CALL POPUP CSS */
/* ============================================
AUTO CALL POPUP
============================================= */

.call-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0, 20, 40, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.call-popup-overlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.call-popup {
  width: min(430px, calc(100% - 32px));
  position: relative;

  background: #ffffff;
  border-radius: 26px;

  padding: 34px 32px 30px;

  text-align: center;

  box-shadow:
    0 30px 90px rgba(0, 32, 63, 0.28);

  border: 1px solid rgba(0, 87, 184, 0.10);

  transform: translateY(35px) scale(0.94);
  opacity: 0;

  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.4s ease;
}

.call-popup-overlay.show .call-popup {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Close Button */

.call-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;

  width: 34px;
  height: 34px;

  border: none;
  border-radius: 50%;

  background: #f1f4f8;
  color: #263445;

  font-size: 24px;
  line-height: 1;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.call-popup-close:hover {
  background: #e5ebf2;
  transform: rotate(90deg);
}

/* Phone Icon */

.call-popup-icon {
  width: 72px;
  height: 72px;

  margin: 0 auto 20px;

  border-radius: 50%;

  background: linear-gradient(145deg,
      var(--gold),
      var(--gold-soft));

  color: var(--blue-deep);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 32px;

  box-shadow:
    0 12px 30px rgba(246, 181, 0, 0.30);

  animation: callPopupPulse 2s infinite;
}

.call-popup-icon span {
  display: block;
  transform: rotate(-12deg);
}

/* Text */

.call-popup-label {
  display: inline-flex;
  align-items: center;

  padding: 6px 12px;

  border-radius: 50px;

  background: var(--blue-soft);
  color: var(--blue);

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 0.12em;
}

.call-popup h3 {
  margin: 13px 0 8px;

  font-family: var(--font-display);

  font-size: 31px;
  line-height: 1.1;

  color: var(--blue-deep);

  letter-spacing: -0.02em;
}

.call-popup-content>p {
  max-width: 330px;

  margin: 0 auto 22px;

  color: #667085;

  font-size: 14px;
  line-height: 1.65;
}

/* Call Button */

.call-popup-btn {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 13px;

  padding: 15px 20px;

  border-radius: 15px;

  background: var(--blue-deep);
  color: #ffffff;

  text-decoration: none;

  box-shadow:
    0 14px 30px rgba(0, 32, 63, 0.22);

  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    background 0.3s ease;
}

.call-popup-btn:hover {
  transform: translateY(-3px);

  background: var(--blue-dark);

  box-shadow:
    0 18px 38px rgba(0, 32, 63, 0.28);
}

.call-popup-phone {
  width: 40px;
  height: 40px;

  border-radius: 50%;

  background: var(--gold);

  color: var(--blue-deep);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 19px;
}

.call-popup-btn small {
  display: block;

  text-align: left;

  font-size: 10px;
  line-height: 1.2;

  opacity: 0.65;

  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.call-popup-btn span:last-child {
  font-size: 16px;
  font-weight: 700;
}

/* Availability */

.call-popup-note {
  margin-top: 16px;

  color: #667085;

  font-size: 11px;
  font-weight: 600;
}

.call-popup-note::first-letter {
  color: #20b26b;
}

/* Pulse */

@keyframes callPopupPulse {

  0% {
    box-shadow:
      0 12px 30px rgba(246, 181, 0, 0.30),
      0 0 0 0 rgba(246, 181, 0, 0.35);
  }

  70% {
    box-shadow:
      0 12px 30px rgba(246, 181, 0, 0.30),
      0 0 0 14px rgba(246, 181, 0, 0);
  }

  100% {
    box-shadow:
      0 12px 30px rgba(246, 181, 0, 0.30),
      0 0 0 0 rgba(246, 181, 0, 0);
  }

}

/* Mobile */

@media (max-width: 600px) {

  .call-popup {
    width: calc(100% - 28px);
    padding: 30px 22px 24px;
    border-radius: 23px;
  }

  .call-popup-icon {
    width: 64px;
    height: 64px;
    font-size: 28px;
    margin-bottom: 17px;
  }

  .call-popup h3 {
    font-size: 27px;
  }

  .call-popup-content>p {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .call-popup-btn {
    padding: 14px 16px;
  }

}

/* Reduced Motion */

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

  .call-popup,
  .call-popup-overlay,
  .call-popup-icon {
    animation: none !important;
    transition: none !important;
  }

}