:root {
  --radius: 0.875rem;
  --background: #FAF6EC;
  --foreground: #1E2A22;
  --primary: #2F5D43;
  --primary-foreground: #F5EFDF;
  --secondary: #E7E0CF;
  --muted: #F0EADB;
  --muted-foreground: #6B7A6E;
  --accent: #C9A35A;
  --accent-foreground: #2A2415;
  --border: #E2DAC6;
  --gold: #C9A35A;
  --sage: #8BA888;
  --forest: #2F5D43;
  --cream: #FAF6EC;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.6;
}
h1, h2, h3, h4, h5, .font-serif {
  font-family: var(--font-serif);
  letter-spacing: -0.02em;
}

.bg-grain {
  background-color: var(--cream);
  background-image: radial-gradient(rgba(47, 93, 67, 0.04) 1px, transparent 1px);
  background-size: 18px 18px;
}
.glass {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.text-gradient-forest {
  background: linear-gradient(120deg, #2F5D43 0%, #6B8E7F 60%, #2F5D43 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.shadow-soft {
  box-shadow: 0 10px 40px -12px rgba(30, 42, 34, 0.18), 0 4px 12px -4px rgba(30, 42, 34, 0.08);
}
.shadow-glow-gold {
  box-shadow: 0 0 0 1px rgba(201, 163, 90, 0.25), 0 18px 50px -12px rgba(201, 163, 90, 0.35);
}

#scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 1080;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--sage));
  transform-origin: left;
  transform: scaleX(0);
}

.site-nav {
  z-index: 1030;
  border-bottom: 1px solid rgba(226, 218, 198, 0.7);
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.site-nav .nav-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.site-nav .navbar-brand,
.site-logo-link {
  margin: 0;
  padding: 0;
  z-index: 2;
  max-width: calc(100% - 3.5rem);
  line-height: 0;
}
.site-logo {
  display: block;
  height: auto;
  width: auto;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.35s ease;
}
.site-logo-link:hover .site-logo,
.site-logo-footer:hover,
a:hover .site-logo-footer {
  transform: scale(1.18);
}
.site-logo-nav {
  height: 58px;
  width: auto;
  max-width: min(230px, 58vw);
  border-radius: 0.45rem;
}
.site-logo-footer {
  height: 110px;
  width: auto;
  max-width: 320px;
  border-radius: 0.65rem;
  transition: transform 0.35s ease;
}
@media (min-width: 992px) {
  .site-logo-nav {
    height: 64px;
    max-width: 250px;
  }
  .site-logo-footer {
    height: 128px;
    max-width: 360px;
  }
}

/* Custom hamburger (works without Bootstrap icons) */
.nav-toggler {
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  padding: 0.55rem 0.65rem;
  background: rgba(255, 255, 255, 0.75);
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: none;
}
.nav-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(47, 93, 67, 0.15);
}
.nav-toggler-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--forest);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggler[aria-expanded="true"] .nav-toggler-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggler[aria-expanded="true"] .nav-toggler-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggler[aria-expanded="true"] .nav-toggler-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-menu {
  gap: 0.15rem;
}
.nav-link-custom {
  color: var(--foreground) !important;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.45rem 0.7rem !important;
  white-space: nowrap;
}
.nav-link-custom.active,
.nav-link-custom:hover {
  color: var(--forest) !important;
}
.nav-cta-wrap {
  z-index: 2;
}

@media (min-width: 992px) {
  .site-nav .nav-bar-inner {
    flex-wrap: nowrap;
  }
  .site-nav .navbar-collapse {
    display: flex !important;
    flex-grow: 1;
    align-items: center;
    justify-content: flex-end;
    position: static;
  }
  .nav-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    margin: 0;
  }
  .nav-cta-wrap {
    margin-left: auto;
  }
  .nav-link-custom.active::after,
  .nav-link-custom:hover::after {
    content: "";
    position: absolute;
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.15rem;
    height: 2px;
    background: var(--gold);
    border-radius: 999px;
  }
}

