
:root {
  --brown: #6B4226;
  --beige: #D4A373;
  --green: #3A5A40;
  --ivory: #F8F6F2;
  --ink: #222222;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  background-color: var(--ivory);
  color: var(--ink);
}

.font-display { font-family: "Poppins", ui-sans-serif, system-ui, sans-serif; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- Woodgrain / ring texture backgrounds ---------- */
.bg-ivory-grain {
  background-color: var(--ivory);
  background-image:
    repeating-linear-gradient(100deg, rgba(107,66,38,0.025) 0px, rgba(107,66,38,0.025) 1px, transparent 1px, transparent 90px),
    repeating-linear-gradient(100deg, rgba(212,163,115,0.03) 0px, rgba(212,163,115,0.03) 1px, transparent 1px, transparent 46px);
}

.ring-bg-decor {
  position: absolute;
  border-radius: 9999px;
  border: 1px solid currentColor;
  opacity: 0.14;
  pointer-events: none;
}

/* ---------- Header ---------- */
#site-header{
  background: rgba(248, 246, 242);
  /* backdrop-filter: blur(14px); */
  /* box-shadow: 0 8px 30px -12px rgba(107, 66, 38, 0.18);
  border-bottom: 1px solid rgba(107, 66, 38, 0.08); */
}

#site-header .header-inner {
  background: rgba(248, 246, 242);
  backdrop-filter: blur(0px);
}
#site-header.header--scrolled .header-inner {
  height: 4.25rem;
  /* background: rgba(248, 246, 242, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -12px rgba(107, 66, 38, 0.18);
  border-bottom: 1px solid rgba(107, 66, 38, 0.08); */
}

.nav-link {
  position: relative;
  padding: 0.35rem 0;
  color: #4a4038;
  transition: color 0.25s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--brown);
  transition: width 0.28s ease;
}
.nav-link:hover, .nav-link--active { color: var(--brown); }
.nav-link:hover::after, .nav-link--active::after { width: 100%; }

.header-call-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1rem;
  border: 1.5px solid rgba(107,66,38,0.25);
  border-radius: 9999px;
  font-size: 0.875rem; font-weight: 600;
  color: var(--brown);
  transition: all 0.25s ease;
  white-space: nowrap;
}
.header-call-btn:hover { background: var(--brown); color: #fff; border-color: var(--brown); }

.header-wa-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  width: 42px; height: 42px;
  border-radius: 9999px;
  background: var(--green);
  color: #fff;
  transition: transform 0.25s ease, background 0.25s ease;
}
.header-wa-btn:hover { background: #2c4630; transform: translateY(-2px); }

/* dropdown */
.dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 280px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 48px -16px rgba(107,66,38,0.28);
  border: 1px solid rgba(107,66,38,0.08);
  padding: 0.85rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 40;
}
.group:hover .dropdown-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-divider { height: 1px; background: rgba(107,66,38,0.1); margin: 0.4rem 0.5rem; }
.ring-link {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  font-size: 0.9rem; font-weight: 500;
  color: #4a4038;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}
.ring-link:hover { background: rgba(212,163,115,0.16); color: var(--brown); padding-left: 1rem; }
.ring-link--all { font-weight: 700; color: var(--brown); }
.ring-dot { width: 7px; height: 7px; border-radius: 9999px; border: 1.5px solid var(--beige); flex-shrink: 0; }

/* burger */
.burger-line { display: block; width: 22px; height: 2px; background: var(--brown); transition: all 0.3s ease; border-radius: 2px; }
.burger--open .burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger--open .burger-line:nth-child(2) { opacity: 0; }
.burger--open .burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  transition: max-height 0.4s ease;
  border-bottom: 1px solid rgba(107,66,38,0.08);
}
.mobile-menu--open { max-height: 90vh; overflow-y: auto; }
.mobile-link { padding: 0.75rem 0; font-size: 1rem; font-weight: 600; color: #3a322b; border-bottom: 1px solid rgba(107,66,38,0.07); }
.mobile-link:hover { color: var(--brown); }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 2rem;
  background: var(--brown);
  color: #fff;
  border-radius: 9999px;
  font-weight: 600; font-size: 0.95rem;
  box-shadow: 0 14px 30px -10px rgba(107,66,38,0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -12px rgba(107,66,38,0.55); background: #58351e; }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 2rem;
  background: transparent;
  color: var(--brown);
  border: 1.5px solid rgba(107,66,38,0.3);
  border-radius: 9999px;
  font-weight: 600; font-size: 0.95rem;
  transition: all 0.25s ease;
}
.btn-secondary:hover { background: var(--brown); color: #fff; border-color: var(--brown); transform: translateY(-3px); }

.btn-light {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 2rem;
  background: #fff;
  color: var(--brown);
  border-radius: 9999px;
  font-weight: 600; font-size: 0.95rem;
  transition: all 0.25s ease;
}
.btn-light:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -12px rgba(0,0,0,0.35); }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(107,66,38,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -20px rgba(107,66,38,0.28); border-color: rgba(212,163,115,0.4); }

.glass-card {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 22px;
}

/* ---------- Reveal animations ---------- */
.reveal-up { opacity: 0; transform: translateY(36px); transition: opacity 0.8s cubic-bezier(.16,.84,.44,1), transform 0.8s cubic-bezier(.16,.84,.44,1); }
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }
.reveal-fade { opacity: 0; transition: opacity 1s ease; }
.reveal-fade.is-visible { opacity: 1; }
.reveal-up.d1 { transition-delay: 0.08s; }
.reveal-up.d2 { transition-delay: 0.16s; }
.reveal-up.d3 { transition-delay: 0.24s; }
.reveal-up.d4 { transition-delay: 0.32s; }

