/*
Theme Name: Rent Car CTA WA
Theme URI: https://aby.biz.id/
Author: Habiburachman
Author URI: https://aby.biz.id/
Description: Editable WordPress block theme for rental car websites with WhatsApp CTA, rental car content type, catalog, booking modal, and premium landing page sections.
Version: 1.4.17
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: premium-rental-editable
*/

:root {
  --orange: #ff7a1a;
  --orange-dark: #e8650a;
  --orange-soft: #fff1e6;
  --ink: #1c2333;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --stage-dark: #0a1530;
  --stage-dark-mid: #16244a;
  --gold: #d4af37;
  --radius: 16px;
  --shadow-soft: 0 8px 24px rgba(20,20,40,0.08);
  --shadow-deep: 0 20px 50px rgba(20,20,40,0.16);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  scroll-behavior: smooth;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(28, 35, 51, 0.08);
}

.navbar .brand {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
}

.navbar .brand img { height: 42px; width: auto; display: block; }

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

.navbar nav { display: flex; align-items: center; gap: 28px; }

.navbar nav a {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.navbar nav a:hover,
.navbar nav a.active { color: var(--orange); }

.navbar .btn-nav-cta {
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Hamburger toggle — hidden on desktop, shown only on narrow screens (see media query below). */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

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

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

main,
.wp-site-blocks main,
.wp-block-post-content { padding-top: 72px; }

main.wp-block-group {
  padding-bottom: clamp(44px, 5vw, 76px);
}

.wp-site-blocks { overflow-x: clip; }

.wp-block-post-content > * { margin-block-start: 0; }

.wp-block-navigation__container a { text-decoration: none; }

/* ---------- Mobile navbar: collapse links behind a hamburger ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .navbar nav {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 16px;
    border-bottom: 1px solid rgba(28,35,51,0.08);
    box-shadow: var(--shadow-soft);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.2s ease;
  }

  .navbar nav.open {
    max-height: 420px;
    opacity: 1;
  }

  .navbar nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(28,35,51,0.06);
  }

  .navbar .btn-nav-cta {
    margin-top: 12px;
    justify-content: center;
    width: 100%;
  }
}

/* ---------- Hero (compact above-the-fold photo lead) ---------- */
.hero {
  position: relative;
  min-height: clamp(540px, calc(100svh - 72px), 680px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 7vh, 72px) 0;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(7,10,18,0.9) 0%, rgba(7,10,18,0.68) 36%, rgba(7,10,18,0.38) 68%, rgba(7,10,18,0.76) 100%),
    var(--hero-bg-image, url("assets/img/hero/hero-bg.jpg"));
  background-size: cover;
  background-position: center 58%;
}

.hero-inner {
  max-width: 1220px;
  margin: 0 auto;
  width: 100%;
  padding: 0 32px;
  box-sizing: border-box;
}

.hero-copy {
  width: min(100%, 660px);
}

.hero-copy h1 {
  font-size: clamp(3.1rem, 5.4vw, 5.35rem);
  line-height: 0.96;
  margin: 0 0 20px;
  color: #fff;
  max-width: 10.8ch;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-copy p {
  color: rgba(255,255,255,0.84);
  margin: 0 0 26px;
  max-width: 46ch;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 4px;
  justify-content: flex-start;
}

.hero-actions .wp-block-button {
  flex: 0 0 auto;
  margin: 0;
}

.hero-actions .wp-block-button__link {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: clamp(220px, 16vw, 292px);
  padding: 0 28px;
  border-radius: 14px;
  font-size: clamp(0.98rem, 1.08vw, 1.05rem);
  font-weight: 800;
  white-space: nowrap;
}

@media (min-width: 721px) {
  .hero-actions {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 16px;
    width: auto;
    max-width: none;
  }

  .hero-actions .wp-block-button {
    width: auto;
  }

  .hero-actions .wp-block-button__link {
    min-height: 60px;
    min-width: 0;
    padding: 0 28px;
    border-radius: 13px;
    font-size: 0.98rem;
    box-sizing: border-box;
  }

  .hero-actions .btn-3d .wp-block-button__link {
    min-width: 260px;
    box-shadow:
      0 6px 0 var(--orange-dark),
      0 12px 24px rgba(255,122,26,0.22);
  }

  .hero-actions .btn-outline-light .wp-block-button__link {
    min-width: 260px;
    background: rgba(9, 16, 30, 0.52);
    border-color: rgba(255,255,255,0.30);
  }

  .hero-actions .wp-block-button__link::after {
    content: "\2192";
    margin-left: 12px;
    font-size: 1em;
    line-height: 1;
    opacity: 0.92;
  }
}

.btn-outline-light .wp-block-button__link {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.34);
  color: #fff;
  box-shadow: none;
}

.btn-outline-light .wp-block-button__link:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.52);
}

.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-trust-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(255,255,255,0.86);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  font-size: 0.84rem;
  font-weight: 800;
}

/* ---------- Search bar (premium filter panel on the hero photo) ---------- */
.search-bar {
  width: 100%;
  max-width: 1180px;
  box-sizing: border-box;
  margin: 34px 0 0;
  padding: 30px 34px 26px;
  background: linear-gradient(180deg, rgba(10, 15, 27, 0.86), rgba(7, 11, 20, 0.82));
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 22px;
  display: grid;
  grid-template-columns: minmax(280px, 1.3fr) minmax(260px, 1fr) minmax(260px, 1fr) minmax(220px, 0.85fr);
  align-items: end;
  column-gap: 28px;
  row-gap: 22px;
  box-shadow: 0 24px 62px rgba(0,0,0,0.28);
}

.search-field {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.search-bar > p {
  display: contents;
  margin: 0;
  padding: 0;
}

.search-bar > p:empty,
.search-field > p {
  display: none;
}

.search-helper > p {
  margin: 0;
}

.search-field-type {
  padding-left: 0;
}

.search-field-start,
.search-field-end {
  position: relative;
  border-left: 0;
}

.search-field-start::before,
.search-field-end::before,
.search-bar .btn-search::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 4px;
  bottom: 0;
  width: 1px;
  background: rgba(255,255,255,0.11);
}

.search-field label {
  display: block;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.70);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.search-field-control {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  width: 100%;
  height: 64px;
  padding: 0 22px;
  border-radius: 16px;
  background: rgba(255,255,255,0.072);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 8px 18px rgba(0,0,0,0.12);
}

