/* =============================================================================
   ClawFlights theme refinement layer
   -----------------------------------------------------------------------------
   Loaded LAST on every page (layouts/header.php, pages/home.php, pages/flights.php).
   Purpose: one coherent navy + amber system across the standalone Tailwind pages
   (home, flights) and the vd-* layout pages, softer surfaces, smoother motion,
   and a mobile-first action layer. No business copy lives here.
   ============================================================================= */

:root{
  --cf-navy:#042f5f;
  --cf-navy-2:#0b3c7a;
  --cf-blue:#0b5bd3;
  --cf-blue-2:#0060d4;
  --cf-amber:#f0b429;
  --cf-amber-2:#dc9f10;
  --cf-ink:#0f172a;
  --cf-muted:#475569;
  --cf-surface:#f6f8fc;
  --cf-line:#e2e8f0;
  --cf-r:16px;
  --cf-r-lg:22px;
  --cf-shadow:0 14px 34px -14px rgba(4,47,95,.28);
  --cf-shadow-sm:0 2px 10px -4px rgba(4,47,95,.16);
  --cf-ease:cubic-bezier(.2,.8,.2,1);
}

html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
img,svg,video{max-width:100%;height:auto}
button,[role=button],a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* --- Focus: visible, brand coloured, never removed ------------------------ */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{
  outline:3px solid rgba(240,180,41,.85)!important;outline-offset:2px!important;border-radius:10px;
}

