:root {
    color-scheme: light;
    --paper: #f7f7ef;
    --white: #fffef7;
    --ink: #172820;
    --soft: #425246;
    --green: #284437;
    --lime: #ddeb9c;
    --lime-light: #ebefce;
    --line: #c9d1bf;
    --error: #923d2b;
    --wrap: min(100% - 112px, 1280px);
    --font: Manrope, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; scrollbar-gutter: stable; }
html:has(#order-dialog[open]) { overflow: hidden; }
body { margin: 0; min-width: 0; background: var(--paper); color: var(--ink); font: 500 1rem/1.62 var(--font); }
::selection { background: var(--lime); color: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .23em; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #60752b; outline-offset: 5px; }
h1, h2, h3, p, ul, ol, dl { margin: 0; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.04em; }
h1 { font-size: clamp(2.75rem, 5.7vw, 5.8rem); line-height: 1.015; }
h2 { font-size: clamp(2rem, 4.1vw, 4.25rem); line-height: 1.06; }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.7rem); line-height: 1.2; }
p { max-width: 65ch; }
.wrap { width: var(--wrap); margin-inline: auto; }
.section { padding-block: clamp(56px, 8vw, 116px); }
.skip-link { position: fixed; z-index: 10; left: 12px; top: 12px; padding: 12px 16px; color: var(--ink); background: var(--lime); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.site-header { position: relative; z-index: 2; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; min-height: 84px; }
.site-header--scroll {
    position: fixed;
    inset: 0 0 auto;
    z-index: 5;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-100%);
    transition: transform .24s cubic-bezier(.4, 0, 1, 1), visibility 0s .24s;
}
.site-header--scroll.is-visible {
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: transform .32s cubic-bezier(.16, 1, .3, 1), visibility 0s;
}
.site-header--scroll .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: clamp(12px, 1.25vw, 22px);
    min-height: 67px;
}
.site-header--scroll .wordmark svg { width: 97px; }
.site-header--scroll .header-order { min-height: 44px; padding: 8px 14px; font-size: .85rem; white-space: nowrap; }
.wordmark {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 44px;
    color: inherit;
}
.wordmark svg { display: block; width: 122px; height: auto; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; align-self: stretch; justify-content: center; gap: clamp(10px, 1.15vw, 17px); }
.site-header--scroll .site-nav { gap: clamp(8px, .85vw, 14px); }
.site-nav a { display: grid; align-items: center; min-height: 44px; font-size: .91rem; font-weight: 750; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current], .footer-grid a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.site-nav-sections { display: flex; align-self: stretch; gap: inherit; }
.site-nav-section { position: relative; display: flex; align-items: center; }
.site-nav-section-link { white-space: nowrap; }
.submenu-toggle {
    display: none;
    place-items: center;
    width: 28px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--soft);
}
.js .submenu-toggle { display: grid; }
.submenu-toggle:hover, .submenu-toggle[aria-expanded="true"] { color: var(--ink); }
.submenu-toggle span {
    width: 8px;
    height: 5px;
    background: currentColor;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    transition: transform .16s ease-out;
}
.submenu-toggle[aria-expanded="true"] span { transform: rotate(180deg); }
.site-submenu {
    position: absolute;
    inset: 100% auto auto -13px;
    z-index: 1;
    width: max-content;
    min-width: calc(100% + 26px);
    max-width: 280px;
    padding: 3px 12px;
    border: 1px solid var(--line);
    background: var(--paper);
    list-style: none;
    animation: submenu-in .16s ease-out both;
}
.site-submenu li + li { border-top: 1px solid var(--line); }
.site-submenu a { padding-block: 6px; color: var(--soft); font-weight: 650; line-height: 1.35; }
.site-submenu a:hover, .site-submenu a[aria-current="page"] { color: var(--ink); }
@keyframes submenu-in { from { opacity: 0; } to { opacity: 1; } }
.header-phone { display: grid; justify-self: end; gap: 1px; min-height: 44px; align-content: center; text-decoration: none; text-align: right; white-space: nowrap; }
.header-phone .header-phone-number { gap: 6px; font-size: 1.04rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.header-phone .contact-icon { inline-size: 1em; block-size: 1em; color: var(--green); }
.header-phone small { font-size: .71rem; color: var(--soft); }
.header-phone:hover span { text-decoration: underline; }
.menu-toggle { display: none; }

.hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.hero-grid { min-height: clamp(640px, calc(100svh - 85px), 960px); display: grid; grid-template-columns: 1.08fr .92fr; align-items: stretch; gap: clamp(24px, 3.5vw, 56px); padding-block: clamp(34px, 5.8vh, 68px); }
.hero-copy { align-self: center; padding-block: 30px 18px; }
.hero h1 span { display: block; margin-top: .12em; font-size: .79em; color: var(--green); }
.hero-copy > p { margin-top: 30px; max-width: 35ch; color: var(--soft); font-size: clamp(1rem, 1.45vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 32px; }
.hero-areas {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
    width: min(100%, 515px);
    margin-top: 44px;
    border-block: 1px solid var(--line);
}
.hero-areas a {
    display: flex;
    align-items: center;
    gap: clamp(7px, .9vw, 12px);
    min-height: 50px;
    padding-inline: clamp(8px, 1.3vw, 17px);
    color: var(--soft);
    text-decoration: none;
    font-weight: 800;
    font-size: .88rem;
    line-height: 1.2;
    transition: background-color .2s, color .2s;
}
.hero-areas svg {
    flex: none;
    color: var(--green);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.hero-areas a + a { border-left: 1px solid var(--line); }
.hero-areas a:hover { color: var(--ink); background: var(--lime-light); text-decoration: underline; }
.hero-frame {
    --portrait-ground: 26% 27% 0 0;
    position: relative;
    align-self: center;
    width: 100%;
    aspect-ratio: 1.16;
    isolation: isolate;
    min-width: 0;
    overflow: hidden;
}
.hero-frame::before, .hero-frame::after {
    content: "";
    position: absolute;
    inset: var(--portrait-ground);
    z-index: -1;
    border-radius: 8px;
    pointer-events: none;
}
.hero-frame::before { background: var(--lime); }
.hero-frame::after { background: url("../images/hero-grain.png") repeat; opacity: .19; }
.hero-matte { position: absolute; }
.hero-fieldwork {
    position: absolute;
    inset: 0 0 12% 15%;
    overflow: hidden;
    border-radius: 8px;
    background: var(--green);
}
.hero-fieldwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 66% center;
}
.hero-portrait {
    position: absolute;
    inset: auto auto -3px 0;
    width: 57%;
    filter: url("#hero-portrait-matte");
}
.hero-portrait img { width: 100%; height: auto; }
@media (prefers-reduced-motion: no-preference) {
    .hero[data-enter] .hero-copy { animation: hero-in .7s cubic-bezier(.16,1,.3,1) both; }
    .hero-frame[data-moment] .hero-fieldwork img { animation: fieldwork-in 1.05s cubic-bezier(.16,1,.3,1) both; }
    .hero-frame[data-moment] .hero-portrait img { animation: portrait-in .85s cubic-bezier(.16,1,.3,1) both; }
    @keyframes hero-in { from { opacity: .65; transform: translateY(14px); } to { opacity: 1; transform: none; } }
    @keyframes fieldwork-in { from { transform: scale(1.045); } to { transform: none; } }
    @keyframes portrait-in { from { transform: translateY(9px); } to { transform: none; } }
}
.btn, .text-link { display: inline-flex; align-items: center; width: fit-content; line-height: 1.25; text-decoration: none; font-weight: 800; }
.contact-link { display: inline-flex; align-items: center; gap: 9px; }
.contact-icon { flex: none; inline-size: 1.125em; block-size: 1.125em; vertical-align: -.15em; }
.btn { min-height: 53px; padding: 12px 22px; border: 1px solid transparent; border-radius: 7px; background: var(--lime); color: var(--ink); transition: transform .18s ease, background .18s ease; }
.btn:hover { background: #d3e68a; transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .64; cursor: wait; transform: none; }
.text-link { min-height: 44px; text-decoration: underline; text-decoration-color: #8d9c7c; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-color: currentColor; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 34px; }

.service-section h2 { color: var(--ink); }
.service-switch { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.service-switch button {
    min-height: 48px;
    margin-bottom: -1px;
    padding: 8px 18px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: var(--soft);
    font-weight: 800;
}
.service-switch button:hover { border-bottom-color: var(--line); color: var(--ink); }
.service-switch button[aria-selected=true] { border-bottom-color: var(--green); color: var(--ink); }
.menu-toggle { min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: transparent; text-decoration: none; font-weight: 750; }
.panel-heading { margin-bottom: 16px; }
[role=tabpanel] .service-row:first-of-type { border-top: 0; }
[role=tabpanel] .panel-heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.service-row { display: grid; grid-template-columns: 100px minmax(0, 1fr) minmax(165px, .36fr); gap: clamp(17px, 3.5vw, 52px); align-items: start; padding-block: 25px; border-top: 1px solid var(--line); }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-thumbs { display: flex; flex-wrap: wrap; gap: 6px; }
.service-thumb { display: block; width: 76px; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--white); }
.service-thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform .24s; }
.service-thumb--icon { background: var(--lime-light); }
.service-thumb--icon img { padding: 13%; }
a.service-thumb:hover img { transform: scale(1.04); }
.service-details h3 a, .product h2 a, .editorial-row a { text-decoration: none; }
.service-details h3 a:hover, .product h2 a:hover, .editorial-row a:hover { text-decoration: underline; }
.service-details p { margin-top: 8px; color: var(--soft); }
.service-prices { display: grid; gap: 8px; justify-items: start; }
.service-browser .service-row {
    grid-template-columns: 64px minmax(0, 1.15fr) minmax(0, 1fr);
    column-gap: clamp(18px, 2.3vw, 36px);
    align-items: center;
    padding-block: 22px;
}
.service-browser .service-thumb { width: 64px; }
.service-browser .service-details h3 { font-size: clamp(1.15rem, 1.8vw, 1.55rem); }
.service-browser .service-details p { margin-top: 5px; font-size: .94rem; }
.service-browser .service-prices {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(16px, 2.3vw, 36px);
}
.service-browser .service-prices > .text-link { grid-column: 2; }
.service-price-list {
    width: 100%;
    font-size: .875rem;
    line-height: 1.4;
}
.service-price-list > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 12px;
    padding-block: 6px;
}
.service-price-list > div + div { border-top: 1px solid var(--line); }
.service-price-list dt { color: var(--soft); overflow-wrap: anywhere; }
.service-price-list dd {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.process { background: var(--lime-light); }
.process-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px 32px;
    margin-bottom: clamp(24px, 4.5vw, 55px);
}
.process-head p { color: var(--soft); font-size: clamp(.95rem, 1.4vw, 1.13rem); }
.process-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
}
.process-list li {
    padding: clamp(18px, 2.4vw, 34px);
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--white);
}
.process-list li:nth-child(4) { background: var(--lime); border-color: transparent; }
.process-number {
    display: block;
    margin-bottom: clamp(17px, 2.3vw, 30px);
    color: var(--green);
    font-size: clamp(2.75rem, 5.2vw, 4.75rem);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.04em;
    line-height: .95;
}
.process-list h3 { font-size: clamp(1.12rem, 1.8vw, 1.48rem); }
.process-list p { margin-top: 9px; color: var(--soft); font-size: .93rem; line-height: 1.54; }

