:root {
  --black: #171717;
  --graphite: #353132;
  --gray-900: #292727;
  --gray-700: #5b5756;
  --gray-300: #d8d3cf;
  --gray-100: #f2f0ed;
  --white: #ffffff;
  --brown: #8a6549;
  --brown-dark: #654631;
  --sand: #d9ba82;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(23, 23, 23, 0.12);
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Inter", sans-serif; color: var(--graphite); background: var(--white); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: var(--container); margin-inline: auto; }
.section { padding: 96px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: fixed; left: 12px; top: -50px; z-index: 999; background: var(--white); padding: 10px 14px; }
.skip-link:focus { top: 12px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(53,49,50,.1); backdrop-filter: blur(12px); }
.header-shell { width: var(--container); min-height: 84px; margin-inline: auto; display: flex; align-items: center; gap: 34px; }
.brand { width: 220px; flex: 0 0 auto; }
.brand img { width: 100%; height: 58px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a { font-size: .94rem; font-weight: 600; }
.main-nav a:hover { color: var(--brown); }
.menu-toggle { display: none; border: 0; background: none; padding: 8px; margin-left: auto; }
.menu-toggle span { display: block; width: 26px; height: 2px; margin: 5px 0; background: var(--black); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 700; transition: .25s ease; }
.button:hover { transform: translateY(-2px); }
.button--header, .button--primary { background: var(--brown); color: var(--white); }
.button--header:hover, .button--primary:hover { background: var(--brown-dark); }
.button--ghost { color: var(--white); border: 1px solid rgba(255,255,255,.6); }

.hero-section { position: relative; min-height: 860px; padding: 190px 0 0; color: var(--white); background: url("assets/hero-products.jpg") center/cover no-repeat; overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,18,18,.94) 0%, rgba(18,18,18,.76) 48%, rgba(18,18,18,.36) 100%); }
.hero-content { position: relative; max-width: 850px; margin-left: max(20px, calc((100% - 1180px) / 2)); }
.eyebrow { margin: 0 0 16px; color: var(--sand); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 800; }
.eyebrow--dark { color: var(--brown); }
h1, h2, h3 { margin-top: 0; line-height: 1.08; }
h1 { max-width: 780px; margin-bottom: 24px; font-family: "Playfair Display", serif; font-size: clamp(3rem, 6vw, 5.9rem); }
h2 { font-family: "Playfair Display", serif; font-size: clamp(2.3rem, 4vw, 4.1rem); }
.hero-text { max-width: 690px; font-size: 1.16rem; color: rgba(255,255,255,.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: grid; grid-template-columns: repeat(3,1fr); background: rgba(24,24,24,.9); border-top: 1px solid rgba(255,255,255,.14); }
.hero-stats div { padding: 24px 30px; border-right: 1px solid rgba(255,255,255,.12); }
.hero-stats div:last-child { border-right: 0; }
.hero-stats strong, .hero-stats span { display: block; }
.hero-stats span { margin-top: 3px; color: rgba(255,255,255,.65); font-size: .9rem; }

.about-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: 70px; align-items: center; }
.about-copy p { max-width: 760px; color: var(--gray-700); }
.text-link { display: inline-block; margin-top: 12px; color: var(--brown); font-weight: 800; border-bottom: 2px solid var(--brown); }
.about-panel { padding: 48px; border-radius: var(--radius); background: var(--gray-100); box-shadow: var(--shadow); }
.about-panel__number { display: block; font-family: "Playfair Display", serif; font-size: 5rem; line-height: 1; color: var(--brown); }
.about-panel ul { padding-left: 18px; margin-bottom: 0; }

.catalog-section { background: var(--gray-100); }
.section-heading { display: flex; justify-content: space-between; gap: 50px; align-items: end; margin-bottom: 44px; }
.section-heading > p { max-width: 470px; color: var(--gray-700); }
.catalog-toolbar { display: grid; gap: 22px; margin-bottom: 34px; }
.search-field input { width: 100%; height: 56px; padding: 0 20px; border: 1px solid var(--gray-300); border-radius: 999px; background: var(--white); }
.catalog-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.catalog-tab { border: 1px solid var(--gray-300); background: var(--white); padding: 10px 16px; border-radius: 999px; cursor: pointer; font-weight: 700; }
.catalog-tab.is-active { background: var(--graphite); color: var(--white); border-color: var(--graphite); }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.product-card { overflow: hidden; background: var(--white); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(30,30,30,.08); }
.product-card__image { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #ddd; }
.product-card__body { padding: 24px; }
.product-card__tag { display: inline-block; margin-bottom: 10px; color: var(--brown); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.product-card h3 { margin-bottom: 10px; font-size: 1.26rem; }
.product-card ul { margin: 14px 0 0; padding-left: 18px; color: var(--gray-700); font-size: .92rem; }
.product-card__meta { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--gray-300); font-size: .82rem; color: var(--gray-700); }
.catalog-empty { text-align: center; padding: 30px; }

.difference-section { background: var(--graphite); color: var(--white); }
.section-heading--light h2 { max-width: 720px; }
.difference-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.difference-grid article { min-height: 260px; padding: 30px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); }
.difference-grid span { color: var(--sand); font-weight: 800; }
.difference-grid h3 { margin-top: 50px; font-size: 1.35rem; }
.difference-grid p { color: rgba(255,255,255,.68); }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.contact-copy p { color: var(--gray-700); margin-bottom: 28px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-cards article { padding: 30px; border: 1px solid var(--gray-300); border-radius: var(--radius); }
.contact-cards span { color: var(--brown); font-weight: 800; text-transform: uppercase; font-size: .75rem; letter-spacing: .12em; }
.contact-cards h3 { margin: 18px 0 8px; }
.contact-cards a { color: var(--brown); font-weight: 800; }

.site-footer { padding: 36px 0; background: var(--black); color: rgba(255,255,255,.72); }
.footer-grid { display: grid; grid-template-columns: 190px 1fr auto; gap: 24px; align-items: center; }
.footer-grid img { width: 180px; filter: brightness(0) invert(1); }
.footer-grid > span { grid-column: 1 / -1; font-size: .82rem; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; padding: 14px 20px; border-radius: 999px; background: var(--brown); color: var(--white); font-weight: 800; box-shadow: var(--shadow); }

@media (max-width: 980px) {
  .button--header { display: none; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 84px; left: 20px; right: 20px; display: none; flex-direction: column; padding: 22px; background: var(--white); border-radius: 14px; box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .hero-section { min-height: 800px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: repeat(2,1fr); }
  .difference-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 680px) {
  :root { --container: min(100% - 28px, 1180px); }
  .section { padding: 72px 0; }
  .header-shell { min-height: 74px; }
  .brand { width: 170px; }
  .brand img { height: 48px; }
  .main-nav { top: 74px; }
  .hero-section { min-height: 860px; padding-top: 150px; }
  .hero-content { margin-left: 14px; width: calc(100% - 28px); }
  .hero-stats { grid-template-columns: 1fr; position: absolute; }
  .hero-stats div { padding: 13px 18px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .section-heading { display: block; }
  .catalog-grid, .difference-grid, .contact-cards { grid-template-columns: 1fr; }
  .about-panel { padding: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > span { grid-column: auto; }
}
