:root {
  color-scheme: dark;
  --bg: #080704;
  --surface: #111011;
  --surface-soft: #1c1a19;
  --text: #f7f2e9;
  --muted: #b5ab9d;
  --accent: #a78c3f;
  --accent-soft: #564c2f;
  --danger: #d8c08b;
  --green: #6fbf7e;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, rgba(167, 140, 63, 0.12), transparent 25%),
    linear-gradient(180deg, #0b0a09 0%, #080704 100%);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 80px;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px;
}

.brand-name {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
}

.brand-tagline {
  display: block;
  color: var(--muted);
  max-width: 320px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--text);
  opacity: 0.86;
  transition: opacity 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus {
  opacity: 1;
}

.selectors {
  display: flex;
  gap: 10px;
}

select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
}

.hero-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0 60px;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 3.4vw, 4rem);
  margin: 0 0 18px;
  line-height: 1.05;
}

.hero-copy p {
  color: var(--muted);
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn-primary,
.btn-secondary {
  border: none;
  border-radius: 14px;
  padding: 14px 24px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #8f7d40);
  color: #0e0c08;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-1px);
}

.hero-image {
  min-height: 400px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section {
  margin-top: 60px;
}

.section-header h2 {
  font-size: 2rem;
  margin: 0 0 10px;
}

.section-header p {
  margin: 0;
  color: var(--muted);
}

.category-grid,
.product-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.category-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.category-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 24px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.category-card span {
  font-weight: 700;
  font-size: 1rem;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
}

.filter-btn {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--text);
  opacity: 0.75;
}

.filter-btn.active,
.filter-btn:hover {
  opacity: 1;
  background: rgba(167, 140, 63, 0.16);
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.product-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 520px;
  box-shadow: var(--shadow);
}

.product-gallery {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 260px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  touch-action: pan-y;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 20px 24px;
  flex: 1;
}

.card-body h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.3;
}

.card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 700;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.card-actions button {
  flex: 1 1 48%;
}

.slider-track {
  display: flex;
  transition: transform 0.35s ease;
  will-change: transform;
}

.slider-slide {
  min-width: 100%;
  flex: 0 0 100%;
}

.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.25rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  z-index: 2;
}

.slider-control:hover {
  transform: translateY(-50%) scale(1.05);
  background: rgba(0, 0, 0, 0.62);
}

.slider-control.prev {
  left: 12px;
}

.slider-control.next {
  right: 12px;
}

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
}

.slider-dot.active {
  background: rgba(167, 140, 63, 0.95);
  transform: scale(1.1);
}

.product-card img {
  aspect-ratio: auto;
  object-fit: cover;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.badge {
  display: inline-flex;
  background: rgba(111, 191, 126, 0.12);
  color: var(--green);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  width: fit-content;
}

.product-card h3 {
  margin: 0;
  font-size: 1.18rem;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  min-height: 3.2em;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.card-actions button {
  flex: 1 1 140px;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 420px);
  gap: 28px;
  margin-top: 24px;
}

.contact-card,
.contact-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 28px;
}

.contact-card h3 {
  margin-top: 0;
}

.contact-card p,
.contact-card a {
  color: var(--muted);
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 14px;
  padding: 14px;
}

.site-footer {
  text-align: center;
  color: var(--muted);
  margin-top: 60px;
  padding-top: 20px;
}

.float-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10;
  background: linear-gradient(135deg, #25d366, #1ebe5b);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.float-whatsapp a {
  display: inline-block;
  color: #fff;
  padding: 14px 18px;
  font-weight: 700;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 7, 4, 0.88);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 20;
}

.modal.hidden {
  display: none;
}

.modal-panel {
  width: min(100%, 1100px);
  max-height: min(100vh, 860px);
  overflow: auto;
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 28px;
}

.modal-close {
  position: absolute;
  right: 28px;
  top: 28px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
}

.modal-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.modal-gallery {
  display: grid;
  gap: 14px;
}

.modal-gallery img {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.modal-gallery video {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.modal-details .badge {
  margin-bottom: 14px;
}

.modal-details h2 {
  margin: 0 0 10px;
}

.modal-details p {
  color: var(--muted);
  line-height: 1.8;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

@media (max-width: 960px) {
  .hero-section,
  .contact-content,
  .modal-body {
    grid-template-columns: 1fr;
  }

  .site-header {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100%, calc(100% - 24px));
  }

  .hero-copy h1 {
    font-size: 2.3rem;
  }

  .main-nav {
    justify-content: center;
  }

  .main-nav a {
    font-size: 0.95rem;
  }

  .filters-row {
    justify-content: flex-start;
  }
}
