/* Alexa Insurance — one stylesheet for every page and language.
   Uses logical properties (inline-start/end) so Arabic (RTL) mirrors automatically. */

:root {
  --navy: #052943;
  --navy-2: #082b45;
  --ink: #183a50;
  --heading: #10304a;
  --muted: #4d6276;
  --teal: #06718a;
  --teal-bright: #21a8d7;
  --teal-soft: #e3f3f8;
  --on-teal: #04263b;
  --soft: #f3f8fc;
  --line: #dde8ef;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 8px 26px rgba(10, 45, 75, .07);
  --shadow-lg: 0 18px 50px rgba(10, 45, 75, .10);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-ar: "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", Arial, sans-serif;
  --container: 1180px;
  --gutter: 24px;
  --topbar-h: 42px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 16px; overflow-x: clip; }
html[lang="ar"] body { font-family: var(--font-ar); line-height: 1.75; }
img, svg, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { color: var(--heading); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
html[lang="ar"] :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.35; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid #1b8fd6; outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ltr { unicode-bidi: isolate; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }
.center { text-align: center; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
[dir="rtl"] .ico.flip { transform: scaleX(-1); }
.hp { position: absolute; inset-inline-start: -9999px; }

/* skip link */
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

/* buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 12px 22px; border: 0; border-radius: 10px; background: var(--teal-bright); color: var(--on-teal); font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; transition: filter .15s, transform .15s; }
.btn:hover { color: var(--on-teal); filter: brightness(.95); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: 9px 16px; font-size: 15px; }
.btn-block { width: 100%; white-space: normal; }
.btn-ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.75); }
.btn-ghost-light:hover { color: #fff; background: rgba(255,255,255,.1); filter: none; }
.btn-outline { background: transparent; color: var(--teal); box-shadow: inset 0 0 0 1.5px var(--teal); }
.btn[disabled] { opacity: .65; cursor: wait; }

/* top bar */
.topbar { background: var(--navy); color: #e6f1f8; font-size: 14px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: var(--topbar-h); }
.topbar a { color: #e6f1f8; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar-contact, .topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-contact a { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.lang-switch a { white-space: nowrap; }
@media (max-width: 1100px) { .topbar-contact .hide-sm, .topbar-social { display: none !important; } }
.topbar-contact .ico { color: #7fd7ef; }
.lang-switch { display: flex; align-items: center; gap: 4px; }
.lang-switch > .ico { color: #7fd7ef; margin-inline-end: 4px; }
.lang-switch a { padding: 3px 9px; border-radius: 6px; border: 1px solid transparent; }
.lang-switch a[aria-current] { background: #fff; color: var(--navy); font-weight: 700; }
.lang-switch a:not([aria-current]) { border-color: rgba(255,255,255,.35); }
.topbar-social { display: flex; gap: 4px; }
.topbar-social .social { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.topbar-social svg { width: 16px; height: 16px; }
.topbar-social .social:hover { background: rgba(255,255,255,.12); }

/* header + nav */
.site-top { position: sticky; top: calc(-1 * var(--topbar-h)); z-index: 50; }
.site-header { background: #fff; box-shadow: 0 2px 18px rgba(20, 46, 74, .08); position: relative; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; flex: none; line-height: 0; }
.brand img { width: 190px; }
.menu-toggle { display: none; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 10px; border: 0; background: none; color: var(--heading); font: inherit; font-weight: 700; font-size: 15.5px; text-decoration: none; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.nav-link:hover, .nav-btn[aria-expanded="true"] { background: var(--soft); color: var(--navy); }
.nav-link[aria-current="page"] { color: var(--teal); }
.nav-btn .chev { width: 16px; height: 16px; transition: transform .2s; }
.nav-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-cta { margin-inline-start: 8px; }
.nav-menu { display: none; position: absolute; top: calc(100% + 6px); inset-inline-start: 0; min-width: 240px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); z-index: 60; }
.nav-menu.wide { min-width: min(620px, 90vw); }
.nav-menu.menu-faqs { min-width: 320px; }
.nav-menu.menu-end { inset-inline-start: auto; inset-inline-end: 0; min-width: 300px; }
.nav-btn[aria-expanded="true"] + .nav-menu { display: block; }
.nav-menu ul { list-style: none; margin: 0; padding: 0; }
.nav-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: var(--heading); text-decoration: none; font-size: 15px; line-height: 1.35; }
.nav-menu a:hover, .nav-menu a[aria-current] { background: var(--soft); color: var(--teal); }
.nav-menu .ico { color: var(--teal); }
.menu-all { font-weight: 800; color: var(--teal) !important; border-bottom: 1px solid var(--line); border-radius: 8px 8px 0 0 !important; margin-bottom: 6px; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 6px; }
.menu-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.menu-group { margin: 6px 12px 4px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .menu-group { letter-spacing: 0; }
.nav-menu.wide { max-height: min(70vh, 640px); overflow-y: auto; }

@media (hover: hover) and (min-width: 1081px) {
  .has-menu:hover > .nav-menu { display: block; }
  .has-menu:hover > .nav-btn .chev { transform: rotate(180deg); }
}

@media (max-width: 1320px) and (min-width: 1081px) {
  .nav-link { padding-inline: 7px; font-size: 14.5px; }
  .brand img { width: 160px; }
  html[lang="es"] .nav-cta .btn .ico { display: none; }
}
@media (max-width: 1200px) and (min-width: 1081px) {
  html[lang="es"] .nav-link { font-size: 13.5px; padding-inline: 5px; }
  .header-inner { gap: 10px; }
}

@media (max-width: 1080px) {
  .header-inner { min-height: 66px; }
  .brand img { width: 160px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy); font: inherit; font-weight: 700; cursor: pointer; }
  .menu-toggle .ico { width: 22px; height: 22px; }
  .menu-toggle .i-close, .menu-toggle[aria-expanded="true"] .i-open { display: none; }
  .menu-toggle[aria-expanded="true"] .i-close { display: inline; }
  .site-nav { display: none; position: absolute; top: 100%; inset-inline: 0; max-height: calc(100dvh - 66px); overflow-y: auto; overscroll-behavior: contain; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 18px 30px rgba(6, 42, 67, .18); }
  .site-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 4px; font-size: 17px; border-radius: 0; }
  .site-nav .nav-menu { position: static; min-width: 0; max-height: none; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 10px; background: transparent; }
  .nav-menu a { padding: 11px 12px; font-size: 16px; }
  .cols-2, .menu-groups { grid-template-columns: 1fr; }
  .nav-cta { border: 0; margin: 16px 0 0; }
  .nav-cta .btn { width: 100%; min-height: 50px; font-size: 17px; }
}

/* hero */
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(115deg, #05263d 0%, #075276 55%, #168db8 100%); }
.hero::before { content: ""; position: absolute; inset-inline-end: -4%; top: 6%; width: min(44vw, 520px); height: 88%; background: url("../img/alexa-a-mark.png") center / contain no-repeat; opacity: .12; transform: rotate(-8deg); pointer-events: none; }
.hero.has-media::before { opacity: .07; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding-block: clamp(48px, 7vw, 92px); }
.hero.has-media .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.hero-copy { max-width: 680px; }
.hero h1 { color: #fff; font-size: clamp(38px, 5.6vw, 66px); line-height: 1.08; letter-spacing: -.035em; margin-bottom: 20px; }
html[lang="ar"] .hero h1 { line-height: 1.3; letter-spacing: 0; }
.hero h1 span { color: #74dcf5; }
.hero p { color: #dbe8f2; font-size: clamp(16px, 1.6vw, 19px); max-width: 600px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lang-badges { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lang-badges li { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 12px; background: rgba(255,255,255,.95); color: var(--navy); font-weight: 800; box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.lang-badges li[lang="ar"] { font-family: var(--font-ar); font-size: 1.08em; }
.lang-badges .ico { color: var(--teal); }
.hero-media { aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #0a1d34; box-shadow: 0 18px 45px rgba(7, 29, 53, .35); }
.hero-media iframe, .hero-media img { width: 100%; height: 100%; border: 0; display: block; object-fit: cover; }

/* hero audience paths */
.audiences { margin-top: 28px; }
.audiences-label { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #9fe3f2; }
html[lang="ar"] .audiences-label { letter-spacing: 0; font-size: 15px; }
.audiences ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.audience { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 16px; border-radius: 14px; background: rgba(255,255,255,.96); color: var(--navy); text-decoration: none; box-shadow: 0 8px 22px rgba(0,0,0,.14); transition: transform .15s, box-shadow .15s; }
.audience:hover { color: var(--navy); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.2); }
.audience-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--teal-soft); color: var(--teal); }
.audience-ico .ico { width: 22px; height: 22px; }
.audience-text { display: grid; gap: 4px; }
.audience-text strong { font-size: 16.5px; line-height: 1.25; }
.audience-text > span { display: block; color: var(--teal); font-weight: 700; font-size: 14.5px; }
.audience-text > span .ico { width: 16px; height: 16px; margin-inline-start: 6px; vertical-align: -3px; }
.hero-call { margin: 14px 0 0 !important; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15.5px !important; color: #dbe8f2; }
.hero-call .ico { color: #74dcf5; }
.hero-call a { color: #fff; font-weight: 800; }
.anchor { display: block; height: 0; visibility: hidden; scroll-margin-top: 44px; }
.form-card { scroll-margin-top: 14px; }
.hero.has-media .audiences ul { grid-template-columns: minmax(0, 1fr); }
.hero.has-media .audience { flex-direction: row; align-items: center; }

/* sections */
.section { padding-block: clamp(48px, 7vw, 84px); }
.section-tight { padding-block: clamp(32px, 5vw, 56px); }
.section-soft { background: var(--soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 32px; }
.section-head h2, .contact-info h2 { font-size: clamp(30px, 4vw, 44px); }
.lead { color: var(--muted); font-size: clamp(16px, 1.5vw, 18.5px); }
.eyebrow { margin: 0 0 12px; color: var(--teal); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 15px; }
.group-h { font-size: clamp(24px, 3vw, 32px); margin-bottom: 20px; }

/* page hero */
.page-hero { background: linear-gradient(180deg, #eaf5fb, var(--soft)); padding-block: clamp(36px, 6vw, 72px) clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -.035em; }
html[lang="ar"] .page-hero h1 { letter-spacing: 0; }
.page-hero .lead { max-width: 720px; margin-bottom: 0; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font-weight: 700; text-decoration: none; }
.back-link .back { transform: scaleX(-1); }
[dir="rtl"] .back-link .back { transform: none; }
.updated { margin: 14px 0 0; color: var(--muted); font-size: 14px; }

/* coverage + industry cards */
.cov-grid, .ind-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ind-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cov-card, .ind-card, .card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.cov-card h3, .ind-card h2 { font-size: 19px; margin: 0 0 8px; }
.cov-card p, .ind-card p, .card p { color: var(--muted); font-size: 15px; margin: 0; }
.cov-card.is-link { transition: transform .2s, box-shadow .2s, border-color .2s; }
.cov-card.is-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #9fd6ea; }
.stretched { color: inherit; text-decoration: none; }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.stretched:focus-visible { outline: 0; }
.stretched:focus-visible::after { outline: 3px solid #1b8fd6; outline-offset: 2px; }
.cov-ill { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 18px; background: var(--ill-bg); margin-bottom: 16px; }
.cov-ill svg { width: 60px; height: 60px; overflow: visible; }
.cov-ico { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; background: var(--teal-soft); color: var(--teal); margin-bottom: 16px; }
.cov-ico .ico { width: 28px; height: 28px; }
.cov-card:target, .ind-card:target, .faq:target { border-color: var(--teal-bright); box-shadow: 0 0 0 3px rgba(33, 168, 215, .25), var(--shadow); }
.section .center .btn { margin-top: 30px; }

/* contact + form */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-info h2 em { color: var(--teal); font-style: normal; display: block; }
.contact-methods { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line); max-width: 460px; }
.contact-method { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); color: var(--teal); }
.contact-ico .ico { width: 22px; height: 22px; }
.contact-label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .contact-label { letter-spacing: 0; font-size: 13px; }
.contact-method a { font-weight: 700; font-size: 16.5px; overflow-wrap: anywhere; }
.contact-method .ext { width: 14px; height: 14px; margin-inline-start: 6px; }
.sms-link { margin-inline-start: 10px; font-size: 14px !important; padding: 2px 10px; border-radius: 999px; background: var(--teal-soft); text-decoration: none; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 38px); box-shadow: var(--shadow-lg); }
.form-title { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 6px; }
.form-intro { color: var(--muted); margin-bottom: 22px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { margin-bottom: 16px; }
label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; color: var(--heading); }
input, select, textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #b9c9d6; border-radius: 10px; background: #fbfdff; color: var(--ink); font: inherit; font-size: 16px; }
html[dir="rtl"] input[dir="ltr"] { text-align: end; }
textarea { min-height: 120px; resize: vertical; }
input[type="file"] { padding: 9px; background: #fff; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(27, 143, 214, .35); border-color: #1b8fd6; }
input:user-invalid, select:user-invalid { border-color: #c0392b; }
.hint { display: block; margin-top: 5px; font-size: 13px; color: var(--muted); }
.fine { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.form-status:empty { display: none; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.form-status.ok { background: #e6f6ee; color: #0d5b33; border: 1px solid #a9dcbf; }
.form-status.err { background: #fdecea; color: #8a1f12; border: 1px solid #f2b8b0; }
.form-status a { color: inherit; }

/* standard pages */
.prose { max-width: 760px; font-size: 17px; }
.prose p, .prose li { color: var(--ink); }
.prose h2 { font-size: clamp(22px, 2.6vw, 28px); margin-top: 1.6em; }
.prose ul { padding-inline-start: 1.2em; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.card .card-h { font-size: 20px; letter-spacing: -.01em; }
.highlight { margin-top: 30px; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--navy); color: #e3eef6; }
.highlight h2 { color: #fff; font-size: clamp(22px, 2.6vw, 28px); }
.highlight p { margin: 0; color: #dbe8f2; }
.highlight a { color: #9fe3f2; }
.page-note { margin-block: 26px 40px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-bottom: 30px; }
.team-card .avatar { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: var(--teal-soft); color: var(--teal); font-size: 28px; font-weight: 800; margin-bottom: 14px; }
.team-card h2 { font-size: 22px; margin-bottom: 2px; }
.team-card .role { color: var(--teal); font-weight: 700; margin-bottom: 10px; }
.careers-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.careers-grid h2 { font-size: clamp(26px, 3vw, 34px); }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h2 { margin: 0; font-size: 18px; letter-spacing: 0; }
.faq summary .chev { width: 22px; height: 22px; color: var(--teal); transition: transform .2s; }
.faq[open] summary .chev { transform: rotate(180deg); }
.faq-a { padding: 0 22px 18px; color: var(--ink); }
.faq-a p:last-child { margin-bottom: 0; }

/* booking + call */
.calendar-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.calendar-card iframe { display: block; width: 100%; height: 760px; border: 0; }
.call-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.call-btn { display: grid; justify-items: center; gap: 6px; padding: 28px 20px; border-radius: var(--radius); background: var(--navy); color: #fff; text-decoration: none; font-size: 18px; font-weight: 700; }
.call-btn:hover { color: #fff; background: #0a3b5e; }
.call-btn .ico { width: 30px; height: 30px; color: #74dcf5; }
.call-btn strong { font-size: 22px; }

/* images */
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.page-hero-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); }
.card-photo { display: block; width: calc(100% + 48px); max-width: none; margin: -24px -24px 18px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-1 { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.gallery-2, .gallery-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery figure { margin: 0; }
.gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: var(--soft); }
.gallery figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.gallery-section + .gallery-section { padding-top: 0; }

/* locations */
.loc-list { display: grid; gap: 22px; }
.loc-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.loc-card:target { border-color: var(--teal-bright); box-shadow: 0 0 0 3px rgba(33, 168, 215, .25), var(--shadow); }
.loc-photo { grid-column: 1 / -1; width: 100%; max-height: 300px; object-fit: cover; }
.loc-body { padding: clamp(22px, 3vw, 32px); }
.loc-body h2 { font-size: clamp(22px, 2.6vw, 28px); }
.loc-details { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.loc-details li { display: flex; align-items: flex-start; gap: 10px; }
.loc-details li > .ico { margin-top: 3px; }
.loc-details li > a { min-width: 0; }
.loc-details .ico { color: var(--teal); }
.loc-details a { font-weight: 700; overflow-wrap: anywhere; }
.loc-details .ext { width: 14px; height: 14px; margin-inline-start: 6px; }
.loc-hours h3 { font-size: 17px; margin-bottom: 4px; }
.loc-hours .hours-status { margin: 0 0 6px; color: var(--teal); }
.loc-hours .hours-row { border-color: var(--line); }
.loc-hours .hours-row dt { color: var(--muted); }
.loc-hours .hours-row dd { color: var(--heading); }
.loc-map { display: flex; flex-direction: column; background: var(--soft); }
.loc-map iframe { flex: 1; width: 100%; min-height: 300px; border: 0; display: block; }
.loc-map .btn { margin: 14px; align-self: flex-start; }
.loc-line { display: block; }
.loc-line + .loc-line { margin-top: 6px; }
.menu-loc { display: block; font-size: 13px; color: var(--muted); }
.footer-h-note { font-weight: 600; color: #a9c9d6; font-size: 14px; }
.footer-locs strong { color: #fff; }

/* inquiry choice */
fieldset.choices { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
fieldset.choices legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--heading); }
.choice-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.choice { position: relative; display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 14px; min-height: 52px; border: 1.5px solid #b9c9d6; border-radius: 10px; background: #fbfdff; font-weight: 700; font-size: 14.5px; line-height: 1.3; cursor: pointer; }
.choice input { width: 18px; height: 18px; min-height: 0; margin: 0; flex: none; accent-color: var(--teal); }
.choice:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); color: var(--navy); }
.choice:has(input:focus-visible) { outline: 3px solid #1b8fd6; outline-offset: 2px; }
[data-when][hidden] { display: none !important; }

/* legal */
.legal .notice { padding: 14px 18px; border-inline-start: 4px solid var(--teal); background: var(--teal-soft); border-radius: 8px; }

/* CTA band */
.cta-band { background: linear-gradient(110deg, #05263d, #086187); color: #fff; padding-block: clamp(36px, 5vw, 56px); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); }
.cta-band p { margin: 0; color: #dbe8f2; font-size: 17px; max-width: 640px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* footer */
.site-footer { background: var(--navy-2); color: #d4e4ee; padding-top: 52px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .95fr 1fr 1.2fr; gap: 36px; padding-bottom: 36px; }
.footer-h { color: #fff; font-size: 17px; letter-spacing: 0; margin: 0 0 16px; }
.footer-h-sm { margin-top: 24px; font-size: 15px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-links a { display: flex; align-items: flex-start; gap: 10px; color: #d4e4ee; text-decoration: none; overflow-wrap: break-word; min-width: 0; }
.footer-links a[href^="mailto:"] { font-size: 14px; }
.footer-links a:hover { color: #6fe0ea; text-decoration: underline; }
.footer-links .ico { color: #4fd0e0; margin-top: 2px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-social .social { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: #fff; }
.footer-social .social:hover { background: rgba(255,255,255,.1); }
.footer-social svg { width: 18px; height: 18px; }
.footer-map { width: 100%; height: 170px; border: 0; border-radius: 12px; background: #12385a; display: block; }
.footer-directions { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: #6fe0ea; font-weight: 700; text-decoration: none; }
.footer-directions:hover { color: #fff; text-decoration: underline; }
.footer-directions .ico { width: 15px; height: 15px; }
.hours-status { margin: -6px 0 12px; color: #9fe8de; font-size: 14px; font-weight: 600; }
.hours-list { margin: 0; }
.hours-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.hours-row dt { color: #c9dbe6; }
.hours-row dd { margin: 0; color: #fff; font-weight: 700; text-align: end; white-space: nowrap; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 28px; flex-wrap: wrap; padding: 20px 0 26px; border-top: 1px solid rgba(255,255,255,.15); font-size: 13.5px; color: #b9cfdc; }
.footer-bottom p { margin: 0; max-width: 820px; }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a { color: #e0eff5; font-weight: 700; }

/* responsive */
@media (max-width: 1080px) {
  .ind-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero.has-media .hero-grid, .contact-grid, .careers-grid, .page-hero-grid, .loc-card { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cov-grid, .ind-grid, .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero::before { width: 70vw; opacity: .08; inset-inline-end: -20%; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .hide-sm { display: none !important; }
  .topbar { font-size: 13px; }
  .lang-switch > .ico { display: none; }
  .lang-switch a { padding: 3px 7px; }
  .brand img { width: 140px; }
  .menu-toggle span { display: none; }
  .cov-grid, .ind-grid, .card-grid, .fields, .call-actions, .choice-row, .gallery { grid-template-columns: minmax(0, 1fr); }
  .card-photo { width: calc(100% + 40px); margin: -20px -20px 16px; }
  .actions { flex-direction: column; align-items: stretch; }
  .audiences ul { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .audience { flex-direction: row; align-items: center; padding: 14px; }
  .actions .btn, .cta-actions .btn { width: 100%; }
  .cta-actions { width: 100%; flex-direction: column; }
  .cov-card, .ind-card, .card { padding: 20px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .calendar-card iframe { height: 900px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .topbar, .site-header, .site-footer, .cta-band, .skip-link { display: none !important; }
}