.search-field-control .field-icon {
  color: var(--orange);
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.search-field-control .chevron {
  color: rgba(255,255,255,0.62);
  font-size: 1.35rem;
  margin-left: auto;
}

.search-field select,
.search-field input {
  background: transparent;
  border: none;
  font-size: 1.12rem;
  font-weight: 800;
  color: #fff;
  padding: 2px 0;
  width: 100%;
  min-width: 0;
  height: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.search-field input[type="date"] {
  text-transform: lowercase;
  position: relative;
}

.search-field select option { color: #1c2333; }

.search-field input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  width: 0;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

.search-field select:focus,
.search-field input:focus { outline: none; }

.search-divider {
  display: none;
}

.search-bar .btn-search {
  position: relative;
  width: 100%;
  height: 64px;
  border-radius: 16px;
  border: none;
  background: linear-gradient(180deg, #ff8d3d, var(--orange));
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  cursor: pointer;
  margin: 0;
  align-self: end;
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  box-shadow: 0 16px 34px rgba(255,122,26,0.26);
  transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-search-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.ui-icon {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-helper {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.68);
}

.search-helper span {
  color: rgba(255,255,255,0.58);
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.search-helper p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.search-bar .btn-search:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(255,122,26,0.28);
}

@media (max-width: 720px) {
  .hero {
    min-height: clamp(470px, calc(100svh - 72px), 610px);
    justify-content: center;
    padding: 30px 0 34px;
    background-position: 55% center;
  }

  .hero-inner { padding: 0 22px; }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 11vw, 3.35rem);
    line-height: 0.98;
    max-width: 10.5ch;
    margin-bottom: 14px;
  }

  .hero-copy p {
    font-size: 0.96rem;
    line-height: 1.42;
    max-width: 31ch;
    margin-bottom: 18px;
  }

  .hero-actions {
    gap: 14px;
    margin-top: 2px;
    width: min(100%, 560px);
  }

  .hero-actions .wp-block-button {
    width: 100%;
  }

  .hero-actions .wp-block-button__link,
  .hero-copy .wp-block-button.btn-3d .wp-block-button__link {
    min-height: 54px;
    padding: 13px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    min-width: 0;
    width: 100%;
  }

  .hero-trust-pills {
    gap: 8px;
    margin-top: 18px;
    max-width: 320px;
  }

  .hero-trust-pills span {
    min-height: 30px;
    padding: 0 11px;
    font-size: 0.76rem;
  }

  .search-bar {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: none;
    margin-top: 20px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(7, 10, 18, 0.82);
  }

  .search-field {
    height: auto;
    gap: 7px;
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  .search-field-start,
  .search-field-end {
    padding-left: 0;
    border-left: 0;
  }

  .search-field-start::before,
  .search-field-end::before,
  .search-bar .btn-search::before {
    display: none;
  }

  .search-field:first-child { grid-column: auto; }
  .search-field:not(:first-child) { display: flex; }
  .search-divider { display: none; }

  .search-field label {
    display: block;
    font-size: 0.8rem;
  }

  .search-field-control {
    gap: 10px;
    min-width: 0;
    height: 50px;
    padding: 0 14px;
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  }

  .search-field-control .field-icon {
    width: 21px;
    height: 21px;
  }
  .search-field-control .chevron { font-size: 0.9rem; }

  .search-field select,
  .search-field input {
    min-width: 0;
    font-size: 0.94rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .search-bar .btn-search {
    width: 100%;
    height: 50px;
    min-height: 0;
    margin: 0;
    border-radius: 12px;
    align-self: auto;
  }

  .btn-search-icon { font-size: 1.35rem; }

  .search-helper {
    margin-top: 0;
    padding-top: 12px;
    align-items: flex-start;
  }

  .search-helper p {
    font-size: 0.82rem;
  }
}

@media (max-width: 390px) {
  .hero-copy h1 { font-size: 2.2rem; }
  .hero-copy p { font-size: 0.88rem; }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-actions .wp-block-button,
  .hero-actions .wp-block-button__link {
    width: 100%;
  }
}

/* ---------- "Tentang Kami" two-column intro + feature icon grid ---------- */
.about-intro {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 32px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-intro .eyebrow {
  color: var(--orange);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.about-intro h2 {
  font-size: 2rem;
  line-height: 1.25;
  margin: 0 0 16px;
  color: var(--ink);
}

.about-intro p {
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 46ch;
}

.feature-icon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
}

.feature-item { display: flex; align-items: flex-start; gap: 14px; }

.feature-item .icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.feature-item .icon.tag { background: #fff1e6; }
.feature-item .icon.support { background: #ffe6e6; }
.feature-item .icon.check { background: #e3f7ea; }
.feature-item .icon.shield { background: #ece6ff; }

.feature-item h4 {
  margin: 0 0 4px;
  font-size: 0.9rem;
  color: var(--ink);
}

.feature-item p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 860px) {
  .about-intro { grid-template-columns: 1fr; }
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: 64px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.section:nth-of-type(even) {
  background: var(--bg-alt);
  border-radius: 32px;
}

.section h2 {
  font-size: 1.7rem;
  margin-bottom: 8px;
  color: var(--ink);
  text-align: center;
}

.section .subhead {
  color: var(--text-muted);
  margin-bottom: 36px;
  text-align: center;
}

.section-cta { text-align: center; margin: 48px 0; }

/* ---------- Rental breadcrumbs ---------- */
.rental-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.rental-breadcrumb a {
  color: var(--orange-dark);
  font-weight: 800;
}

.rental-breadcrumb span:last-child {
  color: var(--text-muted);
}

.rental-breadcrumb .breadcrumb-separator {
  color: rgba(107,114,128,0.72);
}

.rental-breadcrumb-catalog {
  margin: -18px 0 24px;
}

.rental-breadcrumb-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 32px 0;
}

/* ---------- Buttons ---------- */
.btn-3d {
  display: inline-block;
  appearance: none;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 14px 28px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(180deg, #ff8d3d, var(--orange));
  box-shadow:
    0 6px 0 var(--orange-dark),
    0 10px 18px rgba(255,122,26,0.28);
  transform: translateY(0);
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.15s ease;
}

.btn-3d:hover { filter: brightness(1.05); }

.btn-3d:active,
.btn-3d.is-pressed {
  transform: translateY(6px);
  box-shadow:
    0 0px 0 var(--orange-dark),
    0 4px 10px rgba(255,122,26,0.25);
}

.btn-3d:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wp-block-button.btn-3d,
.wp-block-button.btn-cta-white {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.wp-block-button.btn-3d .wp-block-button__link {
  color: #fff;
  background: linear-gradient(180deg, #ff8d3d, var(--orange));
  border-radius: 12px;
  padding: 14px 28px;
}

.wp-block-button.btn-cta-white .wp-block-button__link {
  background: #fff;
  color: var(--orange-dark);
  border-radius: 999px;
  padding: 12px 28px;
}

.btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 12px;
  border: 1.5px solid var(--orange);
  color: var(--orange-dark);
  background: #fff;
  cursor: pointer;
  font-weight: 600;
}

/* ---------- Catalog grid / cards ---------- */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 28px;
  align-items: stretch;
}

.car-card {
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(28,35,51,0.06);
  transform-style: preserve-3d;
  transform: perspective(700px) rotateX(0deg) rotateY(0deg) scale(1);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 680px;
}

.car-card:hover { box-shadow: var(--shadow-deep); }

.car-card:focus-visible {
  outline: 3px solid rgba(230, 126, 34, 0.45);
  outline-offset: 4px;
}

.car-card .car-photo img,
.car-card h3 {
  cursor: pointer;
}

/* Fixed-ratio photo crop so every card lines up evenly regardless of source image size. */
.car-card .car-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--bg-alt);
}

.car-card .car-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.car-card .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.car-card h3 {
  margin: 0 0 3px;
  font-size: 1.28rem;
  line-height: 1.15;
  min-height: 2.35em;
  display: flex;
  align-items: flex-end;
}

.car-card h3 a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.car-card .kategori {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  min-height: 1.35em;
}

.car-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  min-height: 72px;
  align-content: flex-start;
}

.car-specs span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 4px 9px;
  border-radius: 999px;
}

.car-card .price {
  color: var(--orange-dark);
  font-weight: 800;
  font-size: 1.05rem;
  margin: 0 0 14px;
}

.car-card .price small {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.75rem;
}

/* 3-tier pricing table on car cards, matches the reference layout. */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 14px;
  font-size: 0.92rem;
  table-layout: fixed;
}

.price-table tr {
  border-top: 1px solid rgba(28,35,51,0.07);
  height: 40px;
}
.price-table tr:first-child { border-top: none; }

.price-table td {
  padding: 7px 0;
}

.price-table td.label { color: var(--text-muted); }
.price-table td.value { color: var(--ink); font-weight: 700; text-align: right; }

.car-card-actions {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.car-card-actions br {
  display: none;
}

.car-card > .btn-3d,
.car-card > .btn-secondary,
.car-card > p .btn-3d,
.car-card > p .btn-secondary,
.car-card-actions .btn-3d,
.car-card-actions .btn-secondary {
  width: 100%;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 16px;
}

.car-card > .btn-3d,
.car-card > p .btn-3d,
.car-card-actions .btn-3d {
  font-size: 1.04rem;
  font-weight: 800;
}

.car-card > .btn-secondary,
.car-card > p .btn-secondary,
.car-card-actions .btn-secondary {
  font-size: 0.98rem;
  font-weight: 800;
  background: #fff;
  border: 2px solid var(--orange);
  color: var(--orange-dark);
}

.car-card > p:has(.btn-3d) {
  margin: 0;
}

.car-card > p:has(.btn-3d) br {
  display: none;
}

/* ---------- Testimonials (carousel) ---------- */
.testimonials-section {
  overflow: hidden;
}

.testimonials-section h2 {
  margin-bottom: 10px;
}

.testimonial-stars {
  text-align: center;
  color: var(--orange);
  font-size: 1.1rem;
  letter-spacing: 4px;
  margin-bottom: 6px;
}

.testimonial-shell {
  position: relative;
  max-width: 1120px;
  margin: 28px auto 0;
}

.testimonial-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 20px;
  scrollbar-width: none;
}

.testimonial-carousel::-webkit-scrollbar { display: none; }

.testimonial-card {
  background: #fff;
  border: 1px solid rgba(28,35,51,0.08);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  flex: 0 0 calc((100% - 40px) / 3);
  min-height: 210px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.testimonial-card .avatar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }

.testimonial-card .testimonial-name {
  color: var(--ink);
  font-weight: 900;
}

.testimonial-card .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.testimonial-card p.quote { color: var(--ink); margin: 0 0 12px; line-height: 1.55; }
.testimonial-card .author { color: var(--orange-dark); font-weight: 700; font-size: 0.9rem; }

.testimonial-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  border: 1px solid rgba(28,35,51,0.1);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 24px rgba(20,20,40,0.12);
  cursor: pointer;
  font-size: 1.9rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.testimonial-prev { left: -22px; }
.testimonial-next { right: -22px; }

.testimonial-nav:hover {
  transform: translateY(-50%) scale(1.04);
  color: var(--orange-dark);
  border-color: rgba(255,122,26,0.35);
}

.testimonial-nav.is-disabled,
.testimonial-nav[aria-disabled="true"] {
  opacity: 0.34;
  cursor: default;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(28,35,51,0.18);
  cursor: pointer;
  padding: 0;
}

.carousel-dots button.active { background: var(--orange); width: 22px; border-radius: 5px; transition: all 0.2s ease; }

@media (max-width: 900px) {
  .testimonial-card {
    flex-basis: min(72vw, 380px);
  }

  .testimonial-prev { left: 4px; }
  .testimonial-next { right: 4px; }
}

@media (max-width: 620px) {
  .testimonials-section {
    padding-left: 0;
    padding-right: 0;
  }

  .testimonials-section > :not(.testimonial-shell):not(.carousel-dots) {
    padding-left: 22px;
    padding-right: 22px;
  }

  .testimonial-shell {
    margin-top: 22px;
  }

  .testimonial-carousel {
    gap: 16px;
    padding: 8px 24px 22px;
    scroll-padding-left: 24px;
  }

  .testimonial-card {
    flex-basis: min(82vw, 420px);
    min-height: 220px;
    padding: 24px;
    border-radius: 20px;
  }

  .testimonial-card .avatar {
    width: 46px;
    height: 46px;
  }

  .testimonial-nav {
    top: auto;
    bottom: -48px;
    width: 40px;
    height: 40px;
    transform: none;
    font-size: 1.65rem;
  }

  .testimonial-nav:hover {
    transform: none;
  }

  .testimonial-prev { left: 24px; }
  .testimonial-next { right: 24px; }

  .carousel-dots {
    margin-top: 6px;
    padding: 0 76px;
  }
}

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

.article-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(28,35,51,0.08);
  box-shadow: var(--shadow-soft);
}

.article-card .thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--orange-soft), #ffe2c8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.article-card .body { padding: 16px; }
.article-card .date { font-size: 0.74rem; color: var(--text-muted); margin: 0 0 6px; }
.article-card h4 { margin: 0; font-size: 0.95rem; line-height: 1.4; }

/* ---------- Maps ---------- */
.rental-map-section {
  max-width: 1200px;
  margin: 12px auto clamp(88px, 8vw, 128px);
  padding: 0 32px;
}

.rental-map-section-car {
  margin-top: 0;
}

.rental-map-head {
  text-align: center;
  margin-bottom: 24px;
}

.rental-map-head h2 {
  margin: 8px 0;
  font-size: 1.8rem;
  color: var(--ink);
}

.rental-map-head p:not(.section-kicker) {
  margin: 0 auto;
  max-width: 62ch;
  color: var(--text-muted);
}

.rental-map-frame {
  width: 100%;
  aspect-ratio: 16 / 5;
  min-height: 320px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(28,35,51,0.08);
  box-shadow: var(--shadow-soft);
  background: var(--bg-alt);
}

.rental-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- Bottom CTA bar ---------- */
.cta-bar {
  background: linear-gradient(90deg, var(--orange-dark), var(--orange));
  color: #fff;
  padding: 48px 32px;
  text-align: center;
  border-radius: 28px;
  max-width: 1200px;
  margin: 0 auto 64px;
  display: grid;
  justify-items: center;
}

.cta-bar h3 { font-size: 1.4rem; margin: 0 0 6px; }
.cta-bar p { margin: 0 0 20px; color: #ffe6d0; }
.cta-bar .wp-block-buttons {
  justify-content: center;
  width: 100%;
}
.cta-bar .btn-cta-white {
  display: inline-flex;
  justify-content: center;
  background: #fff;
  color: var(--orange-dark);
  font-weight: 800;
  min-width: 210px;
  padding: 0;
  border-radius: 999px;
}

/* ---------- Detail page ---------- */
.detail-hero-section {
  padding-top: clamp(22px, 3vh, 36px);
  padding-bottom: clamp(24px, 3vh, 40px);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.detail-photo-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: grid;
  place-items: center;
  min-height: clamp(260px, 36vw, 430px);
}

.detail-photo-card img {
  width: 100%;
  height: 100%;
  max-height: clamp(260px, 36vw, 430px);
  object-fit: contain;
  object-position: center;
  padding: clamp(10px, 2vw, 24px);
  background: #fff;
}

.detail-photo-card .badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
}

.detail-photo {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: grid;
  place-items: center;
  min-height: clamp(300px, 38vw, 500px);
  height: min(52vh, 500px);
}

.detail-photo img {
  width: 100%;
  height: 100%;
  max-height: min(52vh, 500px);
  object-fit: contain;
  object-position: center;
  padding: clamp(8px, 1.6vw, 20px);
  background: #fff;
}

.detail-info .kategori-tag {
  display: inline-block;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.detail-info h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3.1vw, 2.75rem);
  line-height: 1.04;
}
.detail-info .price { font-size: 1.5rem; color: var(--orange-dark); font-weight: 800; margin-bottom: 6px; }
.detail-info .price small { color: var(--text-muted); font-weight: 500; font-size: 0.85rem; }

.detail-info .price-table {
  max-width: 100% !important;
  margin-bottom: 14px !important;
  font-size: 0.94rem;
}

.detail-info .price-table tr {
  height: 34px;
}

.detail-info .price-table td {
  padding: 5px 0;
}

.detail-info .deskripsi {
  color: var(--text-muted);
  line-height: 1.52;
  margin: 14px 0 18px;
}

.detail-info .cta-note {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.45;
  margin: 10px 0 0;
  max-width: 42ch;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.spec-item {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 12px 14px;
}

.spec-item .label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.spec-item .value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
}

.feature-list li {
  font-size: 0.88rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-list li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 800;
}

@media (max-width: 860px) {
  .detail-hero-section {
    padding: 18px 20px 34px;
  }

  .detail-layout,
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .detail-photo {
    height: clamp(190px, 45vw, 270px);
    min-height: 0;
    border-radius: 18px;
  }

  .detail-photo img {
    max-height: clamp(190px, 45vw, 270px);
    padding: clamp(6px, 2vw, 12px);
  }

  .detail-info {
    display: flex;
    flex-direction: column;
  }

  .detail-info .kategori-tag {
    order: 1;
    margin-bottom: 8px;
    padding: 4px 11px;
    font-size: 0.76rem;
    align-self: flex-start;
  }

  .detail-info h1 {
    order: 2;
    font-size: clamp(2rem, 8vw, 2.45rem);
    line-height: 1.03;
    margin-bottom: 10px;
  }

  .detail-info .price-table {
    order: 3;
    font-size: 0.96rem;
    margin-bottom: 10px !important;
  }

  .detail-info .price-table tr {
    height: 31px;
  }

  .detail-info .price-table td {
    padding: 3px 0;
  }

  .detail-info > p:has(.btn-3d) {
    order: 4;
    margin: 2px 0 0;
  }

  .detail-info > p:has(.btn-3d) br {
    display: none;
  }

  .detail-info > p:has(.btn-3d) .btn-3d {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .detail-info .cta-note {
    order: 5;
    margin-top: 8px;
    font-size: 0.82rem;
    line-height: 1.42;
  }

  .detail-info .deskripsi {
    order: 6;
    margin: 14px 0 14px;
    line-height: 1.48;
  }

  .spec-grid {
    order: 7;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 16px;
  }

  .spec-item {
    padding: 10px 11px;
  }

  .spec-item .label {
    font-size: 0.66rem;
  }

  .spec-item .value {
    font-size: 0.86rem;
  }

  .detail-info > h3 {
    order: 8;
    margin: 0 0 10px;
    font-size: 1.05rem;
  }

  .feature-list {
    order: 9;
    margin-bottom: 0;
  }

  .feature-list { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .detail-hero-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .detail-info h1 {
    font-size: clamp(1.85rem, 9vw, 2.25rem);
  }

  .detail-info .price-table {
    font-size: 0.91rem;
  }

  .detail-info .cta-note {
    display: none;
  }
}


/* ---------- Detail SEO content section ---------- */
.detail-seo-section {
  margin-top: 56px;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 32px;
}

.seo-content-card {
  background: #fff;
  border: 1px solid rgba(28,35,51,0.08);
  border-radius: 18px;
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 14px 36px rgba(20,20,40,0.09);
  line-height: 1.7;
}

.seo-eyebrow {
  margin: 0 0 8px;
  color: var(--orange-dark);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.seo-content-card h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.seo-content-card h3 {
  margin: 30px 0 12px;
  color: var(--ink);
  font-size: clamp(1.02rem, 1.7vw, 1.28rem);
  line-height: 1.25;
}

.seo-content-card p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.seo-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 28px 0 10px;
}

.seo-highlight-grid div {
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--bg-alt);
  border: 1px solid rgba(28,35,51,0.06);
}

.seo-highlight-grid strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.seo-highlight-grid span {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.seo-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 18px 0 8px;
  border-radius: 10px;
  border: 1px solid rgba(28,35,51,0.08);
}

.seo-price-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #fff;
}

.seo-price-table th,
.seo-price-table td {
  padding: 11px 14px;
  border-bottom: 1px solid rgba(28,35,51,0.08);
  text-align: left;
  font-size: 0.84rem;
}

.seo-price-table th {
  background: var(--bg-alt);
  color: var(--ink);
  font-weight: 800;
}

.seo-price-table td {
  color: var(--text-muted);
}

.seo-price-table td:first-child {
  color: var(--ink);
  font-weight: 700;
}

.seo-two-column {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  margin-top: 6px;
}

.seo-check-list,
.seo-minus-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.seo-check-list li,
.seo-minus-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-muted);
}

