:root {
  color-scheme: dark;
  --bg: #0a0c10;
  --bg-alt: #0f141b;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f6f1e8;
  --muted: #b3bac4;
  --accent: #c8a55a;
  --accent-strong: #f4d59b;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  --radius: 22px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, rgba(25, 30, 40, 0.9), transparent 55%),
    linear-gradient(180deg, #0a0c10 0%, #101621 45%, #0a0c10 100%);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

body.is-loaded {
  overflow-x: hidden;
}

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

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

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 600;
  margin: 0 0 12px;
}

p {
  margin: 0;
}

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

.ambient-glow {
  position: fixed;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  top: -180px;
  right: -160px;
  background: radial-gradient(circle, rgba(200, 165, 90, 0.35), transparent 70%);
  filter: blur(40px);
  opacity: 0.8;
  z-index: 0;
  pointer-events: none;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  background: rgba(10, 12, 16, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

.nav-links a:hover::after,
.nav-links a:focus::after {
  transform: scaleX(1);
}

.nav-links .cta {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  transition: all 0.3s ease;
}

.nav-links .cta::after {
  display: none;
}

.nav-links .cta:hover {
  background: var(--accent);
  color: #1c1c1c;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 4px;
}

/* HERO */
.hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 12, 16, 0.92), rgba(10, 12, 16, 0.6));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
}

.eyebrow {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: inline-block;
  text-shadow:
    0 0 8px rgba(212, 180, 106, 0.45),
    0 0 22px rgba(212, 180, 106, 0.25),
    0 0 40px rgba(212, 180, 106, 0.12);
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    text-shadow:
      0 0 6px rgba(212, 180, 106, 0.30),
      0 0 14px rgba(212, 180, 106, 0.15);
  }
  50% {
    text-shadow:
      0 0 10px rgba(212, 180, 106, 0.80),
      0 0 26px rgba(212, 180, 106, 0.25);
  }
}

.hero h1 {
  font-size: clamp(1.5rem, 3.0vw, 3.0rem);
  line-height: 1.05;
}

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

.lead {
  margin: 20px 0 32px;
  font-size: 1.0rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.highlight-card {
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(14px);
  display: grid;
  gap: 6px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.highlight-card strong {
  font-size: 1.1rem;
}

.highlight-card small {
  color: var(--muted);
}

.highlight-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 165, 90, 0.5);
}

.hero-panel {
  justify-self: end;
  width: min(100%, 380px);
}

.panel-card {
  background: rgba(12, 14, 20, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.panel-title {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  color: var(--accent);
}

.panel-phone {
  font-size: 1.4rem;
  font-weight: 600;
}

.panel-note {
  color: var(--muted);
}

.panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.panel-tags span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(200, 165, 90, 0.12);
  color: var(--accent-strong);
  font-size: 0.8rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  display: grid;
  place-items: center;
}

.scroll-indicator span {
  width: 4px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  animation: scroll 2s infinite;
}

/* BUTTONS */
.btn {
  position: relative;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 40%;
  height: 200%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: translateX(-120%);
  transition: transform 0.5s ease;
}

.btn:hover::after {
  transform: translateX(220%);
}

.btn.primary {
  background: var(--accent);
  color: #1a1a1a;
  box-shadow: 0 16px 30px rgba(200, 165, 90, 0.3);
}

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

.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--text);
}

.btn.ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn.pulse {
  animation: pulse 0.6s ease;
}

/* SECTIONS */
.section {
  padding: 110px 0;
  position: relative;
  z-index: 1;
}

.section.alt {
  background: rgba(255, 255, 255, 0.02);
}

.section.dark {
  background: var(--bg-alt);
}

.section-head {
  max-width: 720px;
  margin-bottom: 46px;
}

.section-text {
  color: var(--muted);
  font-size: 1.05rem;
}

.about-grid,
.service-grid,
.tarifs-grid {
  display: grid;
  gap: 20px;
}

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

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

.about-card,
.service-card,
.tarif-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.about-card:hover,
.service-card:hover,
.tarif-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 165, 90, 0.45);
}

.service-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(200, 165, 90, 0.2);
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent-strong);
  font-size: 18px;
}

/* VEHICLES */
.vehicle-slider {
  margin-top: 40px;
  display: grid;
  gap: 24px;
}

.vehicle-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 36px;
  align-items: center;
}

.vehicle-media {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.vehicle-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.6s ease;
}

.vehicle-media.is-switching img {
  opacity: 0;
  transform: scale(1.04);
}

