:root {
  --brand: #be936a;
  --brand-dark: #775640;
  --ink: #2c261f;
  --muted: #6f675f;
  --paper: #fffaf2;
  --soft: #f3eadf;
  --line: #e6d8c7;
  --sage: #68765a;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(65, 48, 35, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px 32px;
  background: rgba(255, 250, 242, 0.94);
  border-bottom: 1px solid rgba(119, 86, 64, 0.16);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: 236px;
  height: auto;
  max-height: 62px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--brand-dark);
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  border-bottom: 2px solid transparent;
  padding: 8px 0;
}

.nav-links a:hover {
  border-color: var(--brand);
}

.nav-cta {
  color: var(--white);
  background: var(--brand-dark);
  border: 0;
  border-radius: var(--radius);
}

.nav-links .nav-cta {
  padding: 10px 16px;
}

.nav-links .nav-cta:hover {
  border-color: transparent;
  background: #684a36;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--brand-dark);
}

.hero-slider {
  position: relative;
  min-height: 560px;
  height: 72svh;
  max-height: 720px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(50, 37, 27, 0.94), rgba(80, 58, 39, 0.78) 42%, rgba(119, 86, 64, 0.42)),
    repeating-linear-gradient(90deg, rgba(190, 147, 106, 0.16) 0 2px, rgba(255, 250, 242, 0.04) 2px 8px),
    var(--brand-dark);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-image-alt {
  object-position: center right;
}

.hero-image-soft {
  object-position: center right;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(28, 22, 18, 0.28), rgba(28, 22, 18, 0)),
    linear-gradient(90deg, rgba(41, 30, 22, 0.55), rgba(41, 30, 22, 0.05) 72%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: inherit;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0 96px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-content h1 {
  max-width: 660px;
  margin: 0;
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-content p:not(.eyebrow) {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 20px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: #2d2118;
  background: var(--brand);
}

.button.primary:hover {
  background: #d0a57d;
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.slider-controls {
  position: absolute;
  right: 32px;
  bottom: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}

.slider-arrow,
.dot {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  color: var(--white);
  border-radius: var(--radius);
  font-size: 30px;
  line-height: 1;
}

.slider-arrow:hover,
.dot:hover {
  background: rgba(255, 255, 255, 0.2);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  padding: 0;
}

.dot.is-active {
  background: var(--brand);
  border-color: var(--brand);
}

.section {
  padding: 92px 0;
}

.section h2 {
  margin: 0;
  color: var(--ink);
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.compact {
  margin-bottom: 26px;
}

.about {
  background: linear-gradient(180deg, var(--paper), #fffdf8);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 58px;
  align-items: start;
}

.about-copy {
  color: var(--muted);
  font-size: 18px;
}

.about-copy p {
  margin: 0 0 18px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 54px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.stats-row div {
  display: flex;
  min-width: 0;
  min-height: 134px;
  align-items: center;
  gap: 18px;
  padding: 28px;
  background: var(--white);
}

.stats-row img {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
}

.stats-row p {
  margin: 0;
}

.stats-row strong {
  display: block;
  color: var(--brand-dark);
  font-size: 24px;
  line-height: 1.2;
}

.stats-row span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.products {
  background: var(--soft);
}

.products .section-head {
  text-align: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  overflow: hidden;
  border: 1px solid rgba(119, 86, 64, 0.16);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(119, 86, 64, 0.08);
}

.product-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center 46%;
  background: #2f2a23;
}

.product-card:nth-child(2) img {
  object-position: 58% 54%;
}

.product-card:nth-child(3) img {
  object-position: 36% 45%;
}

.product-card div {
  padding: 24px;
}

.product-card h3 {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: 22px;
  line-height: 1.2;
}

.product-card p {
  margin: 0;
  color: var(--muted);
}

.gallery {
  background: #fffdf8;
}

.gallery .section-head {
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-auto-rows: 245px;
  gap: 18px;
}

.gallery-item {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #30261e;
}

.gallery-trigger {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-item.large {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transform: scale(1.04);
  transition: opacity 220ms ease, transform 220ms ease;
}

.gallery-trigger:hover img,
.gallery-trigger:focus-visible img {
  opacity: 1;
  transform: scale(1.08);
}

.gallery-trigger:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: -3px;
}

.gallery-item:nth-child(1) img {
  object-position: 48% 52%;
}

.gallery-item:nth-child(2) img {
  object-position: 42% 38%;
}

.gallery-item:nth-child(3) img {
  object-position: 68% 48%;
}

.gallery-item:nth-child(4) img {
  object-position: 54% 58%;
}

.gallery-item:nth-child(5) img {
  object-position: 50% 50%;
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(35, 25, 18, 0.78);
  backdrop-filter: blur(8px);
}

.gallery-modal-content {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-height: min(760px, calc(100svh - 48px));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: #211812;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.gallery-modal-content img {
  width: 100%;
  max-height: min(760px, calc(100svh - 48px));
  object-fit: contain;
  border-radius: var(--radius);
}

.gallery-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(43, 33, 25, 0.86);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.gallery-modal-close:hover,
.gallery-modal-close:focus-visible {
  background: var(--brand-dark);
}

.partners {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(46, 61, 45, 0.95), rgba(119, 86, 64, 0.95)),
    var(--sage);
}

.partners h2,
.partners .section-kicker {
  color: var(--white);
}

.partners p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.partners-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 52px;
  align-items: center;
}

.partner-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.partner-list div {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
}

.partner-list img {
  width: 42px;
  height: 42px;
}

.partner-list span {
  display: block;
  line-height: 1.24;
}

.quote {
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.94), rgba(255, 250, 242, 0.82)),
    repeating-linear-gradient(90deg, rgba(190, 147, 106, 0.16) 0 1px, transparent 1px 7px);
}

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 56px;
  align-items: start;
}