/* --- Indigo -> brand blue on the standalone Tailwind pages ---------------- */
.bg-indigo-600,.bg-indigo-700,.active\:bg-indigo-800{
  background-color:var(--cf-blue-2)!important;
  background-image:linear-gradient(135deg,var(--cf-blue) 0%,var(--cf-navy-2) 100%)!important;
  box-shadow:0 10px 22px -10px rgba(11,91,211,.6)!important;
  transition:transform .18s var(--cf-ease),box-shadow .18s var(--cf-ease),filter .18s var(--cf-ease)!important;
}
.hover\:bg-indigo-700:hover,.bg-indigo-600:hover{filter:brightness(1.07);transform:translateY(-1px);box-shadow:0 14px 28px -10px rgba(11,91,211,.65)!important}
.bg-indigo-600:active,.active\:bg-indigo-800:active{transform:translateY(0);filter:brightness(.97)}
.text-indigo-600,.text-indigo-500{color:var(--cf-blue-2)!important}
.text-indigo-700,.text-indigo-800,.hover\:text-indigo-800:hover{color:var(--cf-navy)!important}
.text-indigo-200{color:#fde68a!important}
.bg-indigo-50,.bg-indigo-100{background-color:#eaf2ff!important}
.border-indigo-100{border-color:#d6e4ff!important}
.border-t-indigo-600{border-top-color:var(--cf-blue-2)!important}
.border-indigo-500,.border-indigo-600,.focus\:border-indigo-500:focus{border-color:var(--cf-blue-2)!important}
.accent-indigo-600{accent-color:var(--cf-blue-2)!important}
.focus\:ring-indigo-500:focus{--tw-ring-color:rgba(11,91,211,.45)!important}
.shadow-indigo-600\/20,.shadow-indigo-950\/20{--tw-shadow-color:rgba(4,47,95,.28)!important;--tw-shadow:var(--tw-shadow-colored)!important}
.text-transparent.bg-clip-text{background-image:none!important;-webkit-text-fill-color:var(--cf-amber)!important;color:var(--cf-amber)!important}

/* --- Hero (home / flights standalone pages) ------------------------------- */
.hero-section h1{letter-spacing:-.035em;text-wrap:balance}
.hero-section .booking-card{border-radius:var(--cf-r-lg)!important;box-shadow:0 30px 60px -24px rgba(2,6,23,.5),0 0 0 1px rgba(255,255,255,.35) inset!important}
.hero-section .input-height{border-radius:12px!important}
@media (max-width:640px){
  .hero-section{padding-top:4.5rem!important;padding-bottom:4rem!important;min-height:0!important}
  .hero-section h1{font-size:clamp(1.9rem,8.2vw,2.5rem)!important;line-height:1.06!important}
  .hero-section .booking-card{padding:14px!important}
  .hero-section .input-height{height:3.25rem!important}
}

/* --- Trust row under the hero search (home) ------------------------------- */
.cf-trust{position:relative;z-index:10;display:flex;flex-wrap:wrap;justify-content:center;gap:8px 10px;margin:14px auto 0;max-width:72rem;padding:0 4px}
.cf-trust span{display:inline-flex;align-items:center;gap:7px;padding:8px 13px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#fff;font-size:12.5px;font-weight:600;letter-spacing:.005em;white-space:nowrap}
.cf-trust svg{width:15px;height:15px;color:var(--cf-amber);flex:none}
@media (max-width:640px){.cf-trust{gap:6px}.cf-trust span{font-size:11.5px;padding:7px 11px}}

/* --- Cards & surfaces ----------------------------------------------------- */
.rounded-2xl.border.border-slate-200\/80,.rounded-2xl.border.border-slate-200{border-color:#e6ebf3!important;border-radius:var(--cf-r)!important}
.vd-dest-card,.vd-reason,.vd-lp-card,.vd-card,.vd-rs-offer,.vd-offer-card{transition:transform .22s var(--cf-ease),box-shadow .22s var(--cf-ease),border-color .22s var(--cf-ease)}
@media (hover:hover){
  .vd-dest-card:hover,.vd-reason:hover,.vd-lp-card:hover{transform:translateY(-3px);box-shadow:var(--cf-shadow)}
}
details.group summary{min-height:44px}
details.group>p{animation:cf-fade .28s var(--cf-ease)}
@keyframes cf-fade{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}


/* --- Layout-page header: softer, smoother ----------------------------------- */
.vd-pro-header{backdrop-filter:saturate(1.2) blur(10px);-webkit-backdrop-filter:saturate(1.2) blur(10px)}
.vd-pro-logo-mark{box-shadow:0 10px 22px -10px rgba(4,47,95,.55)!important}
.vd-nav a{transition:color .16s var(--cf-ease),background-color .16s var(--cf-ease)}
.vd-mobile-drawer a,.vd-mobile-drawer summary{min-height:48px;display:flex;align-items:center}

/* --- Amber call CTAs: consistent treatment ---------------------------------- */
.vd-hero-call-primary,.vd-lp-btn--primary{
  background:linear-gradient(135deg,#f7c24a 0%,var(--cf-amber) 55%,var(--cf-amber-2) 100%)!important;
  color:#1f1400!important;box-shadow:0 12px 26px -12px rgba(240,180,41,.75)!important;
  transition:transform .18s var(--cf-ease),box-shadow .18s var(--cf-ease),filter .18s var(--cf-ease)!important;
}
.vd-hero-call-primary:hover,.vd-lp-btn--primary:hover{filter:brightness(1.04);transform:translateY(-1px)}
.vd-hero-call-primary:active{transform:translateY(0)}

/* --- Forms: comfortable targets, clear states ------------------------------- */
input[type=text],input[type=email],input[type=tel],input[type=date],input[type=number],select,textarea{font-size:16px}
@media (max-width:640px){
  input[type=text],input[type=email],input[type=tel],input[type=date],input[type=number],select{min-height:48px}
}
input:focus,select:focus,textarea:focus{box-shadow:0 0 0 4px rgba(11,91,211,.14)}


/* --- Footer polish ------------------------------------------------------------ */
.vd-sf{background:linear-gradient(180deg,#071f3f 0%,#04172f 100%)!important}
.vd-sf__brand{letter-spacing:-.02em}
.vd-sf a{transition:color .16s var(--cf-ease)}


/* === cf-brand-refresh : Breakout C mark + Claw/FLIGHTS lockup + one amber CTA === */

/* 1 -- mark is badge-free now, so the old badge shadow has to go -------------- */
.vd-pro-logo-mark{box-shadow:none!important;border-radius:0!important;background:none!important}
.vd-pro-logo-mark svg{width:40px;height:40px;display:block}
@media (max-width:640px){.vd-pro-logo-mark svg{width:34px;height:34px}}

/* 2 -- wordmark: CLAW small and tracked, FLIGHTS large ----------------------- */
.vd-logo-word{display:flex!important;flex-direction:column!important;line-height:1!important;
  font-family:"Plus Jakarta Sans",Inter,system-ui,sans-serif!important}
.vd-logo-word b{font-size:10px!important;font-weight:700!important;letter-spacing:.44em!important;
  color:var(--cf-amber)!important;text-transform:uppercase!important;margin-bottom:4px!important;
  padding-left:2px!important;line-height:1!important}
.vd-logo-word em{font-size:23px!important;font-weight:800!important;letter-spacing:-.03em!important;
  color:#fff!important;text-transform:uppercase!important;font-style:normal!important;line-height:1!important}
@media (max-width:640px){
  .vd-logo-word b{font-size:9px!important;letter-spacing:.38em!important}
  .vd-logo-word em{font-size:19px!important}
}
/* "Flight Booking" under a logo that already says FLIGHTS is noise */
.vd-logo-tagline{display:none!important}

/* 3 -- header call button joins the one amber action language ---------------- */
.vd-call-now-btn{background:linear-gradient(135deg,#f7c24a 0%,var(--cf-amber) 55%,var(--cf-amber-2) 100%)!important;
  color:#1f1400!important;font-weight:800!important;border-color:transparent!important;
  box-shadow:0 10px 22px -10px rgba(240,180,41,.75)!important;
  transition:transform .18s var(--cf-ease),box-shadow .18s var(--cf-ease),filter .18s var(--cf-ease)!important}
.vd-call-now-btn:hover{filter:brightness(1.04);transform:translateY(-1px)}
.vd-call-now-btn:active{transform:translateY(0)}
.vd-call-now-btn i,.vd-call-now-btn svg{color:#1f1400!important;stroke:#1f1400!important}

/* 4 -- standalone Tailwind pages (home.php, flights.php) --------------------- */
.header-brand-title{font-family:"Plus Jakarta Sans",Inter,system-ui,sans-serif!important;
  display:flex!important;flex-direction:column!important;line-height:1!important;text-shadow:none!important}
.header-brand-title .cf-w1{display:block;font-size:10px;font-weight:700;letter-spacing:.44em;
  color:var(--cf-amber);text-transform:uppercase;margin-bottom:4px;padding-left:2px;line-height:1}
.header-brand-title .cf-w2{display:block;font-size:23px;font-weight:800;letter-spacing:-.03em;
  color:#fff;text-transform:uppercase;line-height:1}
@media (max-width:640px){
  .header-brand-title .cf-w1{font-size:9px;letter-spacing:.38em}
  .header-brand-title .cf-w2{font-size:19px}
}
.nav-call-btn{background:linear-gradient(135deg,#f7c24a 0%,var(--cf-amber) 55%,var(--cf-amber-2) 100%)!important;
  color:#1f1400!important;font-weight:800!important;
  box-shadow:0 10px 22px -10px rgba(240,180,41,.75)!important}
.nav-call-btn:hover{filter:brightness(1.04)}
.nav-call-btn svg{color:#1f1400!important;stroke:#1f1400!important}


/* === cf-lockup-sizing : stop the lockup collapsing as a flex item =========== */
/* flights.php/home.php ship .header-brand-title with max-width + overflow:hidden
   for the old single-line wordmark; as a 2-line flex column it shrank to 43px
   and ate "FLIGHTS". Opt it out of shrinking and let it size to its content. */
.header-brand-title{
  flex:0 0 auto!important;width:-webkit-max-content!important;width:max-content!important;
  max-width:none!important;overflow:visible!important;text-overflow:clip!important;
  white-space:nowrap!important}
.vd-logo-word{flex:0 0 auto!important;width:-webkit-max-content!important;width:max-content!important;
  max-width:none!important;overflow:visible!important}
.vd-pro-logo-copy{flex:0 0 auto!important;overflow:visible!important}
.vd-logo,.vd-pro-logo{flex:0 0 auto!important;overflow:visible!important}


/* === cf-mark-size : the inline mark, independent of Tailwind ============== */
.cf-mark{width:40px!important;height:40px!important;display:block!important;flex:0 0 auto!important;max-width:none!important}
@media (max-width:640px){.cf-mark{width:34px!important;height:34px!important}}




/* === cf-mark-contrast : the mark adapts to light and dark headers ========= */
/* The ring is fill:currentColor in layouts/header.php, so it follows the header
   text colour instead of being a white ring that vanishes on the white inner
   header. The jet stays amber in both. */
.vd-pro-logo-mark{color:#0A2A5C!important;box-shadow:none!important;border-radius:0!important;background:none!important}
.vd-header .vd-pro-logo-mark svg,.vd-pro-header .vd-pro-logo-mark svg,.vd-pro-logo-mark svg{width:38px!important;height:38px!important;display:block!important;flex:0 0 auto!important}
@media (max-width:640px){.vd-header .vd-pro-logo-mark svg,.vd-pro-header .vd-pro-logo-mark svg,.vd-pro-logo-mark svg{width:32px!important;height:32px!important}}


/* === cf-lockup-parity : one lockup, identical on the dark and light headers = */
/* The inner-page header (vd-pro-header, white) had its own colours at higher
   specificity, so the logo read differently there. A logo has to be the same
   object on every page: amber CLAW, navy FLIGHTS, no tagline. */
header.vd-header .vd-pro-logo-copy .vd-logo-word b,
header.vd-pro-header .vd-pro-logo-copy .vd-logo-word b{color:#B07D10!important}
header.vd-header .vd-pro-logo-copy .vd-logo-word em,
header.vd-pro-header .vd-pro-logo-copy .vd-logo-word em{color:#0A2A5C!important}
header.vd-header .vd-pro-logo-copy .vd-logo-tagline,
header.vd-pro-header .vd-pro-logo-copy .vd-logo-tagline{display:none!important}


/* === cf-chat-mobile : live chat is desktop-only ============================ */
/* The launcher is not loaded on phones (viewport gate in the page footers).
   This is the safety net in case the vendor script is injected another way. */
@media (max-width:767px){
  .mlc3-root,.mlc3-launcher,#mlc3-root,iframe[src*="mylivechat"]{display:none!important}
}
