:root {
  --color-primary: #171717;
  --color-on-primary: #ffffff;
  --color-secondary: #44403c;
  --color-on-secondary: #ffffff;
  --color-accent: #e8b000;
  --color-accent-hover: #c99a00;
  --color-on-accent: #ffffff;
  --color-brand: #e8b000;
  --color-gold-soft: #f6e7b8;
  --color-background: #faf8f4;
  --color-foreground: #171717;
  --color-card: #ffffff;
  --color-card-foreground: #171717;
  --color-muted: #efebe3;
  --color-muted-foreground: #57534e;
  --color-border: #e5e0d6;
  --color-destructive: #dc2626;
  --color-on-destructive: #ffffff;
  --color-ring: #171717;
  --color-success: #047857;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  --shadow-sm: 0 1px 2px rgba(23, 23, 23, 0.05);
  --shadow-md: 0 4px 6px rgba(23, 23, 23, 0.1);
  --shadow-lg: 0 10px 15px rgba(23, 23, 23, 0.1);
  --shadow-xl: 0 20px 25px rgba(23, 23, 23, 0.15);

  --radius: 12px;
  --header-h: 70px;
  --wrap: min(1160px, calc(100% - 2rem));
  --font: "Onest", "Segoe UI", system-ui, sans-serif;
  --measure: 68ch;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-foreground);
  background: var(--color-background);
  padding-top: var(--header-h);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-foreground);
}

a:hover {
  color: #8a6914;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-ring);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
  min-width: 0;
}

@media (min-width: 768px) {
  :root {
    --wrap: min(1160px, calc(100% - 3rem));
  }
}

@media (min-width: 1024px) {
  :root {
    --wrap: min(1160px, calc(100% - 4rem));
  }
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-h);
  background: var(--color-primary);
  color: var(--color-on-primary);
  z-index: 50;
  box-shadow: var(--shadow-md);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 20px;
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  min-height: 40px;
  flex-shrink: 0;
}

.logo:hover {
  color: #fff;
}

.logo-mark {
  width: 34px;
  height: 34px;
}

.logo-text {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.logo-text span {
  color: var(--color-brand);
}

.nav {
  display: none;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
  min-width: 0;
}

.nav a {
  color: #f5f2ea;
  text-decoration: none;
  padding: 0 14px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.92rem;
  white-space: nowrap;
}

.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transition: background 200ms ease, color 200ms ease;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.header-phone {
  display: none;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  min-height: 40px;
  height: 40px;
  align-items: center;
  line-height: 1;
}

.header-phone:hover {
  color: var(--color-brand);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  border-radius: 8px;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

@media (min-width: 1100px) {
  .nav {
    display: flex;
  }

  .header-phone {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }
}

.nav-mobile {
  display: none;
  background: #111111;
  padding: 8px 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-mobile.is-open {
  display: flex;
  flex-direction: column;
  min-height: calc(100dvh - var(--header-h));
  background: #111111;
}

.nav-mobile a {
  color: #fff;
  text-decoration: none;
  padding: 12px 8px;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-mobile a:hover {
  color: var(--color-brand);
}

body.nav-open {
  overflow: hidden;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 600;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease, opacity 200ms ease, border-color 200ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--color-on-primary);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost {
  background: #fff;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-ghost:hover {
  background: var(--color-muted);
}

.btn-brand {
  background: var(--color-brand);
  color: #fff;
}

.btn-brand:hover {
  filter: brightness(0.95);
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:focus-visible,
.btn-primary:active,
.btn-primary:visited,
a.btn-primary:hover,
a.btn-primary:focus,
a.btn-primary:active,
a.btn-primary:visited {
  color: #fff;
}

.btn-brand,
.btn-brand:hover,
.btn-brand:focus,
.btn-brand:focus-visible,
.btn-brand:active,
.btn-brand:visited,
a.btn-brand:hover,
a.btn-brand:focus,
a.btn-brand:active,
a.btn-brand:visited {
  color: #fff;
}

.btn-ghost,
.btn-ghost:hover,
.btn-ghost:focus,
.btn-ghost:focus-visible,
.btn-ghost:active,
.btn-ghost:visited,
a.btn-ghost:hover,
a.btn-ghost:focus,
a.btn-ghost:active,
a.btn-ghost:visited {
  color: var(--color-primary);
}

.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:focus-visible,
.btn-secondary:active,
.btn-secondary:visited,
a.btn-secondary:hover,
a.btn-secondary:focus,
a.btn-secondary:active,
a.btn-secondary:visited {
  color: var(--color-on-primary);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.btn.header-cta {
  display: none;
}

@media (min-width: 768px) {
  .btn.header-cta {
    display: inline-flex;
    min-height: 40px;
    height: 40px;
    padding: 0 16px;
    font-size: 0.92rem;
  }
}

@media (min-width: 1100px) {
  .btn.header-cta {
    padding: 0 18px;
  }
}

/* Hero — full-bleed banner, grayscale → color */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: clamp(460px, calc(100vh - var(--header-h) - 160px), 600px);
  color: var(--color-primary);
  background: #fff;
  overflow: hidden;
  padding: 2.5rem 0 1.75rem;
}

.hero > .wrap {
  position: relative;
  z-index: 2;
  flex: none;
  width: var(--wrap);
}

.hero-copy {
  max-width: 46rem;
  margin: 0;
  text-align: left;
  min-width: 0;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background: url("../img/hero.jpg?v=3") right center / cover no-repeat;
}

.hero-slide-bw {
  filter: grayscale(1);
}

.hero-slide-color {
  filter: none;
  clip-path: inset(0 100% 0 0);
  animation: hero-colorize 2.1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #fff 0%,
    rgba(255, 255, 255, 0.96) 38%,
    rgba(255, 255, 255, 0.78) 54%,
    rgba(255, 255, 255, 0.2) 70%,
    rgba(255, 255, 255, 0) 82%
  );
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-brand);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(1.65rem, 2.7vw, 2.4rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  margin: 10px 0 12px;
}

.hero .lead {
  color: var(--color-secondary);
  font-size: 1.0625rem;
  max-width: 42rem;
  margin: 0 0 1.25rem;
}

.hero .btn-ghost {
  background: rgba(255, 255, 255, 0.72);
}

@keyframes hero-colorize {
  to {
    clip-path: inset(0 0 0 0);
  }
}

@media (max-width: 1099px) {
  .hero-copy {
    max-width: 34rem;
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: 0;
    align-items: flex-end;
    padding: 2.25rem 0 2.75rem;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-slide {
    background-size: cover;
    background-position: 82% 28%;
  }

  .hero-shade {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(255, 255, 255, 0.88) 38%,
      rgba(255, 255, 255, 0.96) 100%
    );
  }
}

@media (max-width: 479px) {
  .hero h1 {
    font-size: 1.45rem;
    line-height: 1.25;
  }

  .hero .lead {
    font-size: 1rem;
  }

  .hero .btn-row,
  .contact-card .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero .btn-row .btn,
  .contact-card .btn-row .btn {
    width: 100%;
  }
}

/* Proof */
.proof {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
}

.advantage {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  padding: 1.15rem 0;
}

.advantage-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--color-gold-soft);
  color: var(--color-primary);
}

.advantage-icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.advantage-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}

.advantage-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-primary);
}

