/* ============================================================
   THE FRAME MAHAL — Premium Printing & Customized Gifts
   style.css — Global design system, layout, components & animations
   Stack: HTML5 + CSS3 + Bootstrap 5 (overrides) + Vanilla JS
   ------------------------------------------------------------
   Author: ZCode Build
   Notes : Light, warm, premium UI. Maroon / Cream / Gold palette.
   ============================================================ */

/* ============================================================
   1. ROOT VARIABLES & DESIGN TOKENS
   ============================================================ */
:root {
  /* ---- Brand Colors ---- */
  --maroon:        #5A0822;   /* Primary   */
  --maroon-700:    #4A0619;
  --maroon-soft:   #7E1E3A;
  --cream:         #F8F3EC;   /* Secondary */
  --gold:          #F5B23D;   /* Accent    */
  --gold-600:      #E29A22;
  --gold-soft:     #FCE4B0;

  /* ---- Surfaces ---- */
  --bg-light:      #FFFDF9;
  --bg-section:    #FAF5EF;
  --bg-warm:       #F3E9DD;

  /* ---- Text ---- */
  --text-dark:     #2E2E2E;
  --text-muted:    #666666;

  /* ---- Lines / States ---- */
  --border:        #EFE6DD;
  --success:       #3FAF6C;
  --danger:        #E0563A;
  --whatsapp:      #25D366;

  /* ---- Shadows (soft, premium) ---- */
  --shadow-sm:     0 2px 8px  rgba(90, 8, 34, 0.06);
  --shadow-md:     0 10px 30px rgba(90, 8, 34, 0.08);
  --shadow-lg:     0 22px 55px rgba(90, 8, 34, 0.12);
  --shadow-gold:   0 12px 30px rgba(245, 178, 61, 0.35);

  /* ---- Radii ---- */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* ---- Fonts ---- */
  --font-head: 'Fredoka', 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Poppins', 'Nunito Sans', system-ui, sans-serif;

  /* ---- Layout ---- */
  --container-max: 1240px;
  --gutter: clamp(1rem, 4vw, 2.4rem);
  --section-y: clamp(4rem, 8vw, 7rem);
  --nav-h: 78px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 10px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-dark);
  background: var(--bg-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--maroon);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
p  { margin: 0 0 1rem; }

a {
  color: var(--maroon);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
a:hover { color: var(--gold-600); }

img {
  max-width: 100%;
  display: block;
}

::selection { background: var(--gold-soft); color: var(--maroon-700); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   3. LAYOUT HELPERS
   ============================================================ */
.container,
.container-fluid { max-width: var(--container-max); }

.section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  position: relative;
  overflow: hidden;
}

.bg-light-surface { background: var(--bg-light); }
.bg-section       { background: var(--bg-section); }
.bg-warm          { background: var(--bg-warm); }
.bg-maroon        { background: var(--maroon); color: var(--cream); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-title { margin-bottom: 1rem; }
.section-lead {
  color: var(--text-muted);
  font-size: 1.07rem;
  max-width: 620px;
  margin: 0 auto;
}
.text-center .section-lead { margin-left: auto; margin-right: auto; }

/* decorative curved divider */
.curve-divider {
  display: block;
  width: 100%;
  height: 70px;
  line-height: 0;
}
.curve-divider svg { width: 100%; height: 100%; display: block; }

/* ============================================================
   4. BUTTONS
   ============================================================ */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.8rem 1.7rem;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease),
              box-shadow 0.25s var(--ease),
              background 0.25s var(--ease),
              color 0.25s var(--ease);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  line-height: 1.2;
  --_ripple: rgba(255, 255, 255, 0.45);
}
.btn svg, .btn i { font-size: 1.05em; }

.btn-primary {
  background: var(--maroon);
  border-color: var(--maroon);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--maroon-700);
  border-color: var(--maroon-700);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-600) 100%);
  border-color: var(--gold-600);
  color: var(--maroon-700);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  color: var(--maroon-700);
  transform: translateY(-3px);
  filter: brightness(1.04);
}