.quote-intro p:not(.section-kicker) {
  color: var(--muted);
  font-size: 18px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d9c7b5;
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: #fffdf8;
}

.contact-form textarea {
  resize: vertical;
}

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(190, 147, 106, 0.24);
  border-color: var(--brand);
}

.full {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 24px;
  grid-column: 1 / -1;
  margin: 0;
  color: var(--sage);
  font-weight: 800;
}

.site-footer {
  color: rgba(255, 255, 255, 0.84);
  background: #2b2119;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
  padding: 52px 0 32px;
}

.footer-brand {
  width: fit-content;
  border-radius: var(--radius);
  padding: 10px 12px;
  background: var(--paper);
}

.footer-brand .brand-logo {
  width: 218px;
  max-height: 58px;
}

.footer-grid strong {
  display: block;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-grid a:not(.brand) {
  display: block;
  margin-bottom: 8px;
}

.footer-grid p {
  max-width: 330px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0 24px;
  font-size: 14px;
}

.footer-bottom a {
  color: var(--white);
  font-weight: 800;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  border-color: var(--brand);
}

@media (max-width: 980px) {
  .site-header {
    padding-inline: 20px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 13px 0;
  }

  .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

  .hero-slider {
    min-height: 610px;
    height: 74svh;
  }

  .hero-image {
    object-position: center;
  }

  .hero-content h1 {
    max-width: 620px;
    font-size: 48px;
  }

  .hero-content p:not(.eyebrow) {
    font-size: 17px;
  }

  .about-grid,
  .partners-grid,
  .quote-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    display: grid;
    grid-template-columns: 280px 1fr;
  }

  .product-card img {
    height: 100%;
    min-height: 230px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item.large,
  .gallery-item.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 68px;
    padding: 12px 14px;
  }

  .brand-logo {
    width: 182px;
    max-height: 50px;
  }

  .hero-slider {
    min-height: 590px;
    height: 76svh;
  }

  .hero-content {
    padding: 54px 0 92px;
  }

  .hero-content h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  .hero-content p:not(.eyebrow) {
    max-width: 100%;
    font-size: 16px;
  }

  .hero-image {
    object-position: center;
  }

  .hero-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .slider-controls {
    right: 14px;
    left: 14px;
    justify-content: space-between;
  }

  .section {
    padding: 68px 0;
  }

  .section h2 {
    font-size: 31px;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .stats-row div {
    align-items: flex-start;
  }

  .product-card {
    display: block;
  }

  .product-card img {
    min-height: 0;
    height: 210px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }

  .partner-list,
  .contact-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .hero-slider {
    min-height: 620px;
  }

  .hero-content h1 {
    font-size: 32px;
  }
}
