/* Horizon Sample Travels — demo host site for the TravelBrisk widget.
   The brand colour is ONE variable. It must match the Site Design primary of
   the agency whose widget key is embedded, or the "does it blend" test proves
   nothing. The bundled key is Cemmey's (#652D90). */
:root {
  --brand: #652d90;
  --brand-dark: #4a1f6b;
  --brand-light: #f3ecf8;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #f9fafb;
  --gold: #f59e0b;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
a { color: var(--brand); text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 2rem); margin-inline: auto; }
.section { padding: 64px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head .eyebrow {
  display: inline-block; color: var(--brand); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px;
}
.section-head p { color: var(--muted); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 8px; font-weight: 700; font-size: 0.95rem;
  border: 2px solid transparent; cursor: pointer; transition: all 0.2s;
  font-family: var(--font);
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.15); }
.btn-ghost { border-color: var(--brand); color: var(--brand); }
.btn-ghost:hover { background: var(--brand-light); }

/* ---------- Top bar + header ---------- */
.topbar {
  background: var(--brand-dark); color: rgba(255, 255, 255, 0.9); font-size: 0.82rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar span + span { margin-left: 20px; }
.topbar a { color: #fff; }
.header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.15rem; }
.logo svg { width: 40px; height: 40px; }
.logo small { display: block; font-size: 0.7rem; font-weight: 600; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 14px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 0.95rem;
}
.nav a:hover { background: var(--brand-light); color: var(--brand); }
.nav a.active { color: var(--brand); box-shadow: inset 0 -3px 0 var(--brand); border-radius: 0; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .phone { font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.header-cta .phone small { display: block; font-weight: 500; color: var(--muted); font-size: 0.72rem; }
.nav-toggle { display: none; }
.nav-toggle-btn {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle-btn span { display: block; width: 20px; height: 2px; background: var(--ink); box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(115deg, rgba(74, 31, 107, 0.92) 0%, rgba(101, 45, 144, 0.78) 55%, rgba(101, 45, 144, 0.35) 100%),
    url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=1800&q=70") center/cover;
  background-color: var(--brand-dark);
}
.hero .container { padding: 88px 0 200px; max-width: 760px; margin-inline: auto; text-align: center; }
.hero.compact .container { padding: 64px 0 150px; }
/* Home: the search card is the point of the page, so the hero is a short
   banner and the card overlaps most of it. */
.hero.home .container { padding: 44px 0 170px; }
.hero.home h1 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: 0.3em; }
.hero.home p { font-size: 1.02rem; margin-bottom: 0; }
.hero.home .eyebrow { margin-bottom: 12px; }
.hero .eyebrow {
  display: inline-block; background: rgba(255, 255, 255, 0.18); padding: 6px 14px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px;
}
.hero p { font-size: 1.15rem; opacity: 0.92; max-width: 600px; margin: 0 auto 24px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Widget card (the thing under test) ---------- */
.booking-card {
  position: relative; z-index: 2; margin-top: -150px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 18px;
  border: 1px solid var(--line);
}
.booking-card .card-title {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 4px 8px 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px;
}
.booking-card .card-title h3 { margin: 0; }
.booking-card .card-title span { color: var(--muted); font-size: 0.85rem; }
#travelbrisk-widget { min-height: 200px; }

/* ---------- Trust strip ---------- */
.trust { padding: 36px 0 0; }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 0.95rem; }
.trust li i { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-light); color: var(--brand); display: grid; place-items: center; font-style: normal; font-size: 1.2rem; }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--brand-light); color: var(--brand); font-style: normal; font-size: 1.4rem; margin-bottom: 14px; }
.feature p { color: var(--muted); margin: 0; font-size: 0.95rem; }