.btn-outline-maroon {
  background: transparent;
  border-color: var(--maroon);
  color: var(--maroon);
}
.btn-outline-maroon:hover {
  background: var(--maroon);
  color: #fff;
  transform: translateY(-3px);
}

.btn-whatsapp {
  background: var(--whatsapp);
  border-color: var(--whatsapp);
  color: #fff;
}
.btn-whatsapp:hover { background: #1fb357; color: #fff; transform: translateY(-3px); }

.btn-light-soft {
  background: #fff;
  border-color: var(--border);
  color: var(--maroon);
  box-shadow: var(--shadow-sm);
}
.btn-light-soft:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.btn-lg { padding: 1rem 2.1rem; font-size: 1.05rem; }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.88rem; }

/* Ripple effect span injected by JS */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.6s linear;
  background: var(--_ripple);
  pointer-events: none;
}
@keyframes ripple {
  to { transform: scale(2.6); opacity: 0; }
}

/* ============================================================
   5. NAVBAR / HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1030;
  transition: background 0.4s var(--ease),
              box-shadow 0.4s var(--ease),
              padding 0.4s var(--ease);
  padding: 0.7rem 0;
}
.site-header.is-transparent {
  background: transparent;
  box-shadow: none;
}
.site-header.is-scrolled {
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: var(--shadow-sm);
  padding: 0.3rem 0;
}

/* ---- Brand (logo) ---- */
.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--maroon);
}
.navbar-brand:hover { color: var(--maroon); }

.logo-mark {
  width: 46px;
  height: 46px;
  flex: none;
  display: block;
}
.logo-mark svg { width: 100%; height: 100%; display: block; }

.logo-text { line-height: 1; }
.logo-text .logo-name {
  display: block;
  font-size: 1.25rem;
  color: var(--maroon);
}
.logo-text .logo-tag {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 600;
}

/* ---- Nav links ---- */
.main-nav { display: flex; align-items: center; gap: 0.35rem; }
.main-nav .nav-link {
  position: relative;
  font-weight: 500;
  font-size: 0.97rem;
  color: var(--maroon);
  padding: 0.5rem 0.85rem !important;
  border-radius: var(--r-sm);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.main-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.85rem; right: 0.85rem; bottom: 0.3rem;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active {
  color: var(--maroon-700);
}
.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.7rem; }

/* ---- Mobile menu button ---- */
.menu-toggle {
  width: 46px;
  height: 46px;
  border: none;
  background: var(--maroon);
  color: #fff;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease);
}
.menu-toggle:hover { transform: scale(1.06) rotate(8deg); }
.menu-toggle .bars,
.menu-toggle .bars::before,
.menu-toggle .bars::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.menu-toggle .bars { position: relative; }
.menu-toggle .bars::before { position: absolute; top: -6px; }
.menu-toggle .bars::after  { position: absolute; top: 6px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---- Mobile off-canvas nav panel ---- */
.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  height: 100dvh;
  width: min(86vw, 380px);
  background: var(--bg-light);
  box-shadow: -20px 0 60px rgba(90, 8, 34, 0.18);
  z-index: 1040;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1.6rem;
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }

.mobile-nav .m-brand {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem;
}
.mobile-nav .m-close {
  border: none; background: var(--bg-section);
  width: 42px; height: 42px; border-radius: 50%;
  color: var(--maroon); font-size: 1.2rem; cursor: pointer;
}
.mobile-nav .nav-link {
  display: block;
  padding: 0.85rem 0.5rem;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--maroon);
  border-bottom: 1px solid var(--border);
}
.mobile-nav .nav-link:hover { color: var(--gold-600); padding-left: 1rem; }
.mobile-nav .m-cta { margin-top: 1.5rem; display: grid; gap: 0.7rem; }

.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(46, 46, 46, 0.45);
  backdrop-filter: blur(2px);
  z-index: 1035;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