.advantage-description {
  color: var(--color-muted-foreground);
  font-size: 0.92rem;
  line-height: 1.4;
}

.advantage + .advantage::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--color-border);
}

@media (min-width: 768px) {
  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advantage {
    padding: 1.15rem 1.25rem;
  }

  .advantage:nth-child(odd) {
    padding-left: 0;
  }

  .advantage:nth-child(even) {
    padding-right: 0;
  }

  .advantage + .advantage::before {
    display: none;
  }

  .advantage:nth-child(even)::before {
    display: block;
    left: 0;
    right: auto;
    top: 18px;
    bottom: 18px;
    width: 1px;
    height: auto;
  }

  .advantage:nth-child(n + 3)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: var(--color-border);
  }
}

@media (min-width: 1100px) {
  .proof-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .advantage:nth-child(odd) {
    padding-left: 1.25rem;
  }

  .advantage:first-child {
    padding-left: 0;
  }

  .advantage:nth-child(even) {
    padding-right: 1.25rem;
  }

  .advantage:last-child {
    padding-right: 0;
  }

  .advantage + .advantage::before {
    display: block;
    left: 0;
    right: auto;
    top: 18px;
    bottom: 18px;
    width: 1px;
    height: auto;
  }

  .advantage:nth-child(n + 3)::after {
    content: none;
  }
}

/* Sections */
.section {
  padding: 3.25rem 0;
}

.section-head {
  max-width: none;
  margin-bottom: 1.75rem;
}

.section-head[id] {
  scroll-margin-top: 20px;
}

#feedback-form {
  scroll-margin-top: 8px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-width: 0;
  margin: 0 0 1.35rem;
}

.section-label::before,
.section-label::after {
  content: "";
  height: 1px;
  min-width: 0;
}

.section-label::before {
  flex: 0 0 2.75rem;
  width: 2.75rem;
  background: var(--color-brand);
}

.section-label::after {
  flex: 1 1 auto;
  background: var(--color-border);
}

.section-label span {
  flex: 0 1 auto;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
  white-space: nowrap;
  line-height: 1;
}