.consultation {
    position: relative;
    isolation: isolate;
    background: var(--green);
    color: var(--white);
}
.consultation::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgb(13 26 19 / .08), rgb(13 26 19 / .23) 36%, rgb(13 26 19 / .79) 51%, rgb(13 26 19 / .91));
    pointer-events: none;
}
.consultation-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    min-height: clamp(440px, 40vw, 650px);
}
.consultation-copy { grid-column: 2; padding-block: clamp(32px, 5vw, 72px); }
.consultation h2 { font-size: clamp(2rem, 4vw, 3.75rem); }
.consultation h2 span { display: block; color: var(--lime); }
.consultation-copy p {
    max-width: 39ch;
    margin-top: clamp(16px, 2.3vw, 28px);
    font-size: clamp(1rem, 1.35vw, 1.17rem);
    text-wrap: pretty;
}
.consultation-copy .btn { margin-top: clamp(20px, 2.5vw, 32px); }
.consultation-photo {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.consultation-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.consultation :focus-visible { outline-color: var(--lime); }

.home-content {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(24px, 5vw, 76px);
    align-items: start;
}
.home-content > h2 {
    max-width: 15ch;
    font-size: clamp(2rem, 4vw, 3.6rem);
    text-wrap: balance;
}
.home-content .rich-text {
    max-width: 64ch;
    color: var(--soft);
    font-size: clamp(1rem, 1.25vw, 1.125rem);
    line-height: 1.68;
}
.home-content .rich-text > :first-child { margin-top: 0; }
.home-content .rich-text > :last-child { margin-bottom: 0; }
.home-content .rich-text p { text-wrap: pretty; }
.home-content .rich-text > p:first-child { color: var(--ink); font-weight: 650; }
.home-content .rich-text h3 {
    margin-block: clamp(24px, 2.7vw, 34px) 10px;
    color: var(--ink);
    font-size: clamp(1.2rem, 1.85vw, 1.5rem);
    text-wrap: balance;
}
.partner-list { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 30px; }
.partner-list img { background: var(--white); object-fit: contain; }

.request-section { background: var(--lime-light); }
.request-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(26px, 7vw, 110px); }
.request-grid p { margin-top: 18px; color: var(--soft); }
.request-grid .text-link { margin-top: 13px; }
.order-form { display: grid; gap: 13px; width: 100%; }
.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.order-form label, .calculator label { display: block; margin-bottom: 5px; font-weight: 800; }
.order-form label span { font-size: .76rem; font-weight: 500; color: var(--soft); }
input, textarea, select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #9eaa95; border-radius: 6px; background: var(--white); color: var(--ink); }
textarea { min-height: 86px; resize: vertical; }
::placeholder { color: #556356; }
input[aria-invalid=true], textarea[aria-invalid=true] { border-color: var(--error); }
.field-error, .form-status.is-error { color: var(--error); }
.field-error:empty { display: none; }
.order-form .form-status { margin: 0; font-weight: 750; }
.site-footer { background: var(--ink); color: var(--white); }
.site-footer .wordmark { --logo-detail: #aabb76; --logo-accent: var(--lime); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 28px; padding-block: 45px; }
.footer-grid p { color: #cbd9ca; margin-top: 7px; }
.footer-grid nav, .footer-contacts { display: flex; gap: 0 19px; flex-wrap: wrap; align-content: start; }
.footer-contacts { flex-direction: column; }
.footer-grid nav a, .footer-contacts a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-contacts .contact-icon { color: var(--lime); }
.site-footer :focus-visible, .process :focus-visible { outline-color: var(--lime); }

.page-section { padding-block: clamp(34px, 5vw, 70px) clamp(58px, 8vw, 100px); }
.page-head { margin-bottom: clamp(27px, 5vw, 64px); }
.page-head h1 { font-size: clamp(2.45rem, 6vw, 5.25rem); overflow-wrap: anywhere; }
.breadcrumbs { display: flex; gap: 0 18px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; color: var(--soft); font-size: .84rem; }
.breadcrumbs a, .breadcrumbs span { display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumb-step { gap: 18px; }
.breadcrumb-separator { opacity: .62; }
.rich-text { max-width: 74ch; overflow-wrap: anywhere; }
.rich-text > :where(p, ul, ol, div, table, iframe, h2, h3, h4) { margin-block: 0 16px; }
.rich-text h2 { font-size: clamp(1.4rem, 2.7vw, 2.5rem); margin-top: 30px; }
.rich-text h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); margin-top: 24px; }
.rich-text iframe, .rich-text img, .map { max-width: 100%; border: 0; }
.rich-text table { display: block; overflow-x: auto; border-collapse: collapse; }
.rich-text td, .rich-text th { padding: 7px 11px; border-block-end: 1px solid var(--line); min-width: 3ch; }
.rich-text .rich-text-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    gap: clamp(16px, 2vw, 24px);
    margin-block: 20px 28px;
}
.rich-text .rich-text-gallery > figure { min-width: 0; margin: 0; }
.rich-text-gallery img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; }
.rich-text--article { max-width: 56rem; font-size: clamp(1rem, 1.4vw, 1.125rem); }
.rich-text--article > :where(p, ul, ol) { max-width: 68ch; }
.rich-text--article img { height: auto; }
.rich-text--article .article-table {
    margin-block: 24px;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}