/* Header on light pages (non-index): always solid */
.site-header.solid {
  background: rgba(255, 253, 249, 0.95);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   6. HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(2rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 7vw, 6rem);
  overflow: hidden;
  background:
    radial-gradient(1100px 600px at 85% 0%, rgba(245, 178, 61, 0.16), transparent 60%),
    radial-gradient(900px 500px at 5% 100%, rgba(90, 8, 34, 0.06), transparent 60%),
    var(--bg-light);
}
/* subtle dotted texture */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(90, 8, 34, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.6;
  pointer-events: none;
}

.hero .container { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--maroon);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.4rem;
}
.hero-badge .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(63, 175, 108, 0.18);
}

.hero h1 { margin-bottom: 1.1rem; }
.hero h1 .accent {
  position: relative;
  color: var(--gold-600);
  white-space: nowrap;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.12em;
  height: 0.32em;
  background: var(--gold-soft);
  z-index: -1;
  border-radius: 6px;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 1.8rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2rem; }

.hero-mini-stats {
  display: flex; flex-wrap: wrap; gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.hero-mini-stats .item .num {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--maroon);
  line-height: 1;
}
.hero-mini-stats .item .lbl {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ---- Hero visual collage ---- */
.hero-visual {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}

.frame-card {
  position: absolute;
  background: #fff;
  padding: 10px 10px 38px;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  transform: rotate(var(--rot, 0deg));
  transition: transform 0.5s var(--ease);
}
.frame-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 3px;
  background: var(--bg-section);
}
.frame-card .fc-cap {
  position: absolute; left: 0; right: 0; bottom: 9px;
  text-align: center;
  font-family: var(--font-head);
  font-size: 0.78rem;
  color: var(--maroon);
}

/* polaroid */
.polaroid {
  width: 170px;
  background: #fff;
  padding: 12px 12px 34px;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-7deg);
}

/* central hero image */
.hero-main-img {
  position: relative;
  width: clamp(220px, 30vw, 320px);
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid #fff;
  z-index: 2;
}
.hero-main-img img { width: 100%; height: 100%; object-fit: cover; }

/* floating decor blobs */
.floaty { position: absolute; z-index: 1; }
.floaty--1 { top: -10px; right: 8%; }
.floaty--2 { bottom: 6%; left: -4%; }
.floaty--3 { top: 40%; right: -2%; }
.floaty-badge {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 0.7rem 1rem;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.85rem; font-weight: 600; color: var(--maroon);
}
.floaty-badge .ic {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--gold-soft); color: var(--maroon);
}

/* squiggle/heart decoration */
.deco-heart {
  position: absolute;
  width: 56px; height: 56px;
  color: var(--gold);
  opacity: 0.9;
  filter: drop-shadow(0 6px 14px rgba(245, 178, 61, 0.4));
}

/* floating animation */
@keyframes float-y {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50%      { transform: translateY(-14px) rotate(var(--rot, 0deg)); }
}
.float-anim { animation: float-y 6s ease-in-out infinite; }
.float-anim-2 { animation: float-y 7.5s ease-in-out infinite; animation-delay: -2s; }

/* wave divider at bottom of hero */
.hero-wave { margin-bottom: -1px; }

/* ============================================================
   7. MARQUEE STRIP
   ============================================================ */
.marquee {
  background: var(--maroon);
  color: var(--cream);
  overflow: hidden;
  padding: 0.85rem 0;
}
.marquee-track {
  display: flex; gap: 3rem;
  white-space: nowrap;
  width: max-content;
  animation: scroll-x 26s linear infinite;
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 1.05rem;
}
.marquee-item .star { color: var(--gold); }
@keyframes scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   8. WHY CHOOSE US — ICON CARDS
   ============================================================ */
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 1.7rem;
  height: 100%;
  text-align: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--maroon));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 76px; height: 76px;
  margin: 0 auto 1.2rem;
  border-radius: 22px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--cream), var(--gold-soft));
  color: var(--maroon);
  font-size: 1.8rem;
  transition: transform 0.4s var(--ease);
}
.feature-card:hover .feature-icon { transform: rotate(-8deg) scale(1.08); }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-muted); margin: 0; font-size: 0.96rem; }

