:root {
  --radius: 14px;
  --radius-sm: 10px;
  --font: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1120px;
  --touch-min: 44px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

html[data-theme="dark"],
html:not([data-theme]) {
  color-scheme: dark;
  --bg: #0b1020;
  --bg-elevated: #121a32;
  --surface: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.12);
  --text: #eef2ff;
  --muted: #a7b0d8;
  --accent: #5eead4;
  --accent-2: #38bdf8;
  --accent-on: #042f2e;
  --danger: #fb7185;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --header-bg: rgba(11, 16, 32, 0.92);
  --nav-backdrop: rgba(0, 0, 0, 0.55);
  --hero-overlay: rgba(11, 16, 32, 0.88);
  --hero-overlay-strong: rgba(11, 16, 32, 0.94);
  /* Photo heroes — always dark scrim (warm/orange night photos bleed through light overlays) */
  --hero-photo-overlay: rgba(11, 16, 32, 0.9);
  --hero-photo-overlay-strong: rgba(11, 16, 32, 0.96);
  --hero-photo-scrim: rgba(11, 16, 32, 0.78);
  --hero-card-bg: linear-gradient(160deg, rgba(20, 28, 46, 0.92), rgba(11, 16, 32, 0.88));
  --contact-float-bg: #ffffff;
  --contact-float-text: #334155;
  --contact-float-border: rgba(15, 23, 42, 0.08);
  --input-bg: rgba(0, 0, 0, 0.35);
  --quote-text: #dbeafe;
  --section-alt-bg: rgba(255, 255, 255, 0.02);
  --cta-bg: linear-gradient(120deg, rgba(56, 189, 248, 0.12), rgba(94, 234, 212, 0.08));
  --btn-ghost-hover: rgba(255, 255, 255, 0.06);
  --btn-on-dark-border: rgba(255, 255, 255, 0.35);
  --btn-on-dark-text: #f8fafc;
  --btn-on-dark-hover: rgba(255, 255, 255, 0.1);
  --success-text: #ccfbf1;
  --success-bg: rgba(94, 234, 212, 0.1);
  --success-border: rgba(94, 234, 212, 0.45);
  --error-text: #fecdd3;
  --error-bg: rgba(251, 113, 133, 0.1);
  --error-border: rgba(251, 113, 133, 0.45);
  --tabs-bg: rgba(0, 0, 0, 0.25);
  --lang-switch-bg: rgba(0, 0, 0, 0.25);
  --tab-active-bg: rgba(255, 255, 255, 0.1);
  --lang-active-bg: rgba(255, 255, 255, 0.12);
  --nav-active-bg: rgba(255, 255, 255, 0.06);
  --search-card-bg: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f1f5f9;
  --bg-elevated: #ffffff;
  --surface: rgba(15, 23, 42, 0.04);
  --border: rgba(15, 23, 42, 0.12);
  --text: #0f172a;
  --muted: #64748b;
  --accent: #0d9488;
  --accent-2: #0284c7;
  --accent-on: #f0fdfa;
  --danger: #e11d48;
  --shadow: 0 16px 48px rgba(15, 23, 42, 0.1);
  --header-bg: rgba(241, 245, 249, 0.92);
  --nav-backdrop: rgba(15, 23, 42, 0.35);
  --hero-overlay: rgba(241, 245, 249, 0.82);
  --hero-overlay-strong: rgba(241, 245, 249, 0.94);
  --hero-photo-overlay: rgba(11, 16, 32, 0.9);
  --hero-photo-overlay-strong: rgba(11, 16, 32, 0.96);
  --hero-photo-scrim: rgba(11, 16, 32, 0.78);
  --hero-card-bg: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.92));
  --contact-float-bg: #ffffff;
  --contact-float-text: #334155;
  --contact-float-border: rgba(15, 23, 42, 0.1);
  --input-bg: #ffffff;
  --quote-text: #1e293b;
  --section-alt-bg: rgba(15, 23, 42, 0.04);
  --cta-bg: linear-gradient(120deg, rgba(56, 189, 248, 0.2), rgba(13, 148, 136, 0.14));
  --btn-ghost-hover: rgba(15, 23, 42, 0.06);
  --btn-on-dark-border: rgba(15, 23, 42, 0.22);
  --btn-on-dark-text: #0f172a;
  --btn-on-dark-hover: rgba(15, 23, 42, 0.08);
  --success-text: #115e59;
  --success-bg: rgba(13, 148, 136, 0.12);
  --success-border: rgba(13, 148, 136, 0.35);
  --error-text: #9f1239;
  --error-bg: rgba(225, 29, 72, 0.08);
  --error-border: rgba(225, 29, 72, 0.3);
  --tabs-bg: rgba(15, 23, 42, 0.06);
  --lang-switch-bg: rgba(15, 23, 42, 0.06);
  --muted: #475569;
  --tab-active-bg: #ffffff;
  --lang-active-bg: #ffffff;
  --nav-active-bg: rgba(15, 23, 42, 0.06);
  --search-card-bg: linear-gradient(160deg, #ffffff, #f8fafc);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

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

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

a:hover {
  text-decoration: underline;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--accent);
  color: var(--accent-on);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 100;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  isolation: isolate;
  padding-top: var(--safe-top);
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  border: 0;
  padding: 0;
  margin: 0;
  background: var(--nav-backdrop);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.header-lang-switch,
.theme-toggle {
  flex-shrink: 0;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

html[data-theme="light"] .theme-toggle:hover {
  background: rgba(15, 23, 42, 0.06);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.theme-toggle__icon {
  display: flex;
  width: 1.35rem;
  height: 1.35rem;
}

.theme-toggle__svg {
  width: 100%;
  height: 100%;
}

.theme-settings {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.5rem 0.65rem;
  margin: 0.25rem 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.15);
}

html[data-theme="light"] .theme-settings {
  background: rgba(15, 23, 42, 0.04);
}

.theme-settings__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.theme-settings__row {
  display: flex;
  gap: 0.35rem;
}

.theme-settings__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.5rem;
  padding: 0.4rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.theme-settings__btn:hover {
  color: var(--text);
  border-color: rgba(94, 234, 212, 0.35);
}

.theme-settings__btn--active {
  background: rgba(94, 234, 212, 0.12);
  border-color: rgba(94, 234, 212, 0.45);
  color: var(--accent);
}

html[data-theme="light"] .theme-settings__btn--active {
  background: rgba(13, 148, 136, 0.1);
  border-color: rgba(13, 148, 136, 0.35);
  color: var(--accent);
}

.theme-settings__icon {
  display: flex;
  width: 1.1rem;
  height: 1.1rem;
}

.theme-settings__icon svg {
  width: 100%;
  height: 100%;
}

.dashboard-lang-bar .theme-settings {
  flex: 1 1 100%;
  margin: 0;
}

@media (min-width: 769px) {
  .nav .theme-settings {
    display: none;
  }

  .dashboard-lang-bar .theme-settings {
    flex: 0 1 auto;
    margin-left: auto;
    flex-direction: row;
    align-items: center;
    gap: 0.65rem;
    padding: 0.35rem 0.5rem;
  }

  .dashboard-lang-bar .theme-settings__row {
    flex: 0 0 auto;
  }
}

.nav-backdrop[hidden] {
  display: none !important;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.logo__mark {
  flex-shrink: 0;
  display: block;
}

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

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

.logo--footer span,
.logo--footer .logo__word span {
  color: var(--accent-2);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav a:hover {
  color: var(--text);
}

.header-lang-switch {
  flex-shrink: 0;
}

@media (min-width: 769px) {
  .nav .header-lang-switch {
    margin-right: 0.25rem;
  }
}

.nav-toggle {
  display: none;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  background: transparent;
  border: 0;
  padding: 0.5rem;
  margin-left: auto;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  border-radius: var(--radius-sm);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    top: calc(100% + 0.35rem);
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    max-height: min(70vh, calc(100dvh - 5rem - var(--safe-top) - var(--safe-bottom)));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.75rem;
    background: var(--bg-elevated);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    z-index: 60;
  }

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

  .nav a,
  .nav .btn {
    display: flex;
    align-items: center;
    min-height: var(--touch-min);
    padding: 0.5rem 0.65rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
  }

  .nav a:active,
  .nav .btn:active {
    background: var(--nav-active-bg);
  }

  .nav .lang-switch {
    margin: 0.25rem 0 0.5rem;
    align-self: flex-start;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header {
    position: sticky;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: 3rem 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(94, 234, 212, 0.25), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(56, 189, 248, 0.18), transparent),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M60 20 L75 55 L60 48 L45 55 Z' fill='%235eead4' fill-opacity='0.06'/%3E%3C/svg%3E")
      repeat;
  background-size: auto, auto, 140px 140px;
  pointer-events: none;
}

.hero-bg--photo {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 35%;
}

.hero-bg--luggage {
  background-image:
    linear-gradient(105deg, var(--hero-photo-overlay-strong) 0%, var(--hero-photo-overlay) 42%, var(--hero-photo-scrim) 68%, var(--hero-photo-overlay) 100%),
    linear-gradient(180deg, transparent 0%, transparent 40%, var(--hero-photo-overlay-strong) 100%),
    url("/images/hero-luggage.jpg");
}

.hero-bg--runway {
  background-image:
    linear-gradient(105deg, var(--hero-photo-overlay-strong) 0%, var(--hero-photo-overlay) 36%, var(--hero-photo-scrim) 58%, var(--hero-photo-overlay-strong) 100%),
    linear-gradient(180deg, transparent 0%, transparent 32%, var(--hero-photo-overlay-strong) 100%),
    radial-gradient(ellipse 50% 40% at 70% 58%, rgba(94, 234, 212, 0.14), transparent),
    url("/images/runway-night.png");
  background-position: center 42%;
}

/* Hero night-drive slideshow (slow crossfade) */
.hero-bg--slideshow {
  background: none;
}

.hero-bg--slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      var(--hero-photo-overlay-strong) 0%,
      var(--hero-photo-overlay) 30%,
      var(--hero-photo-scrim) 50%,
      rgba(11, 16, 32, 0.55) 68%,
      rgba(11, 16, 32, 0.62) 100%
    ),
    linear-gradient(180deg, transparent 0%, transparent 32%, rgba(11, 16, 32, 0.55) 68%, var(--hero-photo-overlay-strong) 100%),
    radial-gradient(ellipse 55% 45% at 72% 32%, rgba(94, 234, 212, 0.08), transparent);
}

.hero-bg--slideshow .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: hero-slide-fade 70s ease-in-out infinite;
  will-change: opacity;
}

.hero-bg--slideshow .hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Portrait POV — keep overhead signs & LED text in frame (top band) */
.hero-bg--slideshow .hero-slide:nth-child(1) img {
  object-position: center 14%;
}

.hero-bg--slideshow .hero-slide:nth-child(2) img {
  object-position: center 12%;
}

.hero-bg--slideshow .hero-slide:nth-child(3) img {
  object-position: center 10%;
}

.hero-bg--slideshow .hero-slide:nth-child(4) img {
  object-position: center 14%;
}

.hero-bg--slideshow .hero-slide:nth-child(5) img {
  object-position: center 12%;
}

.hero--drive .hero-bg--slideshow .hero-slide {
  overflow: hidden;
}

/* Slight zoom-out so dashboard & road signs stay readable, not cropped tight */
.hero--drive .hero-bg--slideshow .hero-slide img {
  transform: scale(0.9);
  transform-origin: center 14%;
}

.hero--drive .hero-bg--slideshow .hero-slide:nth-child(3) img {
  transform: scale(0.9);
  transform-origin: center 10%;
}

@media (max-width: 720px) {
  .hero-bg--slideshow .hero-slide img {
    object-position: center 12%;
  }

  .hero-bg--slideshow .hero-slide:nth-child(3) img {
    object-position: center 10%;
  }

  .hero--drive .hero-bg--slideshow .hero-slide img {
    transform: scale(0.92);
    transform-origin: center 12%;
  }
}

.hero-bg--slideshow .hero-slide:nth-child(1) {
  animation-delay: 0s;
}

.hero-bg--slideshow .hero-slide:nth-child(2) {
  animation-delay: -14s;
}

.hero-bg--slideshow .hero-slide:nth-child(3) {
  animation-delay: -28s;
}

.hero-bg--slideshow .hero-slide:nth-child(4) {
  animation-delay: -42s;
}

.hero-bg--slideshow .hero-slide:nth-child(5) {
  animation-delay: -56s;
}

@keyframes hero-slide-fade {
  0% {
    opacity: 0;
  }

  3% {
    opacity: 1;
  }

  17% {
    opacity: 1;
  }

  20% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg--slideshow .hero-slide {
    animation: none;
  }

  .hero-bg--slideshow .hero-slide:first-child {
    opacity: 1;
  }

  .hero--drive .hero-bg--slideshow .hero-slide img {
    transform: none;
  }
}

.hero-bg--departures {
  background-image:
    linear-gradient(105deg, var(--hero-photo-overlay-strong) 0%, var(--hero-photo-overlay) 45%, var(--hero-photo-scrim) 100%),
    linear-gradient(180deg, transparent 0%, var(--hero-photo-overlay-strong) 100%),
    radial-gradient(ellipse 70% 60% at 50% 20%, rgba(94, 234, 212, 0.12), transparent),
    url("/images/zvartnots-terminal.png");
  background-position: center 40%;
}

.hero-bg--van {
  background-image:
    linear-gradient(105deg, var(--hero-photo-overlay-strong) 0%, var(--hero-photo-overlay) 40%, var(--hero-photo-scrim) 100%),
    linear-gradient(180deg, transparent 0%, var(--hero-photo-overlay-strong) 100%),
    url("/images/van-luggage.jpg");
  background-position: center 55%;
}

.hero--photo {
  min-height: min(92vh, 52rem);
  padding: 3.5rem 0 4.5rem;
}

/* POV drive hero — portrait slides; keep signs & dashboard text in frame */
.hero--drive.hero--photo {
  min-height: min(72vh, 36rem);
  padding: 2.75rem 0 3.5rem;
}

@media (max-width: 719px) {
  .hero--drive.hero--photo {
    min-height: min(64vh, 28rem);
    padding: 2.25rem 0 3rem;
  }
}

.hero--photo .hero-copy h1,
.hero--photo .hero-copy .lede,
.hero--photo .hero-copy .hero-note,
.hero--photo .hero-copy .eyebrow {
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.85),
    0 4px 28px rgba(0, 0, 0, 0.55);
}

