:root {
  --brand-blue: #2563eb;
  --brand-blue-hover: #1d4ed8;
  --accent-blue: #0055ff;
  --bg-dark: #020617;
  --bg-deep: #0f172a;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.16);
  --border-soft: rgba(255, 255, 255, 0.14);
  --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.28);
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  color: #1e293b;
  background: #ffffff;
}

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

.site-bg {
  min-height: 98vh;
  background: #ffffff;
}

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

.glass {
  background: var(--surface);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 100;
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.12); */
  /* background: rgba(2, 6, 23, 0.3); */
  /* backdrop-filter: blur(12px); */
  background: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.brand-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.header-nav a {
  color: #cbd5e1;
  transition: color 0.2s ease;
}

.header-nav a:hover {
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-pill {
  font-size: 13px;
  color: #cbd5e1;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.btn {
  border: 0;
  cursor: pointer;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 16px;
  transition: all 0.2s ease;
}

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

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

.btn-primary:active {
  transform: scale(0.98);
}

main {
  padding-bottom: 0;
}

.hero {
  padding-top: 60px;
  position: relative;
  min-height: calc(100vh - 70px);
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.hero .container {
  text-align: center;
  padding: 32px 0;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom, rgba(2, 6, 23, 0.25), rgba(2, 6, 23, 0.25));
  pointer-events: none;
}
.hero-driving::before{
  background-image: linear-gradient(to bottom, rgba(2, 6, 23, 0.7), rgba(2, 6, 23, 0.7));
}
.bg_hero_driving::before{
  background-image: linear-gradient(to bottom, rgba(2, 6, 23, 0.7), rgba(2, 6, 23, 0.7));
}



.hero-home{
  background-image: url("/images/index_bg4.webp?v=1");
  background-size: cover;
  background-position: center;
}
.hero-find{
  background-image: url("/images/find_bg1.webp");
  background-size: cover;
  background-position: center;
}

/* Find page: globe background (no static hero image) */
.hero-globe {
  position: relative;
  overflow: hidden;
  background-image: none !important;
  background-color: #000;
}

.hero-globe .hero-globe-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-globe .hero-globe-bg canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  transform: scale(1.28) translateY(-6%);
  transform-origin: 50% 35%;
}

.hero-globe::before {
  z-index: 1;
  background-image:
    radial-gradient(1200px 700px at 50% 18%, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.72) 70%, rgba(2, 6, 23, 0.9)),
    linear-gradient(to bottom, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.55));
}
.find_globe::before {
  display: none;
}

.hero-globe .page-hero-inner {
  position: relative;
  z-index: 2;
}
.hero-driving{
  background-image: url("/images/lx_bg.webp");
  background-size: cover;
  background-position: center;
}
.hero-satellite{
  background-image: url("/images/satellite_bg.webp");
  background-size: cover;
  background-position: center;
}
.hero-3d{
  background-image: url("/images/3d_bg.webp");
  background-size: cover;
  background-position: center;
}
.hero-streets{
  background-image: url("/images/street_bg.webp");
  background-size: cover;
  background-position: center;
}
.hero-location{
  background-image: url("/images/satellite_bg.webp");
  background-size: cover;
  background-position: center;
}
.hero-dark{
  background-image: url("/images/dark_bg.webp");
  background-size: cover;
  background-position: center;
}
.hero-weather{
  background-image: url("/images/weather_bg.webp");
  background-size: cover;
  background-position: center;
}
.hero-radar{
  background-image: url("/images/radar_bg.webp");
  background-size: cover;
  background-position: center;
}

.hero-home {
  background-position: center 36%;
}





.hero .container,
.page-hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0 auto;
  font-size: clamp(2rem, 6.2vw, 4.6rem);
  letter-spacing: -0.03em;
  line-height: 1.04;
  font-style: italic;
  color: #ffffff;
}

.hero p {
  margin: 18px auto 0;
  color: #cbd5e1;
  max-width: 720px;
  line-height: 1.65;
  font-size: 16px;
}

.search-panel {
  margin-top: 26px;
  padding: 8px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 36px -18px rgba(2, 6, 23, 0.6);
  backdrop-filter: none;
  margin-bottom: 30px;
}

.search-panel input {
  flex: 1;
  min-width: 200px;
  border: 0;
  outline: 0;
  border-radius: 999px;
  background: transparent;
  color: #0f172a;
  padding: 12px 18px;
  font-size: 15px;
}

.search-panel input::placeholder {
  color: #94a3b8;
}

.search-panel .btn {
  border-radius: 999px;
  padding: 12px 22px;
}

/* Hero search: desktop = label text, narrow screens = icon only */
.btn-search-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-shrink: 0;
}

.btn-search-submit__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.ab-submit .btn-search-submit:has(.btn-search-submit__text) {
  gap: 10px;
}

.btn-search-submit__text {
  white-space: nowrap;
  font-weight: 600;
  font-size: 15px;
}

@media (max-width: 768px) {
  .btn-search-submit {
    padding: 12px 14px;
    min-width: 48px;
  }

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

  .btn-search-submit__icon {
    display: block;
  }
}

/* Find hero: geocode autocomplete (web/geocode_new.php) */
.search-panel--autocomplete {
  align-items: stretch;
}

.search-panel-combo {
  flex: 1;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-self: center;
}

.search-panel--autocomplete .search-panel-input-row {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  border-radius: 999px;
  padding-right: 4px;
}

.search-panel--autocomplete .search-panel-input-row input {
  min-width: 0;
  padding-right: 8px;
}

.search-panel--autocomplete .search-panel-input-row input:focus,
.search-panel--autocomplete .search-panel-input-row input:focus-visible,
.search-panel--autocomplete .search-panel-clear:focus,
.search-panel--autocomplete .search-panel-clear:focus-visible {
  outline: none;
  box-shadow: none;
}

.search-panel-clear {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-right: 2px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #64748b;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  /* Must win over [hidden]; author `display: flex` otherwise undoes the hidden attribute */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, background 0.15s ease;
}

.search-panel-clear[hidden] {
  display: none !important;
  pointer-events: none;
}

.search-panel-clear:hover {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.06);
}

/* Generic: text field + × button (input-clear.js, same behavior as find hero) */
.input-clear-row {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1;
  gap: 0;
}

.search-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 40;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 16px 40px -12px rgba(2, 6, 23, 0.28);
  border: 1px solid #e2e8f0;
  max-height: 320px;
  overflow: auto;
  text-align: left;
}

.search-suggest-item {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  background: #ffffff;
  cursor: pointer;
  font: inherit;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.12s ease;
}

.search-suggest-item:last-child {
  border-bottom: 0;
}

.search-suggest-item:hover,
.search-suggest-item.is-active {
  background: #f8fafc;
}

.search-suggest-title {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
}

.search-suggest-sub {
  margin-top: 3px;
  font-size: 13px;
  color: #64748b;
  line-height: 1.4;
}

.search-suggest-item.search-suggest-item--my-location {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-suggest-item--my-location .search-suggest-title {
  font-weight: 600;
}

.search-suggest-item__my-loc-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
}

.ad-note {
  margin-top: 18px;
  margin-bottom: 10px;
  color: #94a3b8;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-note::before, .ad-note::after {
  content: "";
  flex: 1;
  border-bottom: 1px dashed rgb(151 115 115 / 20%);
}

.ad-box {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  gap: 10px;
}

.hero .search-panel,
.hero .ad-box {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}