/* ============================================================
   9. CATEGORIES GRID
   ============================================================ */
.cat-card {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 280px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  background: var(--bg-section);
}
.cat-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.cat-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(90,8,34,0) 35%, rgba(90,8,34,0.78) 100%);
}
.cat-card .cat-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.3rem;
  color: #fff;
  z-index: 2;
}
.cat-card .cat-title {
  color: #fff;
  font-size: 1.25rem;
  margin: 0 0 0.2rem;
}
.cat-card .cat-desc {
  color: rgba(255,255,255,0.85);
  font-size: 0.86rem;
  margin: 0 0 0.7rem;
}
.cat-card .cat-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem; font-weight: 600;
  color: var(--gold);
  padding: 0.35rem 0.85rem;
  background: rgba(255,255,255,0.14);
  border-radius: var(--r-pill);
  backdrop-filter: blur(4px);
  transition: gap 0.3s var(--ease), background 0.3s var(--ease);
}
.cat-card:hover .cat-link { gap: 0.75rem; background: var(--gold); color: var(--maroon-700); }
.cat-card:hover img { transform: scale(1.08); }
.cat-card:hover { box-shadow: var(--shadow-lg); }

/* ============================================================
   10. FEATURED PRODUCTS
   ============================================================ */
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 100%;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-section);
}
.product-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.07); }