.rich-text--article .article-table table {
    display: table;
    width: 100%;
    min-width: 35rem;
    font-size: .875rem;
    line-height: 1.5;
    overflow-wrap: normal;
}
.article-table :is(th, td) { padding: 10px 13px; text-align: left; }
.article-table th { background: var(--lime-light); font-weight: 800; }
.article-table p { max-width: none; }
.article-table tbody tr:last-child > :is(td, th) { border-bottom: 0; }
.service-page-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, .35fr); gap: clamp(26px, 5vw, 82px); align-items: start; }
.service-copy > p:first-child:has(> img:only-child) { max-width: none; }
.service-copy > :is(h2, h3)[align] { text-align: start; }
.service-copy img { height: auto; }
.service-copy figure { margin: 20px 0; }
.service-copy figcaption { margin-top: 8px; color: var(--soft); font-size: .875rem; }
.service-copy iframe[src*="youtube.com/embed/"] { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.service-aside { display: grid; gap: 12px; padding: 20px; background: var(--lime-light); border-radius: 8px; }
.service-rates div, .offer li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.service-rates dd { margin: 0; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.calculator, .offer { background: var(--lime-light); border-radius: 9px; padding: 22px; }
.calculator h2, .offer h3 { margin: 0 0 16px; }
.calculator-total { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 12px; }
.calculator output { font-size: 1.35rem; font-weight: 800; margin-left: 8px; }
.offer-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 12px; }
.offer { display: flex; flex-direction: column; }
.offer-description { font-size: .9rem; margin-bottom: 12px; }
.offer-description p + p { margin-top: 4px; }
.offer-description img { display: inline-block; vertical-align: middle; margin-inline-end: .35em; }
.offer ul { list-style: none; padding: 0; margin: auto 0 16px; }
.offer-image { width: 100%; height: 126px; object-fit: contain; margin-bottom: 12px; }
.offer .btn { align-self: start; }
.price-list { border-top: 1px solid var(--line); }
.price-list details { border-bottom: 1px solid var(--line); padding: 8px 0; }
.price-list summary { cursor: pointer; min-height: 44px; align-content: center; font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 800; }
.price-list .rich-text { padding: 12px 0; }
.contact-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 22px; margin-bottom: 18px; }
.contact-list div { padding: 13px 0; border-top: 1px solid var(--line); }
.contact-list dt { color: var(--soft); font-size: .85rem; }
.contact-list dd { margin: 0; font-weight: 800; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 20px; }
.map { display: block; width: 100%; margin-bottom: 30px; border-radius: 8px; background: var(--lime-light); }
.editorial-row { display: flex; align-items: center; gap: clamp(14px, 3vw, 34px); padding-block: 16px; min-height: 68px; border-top: 1px solid var(--line); text-decoration: none; }
.editorial-row:last-child { border-bottom: 1px solid var(--line); }
.editorial-row img { width: 92px; height: 74px; object-fit: cover; border-radius: 6px; }
.editorial-row .article-title { font-weight: 800; }
a.editorial-row:hover .article-title { text-decoration: underline; }
.editorial-row h2 { font-size: clamp(1.2rem, 2.8vw, 2.3rem); }
.editorial-list-item .rich-text { margin-top: 10px; }
.shop-categories { margin-bottom: clamp(32px, 5vw, 60px); }
.shop-categories > .text-link { margin-bottom: 10px; }
.shop-category-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; padding: 0; list-style: none; }
.shop-category {
    display: grid;
    align-content: start;
    gap: 10px;
    height: 100%;
    min-height: 44px;
    padding: 8px 8px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 800;
    font-size: .875rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
.shop-category[aria-current="page"] { border-color: var(--green); background: var(--lime-light); }
.shop-category:hover { border-color: var(--green); text-decoration: underline; }
.shop-category-image { position: relative; display: block; aspect-ratio: 2 / 1; border-radius: 4px; overflow: hidden; }
.shop-category-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .24s; }
.shop-category:hover img { transform: scale(1.03); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.product-grid > p { grid-column: 1 / -1; }
.product { display: flex; flex-direction: column; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.product-image { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; background: #fff; border-radius: 8px; margin-bottom: 13px; }
.product-image img { position: absolute; inset: 0; width: 100%; height: 100%; padding: clamp(8px, 1.6vw, 20px); object-fit: contain; transition: transform .22s; }
.product-image--empty { max-width: none; background: var(--lime-light); color: var(--soft); font-size: .85rem; text-align: center; }
.product-image:hover img { transform: scale(1.03); }
.product h2 { font-size: clamp(1rem, 2.4vw, 1.2rem); overflow-wrap: anywhere; }
.product-description { margin-block: 6px; color: var(--soft); }
.product-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 0 14px; margin-top: auto; }
.product-actions strong, .product-price { font-variant-numeric: tabular-nums; font-weight: 800; }
.product-price { font-size: 2rem; margin-bottom: 10px; }
.product-detail { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 60px); align-items: start; }
.product-gallery { display: grid; gap: 12px; }
.product-gallery a { display: grid; min-height: 44px; padding: clamp(12px, 3vw, 30px); border-radius: 8px; background: #fff; place-items: center; overflow: hidden; }
.product-gallery img { max-height: 420px; object-fit: contain; }
.product-detail .rich-text { margin-top: 17px; }
.site-dialog { position: fixed; width: min(560px, calc(100vw - 28px)); max-height: calc(100dvh - 28px); padding: clamp(18px, 5vw, 36px); border: 0; border-radius: 11px; background: var(--paper); color: var(--ink); }
.site-dialog::backdrop { background: rgb(17 35 25 / 64%); }
@media (prefers-reduced-motion: no-preference) {
    #order-dialog[open] { animation: order-dialog-in .28s cubic-bezier(.16, 1, .3, 1) both; }
    #order-dialog[open]::backdrop { animation: order-backdrop-in .22s ease-out both; }
    @keyframes order-dialog-in {
        from { opacity: 0; transform: translateY(15px) scale(.98); }
        to { opacity: 1; transform: none; }
    }
    @keyframes order-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
}
.site-dialog h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); padding-right: 40px; margin-bottom: 22px; }
.dialog-close { position: absolute; top: 8px; right: 8px; min-height: 44px; min-width: 44px; background: transparent; border: 1px solid transparent; border-radius: 6px; color: inherit; font-size: 1.8rem; }
.dialog-close:hover { border-color: var(--line); }
.image-dialog { width: min(890px, calc(100vw - 28px)); padding-top: 56px; }
.image-dialog img { margin-inline: auto; max-height: 65dvh; object-fit: contain; }
.image-dialog p { margin: 14px auto 0; text-align: center; }
.flash-message { padding: 10px; margin: 14px 0; background: var(--lime-light); }
.error-page h1 { margin: 45px 0 14px; }
.error-page .btn { margin-top: 18px; }

