/*
 * ============================================================
 *  BALAGAM OPTICAL — Global Brand Site
 *  style.css
 *  Dark/Gold Premium Optical — Cloudflare Pages Ready
 * ============================================================
 */

/* ---- 1. DESIGN TOKENS ---- */
:root {
  --gold:       #F2B705;
  --gold-2:     #E8C97A;
  --gold-glow:  rgba(242, 183, 5, 0.14);
  --gold-faint: rgba(242, 183, 5, 0.06);
  --dark:       #090909;
  --dark-2:     #0F0F0F;
  --dark-3:     #161616;
  --dark-4:     #1E1E1E;
  --text:       #EDE8DC;
  --muted:      #7A7A72;
  --white:      #FAFAF8;

  --pad-section: clamp(80px, 10vw, 130px);
  --pad-side:    clamp(20px, 5vw, 64px);
  --max-width:   1300px;
  --gap-grid:    clamp(6px, 0.9vw, 12px);
  --radius:      4px;
  --radius-lg:   8px;
}

/* ---- 2. RESET ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--dark);
  font-size: 16px;
}

body {
  background: var(--dark);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

::-webkit-scrollbar       { width: 3px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ---- 3. SCROLL PROGRESS ---- */
#scroll-prog {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ---- 4. LOADER ---- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  font-weight: 300;
  letter-spacing: 0.35em;
  color: var(--gold);
  clip-path: inset(0 100% 0 0);
  animation: revealClip 1s cubic-bezier(0.77, 0, 0.18, 1) 0.25s forwards;
}

.loader-rule {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: expandRule 0.8s ease 0.9s forwards;
}

.loader-tagline {
  font-size: 0.68rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: fadeUp 0.6s ease 1.35s forwards;
}

/* ---- 5. NAVIGATION ---- */
#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 68px;
  padding: 0 var(--pad-side);
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background 0.45s ease, backdrop-filter 0.45s ease,
              border-color 0.45s ease, height 0.35s ease, box-shadow 0.45s ease;
}

#mainNav.scrolled {
  background: rgba(9, 9, 9, 0.95);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom-color: rgba(242, 183, 5, 0.1);
  height: 60px;
  box-shadow: 0 4px 48px rgba(0, 0, 0, 0.55);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold);
  transition: opacity 0.3s;
  flex-shrink: 0;
}

.nav-logo em {
  font-style: italic;
  color: var(--text);
  font-weight: 300;
}

.nav-logo:hover { opacity: 0.82; }

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  position: relative;
  color: rgba(237, 232, 220, 0.72);
  font-size: 0.77rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  padding-bottom: 4px;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover            { color: var(--gold); }
.nav-links a:hover::after     { width: 100%; }

/* Shop CTA in nav */
.nav-shop-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-2)) !important;
  color: var(--dark) !important;
  padding: 9px 22px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  transition: all 0.3s !important;
}

.nav-shop-btn::after    { display: none !important; }
.nav-shop-btn:hover     {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(242, 183, 5, 0.32) !important;
  color: var(--dark) !important;
}

/* Hamburger */
.nav-ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-ham span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-ham.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-ham.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-ham.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile full-screen menu */
.mob-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(9, 9, 9, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 199;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.mob-menu.open { display: flex; }

.mob-menu a {
  color: var(--text);
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  padding: 14px 0;
  transition: color 0.3s;
  opacity: 0;
  transform: translateY(22px);
}

.mob-menu.open a { animation: menuSlide 0.5s ease forwards; }
.mob-menu.open a:nth-child(1) { animation-delay: 0.04s; }
.mob-menu.open a:nth-child(2) { animation-delay: 0.09s; }
.mob-menu.open a:nth-child(3) { animation-delay: 0.14s; }
.mob-menu.open a:nth-child(4) { animation-delay: 0.19s; }

.mob-menu a:hover { color: var(--gold); }

.mob-shop {
  margin-top: 22px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--dark) !important;
  padding: 14px 52px !important;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 600;
  letter-spacing: 0.1em !important;
}

