/* THEME AND BASE */
:root {
  --primary-color: #263e34;
  --secondary-color: #e9ece5;
  --accent-color: #b7c6ac;
  --text-color: #26342c;
  --muted-color: #5e665d;
  --bg-color: #f8f8f4;
  --card-bg: #ffffff;
  --line-color: #d9ded4;
  --radius: 8px;
  --container: 1200px;
  --section-space: 44px;
  --font-body: 'Segoe UI', Arial, sans-serif;
  --font-editorial: Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--text-color); background: var(--bg-color); }
body.modal-open { overflow: hidden; }
a { color: inherit; text-underline-offset: 5px; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
button { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; width: 32px; height: 32px; flex-shrink: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { line-height: 1.15; font-weight: 500; }
h1 { font-size: 32px; letter-spacing: -1px; }
h2 { font-size: 30px; letter-spacing: -.8px; }
h3 { font-size: 22px; }
em { font-family: var(--font-editorial); font-weight: 400; }
p { color: var(--muted-color); }
:focus-visible { outline: 3px solid #a15b25; outline-offset: 5px; }
[hidden] { display: none; }
.container { width: min(100%, var(--container)); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: var(--section-space); }
.eyebrow { margin-bottom: 20px; font-size: 12px; font-weight: 600; letter-spacing: 1.7px; color: var(--primary-color); }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 13px 22px; font-size: 14px; font-weight: 600; text-align: center; text-decoration: none; color: white; background: var(--primary-color); border: 1px solid var(--primary-color); border-radius: 3px; transition: transform .3s ease, background .3s ease; }
.button:hover { background: #375342; transform: translateY(-2px); }
.button-outline { color: var(--primary-color); background: transparent; border-color: #9aa597; }
.button-outline:hover { background: var(--secondary-color); }
.text-link { display: inline-block; padding-block: 10px; font-size: 14px; font-weight: 600; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 10; top: 10px; left: 10px; padding: 12px; background: white; }
.js-only { display: none; }
.js .js-only { display: flex; }
/* HEADER */
.header { position: sticky; z-index: 5; top: 0; background: var(--bg-color); border-bottom: 1px solid var(--line-color); }
.header-inner { display: flex; min-height: 86px; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 12px; }
.brand { display: inline-block; font-size: 40px; line-height: .9; font-weight: 700; letter-spacing: -2.6px; text-decoration: none; }
.brand span { display: block; margin-top: 10px; font-size: 8px; font-weight: 600; letter-spacing: 1.8px; }
.header-phone { margin-left: auto; font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.header-phone span { display: none; font-size: 11px; font-weight: 400; color: var(--muted-color); }
.header-cta { display: none; }
.navigation { display: flex; width: 100%; flex-wrap: wrap; gap: 4px 18px; }
.navigation a { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; text-decoration: none; }
.navigation a:hover { text-decoration: underline; }
.js .navigation { display: none; }
.js .navigation.is-open { display: flex; }
.menu-toggle { order: 1; width: 44px; height: 44px; padding: 12px 8px; flex-direction: column; justify-content: center; gap: 7px; background: transparent; border: 0; }
.menu-toggle span { width: 25px; height: 1px; background: var(--primary-color); }
.navigation { order: 2; }
/* HERO SECTION */
.hero { padding-top: 20px; }
.hero-copy { padding: 20px 0 30px; animation: appear .7s ease both; }
.hero-intro { margin-top: 22px; font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-trust { display: flex; align-items: center; gap: 12px; margin-top: 30px; font-size: 12px; color: var(--muted-color); }
.trust-star { font-size: 32px; color: var(--primary-color); }
.hero-trust strong { font-size: 30px; font-weight: 500; color: var(--primary-color); }
.hero-trust strong span { font-size: 16px; color: var(--muted-color); }
.hero-photo { position: relative; overflow: hidden; height: 350px; border-radius: 2px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 47% center; }
.photo-label { position: absolute; top: 18px; left: 20px; padding: 5px 9px; font-size: 9px; letter-spacing: 1.4px; color: white; background: #263e34db; }
.hero-note { position: absolute; bottom: 20px; left: 20px; padding: 15px 22px; font-size: 17px; line-height: 1.35; background: #f8f8f4f2; }
.hero-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-block: 20px; font-size: 12px; color: var(--muted-color); }
/* BENEFITS */
.benefits { margin-top: 18px; padding-block: 32px; border-top: 1px solid var(--line-color); border-bottom: 1px solid var(--line-color); }
.benefits-grid { display: grid; gap: 30px; }
.benefits article { display: flex; gap: 20px; }
.benefits h2 { margin-bottom: 10px; font-size: 18px; letter-spacing: -.2px; }
.benefits p { font-size: 16px; }
/* SERVICES */
.section-heading { display: flex; flex-direction: column; gap: 20px; margin-bottom: 30px; }
.section-heading > p { max-width: 380px; font-size: 16px; }
.products-grid { display: grid; gap: 24px; }
.product-card { min-width: 0; overflow: hidden; background: white; border: 1px solid var(--line-color); border-radius: var(--radius); transition: transform .3s ease, box-shadow .3s ease; }
.product-card:hover { box-shadow: 0 12px 24px #263e3410; transform: translateY(-4px); }
.product-photo { display: block; height: 230px; overflow: hidden; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-illustration { display: flex; align-items: center; justify-content: center; color: var(--primary-color); background: var(--secondary-color); }
.product-illustration svg { width: 180px; height: 130px; }
.product-body { padding: 22px; }
.product-title { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; align-items: center; }
.product-title span { font-size: 14px; }
.product-body p { min-height: 90px; margin: 16px 0 10px; font-size: 16px; }
.catalog-cta { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 30px; }
.catalog-cta p { font-size: 14px; text-align: center; }
/* CATALOG DIALOG */
dialog { position: fixed; width: min(940px, calc(100% - 24px)); max-height: 90dvh; padding: 0; color: var(--text-color); background: var(--bg-color); border: 1px solid var(--line-color); border-radius: var(--radius); }
dialog::backdrop { background: #13271fcc; }
.full-catalog { padding: 24px 16px; }
.catalog-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.catalog-heading .eyebrow { margin-bottom: 10px; }
.close-dialog { width: 44px; height: 44px; align-items: center; justify-content: center; flex-shrink: 0; font-size: 30px; background: transparent; border: 1px solid var(--line-color); border-radius: 50%; }
.catalog-controls { flex-wrap: wrap; gap: 18px; margin-block: 24px; }
.catalog-controls label { flex: 1 1 220px; font-size: 14px; }
input, select { display: block; width: 100%; min-height: 48px; margin-top: 8px; padding: 10px 12px; color: var(--text-color); background: white; border: 1px solid #8b978b; border-radius: 3px; }
select { padding-right: 36px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23263e34' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.catalog-summary { margin-block: 16px; font-size: 14px; }
.catalog-table-wrap { width: 100%; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 14px 8px; text-align: left; border-bottom: 1px solid var(--line-color); }
th { font-weight: 600; background: var(--secondary-color); }
td:first-child { overflow-wrap: anywhere; }
th:last-child, td:last-child { width: 96px; text-align: right; white-space: nowrap; }
.catalog-footer { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-color); }
.catalog-footer p { margin-bottom: 12px; }
/* ABOUT */
.about { background: var(--secondary-color); }
.about-grid { display: flex; flex-direction: column-reverse; gap: 30px; }
.about-copy p:not(.eyebrow) { margin-top: 22px; }
.about-copy .text-link { margin-top: 18px; }
.about-photo img { width: 100%; aspect-ratio: 1.3; object-fit: cover; }
.about-photo figcaption { margin-top: 12px; font-size: 12px; color: var(--muted-color); }
/* REVIEWS */
.rating-summary strong { display: block; font-size: 32px; font-weight: 500; }
.rating-summary .stars { font-size: 18px; }
.stars { color: #52663c; letter-spacing: 3px; }
.reviews-grid { display: flex; gap: 18px; overflow-x: auto; padding: 6px 4px 18px; scroll-snap-type: x mandatory; }
.review-card { display: flex; flex: 0 0 91%; flex-direction: column; scroll-snap-align: start; min-width: 0; padding: 24px; border: 1px solid var(--line-color); border-radius: var(--radius); background: var(--card-bg); }
.review-card blockquote { margin-block: 18px 24px; font-size: 16px; }
.review-author { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.review-author h3 { font-size: 14px; font-weight: 600; }
.review-author time { font-size: 12px; color: var(--muted-color); }
.avatar { display: flex; width: 38px; height: 38px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 50%; background: var(--secondary-color); }
.swipe-hint { margin-top: 10px; font-size: 12px; }
/* CONTACTS */
.contacts { color: white; background: var(--primary-color); }
.contacts-grid { display: grid; gap: 36px; }
.contacts .eyebrow { color: #d5dfcd; }
.contacts h2 { font-size: 32px; }
.contacts-intro { margin-top: 20px; color: #d0d9d0; }
.contact-phone { display: inline-block; margin-block: 24px; font-size: clamp(21px, 6vw, 32px); text-decoration: none; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button-light { color: var(--primary-color); background: white; border-color: white; }
.button-light:hover { background: #e9ece5; }
.button-outline-light { color: white; background: transparent; border-color: #8b9f90; }
.visit-card { padding: 26px; background: #324a3e; border: 1px solid #65796b; border-radius: var(--radius); }
.visit-card h3 { margin-top: 20px; }
.visit-card address { margin-top: 18px; font-style: normal; }
.visit-card p { margin-block: 16px; color: #d0d9d0; }
.social-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; padding-top: 20px; font-size: 12px; border-top: 1px solid #65796b; }
/* FOOTER AND PRIVACY */
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; padding-block: 32px; font-size: 12px; }
.footer-inner .brand { margin-right: auto; font-size: 30px; }
.footer-inner .brand span { font-size: 7px; }
.privacy { max-width: 800px; padding-block: 60px; }
.privacy h1 { margin-block: 40px 25px; overflow-wrap: anywhere; }
.privacy p { margin-bottom: 24px; }
/* RESPONSIVE LAYOUT */
@media (min-width: 768px) {
  :root { --section-space: 64px; }
  h1 { font-size: 44px; }
  h2 { font-size: 36px; }
  .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
  .hero-photo { height: 490px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-copy .eyebrow { font-size: 10px; }
  .hero-trust { gap: 8px; }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 50px; }
  .contacts-grid { grid-template-columns: 1.2fr 1fr; gap: 50px; }
  .reviews-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .swipe-hint { display: none; }
  .full-catalog { padding: 32px; }
}
@media (min-width: 1024px) {
  :root { --section-space: 80px; }
  .header-inner { flex-wrap: nowrap; gap: 22px; min-height: 98px; }
  .js .menu-toggle { display: none; }
  .js .navigation, .navigation { display: flex; order: 0; width: auto; flex-wrap: nowrap; gap: 24px; margin-left: auto; }
  .header-phone { margin-left: 10px; }
  .header-phone span { display: block; }
  .header-cta { display: inline-flex; }
  .hero { padding-top: 32px; }
  .hero-grid { grid-template-columns: .95fr 1.05fr; gap: 40px; }
  h1 { font-size: 48px; }
  h2 { font-size: 40px; }
  .hero-copy .eyebrow { font-size: 11px; }
  .hero-photo { height: 550px; }
  .hero-intro { font-size: 17px; }
  .hero-actions { flex-direction: row; gap: 12px; margin-top: 32px; }
  .hero-actions .button { padding-inline: 17px; }
  .hero-trust { margin-top: 38px; gap: 14px; }
  .hero-note { bottom: 28px; left: 28px; font-size: 24px; }
  .hero-bottom { padding-block: 24px; }
  .benefits { padding-block: 36px; }
  .benefits-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
  .benefits article + article { border-left: 1px solid var(--line-color); padding-left: 25px; }
  .section-heading { flex-direction: row; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; }
  .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-photo { height: 230px; }
  .product-body { padding: 22px; }
  .catalog-cta { flex-direction: row; justify-content: space-between; padding-top: 36px; }
  .about-grid { grid-template-columns: 1fr 1.05fr; gap: 90px; }
  .about-photo img { aspect-ratio: 1.2; }
  .reviews-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contacts-grid { grid-template-columns: 1.3fr 1fr; gap: 100px; }
  .contacts h2 { font-size: 42px; }
  .visit-card { padding: 32px; }
}
@media (min-width: 1440px) {
  .hero-grid { gap: 54px; }
  .hero-photo { height: 570px; }
}
/* MOTION */
@keyframes appear { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none; transition: none; }
}
