/* =========================================================
   Dar ul Islam — site styles
   Colours, type and spacing live in the variables below.
   Change a value here and it updates across every page.
   ========================================================= */
:root {
  --ink: #1D1D1F;          /* main text */
  --ink-2: #424245;        /* secondary text */
  --muted: #6E6E73;        /* captions, labels */
  --line: #D2D2D7;         /* borders */
  --line-soft: #E8E8ED;
  --soft: #F5F5F7;         /* light grey sections */
  --blue: #0071E3;         /* buttons */
  --link: #0066CC;         /* links */
  --warm: #A14F25;         /* small coloured labels */
  --gold: #F2B680;         /* labels on black */
  --green: #187A44;        /* ticks */
  --radius: 30px;
  /* Windows, Android and everything else: Inter, self-hosted from assets/fonts (no third-party requests). */
  --font: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
/* Apple devices (marked by assets/js/platform.js): their built-in San Francisco font. Inter is never downloaded there. */
html.apple { --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif; }

/* Inter (SIL Open Font License — see assets/fonts/Inter-OFL-LICENSE.txt) */
@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--blue); text-decoration: underline; }
:root { color-scheme: light; }
button, input, select, textarea { font: inherit; }
input, select, textarea { color: var(--ink); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid rgba(0,113,227,.5); outline-offset: 2px; }

