﻿:root {
  --bg: #f5efe7;
  --bg-alt: #efe5d8;
  --ink: #2a241c;
  --muted: #6d6257;
  --accent: #b56b2a;
  --accent-dark: #8a4e1f;
  --sage: #6f7c69;
  --card: #ffffff;
  --stroke: rgba(42, 36, 28, 0.12);
  --shadow: 0 20px 60px rgba(32, 24, 12, 0.16);
  --radius: 18px;
  --maxw: 1200px;
  --space: clamp(16px, 2vw, 28px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(155deg, #f8f1e8 0%, #f0e4d6 45%, #f7f2ea 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(181, 107, 42, 0.14) 0, transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(111, 124, 105, 0.14) 0, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(61, 46, 32, 0.12) 0, transparent 55%);
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: -20% -10% auto auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0, transparent 70%);
  filter: blur(20px);
  opacity: 0.7;
  pointer-events: none;
  z-index: -1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2 * var(--space), var(--maxw));
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: 90px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  z-index: 10;
}

.skip-link:focus {
  left: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(248, 242, 233, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stroke);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space);
  padding: 18px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 1;
}

.logo-full {
  display: block;
  width: clamp(180px, 20vw, 290px);
  height: auto;
}

.logo-mini {
  display: none;
  width: 54px;
  height: auto;
}

.site-nav {
  display: flex;
  gap: 18px;
  font-weight: 600;
  color: var(--muted);
}

.site-nav a {
  position: relative;
  padding-bottom: 4px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px rgba(181, 107, 42, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #fff;
  border-color: var(--stroke);
}

.btn-ghost {
  border-color: var(--stroke);
  background: transparent;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--stroke);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px var(--space) 24px;
  border-top: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.95);
}

.hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 6vw, 72px);
}

.hero-grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2.2px;
  font-size: 12px;
  color: var(--sage);
  margin: 0 0 12px 0;
  font-weight: 600;
}

.hero h1 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 54px);
  margin: 0 0 16px 0;
  line-height: 1.1;
}

.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 24px 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.hero-meta span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--stroke);
}

.hero-media {
  min-height: 360px;
  border-radius: var(--radius);
  background-image:
    linear-gradient(125deg, rgba(181, 107, 42, 0.2), rgba(61, 46, 32, 0.6)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.25) 0 8px, rgba(0, 0, 0, 0.06) 8px 16px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
}

.hero-picture,
.hero-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-picture {
  z-index: 1;
}

.hero-video-wrap {
  z-index: 2;
  pointer-events: none;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.6s ease, transform 0.9s ease;
}

.hero-media.is-video-ready .hero-video {
  opacity: 0.92;
  transform: scale(1);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: opacity 0.4s ease;
}

.hero-media.is-video-ready .hero-img {
  opacity: 0.18;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 3;
  pointer-events: none;
}

.trust-bar {
  padding: 18px 0 48px;
}

.trust-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.trust-item {
  padding: 12px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--stroke);
  text-align: center;
  font-weight: 600;
  font-size: 16px;
}

.section {
  padding: clamp(48px, 8vw, 96px) 0;
}

.section-header {
  max-width: 720px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--sage);
  margin: 0 0 10px 0;
  font-weight: 700;
}

.section h2 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 40px);
  margin: 0 0 14px 0;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.section-offer {
  background: rgba(255, 255, 255, 0.6);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

.card-grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--stroke);
  box-shadow: 0 20px 50px rgba(32, 24, 12, 0.08);
  display: grid;
  gap: 12px;
  min-height: 220px;
}

.card-media {
  display: block;
}

.card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: #efe5d8;
}

.card h3 {
  margin: 0;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.card-link {
  font-weight: 600;
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.card-link-secondary {
  color: var(--muted);
  font-weight: 600;
}

.card-link:hover,
.card-link:focus-visible,
.contact-card a:hover,
.contact-card a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent);
}

body.is-product-modal-open {
  overflow: hidden;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: clamp(12px, 2vw, 22px);
}

.product-modal[hidden] {
  display: none;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 19, 14, 0.68);
  backdrop-filter: blur(4px);
}

.product-modal-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(88vh, 760px);
  overflow: auto;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 30px 70px rgba(18, 14, 8, 0.38);
  padding: clamp(20px, 3vw, 30px);
  display: grid;
  gap: 14px;
}

.product-modal-close {
  justify-self: end;
  border: 1px solid var(--stroke);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  color: var(--ink);
}

