﻿/* ─── TOKENS ──────────────────────────────────────────────────────── */
:root {
  --bg:          oklch(96% 0.008 120);
  --bg-warm:     oklch(93% 0.014 120);
  --surface:     oklch(99.5% 0.005 120);
  --ink:         oklch(18% 0.015 52);
  --ink-2:       oklch(40% 0.012 52);
  --ink-3:       oklch(60% 0.010 52);
  --border:      oklch(88% 0.010 72);
  --border-soft: oklch(92% 0.010 72);

  --terra:       oklch(58% 0.13 36);
  --terra-light: oklch(93% 0.04 36);
  --terra-dark:  oklch(45% 0.13 36);

  --green:       oklch(42% 0.12 155);
  --green-light: oklch(93% 0.04 155);

  --radius-sm:   6px;
  --radius:      10px;
  --radius-lg:   16px;

  --font-serif: 'Lora', Georgia, serif;
  --font-sans:  'Plus Jakarta Sans', system-ui, sans-serif;
}

/* ─── RESET ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ─── NAV ─────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 60px);
}
.nav-brand {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.nav-brand em { font-style: italic; color: var(--terra); }
.nav-lang { display: flex; gap: 4px; }
.nav-lang-btn {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink-3);
  cursor: pointer;
  transition: all 0.15s;
  display: inline-block;
}
.nav-lang-btn:hover,
.nav-lang-btn.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* ─── FLASH MESSAGES ──────────────────────────────────────────────── */
.flash {
  padding: 14px clamp(20px, 5vw, 60px);
  border-bottom: 1px solid var(--border-soft);
  animation: slideDown 0.3s ease-out;
}
.flash--info {
  background: oklch(93% 0.06 52);
  color: oklch(50% 0.16 52);
}
.flash-inner {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── HERO ────────────────────────────────────────────────────────── */
.hero {
  min-height: calc(100svh - 60px);
  display: grid;
  place-items: center;
  padding: clamp(48px, 8vh, 96px) clamp(20px, 5vw, 60px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner { width: 100%; max-width: 580px; text-align: center; position: relative; }
.hero-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 20px;
}
.hero-h1 {
  font-family: var(--font-serif);
  font-size: clamp(38px, 7vw, 66px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--ink);
  margin-bottom: 20px;
  text-wrap: balance;
}
.hero-h1 em { font-style: italic; color: var(--terra); }
.hero-sub {
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 400;
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 36px;
  text-wrap: pretty;
}

/* ─── FORM ────────────────────────────────────────────────────────── */
.subscribe-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  box-shadow: 0 2px 8px oklch(0% 0 0 / 0.04), 0 12px 40px oklch(0% 0 0 / 0.06);
  text-align: left;
}
.form-row { display: flex; gap: 10px; margin-bottom: 14px; }
.form-email-wrap { flex: 1; position: relative; }
.form-email-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
  pointer-events: none;
  font-size: 14px;
}
.form-email {
  width: 100%;
  padding: 12px 14px 12px 38px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-email::placeholder { color: var(--ink-3); }
.form-email:focus {
  border-color: var(--terra);
  box-shadow: 0 0 0 3px oklch(58% 0.13 36 / 0.12);
}
.form-submit {
  padding: 12px 22px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #fff;
  background: var(--terra);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, transform 0.12s, box-shadow 0.15s;
  box-shadow: 0 2px 8px oklch(58% 0.13 36 / 0.3);
}
.form-submit:hover {
  background: var(--terra-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px oklch(58% 0.13 36 / 0.38);
}
.form-submit:active { transform: none; }

.form-lang-row { display: flex; align-items: center; gap: 18px; }
.form-lang-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.form-lang-opts { display: flex; gap: 6px; }
.lang-opt { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.lang-opt input[type="radio"] { accent-color: var(--terra); cursor: pointer; }
.lang-opt label { font-size: 13px; font-weight: 500; color: var(--ink-2); cursor: pointer; }
.lang-opt input:checked + label { color: var(--terra); font-weight: 600; }

/* ─── TRUST BAR ───────────────────────────────────────────────────── */
.trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.trust-item { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-3); }
.trust-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--terra-light);
  border: 1.5px solid var(--terra);
  flex-shrink: 0;
}
.trust-sep { width: 1px; height: 14px; background: var(--border); }