/* ---- 6. HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;        /* fallback */
  min-height: 100svh;       /* modern: excludes browser UI chrome on mobile */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(9, 9, 9, 0.38) 0%,
    rgba(9, 9, 9, 0.48) 50%,
    rgba(9, 9, 9, 0.78) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 120px 24px 90px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(242, 183, 5, 0.28);
  padding: 7px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
  opacity: 0;
  animation: heroUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 9.5vw, 8.5rem);
  font-weight: 300;
  line-height: 0.90;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  opacity: 0;
  animation: heroUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.46s forwards;
}

.hero-title em {
  display: block;
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
  font-size: 0.82em;
  margin-top: 6px;
}

.hero-sub {
  font-size: clamp(0.88rem, 2vw, 1.1rem);
  color: rgba(237, 232, 220, 0.68);
  margin-bottom: 42px;
  font-weight: 300;
  letter-spacing: 0.04em;
  opacity: 0;
  animation: heroUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.62s forwards;
}

.hero-cta {
  opacity: 0;
  animation: heroUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.78s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  opacity: 0;
  animation: heroUp 1s ease 1.45s forwards;
}

.hero-scroll span {
  font-size: 0.6rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(237, 232, 220, 0.45);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.5s ease infinite;
}

/* ---- 7. BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--dark);
  padding: 15px 34px;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(242, 183, 5, 0.36);
}

.btn-lg {
  padding: 17px 44px;
  font-size: 0.85rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(242, 183, 5, 0.38);
  color: var(--gold);
  padding: 13px 30px;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  transition: all 0.4s;
}

.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(242, 183, 5, 0.07);
  transform: translateY(-2px);
}

/* ---- 8. TICKER ---- */
.ticker {
  background: linear-gradient(90deg, var(--gold), var(--gold-2), var(--gold));
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  animation: tickerScroll 38s linear infinite;
}

.ticker-item {
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0 28px;
}

.ticker-sep {
  color: var(--dark);
  font-size: 0.55rem;
  opacity: 0.45;
  flex-shrink: 0;
}

/* ---- 9. SECTION COMMONS ---- */
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-side);
}

.sec-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 70px);
}

.sec-eyebrow {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 500;
}

.sec-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
}

.sec-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.sec-desc {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.85;
}

/* ---- 10. COLLECTIONS (BENTO GRID) ---- */
.collections-section {
  padding: var(--pad-section) 0;
  background: var(--dark-2);
}

.cat-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 320px 320px 240px;
  gap: var(--gap-grid);
}

/* Men's Frames — 2 cols × 2 rows */
.cat-bento .cat-item:nth-child(1) {
  grid-column: 1 / 3;
  grid-row:    1 / 3;
}

/* Kids Glasses — 2 cols */
.cat-bento .cat-item:nth-child(6) {
  grid-column: 1 / 3;
}

/* Individual card base */
.cat-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  display: block;
  cursor: pointer;
}

.cat-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.cat-item:hover img { transform: scale(1.07); }

/* Gold border shimmer on hover */
.cat-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(242, 183, 5, 0);
  border-radius: var(--radius);
  z-index: 4;
  transition: border-color 0.4s;
  pointer-events: none;
}

.cat-item:hover::after { border-color: rgba(242, 183, 5, 0.42); }

/* Overlay */
.cat-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(9, 9, 9, 0.94) 0%,
    rgba(9, 9, 9, 0.46) 44%,
    rgba(9, 9, 9, 0.04) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: background 0.4s;
}

.cat-item:hover .cat-overlay {
  background: linear-gradient(
    to top,
    rgba(9, 9, 9, 0.97) 0%,
    rgba(9, 9, 9, 0.55) 44%,
    rgba(9, 9, 9, 0.1) 100%
  );
}

.cat-tag {
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 7px;
  font-weight: 500;
  display: block;
  transition: letter-spacing 0.4s;
}

.cat-item:hover .cat-tag { letter-spacing: 0.38em; }

.cat-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 5px;
  line-height: 1.1;
}

/* Larger name for the hero card */
.cat-bento .cat-item:nth-child(1) .cat-name { font-size: 2.2rem; }

.cat-desc {
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.5;
}

.cat-cta {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s, transform 0.4s;
}

.cat-item:hover .cat-cta {
  opacity: 1;
  transform: translateY(0);
}

/* ---- 11. FEATURES ---- */
.features-section {
  padding: var(--pad-section) 0;
  background: var(--dark);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  max-width: 1100px;
  margin: 0 auto;
}