.hero--photo .hero-copy h1 {
  color: #f1f5f9;
}

.hero--photo .hero-copy .lede {
  color: #cbd5e1;
}

.hero--photo .hero-copy .hero-note {
  color: #94a3b8;
}

.hero--photo .hero-copy .eyebrow {
  color: #7dd3fc;
}

.hero--photo .btn--ghost {
  color: #f1f5f9;
  border-color: rgba(255, 255, 255, 0.38);
}

.hero--photo .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero--photo .search-card {
  background: var(--hero-card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.hero--photo.hero--rent,
.hero--photo.hero--corp {
  min-height: auto;
}

/* POV drive slideshow — site text in top-left sky; signs stay visible center */
.hero--drive .hero-bg--slideshow::after {
  background:
    linear-gradient(
      90deg,
      var(--hero-photo-overlay-strong) 0%,
      var(--hero-photo-overlay) 38%,
      rgba(11, 16, 32, 0.55) 52%,
      rgba(11, 16, 32, 0.2) 68%,
      transparent 78%
    ),
    linear-gradient(
      180deg,
      rgba(11, 16, 32, 0.45) 0%,
      transparent 20%,
      transparent 48%,
      rgba(11, 16, 32, 0.45) 72%,
      var(--hero-photo-overlay-strong) 100%
    );
}

.hero--drive .hero-grid {
  align-items: start;
}

@media (min-width: 960px) {
  .hero--drive .hero-grid {
    grid-template-columns: minmax(0, 1fr) 420px;
    grid-template-areas:
      "copy card"
      "routes card";
    align-items: start;
  }

  .hero--drive .hero-copy {
    grid-area: copy;
    max-width: min(22rem, 38vw);
    padding-top: 0.15rem;
  }

  .hero--drive .search-card {
    grid-area: card;
    align-self: center;
  }

  .hero--drive .route-showcase-mount {
    grid-area: routes;
    max-width: min(28rem, 48vw);
  }
}

.hero--drive .hero-copy .lede,
.hero--drive .hero-copy .hero-note {
  max-width: 38ch;
}

.hero--drive .route-showcase-mount {
  margin-top: 1.25rem;
}

.hero--drive .route-showcase--compact {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
}

.hero--drive .route-showcase--compact .route-showcase__title {
  font-size: 0.9rem;
}

.hero--drive .route-showcase--compact .route-showcase__lede {
  margin-bottom: 0.65rem;
  font-size: 0.8rem;
}

.hero--drive .route-showcase--compact .route-showcase__featured {
  margin-bottom: 0.55rem;
  padding: 0.45rem 0.35rem;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr 420px;
    gap: 3rem;
    align-items: center;
  }
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-2);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.hero-copy h1 {
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 52ch;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-note {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 48ch;
}

.hero-note code,
.panel code {
  font-size: 0.88em;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  font-family: ui-monospace, monospace;
}

/* Search card */
.search-card {
  background: var(--search-card-bg);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.card-title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.card-sub {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin-bottom: 1rem;
  padding: 0.25rem;
  background: var(--tabs-bg);
  border-radius: var(--radius-sm);
}

.tab {
  border: 0;
  border-radius: calc(var(--radius-sm) - 2px);
  padding: 0.65rem 0.75rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  transition: background 0.2s, color 0.2s;
}

.tab.is-active {
  background: var(--tab-active-bg);
  color: var(--text);
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  align-items: end;
}

/* Անուն + հեռախոս — հեռախոսը կոմպակտ, աջից չի դուրս գալիս */
.field-row--name-phone {
  grid-template-columns: minmax(0, 1fr) 9.25rem;
}

.field-row--name-phone .field--phone {
  min-width: 0;
}

.field-row--name-phone .field--phone input {
  width: 100%;
}

/* Մուտք — հեռախոս + գաղտնաբառ մի տողում */
.field-row--login {
  grid-template-columns: 9.25rem minmax(0, 1fr);
}

.field-row--login .field--phone {
  min-width: 0;
}

.field-row--login .field--phone input {
  width: 100%;
}

@media (max-width: 540px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

.field--checkbox {
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
}

.field--checkbox input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.field--checkbox .label {
  text-transform: none;
  letter-spacing: normal;
}

.field-hint {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.field--photos input[type="file"] {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
}

.photo-upload-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.photo-upload-preview__item {
  position: relative;
  width: 88px;
  height: 66px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.photo-upload-preview__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-upload-preview__remove {
  position: absolute;
  top: 0.2rem;
  right: 0.2rem;
  width: 1.35rem;
  height: 1.35rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.photo-upload-preview__remove:hover {
  background: rgba(185, 28, 28, 0.9);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-inline-end: 0.75rem;
  padding: 0.2rem;
  border-radius: var(--radius-sm);
  background: var(--lang-switch-bg);
  border: 1px solid var(--border);
}

.lang-switch__btn {
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  background: transparent;
  color: var(--muted);
}

.lang-switch__btn:hover {
  color: var(--text);
}

.lang-switch__btn--active {
  background: var(--lang-active-bg);
  color: var(--text);
}

input,
select,
textarea {
  font: inherit;
  color: var(--text);
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

textarea {
  resize: vertical;
  min-height: 5rem;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(94, 234, 212, 0.55);
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.15);
}

input:invalid:not(:placeholder-shown):not(:focus),
select:invalid:not(:focus),
textarea:invalid:not(:placeholder-shown):not(:focus) {
  border-color: rgba(251, 113, 133, 0.5);
}

.form-hint {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

.form-hint.is-hidden {
  display: none;
}

.form-success {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--success-border);
  background: var(--success-bg);
  color: var(--success-text);
  font-size: 0.9rem;
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font: inherit;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  padding: 0.65rem 1.1rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  text-decoration: none;
}

.btn--sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.88rem;
}

.btn--block {
  width: 100%;
  padding: 0.85rem 1rem;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), #2dd4bf);
  color: var(--accent-on);
  box-shadow: 0 12px 40px rgba(45, 212, 191, 0.35);
}

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

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

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

.btn--light {
  background: #f8fafc;
  color: #0f172a;
}

.btn--light:hover {
  background: #fff;
}

.btn--on-dark {
  border-color: var(--btn-on-dark-border);
  color: var(--btn-on-dark-text);
}

.btn--on-dark:hover {
  background: var(--btn-on-dark-hover);
  color: var(--btn-on-dark-text);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section--alt {
  background: var(--section-alt-bg);
  border-block: 1px solid var(--border);
}

.section-head {
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
}

.muted {
  color: var(--muted);
  margin: 0;
}

.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

.features li {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.features strong {
  font-size: 1.05rem;
}

.features span {
  color: var(--muted);
  font-size: 0.95rem;
}

.cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.card h3 {
  margin: 0 0 0.5rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Photo gallery & vehicle cards */
.visual-gallery {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.visual-gallery__grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 720px) {
  .visual-gallery__grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, minmax(9rem, 11.5rem));
  }

  .visual-tile--wide {
    grid-column: span 2;
    grid-row: span 2;
    max-height: 24rem;
  }
}

.visual-tile {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  background: var(--bg-elevated);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.visual-tile:hover {
  border-color: rgba(94, 234, 212, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(94, 234, 212, 0.08);
}

.visual-tile--wide {
  aspect-ratio: 16 / 10;
  min-height: 10rem;
  max-height: 18rem;
}

@media (min-width: 720px) {
  .visual-tile--wide {
    max-height: none;
  }
}

.visual-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.visual-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 16, 32, 0.25) 0%, rgba(11, 16, 32, 0.72) 55%, rgba(11, 16, 32, 0.94) 100%);
  pointer-events: none;
}

.visual-tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  margin: 0;
  padding: 0.75rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  color: #f1f5f9;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

.visual-tile:hover img {
  transform: scale(1.04);
}

.cards--visual .card--photo {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: 14rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cards--visual .card--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--card-photo);
  background-size: cover;
  background-position: center;
  transition: transform 0.45s ease;
}

.cards--visual .card--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 16, 32, 0.35) 0%, rgba(11, 16, 32, 0.72) 45%, rgba(11, 16, 32, 0.96) 88%);
}

.cards--visual .card--photo h3,
.cards--visual .card--photo p {
  position: relative;
  z-index: 1;
  padding-inline: 1.25rem;
}

.cards--visual .card--photo h3 {
  padding-top: 5rem;
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
  color: #f1f5f9;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.65);
}

.cards--visual .card--photo p {
  padding-bottom: 1.25rem;
  color: rgba(226, 232, 240, 0.85);
}

.cards--visual .card--photo:hover::before {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .visual-tile img,
  .cards--visual .card--photo::before {
    transition: none;
  }

  .visual-tile:hover img,
  .cards--visual .card--photo:hover::before {
    transform: none;
  }
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.partners {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

.partners--strip {
  margin-top: 0.5rem;
}

.partners__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  color: var(--muted);
  line-height: 1.3;
}

.partners__logo img {
  max-height: 2rem;
  width: auto;
  object-fit: contain;
}

.partners__loading {
  text-align: center;
  grid-column: 1 / -1;
}

/* Route showcase — օդանավակայան, գծի վրա կետեր */
.route-showcase {
  margin-top: 1.75rem;
  padding: 1.25rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(94, 234, 212, 0.08), rgba(56, 189, 248, 0.05));
}

.route-showcase__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  font-weight: 600;
}

