:root {
    color-scheme: light;
    --navy: #081a33;
    --gold: #ffc928;
    --paper: #f4f7fb;
    color: var(--navy);
    background: var(--paper);
    font-family: Inter, Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, input:focus-visible { outline: 3px solid #4085e5; outline-offset: 4px; }
.shell { width: min(1200px, calc(100% - 2.5rem)); margin-inline: auto; }
.header { background: var(--navy); color: white; border-bottom: 1px solid #38516c; }
.nav, .wordmark, .languages, .nav nav { display: flex; align-items: center; }
.nav { justify-content: space-between; gap: 1rem; min-height: 76px; }
.wordmark { gap: .75rem; font-weight: 750; line-height: 1.1; }
.brand-symbol { display: block; object-fit: contain; border: 1px solid #ffc92855; border-radius: 10px; flex-shrink: 0; }
.brand-text { display: grid; gap: .22rem; }
.brand-text strong { font-size: 1.05rem; font-weight: 900; }
.brand-text span { color: var(--gold); font-size: .56rem; font-weight: 800; letter-spacing: .09em; }
.brand-text small { color: #b9c8dc; font-size: .62rem; letter-spacing: .1em; }
.nav nav { gap: 2rem; }
.languages { gap: .3rem; }
.languages a { padding: .5rem; border-radius: .4rem; }
.languages [aria-current] { background: var(--gold); color: var(--navy); font-weight: 750; }
.hero { background: radial-gradient(circle at 80% 25%, #21436c 0, #102b50 30%, #081a33 70%); color: white; }
.hero-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem; padding-block: 2.25rem; }
.hero img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; }
.location { color: var(--gold); letter-spacing: .14em; font-size: .875rem; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); letter-spacing: -.055em; line-height: 1.02; margin: .65rem 0 1rem; }
.hero p { color: #dce5f1; font-size: 1.125rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.65rem; }
.button { background: var(--gold); color: var(--button-ink, var(--navy)); padding: .9rem 1.25rem; border-radius: 10px; font-weight: 800; text-align: center; }
.secondary { text-decoration: underline; text-underline-offset: .26em; }
.services { padding-block: 2.6rem; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
h2 { margin: 0; font-size: clamp(1.75rem, 4vw, 2.6rem); letter-spacing: -.04em; }
input { width: min(100%, 380px); border: 1px solid #8494a7; background: white; border-radius: 9px; padding: .75rem 1rem; font: inherit; color: inherit; }
.grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid li a { height: 100%; min-height: 94px; display: flex; gap: 1rem; align-items: center; background: white; border: 1px solid #dce2eb; border-radius: 14px; padding: 1rem; font-weight: 750; overflow-wrap: anywhere; }
.grid li a:hover, .grid li a[aria-current] { border-color: #b88a11; background: #fff9e9; }
.grid li small { color: #45556c; font-weight: 500; }
.catalog-heading { margin-top: 2rem; }
#catalog { scroll-margin-top: 1rem; }
.price-note { margin: 1.5rem 0 .75rem; color: #45556c; }
.catalog-group { margin-bottom: 1.5rem; }
.catalog-group h3 { margin: 0 0 .65rem; }
.catalog-group h3 a:hover { text-decoration: underline; }
.service-list { list-style: none; margin: 0; padding: 0; background: white; border: 1px solid #dce2eb; border-radius: 14px; }
.service-list li { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 1rem; row-gap: .35rem; padding: .85rem 1rem; }
.service-list li + li { border-top: 1px solid #dce2eb; }
.service-list li[hidden] { display: none; }
.service-price { font-weight: 700; }
.service-price small { color: #45556c; font-size: .875rem; font-weight: 400; }
.icon { flex: 0 0 48px; height: 48px; display: grid; place-items: center; border-radius: 11px; background: #fff0c8; color: var(--navy); font-size: 1.65rem; }
.booking { border: 1px solid #dce2eb; border-radius: 14px; background: white; padding: 1.5rem; }
.booking p { margin-bottom: 0; }
.booking-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; align-items: end; }
.booking-form label { display: grid; gap: .4rem; font-weight: 600; }
.booking-form input:not([type="hidden"]), .booking-form select, .booking-form textarea { width: 100%; border: 1px solid #8494a7; border-radius: 9px; padding: .75rem 1rem; background: white; color: inherit; font: inherit; }
.booking-form textarea { resize: vertical; }
.booking-form .button { justify-self: start; }
.form-wide { grid-column: 1 / -1; }
button.button { border: 0; cursor: pointer; font: inherit; font-weight: 800; }
.service-book, .text-link { text-decoration: underline; text-underline-offset: .2em; }
.service-book { display: inline-block; margin-inline-start: .6rem; font-size: .875rem; }
.notice { padding: .8rem 1rem; border-radius: 8px; }
.notice.success { background: #e5f6ea; color: #174827; }
.notice.error { background: #fff0f0; color: #842525; }
.crm-main { padding-block: 2rem; }
.crm-account { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .75rem; }
.crm-login { max-width: 440px; margin-inline: auto; }
.crm-login .booking-form { grid-template-columns: 1fr; }
.crm-detail, .crm-list { margin-top: 1rem; }
.crm-filters { align-items: end; margin-bottom: 1.5rem; }
.crm-columns { margin: 0; border: 1px solid #dce2eb; border-radius: 9px; }
.crm-columns label { display: inline-flex; align-items: center; padding: .4rem .85rem .4rem 0; }
.booking-form .crm-columns input { width: auto; }
.booking-form input.crm-accent { height: 2.9rem; max-width: 9rem; padding: .3rem; }
.crm-detail dl { display: grid; grid-template-columns: minmax(8rem, auto) minmax(0, 1fr); gap: .75rem; margin-top: 0; }
.crm-detail dt { font-weight: 700; }
.crm-detail dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.crm-pagination { display: flex; gap: 1rem; margin-top: 1rem; }
.footer { padding-block: 2rem; color: #45556c; }

@media (max-width: 740px) {
    .nav nav { display: none; }
    .nav { gap: .6rem; }
    .nav .wordmark { gap: .55rem; }
    .nav .brand-symbol { width: 48px; height: 48px; }
    .brand-text strong { font-size: .9rem; }
    .hero-layout { grid-template-columns: 1fr; gap: 1.3rem; }
    .section-heading { align-items: stretch; flex-direction: column; }
    .grid { grid-template-columns: repeat(2, 1fr); }
    .grid li a { flex-direction: column; align-items: flex-start; gap: .55rem; padding: .75rem; }
    .icon { flex: 0 0 44px; width: 44px; }
    .booking-form { grid-template-columns: 1fr; }
}
