/* Shared chrome; loaded last on all pages. Homepage artwork remains in coastal-theme.css. */
body { padding-bottom: 0; }
.skip-link { position: fixed; top: 8px; left: 16px; transform: translateY(-150%); z-index: 200; padding: 10px 18px; background: #0b4772; color: #fff; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
header.site-header { display: block; max-width: none; margin: 0; padding: 0; min-height: 0; position: relative; z-index: 90; background: #fff7df !important; border-bottom: 1px solid #ead9a5 !important; }
.site-header-inner { max-width: 1180px; margin: auto; padding: 14px 28px; display: flex; align-items: center; gap: 22px; direction: ltr; }
.site-brand { display: inline-flex; flex: 0 0 auto; text-decoration: none; }
.site-brand img { display: block; width: 185px; height: auto; max-width: 100%; }
.site-tagline { max-width: 180px; font-size: 10px; line-height: 1.7; letter-spacing: .16em; font-weight: 700; color: #527183; }
.site-controls { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-left: auto; min-width: 0; }
.site-phone, .site-portal { display: inline-flex; align-items: center; min-height: 44px; color: #0b4772; font-size: 13px; font-weight: 700; white-space: nowrap; text-decoration: none; }
.site-phone { gap: 7px; font-size: 14px; }
.site-phone:hover, .site-portal:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-controls .site-booking { white-space: nowrap; padding: 12px 18px; font-size: 12px; }
.site-language { width: 145px; min-width: 0; flex: 0 0 145px; }
.site-header .language-wrap { margin: 0; }
.site-header .language-wrap::before { display: none; }
.site-header .language-select { width: 100%; max-width: none; min-height: 44px; border-radius: 8px; padding: 9px 28px 9px 12px; font-size: 12px; direction: ltr; }
.site-header .site-menu { display: none; margin: 0; }
.site-nav-shell { border-top: 1px solid rgba(196,139,27,.13); }
.site-header .site-nav { display: flex; position: static; width: auto; max-width: 1180px; margin: 0 auto; padding: 0 28px; justify-content: flex-start; flex-direction: row; flex-wrap: wrap; gap: 30px; border: 0; box-shadow: none; background: transparent; }
.site-header .site-nav a { min-height: 46px; display: inline-flex; align-items: center; font-size: 13px; padding: 11px 0; }
.site-header .site-nav a::after { bottom: 6px; }
main:focus { outline: none; }
.phone-link { display: inline-flex; align-items: center; min-height: 44px; color: #0b4772; font-weight: 700; text-underline-offset: 4px; }
.band .phone-link { color: #fff; }
.band .eyebrow { color: #f0ca67 !important; }
.page-hero h1 { font-size: clamp(35px, 4.5vw, 52px); }
.section, .service-section { scroll-margin-top: 140px; }
.site-footer { display: block; padding: 0; background: #fff8e4 !important; border-top: 1px solid #ead9a5 !important; color: #0b4772; font-size: 13px; }
.site-footer-inner { max-width: 1180px; margin: auto; padding: 44px 28px 32px; display: grid; grid-template-columns: 1.1fr .8fr 1fr 1.25fr 1.1fr; gap: 28px; }
.site-footer-inner > div { min-width: 0; }
.site-footer b { font-size: 13px; font-family: Arial, Helvetica, sans-serif; }
.site-footer p { margin: 10px 0 0; line-height: 1.9; }
.site-footer a { text-decoration: none; color: #0b4772; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer-brand p { color: #587082; line-height: 1.6; margin-top: 14px; }
.site-copyright { max-width: 1124px; margin: auto; padding: 16px 0 20px; border-top: 1px solid #ead9a5; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: 10px; color: #527183; }
.site-copyright > span:last-child { display: flex; gap: 16px; flex-wrap: wrap; }
[dir="rtl"] .site-nav, [dir="rtl"] .site-footer-inner { direction: rtl; }
[dir="rtl"] .site-header .site-nav { margin: 0 auto; }
@media (max-width: 1100px) {
  .site-tagline { display: none; }
  .site-controls { gap: 12px; }
  .site-copyright { margin: 0 28px; }
}
@media (max-width: 900px) {
  .site-header .site-nav { gap: 24px; }
  .site-footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
  .site-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 800px) {
  body { padding-bottom: calc(52px + env(safe-area-inset-bottom, 0px)); }
  header.site-header { position: sticky; top: 0; }
  .site-header-inner { padding: 8px 18px 10px; display: grid; grid-template-columns: 1fr 44px; gap: 4px 12px; }
  .site-brand img { width: 168px; }
  .site-header .site-menu { display: flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; grid-column: 2; grid-row: 1; border-radius: 8px; }
  .site-controls { grid-column: 1 / -1; grid-row: 2; width: 100%; margin: 0; justify-content: space-between; gap: 10px; }
  .site-controls .site-booking, .site-portal { display: none; }
  .site-phone { font-size: 13px; }
  .site-language { width: 140px; flex-basis: 140px; }
  .site-header .language-select { font-size: 12px; }
  .site-header .site-nav { display: none; flex-direction: column; align-items: stretch; padding: 10px 18px 18px; gap: 0; max-height: 60vh; overflow-y: auto; }
  .site-header .site-nav.open { display: flex; }
  .site-header .site-nav a { min-height: 44px; padding: 10px 8px; border-bottom: 1px solid rgba(196,139,27,.14); }
  .site-header .site-nav a::after { display: none; }
  .site-header .site-nav a.active { background: #fff0bd; border-radius: 6px; }
  .site-footer-inner { padding: 34px 20px 26px; }
  .site-copyright { margin: 0 20px; display: block; line-height: 1.8; }
  .site-copyright > span:last-child { margin-top: 8px; }
  .mobile-quickbar { padding-bottom: env(safe-area-inset-bottom, 0px); }
  .mobile-quickbar a { min-height: 52px; font-size: 12px; }
}
@media (max-width: 480px) {
  .site-header-inner { padding-right: 14px; padding-left: 14px; }
  .site-language { width: 128px; flex-basis: 128px; }
  .site-footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; padding: 30px 18px 24px; }
  .site-footer-brand { grid-column: 1 / -1; }
  .site-footer p { line-height: 1.7; margin-top: 7px; }
  .site-footer b { font-size: 12px; }
  .site-footer a { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a, .btn { transition: none; }
  .btn:hover { transform: none; }
}

/* Mobile booking-first header refinements */
@media(max-width:800px){
  .site-header-inner{grid-template-columns:minmax(0,1fr) 44px;row-gap:6px}
  .site-brand{min-width:0}
  .site-brand img{width:min(168px,48vw)}
  .site-controls{min-width:0}
  .site-phone{min-width:0;font-size:12px}
  .site-language{width:124px;flex:0 0 124px}
  .site-header .language-select{min-height:40px;font-size:11px}
  .mobile-quickbar{grid-template-columns:1.15fr .85fr;box-shadow:0 -6px 18px rgba(11,71,114,.08)}
  .mobile-quickbar a{min-height:56px;padding:8px 10px;text-align:center;line-height:1.2}
}
@media(max-width:480px){
  .site-header-inner{padding:7px 12px 8px}
  .site-brand img{width:145px}
  .site-phone{font-size:11px}
  .site-language{width:112px;flex-basis:112px}
  .site-header .site-nav{padding-left:12px;padding-right:12px}
  .site-footer-inner{grid-template-columns:1fr;gap:20px}
  .site-footer-brand{grid-column:auto}
}


/* 2026-10 mobile production hardening */
html,body{max-width:100%;overflow-x:clip}
main,.site-header,.site-nav-shell,.site-footer{min-width:0}
.site-header-inner>*,.site-controls>*,.site-footer-inner>*{min-width:0}
@media(max-width:800px){
  body{padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))}
  header.site-header{width:100%;max-width:100%;background:#fff7df!important}
  .site-header-inner{width:100%;max-width:100%}
  .site-header .site-nav{
    width:100%;
    max-width:100%;
    max-height:calc(100dvh - 102px);
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch
  }
  .site-phone{overflow:hidden;text-overflow:ellipsis}
  .mobile-quickbar{
    width:100%;
    max-width:100%;
    min-height:56px;
    padding-bottom:env(safe-area-inset-bottom,0px)
  }
}
@media(max-width:480px){
  .site-header-inner{grid-template-columns:minmax(0,1fr) 44px}
  .site-controls{gap:8px}
  .site-phone{font-size:11px;white-space:nowrap}
  .site-language{width:108px;flex:0 0 108px}
  .site-header .language-select{width:108px;padding-left:8px;padding-right:22px}
}
