/* Shared ATARA refinements: one palette and type hierarchy across page templates. */
:root { --atara-blue:#194e70; --atara-blue-dark:#123b56; --atara-ink:#233b4d; --atara-muted:#526172; --atara-line:#d8e1e8; }
:root,[data-bs-theme=light] {
  --bs-primary:var(--atara-blue); --bs-primary-rgb:25,78,112;
  --bs-link-color:var(--atara-blue); --bs-link-color-rgb:25,78,112;
  --bs-link-hover-color:var(--atara-blue-dark); --bs-link-hover-color-rgb:18,59,86;
  --bs-dark-blue:var(--atara-blue-dark); --bs-dark-blue-rgb:18,59,86;
  --bs-body-color:var(--atara-ink); --bs-body-color-rgb:35,59,77;
}
body { color:var(--atara-ink); }
main h1, main h2 { font-family:Georgia,"Times New Roman",serif; font-weight:400; letter-spacing:-.025em; }
main h1.hero-title { font-size:clamp(2.15rem,4.3vw,4rem); line-height:1.14; }
main h2.title { font-size:clamp(1.9rem,3.2vw,2.85rem); line-height:1.18; }
main h3 { line-height:1.35; }
main .text-secondary { color:var(--atara-muted)!important; }
main .text-primary { color:var(--atara-blue)!important; }
main a:not(.btn):not(.text-white):not(.link-light):not(.atara-media-control) { text-underline-offset:3px; }
body .btn-primary,body .btn.btn-uppercase1 { background:var(--atara-blue)!important; border-color:var(--atara-blue)!important; color:#fff!important; }
body .btn-primary:hover,body .btn-primary:focus-visible,body .btn.btn-uppercase1:hover { background:var(--atara-blue-dark)!important; border-color:var(--atara-blue-dark)!important; }
body .btn-outline-primary,body .tour-lead-choice-card .btn-outline-primary { color:var(--atara-blue)!important; border-color:var(--atara-blue)!important; }
body .btn-outline-primary:hover,body .btn-outline-primary:focus-visible,body .tour-lead-choice-card .btn-outline-primary:hover { color:#fff!important; background:var(--atara-blue)!important; }
body .btn { border-radius:8px; }
body :is(a,button,summary,input,select,textarea):focus-visible { outline:3px solid #a77635; outline-offset:3px; }
body .header-topbar,body .bg-dark-blue { background-color:var(--atara-blue-dark)!important; }
body .navbar-nav .nav-link.active,body .home-service-card-link { color:var(--atara-blue); }
body .atara-lead-directive:not(.on-dark) { border-color:var(--atara-line); border-left-color:var(--atara-blue); }
body .atara-lead-directive:not(.on-dark) strong,body .tour-lead-choice-card strong { color:var(--atara-blue); }
body :is(.info-card,.duration-planning-card,.city-origin-planning-card,.duration-index-card,.city-origin-index-card)::before { background:var(--atara-blue); }
/* Existing inline blue callout accents share the palette; warning/success colours retain their meaning. */
main [style*="border-left:4px solid #0d6efd"] { border-left-color:var(--atara-blue)!important; }
body .bg-gray-gradient { background:linear-gradient(180deg,#f7f8fa,#f0f3f6)!important; }
body .home-service-card,body .service-directory-card,body .home-proof-card { border-color:var(--atara-line)!important; box-shadow:0 6px 22px rgba(24,54,74,.06)!important; }
/* The existing homepage structure with a clearer still-image hero. */
.atara-home .hero-media { position:absolute; inset:0; }
.atara-home .hero-media picture,.atara-home .hero-media img { display:block; width:100%; height:100%; }
.atara-home .hero-media img,.atara-home .hero-media video { width:100%; height:100%; object-fit:cover; object-position:center 70%; }
.atara-home .hero-media video { position:absolute; inset:0; min-height:0; opacity:0; }
.atara-home .hero-media video.is-visible { opacity:1; }
.atara-home .hero .bg-video.bg-overlay::after { background-image:linear-gradient(90deg,rgba(8,29,44,.65),rgba(8,29,44,.3),rgba(8,29,44,.65)); }
.atara-home .hero .bg-video.ratio::before { padding-top:0; }
.atara-home .hero .hero-video .hero-caption { height:auto; min-height:530px; padding:85px 0 65px; display:flex; align-items:center; }
.atara-home .hero .hero-copy { max-width:650px; line-height:1.65; }
.atara-home .hero .hero-quick-explorer { margin-top:0; margin-bottom:0; padding-block:24px; }
.atara-media-control { border:1px solid #ffffffb3; border-radius:6px; color:#fff; background:#122c3f8c; font-size:.8rem; padding:8px 14px; margin-top:22px; min-height:40px; }
.atara-media-control:hover { background:#123b56; }
.atara-media-status { color:#fff; font-size:.8rem; margin:6px 0 0; }
.atara-winter-discovery { scroll-margin-top:110px; }
.atara-winter-discovery .card-img-top { height:230px; object-fit:cover; }
.atara-winter-discovery .card-body { display:flex; flex-direction:column; }
.atara-winter-discovery .home-service-card-link { margin-top:auto; padding-top:14px; }
.atara-winter-discovery .winter-planning-links { border-top:1px solid var(--atara-line); margin-top:28px; padding-top:20px; font-size:.9rem; line-height:1.8; }
/* Same restrained enquiry controls on every page. */
body .lead-tab { background:var(--atara-blue); border-radius:8px; min-height:48px; box-shadow:0 4px 16px #17344a26; }
body .lead-tab.pulse { animation:none; }
body .lead-panel { border:1px solid var(--atara-line); border-radius:10px; }
body .lead-panel-head h3 { color:var(--atara-blue); }
body .lead-panel-close { min-width:44px; min-height:44px; color:var(--atara-ink); }
body .lead-context { border-color:var(--atara-line); border-left-color:var(--atara-blue); color:var(--atara-ink); background:#f3f7fa; }
body .lead-trust span { color:var(--atara-blue); background:#f3f7fa; border-color:var(--atara-line); }
body .scroll-top { background:var(--atara-blue)!important; }
@media(max-width:767.98px) {
  body { padding-bottom:calc(78px + env(safe-area-inset-bottom,0px)); }
  .atara-home .hero .hero-video .hero-caption { min-height:0; padding:48px 0 36px; }
  .atara-home .hero .hero-copy { font-size:1rem; }
  .atara-home .hero .hero-action .mnw-180 { min-width:0!important; flex:1; padding-inline:12px; }
  .atara-home .hero .hero-action { max-width:440px; margin-inline:auto; }
  .atara-winter-discovery .card-img-top { height:auto; aspect-ratio:16/10; }
  body .lead-widget { left:12px; right:76px; bottom:calc(12px + env(safe-area-inset-bottom,0px)); }
  body .lead-tab { width:100%; justify-content:center; }
  body .whatsapp-float { right:12px; bottom:calc(12px + env(safe-area-inset-bottom,0px)); width:48px; height:48px; }
  body .scroll-top { bottom:calc(76px + env(safe-area-inset-bottom,0px))!important; right:16px!important; width:40px; height:40px; }
  body .lead-panel { width:calc(100vw - 24px); left:0; right:auto; max-height:calc(100dvh - 32px - env(safe-area-inset-bottom,0px)); }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto!important; }
  *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
}
