:root {
  --bg: #f4f1ea;
  --surface: #fffdf8;
  --surface-2: #ebe6dc;
  --text: #161915;
  --muted: #686b64;
  --line: rgba(22, 25, 21, .14);
  --green: #214b24;
  --green-deep: #123318;
  --gold: #c8a45a;
  --shadow: 0 20px 60px rgba(25, 31, 23, .10);
  --serif: "Prata", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

html[data-theme="dark"] {
  --bg: #101310;
  --surface: #171b17;
  --surface-2: #20251f;
  --text: #f2efe7;
  --muted: #a8ada5;
  --line: rgba(255, 255, 255, .14);
  --green: #6e9a62;
  --green-deep: #0a1c0e;
  --gold: #d5b56e;
  --shadow: 0 20px 60px rgba(0, 0, 0, .3);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; transition: background-color .25s, color .25s; }
body.menu-open, body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 120px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: fixed; left: 20px; top: -60px; z-index: 999; background: var(--surface); padding: 12px 18px; transition: top .2s; }
.skip-link:focus { top: 12px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; border-bottom: 1px solid transparent; color: #fff; transition: background .25s, color .25s, border .25s, transform .25s; }
.site-header.scrolled { background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--text); border-color: var(--line); backdrop-filter: blur(16px); }
.header-inner { height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { display: inline-flex; align-items: center; line-height: 1; flex-shrink: 0; }
.brand-logo { width: 72px; height: 72px; object-fit: contain; background: rgba(255,255,255,.94); padding: 3px; border-radius: 3px; box-shadow: 0 5px 20px rgba(0,0,0,.12); }
.main-nav { display: flex; align-items: center; gap: 36px; margin-left: auto; }
.main-nav a { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--gold); transition: right .25s; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-button, .menu-toggle { color: inherit; background: transparent; border: 1px solid currentColor; cursor: pointer; }
.icon-button { width: 42px; height: 42px; display: grid; place-items: center; opacity: .9; }
.icon-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.theme-toggle .moon { display: none; }
html[data-theme="dark"] .theme-toggle .sun { display: none; }
html[data-theme="dark"] .theme-toggle .moon { display: block; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; }
.menu-toggle span { display: block; height: 1px; background: currentColor; margin: 4px 0; transition: .2s; }

.hero { min-height: 850px; height: 100svh; position: relative; display: flex; align-items: center; overflow: hidden; background: #152017; color: #fff; }
.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; }
.hero-overlay { background: linear-gradient(90deg, rgba(7, 13, 8, .88) 0%, rgba(7, 13, 8, .58) 38%, rgba(7, 13, 8, .12) 72%), linear-gradient(0deg, rgba(6, 12, 8, .55), transparent 48%); }
.hero-content { position: relative; z-index: 2; padding-top: 70px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 25px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .17em; color: rgba(255,255,255,.78); }
.eyebrow > span { width: 34px; height: 1px; background: var(--gold); }
.eyebrow.dark { color: var(--muted); }
.hero h1, .section-heading h2, .contact-copy h2 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -.025em; }
.hero h1 { max-width: 830px; font-size: clamp(54px, 7vw, 100px); }
h1 em, h2 em { color: var(--gold); font-style: italic; }
.hero-lead { max-width: 610px; margin: 30px 0 0; color: rgba(255,255,255,.74); font-size: 17px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 42px; }
.button { min-height: 52px; border: 1px solid transparent; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; cursor: pointer; transition: transform .2s, background .2s, color .2s, border .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary, .button-gold { background: var(--gold); color: #11150f; }
.button-primary:hover, .button-gold:hover { background: #d8b76e; }
.button-ghost { background: rgba(255,255,255,.02); border-color: rgba(255,255,255,.5); color: #fff; }
.button-ghost:hover { background: rgba(255,255,255,.12); }
.button-dark { background: var(--text); color: var(--surface); }
.button-whatsapp { color: #fff; background: #2f7b40; }
.button-whatsapp span { font-size: 16px; }
.hero-facts { display: flex; gap: 0; margin-top: 72px; }
.hero-facts div { display: grid; gap: 3px; min-width: 180px; padding-right: 38px; margin-right: 38px; border-right: 1px solid rgba(255,255,255,.22); }
.hero-facts div:last-child { border: 0; }
.hero-facts strong { font-family: var(--serif); font-weight: 400; font-size: 24px; }
.hero-facts span { color: rgba(255,255,255,.55); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.hero-scroll { position: absolute; z-index: 2; right: 48px; bottom: 38px; width: 48px; height: 70px; border: 1px solid rgba(255,255,255,.35); border-radius: 30px; display: grid; place-items: start center; padding-top: 12px; }
.hero-scroll span { width: 4px; height: 4px; background: #fff; border-radius: 50%; animation: scroll-dot 1.8s infinite; }
@keyframes scroll-dot { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(35px); opacity: 0; } }

.section-heading h2, .contact-copy h2 { font-size: clamp(42px, 5vw, 70px); }
.split-heading { display: grid; grid-template-columns: 1.1fr .8fr; align-items: end; gap: 80px; margin-bottom: 58px; }
.split-heading > p { max-width: 480px; color: var(--muted); margin: 0 0 7px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-card { background: var(--surface); border: 1px solid var(--line); box-shadow: 0 0 0 rgba(0,0,0,0); transition: box-shadow .25s, transform .25s; overflow: hidden; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-media { aspect-ratio: 1.42; position: relative; overflow: hidden; background: #fff; }
.product-image-button { width: 100%; height: 100%; display: block; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.product-image-button img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.product-card:hover .product-image-button img { transform: scale(1.025); }
.product-image-button:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.availability-list { position: absolute; left: 14px; top: 14px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 28px); }
.availability { color: #173f20; background: rgba(232,245,231,.94); border: 1px solid rgba(33,75,36,.2); padding: 6px 9px; font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.availability::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #378a43; margin-right: 7px; }
.availability-preorder { color: #5c4313; background: rgba(255,237,182,.95); border-color: rgba(181,132,34,.35); }
.availability-preorder::before { background: #d6a83a; }
.product-body { padding: 20px; }
.product-title-row { display: grid; gap: 4px; }
.product-body h3 { font-family: var(--serif); font-size: 19px; font-weight: 400; margin: 0; }
.price { white-space: nowrap; font-size: 9px; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .09em; }
.product-body > p { color: var(--muted); font-size: 11px; min-height: 52px; margin: 12px 0 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.color-selector { margin: 0 0 15px; }
.color-selector-heading { margin-bottom: 9px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.color-selector-heading strong { color: var(--text); font-weight: 600; }
.color-swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.color-swatch { width: 27px; height: 27px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 3px var(--surface); cursor: pointer; transition: transform .15s ease, outline-color .15s ease; }
.color-swatch:hover { transform: scale(1.08); }
.color-swatch.selected { outline: 2px solid var(--text); outline-offset: 2px; }
.color-swatch:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.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; }
.specs { margin: 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 70px 1fr; gap: 8px; border-bottom: 1px solid var(--line); padding: 8px 0; font-size: 9px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; text-align: right; font-weight: 600; }
.product-actions { display: grid; grid-template-columns: 1.15fr .85fr; gap: 8px; margin-top: 18px; }
.product-actions .button { flex: 1; }
.product-actions .button { min-height: 44px; padding: 0 10px; font-size: 8px; letter-spacing: .07em; }
.button-contact-card { background: var(--green); color: #fff; }
.button-contact-card:hover { background: var(--green-deep); }
.button-contact-card svg { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.empty-state { grid-column: 1/-1; padding: 60px; text-align: center; border: 1px dashed var(--line); color: var(--muted); }

.advantages { background: var(--surface); border-block: 1px solid var(--line); }
.section-heading.centered { text-align: center; margin-bottom: 65px; }
.centered .eyebrow { justify-content: center; }
.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.advantages-grid article { min-height: 320px; padding: 34px 28px; border-right: 1px solid var(--line); position: relative; transition: background .25s, color .25s; }
.advantages-grid article:last-child { border: 0; }
.advantages-grid article:hover { background: var(--green-deep); color: #fff; }
.adv-number { position: absolute; right: 18px; top: 17px; color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.adv-icon { font-family: var(--serif); color: var(--gold); font-size: 40px; height: 85px; display: flex; align-items: center; }
.advantages h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 20px 0 14px; }
.advantages article p { color: var(--muted); font-size: 13px; margin: 0; }
.advantages article:hover p, .advantages article:hover .adv-number { color: rgba(255,255,255,.65); }

.contacts { padding-bottom: 90px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-columns: 1.4fr .8fr; box-shadow: var(--shadow); }
.contact-copy { padding: 70px; }
.contact-copy > p:not(.eyebrow) { color: var(--muted); max-width: 580px; margin: 24px 0 32px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-details { background: var(--surface-2); margin: 0; padding: 65px 50px; display: grid; align-content: center; gap: 32px; font-style: normal; border-left: 1px solid var(--line); }
.contact-details div { display: grid; gap: 6px; }
.contact-details span { font-size: 9px; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }
.contact-details strong, .contact-details a { font-family: var(--serif); font-size: 19px; font-weight: 400; line-height: 1.5; }
.contact-details a:hover { color: var(--green); }

.site-footer { background: #0b160e; color: #fff; padding: 70px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-brand .brand-logo { width: 112px; height: 112px; padding: 5px; }
.footer-grid > p { margin: 0; color: rgba(255,255,255,.48); font-size: 12px; }
.footer-grid nav { display: grid; gap: 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.footer-grid nav a:hover { color: var(--gold); }
.footer-phone { font-family: var(--serif); font-size: 19px; text-align: right; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 55px; padding-top: 22px; display: flex; justify-content: space-between; color: rgba(255,255,255,.4); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }

.lead-dialog { width: min(680px, calc(100% - 28px)); max-height: calc(100dvh - 28px); padding: 0; border: 0; color: var(--text); background: transparent; overflow: visible; }
.lead-dialog::backdrop { background: rgba(5,9,6,.72); backdrop-filter: blur(6px); }
.dialog-panel { background: var(--surface); padding: 42px; max-height: calc(100dvh - 28px); overflow-y: auto; position: relative; box-shadow: var(--shadow); }
.dialog-close { position: absolute; right: 16px; top: 12px; border: 0; color: var(--muted); background: transparent; font-size: 30px; cursor: pointer; }
.dialog-panel h2 { font-family: var(--serif); font-size: 38px; font-weight: 400; line-height: 1.2; margin: 0; }
.dialog-intro { color: var(--muted); font-size: 13px; margin: 10px 0 25px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-grid label, .full-field { display: grid; gap: 7px; }
.form-grid label span, .full-field > span { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
input, select, textarea { width: 100%; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 0; outline: none; padding: 13px 14px; transition: border .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 15%, transparent); }
textarea { resize: vertical; }
.contact-hint { margin: 8px 0 15px; font-size: 10px; color: var(--muted); }
.full-field { margin-top: 15px; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 19px 0; color: var(--muted); font-size: 10px; line-height: 1.5; cursor: pointer; }
.consent input { width: 17px; height: 17px; margin: 0; accent-color: var(--green); flex: 0 0 auto; }
.consent a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.consent a:hover { color: var(--gold); }
.form-errors { min-height: 0; color: #ad2929; font-size: 11px; margin: 0 0 10px; }
.form-errors:not(:empty) { border-left: 2px solid #ad2929; padding-left: 10px; }
.submit-button { width: 100%; }
.submit-button[disabled] { opacity: .6; cursor: wait; }
.image-dialog { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 20px; border: 0; background: rgba(5, 8, 6, .96); overflow: hidden; }
.image-dialog::backdrop { background: rgba(5, 8, 6, .96); }
.image-dialog[open] { display: grid; place-items: center; }
.image-dialog img { display: block; width: auto; height: auto; max-width: calc(100vw - 40px); max-height: calc(100dvh - 40px); object-fit: contain; }
.image-dialog-close { position: fixed; z-index: 2; top: 14px; right: 14px; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; color: #fff; background: rgba(0,0,0,.45); font-size: 29px; line-height: 1; cursor: pointer; }
.image-dialog-close:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.toast { position: fixed; z-index: 500; left: 50%; bottom: 30px; transform: translate(-50%, 20px); visibility: hidden; opacity: 0; pointer-events: none; color: #fff; background: #1d622e; padding: 15px 22px; box-shadow: var(--shadow); font-size: 13px; transition: transform .2s, opacity .2s, visibility 0s linear .2s; }
.toast:empty { display: none; }
.toast.visible { display: block; transform: translate(-50%, 0); visibility: visible; opacity: 1; transition-delay: 0s; }
.contact-dialog { width: min(460px, calc(100% - 28px)); max-height: calc(100dvh - 28px); padding: 0; border: 0; color: var(--text); background: transparent; overflow: visible; }
.contact-dialog::backdrop { background: rgba(5,9,6,.72); }
.contact-dialog-panel { position: relative; padding: 36px; background: var(--surface); box-shadow: var(--shadow); }
.contact-dialog-close { position: absolute; right: 12px; top: 8px; padding: 4px 10px; border: 0; color: var(--muted); background: transparent; font-size: 30px; cursor: pointer; }
.contact-dialog h2 { margin: 0; font-family: var(--serif); font-size: 31px; font-weight: 400; line-height: 1.2; }
.contact-dialog-text { margin: 10px 0 24px; color: var(--muted); font-size: 12px; }
.messenger-list { display: grid; gap: 10px; }
.messenger-link { min-height: 72px; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--line); background: var(--bg); transition: border-color .18s, transform .18s; }
.messenger-link:hover { border-color: var(--green); transform: translateY(-1px); }
.messenger-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #fff; }
.messenger-icon svg { width: 25px; height: 25px; fill: currentColor; }
.messenger-whatsapp .messenger-icon { background: #25d366; }
.messenger-telegram .messenger-icon { background: #229ed9; }
.messenger-instagram .messenger-icon { background: linear-gradient(135deg, #833ab4, #fd1d1d 55%, #fcb045); }
.messenger-instagram .messenger-icon svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.messenger-instagram .messenger-icon .instagram-dot { fill: currentColor; stroke: none; }
.messenger-max .messenger-icon { background: linear-gradient(135deg, #00b8ff, #3154f5 52%, #8a2be2); }
.messenger-max-icon { font-size: 10px; font-weight: 800; letter-spacing: -.04em; }
.messenger-link.is-disabled { opacity: .52; cursor: not-allowed; }
.messenger-link.is-disabled:hover { border-color: var(--line); transform: none; }
.messenger-link > span:nth-child(2) { display: grid; }
.messenger-link strong { font-size: 13px; }
.messenger-link small { color: var(--muted); font-size: 10px; }
.messenger-link b { font-size: 19px; font-weight: 400; }
.floating-contact { position: fixed; z-index: 80; right: 24px; bottom: 24px; width: 56px; height: 56px; padding: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--green); border: 4px solid rgba(255,255,255,.25); box-shadow: 0 12px 30px rgba(21,80,35,.35); cursor: pointer; }
.floating-contact svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.privacy-page { min-height: 100vh; background: var(--bg); }
.privacy-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.privacy-header-inner { min-height: 92px; display: flex; align-items: center; gap: 22px; }
.privacy-header .back-link { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.privacy-header .back-link:hover { color: var(--green); }
.privacy-main { padding: 78px 0 100px; }
.privacy-intro { max-width: 870px; margin-bottom: 48px; }
.privacy-intro h1 { margin: 0; font-family: var(--serif); font-size: clamp(40px, 6vw, 72px); font-weight: 400; line-height: 1.12; }
.privacy-intro > p:last-child { max-width: 720px; margin: 22px 0 0; color: var(--muted); }
.privacy-content { max-width: 920px; display: grid; gap: 14px; }
.privacy-section { padding: 30px 34px; border: 1px solid var(--line); background: var(--surface); }
.privacy-section h2 { margin: 0 0 14px; font-family: var(--serif); font-size: 23px; font-weight: 400; line-height: 1.35; }
.privacy-section p, .privacy-section li { color: var(--muted); font-size: 13px; }
.privacy-section p { margin: 0 0 10px; }
.privacy-section p:last-child { margin-bottom: 0; }
.privacy-section ul { margin: 0; padding-left: 20px; }
.privacy-section a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.privacy-updated { margin-top: 28px; color: var(--muted); font-size: 11px; }

@media (max-width: 1020px) {
  .main-nav { gap: 22px; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid article:nth-child(2) { border-right: 0; }
  .advantages-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-copy { padding: 55px 45px; }
}

@media (max-width: 820px) {
  .container { width: min(100% - 32px, 680px); }
  .section { padding: 85px 0; }
  .header-inner { height: 72px; }
  .brand-logo { width: 60px; height: 60px; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: 72px 0 auto; display: grid; gap: 0; padding: 20px 16px 25px; background: var(--surface); color: var(--text); border-bottom: 1px solid var(--line); transform: translateY(-140%); opacity: 0; transition: transform .25s, opacity .25s; }
  .main-nav.open { transform: translateY(0); opacity: 1; }
  .main-nav a { padding: 15px 8px; border-bottom: 1px solid var(--line); }
  .hero { min-height: 720px; height: 100svh; }
  .hero-overlay { background: linear-gradient(90deg, rgba(7,13,8,.85), rgba(7,13,8,.32)), linear-gradient(0deg, rgba(6,12,8,.7), transparent 60%); }
  .hero-content { padding-top: 50px; }
  .hero h1 { font-size: clamp(47px, 10vw, 72px); }
  .hero-lead { font-size: 15px; }
  .hero-facts { margin-top: 50px; }
  .hero-facts div { min-width: auto; flex: 1; padding-right: 18px; margin-right: 18px; }
  .hero-scroll { display: none; }
  .split-heading { grid-template-columns: 1fr; gap: 25px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-card { grid-template-columns: 1fr; }
  .contact-details { border-left: 0; border-top: 1px solid var(--line); padding: 45px; grid-template-columns: repeat(2, 1fr); }
  .contact-details div:first-child { grid-row: span 2; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-phone { text-align: left; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 24px, 520px); }
  .section { padding: 68px 0; }
  .brand-logo { width: 54px; height: 54px; }
  .header-actions { gap: 6px; }
  .icon-button, .menu-toggle { width: 38px; height: 38px; }
  .hero { min-height: 760px; align-items: flex-end; }
  /* Визуальный центр дорожки в широком исходнике находится левее 50%. */
  .hero-image { object-position: 38% center; }
  .hero-overlay { background: linear-gradient(0deg, rgba(5,10,6,.96) 8%, rgba(5,10,6,.55) 65%, rgba(5,10,6,.18)); }
  .hero-content { padding: 120px 0 40px; }
  .hero h1 { max-width: 100%; font-size: clamp(40px, 11.5vw, 50px); overflow-wrap: anywhere; }
  .hero h1 br { display: block; }
  .hero-buttons { display: grid; grid-template-columns: 1fr; }
  .hero-buttons .button { width: 100%; }
  .hero-facts { margin-top: 38px; }
  .hero-facts div { padding: 0 10px; margin: 0; text-align: center; }
  .hero-facts div:first-child { padding-left: 0; }
  .hero-facts div:last-child { padding-right: 0; }
  .hero-facts strong { font-size: 19px; }
  .hero-facts span { font-size: 8px; }
  .section-heading h2, .contact-copy h2 { font-size: 40px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .product-media { aspect-ratio: 1.42; }
  .product-body { padding: 20px; }
  .product-title-row { display: grid; gap: 2px; }
  .product-body > p { min-height: 0; }
  .specs div { grid-template-columns: 80px 1fr; }
  .product-actions .button { padding-inline: 10px; }
  .advantages-grid { grid-template-columns: 1fr; }
  .advantages-grid article { min-height: 245px; border-right: 0; border-bottom: 1px solid var(--line); }
  .advantages-grid article:last-child { border-bottom: 0; }
  .contact-copy { padding: 38px 24px; }
  .contact-actions { display: grid; }
  .contact-details { padding: 35px 24px; grid-template-columns: 1fr; }
  .contact-details div:first-child { grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid nav { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { margin-top: 40px; }
  .dialog-panel { padding: 34px 20px 25px; }
  .dialog-panel h2 { font-size: 31px; }
  .image-dialog { padding: 10px; }
  .image-dialog img { max-width: calc(100vw - 20px); max-height: calc(100dvh - 20px); }
  .image-dialog-close { top: 10px; right: 10px; }
  .form-grid { grid-template-columns: 1fr; gap: 12px; }
  .contact-dialog-panel { padding: 32px 20px 22px; }
  .floating-contact { right: 14px; bottom: 14px; width: 50px; height: 50px; }
  .privacy-header-inner { min-height: 76px; }
  .privacy-header .brand-logo { width: 56px; height: 56px; }
  .privacy-header .back-link { font-size: 9px; }
  .privacy-main { padding: 54px 0 70px; }
  .privacy-section { padding: 24px 20px; }
}

/* Gallery: arrows & thumbnails */
.gallery-prev, .gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  background: rgba(10,16,11,.58);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .18s, opacity .18s;
  opacity: 0;
}
.gallery-prev { left: 9px; }
.gallery-next { right: 9px; }
.product-card:hover .gallery-prev:not([hidden]),
.product-card:hover .gallery-next:not([hidden]) { opacity: 1; }
.gallery-prev:hover, .gallery-next:hover { background: rgba(10,16,11,.88); }
.gallery-prev:focus-visible, .gallery-next:focus-visible { opacity: 1; outline: 2px solid var(--gold); outline-offset: 2px; }
@media (hover: none) {
  .gallery-prev:not([hidden]), .gallery-next:not([hidden]) { opacity: .8; }
}
.gallery-thumbs {
  display: flex;
  gap: 5px;
  padding: 7px 10px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumbs[hidden] { display: none; }
.gallery-thumb {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 2px solid var(--line);
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .15s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb.active { border-color: var(--gold); }
.gallery-thumb:hover:not(.active) { border-color: var(--text); }
.gallery-thumb:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

@media (max-width: 560px) {
  .gallery-thumbs { gap: 4px; padding: 5px 8px; }
  .gallery-thumb { flex: 0 0 38px; width: 38px; height: 38px; }
  .gallery-prev, .gallery-next { width: 30px; height: 30px; font-size: 20px; }
}

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