:root {
  --ink: #213133;
  --muted: #647072;
  --paper: #faf9f7;
  --sand: #f1eae1;
  --line: #ddd3c6;
  --gold: #aa7845;
  --gold-soft: #cdbdab;
  --deep: #182629;
  --white: #ffffff;
  --max: 1280px;
  font-family: "Century Gothic", "Avenir Next", Avenir, "Trebuchet MS", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 99;
  top: 10px;
  left: 10px;
  transform: translateY(-200%);
  padding: 10px 14px;
  background: var(--white);
  color: var(--deep);
  border: 1px solid var(--deep);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 82px;
  padding: 10px clamp(20px, 4vw, 58px);
  background: rgba(250, 249, 247, 0.96);
  border-bottom: 1px solid rgba(205, 189, 171, 0.75);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 235px;
  height: 62px;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 27px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav a,
.text-link {
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.contact-email:hover,
.contact-email:focus-visible {
  color: var(--gold);
}

.header-contact {
  justify-self: end;
  padding: 11px 15px;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.header-contact:hover,
.header-contact:focus-visible {
  background: var(--ink);
  color: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100svh - 82px));
  overflow: clip;
  color: var(--white);
  background: var(--deep);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 46%;
  filter: saturate(0.85) contrast(1.03);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(16, 29, 31, 0.84) 0%, rgba(16, 29, 31, 0.62) 40%, rgba(16, 29, 31, 0.12) 78%),
    linear-gradient(0deg, rgba(16, 29, 31, 0.8) 0%, transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 760px;
  margin: 0 clamp(24px, 9vw, 150px);
  padding: 43px 0 148px;
}

.hero-process {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 12px;
  color: var(--white);
  font-size: clamp(0.76rem, 1.05vw, 1rem);
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.32);
}

.hero-process::before {
  width: clamp(24px, 3vw, 42px);
  height: 2px;
  margin-right: 2px;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(222, 180, 124, 0.7);
  content: "";
}

.hero-process b {
  color: var(--gold);
  font-size: 1.25em;
  font-weight: 900;
  line-height: 0.9;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.hero h1,
.origin h2,
.catalogue h2,
.contact-panel h2 {
  margin: 0;
  letter-spacing: -0.045em;
  line-height: 0.97;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(3.3rem, 7vw, 6.9rem);
  font-weight: 700;
}

.hero-copy {
  max-width: 605px;
  margin: 28px 0 0;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.button-light {
  border-color: var(--white);
  background: var(--white);
  color: var(--deep);
}

.button-light:hover,
.button-light:focus-visible {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--white);
}

.text-link {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--white);
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}

.hero-facts {
  position: absolute;
  z-index: 1;
  right: clamp(24px, 8vw, 128px);
  bottom: 42px;
  left: clamp(24px, 8vw, 128px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 860px;
}

.hero-facts div {
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  padding-top: 12px;
}

.hero-facts strong {
  font-size: 1.85rem;
  letter-spacing: -0.05em;
}

.hero-facts span {
  max-width: 122px;
  font-size: 0.73rem;
  line-height: 1.35;
}

.origin {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(70px, 10vw, 144px) clamp(24px, 5vw, 60px);
}

.origin-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(40px, 8vw, 128px);
  align-items: start;
}

.origin h2,
.catalogue h2,
.contact-panel h2 {
  font-size: clamp(2.3rem, 4.4vw, 4.5rem);
}

.origin p {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.7;
}

.origin .quiet {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

.catalogue {
  background: #efece6;
  padding: clamp(70px, 9vw, 122px) clamp(24px, 5vw, 60px);
}

.catalogue-heading,
.catalogue-tools,
.product-grid {
  max-width: var(--max);
  margin-right: auto;
  margin-left: auto;
}

.catalogue-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.result-count {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
}

.catalogue-tools {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) 1.5fr;
  gap: 28px;
  align-items: center;
  margin-top: 52px;
  padding-bottom: 27px;
  border-bottom: 1px solid var(--gold-soft);
}

.search input {
  width: 100%;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  outline: none;
  font-size: 0.9rem;
}

.search input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(170, 120, 69, 0.15);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter {
  min-height: 40px;
  padding: 7px 13px;
  border: 1px solid rgba(100, 112, 114, 0.35);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 700;
}

.filter:hover,
.filter:focus-visible,
.filter.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(33, 49, 51, 0.08);
}

.product-visual {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #f2efea;
}

.product-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 350ms ease;
}

.product-card:hover .product-visual img {
  transform: none;
}

