:root {
  --tt-bg: #f4f8fc;
  --tt-bg-alt: #ecf4fb;
  --tt-panel: #ffffff;
  --tt-line: rgba(28, 84, 128, 0.12);
  --tt-ink: #17324a;
  --tt-muted: #56758f;
  --tt-accent: #1d78b5;
  --tt-accent-2: #54a6dc;
  --tt-accent-soft: rgba(29, 120, 181, 0.12);
  --tt-shadow: 0 22px 60px rgba(16, 24, 40, 0.1);
  --tt-radius-xl: 28px;
  --tt-radius-lg: 20px;
  --tt-max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  color: var(--tt-ink);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.9), transparent 28%),
    linear-gradient(180deg, var(--tt-bg) 0%, var(--tt-bg-alt) 100%);
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--tt-bg);
  transition: all .6s ease-out;
}

#preloader::after { animation-delay: -.5s; }
#preloader::before, #preloader::after {
  content: "";
  position: absolute;
  border: 4px solid #59bec5;
  border-radius: 50%;
  animation: animate-preloader 2s cubic-bezier(0,.2,.8,1) infinite;
}

@keyframes animate-preloader {
  0% { width: 10px; height: 10px; top: calc(50% - 5px); left: calc(50% - 5px); opacity: 1; }
  100% { width: 72px; height: 72px; top: calc(50% - 36px); left: calc(50% - 36px); opacity: 0; }
}

.skiptranslate { opacity: 0; display: none; position: absolute !important; top: -5000px; }
a { color: inherit; text-decoration: none; }

.tt-shell { width: min(var(--tt-max-width), calc(100% - 40px)); margin: 0 auto; }

.tt-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,.78);
  border-bottom: 1px solid var(--tt-line);
}

.tt-topbar-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.tt-brand { display: flex; align-items: center; gap: 12px; }
.tt-brand img { width: 44px; height: 44px; }
.tt-brand-copy strong,
.tt-brand-copy span { display: block; }
.tt-brand-copy strong {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  font-weight: 700;
}
.tt-brand-copy span { color: var(--tt-muted); font-size: .92rem; }
.tt-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--tt-line);
  border-radius: 16px;
  background: rgba(255,255,255,.9);
  color: var(--tt-ink);
}
.tt-nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.tt-nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.tt-nav a { padding: 10px 14px; border-radius: 999px; color: var(--tt-muted); font-size: .95rem; }
.tt-nav a.active, .tt-nav a:hover { color: var(--tt-accent); background: var(--tt-accent-soft); }

.tt-main { padding: 24px 0 48px; }
.tt-section { padding: 28px 0; }

.tt-hero {
  min-height: 320px;
  padding: 40px;
  border-radius: var(--tt-radius-xl);
  color: white;
  box-shadow: var(--tt-shadow);
  background:
    linear-gradient(135deg, rgba(6,47,75,.76), rgba(22,109,167,.24)),
    url("../img/get-there/barcelona-airport.jpeg") center/cover;
}

.tt-eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.16);
  font-size: .9rem;
}

.tt-hero h1 {
  margin: 18px 0 14px;
  max-width: 10ch;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: .95;
}

.tt-hero p {
  max-width: 62ch;
  margin: 0;
  color: rgba(255,255,255,.88);
  line-height: 1.72;
  font-size: 1.05rem;
}

.tt-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: 18px;
  align-items: start;
}

.tt-card {
  padding: 28px;
  border-radius: var(--tt-radius-lg);
  background: var(--tt-panel);
  border: 1px solid var(--tt-line);
  box-shadow: 0 18px 50px rgba(15,23,42,.06);
}

.tt-kicker {
  color: var(--tt-accent);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .82rem;
  font-weight: 700;
}

.tt-card h2 {
  margin: 10px 0 12px;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  line-height: 1.04;
}

.tt-price {
  margin: 0 0 18px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--tt-accent);
}

.tt-list {
  margin: 0;
  padding-left: 18px;
  color: var(--tt-muted);
  line-height: 1.8;
}

.tt-note {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--tt-accent-soft);
}

.tt-note strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.02rem;
}

.tt-note p,
.tt-card-copy p,
.tt-card-info p {
  margin: 0;
  color: var(--tt-muted);
  line-height: 1.72;
}

.tt-form { display: grid; gap: 16px; }
.tt-field label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-weight: 600;
}

.tt-field .form-control {
  min-height: 54px;
  border-radius: 16px;
  border: 1px solid var(--tt-line);
  padding: 12px 16px;
  box-shadow: none;
}

.tt-field .form-control:focus {
  border-color: rgba(29, 120, 181, 0.45);
  box-shadow: 0 0 0 4px rgba(29, 120, 181, 0.12);
}

.tt-actions { display: flex; justify-content: flex-end; padding-top: 8px; }

.tt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
}

.tt-btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--tt-accent), var(--tt-accent-2));
}

.tt-modal {
  border: 0;
  border-radius: 22px;
  overflow: hidden;
}

.tt-modal .modal-header,
.tt-modal .modal-footer {
  border: 0;
  padding: 20px 24px;
}

.tt-modal .modal-body {
  padding: 0 24px 24px;
}

.tt-modal-intro {
  margin: 0 0 16px;
  color: var(--tt-muted);
}

.tt-breakdown {
  display: grid;
  gap: 10px;
}

.tt-breakdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fbfd;
}

.tt-breakdown-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tt-muted);
}

.tt-breakdown-row-total {
  background: var(--tt-accent-soft);
}

.tt-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.tt-info-grid h3 {
  margin: 0 0 8px;
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
}

.tt-footer { padding: 24px 0 42px; }
.tt-footer-box {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 28px;
  border-radius: var(--tt-radius-lg);
  background: var(--tt-panel);
  border: 1px solid var(--tt-line);
}

.tt-footer-box p { margin: 0; color: var(--tt-muted); }
.tt-footer-links { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 980px) {
  .tt-topbar-inner {
    position: relative;
    flex-wrap: nowrap;
    padding: 14px 0;
  }
  .tt-brand {
    flex: 1;
    min-width: 0;
  }
  .tt-nav-toggle {
    display: inline-flex;
  }
  .tt-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(320px, calc(100vw - 24px));
    flex-direction: column;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--tt-line);
    border-radius: 22px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 18px 40px rgba(16,24,40,.08);
  }
  .tt-topbar-inner.nav-open .tt-nav { display: flex; }
  .tt-topbar-inner.nav-open .tt-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .tt-topbar-inner.nav-open .tt-nav-toggle span:nth-child(2) { opacity: 0; }
  .tt-topbar-inner.nav-open .tt-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .tt-nav a { width: 100%; padding: 12px 14px; }
  .tt-grid,
  .tt-info-grid {
    grid-template-columns: 1fr;
  }

  .tt-footer-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .tt-shell { width: min(var(--tt-max-width), calc(100% - 24px)); }
  .tt-brand-copy span { display: none; }
  .tt-hero,
  .tt-card { padding: 24px; }
  .tt-hero h1 { max-width: none; }
  .tt-breakdown-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
