/* Kavisha Holiday — layout rules that cannot be inline (hover, focus, media queries).
   All other styling is inline on the elements, so copy edits never break the design. */

:root { --blue: #1563AB; --blue-deep: #0F4A80; --accent: #F4951F; --page: #F6F9FC; --ink: #16232E; }

body { margin: 0; background: var(--page); color: var(--ink); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.btn-accent:hover { background: #DE8412 !important; }
.btn-ghost:hover { background: rgba(255,255,255,0.14) !important; color: #FFFFFF !important; }
.card-link:hover { border-color: var(--blue) !important; }
.nav-link:hover { color: #FFFFFF !important; }
.footer-link:hover { color: var(--accent) !important; }

/* ---- Logo ------------------------------------------------------------
   Sized by WIDTH so the aspect ratio can never distort, whatever the
   column width. The image is 1000 × 456; every rule below keeps that. */
.kh-logo { display: block; width: 184px !important; max-width: 44vw; height: auto !important; aspect-ratio: 1000 / 456; object-fit: contain; }
.kh-footer-logo { display: block; width: 210px !important; max-width: 100%; height: auto !important; aspect-ratio: 1000 / 456; object-fit: contain; }

@media (max-width: 1100px) { .kh-logo { width: 160px !important; } }
@media (max-width: 899px)  { .kh-logo { width: 132px !important; } }
@media (max-width: 560px)  { .kh-logo { width: 116px !important; } .kh-footer-logo { width: 180px !important; } }
@media (max-width: 380px)  { .kh-logo { width: 100px !important; } }

/* ---- Header ---------------------------------------------------------- */
.kh-burger { display: none; }
.kh-nav { border-top: 1px solid rgba(255,255,255,0.18); background: var(--blue-deep); }
.kh-nav-inner { max-width: 1180px; margin: 0 auto; padding: 0 clamp(10px, 3vw, 24px); display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.kh-nav-inner::-webkit-scrollbar { display: none; }
.kh-nav-call { display: none; }

@media (max-width: 899px) {
  .kh-header-phone { display: none; }
  .kh-burger {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 46px; height: 46px; padding: 0; border: none; border-radius: 10px; cursor: pointer;
    background: rgba(255,255,255,0.12);
  }
  .kh-burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }
  .kh-nav { display: none; }
  .kh-nav[data-open="true"] { display: block; }
  .kh-nav-inner { flex-direction: column; gap: 0; overflow: visible; padding: 6px clamp(16px,4vw,24px) 16px; }
  .kh-nav-inner .nav-link {
    font-size: 17px !important; padding: 15px 4px !important;
    border-bottom: 1px solid rgba(255,255,255,0.14) !important;
  }
  .kh-nav-call {
    display: flex; justify-content: center; margin-top: 14px; background: var(--accent);
    color: var(--blue-deep); font-weight: 800; font-size: 16px; padding: 14px 18px;
    border-radius: 10px; text-decoration: none;
  }
}

/* ---- Sticky action bar: mobile only ---------------------------------- */
.kh-actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--blue-deep);
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); display: flex; gap: 8px;
}
.kh-actionbar a {
  flex: 1; min-height: 52px; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 15px;
  background: rgba(255,255,255,0.12); color: #FFFFFF;
}
.kh-actionbar a:hover { background: rgba(255,255,255,0.22); color: #FFFFFF; }
.kh-actionbar .kh-bar-enquire { background: var(--accent); color: var(--blue-deep); font-weight: 800; font-size: 16px; }
.kh-bar-pad { height: 76px; }

@media (min-width: 768px) {
  .kh-actionbar { display: none; }
  .kh-bar-pad { display: none; }
}

/* ---- Forms ----------------------------------------------------------- */
.kh-field { font-family: inherit; font-size: 16px; padding: 12px 14px; border-radius: 10px;
  border: 1px solid #C9D8E5; background: #FBFDFF; color: var(--ink); min-height: 48px;
  box-sizing: border-box; width: 100%; }
.kh-field:focus { border-color: var(--blue); }
.kh-field[aria-invalid="true"] { border: 2px solid #B23B3B; background: #FFF7F7; }
.kh-label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field-error { font-size: 13px; color: #B23B3B; min-height: 16px; }
.kh-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
button[disabled] { opacity: 0.6; cursor: progress; }


/* ---- Hero banner slideshow ------------------------------------------- */
.kh-hero { position: relative; background: #0F4A80; color: #FFFFFF; overflow: hidden;
  min-height: clamp(470px, 66vh, 640px); display: flex; }
.kh-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; pointer-events: none; }
.kh-slide.is-active { opacity: 1; pointer-events: auto; }
.kh-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kh-scrim-a { position: absolute; inset: 0;
  background: linear-gradient(94deg, rgba(8,34,58,0.84) 0%, rgba(8,34,58,0.64) 36%, rgba(8,34,58,0.24) 64%, rgba(8,34,58,0.08) 100%); }
.kh-scrim-b { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,34,58,0.28) 0%, rgba(8,34,58,0) 32%, rgba(8,34,58,0.3) 100%); }
.kh-slide-inner { position: relative; height: 100%; max-width: 1180px; margin: 0 auto;
  padding: clamp(34px,6vw,72px) clamp(16px,4vw,28px) clamp(132px,13vw,164px);
  display: flex; flex-direction: column; justify-content: center; gap: 16px; box-sizing: border-box; }
.kh-eyebrow { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: #FFFFFF;
  font-weight: 800; background: #1563AB; align-self: flex-start; padding: 7px 13px; border-radius: 999px; }
.kh-slide h1 { font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-size: clamp(32px,5.2vw,58px);
  font-weight: 800; line-height: 1.03; letter-spacing: -0.028em; margin: 0; max-width: 20ch;
  text-wrap: pretty; text-shadow: 0 2px 18px rgba(6,28,50,0.55); }
.kh-slide p { font-size: clamp(16px,1.9vw,20px); line-height: 1.55; color: #F0F7FC; margin: 0;
  max-width: 50ch; text-shadow: 0 1px 12px rgba(6,28,50,0.6); }
.kh-arrow { width: 44px; height: 44px; flex: 0 0 auto;
  border-radius: 999px; border: 1.5px solid rgba(255,255,255,0.5); background: rgba(15,74,128,0.4);
  color: #FFFFFF; cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 20px; line-height: 1; padding: 0; }
.kh-arrow:hover { background: rgba(15,74,128,0.85); }

.kh-pager { position: absolute; left: 0; right: 0; bottom: clamp(58px,6vw,76px); display: flex;
  justify-content: center; align-items: center; gap: 10px; padding: 0 16px; z-index: 3; }
.kh-dots { display: flex; gap: 8px; }
.kh-dot { width: 40px; height: 44px; padding: 0; border: none; background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; }
.kh-dot > span { display: block; width: 100%; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.4); }
.kh-dot[aria-selected="true"] > span { background: #F4951F; height: 5px; }
@media (max-width: 560px) {
  .kh-dot { width: 28px; }
  .kh-arrow { display: none; }
  .kh-slide-inner { padding-bottom: 98px; }
  .kh-pager { bottom: 32px; }
}

/* ---- Promise cards over the banner ---------------------------------- */
.kh-promises { position: relative; z-index: 2; max-width: 1180px;
  margin: clamp(-76px,-6vw,-28px) auto 0; padding: 0 clamp(16px,4vw,28px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px,100%), 1fr)); gap: clamp(12px,1.6vw,20px); }
.kh-promise { background: #FFFFFF; border-radius: 16px; padding: clamp(24px,3vw,34px) 22px;
  box-shadow: 0 12px 34px rgba(9,44,78,0.16); display: flex; flex-direction: column;
  align-items: center; gap: 16px; text-align: center; }
.kh-promise h2 { font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-size: clamp(19px,2.1vw,22px);
  font-weight: 700; margin: 0; line-height: 1.22; color: #0F4A80; letter-spacing: -0.01em; }
.kh-promise p { font-size: 15px; line-height: 1.55; color: #40566B; margin: 0; }

/* ---- Three-step planner --------------------------------------------- */
.kh-step[hidden] { display: none !important; }
.kh-chip { font-family: inherit; font-size: 15px; font-weight: 600; padding: 10px 15px; min-height: 44px;
  border-radius: 999px; border: 1.5px solid #C9D8E5; background: #FFFFFF; color: #16232E; cursor: pointer; }
.kh-chip:hover { border-color: #1563AB; color: #0F4A80; }
.kh-chip[aria-pressed="true"] { background: #0F4A80; color: #FFFFFF; border-color: #0F4A80; }
.kh-back { background: none; border: none; font-family: inherit; font-size: 16px; font-weight: 600;
  color: #1563AB; cursor: pointer; padding: 12px 4px; min-height: 44px; }
.kh-back:hover { color: #0F4A80; }

/* narrowest phones: the pager needs more room under the buttons */
@media (max-width: 400px) {
  .kh-slide-inner { padding-bottom: 124px; }
  .kh-pager { bottom: 24px; }
}

/* ---- Package photo slideshow ---------------------------------------- */
.kh-gal { position: relative; border-radius: 20px; overflow: hidden; background: #0F4A80; aspect-ratio: 16 / 9; }
.kh-gal-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; pointer-events: none; }
.kh-gal-slide.is-active { opacity: 1; pointer-events: auto; }
.kh-gal-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kh-gal-scrim { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,34,58,0) 52%, rgba(8,34,58,0.82) 100%); }
.kh-gal-cap { position: absolute; left: 0; right: 0; bottom: 0;
  padding: clamp(18px,3vw,30px) clamp(18px,3vw,30px) clamp(58px,7vw,72px); }
.kh-gal-tag { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #F4951F; font-weight: 800; }
.kh-gal-title { display: block; font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: clamp(19px,2.6vw,28px); font-weight: 800; color: #FFFFFF; letter-spacing: -0.015em;
  margin-top: 4px; text-shadow: 0 2px 14px rgba(6,28,50,0.6); }
.kh-gal-pager { position: absolute; left: 0; right: 0; bottom: clamp(16px,2.4vw,22px);
  display: flex; justify-content: center; align-items: center; gap: 8px; z-index: 2; }
.kh-gal-arrow { width: 40px; height: 40px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,0.55);
  background: rgba(8,34,58,0.45); color: #FFFFFF; cursor: pointer; font-size: 18px; line-height: 1; padding: 0; }
.kh-gal-arrow:hover { background: rgba(8,34,58,0.85); }
.kh-gal-dots { display: flex; gap: 6px; }
.kh-gal-dot { width: 30px; height: 40px; padding: 0; border: none; background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; }
.kh-gal-dot > span { display: block; width: 100%; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.45); }
.kh-gal-dot[aria-selected="true"] > span { background: #F4951F; height: 5px; }

/* ---- Itinerary day photograph ---------------------------------------- */
.kh-day-body { padding-bottom: 30px; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: flex-start; }
.kh-day-text { flex: 1 1 260px; display: flex; flex-direction: column; gap: 6px; }
.kh-day-fig { flex: 0 1 240px; margin: 0; border-radius: 14px; overflow: hidden; background: #E2EBF3;
  aspect-ratio: 4 / 3; position: relative; }
.kh-day-fig > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 560px) { .kh-day-fig { flex: 1 1 100%; } }