.seo-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-weight: 900;
}

.seo-minus-list li::before {
  content: "!";
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-size: 0.72rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.seo-cta-box {
  margin-top: 34px;
  padding: 18px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange-soft), #fff);
  border: 1px solid rgba(255, 122, 26, 0.20);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.seo-cta-box > div {
  min-width: 0;
}

.seo-content-card > .seo-cta-box:not(.rental-template-cta) {
  display: none;
}

.rental-faq-section {
  margin-top: 38px;
}

.rental-faq-section h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
}

.rental-faq-section details,
.blog-faq-section details {
  border: 1px solid rgba(28,35,51,0.10);
  border-radius: 14px;
  padding: 0;
  margin-bottom: 12px;
  background: #f8f9fb;
  overflow: hidden;
}

.rental-faq-section summary,
.blog-faq-section summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
  list-style: none;
  padding: 16px 18px;
}

.rental-faq-section summary::-webkit-details-marker,
.blog-faq-section summary::-webkit-details-marker {
  display: none;
}

.rental-faq-section summary::before,
.blog-faq-section summary::before {
  content: "▶";
  display: inline-block;
  margin-right: 8px;
  font-size: 0.75em;
  transform: translateY(-1px);
}

.rental-faq-section details[open] summary::before,
.blog-faq-section details[open] summary::before {
  content: "▼";
}

