:root {
  --purple-100: #220a32;
  --purple-60: #220a3299;
  --purple-15: #220a3226;
  --blue-100: #799fff;
  --blue-legacy: #2d83c2;
  --white: #ffffff;
  --text-dark: #220a32;
  --text-muted: #5b4f65;
  --surface: #ffffff;
  --surface-soft: #f7f9ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--text-dark);
  background: var(--purple-100);
}

.page {
  min-height: 100dvh;
  background: linear-gradient(180deg, #f5fbff 0%, #ffffff 56%, #f6f8ff 100%);
}

.hero {
  position: relative;
  min-height: 100dvh;
  background-image: url("https://static.travala.com/resources/images-pc/rebranding/rebrand-background-v2.webp?v1");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: stretch;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(245, 251, 255, 0.86) 0%, rgba(245, 251, 255, 0.73) 35%, rgba(245, 251, 255, 0.64) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 94vw);
  margin: 0 auto;
  padding: 20px 0 44px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 22px;
}

.brand-row {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--purple-15);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  width: 178px;
  max-width: 62%;
  height: auto;
}

.brand-domain {
  font-size: 14px;
  font-weight: 700;
  color: var(--purple-100);
}

.hero-content {
  align-self: center;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

h1 {
  margin: 0;
  color: var(--purple-100);
  font-size: clamp(32px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: 0.01em;
  font-weight: 900;
  text-transform: uppercase;
}

.subtitle {
  margin: 16px auto 0;
  font-size: clamp(16px, 1.8vw, 28px);
  line-height: 1.24;
  color: #2e2842;
  font-weight: 600;
  max-width: 980px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 10px;
  min-height: 54px;
  padding: 0 36px;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-decoration: none;
  background: var(--blue-100);
  color: var(--purple-100);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.cta:hover {
  transform: translateY(-1px);
  background: var(--purple-100);
  color: var(--white);
}

.cta-main {
  margin-top: 28px;
  min-height: 62px;
  font-size: 20px;
  padding: 0 46px;
  box-shadow: 0 10px 24px rgba(34, 10, 50, 0.2);
}

.referral-copy {
  margin: 14px auto 0;
  max-width: 860px;
  font-size: clamp(13px, 1.4vw, 16px);
  line-height: 1.45;
  color: #3e3550;
  font-weight: 500;
}

.search-card {
  background: var(--surface);
  border: 1px solid var(--purple-15);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 16px 34px rgba(34, 10, 50, 0.14);
}

.chip-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.chip {
  border: 1px solid var(--purple-15);
  border-radius: 999px;
  min-height: 38px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--purple-100);
  background: var(--white);
}

.chip-active {
  background: var(--purple-100);
  color: var(--white);
  border-color: var(--purple-100);
}

.search-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr auto;
  gap: 10px;
}

.field {
  min-height: 54px;
  border: 1px solid var(--purple-15);
  border-radius: 8px;
  background: var(--surface-soft);
  color: #5b4f65;
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
}

.benefits {
  width: min(1180px, 94vw);
  margin: 28px auto 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--purple-15);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.benefit-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.icon-wrap {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: var(--purple-100);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
}

.benefit-item h2 {
  margin: 2px 0 6px;
  font-size: 20px;
  line-height: 1.2;
  color: var(--purple-100);
}

.benefit-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-muted);
}

.trust {
  width: min(980px, 92vw);
  margin: 44px auto 0;
  border-radius: 12px;
  border: 1px solid var(--purple-15);
  background: var(--white);
  padding: 28px;
  text-align: center;
}

.trust h2 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.1;
  color: var(--purple-100);
}

.trust ul {
  margin: 18px auto 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.trust li {
  font-size: 17px;
  font-weight: 600;
  color: #332642;
}

.trust li::before {
  content: "✓ ";
  color: var(--blue-legacy);
  font-weight: 900;
}

.footer {
  width: min(1180px, 94vw);
  margin: 44px auto 0;
  padding: 24px 0 90px;
  border-top: 1px solid var(--purple-15);
  text-align: center;
}

.footer-logo {
  width: 168px;
  height: auto;
}

.disclaimer,
.copy {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 13px;
}

.mobile-sticky-cta {
  display: none;
}

@media (max-width: 1100px) {
  .search-grid {
    grid-template-columns: 1fr 1fr;
  }

  .search-grid .cta {
    grid-column: 1 / -1;
    width: 100%;
  }

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

@media (max-width: 720px) {
  .hero-inner {
    width: min(1180px, 95vw);
    padding-bottom: 16px;
  }

  .brand-row {
    border-radius: 12px;
  }

  .brand-domain {
    font-size: 12px;
  }

  .subtitle {
    margin-top: 10px;
  }

  .cta-main {
    width: 100%;
  }

  .search-card {
    padding: 12px;
    border-radius: 10px;
  }

  .search-grid {
    grid-template-columns: 1fr;
  }

  .field,
  .search-grid .cta {
    width: 100%;
  }

  .benefits {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .benefit-item h2 {
    font-size: 18px;
  }

  .trust {
    padding: 22px 14px;
    margin-top: 30px;
  }

  .trust li {
    font-size: 15px;
  }

  .footer {
    padding-bottom: 116px;
  }

  .mobile-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: block;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(245, 251, 255, 0.55), rgba(255, 255, 255, 0.98));
    border-top: 1px solid var(--purple-15);
    backdrop-filter: blur(3px);
  }

  .mobile-sticky-cta .cta {
    width: 100%;
    min-height: 52px;
    font-size: 18px;
  }
}