.feat-item {
  padding: clamp(32px, 4vw, 52px) clamp(24px, 3vw, 36px);
  border: 1px solid rgba(242, 183, 5, 0.1);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.01);
  transition: border-color 0.45s, background 0.45s, transform 0.45s, box-shadow 0.45s;
}

.feat-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: width 0.5s ease;
}

.feat-item:hover {
  border-color: rgba(242, 183, 5, 0.3);
  background: rgba(242, 183, 5, 0.03);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.feat-item:hover::before { width: 68%; }

.feat-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 22px;
  background: rgba(242, 183, 5, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(242, 183, 5, 0.15);
  color: var(--gold);
  transition: background 0.4s, transform 0.4s, border-color 0.4s;
}

.feat-icon svg { width: 26px; height: 26px; }

.feat-item:hover .feat-icon {
  background: rgba(242, 183, 5, 0.15);
  transform: scale(1.1);
  border-color: rgba(242, 183, 5, 0.3);
}

.feat-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.2;
}

.feat-item p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.88;
}

/* ---- 12. BRAND STORY ---- */
.story-section {
  padding: var(--pad-section) 0;
  background: var(--dark-2);
  border-top:    1px solid rgba(242, 183, 5, 0.06);
  border-bottom: 1px solid rgba(242, 183, 5, 0.06);
}

.story-layout {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

/* Decorative left column */
.story-deco {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.glasses-mark {
  width: 100%;
  max-width: 270px;
  color: rgba(242, 183, 5, 0.16);
  transition: color 0.6s;
}

.story-deco:hover .glasses-mark { color: rgba(242, 183, 5, 0.30); }

.story-monogram {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(7rem, 14vw, 11rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg,
    rgba(242, 183, 5, 0.22) 0%,
    rgba(242, 183, 5, 0.03) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: none;
}

/* Right story text */
.story-heading {
  text-align: left;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  margin-bottom: 28px;
}

.story-para {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.92;
  margin-bottom: 16px;
  max-width: 540px;
}

.story-para:last-of-type { margin-bottom: 34px; }

/* ---- 13. SEO SECTION ---- */
.seo-section {
  padding: var(--pad-section) 0;
  background: var(--dark);
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2.5vw, 28px);
  max-width: 1200px;
  margin: 0 auto;
}

.seo-card {
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid rgba(242, 183, 5, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.013);
  transition: border-color 0.4s, background 0.4s;
}

.seo-card:hover {
  border-color: rgba(242, 183, 5, 0.2);
  background: rgba(242, 183, 5, 0.02);
}

.seo-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.28;
}

.seo-card h3 em {
  font-style: italic;
  color: var(--gold);
}

.seo-card p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.92;
}