.route-showcase__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.route-showcase__lede {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}

.route-showcase__featured {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.22);
}

.route-stop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 4.5rem;
  text-align: center;
}

.route-stop__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(94, 234, 212, 0.2), rgba(56, 189, 248, 0.12));
  border: 1px solid rgba(94, 234, 212, 0.35);
  color: var(--accent);
}

.route-stop__icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.route-stop__name {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
}

.route-stop__sub {
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.route-connector {
  flex: 1;
  max-width: 5.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0 0.25rem;
}

.route-connector__line {
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  position: relative;
}

.route-connector__line::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--accent-2);
}

.route-connector__car {
  font-size: 0.85rem;
  opacity: 0.85;
  line-height: 1;
}

.route-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.route-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.route-chip:hover {
  border-color: rgba(94, 234, 212, 0.45);
  background: rgba(94, 234, 212, 0.08);
}

.route-chip--active {
  border-color: var(--accent);
  background: rgba(94, 234, 212, 0.12);
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.25);
}

.route-chip__icons {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.route-chip__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
}

.route-chip__dot--a {
  background: var(--accent-2);
}

.route-chip__dot--b {
  background: var(--accent);
}

.route-chip__arrow {
  font-size: 0.7rem;
  color: var(--muted);
}

.route-showcase--compact {
  margin-top: 0;
  padding: 1rem;
}

