@font-face {
    font-family: Manrope;
    src: url("fonts/manrope-cyrillic.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: Manrope;
    src: url("fonts/manrope-latin-ext.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: Manrope;
    src: url("fonts/manrope-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
    color-scheme: light;
    --ink: #161d37;
    --brand-blue: #293e9c;
    --blue-hover: #1d307e;
    --deep: #182653;
    --gold: #edc47e;
    --gold-hover: #f6d79f;
    --gold-border: #bd9151;
    --gold-ink: #765018;
    --paper: #fbf9f5;
    --line: #dcddeb;
    --muted: #4c536c;
    font-family: Manrope, "Segoe UI", system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
a { color: inherit; text-underline-offset: .22em; }
img { display: block; width: 100%; object-fit: cover; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { line-height: 1.1; font-weight: 720; }
h1 { font-size: clamp(2.35rem, 5.5vw, 5rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.4rem, 2vw, 1.85rem); letter-spacing: -.025em; }
:focus-visible { outline: 3px solid #bd782b; outline-offset: 4px; }
.wrap { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.skip { position: absolute; transform: translateY(-150%); z-index: 2; padding: .5rem 1rem; background: white; }
.skip:focus { transform: translateY(0); }
.header { background: var(--paper); }
.header-row, .footer-row { min-height: 5.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; font-size: 1.12rem; font-weight: 750; line-height: 1.12; }
.brand small { display: block; font-size: .82rem; font-weight: 450; line-height: 1.5; opacity: .85; }
.brand-mark {
    display: grid;
    place-items: center;
    width: 2.75rem;
    aspect-ratio: 1;
    flex: none;
    border: 1px solid var(--gold-border);
    border-radius: 50%;
    background: radial-gradient(circle at 28% 18%, var(--brand-blue), var(--deep) 82%);
    color: var(--gold);
    box-shadow: inset 0 0 0 2px var(--deep), inset 0 0 0 3px #edc47e65;
}
.brand-mark svg { width: 64%; height: 64%; }
.nav { display: flex; flex-wrap: wrap; gap: clamp(1rem, 3vw, 2.7rem); }
.nav a, .header-phone { text-decoration: none; font-weight: 600; white-space: nowrap; }
.nav a:hover, .header-phone:hover { text-decoration: underline; }
.hero, .contact-section { background: var(--brand-blue); color: var(--paper); }
.hero {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(ellipse at 94% 8%, #3b50a7 0%, transparent 53%),
        radial-gradient(ellipse at 72% 110%, #283e96 0%, transparent 58%),
        linear-gradient(115deg, #182653 0%, #233585 55%, #182653 100%);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: repeating-linear-gradient(135deg,
        transparent 0 43px, #edc47e24 43px 44px);
    mask-image: linear-gradient(110deg, transparent 42%, #0008 70%, #000 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(3rem, 6.5vw, 6.5rem); }
.eyebrow { color: var(--gold); text-transform: uppercase; font-size: .875rem; letter-spacing: .14em; font-weight: 650; margin-bottom: 1.5rem; }
.hero h1 em { color: var(--gold); font-style: normal; font-weight: 590; }
.intro { max-width: 33rem; color: #edf0ff; font-size: 1.125rem; margin-top: 1.6rem; }
.actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 2rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3.25rem; padding: .75rem 1.15rem; border: 1px solid transparent; border-radius: .25rem; font: inherit; font-weight: 650; text-decoration: none; text-align: center; cursor: pointer; }
.primary { background: var(--gold); color: var(--deep); }
.primary:hover { background: var(--gold-hover); }
.outline { border-color: #b6c1ef; color: var(--paper); }
.outline:hover { background: var(--blue-hover); }
.dark { background: var(--brand-blue); color: white; }
.dark:hover { background: var(--blue-hover); }
.hero-photo-frame { border: 1px solid var(--gold-border); padding: .55rem; }
.hero-photo img { aspect-ratio: 1.12; height: auto; object-position: 53% center; }
.hero-photo figcaption { margin-top: .75rem; color: var(--paper); text-align: center; font-size: .92rem; }
.section { padding-block: clamp(3.4rem, 7vw, 7rem); }
.section-heading { margin-bottom: 2rem; }
.section-heading p { margin-top: .75rem; max-width: 37rem; color: var(--muted); font-size: 1.08rem; }
.section-heading .button { margin-top: 1.5rem; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.service-card { border: 1px solid var(--line); background: #fff; }
.service-card:hover { border-color: var(--gold-border); }
.service-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.service-card img { aspect-ratio: 1.9; }
.card-copy { padding: 1.2rem; display: flex; flex-direction: column; flex: 1; }
.card-copy p { color: var(--muted); margin: .75rem 0 1.2rem; }
.more { margin-top: auto; color: var(--brand-blue); text-decoration: underline; font-weight: 650; }
.tinted { background: #eef0fa; }
.split { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(2rem, 6vw, 6rem); }
.price-list { margin: 0; border-top: 1px solid #c9cde4; }
.price-row { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1.2rem; padding: 1.1rem 0; border-bottom: 1px solid #c9cde4; }
.price-row dt span { display: block; color: var(--muted); margin-top: .25rem; }
.price-row dd { margin: 0; font-weight: 700; color: var(--brand-blue); }
.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.review { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 1rem; }
.stars { color: var(--gold-ink); letter-spacing: .12em; }
.review blockquote { white-space: pre-line; }
.review figcaption { margin-top: auto; font-weight: 650; }
.review figcaption span { margin-left: .8rem; font-weight: 400; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 6rem); }
.contact-copy > a { display: block; width: fit-content; }
.contact-phone { font-size: clamp(1.6rem, 4vw, 2.7rem); font-weight: 650; text-decoration: none; margin: 1rem 0 .25rem; color: var(--gold); }
.contact-copy address { margin-top: 1.5rem; font-style: normal; }
.contact-copy p { margin-top: 1rem; }
.messengers { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.messengers a { padding: .5rem .7rem; border: 1px solid #b6c1ef; border-radius: .25rem; text-decoration: none; }
.messengers a:hover { background: var(--blue-hover); }
.feedback { background: var(--paper); color: var(--ink); padding: clamp(1.2rem, 4vw, 2.25rem); display: grid; gap: .85rem; scroll-margin-top: 1rem; }
.feedback h3 { margin-bottom: .4rem; }
.feedback label { display: grid; gap: .3rem; font-weight: 600; }
.feedback input, .feedback textarea { width: 100%; border: 1px solid #8189a9; border-radius: .25rem; background: white; color: var(--ink); font: inherit; font-weight: 400; padding: .65rem .75rem; }
.feedback textarea { resize: vertical; }
.form-note { color: var(--muted); font-size: .9rem; }
.feedback button { justify-self: start; }
.feedback button:disabled { opacity: .65; cursor: wait; }
#form-status[data-error] { color: #932c20; }
.footer { background: var(--deep); color: var(--paper); }
.footer-row { padding-block: 1.2rem; flex-wrap: wrap; }
.detail { padding-block: 3rem 6rem; min-height: 70vh; }
.detail h1 { margin: 1.1rem 0 2rem; overflow-wrap: anywhere; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .85fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.detail-text { max-width: 68ch; font-size: 1.1rem; overflow-wrap: anywhere; }
.detail-side { border: 1px solid var(--line); }
.detail-side img { aspect-ratio: 1.65; }
.detail-side div { padding: 1.25rem; }
.detail-side h2 { font-size: 1.7rem; margin-bottom: 1rem; }
.detail-phone { display: block; margin-top: .85rem; }
.admin h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.admin h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); margin-top: 1.5rem; }
.admin-error { padding: .75rem; color: #8b231b; border: 1px solid currentColor; margin-block: 1rem; }
.admin-form { padding-inline: 0; max-width: 42rem; }
.admin-toolbar, .admin-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.admin-toolbar { justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
.admin-toolbar .nav { order: 0; width: auto; }
.admin-toolbar [aria-current] { text-decoration: underline; }
.admin-actions { margin-top: .8rem; }
.admin-list { padding: 0; list-style: none; }
.admin-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.admin-delete { margin-top: 1rem; color: #8b231b; }
.admin-delete summary { cursor: pointer; }
.admin-delete button { margin-top: .5rem; border-color: currentColor; }
@media (max-width: 64rem) {
    .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .header-row { flex-wrap: wrap; padding-block: 1rem; gap: .7rem 1rem; }
    .nav { order: 3; width: 100%; }
}
@media (max-width: 45rem) {
    .hero::before { mask-image: linear-gradient(165deg, transparent 42%, #000 100%); }
    .wrap { width: calc(100% - 2rem); }
    .hero-grid, .split, .contact-grid, .detail-grid { grid-template-columns: 1fr; }
    .hero-photo img { aspect-ratio: 1.6; }
    .review-grid { grid-template-columns: 1fr; }
    .nav { gap: .35rem 1.15rem; }
    .nav a { padding-block: .4rem; }
}
@media (max-width: 31rem) {
    .service-grid, .price-row { grid-template-columns: 1fr; }
    .actions { flex-direction: column; align-items: stretch; }
    .header-phone { font-size: .9rem; }
    .brand { font-size: 1.05rem; gap: .45rem; }
    .brand-mark { width: 2rem; }
}
