:root {
  --blue-950: #07192e;
  --blue-900: #0b3159;
  --blue-700: #1566a8;
  --orange-700: #dd6f09;
  --orange-600: #f08a1b;
  --orange-500: #f8a632;
  --text: #162c42;
  --text-soft: #5f7285;
  --line: #d7e1ed;
  --shadow: 0 22px 45px rgba(8, 37, 66, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Sora", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 16%, rgba(47, 142, 211, 0.17), transparent 33%),
    radial-gradient(circle at 88% 8%, rgba(248, 166, 50, 0.2), transparent 30%),
    linear-gradient(180deg, #eff6ff 0%, #fdfcff 40%, #f5fbff 100%);
}

body.modal-open {
  overflow: hidden;
}

.hero {
  padding: 20px clamp(16px, 3vw, 44px) 72px;
  color: #fff;
  border-bottom: 6px solid rgba(248, 166, 50, 0.65);
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 198, 110, 0.4), transparent 30%),
    radial-gradient(circle at 12% 86%, rgba(79, 174, 240, 0.22), transparent 34%),
    linear-gradient(130deg, var(--blue-950), var(--blue-900) 44%, var(--blue-700));
}

.nav-wrap,
.hero-content,
.service-section,
.download,
.about-wrap {
  max-width: 1140px;
  margin: 0 auto;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #fff;
}

.brand img {
  width: clamp(108px, 14vw, 170px);
  height: clamp(108px, 14vw, 170px);
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
}

.brand span {
  font-size: clamp(2rem, 4.8vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.94);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
}

.hero-content {
  margin-top: 22px;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  color: #ffdca8;
  font-weight: 700;
}

.hero-content h1 {
  margin: 12px 0;
  max-width: 760px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.08;
}

.hero-content p {
  margin: 0;
  max-width: 760px;
  line-height: 1.82;
  color: rgba(255, 255, 255, 0.93);
}

.service-section {
  padding: 54px clamp(16px, 3vw, 44px);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 32px;
}

#cars {
  padding-bottom: 28px;
}

#tours {
  padding-top: 28px;
}

.reverse {
  grid-template-columns: 1fr 1.15fr;
}

.section-kicker {
  margin: 0;
  color: var(--orange-700);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 700;
}

.service-copy h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.24;
}

.service-copy > p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.feature-list {
  margin-top: 18px;
  display: grid;
  gap: 11px;
}

.feature-list article {
  border-radius: 15px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  box-shadow: 0 9px 22px rgba(14, 41, 66, 0.07);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 255, 0.96));
}

.feature-list h3 {
  margin: 0 0 6px;
  color: #0f3a62;
  font-size: 1rem;
}

.feature-list p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.62;
}

.stack-wrap {
  min-height: 390px;
  position: relative;
  perspective: 1000px;
}

.stack-card {
  position: absolute;
  width: min(95%, 398px);
  height: 252px;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 4px solid #fff;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.stack-card:focus-visible {
  outline: 3px solid rgba(240, 138, 27, 0.65);
  outline-offset: 4px;
}

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

.stack-card figcaption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 8px 12px;
  background: rgba(8, 24, 38, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.stack-cars .card-a {
  top: 4px;
  left: 6px;
  transform: rotate(-9deg);
  z-index: 1;
}

.stack-cars .card-b {
  top: 74px;
  left: 44px;
  transform: rotate(5deg);
  z-index: 2;
}

.stack-cars .card-c {
  top: 146px;
  left: 10px;
  transform: rotate(-2deg);
  z-index: 3;
}

.stack-tours .card-a {
  top: 4px;
  left: 28px;
  transform: rotate(8deg);
  z-index: 1;
}

.stack-tours .card-b {
  top: 74px;
  left: 0;
  transform: rotate(-6deg);
  z-index: 2;
}

.stack-tours .card-c {
  top: 148px;
  left: 34px;
  transform: rotate(2deg);
  z-index: 3;
}

.stack-wrap:hover .card-a {
  transform: translateY(-8px) rotate(var(--a-rot, -8deg));
}

.stack-wrap:hover .card-b {
  transform: translateY(-13px) rotate(var(--b-rot, 5deg));
}

.stack-wrap:hover .card-c {
  transform: translateY(-18px) rotate(var(--c-rot, -2deg));
}

.stack-cars .card-a {
  --a-rot: -11deg;
}

.stack-cars .card-b {
  --b-rot: 7deg;
}

.stack-cars .card-c {
  --c-rot: -1deg;
}

.stack-tours .card-a {
  --a-rot: 10deg;
}

.stack-tours .card-b {
  --b-rot: -8deg;
}

.stack-tours .card-c {
  --c-rot: 4deg;
}

.download {
  padding: 30px clamp(16px, 3vw, 44px) 24px;
}

.download-wrap {
  border-radius: 22px;
  padding: clamp(20px, 3vw, 34px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 198, 112, 0.35), transparent 34%),
    linear-gradient(145deg, #0a2a4b, #195f97);
}

.download-copy h2 {
  margin: 10px 0 9px;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
}

.download-copy p {
  margin: 0;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.store-links {
  display: grid;
  gap: 12px;
  align-content: center;
}

.store-btn {
  text-decoration: none;
  color: #fff;
  border-radius: 16px;
  padding: 14px 18px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.33);
}

.store-btn svg {
  width: 40px;
  height: 40px;
  fill: #fff;
  flex: none;
}

.store-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-size: 1.1rem;
  font-weight: 700;
}