.rental-faq-section details p,
.blog-faq-section details p {
  margin: 0;
  padding: 0 18px 18px 38px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.seo-cta-box h3 {
  margin-top: 0;
}

.seo-cta-box p {
  margin-bottom: 0;
}

.seo-cta-box .btn-3d {
  white-space: nowrap;
}

@media (max-width: 860px) {
  .seo-highlight-grid,
  .seo-two-column {
    grid-template-columns: 1fr 1fr;
  }

  .seo-cta-box {
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .detail-seo-section {
    margin-top: 36px;
  }

  .seo-content-card {
    border-radius: 18px;
  }

  .seo-highlight-grid,
  .seo-two-column {
    grid-template-columns: 1fr;
  }

  .seo-cta-box .btn-3d {
    width: 100%;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ---------- Form booking ---------- */
.booking-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(28,35,51,0.08);
  box-shadow: var(--shadow-deep);
  max-width: 460px;
  width: min(100%, 460px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.booking-form .field { margin-bottom: 18px; }
.booking-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.booking-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.booking-form input,
.booking-form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(28,35,51,0.14);
  background: #fff;
  color: var(--ink);
  font-size: 0.95rem;
}

.booking-form input:focus,
.booking-form select:focus {
  outline: none;
  border-color: var(--orange);
}

.field-error {
  color: #d9483b;
  font-size: 0.8rem;
  margin-top: 6px;
  display: none;
}

.field-hint {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.field-optional {
  color: var(--text-muted);
  font-size: 0.82em;
  font-weight: 700;
}

.field.has-error .field-error { display: block; }
.field.has-error input,
.field.has-error select { border-color: #d9483b; }

.booking-estimate {
  margin: 2px 0 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange-soft), #fff);
  border: 1px solid rgba(255, 122, 26, 0.22);
}

.booking-estimate span {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.booking-estimate strong {
  display: block;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.2;
}

.booking-estimate small {
  display: block;
  color: var(--text-muted);
  font-size: 0.76rem;
  margin-top: 4px;
}


/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 35, 0.55);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}

.modal-overlay.open { display: flex; }

.whatsapp-admin-dialog {
  position: relative;
  width: min(100%, 440px);
  background: #fff;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 24px 70px rgba(18, 27, 42, 0.24);
  color: var(--ink);
}

.whatsapp-admin-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.whatsapp-admin-dialog h2 {
  margin: 14px 0 6px;
  font-size: 1.7rem;
  line-height: 1.15;
}

.whatsapp-admin-dialog p {
  margin: 0 0 18px;
  color: var(--text-muted);
  line-height: 1.6;
}

.whatsapp-admin-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f3f4f6;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 800;
  cursor: pointer;
}

.whatsapp-admin-options {
  display: grid;
  gap: 10px;
}

.whatsapp-admin-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 1px solid rgba(28, 35, 51, 0.1);
  border-radius: 16px;
  background: #fff;
  padding: 16px 18px;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.whatsapp-admin-option:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 122, 26, 0.38);
  box-shadow: 0 12px 26px rgba(255, 122, 26, 0.14);
}

.whatsapp-admin-option span {
  font-size: 1rem;
  font-weight: 900;
}

.whatsapp-admin-option small {
  color: var(--orange-dark);
  font-weight: 800;
}

@media (max-width: 520px) {
  .whatsapp-admin-dialog {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .whatsapp-admin-dialog h2 {
    font-size: 1.45rem;
  }

  .whatsapp-admin-option {
    padding: 15px 16px;
  }
}

/* ---------- Footer (clean premium columns) ---------- */
footer {
  background:
    radial-gradient(circle at 16% 10%, rgba(255,122,26,0.08), transparent 28%),
    linear-gradient(135deg, #121b2a 0%, #1b2434 48%, #111827 100%);
  color: #b8bfce;
  padding: 72px 40px 32px;
  font-size: 0.95rem;
}

.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 1.18fr) minmax(300px, 1.12fr) minmax(200px, 0.82fr) minmax(260px, 0.88fr);
  gap: 0;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-grid > div {
  min-width: 0;
  padding: 0 30px;
  border-left: 1px solid rgba(255,255,255,0.10);
}

.footer-grid > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.footer-grid > div:last-child { padding-right: 0; }

.footer-grid .brand-col .brand {
  margin-bottom: 24px;
  display: inline-flex;
}

.footer-grid .brand-col .brand img { height: 112px; width: auto; display: block; }

.footer-grid .brand-col p {
  line-height: 1.75;
  max-width: 32ch;
  margin: 0 0 28px;
}

.footer-whatsapp-cta {
  width: min(100%, 290px);
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  border: 1px solid rgba(255,122,26,0.82);
  border-radius: 10px;
  color: #fff;
  background: rgba(255,122,26,0.03);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.footer-whatsapp-cta:hover {
  background: rgba(255,122,26,0.10);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(255,122,26,0.12);
}

.footer-whatsapp-cta span {
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.footer-whatsapp-cta svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-whatsapp-cta .social-glyph {
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}

.footer-whatsapp-cta strong {
  font-size: 0.95rem;
  flex: 1;
}

.footer-whatsapp-cta em {
  color: rgba(255,255,255,0.76);
  font-style: normal;
  font-size: 1.5rem;
}

.footer-grid h5 {
  color: #fff;
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 34px;
  position: relative;
}

.footer-grid h5::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 36px;
  height: 2px;
  background: var(--orange);
  border-radius: 999px;
}

.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid ul li { margin-bottom: 18px; }
.footer-grid ul li a { color: #b8bfce; }
.footer-grid ul li a:hover { color: var(--orange); }

.footer-contact-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
  line-height: 1.55;
}

.footer-contact-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--orange);
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.footer-linebreak {
  display: block;
}

.footer-nav-list li {
  position: relative;
  padding-left: 22px;
}

.footer-nav-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: -1px;
  color: rgba(255,255,255,0.74);
  font-size: 1.4rem;
  line-height: 1;
}

.social-badges {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  align-items: center;
}

.social-badges a {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: rgba(255,255,255,0.88);
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.social-badges a:hover {
  color: #fff;
  background: linear-gradient(180deg, #ff8d3d, var(--orange));
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255,122,26,0.22);
}

.social-badges svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-badges svg rect,
.social-badges svg circle {
  fill: none;
}

.social-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1em;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1;
  font-family: Arial, "Segoe UI", system-ui, sans-serif;
}

.social-badges .social-glyph {
  transform: translateY(-0.5px);
}

.social-glyph-sm {
  font-size: 0.74rem;
  letter-spacing: 0.02em;
}

.social-empty {
  color: #7a8099;
  line-height: 1.5;
}

.footer-social-copy {
  margin: 0 0 28px;
  max-width: 28ch;
  color: #b8bfce;
  line-height: 1.7;
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 28px;
  color: #7a8099;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
}

.footer-bottom nav a {
  color: #b8bfce;
  padding: 0 18px;
  border-left: 1px solid rgba(255,255,255,0.24);
}

.footer-bottom nav a:first-child { border-left: 0; }
.footer-bottom nav a:hover { color: var(--orange); }

@media (max-width: 980px) {
  footer { padding: 56px 28px 28px; }

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

  .footer-grid > div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .footer-grid > div:nth-child(even) {
    padding-right: 0;
  }

  .social-badges {
    flex-wrap: wrap;
  }
}

@media (max-width: 620px) {
  footer { padding: 44px 22px 24px; }

  .footer-grid {
    grid-template-columns: 1fr;
    padding-bottom: 34px;
  }

  .footer-grid > div,
  .footer-grid > div:nth-child(even),
  .footer-grid > div:nth-child(odd) {
    padding: 0;
    border-left: 0;
  }

  .footer-grid .brand-col .brand img { height: 88px; }
  .footer-grid h5 { margin-bottom: 26px; }
  .footer-contact-list li { grid-template-columns: 38px 1fr; gap: 14px; }
  .footer-contact-icon { width: 38px; height: 38px; }

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

  .footer-bottom nav {
    gap: 12px 0;
  }

  .footer-bottom nav a {
    padding: 0 12px;
  }

  .footer-bottom nav a:first-child {
    padding-left: 0;
  }
}

@media (max-width: 720px) {
  main.wp-block-group {
    padding-bottom: 52px;
  }

  .rental-map-section {
    padding: 0 18px;
    margin-bottom: 72px;
  }

  .rental-map-frame {
    aspect-ratio: 4 / 3;
    min-height: 260px;
    border-radius: 16px;
  }

  .cta-bar {
    margin-left: 18px;
    margin-right: 18px;
    padding: 32px 20px;
    border-radius: 20px;
  }

  .cta-bar .btn-cta-white,
  .cta-bar .btn-cta-white .wp-block-button__link {
    width: 100%;
  }
}

/* ---------- About page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.about-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 24px;
}

.about-card h3 { color: var(--orange-dark); margin-top: 0; }

/* ---------- About page hero: photo + profile card + feature grid ---------- */
.page-title {
  text-align: center;
  padding: 56px 32px 8px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-title h1 {
  font-size: 1.9rem;
  color: var(--ink);
  margin: 0;
}

.about-hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 32px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Mobile overflow safety: grid/flex children default to a min size that fits their
   content (min-width:auto), which can force the whole row wider than the viewport
   when content like long quotes/paragraphs is involved. min-width:0 lets them shrink. */
.about-hero-grid > *,
.feature-icon-grid > *,
.detail-layout > *,
.footer-grid > *,
.catalog-grid > *,
.search-bar > *,
.about-photo-wrap,
.about-photo-frame,
.auto-slider,
.auto-slider-track {
  min-width: 0;
}

.about-photo-frame { position: relative; }

.about-photo-frame img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.about-photo-wrap p.body-text {
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 20px;
}

/* ---------- Auto-sliding review (no manual interaction needed) ---------- */
.auto-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-alt);
  margin-top: 22px;
}

.auto-slider-track {
  display: flex;
  transition: transform 0.6s ease;
}

.auto-slide {
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 22px 24px;
}

.auto-slide .quote {
  margin: 0 0 14px;
  color: var(--ink);
  font-style: italic;
  line-height: 1.6;
}

.auto-slide .author-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auto-slide .author-row .avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.auto-slide .author-row strong { display: block; font-size: 0.85rem; color: var(--ink); }
.auto-slide .author-row span { font-size: 0.75rem; color: var(--text-muted); }

.auto-slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding-bottom: 14px;
}

.auto-slider-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(28,35,51,0.18);
}

.auto-slider-dots span.active { background: var(--orange); }

.profile-card {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: #fff;
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: var(--shadow-deep);
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-card .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.profile-card .name { font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.profile-card .role { font-size: 0.72rem; color: var(--text-muted); }

.about-hero-grid h2 { font-size: 1.6rem; margin: 0 0 18px; }

.booking-steps {
  margin: 18px 0 0;
  padding-left: 22px;
  color: var(--text-muted);
  line-height: 2;
}

.booking-steps li::marker { color: var(--orange); font-weight: 700; }

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

/* ---------- About page premium layout ---------- */
.about-template-main {
  background:
    radial-gradient(circle at 18% 10%, rgba(201, 148, 42, 0.08), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fff 64%, #fbfaf7 100%);
}

.about-premium-page {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(42px, 6vw, 76px) 32px clamp(72px, 7vw, 108px);
}

.about-premium-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1.05fr);
  gap: clamp(42px, 6vw, 72px);
  align-items: center;
  margin-bottom: clamp(54px, 6vw, 76px);
}

.about-hero-copy,
.about-hero-media,
.about-feature-cards > *,
.about-contact-grid > * {
  min-width: 0;
}

.about-kicker {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 14px;
  color: #c7902c;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.about-kicker::after {
  content: "";
  width: 48px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.about-hero-copy h1 {
  max-width: 690px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.4rem, 4.4vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.about-gold-rule {
  display: block;
  width: 54px;
  height: 3px;
  margin: 24px 0 18px;
  border-radius: 999px;
  background: #c7902c;
}

.about-lead {
  max-width: 690px;
  margin: 0;
  color: #626a7a;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.72;
}

.about-feature-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
  max-width: 760px;
}

.about-feature-cards article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  min-height: 78px;
  padding: 12px 14px;
  border: 1px solid rgba(201, 148, 42, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 32px rgba(28, 35, 51, 0.05);
}

.about-feature-icon,
.about-contact-icon,
.about-service-badge > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c7902c;
}

.about-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fbf3e4;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.72);
}

.about-feature-icon svg,
.about-contact-icon svg,
.about-service-badge svg,
.about-gold-cta svg,
.about-whatsapp-cta svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-premium-page .about-feature-cards h3,
.about-contact-grid h3 {
  margin: 0 0 5px;
  color: var(--ink);
  font-size: 0.82rem !important;
  line-height: 1.22 !important;
  letter-spacing: 0;
}

.about-premium-page .about-feature-cards p,
.about-contact-grid p {
  margin: 0;
  color: #626a7a;
  font-size: 0.72rem !important;
  line-height: 1.42 !important;
}

.about-gold-cta,
.about-whatsapp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(169, 115, 18, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.about-gold-cta {
  min-width: 240px;
  margin-top: 32px;
  padding: 0 24px;
  background: linear-gradient(135deg, #b98112, #d6a535);
}

.about-gold-cta:hover,
.about-whatsapp-cta:hover {
  transform: translateY(-2px);
}

.about-gold-cta strong,
.about-whatsapp-cta strong {
  font-size: 1.35rem;
  line-height: 1;
}

.about-hero-media {
  position: relative;
  border-radius: 22px;
  box-shadow: 0 24px 48px rgba(28, 35, 51, 0.13);
}

.about-hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10.6;
  object-fit: cover;
  border-radius: inherit;
}

.about-service-badge {
  position: absolute;
  right: 34px;
  bottom: 26px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
  min-width: 220px;
  padding: 18px 22px;
  border: 1px solid rgba(201, 148, 42, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 30px rgba(28, 35, 51, 0.14);
}

.about-service-badge > span {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fbf3e4;
}

.about-service-badge strong {
  display: block;
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1.1;
}

.about-service-badge small {
  display: block;
  margin-top: 4px;
  color: #626a7a;
  font-weight: 700;
}

.about-contact-panel {
  padding: clamp(36px, 4vw, 50px) clamp(24px, 5vw, 72px) 38px;
  border: 1px solid rgba(28, 35, 51, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 38px rgba(28, 35, 51, 0.08);
  text-align: center;
}

.about-contact-head h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  line-height: 1.1;
}

.about-contact-head p {
  margin: 0;
  color: #6b7280;
  font-size: 1rem;
}

.about-contact-head span {
  display: block;
  width: 48px;
  height: 2px;
  margin: 20px auto 0;
  border-radius: 999px;
  background: #c7902c;
}

.about-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 34px auto 26px;
}

.about-contact-grid article {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 104px;
  padding: 18px 22px;
  border: 1px solid rgba(201, 148, 42, 0.18);
  border-radius: 12px;
  background: #fff;
  text-align: left;
  box-shadow: 0 12px 28px rgba(28, 35, 51, 0.04);
}

.about-contact-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fbf3e4;
}

