:root {
  color-scheme: light;
  --ink: #17282e;
  --muted: #415b69;
  --paper: #f1f8fc;
  --line: #cbdfe9;
  --navy: #11395c;
  --blue: #145a93;
  --sky: #b7e5f6;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 18px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.6 system-ui,sans-serif; }
a { color: inherit; }
:is(a,button,input,textarea):focus-visible { outline: 3px solid #087cab; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(1200px, calc(100% - 88px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; z-index: 10; top: 10px; left: 10px; padding: 8px 14px; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }

.top { background: white; border-bottom: 1px solid var(--line); }
.top-inner { min-height: 77px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; flex: none; }
.brand-mark { width: 40px; height: 40px; }
.brand-name { width: 100px; height: auto; }
.top nav { display: flex; gap: clamp(16px, 3vw, 42px); flex-wrap: wrap; }
.top nav a, .header-contact { text-decoration: none; font-weight: 650; font-size: .95rem; }
.top nav a:hover, .header-contact:hover { text-decoration: underline; }
.header-contact { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); }
.ph-icon { width: 1.2em; height: 1.2em; vertical-align: -.2em; }

.hero { display: grid; grid-template-columns: 1fr .95fr; gap: 26px 56px; align-items: center; padding-block: 60px 36px; }
.hero-copy { padding-block: 16px; }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); }
.hero-caption { color: var(--navy); font-size: 1rem; text-transform: uppercase; font-weight: 700; letter-spacing: .09em; }
.hero h1 { position: relative; margin-top: 7px; }
.hero h1 img { display: block; width: min(100%, 480px); height: auto; }
.hero-lead { font-size: clamp(1.15rem, 2.1vw, 1.5rem); line-height: 1.45; margin: 20px 0 28px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.action { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 10px; padding: 11px 18px; font-size: .95rem; font-weight: 720; text-decoration: none; }
button.action { font-family: inherit; cursor: pointer; }
button.action:disabled { opacity: .7; cursor: wait; }
.action.primary { background: var(--blue); color: white; }
.action.primary:hover { background: var(--navy); }
.action.outline { border-color: #9abed3; color: var(--navy); }
.action.outline:hover { background: #e0eff8; }
.hero-poster {
  display: grid; place-items: center; min-height: clamp(300px, 37vw, 420px); border-radius: 24px;
  background-color: #1479ba;
  background-image: radial-gradient(ellipse at 42% 42%, #ebfaff 0%, #b8e9f7da 31%, #4da9db7a 68%, #12598c9e 100%),
    conic-gradient(from 30deg, #1a71af 0deg 60deg, #9bdef0 60deg 120deg, #41a9d8 120deg 180deg, #1468a5 180deg 240deg, #67c7e4 240deg 300deg, #3193c7 300deg);
  background-size: 100% 100%, 96px 83px;
}
.hero-poster img { display: block; width: clamp(172px, 25vw, 270px); height: auto; border-radius: 50%; box-shadow: 0 0 0 15px #ffffff38, 0 16px 38px #1246693d; }
.hero-details { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 1px solid var(--line); padding-top: 20px; }
.hero-details > div { display: flex; align-items: center; gap: 12px; }
.detail-icon, .section-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 11px; background: #dcedf8; color: var(--blue); }
.detail-label { display: block; color: var(--muted); font-size: .875rem; }
.hero-details strong { font-weight: 650; }

.section { border-top: 1px solid var(--line); padding-block: 44px 48px; }
.catalog .section-intro { margin-bottom: 20px; }
.section h2, .visit h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.06; letter-spacing: -.045em; margin-block: 12px; overflow-wrap: anywhere; }
.section-title { display: flex; align-items: center; gap: clamp(12px, 2vw, 20px); }
.section-title h2 { margin: 0; }
.section-title .section-icon { width: clamp(48px, 5vw, 64px); height: clamp(48px, 5vw, 64px); border-radius: 15px; }
.section-title .ph-icon { width: clamp(28px, 3vw, 36px); height: clamp(28px, 3vw, 36px); }
.section-intro .eyebrow { margin-bottom: 10px; }
.section-title + p { margin-top: 9px; }
.section-intro p { max-width: 34ch; color: var(--muted); }
.directions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.direction { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.direction-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 13px; background: #dcedf8; color: var(--blue); }
.direction:nth-child(2n) .direction-icon { background: #def2f6; color: #176583; }
.direction-icon .ph-icon { width: 28px; height: 28px; }
.direction h3 { font-size: 1.16rem; line-height: 1.3; color: var(--navy); }
.direction p { margin-top: 7px; color: var(--muted); }
.catalog-main { border: 1px solid var(--line); border-radius: 14px; background: white; min-width: 0; }
.catalog-status { padding: 21px 24px; color: var(--muted); }
.catalog-browser { padding: 18px; }
.catalog-part-title { font-size: 1.05rem; line-height: 1.4; color: var(--navy); margin: 0 0 9px; }
.catalog-featured { margin-bottom: 16px; }
.catalog-featured .catalog-list { background: #eaf5fb; border: 1px solid var(--line); border-radius: 10px; }
.catalog-search-label { display: grid; gap: 5px; font-size: .9rem; font-weight: 650; color: var(--navy); margin: 0 0 16px; }
.catalog-search { width: 100%; min-height: 44px; padding: 8px 11px; border: 1px solid #a9c5d5; border-radius: 8px; background: white; color: var(--ink); font: inherit; font-weight: 400; }
.catalog-results { margin: 0 0 12px; color: var(--muted); }
.catalog-results:empty { display: none; }
.catalog-groups { display: grid; gap: 7px; }
.catalog-group { border: 1px solid var(--line); border-radius: 10px; }
.catalog-group-title { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 9px 13px; border-radius: 9px; cursor: pointer; color: var(--navy); list-style: none; }
.catalog-group-title:has(.catalog-group-arrow:empty) { display: list-item; list-style: revert; }
.catalog-group-title:has(.catalog-group-arrow:empty) .catalog-group-name { margin-right: 8px; }
.catalog-group-title:has(.catalog-group-arrow:not(:empty))::-webkit-details-marker { display:none; }
.catalog-group-title:hover, .catalog-group[open] .catalog-group-title { background: #edf6fb; }
.catalog-group-name { font-weight: 650; overflow-wrap: anywhere; }
.catalog-group-count { color: var(--muted); font-size: .85rem; }
.catalog-group-arrow { display: inline-flex; margin-left: auto; flex: none; }
.catalog-group[open] .catalog-group-title .ph-icon { transform: rotate(180deg); }
.catalog-more { margin: 7px 12px 12px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 7px; background: white; color: var(--blue); cursor: pointer; font: inherit; font-weight: 650; }
.catalog-browser :is(input,summary,button):focus-visible { outline: 3px solid #087cab; outline-offset: 3px; }
.catalog-list { list-style: none; padding: 0; margin: 0; }
.catalog-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 20px; flex-wrap: wrap; padding: 16px 24px; overflow-wrap: anywhere; }
.catalog-row:not(:last-child) { border-bottom: 1px solid var(--line); }
.catalog-label { flex: 1 1 12rem; min-width: 0; }
.catalog-note { display: block; margin-top: 3px; font-size: .875rem; color: var(--muted); }
.catalog-price { flex: none; font-weight: 650; color: var(--blue); }

.visit { padding-block: 50px 52px; background: var(--navy); color: white; }
.visit-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 28px 56px; }
.visit .eyebrow { color: var(--sky); }
.visit-inner p:not(.eyebrow) { max-width: 36ch; color: #e1f1f9; }
.visit-card { padding: 22px 26px; background: #ffffff10; border: 1px solid #ffffff3a; border-radius: 18px; }
.visit-card dl { margin: 0 0 20px; }
.visit-card dl div + div { margin-top: 9px; }
.visit-card dt { color: #cce5f4; font-size: .875rem; }
.visit-card dd { margin: 0; font-weight: 630; }
.visit-card .action.primary { background: var(--sky); color: var(--navy); }
.visit-card .action.primary:hover { background: white; }
.visit-card .action.outline { color: white; border-color: #aac7da; }
.visit-card .action.outline:hover { background: #ffffff19; }
.visit a:focus-visible { outline-color: white; }
.footer { background: #f4f8fc; border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { min-height: 84px; display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-block: 15px; }
.footer-address { min-width: 0; overflow-wrap: anywhere; }
.footer-credit { margin-inline-start: auto; text-underline-offset: .18em; }
.footer-credit:hover { color: var(--blue); }

body.dialog-open { overflow: hidden; }
.modal { position: fixed; width: min(100% - 1.5rem, 540px); max-height: calc(100dvh - 2rem); margin: auto; padding: clamp(1.05rem, 4vw, 2rem); border: 1px solid var(--line); border-radius: 18px; background: white; color: var(--ink); overscroll-behavior: contain; }
.modal::backdrop { background: #102a3dcc; }
.modal h2 { margin: 0 36px .75rem 0; font-size: clamp(1.45rem, 4vw, 2rem); line-height: 1.2; color: var(--navy); }
.modal-close { position: absolute; top: .7rem; right: .7rem; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 9px; background: var(--paper); color: var(--navy); cursor: pointer; }
.modal-close:hover { background: #dcedf8; }
#callback-notice, #success-message { margin-bottom: 1rem; color: var(--muted); }
#callback-form { display: grid; gap: .75rem; }
#callback-form > label { display: block; font-weight: 650; }
#callback-form > label > span, .form-note { font-size: .9rem; font-weight: 400; color: var(--muted); }
#callback-form :is(input:not([type=checkbox]),textarea) { display: block; width: 100%; margin-top: 4px; padding: .55rem .7rem; border: 1px solid #a9c5d5; border-radius: 8px; font: inherit; font-weight: 400; color: var(--ink); }
#callback-form textarea { resize: vertical; }
#callback-form .consent { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: .55rem; font-size: .9rem; }
.consent input { width: 18px; height: 18px; margin: .2rem 0 0; accent-color: var(--blue); }
.bot-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #a42d26; }
.legal-link, .legal-body a { color: var(--blue); text-underline-offset: .18em; }
.legal-modal { width: min(100% - 1.5rem, 680px); padding: 0; }
.legal-modal[open] { display: flex; flex-direction: column; overflow: hidden; }
.legal-header, .legal-body, .legal-footer { padding-inline: clamp(1.05rem, 4vw, 2rem); }
.legal-header { position: relative; flex: none; padding-block: 1.15rem 1rem; border-bottom: 1px solid var(--line); }
.legal-header h2 { margin-bottom: 0; }
.legal-body { min-height: 0; overflow: auto; padding-block: 1rem; overscroll-behavior: contain; }
.legal-body p { margin: 0 0 .85rem; overflow-wrap: anywhere; }
.legal-body article > :last-child { margin-bottom: 0; }
.legal-body h3 { margin: 1.1rem 0 .35rem; font-size: 1.05rem; }
.legal-footer { flex: none; padding-block: .7rem; border-top: 1px solid var(--line); }

@media (max-width: 850px) {
  .wrap { width: calc(100% - 48px); }
  .hero { gap: 20px 28px; padding-top: 38px; }
  .top-inner { gap: 16px; }
  .hero-poster { border-radius: 19px; }
  .directions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 36px); }
  .top-inner { flex-wrap: wrap; justify-content: space-between; padding-block: 13px; gap: 12px; }
  .top nav { order: 3; flex-basis: 100%; }
  .brand { gap: 6px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { width: 86px; }
  .hero, .visit-inner { grid-template-columns: 1fr; }
  .hero { padding-block: 24px 23px; }
  .hero-copy { padding: 0; }
  .hero-poster { min-height: 232px; }
  .hero-details { grid-template-columns: 1fr; }
  .section, .visit { padding-block: 32px; }
  .catalog-status, .catalog-row { padding-inline: 16px; }
  .catalog-browser { padding: 12px; }
  .footer-inner { align-items: start; flex-direction: column; }
  .footer-credit { margin: 0; }
}
@media (max-width: 460px) {
  .directions { grid-template-columns: 1fr; }
  .direction { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 3px 14px; }
  .direction-icon { grid-row: span 2; margin: 0; width: 46px; height: 46px; }
  .direction p { margin: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
