:root {
  --bg: #0f1718;
  --surface: #162223;
  --surface-2: #1c2d2f;
  --text: #e9e3d8;
  --muted: #b9b2a6;
  --primary: #c5a15a;
  --primary-strong: #e0b76a;
  --accent: #a66a43;
  --success: #7fb68e;
  --danger: #d07c7c;
  --border: rgba(233, 227, 216, 0.16);
  --shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 15% -10%, rgba(197, 161, 90, 0.14), transparent 60%),
    radial-gradient(900px 600px at 90% 5%, rgba(166, 106, 67, 0.14), transparent 58%),
    var(--bg);
}

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

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

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(1.9rem, 2.8vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
}

h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
}

ul {
  margin: 0;
  padding-left: 1.1rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 3.25rem 0;
}

.gap-32 {
  height: 1.25rem;
}

.gap-40 {
  height: 1.5rem;
}

.glass-panel {
  background: linear-gradient(180deg, rgba(27, 41, 42, 0.76), rgba(18, 29, 30, 0.86));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(3px);
}

.eyebrow {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(12, 19, 20, 0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}

.header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 0.98rem;
  min-width: 0;
}

.brand span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex: 0 0 auto;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

.menu-toggle {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.main-nav,
.header-cta {
  display: none;
}

.mobile-nav {
  border-top: 1px solid var(--border);
  background: rgba(15, 23, 24, 0.98);
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.4rem 1rem 1rem;
}

.mobile-nav a {
  display: block;
  padding: 0.7rem 0.4rem;
  color: var(--muted);
  border-bottom: 1px dashed rgba(233, 227, 216, 0.13);
}

.mobile-nav li:last-child a {
  border-bottom: 0;
}

/* Buttons and links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(197, 161, 90, 0.35);
  background: linear-gradient(180deg, #d3af66, #b88e4d);
  color: #1b1208;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.72rem 1.1rem;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn.secondary {
  background: transparent;
  color: var(--primary-strong);
  border-color: rgba(197, 161, 90, 0.55);
}

.btn.tertiary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn.small {
  padding: 0.5rem 0.85rem;
  font-size: 0.86rem;
}

.text-link {
  color: var(--primary-strong);
  font-weight: 600;
  text-underline-offset: 3px;
}

.text-link:hover {
  text-decoration: underline;
}

/* Hero */
.hero-image,
.route-card > img,
.feature-split img,
.cta-section img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  object-fit: cover;
  width: 100%;
  height: auto;
}

.hero .hero-image {
  max-height: 420px;
}

/* Cards */
.cards-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 1.1rem;
}

.route-card {
  background: linear-gradient(180deg, rgba(24, 38, 39, 0.4), rgba(17, 28, 29, 0.55));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.7rem;
}

/* Feature split */
.split-grid {
  display: grid;
  gap: 1.2rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--muted);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* CTA section */
.cta-section .glass-panel {
  text-align: left;
}

/* Contact */
.contact-layout {
  display: grid;
  gap: 1.1rem;
}

.contact-form {
  margin-top: 0.5rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.form-field {
  margin-bottom: 0.9rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: var(--text);
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(10, 18, 19, 0.7);
  color: var(--text);
  border-radius: 10px;
  padding: 0.72rem 0.8rem;
  font: inherit;
}

.form-field textarea {
  resize: vertical;
  min-height: 140px;
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.form-error {
  min-height: 1.1rem;
  margin: 0.35rem 0 0;
  color: var(--danger);
  font-size: 0.88rem;
}

.form-actions {
  margin-top: 0.5rem;
}

.form-success {
  margin-top: 0.8rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(127, 182, 142, 0.4);
  background: rgba(127, 182, 142, 0.14);
  color: #cfe9d6;
  border-radius: 10px;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  background: #0c1213;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  gap: 1.2rem;
  padding: 2rem 0 1.25rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li + li {
  margin-top: 0.35rem;
}

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

.footer-grid a:hover {
  color: var(--primary-strong);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 0.9rem 0 1.4rem;
  font-size: 0.92rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(14, 22, 23, 0.96);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.cookie-banner p {
  margin-bottom: 0.9rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Tablet */
@media (min-width: 700px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }

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

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

  .cookie-banner {
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    width: min(92vw, 820px);
  }
}

/* Desktop */
@media (min-width: 980px) {
  .section {
    padding: 4.2rem 0;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
  }

  .menu-toggle,
  .mobile-nav {
    display: none;
  }

  .main-nav,
  .header-cta {
    display: block;
  }

  .main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
  }

  .main-nav a {
    display: inline-block;
    color: var(--muted);
    font-weight: 600;
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
  }

  .main-nav a:hover,
  .main-nav a[aria-current="page"] {
    color: var(--text);
    background: rgba(197, 161, 90, 0.12);
  }

  .hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.25rem;
    align-items: stretch;
  }

  .hero .gap-32 {
    display: none;
  }

  .hero .glass-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .split-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
  }

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

  .route-card:nth-child(4),
  .route-card:nth-child(5) {
    grid-column: span 1;
  }
}

:focus-visible {
  outline: 2px solid var(--primary-strong);
  outline-offset: 2px;
  border-radius: 6px;
}