.product-badges {
  position: absolute;
  top: 13px;
  left: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.badge {
  padding: 6px 8px;
  background: rgba(250, 249, 247, 0.92);
  color: var(--ink);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.065em;
}

.badge.badge-gold {
  background: var(--gold);
  color: var(--white);
}

.product-body {
  display: grid;
  flex: 1;
  grid-template-rows: auto auto 1fr auto;
  padding: 20px 20px 18px;
}

.product-type {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.product-title {
  margin: 0;
  font-size: clamp(1.25rem, 1.75vw, 1.6rem);
  letter-spacing: -0.035em;
}

.product-price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.price-label {
  max-width: 100px;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  line-height: 1.35;
  text-transform: uppercase;
}

.price-value {
  flex: 0 0 auto;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.product-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 14px;
  margin: 17px 0;
  font-size: 0.72rem;
  line-height: 1.35;
}

.product-meta span {
  color: var(--muted);
}

.product-meta strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: 0.75rem;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
  margin-top: auto;
}

.button-secondary {
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  cursor: pointer;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--ink);
  color: var(--white);
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 12px;
  background: var(--gold);
  color: var(--white);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.whatsapp-link:hover,
.whatsapp-link:focus-visible {
  background: #865b31;
}

.empty-results {
  grid-column: 1 / -1;
  margin: 34px 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(48px, 10vw, 160px);
  padding: clamp(70px, 10vw, 138px) max(24px, calc((100vw - var(--max)) / 2 + 60px));
  background: var(--deep);
  color: var(--white);
}

.section-kicker-light {
  color: #deb47c;
}

.contact-panel h2 {
  max-width: 660px;
}

.contact-panel p:not(.section-kicker) {
  max-width: 630px;
  margin: 25px 0 0;
  color: #d8e0de;
  font-size: 1rem;
  line-height: 1.7;
}

.contact-panel .material-request {
  margin-top: 21px;
  padding-top: 19px;
  border-top: 1px solid rgba(222, 180, 124, 0.55);
  color: var(--white);
}

.material-request strong {
  color: #deb47c;
}

.contact-actions {
  align-self: end;
}

.button-gold {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--white);
}

.button-gold:hover,
.button-gold:focus-visible {
  border-color: #cf985a;
  background: #cf985a;
}

.contact-email {
  display: block;
  width: fit-content;
  margin-top: 28px;
  color: var(--white);
  font-size: clamp(1rem, 1.3vw, 1.13rem);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 19px clamp(24px, 5vw, 60px);
  background: #111d1f;
  color: #aeb9b8;
  font-size: 0.66rem;
  line-height: 1.5;
}

.product-dialog {
  width: min(980px, calc(100vw - 34px));
  max-height: min(850px, calc(100dvh - 34px));
  padding: 0;
  overflow: auto;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 20px 90px rgba(0, 0, 0, 0.35);
}

.product-dialog::backdrop {
  background: rgba(17, 29, 31, 0.82);
  backdrop-filter: blur(4px);
}

.dialog-close {
  position: absolute;
  z-index: 1;
  top: 13px;
  right: 13px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(250, 249, 247, 0.94);
  color: var(--ink);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
}

.dialog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
}

.dialog-image {
  min-height: 520px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #f2efea;
}

.dialog-details {
  display: flex;
  flex-direction: column;
  padding: 42px 34px 32px;
}

.dialog-details h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.05em;
}

.dialog-details .product-type {
  margin-top: 12px;
}

.dialog-price {
  margin: 31px 0 0;
  padding: 18px;
  background: var(--sand);
}

.dialog-price span {
  display: block;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dialog-price strong {
  display: block;
  margin-top: 5px;
  font-size: 2.4rem;
  letter-spacing: -0.07em;
}

.dialog-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 24px 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.dialog-specs div {
  padding: 13px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dialog-specs span {
  display: block;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.dialog-specs strong {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
}

.leather-note {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.dialog-details .whatsapp-link {
  margin-top: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: 66px;
  }

  .nav {
    display: none;
  }

  .hero-facts {
    max-width: none;
  }

  .catalogue-tools {
    grid-template-columns: 1fr;
  }

  .filters {
    justify-content: flex-start;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .brand img {
    width: 180px;
    height: 60px;
  }

  .header-contact {
    padding: 9px 11px;
    font-size: 0.67rem;
  }

  .hero {
    min-height: 690px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(16, 29, 31, 0.8) 0%, rgba(16, 29, 31, 0.38) 100%),
      linear-gradient(0deg, rgba(16, 29, 31, 0.9) 0%, transparent 54%);
  }

  .hero-content {
    align-self: start;
    margin: 0 24px;
    padding-top: 42px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 16vw, 5.1rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 19px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    gap: 9px;
    right: 24px;
    bottom: 22px;
    left: 24px;
  }

  .hero-facts div {
    padding-top: 7px;
  }

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

  .catalogue-heading {
    display: block;
  }

  .result-count {
    margin-top: 17px;
  }

  .catalogue-tools {
    margin-top: 32px;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .dialog-layout {
    grid-template-columns: 1fr;
  }

  .dialog-image {
    min-height: 300px;
    max-height: 45dvh;
  }

  .dialog-details {
    padding: 30px 23px 25px;
  }
}