.vehicle-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(200, 165, 90, 0.2), transparent 60%);
  mix-blend-mode: screen;
}

.vehicle-info {
  display: grid;
  gap: 16px;
}

.vehicle-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 12px;
  color: var(--accent);
}

.vehicle-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--accent-strong);
  font-weight: 600;
}

.vehicle-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vehicle-tags span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.85rem;
}

.vehicle-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.arrow {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.arrow:hover {
  transform: translateY(-2px);
  border-color: rgba(200, 165, 90, 0.6);
}

.vehicle-dots {
  display: flex;
  gap: 10px;
}

.vehicle-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.vehicle-dots button.active {
  background: var(--accent);
  transform: scale(1.4);
}

/* ZONES */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
}

.zones-list h3 {
  margin-bottom: 16px;
}

.zones-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0 0 18px;
}

.zones-pills li {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.9rem;
}

.zones-note {
  color: var(--muted);
}

.map-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: grid;
  gap: 12px;
}

.map {
  height: 360px;
  border-radius: 18px;
  overflow: hidden;
}

.map-legend {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.leaflet-container {
  background: #0c111a;
  font-family: "Manrope", sans-serif;
}

.leaflet-control-zoom a {
  background: #0c111a;
  color: var(--text);
  border: 1px solid var(--border);
}

.leaflet-control-attribution {
  color: var(--muted);
}

.map-pin {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 0 12px rgba(200, 165, 90, 0.6);
}

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

.tarif-card {
  display: grid;
  gap: 12px;
}

.tarif-title {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
}

.tarif-value {
  font-size: 1.5rem;
  font-weight: 600;
}

.tarif-note {
  color: var(--muted);
}

.tarif-card.highlight {
  border-color: rgba(200, 165, 90, 0.6);
  background: rgba(200, 165, 90, 0.1);
}

/* CONTACT */
.contact-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 36px;
}

.contact-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.contact-email {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.email-link {
  color: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.email-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  color: var(--muted);
}

.contact-details strong {
  color: var(--text);
  display: block;
  margin-top: 4px;
}

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

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

.field {
  display: grid;
  gap: 8px;
}

label {
  font-size: 0.85rem;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(10, 12, 16, 0.6);
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(200, 165, 90, 0.2);
  transform: translateY(-1px);
}

.form-status {
  min-height: 1.4em;
  color: var(--accent-strong);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-status.is-error {
  color: #f2a4a4;
}

.contact-form.is-sent .form-status {
  opacity: 1;
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* FOOTER */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0;
  color: var(--muted);
}

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

.footer-links {
  display: flex;
  gap: 18px;
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--muted);
}

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

/* SIMPLE PAGES */
.simple-page {
  padding-top: 110px;
}

.page-hero {
  padding: 140px 0 70px;
}

.simple-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.centered {
  text-align: center;
}

.centered .hero-actions {
  justify-content: center;
}

.policy-content {
  display: grid;
  gap: 24px;
}

.policy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 12px;
}

.policy-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.error-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: center;
}

.error-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.error-code {
  font-size: clamp(3rem, 12vw, 6rem);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.12em;
}

.error-lead {
  font-size: 1.1rem;
  font-weight: 600;
}

.error-links {
  display: grid;
  gap: 10px;
}

.error-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.95rem;
  transition: transform 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.error-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(200, 165, 90, 0.6);
  color: var(--accent);
}

.error-arrow {
  color: var(--accent);
  font-size: 1.1rem;
}

.error-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 24px;
  color: var(--muted);
}

.error-meta strong {
  display: block;
  color: var(--text);
  margin-top: 4px;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

body.is-loaded .hero-text,
body.is-loaded .hero-panel {
  animation: fadeUp 0.9s ease both;
}

body.is-loaded .hero-panel {
  animation-delay: 0.15s;
}

body.is-loaded .hero-highlights {
  animation: fadeUp 1s ease both;
  animation-delay: 0.35s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes scroll {
  0% {
    transform: translateY(-6px);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(8px);
    opacity: 0;
  }
}

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

  .hero-panel {
    justify-self: start;
  }

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

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

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

  .contact-card {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    right: 5vw;
    top: 72px;
    flex-direction: column;
    background: rgba(10, 12, 16, 0.95);
    padding: 18px;
    border-radius: 16px;
    border: 1px solid var(--border);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 120px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .vehicle-showcase {
    grid-template-columns: 1fr;
  }

  .vehicle-media img {
    height: 280px;
  }

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

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

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