@media (max-width: 991.98px) {
  .site-nav .navbar-collapse {
    width: 100%;
    flex-basis: 100%;
    margin-top: 0.75rem;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 2px);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 34px -18px rgba(30, 42, 34, 0.28);
  }
  .nav-menu {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.15rem;
    width: 100%;
    text-align: center;
  }
  .nav-link-custom {
    padding: 0.7rem 0.85rem !important;
    border-radius: 0.65rem;
    text-align: center;
  }
  .nav-link-custom.active,
  .nav-link-custom:hover {
    background: var(--muted);
  }
  .nav-link-custom.active::after,
  .nav-link-custom:hover::after {
    display: none;
  }
  .nav-cta-wrap {
    margin-top: 0.55rem;
  }
  .nav-shop-btn {
    width: 100%;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }
}
.btn-forest {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--primary-foreground);
}
.btn-forest:hover { background: #244a35; color: #fff; }
.btn-gold {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-foreground);
}
.btn-gold:hover { background: #b89245; color: #fff; }
.btn-outline-forest {
  border: 1.5px solid var(--forest);
  color: var(--forest);
  background: transparent;
}
.btn-outline-forest:hover {
  background: var(--forest);
  color: #fff;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .85rem;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--border);
  font-size: .85rem;
  color: var(--muted-foreground);
}

.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-product-slider {
  position: relative;
  width: min(100%, 640px);
  max-width: 640px;
  margin-left: auto;
  aspect-ratio: 1;
}
.hero-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.96) translateY(10px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
  text-decoration: none;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
  z-index: 1;
}
.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 22px 36px rgba(30, 42, 34, 0.28));
}
.hero-slide-caption {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(226, 218, 198, 0.85);
  color: var(--foreground);
  white-space: nowrap;
}
.hero-slide-caption strong {
  font-family: var(--font-serif);
  font-size: 0.95rem;
}
.hero-slide-caption span {
  font-size: 0.72rem;
  color: var(--muted-foreground);
}
.hero-slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
}
.hero-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(47, 93, 67, 0.28);
  transition: width 0.25s ease, background 0.25s ease;
}
.hero-dot.is-active {
  width: 1.35rem;
  background: var(--forest);
}
@media (min-width: 992px) {
  .hero-product-slider {
    width: min(100%, 720px);
    max-width: 720px;
  }
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: .45;
  pointer-events: none;
}
.hero-blob.a { width: 320px; height: 320px; background: #8BA888; top: 8%; left: -4%; }
.hero-blob.b { width: 280px; height: 280px; background: #C9A35A; bottom: 12%; right: 8%; }
.hero-blob.c { width: 220px; height: 220px; background: #2F5D43; top: 40%; right: 35%; opacity: .2; }

.marquee-wrap {
  background: linear-gradient(90deg, #244a35, #2F5D43 40%, #3a7053);
  color: #F5EFDF;
  overflow: hidden;
  white-space: nowrap;
  padding: .9rem 0;
}
.marquee-track {
  display: inline-flex;
  gap: 2.5rem;
  animation: marquee 28s linear infinite;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.animate-float-slow { animation: float-slow 7s ease-in-out infinite; }

.product-card {
  --card-bg: #ffffff;
  --card-soft: #F0EADB;
  --card-primary: #2F5D43;
  --card-text: #1E2A22;
  --card-glow: #8BA888;
  border: 1px solid color-mix(in srgb, var(--card-primary) 22%, transparent);
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(circle at 15% 0%, color-mix(in srgb, var(--card-glow) 35%, transparent), transparent 45%),
    linear-gradient(165deg, var(--card-soft) 0%, var(--card-bg) 55%, #fff 100%);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  overflow: hidden;
  color: var(--card-text);
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--card-primary) 45%, transparent);
  box-shadow: 0 18px 40px -16px color-mix(in srgb, var(--card-primary) 35%, transparent);
}
.product-card .product-card-title {
  color: var(--card-text);
}
.product-card .product-card-badge {
  background: color-mix(in srgb, var(--card-soft) 80%, #fff);
  color: var(--card-text);
}
.product-card .btn-product-theme {
  border: 1.5px solid var(--card-primary);
  color: var(--card-primary);
  background: transparent;
}
.product-card .btn-product-theme:hover {
  background: var(--card-primary);
  border-color: var(--card-primary);
  color: #fff;
}
.facts-ribbon {
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}
.facts-ribbon-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.25rem;
  border-radius: calc(var(--radius) + 6px);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 10px 28px -20px rgba(30, 42, 34, 0.22);
}
.facts-item {
  flex: 1 1 140px;
  text-align: center;
  min-width: 120px;
  padding: 0.35rem 0.5rem;
}
.facts-item-value {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  color: var(--forest);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}
.facts-item-label {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  letter-spacing: 0.01em;
}
.facts-divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(180deg, transparent, var(--border), transparent);
  min-height: 3rem;
}
@media (max-width: 767.98px) {
  .facts-ribbon-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem 0.75rem;
  }
  .facts-divider { display: none; }
}
.site-footer {
  background: #E8F0E5;
  color: #1E2A22;
}
.site-footer a {
  color: #1E2A22;
  text-decoration: none;
}
.site-footer a:hover { color: var(--forest); }
.site-footer .footer-heading {
  color: var(--forest) !important;
}
.site-footer .border-secondary-subtle {
  border-color: rgba(47, 93, 67, 0.2) !important;
}
.site-footer .footer-copy {
  color: #6B7A6E;
}

.model-stage,
.product-shot {
  width: 100%;
  aspect-ratio: 1;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  border-radius: 1.25rem;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}
.product-page .product-shot {
  max-width: 640px;
}
.product-shot-trigger {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.product-shot-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.35));
  transition: transform 0.45s ease;
  transform-origin: center center;
  transform: scale(1.06);
}
.product-card .product-shot {
  max-width: 100%;
}
.product-card .product-shot-img {
  transform: scale(1.08);
}
.product-shot:hover .product-shot-img,
.product-shot-zoomable:hover .product-shot-img {
  transform: scale(1.18);
}
.product-card .product-shot:hover .product-shot-img {
  transform: scale(1.14);
}
.product-zoom-hint {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 3;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.product-shot-zoomable:hover .product-zoom-hint { opacity: 1; }

.float-contact {
  position: fixed;
  right: 1rem;
  bottom: 1.15rem;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.float-btn {
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.float-btn:hover {
  transform: translateY(-3px) scale(1.05);
  color: #fff;
  box-shadow: 0 14px 28px -10px rgba(0, 0, 0, 0.5);
}
.float-btn-whatsapp {
  background: #25D366;
}
.float-btn-whatsapp:hover {
  background: #1ebe57;
}
.float-btn-call {
  background: var(--forest);
}
.float-btn-call:hover {
  background: #244a35;
}
@media (max-width: 575.98px) {
  .float-contact {
    right: 0.75rem;
    bottom: 0.85rem;
  }
  .float-btn {
    width: 3.1rem;
    height: 3.1rem;
  }
}

.image-zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  place-items: center;
  padding: 1.25rem;
  background: rgba(10, 14, 12, 0.82);
  backdrop-filter: blur(6px);
}
.image-zoom-overlay.open { display: grid; }
.image-zoom-overlay img {
  max-width: min(920px, 94vw);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 1rem;
  transform: scale(0.92);
  transition: transform 0.25s ease;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.image-zoom-overlay.open img { transform: scale(1.08); }
.image-zoom-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  border-radius: 999px;
  width: 2.4rem;
  height: 2.4rem;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.float-chip {
  position: absolute;
  z-index: 2;
  padding: .55rem .8rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
}
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
.soft-panel {
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.65);
}
.tilt-card { transition: transform .25s ease; }
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.show { opacity: 1; transform: none; }

.accordion-button:not(.collapsed) {
  background: var(--muted);
  color: var(--forest);
  box-shadow: none;
}
.accordion-button:focus { box-shadow: none; border-color: var(--border); }
.form-control, .form-select {
  border-color: var(--border);
  background: #fff;
  border-radius: .75rem;
  padding: .7rem .9rem;
}
.form-control:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 .2rem rgba(47,93,67,.15);
}

.content-prose p { margin-bottom: 1rem; }
.content-prose a { color: var(--forest); font-weight: 500; }
.content-prose ul { padding-left: 1.1rem; }
.content-prose li { margin-bottom: 0.45rem; }

@media (max-width: 991px) {
  .hero { min-height: auto; padding: 3.5rem 0 2rem; }
  .hero-product-slider {
    width: min(100%, 480px);
    max-width: 480px;
    margin: 0.5rem auto 0;
  }
  .float-chip { font-size: .72rem; padding: .4rem .65rem; }
}

/* Keep crowded nav readable on mid desktops */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .nav-link-custom {
    font-size: 0.86rem;
    padding: 0.4rem 0.45rem !important;
  }
}