.ribbon {
  position: absolute; top: 14px; left: 14px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.32rem 0.75rem;
  border-radius: var(--r-pill);
  color: #fff;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}
.ribbon.best    { background: var(--maroon); }
.ribbon.trending{ background: var(--gold-600); color: var(--maroon-700); }
.ribbon.new     { background: var(--success); }
.ribbon.sale    { background: var(--danger); }

.product-actions {
  position: absolute; top: 14px; right: 14px;
  display: flex; flex-direction: column; gap: 0.5rem;
  opacity: 0; transform: translateX(14px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }
.icon-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--maroon);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.icon-btn:hover { background: var(--maroon); color: #fff; transform: scale(1.08); }

.product-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.product-rating { display: flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.4rem; }
.product-rating .stars { color: var(--gold-600); letter-spacing: 1px; }
.product-body h3 { font-size: 1.12rem; margin-bottom: 0.3rem; color: var(--text-dark); }
.product-body .desc { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0.9rem; }
.product-price { display: flex; align-items: baseline; gap: 0.55rem; margin-bottom: 1rem; }
.product-price .now { font-family: var(--font-head); font-size: 1.3rem; color: var(--maroon); }
.product-price .was { font-size: 0.92rem; color: var(--text-muted); text-decoration: line-through; }
.product-cta { margin-top: auto; }

/* category filter pills */
.filter-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 2.5rem; }
.filter-pill {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-dark);
  border-radius: var(--r-pill);
  padding: 0.5rem 1.15rem;
  font-size: 0.9rem; font-weight: 500;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.filter-pill:hover { border-color: var(--maroon); color: var(--maroon); }
.filter-pill.active { background: var(--maroon); border-color: var(--maroon); color: #fff; }

/* ============================================================
   11. HOW IT WORKS — TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 38px; left: 4%; right: 4%; height: 3px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 12px, transparent 12px 22px);
  z-index: 0;
}
.timeline-step {
  position: relative; z-index: 1;
  text-align: center;
  padding: 0 0.4rem;
}
.step-num {
  width: 76px; height: 76px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--gold);
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-size: 1.4rem; font-weight: 600;
  color: var(--maroon);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step-num .ic { font-size: 1.5rem; }
.timeline-step h4 { font-size: 1.02rem; margin-bottom: 0.3rem; }
.timeline-step p { font-size: 0.84rem; color: var(--text-muted); margin: 0; }

/* ============================================================
   12. GALLERY (Masonry + lightbox)
   ============================================================ */
.gallery-grid {
  column-count: 4;
  column-gap: 1rem;
}
.gallery-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  display: block;
}
.gallery-item img { width: 100%; display: block; transition: transform 0.6s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(90,8,34,0) 40%, rgba(90,8,34,0.8) 100%);
  opacity: 0;
  display: flex; align-items: flex-end;
  padding: 1rem;
  transition: opacity 0.35s var(--ease);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay .tag {
  color: #fff; font-family: var(--font-head); font-size: 0.95rem;
  transform: translateY(10px); transition: transform 0.35s var(--ease);
}
.gallery-item:hover .gallery-overlay .tag { transform: translateY(0); }
.gallery-overlay .zoom {
  position: absolute; top: 12px; right: 12px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.9); color: var(--maroon);
  display: grid; place-items: center;
  transform: scale(0.6); opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.gallery-item:hover .gallery-overlay .zoom { transform: scale(1); opacity: 1; }

/* gallery filter */
.gallery-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 2rem; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(46, 20, 26, 0.92);
  backdrop-filter: blur(6px);
  z-index: 1080;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-content {
  position: relative;
  max-width: min(900px, 92vw);
  max-height: 86vh;
  transform: scale(0.92);
  transition: transform 0.35s var(--ease);
}
.lightbox.is-open .lightbox-content { transform: scale(1); }
.lightbox-content img {
  max-width: 100%; max-height: 80vh;
  border-radius: var(--r-md);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: none;
  background: rgba(255,255,255,0.95);
  color: var(--maroon);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer;
  font-size: 1.3rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.lightbox-close:hover, .lightbox-nav:hover { transform: scale(1.1); background: var(--gold); }
.lightbox-close { top: -18px; right: -18px; }
.lightbox-prev { left: -18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: -18px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover, .lightbox-next:hover { transform: translateY(-50%) scale(1.1); }
.lightbox-caption {
  color: #fff; text-align: center;
  margin-top: 1rem; font-family: var(--font-head);
}

/* ============================================================
   13. TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  height: 100%;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testimonial-card .quote-mark {
  position: absolute; top: 1.2rem; right: 1.4rem;
  font-family: var(--font-head);
  font-size: 3.4rem; line-height: 1;
  color: var(--gold-soft);
}
.testimonial-stars { color: var(--gold-600); letter-spacing: 2px; margin-bottom: 0.9rem; }
.testimonial-text { font-size: 1rem; color: var(--text-dark); margin-bottom: 1.4rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.85rem; }
.testimonial-author .avatar {
  width: 50px; height: 50px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--gold);
  background: var(--bg-section);
}
.testimonial-author .meta .name { font-weight: 600; color: var(--maroon); font-family: var(--font-head); }
.testimonial-author .meta .role { font-size: 0.82rem; color: var(--text-muted); }

/* Bootstrap carousel tweaks */
.testimonials-carousel .carousel-inner { padding: 1rem 0; }
.testimonials-carousel .carousel-indicators {
  position: static; margin: 1.5rem 0 0;
}
.testimonials-carousel .carousel-indicators [data-bs-target] {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--border); border: none;
  margin: 0 5px; opacity: 1;
  transition: all 0.3s var(--ease);
}
.testimonials-carousel .carousel-indicators .active {
  background: var(--gold-600); width: 30px; border-radius: var(--r-pill);
}

/* ============================================================
   14. INSTAGRAM GRID
   ============================================================ */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.6rem;
}
.insta-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--r-sm);
}
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.insta-item .ig-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(90,8,34,0.7), rgba(229,84,107,0.6));
  display: grid; place-items: center;
  opacity: 0; transition: opacity 0.35s var(--ease);
  color: #fff;
}
.insta-item:hover .ig-overlay { opacity: 1; }
.insta-item:hover img { transform: scale(1.1); }
.ig-overlay .ic { font-size: 1.6rem; }
.ig-overlay .count { font-size: 0.85rem; margin-top: 0.3rem; font-family: var(--font-head); }

/* ============================================================
   15. STATS COUNTERS
   ============================================================ */