.hero-cta-wrap {
  margin-top: 28px;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
.qz_hero{
  margin-top: 35px;
  margin-bottom: 1rem;
  padding: 15px 0;
}
.btn-hero-cta {
  min-width: 350px;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 16px 34px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 10px 24px -8px rgba(37, 99, 235, 0.65);
}

.dir-prelanding {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.dir-prelanding-lead {
  margin: 0 0 12px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.dir-prelanding-fine {
  margin: 0 0 22px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

.dir-prelanding-mode {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.dir-prelanding-mode-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.dir-prelanding .mode-switch {
  margin: 0;
}

.dir-planner-form[hidden] {
  display: none !important;
}

.page-hero-inner.is-planner-open .dir-prelanding {
  display: none;
}

.section {
  margin-top: 0;
  background: #ffffff;
  padding: 10px 0 42px 0 ;
  border-top: 1px solid #e2e8f0;
}


.section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-style: italic;
  color: #0f172a;
}

.section .sub {
  color: #475569;
  margin-bottom: 20px;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.card {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(2, 6, 23, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

h1 .kw,
h2 .kw,
.page-hero h1 .kw,
.page-intro h1 .kw,
.hero h1 .kw {
  color: #2563eb;
  font-weight: inherit;
}

.tool-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
}

.tool-card .tool-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 18px -8px rgba(37, 99, 235, 0.7);
}

.tool-card .tool-icon svg {
  width: 24px;
  height: 24px;
}

.tool-card .tool-body {
  flex: 1;
  min-width: 0;
}

.tool-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.tool-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

/* /directions landing — topic slugs aligned with conf route guides */
.dir-route-topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.dir-route-topic-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.92));
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.35;
  box-shadow: 0 10px 26px -20px rgba(15, 23, 42, 0.35);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.dir-route-topic-tile:hover {
  border-color: rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -22px rgba(37, 99, 235, 0.55);
}

.dir-route-topic-tile__label {
  text-transform: capitalize;
}

.dir-route-topic-tile__arrow {
  flex-shrink: 0;
  color: #2563eb;
  font-size: 18px;
  line-height: 1;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.7);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: #475569;
  line-height: 1.55;
  font-size: 14px;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.18);
  color: #60a5fa;
  font-weight: 700;
  margin-bottom: 12px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.dark-panel {
  background: #f8fafc;
  border-radius: var(--radius-md);
  border: 1px solid #dbeafe;
  padding: 20px;
}

.dark-panel h3 {
  margin-top: 0;
}

.faq {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid #dbeafe;
  padding: 24px;
}

.faq-item {
  margin-bottom: 14px;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item h4 {
  margin: 0 0 6px;
  color: #1d4ed8;
  font-size: 16px;
}

.faq-item p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
}
.find_page_ads{
  position: absolute;
  bottom: 10px;
  right:  10px;
}

.page-hero {
  position: relative;
  min-height: calc(100vh - 70px);
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 5vw, 52px);
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  margin: 0;
  padding-top: 60px;
}
.find_globe{
  min-height: auto;
}

.page-hero-inner {
  width: 98%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Find hero: keep ad at the bottom without absolute positioning */
.page-hero.hero-find {
  gap: 18px;
}

.page-hero.hero-find .page-hero-inner {
  margin-bottom: 0;
}

.page-hero.hero-find .hero-find-ad {
  width: calc(100% - 310px);
  margin-right: auto;
  margin-top: auto;
  padding-bottom: 16px;
}

/* Hero pages: keep 728x90 ad at the bottom (no absolute positioning) */
.page-hero .hero-bottom-ad {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: auto;
  padding-bottom: 16px;
  position: relative;
  z-index: 2;
}

.page-hero-inner .breadcrumbs,
.page-hero-inner h1,
.page-hero-inner p {
  text-align: center;
}

.page-hero-inner p {
  margin-left: auto;
  margin-right: auto;
}

.page-hero-inner .search-panel,
.page-hero-inner,
.page-hero-inner  {
  margin-left: auto;
  margin-right: auto;
}
.search-panel{
  width: 100%;
  max-width: 750px;
}

.page-hero h1,
.page-hero p {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 12px;
  font-size: clamp(2rem, 6.2vw, 4.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.page-hero p {
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 22px;
  text-align: center;
}

.breadcrumbs {
  color: #e2e8f0;
  font-size: 13px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.meta-list {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: #1e3a8a;
}

.section-alt {
  background: #f8fafc;
}

.page-intro {
  padding: 40px 0 8px;
}

.page-intro .breadcrumbs {
  color: #64748b;
  margin-bottom: 12px;
  font-size: 13px;
}

.page-intro .breadcrumbs a {
  color: #1d4ed8;
}

.page-intro .breadcrumbs a:hover {
  text-decoration: underline;
}

.page-intro h1 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 4.2vw, 2.6rem);
  color: #0f172a;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.page-intro .lead {
  margin: 0;
  color: #475569;
  font-size: 16px;
  max-width: 760px;
  line-height: 1.65;
}

.section-dark {
  background: #0f172a;
}

.section-dark h2,
.section-dark h3 {
  color: #ffffff;
}

.section-dark p,
.section-dark li {
  color: #cbd5e1;
}

.section-dark .faq {
  background: #0b1224;
  border-color: rgba(59, 130, 246, 0.25);
}

.section-dark .faq-item h4 {
  color: #60a5fa;
}

.section-dark .faq-item p {
  color: #cbd5e1;
}

.eyebrow {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.prose {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px -5px rgba(2, 6, 23, 0.06);
  padding: 28px;
  line-height: 1.75;
  color: #334155;
}

.prose h2 {
  font-size: 22px;
  margin: 22px 0 10px;
  color: #0f172a;
  font-style: normal;
}

.prose h3 {
  font-size: 17px;
  margin: 18px 0 6px;
  color: #0f172a;
}

.prose p,
.prose li {
  margin: 8px 0;
}

.prose ul {
  padding-left: 20px;
}

.prose a {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Legal pages synced from application/views/help/*.phtml */
.prose-legal h4 {
  font-size: 15px;
  margin: 14px 0 6px;
  color: #0f172a;
}
.prose-legal .one_line_col {
  margin-bottom: 1.25rem;
}
.prose-legal hr {
  margin: 1.5rem 0;
  border: 0;
  border-top: 1px solid #e2e8f0;
}
.prose-legal .iub_header {
  margin-bottom: 1rem;
}

/* Long encyclopedia / SEO knowledge blocks (bilingual subheads) */

.seo-encyclopedia.prose {
  margin-left: auto;
  margin-right: auto;
}
.seo-encyclopedia.prose h3 {
  font-size: 1.05rem;
  line-height: 1.45;
  margin-top: 28px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
  font-style: normal;
}
.seo-encyclopedia.prose h3:first-of-type {
  margin-top: 0;
}
.seo-encyclopedia .ency-en {
  display: block;
  margin-top: 4px;
  font-weight: 500;
  font-size: 0.88em;
  color: #64748b;
  letter-spacing: 0.01em;
}
.seo-encyclopedia .ency-lead {
  margin: 0 0 4px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1d4ed8;
}
@media (min-width: 900px) {
  .seo-encyclopedia.prose p,
  .seo-encyclopedia.prose li {
    font-size: 15px;
  }
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.bullet-list li {
  padding-left: 28px;
  position: relative;
  color: #334155;
  line-height: 1.6;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.12);
  border: 2px solid #2563eb;
}

.bullet-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 11px;
  width: 6px;
  height: 3px;
  border-left: 2px solid #2563eb;
  border-bottom: 2px solid #2563eb;
  transform: rotate(-45deg);
}

.cta-band {
  padding: 52px 0;
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  color: #fff;
  text-align: center;
}

.cta-band h2 {
  color: #ffffff;
  margin: 0 0 10px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.86);
  margin: 0 auto 22px;
  max-width: 680px;
}

.cta-band .btn-primary {
  background: #ffffff;
  color: #1d4ed8;
}

.cta-band .btn-primary:hover {
  background: #e2e8f0;
}

.ab-form {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(2, 6, 23, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 1;
}

.ab-input-wrap {
  position: relative;
  z-index: 1;
}

.ab-input-wrap:focus-within {
  z-index: 5;
}

.ab-input {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border-radius: 10px;
  padding: 6px 12px 6px 6px;
  border: 1px solid #e2e8f0;
}

.ab-input input {
  flex: 1;
  border: 0;
  outline: 0;
  font-size: 15px;
  padding: 10px 6px;
  color: #0f172a;
  background: transparent;
}

.ab-input .input-clear-row {
  flex: 1;
  min-width: 0;
}

.ab-input .input-clear-row input {
  min-width: 0;
}

.ab-input .input-clear-row .search-panel-clear {
  width: 32px;
  height: 32px;
  margin-right: 0;
  font-size: 1.2rem;
}

.ab-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.ab-badge--a {
  background: #16a34a;
}

.ab-badge--b {
  background: #dc2626;
}

.mode-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 6px 0 4px;
}

.mode-switch input {
  display: none;
}

.mode-switch label {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #64748b;
}

.mode-switch input:checked + label {
  background: #2563eb;
  color: #ffffff;
  border-color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -6px rgba(37, 99, 235, 0.7);
}

.mode-switch svg {
  width: 20px;
  height: 20px;
}

.ab-submit {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

.ab-submit .btn-primary {
  min-width: 260px;
  padding: 14px 20px;
  font-size: 16px;
  border-radius: 12px;
}

.ab-title {
  color: #1d4ed8;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 6px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}

.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #94a3b8;
  margin: 0 0 14px;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: #cbd5e1;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: #64748b;
}

.footer-grid {
  align-items: flex-start;
}

details.faq-accordion {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 10px;
  transition: border-color 0.2s ease;
}

details.faq-accordion[open] {
  border-color: #2563eb;
}

details.faq-accordion > summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

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

details.faq-accordion > summary::after {
  content: "+";
  font-size: 22px;
  color: #2563eb;
  line-height: 1;
}

details.faq-accordion[open] > summary::after {
  content: "−";
}

details.faq-accordion > div {
  margin-top: 10px;
  color: #475569;
  line-height: 1.65;
}

.legal-content {
  padding: 28px;
  line-height: 1.72;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px -5px rgba(2, 6, 23, 0.08);
}

.legal-content h2 {
  margin-top: 24px;
  margin-bottom: 8px;
  font-size: 20px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  padding: 10px 12px;
  font-size: 14px;
}

.contact-form .input-clear-row {
  display: flex;
  align-items: center;
  width: 100%;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  overflow: hidden;
}

.contact-form .input-clear-row input {
  width: auto;
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  border-radius: 0;
  padding: 10px 6px 10px 12px;
  background: transparent;
}

.contact-form .input-clear-row .search-panel-clear {
  flex-shrink: 0;
}

.contact-form textarea {
  min-height: 120px;
}

.site-footer {
  border-top: 0;
  margin-top: 0;
  padding: 56px 0 28px;
  background: #0b1224;
  color: #cbd5e1;
}

.site-footer .brand {
  color: #ffffff !important;
  font-size: 22px;
}

.site-footer .brand-badge {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  width: 38px;
  height: 38px;
  font-size: 15px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: rgba(37, 99, 235, 0.22);
  color: #ffffff;
  border-color: rgba(37, 99, 235, 0.5);
}

.footer-social svg {
  width: 14px;
  height: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #cbd5e1;
}

.footer-note {
  color: #64748b;
  font-size: 13px;
  max-width: 520px;
  margin: 14px 0 0;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .header-nav {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(1200px, calc(100% - 28px));
  }

  .search-panel {
    flex-wrap: nowrap;
    align-items: stretch;
    border-radius: 18px;
    position: relative;
    z-index: 1;
  }

  .search-panel--autocomplete .search-panel-combo {
    flex: 1;
    min-width: 0;
  }

  .search-panel--autocomplete input {
    min-width: 0;
  }

  .ab-submit .btn-primary.btn-search-submit {
    min-width: 48px;
  }

  .two-col,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-hero-inner {
    width: 98%;
    max-width: 1200px;
  }
}

@media (max-width: 500px) {
  .hero h1 {
    font-size: 31px;
    line-height: 1.02;
  }
  .mb_mh{
    min-height: 250px;
  }
  .qz_hero{
    margin-top: 10px;
  }

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

  .btn {
    width: 100%;
  }

  .search-panel .btn.btn-search-submit,
  .maps-app-search-row .maps-app-search-go.btn-search-submit,
  .ab-submit .btn.btn-search-submit {
    width: auto;
  }

  .btn-hero-cta {
    width: 98%;
    min-width: 240px;
    font-size: 20px;
    padding: 14px 24px;
  }

  .legal-content,
  .faq {
    padding: 18px;
  }

  .page-hero {
    min-height: 360px;
    padding: 20px 16px;
  }

  .page-hero-inner {
    width: 98%;
    max-width: 1200px;
  }
}

/* ============================================================
   SEO Module Library — vivid & varied (Module 1~8)
   ============================================================ */

.section .sec-head {
  text-align: center;
  margin: 0 auto 44px;
}
.section .sec-head .eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(236, 72, 153, 0.12));
  color: #4f46e5;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  margin-bottom: 14px;
  display: none;
}
.section .sec-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3.6vw, 2.4rem);
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.section .sec-head p {
  margin: 0;
  color: #64748b;
  font-size: 16px;
  line-height: 1.7;
}

/* Module 1: Feature List */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px 40px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature-item .feat-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  box-shadow: 0 14px 28px -12px rgba(99, 102, 241, 0.55);
}
.feature-item .feat-icon svg { width: 28px; height: 28px; }
.feature-item h3 {
  margin: 0;
  font-size: 18px;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.feature-item p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
}
.feature-item.v2 .feat-icon { background: linear-gradient(135deg, #06b6d4, #0ea5e9); box-shadow: 0 14px 28px -12px rgba(14, 165, 233, 0.55); }
.feature-item.v3 .feat-icon { background: linear-gradient(135deg, #f59e0b, #ec4899); box-shadow: 0 14px 28px -12px rgba(236, 72, 153, 0.55); }
.feature-item.v4 .feat-icon { background: linear-gradient(135deg, #10b981, #06b6d4); box-shadow: 0 14px 28px -12px rgba(16, 185, 129, 0.55); }
.feature-item.v5 .feat-icon { background: linear-gradient(135deg, #ec4899, #8b5cf6); box-shadow: 0 14px 28px -12px rgba(168, 85, 247, 0.55); }
.feature-item.v6 .feat-icon { background: linear-gradient(135deg, #f97316, #f59e0b); box-shadow: 0 14px 28px -12px rgba(249, 115, 22, 0.55); }

/* Module 2: Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(170px, auto);
  gap: 20px;
}
.bento-cell {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bento-cell:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 48px -20px rgba(2, 6, 23, 0.2);
}
.bento-cell.wide { grid-column: span 2; }
.bento-cell.tall { grid-row: span 2; }
.bento-cell.feature {
  grid-column: span 2;
  grid-row: span 2;
  color: #ffffff;
  border: 0;
  background: linear-gradient(135deg, #93c5fd 0%, #a5b4fc 50%, #99f6e4 100%);
}
.bento-cell.feature::before,
.bento-cell.feature::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
}
.bento-cell.feature::before {
  width: 220px; height: 220px;
  background: #60a5fa;
  top: -80px; left: -60px;
}
.bento-cell.feature::after {
  width: 200px; height: 200px;
  background: #f472b6;
  bottom: -70px; right: -50px;
}
.bento-cell .bento-body { position: relative; z-index: 1; }
.bento-cell h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: inherit;
  letter-spacing: -0.01em;
}
.bento-cell.feature h3 { font-size: 24px; margin-bottom: 12px; }
.bento-cell p {
  margin: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.6;
}
.bento-cell.feature p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.65;
}
.ads_top{
  text-align: center;
  background: #ccc;
}
.bento-cell .bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.bento-cell .bento-icon svg { width: 22px; height: 22px; }
.bento-cell.feature .bento-icon {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}
.bento-cell.v-cyan .bento-icon { background: linear-gradient(135deg, #06b6d4, #0ea5e9); }
.bento-cell.v-amber .bento-icon { background: linear-gradient(135deg, #f59e0b, #f97316); }
.bento-cell.v-emerald .bento-icon { background: linear-gradient(135deg, #10b981, #06b6d4); }
.bento-cell.v-rose .bento-icon { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.bento-cell.v-violet .bento-icon { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.bento-cell.v-sky .bento-icon { background: linear-gradient(135deg, #3b82f6, #22d3ee); }
.bento-cell.v-slate .bento-icon { background: linear-gradient(135deg, #334155, #0f172a); }
/* Find page only: ads_top + fp_box = exactly one viewport; hero fills fp_box remainder */
.find_page_box {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100vh;
}



.find_page_box .fp_box {
  min-height: 0;
  position: relative;
  display: flex;
  flex-direction: column;
}

.find_page_box .find_header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.find_page_box .fp_box > .page-hero.hero-find.find_globe {
  flex: 1 0 auto;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.find_globe{
  padding-top: 120px;
}
@media (max-width: 1024px) {
  .page-hero.hero-find .hero-find-ad{
    width: 100%;
  }
}

@media (max-width: 880px) {
  .find_page_ads{
    position: unset;
    text-align: center;
  }
  .find_page_box{
    height: auto;
    min-height: 100vh;
  }
  .find_page_box .fp_box > .page-hero.hero-find.find_globe {
    min-height: 100vh;
  }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-cell.feature,
  .bento-cell.wide { grid-column: span 2; }
  .bento-cell.tall { grid-row: auto; }
}

/* Module 3: Step Timeline */
.step-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px 0 12px;
}
.step-timeline::before {
  content: "";
  position: absolute;
  top: 46px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(to right, #cbd5e1 0 6px, transparent 6px 14px);
  z-index: 0;
}
.step-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.step-node .step-circle {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 24px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  box-shadow: 0 22px 36px -18px rgba(99, 102, 241, 0.7);
  border: 5px solid #ffffff;
}
.step-node.v2 .step-circle { background: linear-gradient(135deg, #06b6d4, #0ea5e9); box-shadow: 0 22px 36px -18px rgba(14, 165, 233, 0.65); }
.step-node.v3 .step-circle { background: linear-gradient(135deg, #ec4899, #f59e0b); box-shadow: 0 22px 36px -18px rgba(236, 72, 153, 0.65); }
.step-node.v4 .step-circle { background: linear-gradient(135deg, #10b981, #06b6d4); box-shadow: 0 22px 36px -18px rgba(16, 185, 129, 0.65); }
.step-node h3 {
  margin: 0;
  font-size: 16px;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.step-node p {
  margin: 0;
  font-size: 13px;
  color: #475569;
  line-height: 1.65;
  max-width: 240px;
}

@media (max-width: 820px) {
  .step-timeline { grid-template-columns: 1fr; gap: 28px; }
  .step-timeline::before { display: none; }
}

/* Module 4: Split Strip (zigzag) */
.split-strip {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-strip + .split-strip { margin-top: 72px; }
.split-strip.reverse { grid-template-columns: 1fr 1.05fr; }
.split-strip.reverse .split-copy { order: 2; }
.split-strip.reverse .split-visual { order: 1; }
.split-copy .split-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #4f46e5;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.1);
  margin-bottom: 16px;
}
.split-copy.v-cyan .split-eyebrow { color: #0369a1; background: rgba(14, 165, 233, 0.12); }
.split-copy.v-rose .split-eyebrow { color: #be185d; background: rgba(236, 72, 153, 0.12); }
.split-copy.v-emerald .split-eyebrow { color: #047857; background: rgba(16, 185, 129, 0.12); }
.split-copy.v-amber .split-eyebrow { color: #b45309; background: rgba(245, 158, 11, 0.15); }
.split-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.split-copy p {
  margin: 0 0 20px;
  color: #475569;
  font-size: 15px;
  line-height: 1.75;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  color: #334155;
  font-size: 14px;
  line-height: 1.6;
}
.check-list li::before {
  content: "\2713";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  box-shadow: 0 6px 12px -6px rgba(16, 185, 129, 0.6);
  margin-right: 10px;
}
.split-visual {
  position: relative;
  border-radius: 24px;
  padding: 36px;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #ede9fe 0%, #dbeafe 50%, #cffafe 100%);
}
.split-visual.v-cyan { background: linear-gradient(135deg, #cffafe 0%, #dbeafe 50%, #e0f2fe 100%); }
.split-visual.v-rose { background: linear-gradient(135deg, #fce7f3 0%, #fae8ff 50%, #ede9fe 100%); }
.split-visual.v-emerald { background: linear-gradient(135deg, #dcfce7 0%, #cffafe 50%, #e0f2fe 100%); }
.split-visual.v-amber { background: linear-gradient(135deg, #fef3c7 0%, #ffedd5 50%, #fce7f3 100%); }
.split-visual.v-slate { background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%); }
.split-visual::before,
.split-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.7;
}
.split-visual::before {
  width: 180px; height: 180px;
  background: radial-gradient(circle, #a78bfa, transparent 70%);
  top: -40px; left: -40px;
}
.split-visual::after {
  width: 220px; height: 220px;
  background: radial-gradient(circle, #60a5fa, transparent 70%);
  bottom: -50px; right: -50px;
}
.split-visual.v-cyan::before { background: radial-gradient(circle, #22d3ee, transparent 70%); }
.split-visual.v-cyan::after { background: radial-gradient(circle, #3b82f6, transparent 70%); }
.split-visual.v-rose::before { background: radial-gradient(circle, #f472b6, transparent 70%); }
.split-visual.v-rose::after { background: radial-gradient(circle, #a855f7, transparent 70%); }
.split-visual.v-emerald::before { background: radial-gradient(circle, #34d399, transparent 70%); }
.split-visual.v-emerald::after { background: radial-gradient(circle, #22d3ee, transparent 70%); }
.split-visual.v-amber::before { background: radial-gradient(circle, #fbbf24, transparent 70%); }
.split-visual.v-amber::after { background: radial-gradient(circle, #f472b6, transparent 70%); }
.split-visual.v-slate::before { background: radial-gradient(circle, #6366f1, transparent 70%); opacity: 0.8; }
.split-visual.v-slate::after { background: radial-gradient(circle, #ec4899, transparent 70%); opacity: 0.7; }
.visual-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  padding: 24px 26px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #0f172a;
  box-shadow: 0 24px 48px -24px rgba(2, 6, 23, 0.25);
  max-width: 320px;
  width: 100%;
}
.split-visual.v-slate .visual-card {
  background: rgba(30, 27, 75, 0.6);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.visual-card .vc-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #64748b;
  font-weight: 700;
  margin-bottom: 8px;
}
.split-visual.v-slate .visual-card .vc-label { color: #a5b4fc; }
.visual-card .vc-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: inherit;
}
.visual-card .vc-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: #64748b;
  flex-wrap: wrap;
}
.split-visual.v-slate .visual-card .vc-meta { color: #cbd5e1; }
.vc-meta span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6366f1;
  margin-right: 6px;
  vertical-align: middle;
}
@media (max-width: 820px) {
  .split-strip,
  .split-strip.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .split-strip.reverse .split-copy { order: 1; }
  .split-strip.reverse .split-visual { order: 2; }
}

/* Module 5: Stats Band */
.stats-band {
  padding: 64px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 55%, #581c87 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.stats-band::before,
.stats-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.stats-band::before {
  width: 360px; height: 360px;
  background: #6366f1;
  top: -120px; left: -80px;
  opacity: 0.55;
}
.stats-band::after {
  width: 320px; height: 320px;
  background: #ec4899;
  bottom: -140px; right: -80px;
  opacity: 0.55;
}
.stats-band .container { position: relative; z-index: 1; }
.stats-band a {
  color: #e0e7ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.stats-band a:hover { color: #ffffff; }
.stats-band__lead {
  max-width: 52rem;
  margin: 0 auto 28px;
  text-align: center;
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.6;
}
@media (max-width: 720px) {
  .stats-band__lead { margin-bottom: 20px; font-size: 14px; }
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}
.stat-item { text-align: center; }
.stat-item .stat-num {
  display: block;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  background: linear-gradient(135deg, #60a5fa, #c084fc 50%, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.stat-item .stat-label {
  display: block;
  margin-top: 10px;
  color: #cbd5e1;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stats-band { padding: 48px 0; }
}

/* Module 6: Comparison Table */
.compare-table {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 24px 48px -24px rgba(2, 6, 23, 0.12);
}
.compare-table .compare-row { display: contents; }
.compare-table .compare-cell,
.compare-table .compare-head {
  padding: 18px 22px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 14px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 10px;
}
.compare-table .compare-row:last-child .compare-cell,
.compare-table .compare-row:last-child .compare-head { border-bottom: 0; }
.compare-head {
  font-weight: 700;
  color: #0f172a;
  background: #f8fafc;
  justify-content: flex-start;
}
.compare-head.head-us {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #ffffff;
}
.compare-head.head-them { color: #64748b; }
.compare-cell.item-label {
  font-weight: 600;
  color: #0f172a;
  background: #f8fafc;
}
.compare-cell.us {
  background: rgba(99, 102, 241, 0.05);
  font-weight: 600;
  color: #1e1b4b;
}
.compare-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.compare-mark.yes { background: linear-gradient(135deg, #10b981, #06b6d4); color: #ffffff; box-shadow: 0 6px 12px -6px rgba(16, 185, 129, 0.6); }
.compare-mark.no { background: #fee2e2; color: #dc2626; }
@media (max-width: 720px) {
  .compare-table { grid-template-columns: 1fr; }
}

/* Module 7: FAQ Two Column */
.faq-two-col {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.faq-two-col .faq-aside { position: sticky; top: 96px; }
.faq-two-col .faq-aside .eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(236, 72, 153, 0.12));
  color: #4f46e5;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  margin-bottom: 14px;
}
.faq-two-col .faq-aside h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3.4vw, 2.2rem);
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.faq-two-col .faq-aside p {
  margin: 0;
  color: #64748b;
  line-height: 1.7;
  font-size: 15px;
}
.faq-two-col .faq-aside .faq-cta-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.1);
  color: #4338ca;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.faq-two-col .faq-aside .faq-cta-mini:hover {
  background: rgba(99, 102, 241, 0.18);
  transform: translateX(2px);
}
.faq-list { display: grid; gap: 10px; }
.faq-two-col .faq-accordion {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  padding: 2px 0;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.faq-two-col .faq-accordion summary {
  padding: 18px 22px;
  font-weight: 600;
  font-size: 15px;
  color: #0f172a;
}
.faq-two-col .faq-accordion > div {
  padding: 0 22px 18px;
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
}
.faq-two-col .faq-accordion[open] {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 16px 32px -18px rgba(99, 102, 241, 0.25);
}
@media (max-width: 820px) {
  .faq-two-col { grid-template-columns: 1fr; gap: 24px; }
  .faq-two-col .faq-aside { position: static; }
}

/* Module 8: Gradient CTA Card */
.cta-gradient {
  padding: 72px 0 96px;
  background: transparent;
}
.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 72px 48px;
  background: linear-gradient(135deg, #7dd3fc 0%, #a5b4fc 40%, #86efac 100%);
  color: #ffffff;
  text-align: center;
  box-shadow: 0 40px 80px -30px rgba(79, 70, 229, 0.5);
}
.cta-card::before,
.cta-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.6;
}
.cta-card::before {
  width: 340px; height: 340px;
  background: #60a5fa;
  top: -120px; left: -80px;
}
.cta-card::after {
  width: 380px; height: 380px;
  background: #f472b6;
  bottom: -140px; right: -100px;
}
.cta-card .cta-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.cta-card .cta-eyebrow {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 700;
}
.cta-card h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #ffffff;
}
.cta-card p {
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.65;
  max-width: 560px;
}
.cta-card .btn-primary {
  background: #ffffff;
  color: #4f46e5;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}
.cta-card .btn-primary:hover {
  background: #f5f3ff;
  transform: translateY(-2px);
  box-shadow: 0 22px 40px -14px rgba(0, 0, 0, 0.35);
}
.cta-card .cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  opacity: 0.85;
  margin-left: 18px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.cta-card .cta-secondary:hover { opacity: 1; }
.ad-box-bottom{
  position: absolute;
  z-index: 9999;
  top: 5px;
  left: 0;
  width: 100%;
}
@media (max-height: 1000px) {
  .find-loading-glass, .find-loading-card{
    padding: 12px 48px 8px;
    min-height: 323px;
  }
  a.find-btn-continue, .find-btn-continue{
    padding: 13px 70px;
  }
  .hero{
    padding-top: 60px;
  }
  .page-hero{
    padding-top: 60px;
  }
  .page-hero h1{
    font-size: clamp(2rem, 6.2vw, 2rem);
  }
  .page-hero p{
    margin-bottom: 0;
  }
  .ab-input{
    border: 1px solid #e2e8f0;
    padding: 1px 12px 1px 6px;
  }
  .mode-switch label{
    width: 30px;
    height: 30px;
  }
  .ab-form{
    padding: 5px 18px;
  }
  .hero-driving .ad-note{
    margin-top: 10px;
  }

}
@media (max-width: 640px) {
  .cta-card { padding: 48px 28px; border-radius: 24px; }
  .cta-card .cta-secondary { display: block; margin: 16px 0 0; }
}

@media (max-width: 768px) {
  .hero{
    padding-top: 35px;
  }
  .page-hero{
    padding-top: 35px;
  }
  .site-header{
    height: 30px;
  }
  .brand-badge{
    width: 26px;
    height: 26px;
    font-size: 12px;
  }
  .brand{
    font-size: 15px;
  }
  .header-inner .btn{
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 10px;
  }
  .lang-pill{
    font-size: 12px;
    color: #cbd5e1;
    padding: 2px 7px;
    border-radius: 5px;
  }
}

/* ——— From-to list (/from-to) ——— */
.fromto-page {
  padding: 20px 0 56px;
  background: #ffffff;
  padding-top: 75px;
}
.fromto-page-head {
  margin-bottom: 28px;
  max-width: 42rem;
}
.fromto-breadcrumbs {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 12px;
}
.fromto-breadcrumbs a {
  color: #2563eb;
  text-decoration: underline;
}
.fromto-breadcrumbs a:hover {
  color: #1d4ed8;
}
.fromto-title {
  font-size: clamp(1.45rem, 3.5vw, 1.85rem);
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.fromto-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #64748b;
}
.fromto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
  margin-top: 15px;
}
@media (max-width: 720px) {
  .fromto-grid {
    grid-template-columns: 1fr;
  }
}
.fromto-card {
  display: flex;
  flex-direction: column;
  padding: 16px 18px 14px;
  border: 1px solid #e8ecf1;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.fromto-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 10px 32px -10px rgba(37, 99, 235, 0.18);
}
.fromto-card-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 4px;
}
.fromto-card-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #38bdf8;
}
.fromto-card-main {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  min-height: 0;
}
.fromto-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fromto-card-icon svg {
  display: block;
  width: 44px;
  height: 44px;
}
.fromto-card-text {
  flex: 1;
  min-width: 0;
}
.fromto-card-line {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.45;
  color: #475569;
  word-break: break-word;
}
.fromto-card-line:last-of-type {
  margin-bottom: 0;
}
.fromto-card-lbl {
  font-weight: 600;
  color: #334155;
  margin-right: 6px;
}
.fromto-card-meta {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.fromto-pagination {
  margin-top: 32px;
}

/* ——— Routes index + route detail (geo_route / geo_place) ——— */
.hero-from-to .kw,
.hero-routes .kw,
.hero-route-detail .kw {
  color: #2563eb;
}
.routes-empty {
  color: #64748b;
  font-size: 16px;
  line-height: 1.6;
  max-width: 42rem;
}
.routes-index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.routes-index-item {
  margin: 0;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.routes-index-item:hover {
  border-color: #bfdbfe;
  box-shadow: 0 8px 24px -12px rgba(37, 99, 235, 0.35);
}
.routes-index-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  text-decoration: none;
  color: #0f172a;
}
.routes-index-pair {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.35;
}
.routes-index-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 13px;
  color: #64748b;
}
.routes-pagination {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}
.routes-page-status {
  font-size: 14px;
  color: #64748b;
}
.route-detail-lead {
  max-width: 46rem;
}
.route-cache-note {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: #b45309;
}
.route-detail-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.route-detail-body {
  max-width: 52rem;
}
.route-section-title {
  font-size: 22px;
  margin: 0 0 8px;
  color: #0f172a;
}
.route-section-desc {
  margin: 0 0 20px;
  color: #64748b;
  font-size: 15px;
  line-height: 1.55;
}
.route-alt-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.route-alt-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  overflow: hidden;
}
.route-alt-summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  font-weight: 600;
  color: #0f172a;
}
.route-alt-summary::-webkit-details-marker {
  display: none;
}
.route-alt-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #2563eb;
}
.route-alt-one-line {
  font-size: 15px;
  font-weight: 500;
  color: #334155;
}
.route-alt-panel {
  padding: 0 16px 16px;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}
.route-leg-summaries {
  margin: 12px 0 0;
  padding-left: 1.2rem;
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
}
.route-alt-muted {
  margin: 12px 0 0;
  font-size: 14px;
  color: #94a3b8;
}
.route-map-cta-wrap {
  margin-top: 28px;
}
.route-city-section .route-city-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 900px) {
  .route-city-section .route-city-grid {
    grid-template-columns: 1fr;
  }
}
.route-city-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 20px 22px;
  background: #fff;
}
.route-city-heading {
  margin: 0 0 4px;
  font-size: 18px;
  color: #0f172a;
}
.route-city-sub {
  margin: 0 0 14px;
  font-size: 13px;
  color: #64748b;
}
.route-city-loading,
.route-city-fallback {
  margin: 0;
  font-size: 14px;
  color: #64748b;
}
.route-city-article-title {
  margin: 0 0 10px;
  font-size: 17px;
  color: #1e293b;
}
.route-city-thumb {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 12px;
}
.route-city-extract {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}
.route-city-wiki-link {
  font-weight: 600;
  font-size: 14px;
  color: #2563eb;
}

/* ——— From-to detail (/from-to-detail) ——— */
.fromto-page{
  min-height: 100vh;
}
.ftd-page {
  background: #ffffff;
  padding-top: 60px;
}
.ftd-hero {
  position: relative;
  min-height: 200px;
  padding: 16px 0 32px;
  margin-bottom: 8px;
}
.ftd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--ftd-hero-bg);
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.ftd-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.25) 55%, rgba(15, 23, 42, 0.35) 100%);
}
.ftd-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.ftd-breadcrumbs {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 18px;
}
.ftd-breadcrumbs a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ftd-breadcrumbs a:hover {
  color: #e0f2fe;
}
.ftd-search-card,
.ftd-search-form.ftd-search-card {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px 16px;
  padding: 14px 16px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 40px -12px rgba(15, 23, 42, 0.35);
  max-width: 920px;
  border: none;
  margin: 0;
  box-sizing: border-box;
}
.ftd-search-input {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.35;
  outline: none;
}
.ftd-search-input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}
.ftd-search-grid {
  flex: 1 1 260px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}
@media (max-width: 560px) {
  .ftd-search-grid {
    grid-template-columns: 1fr;
  }
}
.ftd-search-field {
  min-width: 0;
  position: relative;
}
.ftd-search-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 4px;
}
.ftd-search-value {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.35;
  word-break: break-word;
}
.ftd-search-btn {
  flex: 0 0 auto;
  align-self: center;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: #2563eb;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.ftd-search-btn:hover {
  background: #1d4ed8;
  color: #fff;
}
.ftd-search-field .input-clear-row.ftd-search-input-row .ftd-search-input {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}
.ftd-body {
  padding: 8px 0 56px;
}
.ftd-body-inner {
  max-width: 800px;
  margin: 0 auto;
}
.ftd-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;
}
.ftd-route-intro {
  border-radius: 12px;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ftd-title {
  margin: 0;
  padding: 0;
  font: inherit;
  font-weight: inherit;
  color: inherit;
}
.ftd-title--stacked {
  display: block;
}
.ftd-addr-pair {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}
.ftd-addr-card {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 10px;
  align-items: baseline;
  background: #fff;
  border-radius: 8px;
  padding: 18px 20px 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 4px 14px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.06);
}
.ftd-title-label {
  grid-column: 1;
  grid-row: 1;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 800;
  color: #e74c3c;
  font-size: clamp(1.5rem, 4.2vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.ftd-addr-card__place {
  grid-column: 2;
  grid-row: 1;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.35em;
  min-width: 0;
}
.ftd-title-name {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 800;
  color: #0f172a;
  font-size: clamp(1.5rem, 4.2vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.ftd-addr-cc {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700;
  color: #0f172a;
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  line-height: 1.2;
}
.ftd-addr-card__sub {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
  color: #2563eb;
  text-decoration: none;
}
.ftd-addr-card__sub:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ftd-addr-card__sub .ftd-pin {
  flex-shrink: 0;
  color: #2563eb;
  margin-top: 2px;
  display: flex;
}
.ftd-addr-card__sub-text {
  min-width: 0;
  word-break: break-word;
}
.ftd-addr-card__sub .ftd-addr-sub {
  color: #3b82f6;
  font-weight: 500;
}
.ftd-lead {
  margin: 0;
  padding: 18px 20px;
  font-size: 16px;
  line-height: 1.5;
  color: #0f172a;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 4px 14px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.06);
}
.ftd-lead strong {
  font-weight: 700;
  color: #0f172a;
}
.ftd-title-to {
  color: #dc2626;
  font-weight: 800;
}

.ftd-body-inner--route {
  max-width: 1120px;
}

.ftd-route-inner {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  margin: 0 0 28px;
}
.ftd-route-inner__left {
  flex: 1;
  min-width: 0;
}
.ftd-route-inner__right {
  flex: 0 0 320px;
  width: 320px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (max-width: 900px) {
  .ftd-route-inner {
    flex-direction: column;
  }
  .ftd-route-inner__right {
    flex: 1 1 auto;
    width: 100%;
  }
}
.ftd-route-inner__right .ftd-mapblock.ftd-mapblock--band {
  margin: 0;
  height: 220px;
  min-height: 200px;
  flex: 0 0 auto;
  border-radius: 12px;
}
.ftd-directions-wrap {
  margin-top: 18px;
}
.ftd-near--rail {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.ftd-near--rail .ftd-near-list {
  flex: none;
  overflow: visible;
  min-height: 0;
}

.ftd-rd2-card {
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}
.ftd-rd2-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
  background: #fafafa;
}
.ftd-rd2-title {
  font-weight: 800;
  font-size: 15px;
  color: #0f172a;
}
.ftd-rd2-close {
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
}
.ftd-rd2-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.ftd-rd2-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
  background: #fff;
}
.ftd-rd2-mode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.ftd-rd2-mode:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}
.ftd-rd2-mode.is-active {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}
.ftd-rd2-mode__ico {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ftd-rd2-mode.is-active .ftd-rd2-mode__ico svg {
  stroke: #fff;
}
.ftd-rd2-tabs {
  display: flex;
  gap: 4px;
  padding: 0 8px;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}
.ftd-rd2-tabs .ftd-rd-tab {
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 13px;
  color: #64748b;
  cursor: pointer;
  border-radius: 0;
  margin-bottom: -1px;
}
.ftd-rd2-tabs .ftd-rd-tab.is-active {
  color: #fff;
  border-bottom-color: #2563eb;
}
.ftd-rd2-tabs--single {
  border-bottom: 1px solid #e2e8f0;
  padding: 8px 12px;
}
.ftd-rd2-tabs-single {
  font-weight: 700;
  font-size: 13px;
  color: #2563eb;
}
.ftd-rd2-summary {
  padding: 14px 14px 10px;
  background: #fff;
}
.ftd-rd2-hero-dur {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 800;
  color: #15803d;
  line-height: 1.15;
  margin-bottom: 6px;
}
.ftd-rd2-hero-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}
.ftd-rd2-hero-distmi {
  color: #0f172a;
}
.ftd-rd2-hero-distkm {
  color: #64748b;
  font-weight: 500;
}
.ftd-rd2-hero-arrival {
  margin-top: 6px;
  font-size: 13px;
  color: #475569;
}
.ftd-rd2-hero-via {
  margin-top: 4px;
  font-size: 12px;
  color: #94a3b8;
}
.ftd-rd2-card .ftd-rd-footer {
  padding: 0 14px 14px;
  border-top: 0;
  background: #fff;
}
.ftd-rd2-card--static .ftd-rd2-summary--static {
  padding: 14px;
}
.ftd-steps-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px;
}
.ftd-no-steps {
  margin: 0;
  font-size: 14px;
  color: #64748b;
  line-height: 1.55;
}

.ftd-rd-shell--summary {
  margin: 0;
}
.ftd-rd-shell--steps {
  margin: 0;
}
.ftd-rd-card--summary {
  margin: 0;
}
.ftd-rd-card--stepsonly {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #bfdbfe;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
.ftd-rd-shell--steps .ftd-rd-steps {
  overflow: auto;
}
.ftd-rd-maplink--primary {
  display: block;
  text-align: center;
  padding: 12px 16px;
  border-radius: 10px;
  background: #2563eb;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35);
}
.ftd-rd-maplink--primary:hover {
  background: #1d4ed8;
  color: #fff !important;
  text-decoration: none !important;
}

.ftd-near__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px;
}
.ftd-near__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  margin-bottom: 10px;
}
.ftd-near-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ftd-near-cat {
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}
.ftd-near-cat:hover {
  background: #dbeafe;
}
.ftd-near-cat.is-active {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}
.ftd-near-radius-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #64748b;
}
.ftd-near-radius {
  font: inherit;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
}
.ftd-near-status {
  min-height: 1.2em;
  font-size: 13px;
  color: #64748b;
  margin: 0 0 8px;
}
.ftd-near-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ftd-near-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #e8ecf1;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.ftd-near-card:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}
.ftd-near-card__thumb {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, #dbeafe, #e0e7ff);
  color: #1e3a8a;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ftd-near-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ftd-near-card__title {
  font-weight: 700;
  font-size: 15px;
  color: #2563eb;
}
.ftd-near-card:hover .ftd-near-card__title {
  text-decoration: underline;
}
.ftd-near-card__meta {
  font-size: 12px;
  color: #64748b;
}
.ftd-near-card__addr {
  font-size: 13px;
  color: #334155;
  line-height: 1.4;
}
.ftd-near-card__phone {
  font-size: 13px;
  color: #0f172a;
}
.ftd-near-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 12px;
}
.ftd-near-page {
  min-width: 36px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.ftd-near-page.is-active {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}
.ftd-near-page:disabled {
  opacity: 0.45;
  cursor: default;
}
.ftd-near-empty {
  margin: 0;
  font-size: 14px;
  color: #64748b;
}

.ftd-page .home-trips-popular {
  margin-top: 8px;
  margin-bottom: 8px;
}

/* From-to detail: turn-by-turn (same visual language as direction-map sidebar) */
.ftd-route-detail-mount.ftd-rd-shell {
  margin: 0 0 24px;
}
.ftd-acc-panel .ftd-route-detail-mount--in-acc.ftd-rd-shell {
  margin: 16px 0 0;
}
.ftd-route-detail-mount--in-acc .ftd-rd-footer {
  display: none;
}
.ftd-rd-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #bfdbfe;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
.ftd-rd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #dbeafe 0%, #bfdbfe 100%);
  font-size: 13px;
  font-weight: 700;
  color: #1e3a5f;
}
.ftd-rd-header__summary {
  flex: 1;
  line-height: 1.35;
  min-width: 0;
}
.ftd-rd-header__main {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}
.ftd-rd-header__meta {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #334155;
  margin-top: 2px;
}
.ftd-rd-tabs {
  display: flex;
  flex-shrink: 0;
  gap: 6px;
}
.ftd-rd-tab {
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border: 1px solid rgba(30, 64, 175, 0.25);
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.85);
  color: #1e40af;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  font-family: inherit;
}
.ftd-rd-tab:hover {
  background: #fff;
  border-color: rgba(30, 64, 175, 0.45);
}
.ftd-rd-tab.is-active {
  background: #2563eb;
  border-color: #1d4ed8;
  color: #fff;
}
.ftd-rd-steps {
  overflow-y: auto;
  padding: 14px 10px 14px 14px;
  -webkit-overflow-scrolling: touch;
}
.ftd-rd-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0 12px;
  align-items: start;
}
.ftd-rd-step__track {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
}
.ftd-rd-step__icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}
.ftd-rd-step__icon svg {
  width: 14px;
  height: 14px;
  display: block;
}
.ftd-rd-step__line {
  width: 0;
  flex: 1;
  min-height: 14px;
  border-left: 2px dotted #94a3b8;
  margin: 2px 0;
}
.ftd-rd-step:last-child .ftd-rd-step__line {
  display: none;
}
.ftd-rd-step__body {
  padding-bottom: 16px;
}
.ftd-rd-step:last-child .ftd-rd-step__body {
  padding-bottom: 4px;
}
.ftd-rd-step__instr {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.45;
}
.ftd-rd-step__dist {
  margin-top: 4px;
  font-size: 12px;
  color: #64748b;
}
.ftd-rd-footer {
  padding: 10px 14px 12px;
  border-top: 1px solid #e2e8f0;
  background: #fafafa;
}
.ftd-rd-maplink {
  font-size: 14px;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}
.ftd-rd-maplink:hover {
  text-decoration: underline;
}

.ftd-expired {
  color: #b45309;
  font-style: normal;
}
.ftd-mapblock {
  position: relative;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  margin: 0 0 24px;
  background-color: #e2e8f0;
  border: 1px solid #e2e8f0;
  isolation: isolate;
}
/* Blurred map preview (image on child so filter does not affect the button) */
.ftd-mapblock-bg {
  position: absolute;
  z-index: 0;
  top: -16px;
  right: -16px;
  bottom: -16px;
  left: -16px;
  background-image: var(--ftd-mapblock-bg, linear-gradient(135deg, #e0f2fe 0%, #dbeafe 40%, #cffafe 100%));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(16px);
  transform: scale(1.06);
  pointer-events: none;
}
.ftd-mapblock-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.72) 0%, rgba(226, 232, 240, 0.55) 0%, rgba(15, 23, 42, 0.18) 0%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
}
.ftd-mapblock-btn {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  color: #0f172a;
  background: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.15);
  border: 1px solid #e2e8f0;
}
.ftd-mapblock-btn:hover {
  background: #f8fafc;
  color: #0f172a;
}
.ftd-ad-slot {
  min-height: 72px;
  margin: 0 0 28px;
  border-radius: 12px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #94a3b8;
}
.ftd-section-h {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 32px 0 12px;
}
.ftd-section-sub {
  margin: -6px 0 14px;
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}
.ftd-acc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ftd-explore-nearme {
  margin: 0 0 4px;
}
.ftd-explore-nearme__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 28px 0 12px;
}
.ftd-explore-nearme__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ftd-explore-nearme__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #e8ecf1;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  text-decoration: none;
  color: #0f172a;
  font-size: 15px;
  font-weight: 500;
}
.ftd-explore-nearme__row:hover {
  background: #fafbfc;
  border-color: #dbe2ea;
}
.ftd-explore-nearme__label {
  min-width: 0;
  flex: 1;
}
.ftd-explore-nearme__chev {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}
.ftd-acc {
  border: 1px solid #e8ecf1;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.ftd-acc > summary {
  list-style: none;
}
.ftd-acc > summary::-webkit-details-marker {
  display: none;
}
.ftd-acc-sum {
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  padding: 14px 16px;
  font-size: 15px;
}
.ftd-acc-sum:hover {
  background: #fafbfc;
}
.ftd-acc-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #f1f5f9;
}
.ftd-acc-title {
  flex: 1 1 140px;
  min-width: 0;
  font-weight: 600;
  color: #0f172a;
}
.ftd-acc-meta {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
}
.ftd-acc-best {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0284c7;
  border: 1px solid #bae6fd;
  background: #f0f9ff;
  padding: 3px 9px;
  border-radius: 999px;
}
.ftd-acc-chev {
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-right: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.ftd-acc[open] .ftd-acc-chev {
  transform: rotate(225deg);
  margin-top: 4px;
}
.ftd-acc-panel {
  padding: 0 16px 16px;
  border-top: 1px solid #f1f5f9;
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}
.ftd-acc-muted {
  margin: 0 0 10px;
  color: #64748b;
}
.ftd-alt-ol {
  margin: 12px 0 12px;
  padding-left: 1.2rem;
}
.ftd-alt-ol > li {
  margin-bottom: 10px;
}
.ftd-leg-ul {
  margin: 6px 0 0;
  padding-left: 1rem;
  font-size: 13px;
  color: #64748b;
}
.ftd-more-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 14px;
  color: #2563eb;
  margin-right: 14px;
  margin-top: 4px;
}
.ftd-more-link:hover {
  color: #1d4ed8;
}
.ftd-more-link--accent {
  color: #db2777;
}
.ftd-more-link--accent:hover {
  color: #be185d;
}
.ftd-prose {
  font-size: 14px;
  line-height: 1.65;
  color: #475569;
}
.ftd-prose p {
  margin: 0 0 12px;
}
.ftd-prose strong {
  color: #1e293b;
}
.ftd-city-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 8px;
}
@media (max-width: 720px) {
  .ftd-city-grid {
    grid-template-columns: 1fr;
  }
}
.ftd-city-card {
  border: 1px solid #e8ecf1;
  border-radius: 14px;
  padding: 18px;
  background: #fafbfc;
}
.ftd-city-h {
  margin: 0 0 4px;
  font-size: 16px;
  color: #0f172a;
}
.ftd-city-sub {
  margin: 0 0 12px;
  font-size: 13px;
  color: #64748b;
}
.ftd-city-mount .route-city-extract {
  font-size: 13px;
}
.ftd-back-wrap {
  margin-top: 36px;
}

/* ------------------------------------------------------------------ */
/* Home: Featured trips + Other popular trips (index)                 */
/* ------------------------------------------------------------------ */
.home-trips-featured .home-trips-head,
.home-trips-popular .home-popular-head {
  margin-bottom: 1.25rem;
}
.home-trips-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.home-trips-head > div {
  min-width: 0;
}
.home-trips-head__desc {
  margin: 0.35rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #64748b;
  max-width: 44rem;
}
.home-trips-head__icon {
  display: flex;
  color: #64748b;
  flex-shrink: 0;
}
.home-trips-head__icon--heart {
  color: #94a3b8;
}
.home-trips-head h2,
.home-popular-head h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.home-featured-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.home-featured-top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(140px, 1fr));
  gap: 12px;
  min-height: 300px;
}
.home-featured-bottom {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.home-trip-card {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  min-height: 140px;
  background: #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.home-trip-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}
.home-trip-card:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.home-trip-card--hero {
  grid-column: 1;
  grid-row: 1 / span 2;
  min-height: 280px;
}
.home-trip-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.35s ease;
}
.home-trip-card:hover .home-trip-card__img {
  transform: scale(1.06);
}
.home-trip-card__label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  background: rgba(15, 23, 42, 0.72);
  border-radius: 6px;
  backdrop-filter: blur(6px);
}
.home-popular-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.home-popular-head__lead {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.home-popular-head__rule {
  flex: 1;
  height: 1px;
  background: #e2e8f0;
  min-width: 48px;
}
.home-popular-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.home-popular-tag {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.home-trips-popular .home-popular-tag {
  background: #fff;
}
.home-popular-tag:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  color: #1d4ed8;
}
@media (max-width: 900px) {
  .home-featured-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }
  .home-trip-card--hero {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 220px;
  }
  .home-featured-bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-hero h1{
    font-size: clamp(1.5rem, 2.2vw, 1rem);
  }
  .ab-input input{
    padding: 6px;
  }
  .ab-submit .btn-primary{
    padding: 7px 14px;
    font-size: 16px;
    border-radius: 7px;
  }
  .page-hero p{
    line-height: 19px;
  }
  .ab-form{
    gap: 6px;
  }
}
@media (max-width: 520px) {
  .hero-cta-wrap{
    margin-bottom: 0;
  }
  .ftd-page{
    padding-top: 30px;
  }
  .home-featured-top {
    grid-template-columns: 1fr;
  }
  .home-trip-card--hero {
    grid-column: 1;
    min-height: 200px;
  }
  .home-featured-bottom {
    grid-template-columns: 1fr;
  }
  .home-popular-head__rule {
    flex-basis: 100%;
    order: 3;
  }
}