/* ---------- Layout ---------- */
.wrap { max-width: 1180px; margin: 0 auto; }
.wrap-narrow { max-width: 900px; margin: 0 auto; }
.sec { padding: 128px 24px; }
.sec-tight { padding: 0 24px 120px; }
.soft { background: var(--soft); }
.dark { background: #000; color: #F5F5F7; }
.center { text-align: center; }
.grid { display: grid; gap: 20px; }
.g-240 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.g-260 { grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.g-280 { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.g-300 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.g-330 { grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); }
.row { display: flex; flex-wrap: wrap; gap: 16px; }
.between { justify-content: space-between; }
.end { align-items: flex-end; }

/* ---------- Type ---------- */
.eyebrow { margin: 0; font-size: 19px; font-weight: 600; color: var(--warm); }
.eyebrow.gold { color: var(--gold); }
.h1 { margin: 10px auto 0; max-width: 980px; font-size: clamp(44px, 7.5vw, 96px); font-weight: 700; line-height: 1.02; letter-spacing: -.05em; }
.h2 { margin: 0; font-size: clamp(36px, 5.4vw, 68px); font-weight: 700; line-height: 1.04; letter-spacing: -.045em; }
.h3 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -.025em; }
.lead { text-wrap: pretty; margin: 20px auto 0; max-width: 680px; font-size: clamp(19px, 2vw, 22px); line-height: 1.45; font-weight: 500; color: var(--muted); }
.dark .lead, .dark .muted { color: #A1A1A6; }
.muted { color: var(--muted); }
.kicker { font-size: 13px; font-weight: 600; color: var(--warm); }
.dark .kicker { color: var(--gold); }
.small { font-size: 12px; color: var(--muted); }
.big-price { font-size: 30px; font-weight: 700; letter-spacing: -.04em; line-height: 1.05; }
.section-head { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.gradient-text { background: linear-gradient(100deg, #FFE3BC 0%, #F2A36B 48%, #E57A5A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num-gradient { background: linear-gradient(135deg, #0071E3, #B4592A); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font-size: 17px; font-weight: 500; cursor: pointer; transition: transform .3s; }
.btn:hover { color: #fff; text-decoration: none; transform: scale(1.03); }
.btn.sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn.xs { min-height: 36px; padding: 0 16px; font-size: 13px; }
.btn.block { display: flex; width: 100%; }
.btn.dark-btn { background: var(--ink); }
.round-btn { display: inline-flex; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(118,118,128,.12); color: var(--ink); align-items: center; justify-content: center; font-size: 20px; cursor: pointer; }
.link-lg { font-size: 17px; }

/* ---------- Segmented controls & chips ---------- */
.seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(118,118,128,.12); }
.seg button { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font-size: 14px; font-weight: 600; cursor: pointer; transition: background .3s, color .3s, box-shadow .3s; }
.seg button[aria-selected="true"], .seg button[aria-checked="true"] { background: #fff; color: var(--ink); box-shadow: 0 3px 10px rgba(0,0,0,.12); }
.seg.lg button { min-height: 44px; padding: 0 22px; font-size: 15px; }
.seg.square { border-radius: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seg.square button { border-radius: 10px; justify-content: center; padding: 0; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font-size: 14px; font-weight: 500; cursor: pointer; transition: all .3s; }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.controls { display: flex; flex-direction: column; align-items: center; gap: 18px; margin: 44px 0 48px; }

/* ---------- Header ---------- */
.announce { padding: 11px 24px; background: var(--soft); text-align: center; font-size: 13px; }
.site-header { position: sticky; top: 0; z-index: 40; padding: 0 24px; background: rgba(251,251,253,.8); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 56px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 20px; font-weight: 700; letter-spacing: -.03em; }
.logo:hover { color: var(--ink); text-decoration: none; }
.logo { white-space: nowrap; }
.logo-sub { font-weight: 400; color: var(--ink-2); margin-left: -2px; }
@media (max-width: 560px) {
  .site-header .wrap { gap: 12px; }
  .logo { font-size: 17px; gap: 6px; }
  .logo img { width: 30px; height: 28px; }
  .site-header .btn.xs { white-space: nowrap; padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 374px) {
  .logo { font-size: 15px; }
  .logo img { width: 26px; height: 24px; }
}
.nav { display: flex; gap: 28px; font-size: 13px; }
.nav a { color: var(--ink); opacity: .78; transition: opacity .2s; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; color: var(--ink); text-decoration: none; }
.nav a[aria-current="page"] { font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.currency { min-height: 44px; border: 0; background: transparent; color: var(--ink); font-size: 13px; cursor: pointer; }
.mnav { display: none; position: relative; }
.mnav summary { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; cursor: pointer; list-style: none; color: var(--ink); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav nav { position: absolute; right: 0; top: 52px; display: flex; flex-direction: column; min-width: 220px; padding: 8px; border-radius: 20px; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.3); }
.mnav nav a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; color: var(--ink); font-size: 16px; }
.mnav nav a:hover, .mnav nav a[aria-current="page"] { background: var(--soft); text-decoration: none; }
@media (max-width: 960px) { .nav { display: none; } .mnav { display: block; } }
@media (max-width: 560px) {
  .hero-text .h1 span { white-space: normal !important; }
  .currency { display: none; }
  .search-btn { flex: 1 1 100%; }
  .hero-text { padding-top: 64px; }
}

/* ---------- Hero ---------- */
.hero-text { padding: 96px 24px 0; text-align: center; }
.hero-ctas { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 34px; }
.hero-media-wrap { padding: 64px 24px 0; }
.hero-media { position: relative; max-width: 1280px; height: clamp(460px, 54vw, 700px); margin: 0 auto; border-radius: 36px; overflow: hidden; background: #000; }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.38) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0) 62%, rgba(0,0,0,.4) 100%); }
.glass-chip { position: absolute; top: 24px; left: 24px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 999px; background: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #fff; font-size: 13px; font-weight: 500; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; }

/* Search panel */
.search-wrap { position: relative; z-index: 2; max-width: 1140px; margin: -104px auto 0; padding: 0 24px; }
.search { padding: 10px; border-radius: 30px; background: rgba(255,255,255,.76); -webkit-backdrop-filter: saturate(180%) blur(28px); backdrop-filter: saturate(180%) blur(28px); border: 1px solid rgba(255,255,255,.7); box-shadow: 0 40px 90px -40px rgba(0,0,0,.5); }
.search .seg { margin: 4px 0 10px 4px; }
.fields { display: flex; flex-wrap: wrap; gap: 8px; }
.field { flex: 1 1 160px; padding: 10px 18px; border-radius: 18px; background: rgba(255,255,255,.7); }
.field label, .field .label { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.field select, .field input { width: 100%; min-height: 28px; margin-top: 2px; border: 0; background: transparent; color: var(--ink); font-size: 17px; font-weight: 600; }
.field.counter { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 12px 6px 18px; flex-basis: 200px; }
.field .value { display: block; margin-top: 2px; font-size: 17px; font-weight: 600; }
.search-btn { flex: 0 1 150px; min-height: 62px; border-radius: 18px; }

/* ---------- Stats & marquee ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 40px; max-width: 1080px; margin: 0 auto; text-align: center; }
.stat-num { display: block; font-size: clamp(48px, 5vw, 64px); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.stat-label { display: block; margin-top: 10px; font-size: 15px; color: var(--muted); }
.dark .stat-label { color: #A1A1A6; }
.marquee { padding: 32px 0 96px; overflow: hidden; }
.marquee-track { display: flex; gap: 44px; width: max-content; font-size: 17px; font-weight: 500; color: #6E6E73; white-space: nowrap; }
.marquee-track strong { color: var(--ink); font-weight: 500; }

/* ---------- Cards ---------- */
.card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: #fff; color: var(--ink); }
.card.grey { background: var(--soft); }
.card:hover { color: var(--ink); text-decoration: none; }
.card-body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 26px 26px 28px; }
.card-title { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.15; letter-spacing: -.025em; }
.card-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: auto; padding-top: 24px; }
.media { position: relative; overflow: hidden; background: #1D2340; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s cubic-bezier(.16,1,.3,1); }
.tile:hover .media img { transform: scale(1.06); }
.h-150 { height: 150px; } .h-180 { height: 180px; } .h-220 { height: 220px; }
.badge { position: absolute; top: 18px; left: 18px; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.88); color: var(--ink); font-size: 12px; font-weight: 600; }
.caption { position: absolute; left: 18px; bottom: 14px; color: #fff; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.hotels-box { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; padding: 16px 18px; border-radius: 18px; background: var(--soft); }
.hotels-box strong { font-size: 14px; font-weight: 600; }
.ticks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 14px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 13.5px; color: var(--ink-2); }
.ticks li, .tick-list li { display: flex; gap: 8px; align-items: flex-start; }
.ticks svg, .tick-list svg { flex: none; margin-top: 2px; }
.tick-list { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.wa-btn { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; background: var(--soft); color: var(--ink); align-items: center; justify-content: center; }
.empty { margin: 24px 0 0; padding: 36px; border-radius: 24px; background: #fff; text-align: center; color: var(--muted); }
.panel { padding: 30px 28px; border-radius: 26px; background: var(--soft); }
.panel.white { background: #fff; }
.panel.black { background: #1C1C1E; color: #F5F5F7; }
.tile { transition: transform .7s cubic-bezier(.16,1,.3,1), box-shadow .7s cubic-bezier(.16,1,.3,1); }
.tile:hover { transform: scale(1.012); box-shadow: 0 34px 70px -34px rgba(0,0,0,.3); text-decoration: none; }

/* List rows (departures, airports, destinations) */
.list { padding: 10px 32px; border-radius: 30px; background: #fff; }
.list-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; min-height: 60px; padding: 12px 0; border-top: 1px solid var(--line-soft); color: var(--ink); }
.list-row:first-child { border-top: 0; }
.list-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); column-gap: 48px; }
.list-cols .list-row { border-top: 0; border-bottom: 1px solid var(--line-soft); }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: 26px; background: #fff; }
.soft .table-wrap { background: #fff; }
.table-wrap.grey { background: var(--soft); }
table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
th, td { padding: 16px 26px; text-align: left; }
thead th { padding-top: 20px; padding-bottom: 12px; font-size: 12px; font-weight: 500; color: var(--muted); }
tbody tr { border-top: 1px solid var(--line-soft); }
tbody th { font-weight: 600; }
td.price { font-size: 19px; font-weight: 700; }

/* Month carousel */
.carousel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 40px max(24px, calc((100% - 1132px) / 2)) 16px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.month { flex: 0 0 236px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; padding: 28px 26px; border-radius: 26px; background: var(--soft); color: var(--ink); }
.month:hover { color: var(--ink); }
.tag { align-self: flex-start; margin-top: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.tag.green { background: #E3F4E9; color: #17703F; }
.tag.warm { background: #FBE9DD; color: #9A4718; }
.tag.blue { background: #E3EEFB; color: #0058B0; }

/* Bento tiles */
.bento { display: flex; flex-direction: column; min-height: 300px; padding: 38px 34px; border-radius: 30px; background: var(--soft); }
.bento.black { background: var(--ink); color: #F5F5F7; }
.bento .icon { display: inline-flex; width: 56px; height: 56px; border-radius: 18px; background: #fff; color: var(--ink); align-items: center; justify-content: center; }
.bento.black .icon { background: #2C2C2E; color: var(--gold); }
.bento h3 { margin: 28px 0 10px; font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.bento p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--muted); }
.bento.black p { color: #A1A1A6; }
.addon { display: flex; gap: 16px; align-items: center; padding: 20px 22px; border-radius: 22px; background: var(--soft); color: var(--ink); }
.addon:hover { color: var(--ink); }
.addon .icon { flex: none; display: inline-flex; width: 46px; height: 46px; border-radius: 14px; background: #fff; align-items: center; justify-content: center; }

/* Steps */
.step { padding: 34px 30px; border-radius: 28px; background: #fff; }
.step .n { display: block; font-size: 56px; font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.step h3 { margin: 22px 0 8px; font-size: 22px; font-weight: 700; letter-spacing: -.025em; }
.step p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--muted); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; width: 100%; min-height: 72px; padding: 20px 0; border: 0; background: transparent; justify-content: space-between; align-items: center; gap: 20px; text-align: left; font-size: 19px; font-weight: 600; color: var(--ink); cursor: pointer; }
.faq-q .plus { flex: none; display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: var(--soft); align-items: center; justify-content: center; transition: transform .4s cubic-bezier(.16,1,.3,1), background .3s; }
.faq-q[aria-expanded="true"] .plus { transform: rotate(45deg); background: var(--ink); color: #fff; }
.faq-a { margin: 0; padding: 0 48px 24px 0; font-size: 17px; line-height: 1.55; color: var(--ink-2); animation: up .6s cubic-bezier(.16,1,.3,1); }

/* Forms */
.form-card { display: flex; flex-direction: column; gap: 14px; padding: 40px 36px; border-radius: 30px; background: var(--soft); }
.form-card label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.form-card input, .form-card select, .form-card textarea { width: 100%; min-height: 50px; padding: 0 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-size: 17px; }
.form-card textarea { padding: 14px 16px; resize: vertical; }
.form-row { display: flex; flex-wrap: wrap; gap: 12px; }
.form-row > div { flex: 1 1 160px; }
.form-row > .narrow { flex: 1 1 80px; }
.sent { margin: 0; padding: 16px 18px; border-radius: 16px; background: #E3F4E9; color: #17703F; font-size: 15px; font-weight: 500; }

/* Image band */
.band { max-width: 1180px; height: clamp(280px, 38vw, 520px); margin: 0 auto; border-radius: 32px; overflow: hidden; position: relative; background: #1D2340; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* CTA */
.cta { max-width: 1180px; margin: 0 auto; padding: 72px 40px; border-radius: 36px; background: #000; color: #F5F5F7; text-align: center; }
.cta p { max-width: 560px; margin: 16px auto 0; font-size: 19px; line-height: 1.45; color: #A1A1A6; }
.cta .actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.cta a.plain { font-size: 17px; color: #2997FF; }

/* Footer */
.site-footer { padding: 48px 24px 32px; background: var(--soft); font-size: 12px; color: var(--muted); }
.site-footer .note { margin: 0 0 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); line-height: 1.6; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 28px; }
.footer-cols div { display: flex; flex-direction: column; gap: 10px; }
.footer-cols strong { color: var(--ink); font-weight: 600; }
.footer-cols a { color: var(--ink-2); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); }
.footer-bottom a { color: var(--ink-2); }

/* Chat */
.chat { position: fixed; right: 24px; bottom: 24px; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.chat-panel { width: min(370px, calc(100vw - 48px)); overflow: hidden; border-radius: 26px; background: rgba(255,255,255,.88); -webkit-backdrop-filter: saturate(180%) blur(28px); backdrop-filter: saturate(180%) blur(28px); border: 1px solid rgba(0,0,0,.06); box-shadow: 0 40px 80px -24px rgba(0,0,0,.35); animation: up .6s cubic-bezier(.16,1,.3,1); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid rgba(0,0,0,.06); }
.chat-avatar { position: relative; display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; align-items: center; justify-content: center; }
.chat-avatar::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 12px; height: 12px; border-radius: 50%; background: #34C759; border: 2px solid #fff; }
.chat-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; max-height: 340px; overflow-y: auto; }
.bubble { margin: 0; max-width: 85%; padding: 11px 15px; border-radius: 20px 20px 20px 6px; background: #E9E9EB; font-size: 15px; line-height: 1.4; align-self: flex-start; animation: up .5s cubic-bezier(.16,1,.3,1); }
.bubble.me { align-self: flex-end; border-radius: 20px 20px 6px 20px; background: var(--blue); color: #fff; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.quick button { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--link); font-size: 13px; font-weight: 500; cursor: pointer; }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid rgba(0,0,0,.06); }
.chat-input input { flex: 1; min-width: 0; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 15px; }
.chat-input button { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--blue); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.chat-toggle { position: relative; width: 60px; height: 60px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 18px 40px -12px rgba(0,0,0,.5); transition: transform .3s; }
.chat-toggle:hover { transform: scale(1.05); }
.chat-toggle .ping { position: absolute; top: 3px; right: 3px; width: 13px; height: 13px; border-radius: 50%; background: var(--blue); border: 2px solid #fff; }
.chat-toggle[aria-expanded="true"] .ping, .chat-toggle[aria-expanded="true"] .ico-open { display: none; }
.chat-toggle[aria-expanded="false"] .ico-close { display: none; }

/* ---------- Motion ---------- */
@keyframes up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.07); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.6); } 100% { box-shadow: 0 0 0 12px rgba(255,255,255,0); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.up { opacity: 0; animation: up 1.1s cubic-bezier(.16,1,.3,1) forwards; }
.d1 { animation-delay: .12s; } .d2 { animation-delay: .24s; } .d3 { animation-delay: .38s; } .d4 { animation-delay: .55s; }
.kb { animation: kb 22s ease-in-out infinite alternate; }
.marquee-track { animation: marquee 60s linear infinite; }
.live-dot, .chat-toggle .ping { animation: pulse 2s ease-out infinite; }
/* Hero videos: each plays in full, then cross-fades (1.5 s) into the next — see main.js */
.hv { opacity: 0; transition: opacity 1.5s ease-in-out; }
.hv.on { opacity: 1; }
.bar { display: block; height: 100%; border-radius: 10px; transform-origin: left; animation: grow 1.4s cubic-bezier(.16,1,.3,1) both; }
@supports (animation-timeline: view()) {
  .rv { animation: up linear both; animation-timeline: view(); animation-range: entry 5% cover 26%; }
}
@media (prefers-reduced-motion: reduce) {
  .up, .rv, .kb, .marquee-track, .live-dot, .bar, .faq-a, .bubble, .chat-panel { animation: none !important; opacity: 1 !important; transform: none !important; }
  .hv { transition: none !important; }
}

/* =====================================================================
   Quote builder (home + contact) — Apple-style multi-step form
   ===================================================================== */
.qb-sec { background: var(--soft); }
.qb { scroll-margin-top: 76px; flex: 1 1 100%; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-radius: 36px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 24px 70px rgba(0,0,0,.08); overflow: hidden; }

/* Left: heading + live summary */
.qb-side { display: flex; flex-direction: column; gap: 22px; padding: 52px 44px; background: #FBFBFD; border-right: 1px solid #ECECF0; }
.qb-eyebrow { margin: 0; font-size: 17px; font-weight: 600; color: var(--warm); }
.qb-title { margin: -10px 0 0; font-size: clamp(32px, 3.6vw, 44px); font-weight: 700; line-height: 1.06; letter-spacing: -.04em; }
.qb-lead { margin: 0; font-size: 17px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.qb-summary { margin-top: 6px; padding: 6px 20px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 8px 24px rgba(0,0,0,.04); }
.qb-sum-h { margin: 14px 0 4px; font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.qb-summary ul { margin: 0; padding: 0; list-style: none; }
.qb-summary li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid #F0F0F3; font-size: 15px; }
.qb-summary li:first-child { border-top: 0; }
.qb-summary li span { color: var(--muted); }
.qb-summary li b { font-weight: 600; text-align: right; }
.qb-summary b.bump { animation: qbBump .5s cubic-bezier(.2,.8,.2,1); }
@keyframes qbBump { 0% { color: var(--blue); transform: translateY(4px); opacity: .3; } 100% { color: var(--ink); transform: none; opacity: 1; } }
.qb-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: auto 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.qb-trust li { display: inline-flex; align-items: center; gap: 6px; }
.qb-trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* Right: the form */
.qb-form { position: relative; display: flex; flex-direction: column; gap: 0; min-width: 0; padding: 40px 48px 36px; }
.qb-top { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.qb-progress { display: flex; flex: 1; gap: 6px; }
.qb-progress span { position: relative; flex: 1; height: 4px; border-radius: 4px; background: #E8E8ED; overflow: hidden; }
.qb-progress span::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.qb-progress span.on::after { transform: scaleX(1); }
.qb-count { margin: 0; font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

.qb-step { min-width: 0; margin: 0 0 28px; padding: 0; border: 0; }
.qb-q { display: block; width: 100%; margin: 0 0 22px; padding: 0; font-size: 28px; font-weight: 700; line-height: 1.15; letter-spacing: -.03em; outline: none; }
.qb-label { display: block; margin: 22px 0 10px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.qb-q + .qb-label { margin-top: 0; }
.qb-opt { font-weight: 400; color: var(--muted); }
.qb input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }

/* Choice tiles */
.qb-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.qb-tile { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 132px; padding: 18px 18px 16px; border-radius: 20px; background: var(--soft); box-shadow: inset 0 0 0 1px transparent; cursor: pointer; transition: background .25s, box-shadow .25s, transform .25s cubic-bezier(.2,.8,.2,1); }
.qb-tile:hover { background: #EEEEF1; }
.qb-tile:active { transform: scale(.98); }
.qb-tile-ic { display: inline-flex; width: 44px; height: 44px; margin-bottom: auto; border-radius: 13px; background: #fff; color: var(--ink); align-items: center; justify-content: center; transition: background .25s, color .25s; }
.qb-tile b { margin-top: 14px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.qb-tile small { font-size: 13px; color: var(--muted); }
.qb-tick { position: absolute; top: 14px; right: 14px; display: inline-flex; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; align-items: center; justify-content: center; transform: scale(0); transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.qb-tile.is-on, .qb-tile:has(input:checked) { background: #fff; box-shadow: inset 0 0 0 2px var(--blue), 0 8px 24px rgba(0,113,227,.12); }
.qb-tile.is-on .qb-tick, .qb-tile:has(input:checked) .qb-tick { transform: scale(1); }
.qb-tile.is-on .qb-tile-ic, .qb-tile:has(input:checked) .qb-tile-ic { background: var(--blue); color: #fff; }
.qb-tile:has(input:focus-visible), .qb-chip:has(input:focus-visible), .qb-seg label:has(input:focus-visible) { outline: 3px solid rgba(0,113,227,.45); outline-offset: 2px; }

/* Month chips — horizontal, snapping */
.qb-chips { display: flex; gap: 8px; margin: 0 -48px; padding: 4px 48px 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); }
.qb-chips::-webkit-scrollbar { display: none; }
.qb-chip { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 72px; min-height: 64px; padding: 0 14px; border-radius: 16px; background: var(--soft); cursor: pointer; scroll-snap-align: start; transition: background .25s, color .25s, transform .2s; }
.qb-chip:hover { background: #EEEEF1; }
.qb-chip:active { transform: scale(.96); }
.qb-chip b { font-size: 16px; font-weight: 600; }
.qb-chip small { font-size: 12px; color: var(--muted); transition: color .25s; }
.qb-chip.is-on, .qb-chip:has(input:checked) { background: var(--ink); color: #fff; }
.qb-chip.is-on small, .qb-chip:has(input:checked) small { color: rgba(255,255,255,.7); }

/* iOS segmented control */
.qb-pair { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr); gap: 0 20px; }
.qb-seg { display: grid; grid-auto-columns: 1fr; grid-auto-flow: column; padding: 3px; border-radius: 12px; background: rgba(118,118,128,.12); }
.qb-seg label { position: relative; display: flex; align-items: center; justify-content: center; min-height: 40px; border-radius: 9px; font-size: 15px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: background .25s, box-shadow .25s, color .25s; }
.qb-seg label.is-on, .qb-seg label:has(input:checked) { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 3px 8px rgba(0,0,0,.12), 0 1px 1px rgba(0,0,0,.06); }

/* iOS grouped list */
.qb-group { border-radius: 18px; background: var(--soft); overflow: hidden; }
.qb-row { display: flex; align-items: center; gap: 16px; min-height: 56px; padding: 0 18px; border-top: 1px solid rgba(0,0,0,.07); cursor: text; transition: background .2s; }
.qb-row:first-child, .qb-stepper:first-child { border-top: 0; }
.qb-row span { flex: none; width: 150px; font-size: 15px; color: var(--ink-2); }
.qb-row input { -webkit-text-fill-color: var(--ink); flex: 1; min-width: 0; min-height: 54px; border: 0; background: transparent; color: var(--ink); font-size: 17px; outline: none; }
.qb-row input::placeholder { color: #A1A1A6; }
.qb-row:focus-within { background: #fff; box-shadow: inset 3px 0 0 var(--blue); }
.qb-row.bad { box-shadow: inset 3px 0 0 #D70015; }
.qb-row.bad span { color: #D70015; }

.qb-stepper { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding: 8px 12px 8px 18px; border-top: 1px solid rgba(0,0,0,.07); }
.qb-stepper label { display: flex; flex-direction: column; gap: 2px; }
.qb-stepper label b { font-size: 17px; font-weight: 600; }
.qb-stepper label small { font-size: 13px; color: var(--muted); }
.qb-stepper-ctl { display: flex; align-items: center; gap: 4px; }
.qb-stepper-ctl input { color: var(--ink); -webkit-text-fill-color: var(--ink); opacity: 1; padding: 0; width: 44px; min-height: 44px; border: 0; background: transparent; text-align: center; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.qb-stepper-ctl input::-webkit-outer-spin-button, .qb-stepper-ctl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qb-round { display: inline-flex; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--blue); align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.08); transition: transform .15s, background .2s, color .2s; }
.qb-round:hover { background: var(--blue); color: #fff; }
.qb-round:active { transform: scale(.9); }
.qb-round:disabled { color: #C7C7CC; background: #fff; cursor: default; transform: none; box-shadow: none; }
.qb-stepper-ctl input.tick { animation: qbTick .3s cubic-bezier(.2,.8,.2,1); }
@keyframes qbTick { 0% { transform: translateY(-6px); opacity: .2; } 100% { transform: none; opacity: 1; } }

.qb-select { position: relative; }
.qb-select::after { content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.qb-select select { width: 100%; min-height: 56px; padding: 0 48px 0 18px; border: 0; border-radius: 18px; background: var(--soft); color: var(--ink); font-size: 17px; font-weight: 500; -webkit-appearance: none; appearance: none; cursor: pointer; }
.qb-select select:focus-visible { outline: 3px solid rgba(0,113,227,.45); outline-offset: 2px; }
.qb-text { width: 100%; padding: 14px 18px; border: 0; border-radius: 18px; background: var(--soft); color: var(--ink); font-size: 17px; line-height: 1.45; resize: vertical; }
.qb-text:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--blue); }
.qb-legal { margin: 16px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); }

/* Navigation */
.qb-nav { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: auto; padding-top: 20px; border-top: 1px solid #F0F0F3; }
.qb-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-right: auto; padding: 0 6px; border: 0; background: none; color: var(--link); font-size: 17px; cursor: pointer; }
.qb-back:hover { text-decoration: underline; }
.qb-next, .qb-submit { min-width: 168px; }
.qb-submit { gap: 10px; }

/* JS mode: one step at a time. Without JS every step shows and the plain submit button is used. */
.qb-next, .qb-top { display: none; }
.qb.is-js .qb-top { display: flex; }
.qb.is-js .qb-next { display: inline-flex; }
.qb.is-js .qb-submit { display: none; }
.qb.is-js .qb-step { display: none; }
.qb.is-js .qb-step.is-active { display: block; }
.qb.is-js.is-last .qb-next { display: none; }
.qb.is-js.is-last .qb-submit { display: inline-flex; }
.qb-step.in-fwd { animation: qbInF .5s cubic-bezier(.2,.8,.2,1) both; }
.qb-step.in-back { animation: qbInB .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes qbInF { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes qbInB { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.qb-step.shake { animation: qbShake .4s; }
@keyframes qbShake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* Sent */
.qb-done { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 40px; background: #fff; text-align: center; animation: qbFade .4s ease both; }
.qb-done[hidden] { display: none; }
.qb-done-ic circle { stroke-dasharray: 240; stroke-dashoffset: 240; animation: qbDraw .7s .1s cubic-bezier(.65,0,.35,1) forwards; }
.qb-done-ic path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: qbDraw .45s .7s cubic-bezier(.65,0,.35,1) forwards; }
.qb-done-h { margin: 14px 0 0; font-size: 32px; font-weight: 700; letter-spacing: -.035em; outline: none; }
.qb-done-p { max-width: 340px; margin: 0; font-size: 17px; line-height: 1.5; color: var(--muted); }
.qb-done-wa { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; }
@keyframes qbDraw { to { stroke-dashoffset: 0; } }
@keyframes qbFade { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .qb { grid-template-columns: 1fr; border-radius: 28px; }
  .qb-side { gap: 16px; padding: 36px 28px 28px; border-right: 0; border-bottom: 1px solid #ECECF0; }
  .qb-summary { display: none; }
  .qb-trust { margin-top: 0; }
  .qb-form { padding: 28px 28px 24px; }
  .qb-chips { margin: 0 -28px; padding: 4px 28px 10px; }
}
@media (max-width: 560px) {
  .qb-sec { padding-left: 12px; padding-right: 12px; }
  .qb-side { padding: 30px 22px 22px; }
  .qb-form { padding: 24px 20px 20px; }
  .qb-chips { margin: 0 -20px; padding: 4px 20px 10px; }
  .qb-q { font-size: 24px; }
  .qb-tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .qb-tile { min-height: 124px; padding: 14px; }
  .qb-tile b { font-size: 15px; }
  .qb-tile small { font-size: 12px; }
  .qb-pair { grid-template-columns: 1fr; }
  .qb-row { flex-direction: column; align-items: stretch; gap: 0; padding-top: 10px; }
  .qb-row span { width: auto; font-size: 12px; }
  .qb-row input { min-height: 40px; }
  .qb-next, .qb-submit { flex: 1; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .qb *, .qb *::after { animation: none !important; transition: none !important; }
  .qb-done-ic circle, .qb-done-ic path { stroke-dashoffset: 0; }
}

/* =====================================================================
   Legal pages (privacy, terms, booking conditions, cancellations)
   ===================================================================== */
.legal-hero { padding: 96px 24px 48px; background: var(--soft); }
.legal-hero .wrap { max-width: 980px; }
.legal-hero h1 { margin: 10px 0 0; font-size: clamp(40px, 6vw, 72px); font-weight: 700; line-height: 1.03; letter-spacing: -.045em; }
.legal-meta { margin: 18px 0 0; font-size: 15px; color: var(--muted); }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; }
.legal-tabs a { white-space: nowrap; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.legal-tabs a:hover { text-decoration: none; background: #fafafa; }
.legal-tabs a[aria-current="page"] { background: var(--ink); color: #fff; box-shadow: none; }
.legal-short { margin: 32px 0 0; padding: 26px 28px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 12px 32px rgba(0,0,0,.05); }
.legal-short p.h { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.legal-short ul { margin: 0; padding-left: 20px; }
.legal-short li { margin: 6px 0; font-size: 16px; line-height: 1.5; }

.legal-body { padding: 56px 24px 112px; }
.legal-body .wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; max-width: 1080px; }
.legal-toc { position: sticky; top: 84px; align-self: start; max-height: calc(100vh - 100px); overflow: auto; }
.legal-toc summary { display: none; }
.legal-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.legal-toc li { counter-increment: toc; }
.legal-toc a { display: flex; gap: 10px; padding: 7px 0; color: var(--muted); font-size: 14px; line-height: 1.35; }
.legal-toc a::before { content: counter(toc) "."; flex: none; width: 20px; color: #A1A1A6; font-variant-numeric: tabular-nums; }
.legal-toc a:hover { color: var(--ink); text-decoration: none; }

.legal-doc { max-width: 720px; counter-reset: sec; }
.legal-doc section { scroll-margin-top: 84px; padding: 0 0 36px; margin: 0 0 36px; border-bottom: 1px solid #ECECF0; counter-increment: sec; }
.legal-doc section:last-child { border-bottom: 0; }
.legal-doc h2 { margin: 0 0 16px; font-size: 26px; font-weight: 700; line-height: 1.2; letter-spacing: -.025em; }
.legal-doc h2::before { content: counter(sec) ". "; color: #A1A1A6; }
.legal-doc h3 { margin: 24px 0 8px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.legal-doc p, .legal-doc li { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.legal-doc p { margin: 0 0 14px; }
.legal-doc ul, .legal-doc ol { margin: 0 0 14px; padding-left: 22px; }
.legal-doc li { margin: 6px 0; }
.legal-doc strong { color: var(--ink); font-weight: 600; }
.legal-doc .callout { margin: 18px 0; padding: 18px 20px; border-radius: 18px; background: var(--soft); }
.legal-doc .callout p:last-child { margin-bottom: 0; }
.legal-doc .callout.warn { background: #FFF6E5; }
.legal-table { width: 100%; margin: 8px 0 18px; border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: 18px; box-shadow: 0 0 0 1px #E5E5EA; font-size: 16px; }
.legal-table th, .legal-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-top: 1px solid #ECECF0; line-height: 1.45; }
.legal-table thead th { border-top: 0; background: var(--soft); font-size: 13px; font-weight: 600; color: var(--muted); }
.legal-table td:last-child { font-weight: 600; color: var(--ink); }
.legal-scroll { overflow-x: auto; }

@media (max-width: 900px) {
  .legal-body .wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .legal-toc { position: static; max-height: none; padding: 4px 18px; border-radius: 18px; background: var(--soft); }
  .legal-toc summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; }
  .legal-toc summary::-webkit-details-marker { display: none; }
  .legal-toc summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
  .legal-toc[open] summary::after { transform: rotate(-135deg); }
  .legal-toc ol { padding-bottom: 12px; }
}
@media (max-width: 560px) {
  .legal-hero { padding: 64px 20px 36px; }
  .legal-body { padding: 36px 20px 80px; }
  .legal-doc p, .legal-doc li { font-size: 16px; }
  .legal-doc h2 { font-size: 22px; }
  .legal-table th, .legal-table td { padding: 12px; font-size: 15px; }
}
@media print {
  .site-header, .site-footer, .chat, .legal-toc, .legal-tabs { display: none !important; }
  .legal-body .wrap { display: block; }
  .legal-hero, .legal-body { padding: 0; background: none; }
}

/* Tablet balance (iPad portrait and small landscape): avoid a lone card on the last row */
@media (min-width: 600px) and (max-width: 1023px) {
  .grid.g-240 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* =====================================================================
   Compact sizing (22 Oct 2026)
   - whole-site 15% shrink removed 23 Oct 2026 at the owner's request (back to 100%)
   - smaller package and hotel tiles
   - on phones those two lists become a sideways swipe row
   ===================================================================== */

/* Smaller tiles: more per row, shorter photos, tighter text */
#packages .grid { grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 18px !important; }
#hotels .grid { grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 16px; }
#packages .grid .media.h-220 { height: 150px; }
#hotels .grid .media.h-180 { height: 124px; }
#packages .grid .card-body, #hotels .grid .card-body { gap: 4px; padding: 18px 18px 20px !important; }
#packages .grid .card-title { font-size: 19px; }
#hotels .grid .card-body strong { font-size: 17px !important; }
#packages .grid .big-price, #hotels .grid .big-price { font-size: 24px; }
#packages .grid .hotels-box { gap: 8px; margin-top: 12px; padding: 10px 12px; border-radius: 14px; }
#packages .grid .hotels-box strong { font-size: 13px; }
#packages .grid .ticks { gap: 6px 10px; margin-top: 12px; font-size: 12.5px; }
#packages .grid .card-foot { padding-top: 14px; }

/* Phones: swipe sideways through packages and hotels instead of scrolling past 25 cards */
@media (max-width: 640px) {
  #packages .grid, #hotels .grid {
    display: flex; gap: 12px !important; margin: 0 -24px; padding: 4px 24px 14px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    scroll-padding: 0 24px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  #packages .grid::-webkit-scrollbar, #hotels .grid::-webkit-scrollbar { display: none; }
  #packages .grid > .card { flex: 0 0 82%; scroll-snap-align: start; }
  #hotels .grid > .card { flex: 0 0 62%; scroll-snap-align: start; }
  #packages .grid > .rv, #hotels .grid > .rv { animation: none !important; opacity: 1 !important; transform: none !important; }
  #count-umrah::after, #count-hotels::after { content: "  ·  swipe for more →"; color: var(--blue); }
}

/* Package chosen on a previous page, shown above the quote builder */
.qb-pkg { margin: 0 0 18px; padding: 10px 14px; border-radius: 12px; background: #E8F1FC; color: #0058B0; font-size: 14px; font-weight: 500; }
/* "Your search" line on the Umrah page */
.search-note { margin: 0 0 20px; padding: 12px 16px; border-radius: 14px; background: #fff; font-size: 15px; color: var(--ink-2); }

/* accessibility: readable labels on dark panels */
.bento.black .kicker { color: #E08A5A; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