/* ---- 14. FINAL CTA ---- */
.cta-section {
  padding: var(--pad-section) 0;
  background: var(--dark-2);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%,
    rgba(242, 183, 5, 0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.04;
  margin-bottom: 20px;
  margin-top: 12px;
}

.cta-title em {
  display: block;
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.cta-desc {
  font-size: 0.94rem;
  color: var(--muted);
  margin-bottom: 44px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.82;
}

/* ---- 15. FOOTER ---- */
.site-footer {
  background: var(--dark-3);
  padding: clamp(52px, 8vw, 88px) 0 36px;
  border-top: 1px solid rgba(242, 183, 5, 0.1);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  background: linear-gradient(90deg, var(--gold), var(--gold-2), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: shimmer 6s linear infinite;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 0.76rem;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  gap: 52px;
}

.footer-col h4 {
  font-size: 0.65rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 500;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.82rem;
  color: var(--muted);
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--gold); }

.footer-rule {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(242, 183, 5, 0.2),
    transparent
  );
  margin-bottom: 24px;
}

.footer-copy {
  text-align: center;
  font-size: 0.7rem;
  color: rgba(122, 122, 114, 0.48);
  letter-spacing: 0.06em;
}

/* ---- 16. REVEAL ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.85s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible       { opacity: 1; transform: translateY(0); }
.reveal-d1            { transition-delay: 0.11s; }
.reveal-d2            { transition-delay: 0.22s; }

/* ---- 17. KEYFRAMES ---- */
@keyframes revealClip {
  to { clip-path: inset(0 0% 0 0); }
}

@keyframes expandRule {
  to { width: 160px; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes menuSlide {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

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

@keyframes shimmer {
  to { background-position: 200% center; }
}

/* ---- 18. RESPONSIVE ---- */

/* === Mobile: ≤900px — hide nav links, show hamburger === */
@media (max-width: 900px) {
  .nav-links { display: none !important; }
  .nav-ham   { display: flex !important; }

  /* Always show a solid dark background on mobile — prevents any
     underlying content bleeding through the transparent nav */
  #mainNav {
    background: rgba(9, 9, 9, 0.96) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom-color: rgba(242, 183, 5, 0.1) !important;
  }
}

/* === Tablet/Small Desktop: ≤1100px === */
@media (max-width: 1100px) {
  .cat-bento {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 280px 280px 230px 230px;
  }

  /* Men's: 2 cols, 2 rows still */
  .cat-bento .cat-item:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }

  /* Kids: full width */
  .cat-bento .cat-item:nth-child(6) {
    grid-column: 1 / 4;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
  }

  .features-grid .feat-item:last-child {
    grid-column: 1 / 3;
    max-width: 420px;
    margin: 0 auto;
  }

  .seo-grid { grid-template-columns: 1fr; }

  .story-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .story-deco { display: none; }
  .story-heading { text-align: center; }
  .story-para   { margin-left: auto; margin-right: auto; }
  .story-content { text-align: center; }
}

/* === Mobile: ≤768px === */
@media (max-width: 768px) {
  .cat-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 240px 220px 220px 220px 200px;
  }

  .cat-bento .cat-item:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .cat-bento .cat-item:nth-child(6) {
    grid-column: 1 / 3;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .features-grid .feat-item:last-child {
    grid-column: 1;
    max-width: none;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .footer-nav { gap: 36px; }
}

/* === Small Mobile: ≤480px === */
@media (max-width: 480px) {
  .cat-bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .cat-bento .cat-item,
  .cat-bento .cat-item:nth-child(1),
  .cat-bento .cat-item:nth-child(6) {
    grid-column: 1;
    grid-row: auto;
    min-height: 200px;
  }

  .seo-grid { gap: 12px; }
}

/* ---- 19. WHATSAPP NAV BUTTON ---- */
.nav-wa-btn {
  color: rgba(237, 232, 220, 0.72) !important;
  border: 1px solid rgba(237, 232, 220, 0.18);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 0.77rem !important;
  letter-spacing: 0.12em !important;
  transition: all 0.3s !important;
}

.nav-wa-btn::after { display: none !important; }

.nav-wa-btn:hover {
  color: #25D366 !important;
  border-color: rgba(37, 211, 102, 0.4) !important;
  background: rgba(37, 211, 102, 0.07) !important;
}

/* Mobile menu WhatsApp link */
.mob-wa {
  color: #25D366 !important;
  border: 1px solid rgba(37, 211, 102, 0.3);
  padding: 12px 48px !important;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 500;
  letter-spacing: 0.1em !important;
  margin-top: 10px;
}

/* 5th child animation delay for mobile menu */
.mob-menu.open a:nth-child(5) { animation-delay: 0.24s; }

/* ---- 20. FOOTER ADDRESS BLOCK ---- */
.footer-address {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.85;
  margin-top: 18px;
}

.footer-addr-label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 500;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  transition: color 0.3s;
  width: fit-content;
}

.footer-wa   { color: #25D366; }
.footer-email { color: var(--muted); }

.footer-wa:hover    { color: #20b858; }
.footer-email:hover { color: var(--gold); }

.footer-hours {
  display: block;
  margin-top: 10px;
  font-size: 0.75rem;
  color: rgba(122, 122, 114, 0.65);
  letter-spacing: 0.05em;
}

/* ---- 21. FLOATING WHATSAPP BUTTON ---- */
.float-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  padding: 13px 20px 13px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.36);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 220px;
  overflow: hidden;
}

.float-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(37, 211, 102, 0.48);
}

.float-wa-text {
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
}

/* Collapse to icon-only on small screens */
@media (max-width: 480px) {
  .float-wa {
    padding: 14px;
    border-radius: 50%;
    max-width: 54px;
  }
  .float-wa-text { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .ticker-track { animation: none; }
}