.route-showcase--compact .route-showcase__title {
  font-size: 0.95rem;
}

.route-showcase--compact .route-showcase__featured {
  margin-bottom: 0.75rem;
  padding: 0.5rem;
}

.route-showcase--aside {
  position: sticky;
  top: 5.5rem;
}

/* Connected events — ուղղահայաց կապված ծառայություններ */
.connected-events-mount {
  width: 100%;
}

.connected-events__head {
  margin-bottom: 1.5rem;
}

.connected-events__grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .connected-events__grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
}

.trip-bundle {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.15rem 1.1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.trip-bundle__head {
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.trip-bundle__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.trip-bundle__sub {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.trip-bundle__badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-2);
  background: rgba(94, 234, 212, 0.1);
  border: 1px solid rgba(94, 234, 212, 0.25);
}

.trip-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.trip-step {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  grid-template-rows: auto;
  align-items: center;
  gap: 0.65rem 0.75rem;
  padding: 0.85rem 0 0.85rem 0.35rem;
}

.trip-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 2.65rem;
  bottom: -0.15rem;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(56, 189, 248, 0.35));
  border-radius: 2px;
  z-index: 0;
}

.trip-step__rail {
  display: none;
}

.trip-step__dot {
  display: none;
}

.trip-step__icon {
  position: relative;
  z-index: 1;
  width: 2.35rem;
  height: 2.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  color: var(--accent);
  background: linear-gradient(160deg, rgba(94, 234, 212, 0.18), rgba(56, 189, 248, 0.1));
  border: 1px solid rgba(94, 234, 212, 0.35);
}