.section-label + .section-head,
.section-label + .about-grid,
.section-label + .contact-grid {
  margin-top: 0;
}

@media (max-width: 479px) {
  .section-label {
    gap: 10px;
  }

  .section-label::before {
    flex: 0 0 1.5rem;
    width: 1.5rem;
  }

  .section-label span {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}

.section-head p {
  margin: 0;
  color: var(--color-muted-foreground);
}

#catalog .catalog-group + .section-head {
  margin-top: 4rem;
}

#advantages.section {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

#advantages .section-head {
  margin-bottom: 1.25rem;
}

#about.section {
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}

.section-alt {
  background: #fff;
}

/* Catalog cards */
.grid-3,
.grid-2 {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, calc((100% - 2 * var(--space-lg)) / 3)));
    justify-content: center;
  }
}

.card {
  background: var(--color-card);
  color: var(--color-card-foreground);
  border-radius: 16px;
  padding: 0;
  box-shadow: none;
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 200ms ease, border-color 200ms ease;
}

.card:hover,
.card.is-open {
  box-shadow: var(--shadow-md);
  border-color: #d6d3d1;
}

.card.is-open {
  border-color: var(--color-accent);
}

.card[data-product-card] {
  cursor: pointer;
}

a.card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.card:hover {
  box-shadow: var(--shadow-md);
}

.card-img {
  background: #f4f1ea;
  aspect-ratio: 13 / 10;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px 6px;
}

.card-img img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.card-body {
  padding: 16px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.card-body h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.card-body p {
  margin: 0;
  color: var(--color-muted-foreground);
  font-size: 0.95rem;
  flex: 1;
}

.card-link,
.card-more {
  font-weight: 600;
  color: var(--color-foreground);
}

.card-more:hover,
.card-link:hover {
  color: #8a6914;
}

.card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 8px 0 2px;
  min-height: 40px;
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.card-more-icon {
  transition: transform 200ms ease;
}

.card-more[aria-expanded="true"] .card-more-icon {
  transform: rotate(180deg);
}

.catalog-group {
  display: grid;
  gap: var(--space-lg);
}

.product-panel {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: none;
  padding: 1.5rem;
}

.product-panel[hidden] {
  display: none;
}

.product-panel:not([hidden]) {
  animation: panel-in 200ms ease;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.product-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 1rem;
}

.product-panel-head h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.product-panel-close {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--color-muted);
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.product-panel-close:hover {
  background: #e8e4da;
}

/* Benefits */
.benefits {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.benefit {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--color-gold-soft);
  color: var(--color-primary);
  margin-bottom: 12px;
  flex-shrink: 0;
}

.benefit-icon svg {
  display: block;
}

.benefit h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.benefit p {
  margin: 0;
  color: var(--color-muted-foreground);
}

/* About */
.about-grid {
  display: grid;
  gap: var(--space-xl);
  align-items: stretch;
  min-width: 0;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.about-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 240px;
  box-shadow: var(--shadow-lg);
}

.about-visual img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  min-height: 240px;
  object-fit: cover;
  display: block;
}

@media (min-width: 900px) {
  .about-visual {
    min-height: 0;
  }

  .about-visual img {
    aspect-ratio: auto;
    position: absolute;
    inset: 0;
    min-height: 0;
  }
}

.about-grid .prose {
  max-width: none;
}

.quote {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  border-left: 4px solid var(--color-brand);
  background: #fff;
  border-radius: 0 12px 12px 0;
}

.prose {
  max-width: var(--measure);
}

.prose h2,
.prose h3 {
  letter-spacing: -0.01em;
}

.prose > .btn-row {
  margin-top: 1.5rem;
}

.contact-card .btn-row {
  margin-top: 1rem;
}

.kicker {
  color: var(--color-muted-foreground);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0.75rem 0 1.5rem;
}

