:root {
  --gt-bg: #f5f6f8;
  --gt-bg-alt: #eceff3;
  --gt-panel: #ffffff;
  --gt-line: rgba(34, 47, 62, 0.12);
  --gt-ink: #1f2937;
  --gt-muted: #5f6b7b;
  --gt-accent: #2f5b8a;
  --gt-accent-2: #79a3c8;
  --gt-accent-soft: rgba(47, 91, 138, 0.12);
  --gt-shadow: 0 22px 60px rgba(16, 24, 40, 0.1);
  --gt-radius-xl: 28px;
  --gt-radius-lg: 20px;
  --gt-max-width: 1180px;
}

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

#preloader { position: fixed; inset: 0; z-index: 9999; background: var(--gt-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; }
img { display: block; max-width: 100%; }

.gt-shell { width: min(var(--gt-max-width), calc(100% - 40px)); margin: 0 auto; }
.gt-topbar {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px); background: rgba(255,255,255,.8);
  border-bottom: 1px solid var(--gt-line);
}
.gt-topbar-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.gt-brand { display: flex; align-items: center; gap: 12px; }
.gt-brand img { width: 44px; height: 44px; }
.gt-brand-copy strong, .gt-brand-copy span { display: block; }
.gt-brand-copy strong { font-family: "Playfair Display", serif; font-size: 1.15rem; font-weight: 700; }
.gt-brand-copy span { color: var(--gt-muted); font-size: .92rem; }
.gt-nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.gt-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(--gt-line);
  border-radius: 16px;
  background: rgba(255,255,255,.9);
  color: var(--gt-ink);
}
.gt-nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.gt-nav a { padding: 10px 14px; border-radius: 999px; color: var(--gt-muted); font-size: .95rem; }
.gt-nav a.active, .gt-nav a:hover { color: var(--gt-accent); background: var(--gt-accent-soft); }
.gt-main { padding: 24px 0 48px; }

.gt-hero {
  min-height: 360px; padding: 40px; border-radius: var(--gt-radius-xl); color: white;
  box-shadow: var(--gt-shadow);
  background:
    linear-gradient(135deg, rgba(18,29,43,.78), rgba(47,91,138,.28)),
    url("../img/get-there/barcelona-airport.jpeg") center/cover;
}
.gt-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;
}
.gt-hero h1 {
  margin: 18px 0 14px; max-width: 10ch; font-family: "Playfair Display", serif;
  font-size: clamp(2.8rem, 6vw, 5rem); line-height: .95;
}
.gt-hero p { max-width: 60ch; margin: 0; color: rgba(255,255,255,.88); line-height: 1.7; font-size: 1.05rem; }
.gt-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.gt-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border-radius: 999px; font-weight: 700; }
.gt-btn-primary { background: linear-gradient(135deg, var(--gt-accent), var(--gt-accent-2)); color: white; }
.gt-btn-secondary { color: white; border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.12); }

.gt-section { padding: 28px 0; }
.gt-section-head { margin-bottom: 22px; }
.gt-kicker { color: var(--gt-accent); text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; font-weight: 700; }
.gt-section-head h2 { margin: 8px 0 10px; font-family: "Playfair Display", serif; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.02; }
.gt-section-head p { margin: 0; color: var(--gt-muted); line-height: 1.7; }
.gt-grid { display: grid; gap: 18px; }

.gt-card {
  display: grid; grid-template-columns: 320px 1fr; gap: 22px;
  padding: 22px; border-radius: var(--gt-radius-lg); background: var(--gt-panel);
  border: 1px solid var(--gt-line); box-shadow: 0 18px 50px rgba(15,23,42,.06);
}
.gt-card > div { min-width: 0; }
.gt-card img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; border-radius: 18px; }
.gt-card h3 { margin: 0 0 12px; font-family: "Playfair Display", serif; font-size: 1.55rem; }
.gt-card p { margin: 0 0 12px; color: var(--gt-muted); line-height: 1.72; }
.gt-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.gt-link {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 14px;
  border-radius: 999px; background: var(--gt-accent-soft); color: var(--gt-accent); font-weight: 700;
}

.gt-footer { padding: 24px 0 42px; }
.gt-footer-box {
  display: flex; justify-content: space-between; gap: 18px; padding: 24px 28px;
  border-radius: var(--gt-radius-lg); background: var(--gt-panel); border: 1px solid var(--gt-line);
}
.gt-footer-box p { margin: 0; color: var(--gt-muted); }
.gt-footer-links { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 980px) {
  .gt-topbar-inner {
    position: relative;
    flex-wrap: nowrap;
    padding: 14px 0;
  }
  .gt-brand {
    flex: 1;
    min-width: 0;
  }
  .gt-nav-toggle {
    display: inline-flex;
  }
  .gt-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(--gt-line);
    border-radius: 22px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 18px 40px rgba(16,24,40,.08);
  }
  .gt-topbar-inner.nav-open .gt-nav { display: flex; }
  .gt-topbar-inner.nav-open .gt-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .gt-topbar-inner.nav-open .gt-nav-toggle span:nth-child(2) { opacity: 0; }
  .gt-topbar-inner.nav-open .gt-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .gt-nav a { width: 100%; padding: 12px 14px; }
  .gt-card { grid-template-columns: 1fr; }
  .gt-card img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .gt-footer-box { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .gt-shell { width: min(var(--gt-max-width), calc(100% - 24px)); }
  .gt-brand-copy span { display: none; }
  .gt-hero { min-height: 320px; padding: 24px; }
  .gt-hero h1 { max-width: none; }
}