@keyframes floatY { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-14px);} }
.float-anim { animation: floatY 6s ease-in-out infinite; }

@keyframes spinSlow { to { transform: rotate(360deg); } }
.spin-slow { animation: spinSlow 40s linear infinite; }

@keyframes marquee { from { transform: translateX(0);} to { transform: translateX(-50%);} }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid rgba(107,66,38,0.12); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 0; text-align: left; font-weight: 600; font-size: 1.05rem; color: var(--ink);
}
.faq-icon { flex-shrink: 0; transition: transform 0.3s ease; color: var(--brown); }
.faq-item--open .faq-icon { transform: rotate(135deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner { padding-bottom: 1.4rem; color: #5b5148; line-height: 1.7; }

/* ---------- Gallery ---------- */
.gallery-filter-btn {
  padding: 0.55rem 1.3rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 600;
  border: 1.5px solid rgba(107,66,38,0.2); color: #4a4038; transition: all 0.25s ease;
}
.gallery-filter-btn:hover { border-color: var(--brown); color: var(--brown); }
.gallery-filter-btn--active { background: var(--brown); border-color: var(--brown); color: #fff; }

.gallery-item { position: relative; overflow: hidden; border-radius: 18px; cursor: zoom-in; }
.gallery-item img { transition: transform 0.6s ease; display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(36,24,17,0.85) 0%, rgba(36,24,17,0) 55%);
  opacity: 0; transition: opacity 0.35s ease;
  display: flex; align-items: flex-end; padding: 1.1rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20,13,9,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s;
  padding: 2rem;
}
.lightbox--open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(90vw, 1000px); max-height: 82vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lightbox-close-btn {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px; border-radius: 9999px;
  background: rgba(255,255,255,0.1); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-close-btn:hover { background: rgba(255,255,255,0.22); }

/* ---------- Testimonial slider ---------- */
.testi-wrap { overflow: hidden; }
#testimonial-track { display: flex; transition: transform 0.6s cubic-bezier(.16,.84,.44,1); }
.testi-slide { min-width: 100%; }
.testi-dot { width: 9px; height: 9px; border-radius: 9999px; background: rgba(107,66,38,0.25); transition: all 0.3s ease; }
.testi-dot--active { background: var(--brown); width: 26px; border-radius: 9999px; }
.testi-arrow {
  width: 48px; height: 48px; border-radius: 9999px;
  border: 1.5px solid rgba(107,66,38,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--brown); transition: all 0.25s ease;
}
.testi-arrow:hover { background: var(--brown); color: #fff; border-color: var(--brown); }

/* ---------- Forms ---------- */
.form-input {
  width: 100%; padding: 0.9rem 1.1rem;
  border: 1.5px solid rgba(107,66,38,0.18);
  border-radius: 12px;
  background: #fff;
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-input:focus { outline: none; border-color: var(--brown); box-shadow: 0 0 0 4px rgba(107,66,38,0.1); }
.form-toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translate(-50%, 20px);
  background: var(--green); color: #fff; padding: 0.9rem 1.6rem; border-radius: 9999px;
  font-weight: 600; font-size: 0.9rem; box-shadow: 0 20px 40px -10px rgba(0,0,0,0.35);
  opacity: 0; visibility: hidden; transition: all 0.35s ease; z-index: 200;
}
.form-toast--show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; bottom: 1.6rem; right: 1.6rem; z-index: 90;
  width: 58px; height: 58px; border-radius: 9999px;
  background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 34px -8px rgba(58,90,64,0.55);
  animation: floatY 3.4s ease-in-out infinite;
  transition: transform 0.25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; bottom: 1.6rem; left: 1.6rem; z-index: 90;
  width: 46px; height: 46px; border-radius: 9999px;
  background: #fff; color: var(--brown); border: 1.5px solid rgba(107,66,38,0.2);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all 0.3s ease;
}
.back-to-top--show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Footer ---------- */
.footer-heading { font-family: "Poppins", sans-serif; font-weight: 600; color: #fff; margin-bottom: 1.25rem; font-size: 1.02rem; }
.footer-link { transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; }
.footer-link:hover { color: var(--beige); padding-left: 4px; }
.social-icon {
  width: 38px; height: 38px; border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  color: #EFE6DA; transition: all 0.25s ease;
}
.social-icon:hover { background: var(--beige); color: #241811; border-color: var(--beige); transform: translateY(-3px); }

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--beige); display: inline-block; }

.section-pad { padding-top: clamp(3.5rem, 7vw, 6.5rem); padding-bottom: clamp(3.5rem, 7vw, 6.5rem); }

::selection { background: var(--beige); color: #241811; }

.text-gradient-wood {
  background: linear-gradient(100deg, var(--brown), var(--beige) 60%, var(--brown));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

img { max-width: 100%; height: auto; }

.marquee-wrap {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}

.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}

.logo-item {
  flex: 0 0 auto;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-item img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  /* filter: grayscale(100%) opacity(0.6); */
  /* transition: filter 0.3s ease; */
}

/* .logo-item img:hover {
  filter: grayscale(0%) opacity(1);
} */

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}