.trip-step__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.trip-step__thumb {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  grid-column: 2;
  grid-row: 1;
}

.trip-step--hotel .trip-step__icon,
.trip-step--car .trip-step__icon {
  display: none;
}

.trip-step--transfer .trip-step__thumb {
  display: none;
}

.trip-step__body {
  min-width: 0;
  grid-column: 3;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.trip-step__kind {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent-2);
}

.trip-step__title {
  font-size: 0.88rem;
  line-height: 1.35;
}

.trip-step__sub {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.35;
}

.trip-step__price {
  font-size: 0.76rem;
  color: var(--muted);
}

.trip-step__muted {
  font-size: 0.82rem;
  color: var(--muted);
}

.trip-step__btn {
  grid-column: 4;
  grid-row: 1;
  white-space: nowrap;
}

.trip-step--empty .trip-step__btn {
  display: none;
}

@media (max-width: 480px) {
  .trip-step {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }

  .trip-step__body {
    grid-column: 2;
  }

  .trip-step__btn {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    margin-left: 3.1rem;
  }

  .trip-step:not(:last-child)::after {
    left: 1.15rem;
  }
}

.connected-events__loading {
  text-align: center;
  padding: 2rem 0;
}

html[data-theme="light"] .trip-bundle {
  background: #fff;
}

html[data-theme="light"] .trip-step__icon {
  background: rgba(14, 116, 144, 0.08);
}

/* Driver — երկու սյուն, դատարկ տարածքը լրացնել */
.dashboard-lang-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.65rem 1rem;
  margin-bottom: 0.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.dashboard-lang-bar__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.driver-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.driver-layout > .dashboard-lang-bar {
  grid-column: 1 / -1;
}

@media (min-width: 900px) {
  .driver-layout {
    grid-template-columns: minmax(260px, 320px) 1fr;
    gap: 2.5rem;
  }

  .driver-aside {
    min-height: 12rem;
  }
}

.driver-aside .route-showcase {
  height: 100%;
}

.driver-main {
  min-width: 0;
}

.tasks-empty {
  padding: 1.5rem 1rem;
  text-align: center;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border);
  background: rgba(0, 0, 0, 0.15);
}

.tasks-empty__route {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.tasks-empty__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border-radius: 50%;
  background: rgba(94, 234, 212, 0.12);
  border: 1px solid rgba(94, 234, 212, 0.3);
}

.tasks-empty__line {
  width: 3rem;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  border-radius: 2px;
}

.hero--rent {
  min-height: auto;
  padding: 3rem 0 2.5rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--accent-2);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--text);
}

.rent-search-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.rent-search-form .field--grow {
  flex: 1 1 12rem;
}

.field-row--rent-top,
.field-row--rent-bottom {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .field-row--rent-top {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .field-row--rent-bottom {
    grid-template-columns: 2fr 1fr auto;
    align-items: end;
  }

  .field-row--rent-bottom .field--btn {
    min-width: 8.5rem;
  }
}

.rent-class-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.rent-class-tab {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.rent-class-tab:hover {
  color: var(--text);
  border-color: rgba(94, 234, 212, 0.35);
}

.rent-class-tab--active {
  background: rgba(94, 234, 212, 0.12);
  border-color: rgba(94, 234, 212, 0.45);
  color: var(--accent);
}

.rent-count {
  margin: 0 0 1rem;
  font-size: 0.92rem;
}

.rent-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 560px) {
  .rent-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .rent-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rent-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.rent-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  border-color: rgba(94, 234, 212, 0.25);
}

.rent-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 55%),
    linear-gradient(135deg, color-mix(in srgb, var(--rent-accent, #38bdf8) 55%, #0b1020), #0b1020 70%);
  overflow: hidden;
}

.rent-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.rent-card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(11, 16, 32, 0.85), transparent);
  pointer-events: none;
}

.rent-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(11, 16, 32, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--accent);
}

.rent-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1rem 1.1rem 1.15rem;
  flex: 1;
}

.rent-card__title {
  margin: 0;
  font-size: 1.05rem;
}

.rent-card__meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.rent-card__meta strong {
  color: var(--text);
  font-weight: 600;
}

.rent-card__price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

.rent-card__price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
}

