/* Global theme inspired by premium automotive brand language */
:root {
  --bg: #edf2f6;
  --paper: #f9fbfd;
  --ink: #0f1a24;
  --muted: #4c5d70;
  --line: #c7d4df;
  --accent: #0f4c81;
  --accent-soft: #e6f1f8;
  --accent-2: #2f7bb5;
  --ok: #2f7bb5;
  --hero-overlay: rgba(7, 18, 30, 0.56);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
  --radius: 18px;
  --max: 1240px;
  --ease: cubic-bezier(.21, 1, .24, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 5% 10%, rgba(15, 76, 129, 0.15), transparent 35%),
    radial-gradient(circle at 90% 20%, rgba(47, 123, 181, 0.12), transparent 30%),
    linear-gradient(180deg, #f5f9fc 0%, #edf3f8 45%, #f4f8fc 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

.container {
  width: min(var(--max), calc(100vw - 48px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}

.site-header.scrolled {
  background: rgba(249, 252, 255, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: .01em;
}

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

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

.nav a {
  padding: 10px 4px;
  position: relative;
  font-weight: 600;
  color: var(--ink);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
}

main {
  padding-top: 78px;
}

.hero {
  position: relative;
  min-height: 90vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: heroZoom 14s var(--ease) forwards;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), var(--hero-overlay) 55%, rgba(5, 8, 12, 0.65));
}

.hero-panel {
  color: #f2f7fd;
  padding: 0 0 68px;
  max-width: 780px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 700;
  opacity: .92;
}

h1,
h2,
h3,
.display {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  margin-top: 14px;
}

.hero p {
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  margin: 16px 0 0;
  color: #deebf8;
}

.cta-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}

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

.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 22px rgba(15, 76, 129, 0.35);
}

.btn-light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

section {
  padding: 82px 0;
}

.grid-2 {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.card {
  background: rgba(249, 252, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.icon {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.section-head {
  margin-bottom: 30px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.3vw, 3rem);
}

.section-head p {
  max-width: 860px;
  color: var(--muted);
}

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.strip {
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, #f9fbfd, #edf4fa, #f9fbfd);
}

.strip-track {
  display: flex;
  gap: 42px;
  white-space: nowrap;
  overflow: hidden;
  padding: 18px 0;
  font-weight: 700;
  color: #2a3b4d;
}

.strip-track span {
  animation: marquee 20s linear infinite;
}

.kpis {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kpi {
  padding: 20px;
  background: var(--paper);
  border-radius: 14px;
  border: 1px solid var(--line);
}

.kpi strong {
  display: block;
  font-size: 2rem;
  font-family: "Playfair Display", Georgia, serif;
}

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

.timeline article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}

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

.contact-item {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  padding: 15px;
}

.site-footer {
  background: #0d1b2a;
  color: #dde7f2;
  padding: 28px 0 18px;
}

.footer-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.2fr 1fr 1fr;
}

.footer-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.footer-links {
  display: grid;
  gap: 6px;
}

.footer-links a {
  color: #bfd0e4;
}

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

.footer-bottom {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #a9bdd4;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.policy {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.policy h1 {
  color: var(--ink);
  margin-bottom: 14px;
}

.policy h2 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.policy ul {
  margin-top: 8px;
}

.policy p,
.policy li {
  color: #304255;
}

.notice {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  padding: 14px;
  border-radius: 10px;
}

@keyframes heroZoom {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

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

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

@media (max-width: 840px) {
  .menu-btn {
    display: inline-block;
    color: var(--ink);
  }

  .nav {
    position: absolute;
    right: 24px;
    top: 68px;
    background: rgba(249, 252, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
    min-width: 220px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

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

  .container {
    width: min(var(--max), calc(100vw - 30px));
  }

  section {
    padding: 66px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
