:root {
  --bg: #f6f1e8;
  --text: #172033;
  --muted: #667085;
  --card: #ffffff;
  --line: rgba(23, 32, 51, 0.12);
  --primary: #f36f3f;
  --primary-dark: #c84f28;
  --navy: #0f2747;
  --gold: #f5c46b;
  --shadow: 0 22px 60px rgba(15, 39, 71, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(246, 241, 232, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.logo {
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  font-size: clamp(20px, 2.4vw, 28px);
}

.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.58);
  font-weight: 700;
}

.nav-link:hover,
.nav-link.is-active {
  border-color: transparent;
  background: var(--navy);
  color: #fff;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.hero-avia {
  background-image: url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=1800&q=82");
}

.hero-bus {
  background-image: url("https://images.unsplash.com/photo-1544620347-c4fd4a3d5957?auto=format&fit=crop&w=1800&q=82");
}

.hero-hotels {
  background-image: url("https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1800&q=82");
}

.hero-rail {
  background-image: url("https://images.unsplash.com/photo-1474487548417-781cb71495f3?auto=format&fit=crop&w=1800&q=82");
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 22, 40, 0.82), rgba(10, 22, 40, 0.34) 58%, rgba(10, 22, 40, 0.08)),
    linear-gradient(0deg, rgba(246, 241, 232, 0.95), rgba(246, 241, 232, 0) 34%);
}

.hero-content {
  position: relative;
  max-width: 860px;
  padding: 110px clamp(20px, 5vw, 72px) 145px;
  color: #fff;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.panel h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(44px, 7vw, 88px);
}

.hero p {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
}

.button-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 16px 42px rgba(243, 111, 63, 0.34);
}

.button-primary:hover {
  background: var(--primary-dark);
}

.button-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.section,
.cards,
.search-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 96px 0 40px;
}

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: end;
}

.section-kicker {
  color: var(--primary);
}

.section h2,
.panel h2 {
  color: var(--navy);
  font-size: clamp(34px, 4.2vw, 58px);
}

.section p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.search-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
  align-items: stretch;
  padding: 34px 0 30px;
}

.search-copy,
.search-widget {
  border: 1px solid var(--line);
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow);
}

.search-copy {
  padding: clamp(26px, 4vw, 42px);
}

.search-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.search-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.search-widget {
  min-height: 260px;
  padding: clamp(18px, 3vw, 30px);
}

#tpwl-search {
  min-height: 220px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 34px 0 48px;
}

.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 26px;
}

.card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 24px;
  letter-spacing: -0.035em;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  padding-top: 28px;
  padding-bottom: 96px;
}

.panel {
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.accent-panel {
  background: var(--navy);
  color: #fff;
}

.accent-panel h2 {
  color: #fff;
}

.accent-panel p {
  margin: 18px 0 24px;
  color: rgba(255, 255, 255, 0.76);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--muted);
  font-size: 18px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: rgba(243, 111, 63, 0.14);
  color: var(--primary);
  font-size: 14px;
  font-weight: 900;
}

.text-link {
  color: var(--gold);
  font-weight: 900;
}

.service-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.service-links {
  align-items: flex-start;
  flex-direction: column;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: #fff;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--primary-dark);
  font-weight: 900;
}

.cookie-banner {
  position: fixed;
  right: clamp(16px, 4vw, 42px);
  bottom: clamp(16px, 4vw, 42px);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(560px, calc(100% - 32px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  background: rgba(15, 39, 71, 0.94);
  color: #fff;
  box-shadow: 0 20px 70px rgba(15, 39, 71, 0.32);
  backdrop-filter: blur(16px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.cookie-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.cookie-button {
  flex: 0 0 auto;
  min-height: 46px;
}

@media (max-width: 920px) {
  .intro,
  .cards,
  .split,
  .search-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 650px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-content {
    padding-top: 86px;
    padding-bottom: 108px;
  }

  .button {
    width: 100%;
  }

  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
  }
}