.stats {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-700) 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(245,178,61,0.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(245,178,61,0.12), transparent 45%);
  pointer-events: none;
}
.stats .container { position: relative; z-index: 2; }
.stat-item { text-align: center; padding: 1rem; }
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stat-num .suffix { color: var(--gold); }
.stat-lbl {
  margin-top: 0.5rem;
  color: rgba(248, 243, 236, 0.85);
  font-size: 0.95rem;
}

/* ============================================================
   16. FAQ ACCORDION
   ============================================================ */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.accordion-item {
  border: 1px solid var(--border) !important;
  border-radius: var(--r-md) !important;
  overflow: hidden;
  margin-bottom: 1rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.accordion-button {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.06rem;
  color: var(--maroon);
  padding: 1.2rem 1.4rem;
  background: #fff;
}
.accordion-button:not(.collapsed) {
  background: var(--cream);
  color: var(--maroon-700);
  box-shadow: none;
}
.accordion-button:focus { box-shadow: none; border-color: var(--gold); }
.accordion-button::after {
  background-image: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gold-soft);
  position: relative;
  transform: none !important;
  background-size: 0;
}
.accordion-button::before {
  content: "+";
  position: absolute; right: 1.5rem;
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--maroon);
  transition: transform 0.3s var(--ease);
}
.accordion-button:not(.collapsed)::before { content: "−"; }
.accordion-button::after { display: none; }
.accordion-body { padding: 0 1.4rem 1.3rem; color: var(--text-muted); }

/* ============================================================
   17. CTA SECTION
   ============================================================ */
.cta-banner {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  background:
    linear-gradient(135deg, rgba(90,8,34,0.92), rgba(74,6,25,0.92)),
    url("https://images.unsplash.com/photo-1513519245088-0e12902e5a38?auto=format&fit=crop&w=1400&q=60") center/cover;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-banner::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(245,178,61,0.2) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
}
.cta-banner .container, .cta-banner .row { position: relative; z-index: 2; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.9); max-width: 560px; margin: 0 auto 1.8rem; }
.cta-banner .btn-gold { color: var(--maroon-700); }
.cta-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   18. FOOTER
   ============================================================ */
.site-footer {
  background: var(--maroon);
  color: rgba(248, 243, 236, 0.82);
  padding-top: clamp(3.5rem, 6vw, 5rem);
  position: relative;
}
.site-footer a { color: rgba(248, 243, 236, 0.82); }
.site-footer a:hover { color: var(--gold); }
.footer-brand {
  display: flex; align-items: center; gap: 0.7rem;
  margin-bottom: 1.2rem;
}
.footer-brand .logo-name { color: var(--cream); }
.footer-brand .logo-tag  { color: var(--gold); }
.footer-about { font-size: 0.94rem; line-height: 1.8; max-width: 320px; margin-bottom: 1.4rem; }

.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: grid; place-items: center;
  color: var(--cream);
  transition: all 0.3s var(--ease);
}
.footer-social a:hover { background: var(--gold); color: var(--maroon); transform: translateY(-4px); }

.footer-title {
  color: var(--cream);
  font-family: var(--font-head);
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.6rem;
}
.footer-title::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 34px; height: 2px; background: var(--gold);
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { font-size: 0.94rem; display: inline-flex; align-items: center; gap: 0.4rem; }
.footer-links a::before { content: "›"; color: var(--gold); font-weight: 700; }

.footer-contact li {
  display: flex; gap: 0.7rem; margin-bottom: 0.9rem; font-size: 0.94rem; align-items: flex-start;
}
.footer-contact .ic {
  color: var(--gold); flex: none; width: 20px; text-align: center; margin-top: 0.2rem;
}