.product-modal-eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 12px;
  color: var(--sage);
  font-weight: 700;
}

.product-modal h2 {
  margin: 0;
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 34px);
}

.product-modal-description {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.product-spec-grid {
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  display: grid;
  grid-template-columns: minmax(130px, 220px) minmax(0, 1fr);
  gap: 10px 14px;
}

.product-spec-grid dt {
  margin: 0;
  font-weight: 700;
}

.product-spec-grid dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.product-variant-block {
  display: grid;
  gap: 10px;
}

.product-variant-block h3 {
  margin: 0;
  font-size: 16px;
}

.product-variant-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.product-variant-block li {
  color: var(--muted);
  position: relative;
  padding-left: 16px;
}

.product-variant-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.product-modal-note {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.product-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-modal-actions .btn {
  min-height: 44px;
}

.section-wood {
  background: linear-gradient(125deg, rgba(239, 229, 216, 0.7), rgba(255, 255, 255, 0.7));
}

.wood-grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.wood-copy .btn {
  margin-top: 18px;
}

.wood-panel {
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  padding: 24px;
}

.wood-panel-inner {
  display: grid;
  gap: 12px;
  font-weight: 600;
}

.wood-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-weight: 500;
}

.wood-panel li {
  padding-left: 16px;
  position: relative;
}

.wood-panel li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 8px;
}

.section-services {
  padding-top: clamp(36px, 6vw, 72px);
}

.service-grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.section-services .service-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  width: 100%;
  min-height: 220px;
  overflow: hidden;
  padding: 22px;
  display: grid;
  gap: 12px;
  box-shadow: 0 20px 50px rgba(32, 24, 12, 0.08);
}

.service-media {
  display: block;
}

.service-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: #efe5d8;
}