@media (min-width: 768px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.gallery figure {
  margin: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.gallery figcaption {
  padding: 8px 10px 10px;
  font-size: 0.85rem;
  color: var(--color-muted-foreground);
  margin-top: auto;
}

#examples h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

/* Contacts + form */
.contact-grid {
  display: grid;
  gap: var(--space-xl);
  align-items: start;
  min-width: 0;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.contact-grid > * > h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
}

.contact-grid > * > p {
  margin: 0 0 1rem;
  color: var(--color-muted-foreground);
}

.contact-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.contact-card h3 {
  margin-top: 0;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-list a {
  font-weight: 600;
  text-decoration: none;
}

.map {
  margin-top: var(--space-lg);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.map iframe {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}

.form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.field .req {
  color: var(--color-destructive);
}

.input,
.textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  color: var(--color-foreground);
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.input:focus,
.textarea:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px #17171720;
}

.field-error {
  display: none;
  color: var(--color-destructive);
  font-size: 0.875rem;
  margin: 6px 0 0;
}

.field.is-invalid .input,
.field.is-invalid .textarea {
  border-color: var(--color-destructive);
}

.field.is-invalid .field-error {
  display: block;
}

.form-error {
  display: none;
  background: #fef2f2;
  color: #991b1b;
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.form-error.is-visible {
  display: block;
}

.form-success {
  display: none;
  background: #ecfdf5;
  color: #065f46;
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.form-success.is-visible {
  display: block;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.form,
form[data-lead-form] {
  position: relative;
}

.check,
.field label.check {
  display: flex;
  align-items: flex-start;
  gap: 0;
  font-size: 0.9rem;
  color: var(--color-muted-foreground);
}

.check input,
.check input[type="checkbox"] {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 3px 8px 0 0;
  padding: 0;
  align-self: flex-start;
}

.check span {
  margin: 0;
  padding: 0;
  line-height: 1.45;
  vertical-align: initial;
  min-width: 0;
}

/* Product page */
.page-hero {
  background: var(--color-primary);
  color: #fff;
  padding: 2.5rem 0;
}

.page-hero h1 {
  margin: 8px 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.crumb {
  color: #a8a29e;
  font-size: 0.9rem;
}

.crumb a {
  color: #f5f2ea;
}

.product-layout {
  display: grid;
  gap: var(--space-xl);
  align-items: start;
}

@media (min-width: 900px) {
  .product-layout {
    grid-template-columns: 300px minmax(0, 1fr);
  }
}

.product-photo {
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
  aspect-ratio: 1;
  background: #f4f1ea;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 900px) {
  .product-photo {
    max-width: none;
    margin-inline: 0;
  }
}

.specs {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.specs th,
.specs td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  overflow-wrap: break-word;
}

.specs th {
  width: 42%;
  color: var(--color-muted-foreground);
  font-weight: 600;
}

/* Footer */
.footer {
  background: var(--color-primary);
  color: #c4c0b8;
  padding: 2rem 0 5.5rem;
}

.footer-grid {
  display: grid;
  gap: var(--space-lg);
  align-items: start;
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .footer {
    padding-bottom: 2rem;
  }
}

.footer a {
  color: #f5f2ea;
}

.footer a:hover {
  color: var(--color-brand);
}

.footer .logo {
  margin: 0 0 14px;
  width: fit-content;
  max-width: 100%;
}

.footer .logo:hover,
.footer .logo:hover .logo-text {
  color: #fff;
}

.footer .logo:hover .logo-text span {
  color: var(--color-brand);
}

.footer h2,
.footer h3 {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 10px;
}

.footer p {
  margin: 0;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer li {
  margin-bottom: 8px;
}

.footer-copy {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  flex-wrap: wrap;
}

.footer-copy a {
  color: #f5f2ea;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-copy a:hover {
  color: var(--color-brand);
}

/* Mobile CTA bar */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--color-border);
  z-index: 40;
}

@media (max-width: 767px) {
  body {
    padding-bottom: 76px;
  }

  .section {
    padding: 2.5rem 0;
  }

  #catalog .catalog-group + .section-head {
    margin-top: 2.5rem;
  }

  .advantage {
    padding: 1.1rem 0;
  }

  .product-panel {
    padding: 1.15rem;
  }

  .footer-copy {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 768px) {
  .mobile-cta {
    display: none;
  }
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 16px;
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: auto;
  transition: opacity 280ms ease-out, visibility 0s linear 280ms;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 280ms ease-out, visibility 0s linear 0s;
}

.modal {
  position: relative;
  background: #fff;
  width: min(520px, 100%);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-xl);
  max-height: calc(100dvh - 32px);
  overflow-x: hidden;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 320ms ease-out, transform 320ms ease-out;
}

.modal-overlay.is-open .modal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal h2 {
  margin: 0 0 8px;
  padding-right: 52px;
}

.modal > p {
  margin: 0 0 1rem;
  padding-right: 0;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--color-muted);
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

@media (max-width: 479px) {
  .modal-overlay {
    padding: 12px;
    align-items: start;
  }

  .modal {
    padding: 20px 16px 16px;
    max-height: calc(100dvh - 24px);
  }

  .modal-close {
    top: 12px;
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  a.card,
  .card,
  .btn:hover,
  a.card:hover,
  .card:hover,
  .card-more-icon,
  .product-panel:not([hidden]),
  .hero-media,
  .hero-slide-color {
    transition: none;
    transform: none;
    animation: none;
  }

  .hero-slide-color {
    clip-path: none;
  }

  .modal-overlay,
  .modal-overlay.is-open,
  .modal,
  .modal-overlay.is-open .modal {
    transition: none;
    transform: none;
  }
}