.about-whatsapp-cta {
  min-width: 330px;
  padding: 0 26px;
  background: linear-gradient(135deg, #1e8a34, #31b24a);
  box-shadow: 0 14px 28px rgba(31, 135, 52, 0.2);
}

.about-trust-note {
  margin: 12px 0 0;
  color: #8a909c;
  font-size: 0.95rem;
}

@media (max-width: 1120px) {
  .about-premium-hero {
    grid-template-columns: 1fr;
  }

  .about-hero-copy h1,
  .about-lead {
    max-width: 820px;
  }

  .about-hero-media {
    max-width: 820px;
  }
}

@media (max-width: 840px) {
  .about-premium-page {
    padding: 34px 20px 72px;
  }

  .about-feature-cards,
  .about-contact-grid {
    grid-template-columns: 1fr;
  }

  .about-contact-grid {
    max-width: 560px;
  }

  .about-service-badge {
    right: 18px;
    bottom: 18px;
  }
}

@media (max-width: 560px) {
  .about-premium-page {
    padding-left: 18px;
    padding-right: 18px;
  }

  .about-hero-copy h1 {
    font-size: 2.15rem;
  }

  .about-feature-cards article,
  .about-contact-grid article {
    grid-template-columns: 52px 1fr;
    padding: 16px;
  }

  .about-feature-cards article {
    grid-template-columns: 44px 1fr;
    min-height: 74px;
    padding: 12px 14px;
  }

  .about-feature-icon,
  .about-contact-icon {
    width: 48px;
    height: 48px;
  }

  .about-feature-icon {
    width: 42px;
    height: 42px;
  }

  .about-service-badge {
    position: static;
    margin: -18px 16px 0 auto;
    width: calc(100% - 32px);
    min-width: 0;
  }

  .about-gold-cta,
  .about-whatsapp-cta {
    width: 100%;
    min-width: 0;
  }

  .about-contact-panel {
    padding: 32px 18px;
    border-radius: 18px;
  }
}

/* ---------- Homepage featured showroom / 3D orbit ---------- */
.featured-showcase {
  --showcase-blue: #075da8;
  --showcase-blue-dark: #003a6d;
  max-width: 1320px;
  overflow: hidden;
  background: #fff;
  contain: layout paint;
}

.featured-showcase.section:nth-of-type(even) {
  background: #fff;
}

.featured-showcase .subhead {
  max-width: 760px;
}

.featured-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(14px, 2.8vw, 42px);
  margin: 18px auto 10px;
  padding: 4px 8px 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.featured-tabs::-webkit-scrollbar {
  display: none;
}

.featured-tab {
  min-width: 88px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--showcase-blue);
  padding: 11px 24px;
  font: inherit;
  font-size: clamp(0.98rem, 1.35vw, 1.16rem);
  font-weight: 700;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.featured-tab:hover {
  background: rgba(7, 93, 168, 0.07);
  transform: translateY(-1px);
}

.featured-tab.active {
  color: #fff;
  background: var(--showcase-blue);
  box-shadow: 0 8px 18px rgba(7, 93, 168, 0.14);
}

.featured-tab:focus-visible,
.featured-arrow:focus-visible,
.featured-orbit-car:focus-visible,
.featured-main-car:focus-visible {
  outline: 3px solid rgba(7, 93, 168, 0.35);
  outline-offset: 4px;
}

.featured-viewer {
  position: relative;
  min-height: clamp(430px, 42vw, 560px);
}

.featured-fallback-grid {
  min-height: auto;
  padding: 24px 0 40px;
}

.featured-fallback-grid .catalog-grid {
  max-width: 1120px;
  margin: 0 auto;
}

.featured-stage {
  position: relative;
  width: min(100%, 1020px);
  min-height: clamp(430px, 42vw, 560px);
  margin: 0 auto;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.featured-ring {
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(68vw, 760px);
  height: min(24vw, 250px);
  border: 1px solid rgba(7, 93, 168, 0.08);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(66deg);
  background: radial-gradient(ellipse at center, rgba(7, 93, 168, 0.06), rgba(255,255,255,0) 66%);
  pointer-events: none;
}

.featured-glow {
  position: absolute;
  left: 50%;
  top: 57%;
  width: min(45vw, 480px);
  height: 92px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(7, 93, 168, 0.10), rgba(255,255,255,0) 70%);
  filter: blur(8px);
  pointer-events: none;
}

.featured-main-car {
  position: absolute;
  left: 50%;
  top: 49%;
  z-index: 10;
  width: min(42vw, 470px);
  min-height: 275px;
  transform: translate(-50%, -40%);
  text-align: center;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
  display: grid;
  justify-items: center;
  align-content: center;
  transition: transform 0.18s ease;
}

.featured-main-car:hover {
  transform: translate(-50%, -42%) scale(1.018);
  filter: drop-shadow(0 22px 28px rgba(0, 58, 109, 0.16));
}

.featured-main-image-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  height: clamp(175px, 20vw, 245px);
  display: grid;
  place-items: center;
}

.featured-main-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: translateZ(48px);
  filter: drop-shadow(0 12px 10px rgba(18, 28, 45, 0.14));
  animation: featured-main-pop 0.38s ease both;
}

.featured-main-shadow {
  width: min(54%, 260px);
  height: 20px;
  margin-top: -18px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(18, 28, 45, 0.23), rgba(18, 28, 45, 0.04) 62%, rgba(18, 28, 45, 0) 76%);
  filter: blur(6px);
}

.featured-car-name {
  display: block;
  margin-top: 12px;
  color: var(--showcase-blue-dark);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.featured-car-price {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.featured-orbit-car {
  position: absolute;
  z-index: 3;
  width: clamp(100px, 11vw, 150px);
  height: clamp(62px, 7vw, 94px);
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0.34;
  filter: opacity(0.55);
  transform-style: preserve-3d;
  transition: opacity 0.18s ease, transform 0.18s ease;
  animation: featured-orbit-in 0.35s ease both;
}

.featured-orbit-car img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 8px 8px rgba(18, 28, 45, 0.09));
}

.featured-orbit-car:hover {
  opacity: 0.68;
  filter: opacity(0.78);
}

.slot-top-left {
  left: 31%;
  top: 21%;
  transform: translate(-50%, -50%) translateZ(-150px) scale(0.82) rotateY(8deg);
}

.slot-top-right {
  left: 69%;
  top: 21%;
  transform: translate(-50%, -50%) translateZ(-150px) scale(0.82) rotateY(-8deg);
}

.slot-mid-left {
  left: 17%;
  top: 48%;
  transform: translate(-50%, -50%) translateZ(-110px) scale(0.96) rotateY(10deg);
  opacity: 0.28;
}

.slot-mid-right {
  left: 83%;
  top: 48%;
  transform: translate(-50%, -50%) translateZ(-110px) scale(0.96) rotateY(-10deg);
  opacity: 0.28;
}

.slot-top-left:hover { transform: translate(-50%, -54%) translateZ(-150px) scale(0.88) rotateY(8deg); }
.slot-top-right:hover { transform: translate(-50%, -54%) translateZ(-150px) scale(0.88) rotateY(-8deg); }
.slot-mid-left:hover { transform: translate(-50%, -54%) translateZ(-110px) scale(1.02) rotateY(10deg); }
.slot-mid-right:hover { transform: translate(-50%, -54%) translateZ(-110px) scale(1.02) rotateY(-10deg); }

.featured-arrow {
  position: absolute;
  z-index: 20;
  top: 72%;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #172033;
  box-shadow: 0 8px 18px rgba(28, 35, 51, 0.12);
  font-size: 2.5rem;
  line-height: 0.78;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
}

.featured-arrow:hover {
  color: var(--showcase-blue);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(28, 35, 51, 0.14);
}

.featured-prev { left: calc(50% - 120px); }
.featured-next { right: calc(50% - 120px); }

@keyframes featured-main-pop {
  from { opacity: 0; transform: translateZ(24px) scale(0.96); }
  to { opacity: 1; transform: translateZ(48px) scale(1); }
}

@keyframes featured-orbit-in {
  from { opacity: 0; }
}
@media (max-width: 980px) {
  .featured-tabs {
    justify-content: flex-start;
    gap: 14px;
    padding-bottom: 12px;
  }

  .featured-viewer,
  .featured-stage {
    min-height: 470px;
  }

  .featured-main-car {
    top: 48%;
    width: min(64vw, 420px);
  }

  .featured-main-image-wrap {
    height: 205px;
  }

  .featured-orbit-car {
    width: clamp(92px, 18vw, 130px);
    height: clamp(58px, 11vw, 84px);
  }

  .slot-top-left { left: 28%; top: 21%; }
  .slot-top-right { left: 72%; top: 21%; }
  .slot-mid-left { left: 12%; top: 49%; }
  .slot-mid-right { left: 88%; top: 49%; }

  .featured-prev { left: calc(50% - 108px); }
  .featured-next { right: calc(50% - 108px); }
}

@media (max-width: 620px) {
  .featured-showcase {
    padding-left: 16px;
    padding-right: 16px;
  }

  .featured-tabs {
    justify-content: flex-start;
    gap: 12px;
    width: auto;
    margin: 14px -16px 12px;
    padding: 6px 16px 14px;
    scroll-padding-left: 16px;
    scroll-padding-right: 16px;
  }

  .featured-tab {
    min-width: max-content;
    padding: 11px 22px;
    font-size: 0.92rem;
    line-height: 1.1;
  }

  .featured-viewer,
  .featured-stage {
    min-height: 410px;
  }

  .featured-ring {
    width: 92vw;
    height: 175px;
    top: 47%;
  }

  .featured-main-car {
    top: 47%;
    width: min(82vw, 320px);
    min-height: 255px;
  }

  .featured-main-image-wrap {
    height: 160px;
  }

  .featured-car-name {
    font-size: 1.22rem;
    margin-top: 8px;
  }

  .featured-car-price {
    font-size: 0.82rem;
  }

  .featured-orbit-car {
    width: 92px;
    height: 58px;
  }

  .slot-top-left { left: 22%; top: 21%; transform: translate(-50%, -50%) scale(0.78); }
  .slot-top-right { left: 78%; top: 21%; transform: translate(-50%, -50%) scale(0.78); }
  .slot-mid-left { left: 8%; top: 48%; transform: translate(-50%, -50%) scale(0.86); }
  .slot-mid-right { left: 92%; top: 48%; transform: translate(-50%, -50%) scale(0.86); }

  .slot-top-left:hover,
  .slot-top-right:hover,
  .slot-mid-left:hover,
  .slot-mid-right:hover {
    transform: translate(-50%, -54%) scale(0.90);
  }

  .featured-arrow {
    top: 71%;
    width: 42px;
    height: 42px;
    font-size: 2.2rem;
  }

  .featured-prev { left: calc(50% - 92px); }
  .featured-next { right: calc(50% - 92px); }
}


/* Smooth-scroll performance tuning */
.featured-main-car,
.featured-orbit-car,
.featured-arrow {
  will-change: transform;
}

.featured-main-image-wrap img,
.featured-orbit-car img {
  backface-visibility: hidden;
  transform: translateZ(0);
}

@media (prefers-reduced-motion: reduce) {
  .featured-main-image-wrap img,
  .featured-orbit-car,
  .featured-main-car,
  .featured-arrow,
  .featured-tab,
  .auto-slider-track {
    animation: none !important;
    transition: none !important;
  }
}