/* ─── DEALS SECTION ───────────────────────────────────────────────── */
.deals { padding: 72px clamp(20px, 5vw, 60px); max-width: 1200px; margin: 0 auto; }
.deals-header { display: flex; align-items: baseline; gap: 20px; margin-bottom: 36px; }
.deals-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--terra);
}
.deals-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--ink);
}
.deals-rule { flex: 1; height: 1px; background: var(--border); min-width: 40px; }

/* ─── CARD GRID ───────────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

/* ─── DEAL CARD ───────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s cubic-bezier(0.23,1,0.32,1), box-shadow 0.22s;
  position: relative;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px oklch(0% 0 0 / 0.1); }

.card-has-img .card-photo {
  height: 190px;
  background: var(--bg-warm) var(--card-img, none) center/cover no-repeat;
  position: relative;
  flex-shrink: 0;
}
.card-has-img .card-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, oklch(0% 0 0 / 0.55));
}
.card-photo-placeholder {
  height: 190px;
  background: var(--bg-warm);
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card-photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    oklch(90% 0.015 72) 0px, oklch(90% 0.015 72) 1px,
    transparent 1px, transparent 12px
  );
}
.card-photo-placeholder span {
  position: relative;
  font-size: 11px;
  font-family: monospace;
  color: var(--ink-3);
  text-align: center;
  padding: 8px 12px;
  background: var(--surface);
  border-radius: 4px;
  border: 1px solid var(--border);
}

.card-body { padding: 20px 20px 18px; display: flex; flex-direction: column; flex: 1; }
.card-route { display: flex; align-items: center; gap: 7px; margin-bottom: 14px; }
.card-iata {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--ink-3);
  text-transform: uppercase;
}
.card-arrow { color: var(--border); font-size: 12px; }
.card-dest { font-size: 15px; font-weight: 600; color: var(--ink); }

.card-pricing {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-soft);
}
.card-price-wrap { display: flex; align-items: baseline; gap: 8px; }
.card-was { font-size: 13px; color: var(--ink-3); text-decoration: line-through; }
.card-price {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -1px;
  line-height: 1;
}
.card-savings {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--green-light);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 20px;
}

.card-dates {
  font-size: 13px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.card-dates-dep { font-weight: 500; }
.card-dates-sep { color: var(--border); }
.card-dates-ret { font-weight: 500; }
.card-more { font-size: 12px; color: var(--ink-3); font-style: italic; margin-bottom: 14px; }

.card-cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  text-decoration: none;
  cursor: pointer;
}
.card-cta:hover { background: var(--terra); border-color: var(--terra); color: #fff; }
.card-cta-arrow { transition: transform 0.15s; }
.card-cta:hover .card-cta-arrow { transform: translateX(4px); }

.card-credit {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-size: 10px;
  color: oklch(100% 0 0 / 0.5);
  z-index: 2;
}
.card-credit a { color: inherit; }
.card-credit a:hover { color: #fff; }

/* ─── DIVIDER ─────────────────────────────────────────────────────── */
.section-divider { height: 1px; background: var(--border); max-width: 1200px; margin: 0 auto; }

/* ─── EMPTY STATE ─────────────────────────────────────────────────── */
.empty { text-align: center; padding: 64px 24px; color: var(--ink-3); font-size: 15px; }

/* ─── FOOTER ──────────────────────────────────────────────────────── */
.footer {
  padding: 32px clamp(20px, 5vw, 60px);
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-brand { font-family: var(--font-serif); font-size: 15px; font-weight: 600; color: var(--ink); }
.footer-brand em { font-style: italic; color: var(--terra); }
.footer-copy { font-size: 12px; color: var(--ink-3); }

/* ─── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .form-row { flex-direction: column; }
  .form-submit { width: 100%; }
  .deals-header { flex-wrap: wrap; gap: 8px; }
  .deals-rule { display: none; }
  .footer { flex-direction: column; align-items: flex-start; }
}