.service-card h3 {
  margin: 0;
  font-size: 18px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.service-link {
  font-weight: 600;
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.service-link-secondary {
  color: var(--muted);
  font-weight: 600;
}

.service-link:hover,
.service-link:focus-visible {
  color: var(--accent);
}

.section-about {
  background: #fff;
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

.about-grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.about-highlight {
  display: flex;
  justify-content: center;
}

.about-card {
  background: linear-gradient(135deg, rgba(181, 107, 42, 0.1), rgba(111, 124, 105, 0.1));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.about-card h3 {
  margin: 0;
  font-size: 20px;
}

.about-list {
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-weight: 600;
}

.about-list span {
  padding-left: 18px;
  position: relative;
}

.about-list span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.section-contact {
  padding-bottom: clamp(28px, 5vw, 56px);
}

.contact-grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 32px rgba(32, 24, 12, 0.08);
}

.contact-card p {
  margin: 6px 0;
  color: var(--muted);
}

.contact-card a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-title {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.contact-form form {
  display: grid;
  gap: 16px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  padding: 24px;
  box-shadow: 0 16px 40px rgba(32, 24, 12, 0.1);
}

.form-status {
  display: none;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  line-height: 1.4;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: rgba(61, 125, 72, 0.1);
  color: #23572f;
  border-color: rgba(61, 125, 72, 0.35);
}

.form-status.is-error {
  background: rgba(175, 47, 47, 0.1);
  color: #7e1f1f;
  border-color: rgba(175, 47, 47, 0.35);
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  border-radius: 12px;
  border: 1px solid var(--stroke);
  padding: 12px 14px;
  font: inherit;
  background: #faf7f2;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(181, 107, 42, 0.35);
  border-color: rgba(181, 107, 42, 0.5);
}

.form-note {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.contact-map {
  margin-top: clamp(24px, 4vw, 48px);
}

.contact-map-card {
  position: relative;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--stroke);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 56px rgba(32, 24, 12, 0.18);
  isolation: isolate;
}

.contact-map-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(31, 26, 20, 0.04) 20%, rgba(31, 26, 20, 0.32) 82%);
  pointer-events: none;
  z-index: 1;
}

.contact-map iframe {
  width: 100%;
  height: clamp(320px, 48vw, 500px);
  border: 0;
  display: block;
  filter: saturate(0.9) contrast(1.05);
}

.contact-map-overlay {
  position: absolute;
  left: clamp(14px, 2.5vw, 28px);
  bottom: clamp(14px, 2.5vw, 28px);
  width: min(420px, calc(100% - clamp(28px, 5vw, 56px)));
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(31, 26, 20, 0.8);
  color: #f7f2ea;
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  z-index: 2;
}

.contact-map-eyebrow {
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(247, 242, 234, 0.82);
}

.contact-map-overlay h3 {
  margin: 0 0 6px 0;
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.2;
}

.contact-map-overlay p {
  margin: 0;
  color: rgba(247, 242, 234, 0.9);
  line-height: 1.5;
}

.contact-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.contact-map-actions .btn {
  min-height: 44px;
}

.contact-map-actions .btn-primary {
  box-shadow: none;
}

.contact-map-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(42, 36, 28, 0.16);
  color: var(--ink);
}

.contact-map-actions .btn-secondary:hover,
.contact-map-actions .btn-secondary:focus-visible {
  background: #fff;
  color: var(--accent-dark);
}

.site-footer {
  padding: 28px 0 36px;
  background: #1f1a14;
  color: #f7f2ea;
}

.footer-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-title {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 18px;
  margin: 0 0 6px 0;
}

.site-footer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(181, 107, 42, 0.45);
  outline-offset: 2px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

body.is-loaded .reveal {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

.subpage-main {
  padding-bottom: 24px;
}

.subpage-hero {
  padding-top: clamp(24px, 4vw, 48px);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

.breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section-muted {
  background: rgba(255, 255, 255, 0.68);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

.detail-layout {
  display: grid;
  gap: clamp(18px, 2.5vw, 30px);
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 1fr);
  align-items: start;
}

.detail-block {
  display: grid;
  gap: 14px;
}

.detail-block h2 {
  margin: 0;
}

.detail-block h3 {
  margin: 6px 0 0 0;
  font-size: 21px;
}

.detail-block p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.detail-aside {
  position: sticky;
  top: 104px;
}

.detail-picture img {
  border-radius: 18px;
  border: 1px solid var(--stroke);
  box-shadow: 0 16px 36px rgba(32, 24, 12, 0.12);
}

.table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: #fff;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(42, 36, 28, 0.1);
}

.spec-table th {
  width: 35%;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.feature-list li {
  color: var(--muted);
  line-height: 1.6;
  position: relative;
  padding-left: 16px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 940px;
}

.faq-item {
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: #fff;
  padding: 4px 14px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  line-height: 1.4;
  padding: 12px 0;
}

.faq-item p {
  margin: 0 0 12px 0;
  color: var(--muted);
  line-height: 1.65;
}

.mini-card-grid {
  display: grid;
  gap: clamp(12px, 2vw, 20px);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.mini-card {
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 14px 30px rgba(32, 24, 12, 0.08);
  display: grid;
  gap: 10px;
}

.mini-card h3 {
  margin: 0;
  font-size: 18px;
}

.subpage-contact {
  padding-top: clamp(40px, 6vw, 72px);
}

@media (max-width: 920px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-aside {
    position: static;
  }

  .site-nav {
    display: none;
  }

  .logo-full {
    width: clamp(165px, 34vw, 240px);
  }

  .hero-video-wrap {
    display: none;
  }

  .hero-media.is-video-ready .hero-img {
    opacity: 0.9;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    white-space: nowrap;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .header-actions .btn-ghost {
    min-height: 44px;
    white-space: nowrap;
  }

  .mobile-nav .btn {
    width: 100%;
    min-height: 48px;
  }
}

body.nav-open .mobile-nav {
  display: flex;
}

@media (max-width: 640px) {
  .header-inner {
    gap: 10px;
    padding: 14px 0;
  }

  .logo-full {
    display: none;
  }

  .logo-mini {
    display: block;
  }

  .header-actions {
    margin-left: auto;
    gap: 10px;
  }

  .btn {
    min-height: 44px;
    padding: 11px 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .contact-form .btn {
    width: 100%;
    min-height: 48px;
  }

  .hero-media {
    min-height: 260px;
  }

  .card-img {
    height: 120px;
  }

  .service-img {
    height: 120px;
  }

  .section-services .service-card {
    border-radius: var(--radius);
  }

  .product-modal-dialog {
    max-height: calc(100vh - 20px);
    padding: 18px;
  }

  .product-spec-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .product-modal-actions .btn {
    width: 100%;
  }

  .contact-map-card::after {
    display: none;
  }

  .contact-map iframe {
    height: 300px;
  }

  .contact-map-overlay {
    position: static;
    width: 100%;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  .contact-map-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-video {
    transition: none;
    transform: none;
  }

  .reveal,
  .btn,
  .site-nav a::after {
    transition: none;
  }
}
