:root {
    --white: #fff;
    --header-bg: #f6fafc;
    --soft: #f3f8fb;
    --soft-blue: #e7f5fb;
    --ink: #173246;
    --muted: #607786;
    --blue: #075c9d;
    --blue-dark: #064a7e;
    --cyan: #08a9df;
    --line: #dbe8ee;
    --success: #18794e;
    --success-soft: #e9f7ef;
    --error: #b42318;
    --error-soft: #fff0ee;
    --shadow: 0 18px 48px rgba(23, 50, 70, .10);
    --shell: min(1180px, calc(100% - 40px));
    --radius: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 140px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 16px/1.65 Inter, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 6vw, 5.9rem); }
h2 { font-size: clamp(2.15rem, 4vw, 3.8rem); }
h3 { font-size: 1.25rem; }
p { color: var(--muted); }
address { color: var(--muted); font-style: normal; }

.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 10px 14px; background: var(--ink); color: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.section-shell { width: var(--shell); margin-inline: auto; }
.section-space { padding-block: 105px; }
.eyebrow { margin-bottom: 16px; color: var(--cyan); font-size: .78rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }

.site-header { position: relative; z-index: 50; background: var(--header-bg); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; width: var(--shell); min-height: 92px; margin-inline: auto; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { flex: 0 0 auto; width: 52px; height: auto; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy strong { font-size: 1rem; letter-spacing: -.01em; }
.brand-copy small { margin-top: 6px; color: var(--muted); font-size: .64rem; letter-spacing: .07em; }
.main-navigation { display: flex; align-items: center; gap: 28px; }
.main-navigation a { position: relative; color: #3f596b; font-size: .87rem; font-weight: 650; white-space: nowrap; }
.main-navigation a::after { content: ""; position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; background: var(--cyan); transform: scaleX(0); transition: transform .2s ease; }
.main-navigation a:hover::after, .main-navigation a:focus-visible::after, .main-navigation a[aria-current="page"]::after { transform: scaleX(1); }
.header-contacts { display: flex; flex: 0 0 auto; flex-direction: column; gap: 5px; padding-block: 8px; padding-left: 18px; border-left: 1px solid var(--line); }
.header-phone { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); white-space: nowrap; }
.header-phone:hover strong, .header-phone:focus-visible strong { text-decoration: underline; text-underline-offset: 3px; }
.header-whatsapp .phone-icon { color: var(--success); background: var(--success-soft); }
.header-phone > span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.header-phone small { color: var(--muted); font-size: .65rem; }
.header-phone strong { font-size: .85rem; }
.phone-icon { display: grid; flex: 0 0 auto; place-items: center; width: 34px; height: 34px; color: var(--blue); background: var(--soft-blue); border-radius: 50%; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-toggle > span:not(.visually-hidden) { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); }

.notice-banner { background: var(--blue); color: var(--white); border-block: 2px solid #ff3300; }
.site-header + .notice-banner { margin-top: 12px; }
.notice-inner { display: flex; align-items: center; gap: 13px; width: var(--shell); min-height: 52px; margin-inline: auto; padding-block: 10px; }
.notice-symbol { display: block; flex: 0 0 auto; width: 32px; height: 32px; }
.notice-content { font-size: .9rem; }
.notice-content p { margin: 0; color: inherit; }
.notice-content a { text-decoration: underline; text-underline-offset: 3px; }

.hero { position: relative; min-height: 640px; padding-block: 70px; overflow: hidden; isolation: isolate; }
.hero-copy { position: relative; z-index: 2; max-width: 680px; }
.hero h1 { margin-bottom: 26px; font-weight: 700; }
.hero h1 span { color: var(--blue); }
.hero-intro { max-width: 620px; font-size: 1.12rem; }
.button-row { display: flex; align-items: center; gap: 25px; margin-top: 36px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 12px 20px; border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; font-size: .9rem; font-weight: 750; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--blue); color: var(--white); }
.button-primary:hover, .button-primary:focus-visible { background: var(--blue-dark); }
.button-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.button-outline:hover, .button-outline:focus-visible { background: var(--soft-blue); }
.button-small { min-height: 40px; padding: 8px 15px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 750; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; transition: text-decoration-color .2s; }
.text-link:hover, .text-link:focus-visible { text-decoration-color: var(--cyan); }
.hero-illustration { position: absolute; z-index: 1; top: 50%; right: 0; width: min(860px, 73vw); margin: 0; opacity: .18; pointer-events: none; transform: translateY(-50%); -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .25) 0%, #000 43%); mask-image: linear-gradient(90deg, rgba(0, 0, 0, .25) 0%, #000 43%); }
.hero-illustration img { display: block; width: 100%; height: auto; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); width: var(--shell); margin-inline: auto; border-block: 1px solid var(--line); }
.facts > div { display: flex; justify-content: center; align-items: baseline; gap: 8px; min-height: 84px; padding: 20px; border-right: 1px solid var(--line); text-align: center; }
.facts > div:last-child { border-right: 0; }
.facts strong { color: var(--blue); font-size: 1.3rem; }
.facts span { color: var(--muted); font-size: .82rem; }

.shops-section { background: var(--soft); }
.split-heading { display: grid; grid-template-columns: 1fr .75fr; gap: 80px; align-items: end; margin-bottom: 55px; }
.split-heading h2 { margin-bottom: 0; }
.split-heading > p { max-width: 560px; margin-bottom: 0; }
.shop-list { border-top: 1px solid var(--line); }
.shop-row { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 24px; padding-block: 20px; border-bottom: 1px solid var(--line); transition: background .2s ease, padding .2s ease; }
.shop-row:hover, .shop-row:focus-visible { padding-inline: 16px; background: var(--soft-blue); }
.shop-row img { width: 150px; height: 100px; padding: 4px; object-fit: contain; }
.shop-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 20px; }
.shop-copy > strong { grid-column: 1; color: var(--ink); font-size: 1.3rem; }
.shop-copy > small { grid-column: 1; margin-top: 7px; color: var(--muted); font-size: .83rem; }
.shop-metrics { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 7px 38px; margin-top: 13px; padding: 9px 12px; background: #eef1f3; border: 1px solid rgba(23, 50, 70, .07); }
.shop-metric { display: inline-flex; flex-direction: column; align-items: center; gap: 1px; text-align: center; white-space: nowrap; }
.shop-metric-value { color: var(--blue); font-family: Consolas, "Liberation Mono", Menlo, monospace; font-size: .94rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 0; text-align: right; }
.shop-metric-label { color: var(--muted); font-size: .66rem; }
.shop-button { grid-column: 2; grid-row: 1 / span 2; align-self: center; padding: 8px 13px; color: var(--blue); border: 1px solid rgba(31, 91, 137, .55); font-size: .72rem; font-weight: 700; letter-spacing: .02em; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.shop-row:hover .shop-button, .shop-row:focus-visible .shop-button { color: #fff; background: var(--blue); border-color: var(--blue); }

.powder-coating { background: var(--white); }
.powder-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 4vw, 56px); padding: 32px; background: #102c40; }
.powder-feature > * { min-width: 0; }
.powder-media { position: relative; width: 100%; min-height: 0; aspect-ratio: 1; align-self: center; overflow: hidden; background: #dfe7eb; }
.powder-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(16, 44, 64, .45)); pointer-events: none; }
.powder-slider { position: absolute; inset: 0; }
.powder-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transform: scale(1.02); transition: opacity .7s ease, transform 5.5s ease; }
.powder-slide.is-active { opacity: 1; transform: scale(1); }
.powder-category-mark { position: absolute; z-index: 2; top: 20px; left: 20px; width: 48px; padding: 8px; background: rgba(255, 255, 255, .96); border-bottom: 3px solid var(--cyan); box-shadow: 0 10px 30px rgba(16, 44, 64, .2); }
.powder-category-mark img { display: block; width: 100%; height: auto; }
.powder-slider-controls { position: absolute; z-index: 3; top: 20px; right: 20px; display: flex; align-items: center; overflow: hidden; color: var(--blue); background: rgba(255, 255, 255, .94); box-shadow: 0 8px 24px rgba(16, 44, 64, .18); }
.powder-slider-controls button { display: grid; width: 36px; height: 36px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; place-items: center; cursor: pointer; transition: color .2s ease, background .2s ease; }
.powder-slider-controls button:hover, .powder-slider-controls button:focus-visible { color: var(--white); background: var(--blue); }
.powder-slider-controls span { min-width: 48px; color: var(--muted); font-size: .66rem; font-variant-numeric: tabular-nums; text-align: center; }
.powder-swatches { position: absolute; z-index: 2; right: 20px; bottom: 20px; display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 9px 13px; background: rgba(255, 255, 255, .94); box-shadow: 0 8px 30px rgba(16, 44, 64, .16); }
.powder-swatches img { width: 22px; height: 22px; }
.powder-swatches strong { color: var(--blue); font-size: .78rem; letter-spacing: .12em; }
.powder-copy { display: flex; flex-direction: column; justify-content: center; }
.powder-copy h2 { max-width: 650px; margin-bottom: 22px; color: var(--white); font-size: clamp(2rem, 3.4vw, 3rem); }
.powder-intro { max-width: 720px; margin-bottom: 0; color: #c5d7e1; font-size: 1rem; }
.powder-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; padding: 0 32px 32px; margin: 0; background: #102c40; list-style: none; }
.powder-benefits li { display: flex; flex-direction: column; padding: 22px; border-top: 2px solid var(--cyan); background: #15364d; }
.powder-benefits strong { color: var(--white); font-size: .92rem; }
.powder-benefits span { margin-top: 5px; color: #b9ceda; font-size: .8rem; line-height: 1.5; }
.powder-copy .button-row { margin-top: 26px; gap: 18px; }
.button-light { background: var(--white); color: var(--blue); }
.button-light:hover, .button-light:focus-visible { background: var(--soft-blue); }
.powder-contact-link { color: #7cddfb; }
.powder-process { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; margin: 0; background: var(--soft-blue); list-style: none; }
.powder-process li { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 28px 32px; border-right: 1px solid #cfe4ed; }
.powder-process li:last-child { border-right: 0; }
.powder-process span { grid-row: 1 / 3; color: var(--cyan); font-size: 1.5rem; font-weight: 800; line-height: 1; }
.powder-process strong { color: var(--ink); font-size: .9rem; }
.powder-process small { margin-top: 3px; color: var(--muted); font-size: .72rem; }

.product-section { background: var(--soft); }
.section-heading { max-width: 720px; margin-bottom: 50px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading > p:last-child { margin-bottom: 0; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.product-card { min-height: 250px; padding: 30px 25px; background: var(--white); text-align: center; }
.product-card img { width: 72px; height: 72px; margin-bottom: 22px; object-fit: contain; border-radius: 6px; }
.product-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.product-card p { margin-bottom: 0; font-size: .8rem; }

.about-section { background: var(--soft); }
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-photo-wrap { position: relative; }
.about-photo-wrap picture { display: block; }
.about-photo-wrap img { display: block; width: 100%; aspect-ratio: 1024 / 533; min-height: 430px; object-fit: cover; }
.photo-label { position: absolute; right: 0; bottom: 0; padding: 12px 16px; background: var(--white); color: var(--blue); font-size: .75rem; font-weight: 750; }
.about-copy h2 { font-size: clamp(2.25rem, 4.1vw, 3.9rem); }
.about-copy .button { margin-top: 18px; }

.testimonials { overflow: hidden; background: var(--white); }
.testimonial-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 45px; }
.testimonial-heading h2 { margin-bottom: 0; }
.testimonial-controls { display: flex; gap: 8px; }
.testimonial-controls button { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); background: var(--white); color: var(--blue); cursor: pointer; font-size: 1.25rem; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.testimonial-controls button:hover, .testimonial-controls button:focus-visible { border-color: var(--cyan); background: var(--blue); color: var(--white); }
.testimonial-controls button:disabled { cursor: default; opacity: .35; }
.testimonial-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; padding: 3px 3px 18px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-color: var(--cyan) var(--line); scrollbar-width: thin; }
.testimonial-card { display: flex; flex-direction: column; min-height: 390px; padding: 34px 32px 30px; background: var(--white); border-top: 3px solid var(--cyan); box-shadow: 0 10px 32px rgba(23, 50, 70, .06); scroll-snap-align: start; }
.quote-mark { height: 52px; color: var(--cyan); font: 700 4.8rem/.9 Georgia, serif; }
.testimonial-card blockquote { margin: 12px 0 30px; color: var(--ink); font-size: .94rem; line-height: 1.7; }
.testimonial-card footer { display: flex; flex-direction: column; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.testimonial-card footer a { width: fit-content; color: var(--blue); font-weight: 800; }
.testimonial-card footer a:hover, .testimonial-card footer a:focus-visible { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.testimonial-card footer span { margin-top: 3px; color: var(--muted); font-size: .72rem; }

.service-callout { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; margin-top: 32px; padding: 34px 38px; background: var(--soft-blue); }
.service-icon { display: grid; place-items: center; width: 52px; height: 52px; border: 2px solid var(--cyan); border-radius: 50%; color: var(--blue); font-size: 1.35rem; font-weight: 800; }
.service-callout p { margin-bottom: 2px; font-size: .8rem; }
.service-callout h2 { margin-bottom: 0; color: var(--blue); font-size: 1.55rem; }

.page-hero { display: grid; grid-template-columns: 1fr .8fr; gap: 70px; align-items: end; padding-block: 90px 70px; }
.page-hero h1 { margin-bottom: 18px; }
.page-hero > div:first-child > p:last-child { max-width: 650px; margin-bottom: 0; font-size: 1.05rem; }
.contact-quickfacts { border-top: 1px solid var(--line); }
.contact-quickfacts > * { display: flex; flex-direction: column; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-quickfacts small { color: var(--muted); font-size: .72rem; }
.contact-quickfacts strong { margin-top: 3px; color: var(--blue); font-size: .95rem; }
.contact-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(50px, 8vw, 110px); padding-top: 25px; }
.contact-aside { position: sticky; top: 25px; align-self: start; }
.contact-aside h2 { font-size: clamp(2rem, 3vw, 3rem); }
.address-block { margin: 35px 0 24px; padding: 24px 0; border-block: 1px solid var(--line); }
.address-block h3 { margin-bottom: 10px; font-size: 1rem; letter-spacing: 0; }
.address-block p { margin: 18px 0 0; font-size: .82rem; }
.form-panel { padding: 42px; background: var(--soft); }
.form-heading { margin-bottom: 32px; }
.form-heading h2 { margin-bottom: 9px; font-size: 2.25rem; }
.form-heading > p:last-child { margin-bottom: 0; font-size: .78rem; }
.form-panel fieldset { padding: 0; margin: 0 0 34px; border: 0; }
.form-panel legend { width: 100%; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1rem; font-weight: 750; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.span-2 { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; }
.field label { margin-bottom: 7px; color: var(--ink); font-size: .8rem; font-weight: 700; }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea, .rich-editor { width: 100%; border: 1px solid #c7d7df; border-radius: var(--radius); background: var(--white); color: var(--ink); }
.field input, .field select { min-height: 48px; padding: 10px 12px; }
.field textarea { min-height: 180px; padding: 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .rich-editor:focus { outline: 3px solid rgba(8, 169, 223, .2); border-color: var(--cyan); }
[aria-invalid="true"] { border-color: var(--error) !important; }
.field-error { display: block; margin-top: 6px; color: var(--error); font-size: .75rem; }
.field-meta { display: flex; justify-content: space-between; gap: 15px; margin-top: 6px; color: var(--muted); font-size: .7rem; }
.checkbox-field { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 10px; }
.checkbox-field input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--blue); }
.checkbox-field label { color: var(--muted); font-size: .78rem; }
.checkbox-field a { color: var(--blue); text-decoration: underline; }
.submit-button { margin-top: 28px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { margin-bottom: 25px; padding: 13px 16px; border-left: 4px solid; font-size: .86rem; }
.form-alert.success { border-color: var(--success); background: var(--success-soft); color: var(--success); }
.form-alert.error { border-color: var(--error); background: var(--error-soft); color: var(--error); }

.site-footer { margin-top: 30px; background: #102c40; color: var(--white); }
.footer-main { display: grid; grid-template-columns: 1.45fr repeat(3, 1fr); gap: 50px; width: var(--shell); margin-inline: auto; padding-block: 45px 30px; }
.site-footer h2 { margin-bottom: 15px; color: var(--white); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.site-footer p, .site-footer address, .site-footer li { color: #bdd0dc; font-size: .82rem; }
.site-footer ul { padding: 0; margin: 0; list-style: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: #65d5fa; }
.footer-brand { display: inline-block; margin-bottom: 15px; color: var(--white); font-size: 1.25rem; font-weight: 800; }
.footer-about p { max-width: 360px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; width: var(--shell); margin-inline: auto; padding-block: 14px; border-top: 1px solid rgba(255, 255, 255, .14); }
.footer-bottom p { margin: 0; }
.footer-updated { display: inline-block; }
.footer-bottom nav { display: flex; gap: 22px; color: #bdd0dc; font-size: .78rem; }
.footer-link-button { padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; font: inherit; }
.footer-link-button:hover, .footer-link-button:focus-visible { color: #65d5fa; }

.cookie-consent { position: fixed; z-index: 1000; right: 22px; bottom: 22px; left: 22px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; max-width: 1180px; margin-inline: auto; padding: 26px 28px; border-top: 4px solid var(--cyan); background: var(--white); box-shadow: 0 12px 45px rgba(16, 44, 64, .28); }
.cookie-consent[hidden] { display: none; }
.cookie-consent h2 { margin-bottom: 8px; color: var(--ink); font-size: 1.25rem; }
.cookie-consent p { max-width: 780px; margin: 0; color: var(--muted); font-size: .82rem; }
.cookie-consent a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.cookie-consent-actions { display: flex; gap: 10px; }
.cookie-consent-actions .button { white-space: nowrap; }

/* Legal pages */
.legal-page { padding-bottom: 100px; }
.legal-hero { padding-block: 90px 55px; border-bottom: 1px solid var(--line); }
.legal-hero h1 { margin-bottom: 0; font-size: clamp(3.5rem, 7vw, 6.4rem); }
.legal-layout { display: grid; grid-template-columns: minmax(250px, .55fr) minmax(0, 1.45fr); gap: clamp(45px, 8vw, 110px); padding-top: 65px; }
.legal-contact { position: sticky; top: 28px; align-self: start; padding: 30px; background: var(--soft); border-top: 3px solid var(--cyan); }
.legal-contact p { margin-bottom: 22px; font-size: .88rem; }
.legal-contact p:last-child { margin-bottom: 0; }
.legal-contact strong { color: var(--ink); font-size: 1rem; }
.legal-contact a, .legal-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-contact a:hover, .legal-contact a:focus-visible, .legal-content a:hover, .legal-content a:focus-visible { color: var(--cyan); }
.legal-content > p:first-child { margin-bottom: 55px; padding: 25px 28px; border-left: 3px solid var(--cyan); background: var(--soft-blue); color: var(--ink); }
.legal-content section { margin-top: 48px; }
.legal-content h2 { margin-bottom: 18px; color: var(--blue); font-size: clamp(1.55rem, 2.5vw, 2.15rem); letter-spacing: -.02em; }
.legal-content p { color: #405c6e; font-size: .94rem; }
.legal-credits { padding-top: 32px; border-top: 1px solid var(--line); }

/* Administration */
.admin-body { min-height: 100vh; background: var(--soft); }
.admin-shell { width: min(1040px, calc(100% - 32px)); margin: 35px auto 70px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 45px; padding: 15px 18px; background: var(--white); border-bottom: 1px solid var(--line); }
.login-panel { width: min(470px, 100%); margin: 70px auto; padding: 42px; background: var(--white); box-shadow: var(--shadow); }
.login-panel h1 { margin-bottom: 12px; font-size: 2.4rem; }
.login-panel .field { margin-block: 25px 18px; }
.hash-generator-panel { width: min(680px, 100%); }
.hash-output textarea { min-height: 92px; font: .8rem/1.55 Consolas, "Courier New", monospace; overflow-wrap: anywhere; }
.generator-config { margin: 22px 0 30px; padding: 18px; overflow-x: auto; background: #102c40; color: #d8edf7; font: .78rem/1.65 Consolas, "Courier New", monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-title { display: flex; justify-content: space-between; align-items: start; gap: 30px; margin-bottom: 32px; }
.admin-title h1 { margin-bottom: 12px; font-size: clamp(2.2rem, 5vw, 3.8rem); }
.admin-title p:last-child { max-width: 680px; }
.status-pill { flex: 0 0 auto; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--muted); font-size: .72rem; font-weight: 750; }
.status-pill.online { border-color: #b5dec7; background: var(--success-soft); color: var(--success); }
.admin-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 24px; }
.admin-panel { padding: 28px; background: var(--white); border: 1px solid var(--line); }
.admin-panel h2 { margin-bottom: 25px; font-size: 1.25rem; }
.switch-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.switch-row > span:first-child { display: flex; flex-direction: column; }
.switch-row small { color: var(--muted); font-size: .72rem; }
.switch { position: relative; flex: 0 0 auto; width: 48px; height: 26px; }
.switch input { position: absolute; opacity: 0; }
.switch > span { position: absolute; inset: 0; border-radius: 99px; background: #bccbd3; cursor: pointer; transition: background .2s; }
.switch > span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); transition: transform .2s; box-shadow: 0 2px 7px rgba(0, 0, 0, .18); }
.switch input:checked + span { background: var(--blue); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:focus-visible + span { outline: 3px solid rgba(8, 169, 223, .3); }
.date-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.admin-help { margin: 14px 0 0; font-size: .72rem; }
.editor-toolbar { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; }
.editor-toolbar button { min-height: 34px; padding: 6px 10px; border: 1px solid var(--line); background: var(--soft); color: var(--ink); cursor: pointer; font-size: .72rem; }
.editor-toolbar button:hover, .editor-toolbar button:focus-visible { border-color: var(--cyan); background: var(--soft-blue); }
.rich-editor { min-height: 190px; padding: 14px; overflow: auto; }
.rich-editor p { margin: 0 0 .7em; color: var(--ink); }
.rich-editor a { color: var(--blue); text-decoration: underline; }
.admin-preview { margin-top: 24px; padding: 24px; background: var(--white); border: 1px solid var(--line); }
.preview-label { margin-bottom: 10px; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; }
.preview-banner .notice-inner { width: auto; padding-inline: 18px; }
.admin-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; }

@media (max-width: 1120px) {
    .header-inner { flex-wrap: wrap; gap: 0 20px; padding-block: 14px; }
    .main-navigation { gap: 18px; }
    .header-contacts { flex-basis: 100%; flex-direction: row; justify-content: flex-end; gap: 24px; margin-top: 12px; padding: 10px 0 0; border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 1020px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .powder-feature { padding: 26px; gap: 30px; }
    .powder-benefits { grid-template-columns: repeat(2, 1fr); padding: 0 26px 26px; }
    .testimonial-track { grid-auto-columns: calc((100% - 24px) / 2); }
    .footer-main { grid-template-columns: 1.35fr repeat(2, 1fr); }
    .footer-main > div:last-child { grid-column: 2; }
}

@media (max-width: 860px) {
    .menu-toggle { display: block; }
    .main-navigation { position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 15px 20px; background: var(--header-bg); border-bottom: 1px solid var(--line); box-shadow: 0 18px 35px rgba(23, 50, 70, .12); }
    .main-navigation.open { display: flex; }
    .main-navigation a { padding: 13px 10px; }
    .main-navigation a::after { display: none; }
}

@media (max-width: 780px) {
    :root { --shell: min(100% - 30px, 680px); }
    .section-space { padding-block: 72px; }
    .header-inner { min-height: 78px; }
    .brand img { width: 46px; }
    .page-hero, .about, .contact-layout, .legal-layout, .powder-feature { grid-template-columns: 1fr; }
    .hero { min-height: 590px; padding-block: 55px; }
    .hero-illustration { top: 54%; right: 0; width: min(680px, 100%); opacity: .12; -webkit-mask-image: none; mask-image: none; }
    .facts { grid-template-columns: 1fr 1fr; }
    .facts > div:nth-child(2) { border-right: 0; }
    .facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .split-heading { grid-template-columns: 1fr; gap: 20px; }
    .product-grid { grid-template-columns: 1fr 1fr; }
    .powder-feature { gap: 30px; padding: 24px; }
    .powder-copy h2 { font-size: clamp(2rem, 6vw, 2.7rem); }
    .powder-benefits { padding: 8px 24px 24px; }
    .powder-process { grid-template-columns: 1fr; }
    .powder-process li { border-right: 0; border-bottom: 1px solid #cfe4ed; }
    .powder-process li:last-child { border-bottom: 0; }
    .about-photo-wrap img { min-height: 340px; }
    .testimonial-track { grid-auto-columns: min(88%, 420px); }
    .page-hero { gap: 35px; padding-block: 65px 30px; }
    .contact-layout { padding-top: 20px; }
    .contact-aside { position: static; }
    .legal-page { padding-bottom: 72px; }
    .legal-hero { padding-block: 65px 38px; }
    .legal-layout { gap: 40px; padding-top: 40px; }
    .legal-contact { position: static; }
    .service-callout { grid-template-columns: auto 1fr; }
    .service-callout .text-link { grid-column: 2; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 35px; }
    .footer-main > div:last-child { grid-column: auto; }
    .admin-grid { grid-template-columns: 1fr; }
    .cookie-consent { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 540px) {
    :root { --shell: calc(100% - 24px); }
    body { font-size: 15px; }
    h1 { font-size: clamp(2.6rem, 13vw, 4rem); }
    h2 { font-size: 2.25rem; }
    .header-contacts { justify-content: space-between; gap: 6px; }
    .header-contacts .phone-icon { width: 26px; height: 26px; }
    .header-phone { gap: 4px; }
    .header-phone strong { font-size: .75rem; }
    .brand-copy small { display: none; }
    .brand-copy strong { font-size: .9rem; }
    .notice-inner { align-items: flex-start; }
    .hero-illustration { opacity: .10; }
    .button-row { align-items: stretch; flex-direction: column; }
    .button-row .text-link { justify-content: center; }
    .facts > div { flex-direction: column; gap: 0; align-items: center; }
    .shop-row { grid-template-columns: 80px 1fr; gap: 10px 14px; }
    .shop-row img { width: 80px; height: 72px; padding: 2px; }
    .shop-copy > strong { font-size: 1rem; }
    .shop-copy > small { display: none; }
    .shop-metrics { gap: 6px 20px; margin-top: 8px; padding: 7px 9px; }
    .shop-metric { gap: 1px; }
    .shop-metric-value { font-size: .8rem; }
    .shop-metric-label { font-size: .58rem; }
    .shop-button { grid-row: 1; padding: 6px 10px; font-size: .66rem; }
    .product-grid { grid-template-columns: 1fr; }
    .powder-feature { padding: 0; gap: 0; }
    .powder-category-mark { top: 16px; left: 16px; width: 48px; padding: 8px; }
    .powder-slider-controls { top: 16px; right: 16px; }
    .powder-slider-controls button { width: 32px; height: 32px; }
    .powder-slider-controls span { min-width: 42px; }
    .powder-swatches { right: 16px; bottom: 16px; }
    .powder-copy { padding: 30px 24px; }
    .powder-copy h2 { font-size: 2.15rem; }
    .powder-benefits { grid-template-columns: 1fr; padding-top: 0; }
    .powder-benefits li { padding: 18px; }
    .powder-copy .button-row { align-items: stretch; }
    .powder-contact-link { justify-content: center; }
    .powder-process li { padding: 24px 20px; }
    .product-card { min-height: 220px; }
    .testimonial-heading { align-items: flex-start; flex-direction: column; gap: 22px; margin-bottom: 30px; }
    .testimonial-card { min-height: 360px; padding: 28px 24px 24px; }
    .legal-contact { padding: 24px 20px; }
    .legal-content > p:first-child { margin-bottom: 42px; padding: 20px; }
    .legal-content section { margin-top: 38px; }
    .service-callout { padding: 25px; }
    .form-panel { padding: 26px 18px; }
    .form-grid { grid-template-columns: 1fr; }
    .span-2 { grid-column: auto; }
    .field-meta { align-items: flex-start; flex-direction: column; gap: 3px; }
    .footer-main { grid-template-columns: 1fr; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
    .footer-bottom nav, .cookie-consent-actions { align-items: stretch; flex-direction: column; }
    .footer-bottom nav { gap: 10px; }
    .footer-link-button { text-align: left; }
    .cookie-consent { right: 10px; bottom: 10px; left: 10px; padding: 22px 18px; }
    .admin-shell { width: calc(100% - 20px); margin-top: 10px; }
    .admin-header { margin-bottom: 28px; }
    .login-panel { margin-block: 25px; padding: 27px 20px; }
    .admin-title { align-items: flex-start; flex-direction: column; }
    .admin-panel { padding: 22px 17px; }
    .date-grid { grid-template-columns: 1fr; }
    .admin-preview { padding: 16px; }
    .admin-actions { align-items: stretch; flex-direction: column-reverse; gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