@media (max-width: 1050px) {
    :root { --wrap: min(100% - 64px, 1280px); }
    .hero-grid { min-height: 615px; grid-template-columns: 1.05fr .95fr; }
}
@media (max-width: 1240px) {
    .header-inner { grid-template-columns: auto auto 1fr; }
    .js .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }
    .header-phone { grid-column: 2; grid-row: 1; text-align: left; justify-self: start; }
    .site-nav { grid-column: 1 / -1; justify-content: start; }
    .site-header.is-menu-open .site-nav { padding-bottom: 14px; }
    .js .site-header:not(.is-menu-open) .site-nav { display: none; }
    .site-nav-sections { flex: 0 0 100%; flex-direction: column; gap: 0; }
    .site-nav-section { display: grid; grid-template-columns: minmax(0, 1fr) auto; border-bottom: 1px solid var(--line); }
    .submenu-toggle { width: 44px; }
    .site-submenu {
        position: static;
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
        max-width: none;
        margin-bottom: 9px;
        padding: 0 0 0 13px;
        border: 0;
        border-inline-start: 1px solid var(--line);
        background: transparent;
    }
    .site-submenu li + li { border-top: 0; }
    .site-header--scroll .header-inner {
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 8px 12px;
        max-height: 100dvh;
        overflow-y: auto;
    }
    .js .site-header--scroll .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        grid-column: 3;
        grid-row: 1;
    }
    .site-header--scroll .header-order { grid-column: 2; grid-row: 1; }
    .site-header--scroll .site-nav { display: none; grid-column: 1 / -1; justify-content: start; }
    .site-header--scroll .header-phone { display: none; grid-column: 1 / -1; grid-row: 3; }
    .site-header--scroll.is-menu-open .site-nav { display: flex; }
    .site-header--scroll.is-menu-open .header-phone { display: grid; justify-self: start; text-align: left; margin-bottom: 12px; }
    .site-header--scroll.is-menu-open .site-nav { padding-bottom: 0; }
}
@media (max-width: 840px) {
    :root { --wrap: min(100% - 42px, 1280px); }
    .header-inner { min-height: 68px; }
    .hero-grid { min-height: 510px; }
    .hero-areas { margin-top: 27px; }
    .home-content { grid-template-columns: 1fr; }
    .consultation::before {
        background: linear-gradient(180deg, rgb(13 26 19 / .08), rgb(13 26 19 / .24) 24%, rgb(13 26 19 / .86) 45%, rgb(13 26 19 / .94));
    }
    .consultation-grid { grid-template-columns: 1fr; min-height: 0; padding-top: clamp(220px, 42vw, 300px); }
    .consultation-copy { grid-column: 1; padding-top: 0; }
    .consultation-photo img { object-position: 40% 35%; }
    .section-head { align-items: start; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .shop-category-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .service-browser .service-row { grid-template-columns: 52px minmax(0, 1fr); gap: 10px 16px; }
    .service-browser .service-thumb { width: 52px; }
    .service-browser .service-prices { grid-column: 2; }
}
@media (max-width: 620px) {
    :root { --wrap: calc(100% - 32px); }
    .header-inner { gap: 10px; }
    .wordmark svg { width: clamp(82px, 24vw, 106px); }
    .header-phone .header-phone-number { font-size: .79rem; }
    .header-phone small { font-size: .61rem; }
    .menu-toggle { font-size: .76rem; padding-inline: 9px; }
    .site-header--scroll .header-inner { gap: 7px 8px; }
    .site-header--scroll .wordmark svg { width: clamp(70px, 21vw, 93px); }
    .site-header--scroll .header-order { padding-inline: 10px; font-size: .77rem; }
    .site-nav { gap: 5px 20px; }
    .hero-grid { grid-template-columns: 1fr; min-height: calc(100svh - 69px); align-content: center; gap: 20px; padding-block: 24px 22px; }
    .hero-copy { padding-block: 0; }
    .hero h1 { font-size: clamp(2.55rem, 11.5vw, 4.35rem); }
    .hero h1 span { margin-top: .1em; }
    .hero-copy > p { margin-top: 17px; }
    .hero-actions { margin-top: 18px; gap: 6px 13px; }
    .hero-actions .text-link { padding-top: 2px; }
    .hero-areas { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 17px; }
    .hero-areas a {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        min-height: 64px;
        padding-block: 8px;
        font-size: .79rem;
    }
    .hero-areas svg { width: 20px; height: 20px; }
    .hero-frame { aspect-ratio: auto; height: clamp(226px, 70vw, 390px); }
    .section-head { align-items: start; flex-direction: column; margin-bottom: 21px; gap: 4px; }
    .service-row { grid-template-columns: 54px minmax(0, 1fr); gap: 10px 14px; padding-block: 17px; }
    .service-thumb { width: 52px; }
    .service-prices { grid-column: 2; }
    .service-browser .service-row { grid-template-columns: 44px minmax(0, 1fr); gap: 10px 12px; padding-block: 17px; }
    .service-browser .service-thumb { width: 44px; }
    .service-browser .service-prices { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .service-browser .service-prices > .text-link { grid-column: 1; justify-self: end; }
    .consultation-copy .btn { justify-content: center; width: 100%; }
    .request-grid, .service-page-grid, .footer-grid, .product-detail, .process-list { grid-template-columns: 1fr; }
    .process-list li {
        display: grid;
        grid-template-columns: 49px minmax(0, 1fr);
        gap: 7px 13px;
        align-items: baseline;
    }
    .process-number { grid-row: span 2; margin: 0; font-size: 2.15rem; }
    .process-list p { margin-top: 0; }
    .contact-list, .product-grid { grid-template-columns: 1fr 1fr; gap: 0 12px; }
    .contact-list .contact-channel {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 5rem minmax(0, 1fr);
        align-items: center;
        gap: 10px;
    }
    .contact-list dd { overflow-wrap: anywhere; }
    .shop-category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-grid { row-gap: 13px; }
    .form-fields { grid-template-columns: 1fr; gap: 10px; }
    .page-head h1 { line-height: 1.08; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

.product-detail:not(:has(.product-gallery)) { grid-template-columns: 1fr; }