.dest { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 260px; color: #fff; display: flex; align-items: flex-end; padding: 20px; background-size: cover; background-position: center; background-color: var(--brand-dark); }
.dest::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0) 60%); }
.dest > div { position: relative; }
.dest h3 { margin: 0 0 2px; color: #fff; }
.dest span { font-size: 0.85rem; opacity: 0.9; }
.dest .price { position: absolute; top: 16px; right: 16px; background: #fff; color: var(--brand); font-weight: 800; font-size: 0.85rem; padding: 6px 10px; border-radius: 999px; }

.pkg { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.pkg .pkg-img { height: 190px; background-size: cover; background-position: center; background-color: var(--brand-light); position: relative; }
.pkg .badge { position: absolute; top: 12px; left: 12px; background: var(--gold); color: #1f2937; font-weight: 800; font-size: 0.75rem; padding: 4px 10px; border-radius: 999px; }
.pkg .pkg-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.pkg .meta { color: var(--muted); font-size: 0.85rem; display: flex; gap: 14px; }
.pkg ul { margin: 6px 0 0; padding-left: 18px; color: var(--muted); font-size: 0.9rem; }
.pkg .pkg-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; }
.pkg .price { font-weight: 800; font-size: 1.15rem; color: var(--brand); }
.pkg .price small { font-weight: 500; color: var(--muted); font-size: 0.75rem; display: block; }

.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.quote .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; }
.quote p { font-style: italic; color: var(--ink); }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .who i { width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 800; }
.quote .who small { display: block; color: var(--muted); }

.band { background: var(--brand); color: #fff; }
.band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 0; flex-wrap: wrap; }
.band h2 { margin: 0 0 4px; }
.band p { margin: 0; opacity: 0.9; }
.band .btn { background: #fff; color: var(--brand); }

/* ---------- Content blocks ---------- */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.split .visual { border-radius: var(--radius); min-height: 360px; background-size: cover; background-position: center; background-color: var(--brand-light); }
.check { list-style: none; padding: 0; margin: 0 0 20px; }
.check li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.check li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-light); color: var(--brand); display: grid; place-items: center; font-size: 0.8rem; font-weight: 800; }
.steps { counter-reset: step; }
.step { position: relative; padding-left: 64px; margin-bottom: 26px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 1.1rem; display: grid; place-items: center; }
.step p { color: var(--muted); margin: 0; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { color: var(--muted); margin: 10px 0 0; }
.table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table th, .table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.table th { background: var(--brand-light); color: var(--brand); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.table tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; background: var(--brand-light); color: var(--brand); }
.logos { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.logos span { padding: 10px 18px; border: 1px solid var(--line); background: #fff; border-radius: 8px; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; }

/* ---------- Forms ---------- */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.form label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font: inherit; margin-bottom: 16px; background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-light); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; gap: 16px; }
.contact-card i { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-light); color: var(--brand); display: grid; place-items: center; font-style: normal; font-size: 1.3rem; flex-shrink: 0; }
.contact-card h3 { margin-bottom: 4px; }
.contact-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.map { border-radius: var(--radius); min-height: 320px; background: linear-gradient(135deg, #e9e4ef, #f6f3f9); border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: #14101c; color: #b8b1c4; margin-top: 64px; }
.footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 56px 0 40px; }
.footer h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.footer .logo { color: #fff; margin-bottom: 12px; }
.footer .logo small { color: #b8b1c4; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; font-size: 0.95rem; }
.footer a { color: #b8b1c4; }
.footer a:hover { color: #fff; }
.footer .news { display: flex; gap: 8px; margin-top: 12px; }
.footer .news input { flex: 1; padding: 10px 12px; border-radius: 8px; border: 1px solid #2d2538; background: #1e1827; color: #fff; font: inherit; }
.footer .news button { padding: 10px 14px; border-radius: 8px; border: 0; background: var(--brand); color: #fff; font-weight: 700; cursor: pointer; }
.footer .bottom { border-top: 1px solid #2d2538; }
.footer .bottom .container { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 0.85rem; grid-template-columns: none; }
.footer .bottom span + span { margin-left: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4, .trust ul { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .footer .container { grid-template-columns: 1fr 1fr; }
  .header-cta .phone { display: none; }
}
@media (max-width: 720px) {
  .topbar { display: none; }
  .nav-toggle-btn { display: flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 76px; background: #fff;
    flex-direction: column; align-items: stretch; padding: 10px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .header-cta .btn { display: none; }
  .grid-3, .grid-2, .grid-4, .trust ul, .form .row { grid-template-columns: 1fr; }
  .footer .container { grid-template-columns: 1fr; }
  .footer .bottom .container { flex-direction: column; gap: 8px; }
  .hero .container { padding: 56px 0 170px; }
  .booking-card { margin-top: -130px; padding: 12px; }
}

/* Banner that tells visitors this is a sample site (added for the public demo). */
.demo-bar { background: #190522; color: #e9d9f1; font-size: 0.85rem; }
.demo-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px 0; }
.demo-bar a { color: #ffb547; font-weight: 600; }

/* Home, Flights and Hotels: the search is the point, so it shows straight away. */
.hero.tight .container { padding: 24px 0 92px; }
.hero.tight h1 { font-size: clamp(1.45rem, 3vw, 2.1rem); margin: 0; }
.hero.tight p, .hero.tight .eyebrow { display: none; }
.hero.tight ~ #book .booking-card { margin-top: -62px; }
@media (max-width: 720px) {
  .hero.tight .container { padding: 18px 0 70px; }
  .hero.tight ~ #book .booking-card { margin-top: -48px; }
}