.store-btn small {
  font-size: 0.76rem;
  font-weight: 500;
  opacity: 0.88;
}

.about-footer {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.95);
  border-top: 5px solid rgba(248, 166, 50, 0.7);
  background:
    radial-gradient(circle at 14% 20%, rgba(255, 176, 69, 0.16), transparent 34%),
    linear-gradient(145deg, #0b2743, #0b1f36);
}

.about-wrap {
  padding: 26px clamp(16px, 3vw, 44px) 28px;
}

.about-wrap h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.about-wrap > p {
  margin: 0;
  max-width: 880px;
  line-height: 1.76;
}

.about-contact {
  margin-top: 12px;
  display: grid;
  gap: 6px;
}

.about-contact p {
  margin: 0;
}

.about-contact a {
  color: #ffd08b;
  text-decoration: none;
}

.phone-placeholder {
  color: rgba(255, 255, 255, 0.84);
}

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

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 8px 12px;
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.legal-links {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.legal-links a {
  color: #ffd08b;
  text-decoration: none;
  border: 1px solid rgba(255, 208, 139, 0.45);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
}

.about-wrap .mini {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.image-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(3, 13, 23, 0.88);
  backdrop-filter: blur(4px);
  z-index: 999;
  padding: 20px;
}

.image-modal.open {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.image-modal img {
  width: min(95vw, 980px);
  max-height: 74vh;
  object-fit: cover;
  border-radius: 16px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
}

.image-modal p {
  margin: 0;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.modal-close {
  align-self: flex-end;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.legal-page {
  min-height: 100vh;
}

.legal-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px clamp(16px, 3vw, 40px) 48px;
}

.legal-top {
  margin-bottom: 20px;
}

.legal-top a {
  color: var(--blue-700);
  text-decoration: none;
  font-weight: 600;
}

.legal-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(18px, 2.6vw, 30px);
  box-shadow: 0 14px 34px rgba(15, 47, 79, 0.1);
}

.legal-card h1 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  color: #0f3a62;
}

.legal-card h2 {
  margin: 20px 0 8px;
  font-size: 1.2rem;
  color: #0f3a62;
}

.legal-card p,
.legal-card li {
  color: var(--text-soft);
  line-height: 1.75;
}

.legal-card ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.legal-meta {
  margin: 0 0 18px;
  color: #4e6277;
  font-weight: 600;
}

.legal-cta {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: linear-gradient(130deg, var(--blue-900), var(--blue-700));
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(11, 49, 89, 0.35);
  font-weight: 700;
}

.legal-note {
  margin-top: 12px;
  font-size: 0.94rem;
}

@media (max-width: 1050px) {
  .service-section,
  .reverse,
  .download-wrap {
    grid-template-columns: 1fr;
  }

  .stack-wrap {
    min-height: 350px;
    max-width: 460px;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-bottom: 58px;
  }

  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand img {
    width: 112px;
    height: 112px;
  }

  .brand span {
    font-size: 2.2rem;
  }

  .stack-wrap {
    min-height: 320px;
  }

  .stack-card {
    width: min(96%, 320px);
    height: 220px;
  }

  .stack-cars .card-b,
  .stack-tours .card-c {
    left: 20px;
  }

  .store-btn svg {
    width: 34px;
    height: 34px;
  }

  .store-btn span {
    font-size: 1rem;
  }
}