/* Keep expensive decorative layers calmer on smaller devices */
@media (max-width: 980px) {
  .featured-glow {
    display: none;
  }

  .featured-ring {
    background: transparent;
  }

  .featured-main-image-wrap img,
  .featured-orbit-car img {
    filter: none;
  }
}

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

  .booking-form {
    padding: 24px;
  }
}


/* Detail featured image fit: prevent car product photos from being cropped */
.detail-photo {
  display: grid;
  place-items: center;
  background: #fff;
}

.detail-photo img {
  object-fit: contain !important;
  object-position: center !important;
  padding: clamp(10px, 2vw, 24px);
  background: #fff;
}


/* ---------- Blog page ---------- */
.blog-page {
  background: var(--bg-alt);
  min-height: 100vh;
  padding-bottom: 72px;
}

.blog-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 58px 32px 28px;
  text-align: center;
}

.blog-hero h1 {
  position: relative;
  display: inline-block;
  margin: 0 0 22px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.blog-hero h1::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 92px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange-dark), var(--orange));
  transform: translateX(-50%);
}

.blog-hero p:not(.seo-eyebrow) {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-muted);
  line-height: 1.7;
}

.blog-list-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.blog-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin: 0 0 20px;
}

.blog-search input {
  width: 100%;
  border: 1.5px solid rgba(28,35,51,0.12);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 14px 16px;
  font: inherit;
  box-shadow: 0 6px 18px rgba(20,20,40,0.04);
}

.blog-search input:focus {
  outline: none;
  border-color: var(--orange);
}

.blog-search button {
  border: 0;
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  padding: 0 22px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(255,122,26,0.22);
}

.blog-category-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 16px 0 28px;
}

.blog-category-tabs button {
  border: 0;
  border-radius: 999px;
  background: rgba(28,35,51,0.10);
  color: var(--ink);
  padding: 9px 18px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.blog-category-tabs button:hover {
  transform: translateY(-1px);
  background: rgba(255,122,26,0.16);
  color: var(--orange-dark);
}

.blog-category-tabs button.active {
  background: var(--orange);
  color: #fff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(28,35,51,0.08);
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(20,20,40,0.12);
}

.blog-card[hidden] {
  display: none;
}

.blog-card-link {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.blog-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #fff;
}

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

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

.blog-card-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 52%;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.38));
  pointer-events: none;
}

.blog-chip {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: var(--orange-dark);
  padding: 6px 12px;
  font-size: 0.72rem;
  font-weight: 900;
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px;
}

.blog-card-body h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.03rem;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.blog-card-body p {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.blog-readmore {
  color: var(--orange-dark);
  font-size: 0.83rem;
  font-weight: 850;
  margin-top: auto;
}

.blog-card-body time {
  display: block;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(28,35,51,0.08);
  color: var(--text-muted);
  font-size: 0.75rem;
}

.blog-empty {
  display: none;
  text-align: center;
  color: var(--text-muted);
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(28,35,51,0.08);
}

.blog-empty.show {
  display: block;
}

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

@media (max-width: 620px) {
  .blog-page {
    padding-bottom: 48px;
  }

  .blog-hero {
    padding: 42px 20px 24px;
  }

  .blog-list-section {
    padding: 0 20px;
  }

  .blog-search {
    grid-template-columns: 1fr;
  }

  .blog-search button {
    min-height: 46px;
  }

  .blog-category-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .blog-category-tabs button {
    white-space: nowrap;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}


/* ---------- Blog detail SEO pages ---------- */
.blog-detail-page {
  background: var(--bg-alt);
  padding-bottom: 72px;
}

.blog-detail-article,
.blog-car-carousel,
.related-posts {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

.blog-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 34px;
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.blog-breadcrumb a {
  color: var(--orange-dark);
  font-weight: 700;
}

.blog-detail-header {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 30px;
}

.blog-detail-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 16px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.blog-detail-header h1 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.blog-detail-header > p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.blog-detail-meta {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

.author-mini {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(28,35,51,0.08);
  box-shadow: 0 8px 20px rgba(20,20,40,0.05);
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 900;
  flex: 0 0 auto;
}

.author-avatar-link {
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.author-avatar.has-photo {
  background: #f3f5f8;
  color: transparent;
}

.author-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  display: block;
}

.author-avatar-link:hover {
  color: #fff;
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 10px 22px rgba(255,122,26,0.24);
}

.author-mini strong {
  display: block;
  color: var(--ink);
  font-size: 0.88rem;
}

.author-name-link {
  color: inherit;
  text-decoration: none;
}

.author-name-link:hover {
  color: var(--orange-dark);
}

.author-mini small {
  display: block;
  color: var(--text-muted);
  font-size: 0.76rem;
  margin-top: 2px;
}

.blog-featured-image {
  margin: 0 auto 38px;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(28,35,51,0.08);
  box-shadow: 0 18px 42px rgba(20,20,40,0.10);
}

.blog-featured-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  background: #fff;
}

.blog-featured-image figcaption {
  padding: 12px 18px;
  color: var(--text-muted);
  font-size: 0.82rem;
  background: #fff;
}

.blog-detail-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.blog-toc {
  position: sticky;
  top: 100px;
  background: #fff;
  border: 1px solid rgba(28,35,51,0.08);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.blog-toc strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
}

.blog-toc a {
  display: block;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
  padding: 9px 0;
  border-top: 1px solid rgba(28,35,51,0.06);
}

.blog-toc a:hover {
  color: var(--orange-dark);
}

.blog-article-body {
  background: #fff;
  border: 1px solid rgba(28,35,51,0.08);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.blog-article-body * {
  max-width: 100%;
}

.blog-article-body :where(p, li, blockquote, figcaption) {
  overflow-wrap: anywhere;
}

.blog-article-body :where(img, video, iframe) {
  height: auto;
}

.blog-article-body .lead {
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.85;
  margin-top: 0;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(28,35,51,0.08);
}

.blog-article-body section {
  scroll-margin-top: 110px;
}

.blog-article-body h2 {
  margin: 34px 0 14px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.blog-article-body p {
  color: var(--text-muted);
  line-height: 1.85;
  margin: 0 0 16px;
}

.blog-faq-section {
  margin-top: 38px;
}

.author-box {
  margin-top: 42px;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--orange-soft), #fff);
  border: 1px solid rgba(255,122,26,0.20);
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.author-avatar.large {
  width: 60px;
  height: 60px;
  font-size: 1rem;
}

.author-box span {
  display: block;
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.author-box h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.author-box p {
  margin: 0;
}

.author-archive-page {
  padding: 56px 18px 72px;
  background: #f8fafc;
}

.author-archive-hero {
  max-width: 820px;
  margin: 0 auto 34px;
  padding: 38px 28px;
  text-align: center;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(28,35,51,0.08);
  box-shadow: 0 18px 46px rgba(20,20,40,0.08);
}

.author-archive-hero .author-avatar {
  margin: 0 auto 16px;
}

.author-archive-hero h1 {
  margin: 8px 0 10px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.author-archive-hero > p:last-child {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-muted);
  line-height: 1.75;
}

.author-archive-posts {
  padding-top: 8px;
}

.author-pagination {
  margin-top: 28px;
}

.author-pagination ul {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog-car-carousel {
  margin-top: 56px;
}

.blog-car-carousel-head {
  max-width: 720px;
  margin: 0 auto 24px;
  text-align: center;
}

.blog-car-carousel-head > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-car-carousel h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.7vw, 2rem);
  letter-spacing: -0.04em;
}

.blog-car-carousel-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.blog-car-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, 32%);
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 122, 26, 0.7) rgba(28, 35, 51, 0.08);
}

.blog-rental-card {
  scroll-snap-align: start;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(28,35,51,0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(20,20,40,0.06);
}

.blog-rental-media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  padding: 16px;
  background: linear-gradient(180deg, #fff 0%, #f7f8fa 100%);
}

.blog-rental-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.22s ease;
}

.blog-rental-card:hover .blog-rental-media img {
  transform: scale(1.035);
}

.blog-rental-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.blog-rental-category {
  color: var(--orange-dark);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-rental-card h3 {
  margin: 7px 0 10px;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.25;
}

.blog-rental-card h3 a {
  color: inherit;
}

.blog-rental-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 31px;
  margin-bottom: 14px;
}

.blog-rental-specs span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--text-muted);
  padding: 5px 9px;
  font-size: 0.78rem;
  font-weight: 700;
}

.blog-rental-price {
  margin: auto 0 14px;
}

.blog-rental-price span,
.blog-rental-price small {
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.blog-rental-price strong {
  display: inline-block;
  margin: 0 4px;
  color: var(--ink);
  font-size: 1.06rem;
}

.blog-rental-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.blog-rental-actions a,
.blog-rental-actions button {
  min-height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.88rem;
}

.blog-rental-actions a {
  border: 1px solid rgba(28,35,51,0.12);
  color: var(--ink);
  background: #fff;
}

.blog-rental-actions button {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  cursor: pointer;
}

.blog-car-carousel-editor {
  border: 1px solid rgba(28,35,51,0.12);
  border-radius: 18px;
  padding: 22px;
  background: #fff;
}

.blog-car-carousel-editor-head span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--orange-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-car-carousel-editor-head h3 {
  margin: 0 0 6px;
  color: var(--ink);
}

.blog-car-carousel-editor-head p {
  margin: 0 0 16px;
  color: var(--text-muted);
}

.blog-car-carousel-editor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.blog-car-carousel-editor-grid article {
  border: 1px solid rgba(28,35,51,0.08);
  border-radius: 14px;
  padding: 12px;
  background: var(--bg-alt);
}

.blog-car-carousel-editor-grid img {
  width: 100%;
  height: 90px;
  object-fit: contain;
  display: block;
  margin-bottom: 8px;
}

.blog-car-carousel-editor-grid strong,
.blog-car-carousel-editor-grid small {
  display: block;
}

.blog-car-carousel-editor-grid small {
  color: var(--text-muted);
  margin-top: 3px;
}

.related-posts {
  margin-top: 56px;
}

.related-posts-head {
  max-width: 720px;
  margin: 0 auto 26px;
  text-align: center;
}

.related-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.related-posts h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.7vw, 2rem);
  letter-spacing: -0.04em;
}

.related-copy {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.related-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(28,35,51,0.08);
  box-shadow: 0 10px 26px rgba(20,20,40,0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.related-card br {
  display: none;
}

.related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,122,26,0.28);
  box-shadow: 0 18px 38px rgba(20,20,40,0.12);
}

.related-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--orange-soft), #fff);
}

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

.related-card:hover img {
  transform: scale(1.035);
}

.related-image-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--orange-dark);
  font-size: 0.86rem;
  font-weight: 900;
}