.rent-card__price small {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

.rent-card__btn {
  align-self: flex-start;
}

.rent-empty {
  text-align: center;
  padding: 2rem 1rem;
}

.rent-book-card {
  max-width: 640px;
  margin-inline: auto;
}

.hero--corp {
  min-height: auto;
  padding: 3.5rem 0 2.5rem;
}

.hero-copy--center {
  max-width: 52rem;
  margin-inline: auto;
  text-align: center;
}

.corp-form-card {
  max-width: 36rem;
  margin-inline: auto;
}

.badge--corp {
  display: inline-block;
  margin-bottom: 0.25rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(94, 234, 212, 0.15);
  color: var(--accent);
  border: 1px solid rgba(94, 234, 212, 0.35);
}

.reviews {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .reviews {
    grid-template-columns: repeat(3, 1fr);
  }
}

.reviews blockquote {
  margin: 0;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
}

.reviews p {
  margin: 0 0 0.75rem;
  font-style: italic;
  color: var(--quote-text);
}

.reviews footer {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: normal;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.5rem 0 0;
  text-align: center;
}

.stats dt {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
}

.stats dd {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.pill-stats {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.pill-stats li {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.cta {
  padding: 3rem 0;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border);
  background: var(--cta-bg);
  color: var(--text);
}

.cta h2 {
  margin: 0 0 0.35rem;
  color: var(--text);
}

.cta .muted {
  color: var(--muted);
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* Offers */
.offers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.offer {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

@media (min-width: 640px) {
  .offer {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.offer-meta h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.offer-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.offer-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.offer-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.small {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* Dashboard */
.page-dashboard .header-inner {
  flex-wrap: wrap;
}

.panel-page {
  padding: 2rem 0 4rem;
}

.panel-page > .dashboard-lang-bar {
  margin-bottom: 1.25rem;
}

.panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.5rem;
}

.panel h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

/* Owner dashboard */
.owner-login-panel {
  max-width: 26rem;
  margin: 0 auto;
  text-align: center;
}

.owner-login-panel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(94, 234, 212, 0.12);
  color: var(--accent);
}

.owner-dash-header__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.owner-dash-header__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.owner-dash-header__title {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.owner-dash-header__sub {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
}

.owner-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.45;
}

.owner-banner--ok {
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.owner-banner--warn {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.owner-banner__icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 50%;
  font-size: 0.85rem;
}

.owner-banner--ok .owner-banner__icon {
  background: rgba(74, 222, 128, 0.2);
  color: #86efac;
}

.owner-banner--warn .owner-banner__icon {
  background: rgba(251, 191, 36, 0.2);
  color: #fcd34d;
}

.owner-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .owner-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.owner-stat-card {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
  cursor: default;
  transition: border-color 0.15s, transform 0.12s;
}

.owner-stat-card__value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
}

.owner-stat-card__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.owner-stat-card--awaiting .owner-stat-card__value {
  color: #a5b4fc;
}

.owner-stat-card--paid .owner-stat-card__value {
  color: #86efac;
}

.owner-stat-card--tasks .owner-stat-card__value {
  color: var(--accent);
}

.owner-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  padding: 0.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.owner-tabs__btn {
  flex: 1 1 auto;
  min-width: 7rem;
  padding: 0.55rem 0.85rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.owner-tabs__btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.owner-tabs__btn--active {
  background: rgba(94, 234, 212, 0.12);
  color: var(--accent);
}

.owner-tab-panel {
  display: none;
}

.owner-tab-panel--active {
  display: block;
}

.owner-toolbar {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

@media (min-width: 720px) {
  .owner-toolbar {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .owner-search-meta {
    grid-column: 1 / -1;
  }
}

.owner-search {
  position: relative;
  display: flex;
  align-items: center;
}

.owner-search__icon {
  position: absolute;
  left: 0.85rem;
  display: flex;
  color: var(--muted);
  pointer-events: none;
}

.owner-search__input {
  width: 100%;
  padding: 0.65rem 2.5rem 0.65rem 2.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.owner-search__input:focus {
  outline: none;
  border-color: rgba(94, 234, 212, 0.45);
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.12);
}

.owner-search__input::-webkit-search-cancel-button {
  display: none;
}

.owner-search__clear {
  position: absolute;
  right: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

.owner-search__clear:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.owner-filter {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 10rem;
}

.owner-filter__label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.owner-filter__select {
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.owner-search-meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.owner-stat-card--clickable {
  cursor: pointer;
}

.owner-stat-card--clickable:hover {
  border-color: rgba(94, 234, 212, 0.35);
  transform: translateY(-1px);
}

.owner-stat-card--clickable:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.owner-stat-card--active {
  border-color: rgba(94, 234, 212, 0.5);
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.2);
}

.owner-price-input {
  width: 6.5rem;
  max-width: 100%;
  padding: 0.4rem 0.5rem;
  font-size: 0.85rem;
}

.owner-lead-actions {
  min-width: 11rem;
}

.btn--wa {
  color: #25d366;
}

.btn--wa:hover {
  border-color: rgba(37, 211, 102, 0.4);
  background: rgba(37, 211, 102, 0.08);
}

.panel h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  color: var(--muted);
}

.form-error {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--error-border);
  background: var(--error-bg);
  color: var(--error-text);
  font-size: 0.9rem;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 0.75rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.table th,
.table td {
  text-align: left;
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.table tr:last-child td {
  border-bottom: 0;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge--open {
  background: rgba(251, 191, 36, 0.15);
  color: #fcd34d;
}

.badge--assigned {
  background: rgba(56, 189, 248, 0.15);
  color: #7dd3fc;
}

.badge--completed {
  background: rgba(94, 234, 212, 0.15);
  color: var(--accent);
}

.badge--new {
  background: rgba(167, 176, 216, 0.2);
  color: var(--muted);
}

.badge--paid {
  background: rgba(74, 222, 128, 0.15);
  color: #86efac;
}

.badge--awaiting {
  background: rgba(129, 140, 248, 0.15);
  color: #a5b4fc;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.row-actions select {
  min-width: 140px;
  padding: 0.45rem 0.5rem;
  font-size: 0.82rem;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.muted-block {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 1rem;
  line-height: 1.45;
}

/* Mobile & touch (Android / iOS) */
@media (max-width: 768px) {
  .container {
    width: min(100% - 1.25rem, var(--max));
  }

  .hero {
    padding: 1.75rem 0 2.5rem;
  }

  .hero-copy--center .lede {
    margin-inline: auto;
  }

  .hero-cta-row {
    flex-direction: column;
  }

  .hero-cta-row .btn {
    width: 100%;
    min-height: var(--touch-min);
  }

  .hero-note {
    font-size: 0.75rem;
    word-break: break-word;
  }

  .section {
    padding: 2.5rem 0;
  }

  .search-card {
    padding: 1rem;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .cta-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 1.35rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
    min-height: var(--touch-min);
  }

  .footer-inner {
    align-items: center;
    text-align: center;
  }

  .page-dashboard .header-inner {
    gap: 0.5rem;
  }

  .page-dashboard .nav {
    font-size: 0.88rem;
  }

  input,
  select,
  textarea {
    font-size: 16px;
    min-height: var(--touch-min);
  }

  textarea {
    min-height: 5.5rem;
  }

  .btn {
    min-height: var(--touch-min);
  }

  .btn--sm {
    min-height: 2.5rem;
  }

  .tab {
    min-height: var(--touch-min);
  }

  .lang-switch__btn {
    min-height: 2.25rem;
    min-width: 2.5rem;
  }

  .row-actions select {
    min-width: 0;
    width: 100%;
  }

  .table td,
  .table th,
  .order-ref,
  code.order-ref {
    overflow-wrap: anywhere;
  }
}

@supports (padding: max(0px)) {
  .site-footer {
    padding-bottom: max(2rem, calc(2rem + var(--safe-bottom)));
  }
}

.order-ref,
code.order-ref {
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  font-size: 0.95em;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.order-ref-block {
  margin-top: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm, 0.5rem);
  background: color-mix(in srgb, var(--accent, #5b8def) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent, #5b8def) 28%, transparent);
}

/* Verified hotels grid */
.hotels-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .hotels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .hotels-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hotel-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  overflow: hidden;
  min-width: 0;
}

.hotel-card__photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  aspect-ratio: 16 / 10;
  background: rgba(0, 0, 0, 0.25);
}

.hotel-card__photos--empty {
  background: linear-gradient(145deg, rgba(94, 234, 212, 0.12), rgba(56, 189, 248, 0.08));
}

.hotel-card__photos a {
  display: block;
  overflow: hidden;
  text-decoration: none;
}

.hotel-card__photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 5rem;
}

.hotel-card__body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.hotel-card__title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

.hotel-card__address {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.hotel-card__via {
  margin: 0;
  font-size: 0.78rem;
}

.hotel-card__cta {
  align-self: flex-start;
  margin-top: 0.35rem;
}

/* Fixed contact widget (right edge, stays on scroll) */
.contact-float {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 35;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 0.55rem 0.8rem;
  background: var(--contact-float-bg);
  border-radius: 0.75rem 0 0 0.75rem;
  box-shadow: -2px 2px 16px rgba(15, 23, 42, 0.14);
  border: 1px solid var(--contact-float-border);
  border-right: none;
  max-width: 4.75rem;
}

.contact-float__label {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  color: var(--contact-float-text);
  letter-spacing: 0.02em;
}

.contact-float__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.contact-float__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.contact-float__btn svg {
  width: 26px;
  height: 26px;
}

.contact-float__btn:hover {
  transform: scale(1.07);
}

.contact-float__btn:focus-visible {
  outline: 2px solid var(--accent, #5b8def);
  outline-offset: 2px;
}

.contact-float__btn--wa {
  background: #25d366;
  color: #fff;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
}

.contact-float__btn--mail {
  background: var(--contact-float-bg);
  border: 1px solid var(--contact-float-border);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

@media (max-width: 480px) {
  .contact-float {
    top: auto;
    bottom: max(5.5rem, calc(4.5rem + env(safe-area-inset-bottom, 0px)));
    transform: none;
    border-radius: 0.75rem 0 0 0.75rem;
  }

  .contact-float__btn {
    width: 2.55rem;
    height: 2.55rem;
  }

  .contact-float__btn svg {
    width: 24px;
    height: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-float__btn {
    transition: none;
  }

  .contact-float__btn:hover {
    transform: none;
  }
}

/* First-visit language picker (bottom, small car) */
.lang-float {
  position: fixed;
  left: 50%;
  bottom: max(1rem, calc(0.75rem + env(safe-area-inset-bottom, 0px)));
  transform: translateX(-50%);
  z-index: 42;
  width: min(22rem, calc(100vw - 1.5rem));
  padding: 0;
  border: none;
  background: transparent;
}

.lang-float__inner {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  background: var(--bg-elevated, #141c2e);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.12));
  border-radius: var(--radius, 0.75rem);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.lang-float__car {
  flex-shrink: 0;
  width: 3.25rem;
  color: var(--accent, #5eead4);
}

.lang-float__car-svg {
  display: block;
  width: 100%;
  height: auto;
}

.lang-float__content {
  flex: 1;
  min-width: 0;
}

.lang-float__label {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text, #e8edf5);
  letter-spacing: 0.02em;
}

.lang-float__switch {
  margin: 0;
  background: rgba(0, 0, 0, 0.35);
}

.lang-float__switch .lang-switch__btn {
  font-size: 0.82rem;
  padding: 0.45rem 0.62rem;
  min-height: 2.35rem;
  min-width: 2.6rem;
}

body.lang-pending .header-lang-switch {
  display: none;
}

body.lang-pending .contact-float {
  bottom: max(7.25rem, calc(6.5rem + env(safe-area-inset-bottom, 0px)));
}

@media (min-width: 769px) {
  body.lang-pending .contact-float {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
  }

  .lang-float {
    bottom: max(1.25rem, calc(1rem + env(safe-area-inset-bottom, 0px)));
  }
}

@media (prefers-reduced-motion: reduce) {
  .lang-float__inner {
    transition: none;
  }
}

/* Light theme — extra contrast fixes */
html[data-theme="light"] .section-head h2,
html[data-theme="light"] .card-title,
html[data-theme="light"] .hero-copy h1 {
  color: var(--text);
}

html[data-theme="light"] .hero--photo .hero-copy h1 {
  color: #f1f5f9;
}

html[data-theme="light"] .hero--photo .hero-copy .lede {
  color: #cbd5e1;
}

html[data-theme="light"] .hero--photo .hero-copy .hero-note {
  color: #94a3b8;
}

html[data-theme="light"] .hero--photo .hero-copy .eyebrow {
  color: #7dd3fc;
}

html[data-theme="light"] .hero-note,
html[data-theme="light"] .hero-note code,
html[data-theme="light"] .panel code {
  color: var(--muted);
}

html[data-theme="light"] .hero-note code,
html[data-theme="light"] .panel code {
  background: rgba(15, 23, 42, 0.07);
  border-color: var(--border);
}

html[data-theme="light"] .cta-inner .btn--on-dark {
  background: var(--bg-elevated);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .cta-inner .btn--light {
  border: 1px solid var(--border);
}

html[data-theme="light"] .reviews blockquote {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

html[data-theme="light"] .pill-stats li {
  background: var(--bg-elevated);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

html[data-theme="light"] .route-showcase {
  background: linear-gradient(145deg, rgba(13, 148, 136, 0.1), rgba(2, 132, 199, 0.08));
}

html[data-theme="light"] .route-showcase__featured {
  background: rgba(15, 23, 42, 0.05);
}

html[data-theme="light"] .lang-float__switch {
  background: var(--lang-switch-bg);
}

html[data-theme="light"] .badge--open {
  color: #a16207;
}

html[data-theme="light"] .badge--assigned {
  color: #0369a1;
}

html[data-theme="light"] .badge--completed {
  color: #0f766e;
}

html[data-theme="light"] .badge--paid {
  color: #15803d;
}

html[data-theme="light"] .badge--awaiting {
  color: #4338ca;
}

/* ——— Payment pages ——— */
.page-pay {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.pay-page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0 3rem;
}

.pay-card {
  width: 100%;
  max-width: 28rem;
  text-align: center;
}

.pay-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(94, 234, 212, 0.12);
  color: var(--accent);
}

.pay-card__icon--ok {
  background: rgba(94, 234, 212, 0.18);
  color: var(--accent);
}

.pay-card__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.pay-card__title {
  margin: 0 0 1rem;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.pay-card__msg {
  margin: 0 0 1.25rem;
  text-align: left;
}

.pay-card__btn {
  margin-top: 0.5rem;
}

.pay-summary {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: left;
}

.pay-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  font-size: 0.92rem;
}

.pay-summary__row + .pay-summary__row {
  border-top: 1px solid var(--border);
}

.pay-summary__row dt {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.pay-summary__row dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
}

.pay-summary__row--total {
  padding-top: 0.75rem;
  margin-top: 0.25rem;
  border-top: 1px dashed var(--border);
}

.pay-summary__amount {
  font-size: 1.15rem;
  color: var(--accent);
}

.pay-trust {
  margin: 1.25rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

.pay-back {
  margin: 1rem 0 0;
  font-size: 0.88rem;
}

.pay-success-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.page-pay--success .pay-card__title {
  color: var(--accent);
}

/* ——— Home trust strip ——— */
.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--section-alt-bg);
}

.trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.1rem 0;
}

.trust-strip__item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
}

.trust-strip__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(94, 234, 212, 0.1);
  color: var(--accent);
}

.trust-strip__item strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.15rem;
}

.trust-strip__item span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

@media (max-width: 720px) {
  .trust-strip__inner {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

/* —— Listing map (Leaflet) —— */
.listing-map-section {
  margin-bottom: 1.5rem;
}

.listing-map-mount {
  min-height: 12rem;
}

.listing-map__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr);
  gap: 1rem;
  align-items: stretch;
}

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

.listing-map__wrap {
  position: relative;
  border-radius: var(--radius-lg, 1rem);
  overflow: hidden;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  background: var(--surface-2, rgba(15, 23, 42, 0.5));
}

.listing-map__canvas {
  height: min(420px, 55vh);
  width: 100%;
  z-index: 0;
}

.listing-map__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding: 0.65rem 1rem;
  font-size: 0.8125rem;
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}

.listing-map__legend-item::before {
  content: "";
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  margin-right: 0.4rem;
  vertical-align: middle;
}

.listing-map__legend-item--hotel::before {
  background: #2563eb;
}

.listing-map__legend-item--car::before {
  background: #059669;
}

.listing-map-marker {
  background: transparent;
  border: none;
}

.listing-map-marker__pin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--pin-color, #2563eb);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  line-height: 1;
}

.listing-map-marker__label {
  transform: rotate(45deg);
  display: block;
}

.listing-map-popup-wrap .leaflet-popup-content {
  margin: 0.75rem;
  min-width: 10rem;
}

.listing-map-popup__photo {
  display: block;
  width: 100%;
  max-height: 6rem;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
}

.listing-map-popup__title {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.listing-map-popup__meta {
  font-size: 0.8125rem;
  color: var(--muted, #94a3b8);
  margin: 0 0 0.65rem;
}

.listing-map-popup__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.listing-map-popup__btn {
  flex: 1 1 auto;
  min-width: 5.5rem;
  text-align: center;
}

.listing-map__loading,
.listing-map__empty {
  text-align: center;
  padding: 2rem 1rem;
}

.listing-map__aside {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: var(--radius-lg, 1rem);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  background: var(--surface-2, rgba(15, 23, 42, 0.5));
  overflow: hidden;
}

.listing-map__aside-head {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}

.listing-map-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  overflow-y: auto;
  max-height: min(420px, 55vh);
}

.listing-map-list__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem 0.75rem;
  align-items: center;
  padding: 0.65rem 0.85rem;
  cursor: pointer;
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  transition: background 0.15s ease;
}

.listing-map-list__item:last-child {
  border-bottom: none;
}

.listing-map-list__item:hover,
.listing-map-list__item.is-active {
  background: rgba(56, 189, 248, 0.08);
}

.listing-map-list__thumb {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm, 0.5rem);
  object-fit: cover;
  flex-shrink: 0;
}

.listing-map-list__thumb--empty {
  display: block;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(15, 23, 42, 0.4));
}

.listing-map-list__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.listing-map-list__type {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.listing-map-list__type--hotel {
  color: #60a5fa;
}

.listing-map-list__type--car {
  color: #34d399;
}

.listing-map-list__title {
  font-size: 0.875rem;
  line-height: 1.35;
}

.listing-map-list__meta {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.35;
}

.listing-map-list__actions {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: stretch;
}

.listing-map-list__btn {
  white-space: nowrap;
}

@media (max-width: 480px) {
  .listing-map-list__item {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }

  .listing-map-list__actions {
    grid-column: 2;
    flex-direction: row;
    flex-wrap: wrap;
  }
}