.footer-newsletter {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  padding: 1.2rem;
}
.footer-newsletter p { font-size: 0.88rem; margin-bottom: 0.8rem; }
.footer-newsletter .input-group { box-shadow: none; }
.footer-newsletter .form-control {
  border-radius: var(--r-pill) 0 0 var(--r-pill);
  border: none; padding: 0.7rem 1.1rem; font-size: 0.9rem;
}
.footer-newsletter .btn {
  border-radius: 0 var(--r-pill) var(--r-pill) 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2.5rem;
  padding: 1.4rem 0;
  font-size: 0.86rem;
}
.footer-bottom .heart { color: #ff5a7a; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   19. FLOATING WHATSAPP BUTTON
   ============================================================ */
.fab-whatsapp {
  position: fixed;
  bottom: 22px; right: 22px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: grid; place-items: center;
  font-size: 1.7rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  z-index: 1020;
  transition: transform 0.3s var(--ease);
  animation: pulse-wa 2.5s ease-out infinite;
}
.fab-whatsapp:hover { color: #fff; transform: scale(1.1); }
@keyframes pulse-wa {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70%  { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* back to top */
.back-to-top {
  position: fixed;
  bottom: 92px; right: 30px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff;
  display: grid; place-items: center;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  z-index: 1020;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--maroon-700); color: var(--gold); }

/* ============================================================
   20. PAGE BANNER (sub pages)
   ============================================================ */
.page-banner {
  padding: calc(var(--nav-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(245,178,61,0.16), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(90,8,34,0.05), transparent 60%),
    var(--bg-light);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-banner::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(90,8,34,0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.6;
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { margin-bottom: 0.8rem; }
.page-banner p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.breadcrumb-nav {
  display: inline-flex; gap: 0.5rem; align-items: center;
  background: #fff; border: 1px solid var(--border);
  padding: 0.45rem 1.1rem; border-radius: var(--r-pill);
  font-size: 0.85rem; box-shadow: var(--shadow-sm);
  margin-top: 1.4rem;
}
.breadcrumb-nav a { color: var(--maroon); font-weight: 500; }
.breadcrumb-nav span { color: var(--text-muted); }

/* ============================================================
   21. FORMS
   ============================================================ */
.form-control, .form-select {
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  padding: 0.8rem 1rem;
  font-size: 0.97rem;
  color: var(--text-dark);
  background: #fff;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(245, 178, 61, 0.18);
}
.form-label { font-weight: 500; font-size: 0.92rem; color: var(--text-dark); margin-bottom: 0.4rem; }
textarea.form-control { min-height: 130px; resize: vertical; }

.contact-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.6rem;
  display: flex; gap: 1rem; align-items: flex-start;
  box-shadow: var(--shadow-sm); height: 100%;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-card .ic {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  background: linear-gradient(135deg, var(--cream), var(--gold-soft));
  display: grid; place-items: center;
  color: var(--maroon); font-size: 1.3rem;
}
.contact-card h4 { font-size: 1.05rem; margin-bottom: 0.2rem; color: var(--text-dark); }
.contact-card p { margin: 0; font-size: 0.92rem; color: var(--text-muted); }

.map-frame {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  min-height: 340px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ============================================================
   22. SCROLL REVEAL ANIMATION SYSTEM
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
[data-reveal="up"]    { transform: translateY(40px); }
[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"]  { transform: scale(0.92); }
[data-reveal].is-visible {
  opacity: 1; transform: none;
}
/* stagger via delay set inline or in JS */

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none !important; }
}

/* ============================================================
   23. MISC UTILITIES
   ============================================================ */
.gradient-text {
  background: linear-gradient(135deg, var(--maroon), var(--gold-600));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.divider-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin: 0 0.6rem; vertical-align: middle; }
.glass-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.tag-soft {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--cream); color: var(--maroon);
  border: 1px solid var(--border);
  padding: 0.35rem 0.85rem; border-radius: var(--r-pill);
  font-size: 0.82rem; font-weight: 500;
}
.list-check { list-style: none; padding: 0; margin: 0; }
.list-check li {
  position: relative; padding-left: 1.9rem; margin-bottom: 0.7rem;
  font-size: 0.96rem;
}
.list-check li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 22px; height: 22px;
  background: var(--success); color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.72rem; font-weight: 700;
}

/* skeleton placeholder while images load */
.img-skeleton {
  background: linear-gradient(100deg, var(--bg-section) 30%, #fff 50%, var(--bg-section) 70%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}