.related-category {
  display: inline-flex;
  align-self: flex-start;
  margin: 16px 16px 8px;
  color: var(--orange-dark);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.related-card strong {
  display: -webkit-box;
  min-height: 2.65em;
  margin: 0 16px 8px;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.32;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-card small {
  display: block;
  margin: 0 16px 10px;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.related-excerpt {
  display: -webkit-box;
  margin: 0 16px 16px;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.58;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-more {
  display: inline-flex;
  align-self: flex-start;
  margin: auto 16px 18px;
  color: var(--orange-dark);
  font-size: 0.84rem;
  font-weight: 900;
}

.blog-pagination {
  width: 100%;
  margin-top: 34px;
  gap: 10px;
}

.blog-pagination .page-numbers,
.blog-pagination .wp-block-query-pagination-previous,
.blog-pagination .wp-block-query-pagination-next {
  min-width: 42px;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(28,35,51,0.1);
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(20,20,40,0.05);
}

.blog-pagination .current {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.blog-pagination a:hover {
  border-color: rgba(255,122,26,0.4);
  color: var(--orange-dark);
}

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

  .blog-toc {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 18px;
  }

  .blog-toc strong {
    grid-column: 1 / -1;
  }

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

@media (max-width: 620px) {
  .rental-breadcrumb-catalog {
    margin: -10px 0 20px;
  }

  .rental-breadcrumb-detail {
    padding: 22px 20px 0;
  }

  .blog-detail-article,
  .blog-car-carousel,
  .related-posts {
    padding: 0 14px;
  }

  .blog-breadcrumb {
    padding-top: 20px;
    margin-bottom: 18px;
    font-size: 0.78rem;
  }

  .blog-detail-header {
    margin-bottom: 22px;
  }

  .blog-detail-header h1 {
    font-size: clamp(1.8rem, 9vw, 2.45rem);
    line-height: 1.1;
    letter-spacing: 0;
  }

  .blog-detail-header > p {
    font-size: 0.95rem;
    line-height: 1.62;
  }

  .author-mini {
    border-radius: 18px;
    align-items: flex-start;
  }

  .blog-featured-image {
    border-radius: 18px;
  }

  .blog-featured-image img {
    max-height: 320px;
  }

  .blog-toc {
    grid-template-columns: 1fr;
  }

  .blog-article-body {
    border-radius: 18px;
    padding: 22px 18px;
    box-shadow: 0 8px 22px rgba(20,20,40,0.06);
  }

  .blog-article-body .lead {
    font-size: 1rem;
    line-height: 1.62;
    padding-bottom: 16px;
    margin-bottom: 20px;
  }

  .blog-article-body h2 {
    margin: 28px 0 12px;
    font-size: clamp(1.45rem, 7vw, 1.85rem);
    line-height: 1.16;
    letter-spacing: 0;
  }

  .blog-article-body p {
    font-size: 0.98rem;
    line-height: 1.68;
    margin-bottom: 14px;
  }

  .blog-article-body :where(ul, ol) {
    padding-left: 20px;
  }

  .blog-article-body :where(table, .wp-block-table) {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .author-box {
    flex-direction: column;
  }

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

  .blog-car-track {
    grid-auto-columns: minmax(250px, 84%);
  }

  .blog-pagination {
    margin-top: 26px;
    gap: 8px;
  }

  .blog-pagination .wp-block-query-pagination-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .blog-pagination .page-numbers,
  .blog-pagination .wp-block-query-pagination-previous,
  .blog-pagination .wp-block-query-pagination-next {
    min-width: 38px;
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.86rem;
  }
}


/* Catalog image fit: prevent all-mobil product photos from being cropped */
.car-card .car-photo {
  display: grid;
  place-items: center;
  background: #fff;
}

.car-card .car-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center !important;
  padding: clamp(8px, 1.5vw, 18px);
  background: #fff;
}

.car-card .car-photo .badge {
  z-index: 2;
}


/* Navbar CTA fix: keep Book Now text visible on all pages */
.navbar .btn-nav-cta {
  min-width: 150px;
  width: auto;
  color: #fff !important;
  justify-content: center;
  white-space: nowrap;
  overflow: visible;
  text-indent: 0;
  line-height: 1;
}

.navbar .btn-nav-cta::before,
.navbar .btn-nav-cta::after {
  display: none;
}

@media (max-width: 900px) {
  .navbar .btn-nav-cta {
    width: 100%;
    min-width: 0;
  }
}


/* Featured showcase UX refinement */
.featured-showcase {
  padding-top: 72px;
  padding-bottom: 72px;
}

.featured-section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 28px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-section-head h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.featured-section-head p {
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.featured-tabs {
  margin-top: 0;
  margin-bottom: 12px;
  gap: clamp(10px, 2vw, 24px);
}

.featured-tab {
  min-width: 92px;
  padding: 11px 22px;
  font-size: 0.98rem;
  box-shadow: inset 0 0 0 1px rgba(7, 93, 168, 0.08);
}

.featured-tab.active {
  box-shadow: 0 10px 24px rgba(7, 93, 168, 0.18);
}

.featured-viewer,
.featured-stage {
  min-height: clamp(455px, 41vw, 560px);
}

.featured-stage {
  width: min(100%, 1080px);
}

.featured-main-car {
  top: 43%;
  width: min(40vw, 440px);
  min-height: 235px;
}

.featured-main-image-wrap {
  height: clamp(175px, 19vw, 235px);
}

.featured-car-panel {
  position: absolute;
  left: 50%;
  top: 71%;
  z-index: 18;
  width: min(88vw, 390px);
  transform: translateX(-50%);
  text-align: center;
  padding: 14px 22px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(28,35,51,0.08);
  box-shadow: 0 16px 36px rgba(20,20,40,0.10);
  backdrop-filter: blur(10px);
}

.featured-car-category {
  display: inline-flex;
  margin-bottom: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(7,93,168,0.08);
  color: var(--showcase-blue);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.featured-car-name {
  margin: 0;
  color: var(--showcase-blue-dark);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-shadow: none;
}

.featured-car-price {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.featured-controls {
  position: absolute;
  left: 50%;
  top: 61%;
  z-index: 25;
  width: min(92vw, 560px);
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.featured-arrow {
  position: static;
  width: 46px;
  height: 46px;
  font-size: 2.35rem;
  pointer-events: auto;
}

.featured-prev,
.featured-next {
  left: auto;
  right: auto;
}

.slot-top-left {
  left: 31%;
  top: 22%;
}

.slot-top-right {
  left: 69%;
  top: 22%;
}

.slot-mid-left {
  left: 14%;
  top: 48%;
}

.slot-mid-right {
  left: 86%;
  top: 48%;
}

@media (max-width: 980px) {
  .featured-showcase {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .featured-section-head {
    margin-bottom: 22px;
  }

  .featured-tabs {
    justify-content: flex-start;
  }

  .featured-viewer,
  .featured-stage {
    min-height: 500px;
  }

  .featured-main-car {
    top: 42%;
    width: min(64vw, 400px);
  }

  .featured-car-panel {
    top: 70%;
  }

  .featured-controls {
    top: 60%;
    width: min(88vw, 500px);
  }
}

@media (max-width: 620px) {
  .featured-showcase {
    padding-top: 46px;
    padding-bottom: 48px;
  }

  .featured-section-head {
    text-align: center;
  }

  .featured-section-head .section-kicker {
    margin-left: auto;
    margin-right: auto;
  }

  .featured-section-head h2 {
    font-size: 2rem;
  }

  .featured-section-head p {
    font-size: 0.94rem;
  }

  .featured-viewer,
  .featured-stage {
    min-height: 440px;
  }

  .featured-main-car {
    top: 42%;
    width: min(80vw, 320px);
  }

  .featured-main-image-wrap {
    height: 165px;
  }

  .featured-car-panel {
    top: 68%;
    width: min(92vw, 330px);
    padding: 12px 18px 14px;
  }

  .featured-car-name {
    font-size: 1.24rem;
  }

  .featured-car-price {
    font-size: 0.82rem;
  }

  .featured-controls {
    top: 58%;
    width: min(88vw, 360px);
  }

  .featured-arrow {
    width: 42px;
    height: 42px;
    font-size: 2.1rem;
  }
}


/* Homepage article preview: SEO-friendly query cards */
.home-blog-preview {
  max-width: min(100% - 36px, 1360px);
  margin-left: auto;
  margin-right: auto;
  padding: clamp(48px, 6vw, 76px) clamp(18px, 3.5vw, 44px);
  background:
    radial-gradient(circle at 18% 8%, rgba(255,255,255,0.92), transparent 30%),
    linear-gradient(180deg, #f8fafc 0%, #f3f5f8 100%);
  border: 1px solid rgba(28,35,51,0.06);
  border-radius: 32px;
  box-shadow: 0 22px 70px rgba(20,20,40,0.08);
}

.home-blog-head {
  max-width: 920px;
  margin: 0 auto 44px;
  text-align: center;
}

.home-blog-head h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(2.25rem, 4.7vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.home-blog-head p {
  margin: 0 auto;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.62;
}

.home-blog-grid {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.home-blog-grid .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-blog-grid .wp-block-post {
  margin: 0;
  min-width: 0;
}

.home-blog-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(28,35,51,0.08);
  box-shadow: 0 18px 48px rgba(20,20,40,0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 500px;
}

.home-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 58px rgba(20,20,40,0.14);
}

.home-blog-card a {
  color: inherit;
  text-decoration: none;
}

.home-blog-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #fff;
  flex: 0 0 auto;
}

.home-blog-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.home-blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.24s ease;
}

.home-blog-card:hover .home-blog-image img {
  transform: scale(1.035);
}

.home-blog-image span {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  border-radius: 999px;
  background: rgba(255,255,255,0.94);
  color: var(--orange-dark);
  padding: 6px 12px;
  font-size: 0.72rem;
  font-weight: 900;
}

.home-blog-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(20px, 2vw, 26px) clamp(20px, 2.2vw, 28px) clamp(22px, 2.2vw, 30px);
}

.home-blog-body .wp-block-post-date {
  margin: 0 0 14px;
}

.home-blog-body time {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.home-blog-body h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(1.1rem, 1.45vw, 1.35rem);
  line-height: 1.32;
  letter-spacing: -0.02em;
}

.home-blog-body h3 a {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-blog-body .wp-block-post-excerpt {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin: 0;
}

.home-blog-body p {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: clamp(0.95rem, 1.08vw, 1.04rem);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-blog-body .wp-block-post-excerpt__more-text {
  margin-top: auto;
  margin-bottom: 0;
}

.home-blog-body .wp-block-post-excerpt__more-link,
.home-blog-body strong {
  color: var(--orange-dark);
  font-size: 0.95rem;
  font-weight: 900;
}

.home-blog-more {
  margin-top: clamp(28px, 4vw, 44px);
}

.home-blog-more .wp-block-button__link {
  min-height: 58px;
  min-width: min(100%, 340px);
  padding: 0 36px;
  border-radius: 999px;
  font-size: 1.02rem;
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(255,122,26,0.24);
}

@media (max-width: 900px) {
  .home-blog-preview {
    max-width: min(100% - 28px, 760px);
  }

  .home-blog-grid .wp-block-post-template {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-blog-card {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .home-blog-preview {
    max-width: min(100% - 24px, 520px);
    padding: 36px 14px;
    border-radius: 24px;
  }

  .home-blog-head {
    margin-bottom: 26px;
    text-align: center;
  }

  .home-blog-head h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
    letter-spacing: -0.02em;
  }

  .home-blog-head p {
    font-size: 0.95rem;
  }

  .home-blog-grid .wp-block-post-template {
    grid-template-columns: 1fr;
  }

  .home-blog-card {
    border-radius: 18px;
  }

  .home-blog-body {
    padding: 18px 18px 22px;
  }

  .home-blog-body h3 {
    font-size: 1.08rem;
  }

  .home-blog-body p {
    font-size: 0.92rem;
  }

  .home-blog-more .wp-block-button,
  .home-blog-more .wp-block-button__link {
    width: 100%;
    min-width: 0;
  }
}

/* ---------- Premium header, 404, and footer refresh ---------- */
.navbar {
  min-height: 92px;
  padding: 0 clamp(42px, 7vw, 126px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(28, 35, 51, 0.08);
  box-shadow: 0 10px 28px rgba(28, 35, 51, 0.035);
}

.navbar .brand img {
  height: 64px;
}

.navbar nav {
  gap: clamp(30px, 3.2vw, 52px);
}

.navbar nav a {
  color: #1c2333;
  font-size: 0.96rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
}

.navbar nav a:hover,
.navbar nav a.active {
  color: #c9962d;
}

.navbar .btn-nav-cta {
  min-width: 228px;
  min-height: 48px;
  margin-left: clamp(22px, 4vw, 72px);
  padding: 0 25px;
  border-radius: 999px;
  background: linear-gradient(135deg, #c6902b, #dfb654);
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(179, 127, 30, 0.22);
}

.navbar .btn-nav-cta svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

main,
.wp-site-blocks main,
.wp-block-post-content {
  padding-top: 92px;
}

.not-found-main {
  padding-bottom: 0 !important;
  background:
    radial-gradient(circle at 75% 10%, rgba(28, 35, 51, 0.04), transparent 34%),
    linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.not-found-page {
  position: relative;
  min-height: calc(100vh - 92px);
  padding: clamp(54px, 6vw, 82px) clamp(26px, 6vw, 110px) 0;
  overflow: hidden;
}

.not-found-dots {
  position: absolute;
  left: 24px;
  top: 28px;
  width: 96px;
  height: 96px;
  opacity: 0.55;
  background-image: radial-gradient(circle, rgba(28, 35, 51, 0.16) 1.4px, transparent 1.5px);
  background-size: 16px 16px;
}

.not-found-hero {
  position: relative;
  z-index: 1;
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(520px, 1.22fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.not-found-code {
  margin: 0 0 12px;
  color: #071421;
  font-size: clamp(6.8rem, 12vw, 12rem);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.03em;
}

.not-found-copy h1 {
  margin: 0 0 16px;
  color: #101827;
  font-size: clamp(2.05rem, 3.2vw, 3.35rem);
  line-height: 1.08;
}

.not-found-copy p:not(.not-found-code) {
  max-width: 470px;
  margin: 0;
  color: #667085;
  font-size: 1.12rem;
  line-height: 1.65;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 32px;
}

.not-found-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 10px;
  font-weight: 900;
  text-decoration: none;
}

.not-found-actions svg,
.not-found-benefits svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.not-found-primary {
  background: #0b1a2a;
  color: #fff;
  box-shadow: 0 14px 30px rgba(11, 26, 42, 0.18);
}

.not-found-secondary {
  background: #fff;
  color: #101827;
  border: 1px solid rgba(28, 35, 51, 0.12);
  box-shadow: 0 12px 28px rgba(28, 35, 51, 0.06);
}

.not-found-visual {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: flex-end;
}

.not-found-arch {
  position: absolute;
  inset: 0 5% 12% 8%;
  border-radius: 999px 999px 0 0;
  background:
    linear-gradient(90deg, rgba(28, 35, 51, 0.025), transparent 20% 80%, rgba(28, 35, 51, 0.025)),
    radial-gradient(circle at 50% 100%, rgba(28, 35, 51, 0.08), transparent 62%);
}

.not-found-arch::before,
.not-found-arch::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 2px;
  height: 78%;
  background: linear-gradient(180deg, transparent, rgba(28, 35, 51, 0.05));
}

.not-found-arch::before { left: 6%; }
.not-found-arch::after { right: 6%; }

.not-found-car {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  margin: 0 auto 22px;
  filter: drop-shadow(0 28px 28px rgba(28, 35, 51, 0.16)) saturate(0.86) contrast(1.06);
  mix-blend-mode: multiply;
}

.traffic-cone {
  position: absolute;
  right: 8%;
  bottom: 28px;
  z-index: 3;
  width: 62px;
  height: 86px;
  border-radius: 8px 8px 14px 14px;
  background:
    linear-gradient(180deg, transparent 0 42%, rgba(255,255,255,0.95) 42% 55%, transparent 55% 100%),
    linear-gradient(90deg, #b57a18, #f2c35a 46%, #a96d13);
  clip-path: polygon(42% 0, 58% 0, 88% 86%, 12% 86%);
  box-shadow: 0 16px 18px rgba(28, 35, 51, 0.18);
}

.traffic-cone span {
  position: absolute;
  left: -18px;
  right: -18px;
  bottom: -7px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #a96d13, #efbd50, #a96d13);
}

.not-found-benefits {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: clamp(34px, 5vw, 52px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 38px 52px;
  border-radius: 28px 28px 0 0;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 -10px 34px rgba(28, 35, 51, 0.08);
}

.not-found-benefits article {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 20px;
  align-items: center;
  min-width: 0;
  padding: 0 36px;
  border-left: 1px solid rgba(28, 35, 51, 0.1);
}

.not-found-benefits article:first-child {
  border-left: 0;
}

.not-found-benefits span {
  width: 66px;
  height: 66px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #c9962d;
  background: #fbf3e4;
}

.not-found-benefits h2 {
  margin: 0 0 8px;
  color: #101827;
  font-size: 1.08rem;
  line-height: 1.2;
}

.not-found-benefits p {
  margin: 0;
  color: #667085;
  line-height: 1.5;
}

footer {
  padding: 0 !important;
  background: transparent !important;
}

.premium-footer-shell {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  padding: clamp(48px, 5vw, 64px) clamp(42px, 8vw, 140px) 20px;
  border-radius: 80px 80px 0 0;
  background:
    radial-gradient(circle at 97% 7%, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(135deg, #081827 0%, #102235 48%, #0c2031 100%);
  color: #c4cad5;
}

.premium-footer-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background:
    repeating-radial-gradient(ellipse at 78% 50%, transparent 0 42px, rgba(255,255,255,0.18) 43px 44px, transparent 45px 90px);
  pointer-events: none;
}

.premium-footer-shell .footer-grid,
.premium-footer-shell .footer-bottom {
  position: relative;
  z-index: 1;
}

.premium-footer-shell .footer-grid {
  max-width: 1480px;
  display: grid;
  grid-template-columns: minmax(250px, 1.2fr) minmax(180px, 0.78fr) minmax(280px, 1fr) minmax(190px, 0.72fr);
  gap: clamp(44px, 5vw, 92px);
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.premium-footer-shell .footer-grid > div {
  padding: 0;
  border-left: 0;
}

.premium-footer-shell .brand img {
  height: 82px;
}

.premium-footer-shell .brand-col p {
  max-width: 330px;
  margin: 22px 0 0;
  color: #c4cad5;
  font-size: 1rem;
  line-height: 1.68;
}

.premium-footer-shell h5 {
  margin: 0 0 18px;
  color: #d9a640;
  font-size: 1.05rem;
  font-weight: 900;
  text-transform: none;
  letter-spacing: 0;
}

.premium-footer-shell h5::after {
  display: none;
}

.premium-footer-shell .footer-nav-list li,
.premium-footer-shell .footer-contact-list li {
  margin-bottom: 10px;
  padding-left: 0;
}

.premium-footer-shell .footer-nav-list li::before {
  display: none;
}

.premium-footer-shell .footer-nav-list a {
  color: #c4cad5;
  font-size: 1rem;
}

.premium-footer-shell .footer-nav-list a:hover {
  color: #d9a640;
}

.premium-footer-shell .footer-contact-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  color: #c4cad5;
  font-size: 1rem;
  line-height: 1.48;
}

.premium-footer-shell .footer-contact-icon {
  width: 22px;
  height: 22px;
  color: #d9a640;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.premium-footer-shell .footer-contact-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.premium-footer-shell .social-badges {
  gap: 16px;
}

.premium-footer-shell .social-badges a {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 14px 22px rgba(0, 0, 0, 0.12);
}

.premium-footer-shell .social-badges a:hover {
  background: rgba(217, 166, 64, 0.96);
  border-color: rgba(217, 166, 64, 0.96);
}

.premium-footer-shell .footer-bottom {
  max-width: 1480px;
  justify-content: center;
  padding-top: 20px;
  color: #9aa3b2;
  font-size: 0.94rem;
}

@media (max-width: 1100px) {
  .navbar {
    padding: 0 30px;
  }

  .navbar nav {
    gap: 24px;
  }

  .navbar .btn-nav-cta {
    margin-left: 8px;
    min-width: 210px;
  }

  .not-found-hero {
    grid-template-columns: 1fr;
  }

  .not-found-visual {
    min-height: 330px;
  }

  .not-found-benefits,
  .premium-footer-shell .footer-grid {
    grid-template-columns: 1fr;
  }

  .not-found-benefits article {
    border-left: 0;
    border-top: 1px solid rgba(28, 35, 51, 0.1);
    padding: 24px 0;
  }

  .not-found-benefits article:first-child {
    border-top: 0;
  }
}

@media (max-width: 900px) {
  .navbar {
    min-height: 82px;
  }

  .navbar .brand img {
    height: 54px;
  }

  .navbar nav {
    top: 82px;
  }

  .navbar .btn-nav-cta {
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }

  main,
  .wp-site-blocks main,
  .wp-block-post-content {
    padding-top: 82px;
  }

  .not-found-page {
    min-height: calc(100vh - 82px);
  }
}

@media (max-width: 640px) {
  .not-found-page {
    padding: 38px 18px 0;
  }

  .not-found-actions {
    flex-direction: column;
    gap: 12px;
  }

  .not-found-actions a {
    width: 100%;
  }

  .not-found-visual {
    min-height: 240px;
  }

  .traffic-cone {
    width: 44px;
    height: 62px;
  }

  .not-found-benefits {
    padding: 22px 24px;
    border-radius: 22px 22px 0 0;
  }

  .not-found-benefits article {
    grid-template-columns: 54px 1fr;
    gap: 14px;
  }

  .not-found-benefits span {
    width: 50px;
    height: 50px;
  }

  .premium-footer-shell {
    padding: 42px 24px 20px;
    border-radius: 42px 42px 0 0;
  }

  .premium-footer-shell .brand img {
    height: 70px;
  }

  .premium-footer-shell .footer-grid {
    gap: 30px;
    padding-bottom: 30px;
  }
}
