/* ═══════════════════════════════════════════════════════════════
   RAJ JEWELLERS — INTRINSIC / FLUID CSS DESIGN SYSTEM
   ═══════════════════════════════════════════════════════════════
   
   THE REAL SOLUTION — How Amazon, Flipkart, Apple, Google do it:
   
   Instead of device-specific pixel breakpoints (which require
   constant updates for new devices), this file uses:
   
   1. clamp(min, fluid, max)  — typography and spacing scales
      smoothly from any screen size to any other. No breakpoints.
   
   2. auto-fill / minmax()    — grids automatically create the
      right number of columns for ANY viewport width. Ever.
   
   3. aspect-ratio            — replaces all fixed pixel heights.
      Images always maintain correct proportions on any device.
   
   4. min() / max()           — values that intelligently pick
      the right size without needing a media query.
   
   Only 2 real breakpoints exist:
   • 768px — switches hamburger on/off (phone vs tablet+)
   • 600px — tightens spacing for very small phones
   
   Everything else is fluid. New iPads, new Androids, new foldables,
   televisions, smartwatches — all handled automatically, forever.
   ═══════════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════════════════════
   DESIGN TOKENS — Single source of truth for all values
   ═══════════════════════════════════════════════════════════════ */
:root {
    /* Brand Colours */
    --gold:         #D4AF37;
    --gold-dark:    #B5952F;
    --gold-light:   #FFF2CD;
    --bg:           #0F0F0F;
    --surface:      #1A1A1A;
    --surface-2:    #242424;
    --text:         #F8F8F8;
    --text-muted:   #B3B3B3;
    --maroon:       #4A0404;

    /* Legacy aliases — keep backward compat */
    --color-primary:      #D4AF37;
    --color-primary-dark: #B5952F;
    --color-bg:           #0F0F0F;
    --color-surface:      #1A1A1A;
    --color-text:         #F8F8F8;
    --color-text-muted:   #B3B3B3;
    --color-maroon:       #4A0404;

    /* Fonts */
    --font-heading: 'Cinzel', 'Trajan Pro', 'Times New Roman', serif;
    --font-serif:   'Playfair Display', 'Georgia', serif;
    --font-body:    'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

    /* Transitions */
    --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Fluid Spacing Scale (clamp = no breakpoints needed ever) */
    --space-xs:   clamp(0.5rem,  1vw,   0.75rem);
    --space-sm:   clamp(0.75rem, 2vw,   1rem);
    --space-md:   clamp(1rem,    3vw,   1.5rem);
    --space-lg:   clamp(1.5rem,  4vw,   2.5rem);
    --space-xl:   clamp(2rem,    6vw,   4rem);
    --space-2xl:  clamp(3rem,    8vw,   6rem);

    /* Fluid Container Padding */
    --pad-inline: clamp(0.875rem, 4vw, 2.5rem);
    --pad-block:  clamp(2.5rem,   7vw, 6rem);

    /* Safe area insets for notched/dynamic-island phones */
    --safe-top:    env(safe-area-inset-top,    0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left:   env(safe-area-inset-left,   0px);
    --safe-right:  env(safe-area-inset-right,  0px);

    /* Ticker height is firmly set to prevent any JS layout jumps */
    --ticker-h:  clamp(36px, 4vw, 42px);
    --navbar-h:  clamp(60px, 8vw, 80px);
}


/* ═══════════════════════════════════════════════════════════════
   RESET — Normalise across all browsers
   ═══════════════════════════════════════════════════════════════ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    /* Smooth scroll with reduced-motion respect (done in @media below) */
    scroll-behavior: smooth;

    /* Prevent font inflation on Android/iOS */
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;

    /* Ensure full height on all browsers */
    height: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.7;
    min-height: 100%;

    /* Crisp fonts on all platforms */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-synthesis: none;

    /* Prevents layout jank when scrollbar appears/disappears */
    scrollbar-gutter: stable;
}

/* All images are intrinsically responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;

    /* Prevents broken-image icon from stretching layout */
    min-height: 0;
}

/* Remove list styles used for nav */
ul, ol { list-style: none; }

/* Links */
a { color: inherit; text-decoration: none; }

/* Body scroll lock when mobile nav is open (all browsers) */
body.nav-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    touch-action: none;
    /* Preserves scroll position via JS body.style.top */
}


/* ═══════════════════════════════════════════════════════════════
   PROGRESSIVE ENHANCEMENT SAFETY NET
   Content always visible; JS adds polish on top.
   This is the exact Amazon/Flipkart approach.
   ═══════════════════════════════════════════════════════════════ */

/* Before JS runs: everything visible */
body:not(.js-ready) .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
}

/* product section ALWAYS visible regardless of JS */
.collection,
#collection,
#productGrid {
    opacity: 1 !important;
    transform: none !important;
}


/* ═══════════════════════════════════════════════════════════════
   FLUID TYPOGRAPHY
   clamp(minimum, fluid-value, maximum)
   Scales smoothly across every screen — no breakpoints needed.
   • 320px phone: uses minimum
   • 2560px 4K display: uses maximum
   • Everything in between: perfectly proportional
   ═══════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, .section-title {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: clamp(1px, 0.2em, 3px);
    line-height: 1.2;
    color: var(--gold);
}

/* Responsive heading scale */
h1               { font-size: clamp(1.4rem,  5vw, 4rem);   }
h2, .section-title { font-size: clamp(1.15rem, 3.5vw, 2.6rem); }
h3               { font-size: clamp(1rem,    2.5vw, 1.8rem); }
h4               { font-size: clamp(0.95rem, 2vw,   1.5rem); }

p {
    font-size: clamp(0.9rem, 1.5vw + 0.5rem, 1.15rem);
    color: var(--text-muted);
}

.text-center { text-align: center; }


/* ═══════════════════════════════════════════════════════════════
   GOLD RATE TICKER
   ═══════════════════════════════════════════════════════════════ */
.gold-ticker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--ticker-h);
    display: flex;
    align-items: center;
    background: var(--surface);
    border-bottom: 1px solid rgba(212,175,55,0.15);
    color: var(--gold);
    font-family: var(--font-body);
    font-size: clamp(0.62rem, 1.2vw, 0.85rem);
    z-index: 101;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-content {
    display: inline-flex;
    gap: clamp(15px, 3vw, 30px);
    align-items: center;
    animation: scrollTicker 35s linear infinite;
    will-change: transform;
}

@keyframes scrollTicker {
    0%   { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}

.ticker-disclaimer {
    color: var(--text);
    background: rgba(212,175,55,0.18);
    padding: 2px clamp(6px, 1.5vw, 12px);
    border-radius: 20px;
    font-style: italic;
    font-weight: 500;
}

.ticker-verified {
    color: var(--gold);
    background: rgba(255,255,255,0.04);
    padding: 2px clamp(5px, 1vw, 10px);
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 4px;
    font-weight: 600;
}

.important-note {
    font-family: var(--font-heading);
    color: #fff;
    opacity: 0.8;
}

.divider {
    font-size: 0.55rem;
    opacity: 0.4;
}


/* ═══════════════════════════════════════════════════════════════
   NAVIGATION — Desktop
   ═══════════════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: var(--ticker-h);    /* sits directly below ticker */
    width: 100%;
    padding: clamp(10px, 1.5vw, 18px) var(--pad-inline);
    padding-left:  max(var(--pad-inline), env(safe-area-inset-left));
    padding-right: max(var(--pad-inline), env(safe-area-inset-right));
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(15,15,15,0.92);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    backdrop-filter: blur(12px) saturate(160%);
    border-bottom: 1px solid rgba(212,175,55,0.18);
    z-index: 100;
    gap: var(--space-md);
    transition: transform 0.32s ease;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: clamp(8px, 2vw, 16px);
    flex-shrink: 0;      /* Never shrink — always show brand */
}

.logo-icon {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.2rem, 3vw, 2.2rem);
    color: var(--bg);
    background: linear-gradient(135deg, #D4AF37 0%, #FFF2CD 50%, #B5952F 100%);
    width:  clamp(36px, 6vw, 52px);
    height: clamp(36px, 6vw, 52px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: clamp(4px, 1vw, 7px);
    box-shadow: 0 4px 12px rgba(212,175,55,0.35);
    animation: goldPulse 3s ease-in-out infinite alternate;
    flex-shrink: 0;
}

@keyframes goldPulse {
    0%   { box-shadow: 0 0 8px rgba(212,175,55,0.3); }
    100% { box-shadow: 0 0 22px rgba(212,175,55,0.75); }
}

.logo-text h1 {
    color: var(--gold);
    font-size: clamp(0.95rem, 2.5vw, 1.6rem);
    margin: 0;
    line-height: 1;
    letter-spacing: clamp(0.5px, 0.1em, 2px);
}

.logo-text span {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--text-muted);
    font-size: clamp(0.65rem, 1.2vw, 0.82rem);
    display: block;
    margin-top: 2px;
}

/* Desktop nav links */
.nav-links {
    display: flex;
    gap: clamp(16px, 3vw, 36px);
    align-items: center;
}

.nav-links li a {
    color: var(--text);
    text-transform: uppercase;
    font-size: clamp(0.72rem, 1.1vw, 0.92rem);
    letter-spacing: 1px;
    transition: color 0.3s ease;
    padding: 6px 2px;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

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


/* ═══════════════════════════════════════════════════════════════
   HAMBURGER — visible only on small screens
   ═══════════════════════════════════════════════════════════════ */
.hamburger {
    display: none;              /* hidden by default */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width:  clamp(40px, 7vw, 48px);
    height: clamp(40px, 7vw, 48px);
    background: none;
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 6px;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    flex-shrink: 0;
    position: relative;
    z-index: 200;
    outline: none;
}

.hamburger:focus-visible {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212,175,55,0.3);
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--gold);
    border-radius: 2px;
    transition: all 0.32s var(--ease);
}

.hamburger-line + .hamburger-line { margin-top: 5px; }

/* Animate to × */
.hamburger.active .hamburger-line:nth-child(1) { transform: rotate(45deg)  translate(4.6px, 4.6px); }
.hamburger.active .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(4.6px, -4.6px); }


/* ═══════════════════════════════════════════════════════════════
   FULLSCREEN MOBILE NAVIGATION OVERLAY
   ═══════════════════════════════════════════════════════════════ */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;                   /* top/right/bottom/left all 0 */
    width: 100%;
    height: 100%;
    height: 100dvh;             /* dynamic viewport height for mobile browsers */
    background: rgba(8,8,8,0.98);
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-top:    env(safe-area-inset-top,    20px);
    padding-bottom: env(safe-area-inset-bottom, 20px);

    /* Hidden state */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.42s ease, visibility 0.42s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(85%, 420px);
    padding: clamp(20px, 5vw, 40px) 0;
    gap: 0;
}

/* Brand logo inside mobile nav */
.mobile-nav-brand {
    margin-bottom: clamp(24px, 6vw, 44px);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.4s ease 0.05s, transform 0.4s ease 0.05s;
}

.mobile-nav-overlay.active .mobile-nav-brand {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-logo {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 7vw, 3rem);
    font-weight: 800;
    color: var(--bg);
    background: linear-gradient(135deg, #D4AF37 0%, #FFF2CD 50%, #B5952F 100%);
    width:  clamp(60px, 14vw, 84px);
    height: clamp(60px, 14vw, 84px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: clamp(6px, 1.5vw, 10px);
    box-shadow: 0 10px 28px rgba(212,175,55,0.3);
}

/* Nav links inside mobile menu */
.mobile-nav-link {
    display: block;
    width: 100%;
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 5vw, 2rem);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: clamp(2px, 0.5vw, 4px);
    padding: clamp(14px, 4vw, 24px) 0;
    border-bottom: 1px solid rgba(212,175,55,0.12);
    position: relative;
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.25s ease;
}

.mobile-nav-link:first-of-type {
    border-top: 1px solid rgba(212,175,55,0.12);
}

/* Staggered reveal */
.mobile-nav-overlay.active .mobile-nav-link { opacity: 1; transform: translateY(0); }
.mobile-nav-overlay.active .mobile-nav-link:nth-of-type(1) { transition-delay: 0.1s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-of-type(2) { transition-delay: 0.17s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-of-type(3) { transition-delay: 0.24s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-of-type(4) { transition-delay: 0.31s; }

.mobile-nav-link:hover,
.mobile-nav-link:active { color: var(--gold-light); }

.mobile-nav-footer {
    margin-top: clamp(28px, 6vw, 48px);
    text-align: center;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease 0.45s, transform 0.5s ease 0.45s;
}

.mobile-nav-overlay.active .mobile-nav-footer {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-footer p {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--text-muted);
    font-size: clamp(0.82rem, 1.8vw, 0.95rem);
    margin-bottom: clamp(12px, 3vw, 20px);
}

.mobile-nav-whatsapp {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: clamp(0.7rem, 1.5vw, 0.84rem);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: clamp(11px, 2.5vw, 15px) clamp(24px, 5vw, 36px);
    border: 1px solid rgba(212,175,55,0.35);
    border-radius: 40px;
    transition: all 0.3s ease;
}

.mobile-nav-whatsapp:hover,
.mobile-nav-whatsapp:active {
    background: rgba(212,175,55,0.1);
    border-color: var(--gold);
}


/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   Uses intrinsic sizing — no fixed heights anywhere.
   Works on any aspect ratio: ultra-wide, square, foldable.
   ═══════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;         /* uses small viewport height — better on mobile */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: clamp(24px, 5vh, 48px);
    overflow: hidden;
}

/* Background room image */
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.55;
    z-index: 0;
}

/* Cinematic vignette overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15,15,15,0.85) 0%,
        rgba(15,15,15,0.3)  40%,
        rgba(15,15,15,0.92) 100%
    );
    z-index: 1;
}

/* ── Family portrait composite ─────────────────────────────
   KEY FIX: No fixed px heights — uses vw + aspect-ratio.
   This makes it automatically correct on:
   • iPhone SE (320px) → iPad Pro (1366px) → 4K TV (2160px)
   ─────────────────────────────────────────────────────────── */
.hero-family-composite {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: min(1200px, 95%);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    pointer-events: none;
    /* Overlap naturally */
    gap: 0;
}

.hero-family-composite .avatar {
    border: clamp(2px, 0.3vw, 4px) solid var(--gold);
    border-bottom: none;
    border-radius: clamp(6px, 1vw, 12px) clamp(6px, 1vw, 12px) 0 0;
    box-shadow: 0 20px 50px rgba(0,0,0,0.85);
    background: var(--surface);
    position: relative;
    overflow: hidden;
    transition: transform 0.5s var(--ease);
}

/* Gradient completely removed to ensure faces are clear */

.hero-family-composite .avatar img {
    width: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* ── Avatar sizes using clamp — fluid scaling ── */
.hero-family-composite .center-avatar {
    width: clamp(90px, 22vw, 290px);
    /* Height = width × 1.6 (portrait ratio) via aspect-ratio */
    aspect-ratio: 5 / 8;
    z-index: 3;
}

.hero-family-composite .side-avatar {
    width: clamp(72px, 18vw, 240px);
    aspect-ratio: 5 / 9;   /* slightly taller than center */
    z-index: 2;
    margin: 0 clamp(-8px, -1.5vw, -30px);   /* controlled overlap */
}

/* Individual avatar personalities */
#avatar-me     { transform: rotate(-2.5deg); transform-origin: bottom right; }
#avatar-mother { z-index: 3; }
#avatar-papa   { z-index: 4; transform: scale(1.04); }
#avatar-sister { transform: rotate(2.5deg);  transform-origin: bottom left; }

/* Labels completely removed per user request */

/* Hero CTA button */
.hero-action {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: clamp(16px, 3vw, 30px) var(--pad-inline);
    padding-bottom: max(clamp(16px, 3vw, 30px), env(safe-area-inset-bottom));
    background: linear-gradient(to bottom, transparent 0%, rgba(15,15,15,0.88) 60%);
}


/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(12px, 2vw, 18px) clamp(22px, 4vw, 44px);
    border: 1px solid rgba(212,175,55,0.5);
    color: var(--gold);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: clamp(0.5px, 0.15em, 2px);
    font-family: var(--font-heading);
    font-size: clamp(0.7rem, 1.2vw, 0.95rem);
    transition: all 0.4s var(--ease);
    background: rgba(15,15,15,0.45);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    max-width: min(360px, 90vw);
    width: 100%;
    text-align: center;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: rgba(212,175,55,0.12);
    border-color: var(--gold);
    box-shadow: 0 8px 28px rgba(212,175,55,0.22);
}

.btn-primary:active {
    transform: scale(0.98);
}


/* ═══════════════════════════════════════════════════════════════
   CONTAINER — Fluid, centred, safe padding
   ═══════════════════════════════════════════════════════════════ */
.container {
    max-width: min(1340px, 100%);
    margin: 0 auto;
    padding: var(--pad-block) var(--pad-inline);
    padding-left:  max(var(--pad-inline), env(safe-area-inset-left));
    padding-right: max(var(--pad-inline), env(safe-area-inset-right));
}

.section-title {
    color: var(--gold);
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-family: var(--font-serif);
    color: var(--text-muted);
    font-style: italic;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    margin-bottom: var(--space-xl);
}


/* ═══════════════════════════════════════════════════════════════
   HERITAGE SECTION
   ═══════════════════════════════════════════════════════════════ */
.heritage { background: var(--bg); }

.heritage-content {
    display: flex;
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
    flex-wrap: wrap;        /* wraps automatically when space is tight */
}

.heritage-text {
    flex: 1 1 min(300px, 100%);   /* takes available space, wraps below 300px */
}

.heritage-text p {
    margin-bottom: var(--space-md);
}

.quote-box {
    margin-top: var(--space-lg);
    padding: clamp(16px, 3vw, 32px);
    border-left: 2px solid var(--gold);
    background: var(--surface);
    border-radius: 0 4px 4px 0;
}

.quote-box p {
    color: var(--gold);
    font-size: clamp(0.9rem, 1.8vw, 1.25rem);
    line-height: 1.8;
    margin: 0;
}

/* Wrapper that groups founder photo + name plate as one flex unit */
.founder-column {
    flex: 1 1 min(240px, 100%);
    max-width: min(420px, 100%);
    display: flex;
    flex-direction: column;
}

/* The photo container — no absolute positioning */
.founder-image {
    width: 100%;
}

.founder-image img {
    width: 100%;
    display: block;
    border-radius: 6px 6px 0 0;   /* Flat bottom — connects to name plate below */
    box-shadow: 0 -2px 0 var(--gold), 0 20px 40px rgba(0,0,0,0.5);
    filter: sepia(0.2) contrast(1.1);
}

/* ── Name plate — below the photo, never on top of it ── */
.name-plate {
    display: block;
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--gold);
    border-top: 2px solid var(--gold);   /* Bold gold line as visual separator */
    padding: clamp(14px, 2.5vw, 20px) clamp(20px, 3vw, 36px);
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: clamp(0.75rem, 1.3vw, 0.95rem);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.4), 0 0 0 0 transparent;
}


/* ═══════════════════════════════════════════════════════════════
   FAMILY SECTION
   ═══════════════════════════════════════════════════════════════ */
.family { background: var(--surface); }

/* auto-fill grid: naturally creates right columns for ANY width */
.family-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
    gap: clamp(20px, 4vw, 44px);
}

.family-member { text-align: center; }

.member-img-container {
    width: 100%;
    aspect-ratio: 3 / 4;    /* No fixed height — always correct proportions */
    overflow: hidden;
    margin-bottom: var(--space-md);
    border: 1px solid rgba(212,175,55,0.28);
    border-radius: 4px;
    position: relative;
    background: var(--bg);
}

.member-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s var(--ease), filter 0.5s ease;
}

.member-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,15,15,0.95) 0%, rgba(15,15,15,0.35) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: clamp(16px, 3vw, 30px);
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.45s var(--ease);
    text-align: center;
}

.member-overlay h4 {
    color: var(--gold);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    margin-bottom: 8px;
    transform: translateY(10px);
    transition: transform 0.35s 0.1s ease;
}

.member-overlay p {
    color: var(--text-muted);
    font-size: clamp(0.8rem, 1.5vw, 0.95rem);
    font-style: italic;
    transform: translateY(10px);
    transition: transform 0.35s 0.18s ease;
    margin: 0;
}

.cinematic-blend img {
    filter: contrast(1.15) brightness(0.92) saturate(1.15) sepia(0.18);
}

/* Hover (desktop) */
.premium-card:hover .member-img-container img {
    transform: scale(1.08);
    filter: brightness(0.68) blur(1.5px);
}

.premium-card:hover .member-overlay { opacity: 1; transform: translateY(0); }
.premium-card:hover .member-overlay h4,
.premium-card:hover .member-overlay p  { transform: translateY(0); }

.family-member h3 {
    color: var(--gold);
    margin-bottom: 4px;
    font-size: clamp(1rem, 2.2vw, 1.4rem);
}

.member-role {
    font-family: var(--font-serif);
    color: var(--text-muted);
    font-style: italic;
    font-size: clamp(0.85rem, 1.5vw, 1.1rem);
}


/* ═══════════════════════════════════════════════════════════════
   TRUST MARQUEE
   ═══════════════════════════════════════════════════════════════ */
.trust-marquee {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, var(--bg) 0%, var(--surface) 50%, var(--bg) 100%);
    border-top:    1px solid rgba(212,175,55,0.18);
    border-bottom: 1px solid rgba(212,175,55,0.18);
    padding: clamp(10px, 2vw, 16px) 0;
    position: relative;
    z-index: 5;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    animation: scrollMarquee 28s linear infinite;
    gap: clamp(20px, 4vw, 44px);
    will-change: transform;
}

.marquee-track span {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: clamp(0.78rem, 1.5vw, 1.1rem);
    letter-spacing: clamp(1px, 0.3em, 3px);
    text-transform: uppercase;
}

@keyframes scrollMarquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* ═══════════════════════════════════════════════════════════════
   PRODUCT COLLECTION
   auto-fill grid = correct columns at EVERY viewport width.
   320px phone: 1 column
   600px: 2 columns
   900px: 3 columns
   1200px+: 4 columns
   All automatic. No breakpoints ever needed.
   ═══════════════════════════════════════════════════════════════ */
.collection { background: var(--bg); }

/* Force always visible — products are in HTML, never hidden */
.collection,
#collection,
#productGrid { opacity: 1 !important; transform: none !important; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
    gap: clamp(12px, 2.5vw, 36px);
}

.product-card {
    background: var(--surface);
    border: 1px solid rgba(212,175,55,0.1);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.4s var(--ease), border-color 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212,175,55,0.45);
    box-shadow: 0 12px 32px rgba(212,175,55,0.1);
}

.product-img {
    width: 100%;
    aspect-ratio: 1;    /* Perfect square — no fixed height needed */
    overflow: hidden;
    cursor: zoom-in;
    background: var(--bg);
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
    will-change: transform;
}

.product-card:hover .product-img img {
    transform: scale(1.12);
}

.product-info {
    padding: clamp(10px, 2vw, 24px);
    text-align: center;
}

.product-actions {
    display: flex;
    justify-content: center;
    gap: clamp(6px, 1.5vw, 14px);
    margin-top: clamp(8px, 1.5vw, 18px);
    flex-wrap: wrap;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(26,26,26,0.5);
    border: 1px solid rgba(212,175,55,0.28);
    color: var(--gold);
    padding: clamp(8px, 1.5vw, 13px) clamp(10px, 2vw, 22px);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: clamp(0.68rem, 1.1vw, 0.9rem);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    overflow: hidden;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    -webkit-appearance: none;
    appearance: none;
    transition: all 0.35s var(--ease);
    position: relative;
    z-index: 1;
    min-height: 44px;         /* minimum touch target — WCAG AA */
    min-width:  44px;
    flex: 1 1 auto;           /* stretch to fill, wrap as needed */
}

.btn-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(212,175,55,0.55) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.5s var(--ease);
    z-index: -1;
}

.btn-icon:hover::before { transform: scale(1); }
.btn-icon:hover,
.btn-icon:focus-visible {
    color: var(--bg);
    border-color: var(--gold);
    box-shadow: 0 6px 22px rgba(212,175,55,0.25);
}

.btn-icon:active { transform: scale(0.96); }

.btn-icon.active {
    background: var(--gold);
    color: var(--maroon);
    border-color: var(--gold);
}


/* ═══════════════════════════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════════════════════════ */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(5,5,5,0.96);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(40px, 5vh, 70px) clamp(16px, 3vw, 50px);
    opacity: 0;
    transition: opacity 0.38s ease;
}

.lightbox.show {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width:  min(90vw, 900px);
    max-height: 78vh;
    border: 2px solid var(--gold);
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(212,175,55,0.18);
    object-fit: contain;
    cursor: zoom-in;
    animation: zoomIn 0.42s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    transition: transform 0.3s var(--ease);
}

.lightbox-content.zoomed {
    transform: scale(2.4);
    cursor: zoom-out;
}

@keyframes zoomIn {
    from { transform: scale(0.5); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top:   clamp(12px, 3vh, 32px);
    right: clamp(16px, 3vw, 52px);
    color: var(--gold);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.25s ease, transform 0.25s ease;
    z-index: 2;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover { color: #fff; transform: scale(1.2); }

#lightbox-caption {
    margin-top: clamp(12px, 2vh, 22px);
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: clamp(0.85rem, 2vw, 1.4rem);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
}


/* ═══════════════════════════════════════════════════════════════
   PATRONS GALLERY
   ═══════════════════════════════════════════════════════════════ */
.brides-gallery { background: var(--surface); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
    gap: clamp(14px, 2.5vw, 32px);
}

.patron-frame {
    width: 100%;
    aspect-ratio: 3 / 4;   /* Portrait — always proportional */
    border: 1px solid rgba(212,175,55,0.28);
    border-radius: 3px;
    overflow: hidden;
    background: var(--bg);
    position: relative;
}

.patron-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    filter: contrast(1.05) saturate(1.1);
    transition: transform 1s var(--ease), opacity 0.7s ease, filter 0.7s ease;
}

.patron-frame:hover img {
    transform: scale(1.08);
    opacity: 1;
    filter: contrast(1.1) saturate(1.2);
}

.patron-overlay {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(15,15,15,0.95) 0%, transparent 100%);
    color: var(--gold);
    font-family: var(--font-serif);
    font-size: clamp(0.95rem, 2vw, 1.3rem);
    padding: clamp(16px, 3vw, 26px) 0 clamp(10px, 2vw, 16px);
    text-align: center;
    font-style: italic;
    border-bottom: 2px solid var(--gold);
    letter-spacing: 1px;
    transform: translateY(18px);
    opacity: 0;
    transition: all 0.45s var(--ease);
}

.patron-frame:hover .patron-overlay { transform: translateY(0); opacity: 1; }


/* ═══════════════════════════════════════════════════════════════
   BESPOKE SERVICE BOX
   ═══════════════════════════════════════════════════════════════ */
.bespoke-services { background: var(--bg); }

.bespoke-box {
    max-width: min(900px, 100%);
    margin: 0 auto;
    border: 1px solid var(--gold);
    padding: clamp(28px, 5vw, 64px) clamp(20px, 5vw, 48px);
    text-align: center;
    background: radial-gradient(circle at center, rgba(30,30,30,0.55) 0%, transparent 75%);
    box-shadow: 0 18px 48px rgba(0,0,0,0.45);
    position: relative;
    border-radius: 4px;
}

.bespoke-box::before {
    content: '';
    position: absolute;
    inset: clamp(6px, 1vw, 12px);
    border: 1px dashed rgba(212,175,55,0.28);
    pointer-events: none;
    border-radius: 3px;
}

.bespoke-box p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(0.9rem, 1.8vw, 1.2rem);
    margin-bottom: var(--space-lg);
    line-height: 1.85;
}

.mt-30 { margin-top: clamp(18px, 3vw, 30px); }


/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
    background: #080808;
    padding: clamp(40px, 7vw, 80px) var(--pad-inline) clamp(20px, 4vw, 40px);
    padding-left:  max(var(--pad-inline), env(safe-area-inset-left));
    padding-right: max(var(--pad-inline), env(safe-area-inset-right));
    padding-bottom: max(clamp(20px, 4vw, 40px), env(safe-area-inset-bottom));
    border-top: 1px solid rgba(212,175,55,0.18);
}

.footer-grid {
    display: flex;
    gap: clamp(24px, 4vw, 48px);
    margin-bottom: clamp(30px, 5vw, 60px);
    flex-wrap: wrap;
}

.footer-brand,
.footer-contact {
    flex: 1 1 min(280px, 100%);
}

.footer-brand h2 { color: var(--gold); margin-bottom: var(--space-md); }
.footer-contact h3 { color: var(--gold); margin-bottom: var(--space-md); }

.footer-contact p {
    font-size: clamp(0.82rem, 1.4vw, 0.95rem);
    word-break: break-word;
    overflow-wrap: break-word;
    margin-bottom: var(--space-sm);
}

.footer-contact a {
    color: var(--gold);
    transition: opacity 0.3s ease;
}
.footer-contact a:hover { opacity: 0.7; }

.map-link {
    display: inline-block;
    margin-top: var(--space-md);
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: clamp(0.75rem, 1.2vw, 0.9rem);
    letter-spacing: 1px;
    border-bottom: 1px solid var(--gold);
    transition: opacity 0.3s ease;
}
.map-link:hover { opacity: 0.75; }

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: clamp(0.72rem, 1.2vw, 0.88rem);
    padding-top: clamp(20px, 3vw, 40px);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-brand p {
    font-size: clamp(0.85rem, 1.4vw, 1rem);
    word-break: break-word;
}


/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATION
   ═══════════════════════════════════════════════════════════════ */
.scroll-reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Safety: if JS hasn't run yet, show everything */
body:not(.js-ready) .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
}


/* ═══════════════════════════════════════════════════════════════
   FILM GRAIN OVERLAY
   ═══════════════════════════════════════════════════════════════ */
.film-grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain 9s infinite steps(8);
}

@keyframes grain {
    0%,100%{ transform: translate(0,0); }
    12%    { transform: translate(-1%,-2%); }
    25%    { transform: translate(2%,1%); }
    37%    { transform: translate(-2%,2%); }
    50%    { transform: translate(1%,-1%); }
    62%    { transform: translate(-1%,2%); }
    75%    { transform: translate(2%,-2%); }
    87%    { transform: translate(0,1%); }
}


/* ═══════════════════════════════════════════════════════════════
   PARTICLE CANVAS
   ═══════════════════════════════════════════════════════════════ */
.particles-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.65;
}


/* ═══════════════════════════════════════════════════════════════
   ONLY 2 REAL MEDIA QUERY BREAKPOINTS
   Everything else is fluid via clamp() and auto-fill.
   ═══════════════════════════════════════════════════════════════ */

/* ── BREAKPOINT 1: 768px — Phone hamburger menu ── */
@media (max-width: 768px) {
    .hamburger  { display: flex !important; }
    .nav-links  { display: none !important; }

    /* Hero on mobile: switch from absolute/fixed to normal flow */
    .hero {
        min-height: calc(100vh - var(--ticker-h));
        padding-top: calc(var(--ticker-h) + var(--navbar-h) + clamp(20px, 4vw, 40px)); /* exact mathematical space */
        justify-content: flex-start;
        overflow: visible;
    }

    .hero-bg,
    .hero-overlay {
        /* CRITICAL: use absolute, NOT fixed on mobile —
           fixed breaks content rendering on iOS Safari & OxygenOS */
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .hero-overlay { position: absolute; }

    .hero-action {
        /* Natural document flow on mobile */
        position: relative;
        width: 100%;
        padding-top: clamp(12px, 3vw, 20px);
    }

    /* Heritage layout stacks on mobile */
    .heritage-content { flex-direction: column; }
    .founder-image    { order: -1; }

    .name-plate {
        position: static;
        margin-top: var(--space-md);
        display: inline-block;
        bottom: auto;
        right: auto;
    }

    /* On mobile: member overlays always visible (no hover) */
    .member-overlay {
        opacity: 0.95;
        transform: translateY(0);
        background: linear-gradient(to top, rgba(15,15,15,0.9) 0%, rgba(15,15,15,0.08) 42%, transparent 100%);
    }
    .member-overlay h4,
    .member-overlay p { transform: translateY(0); }

    /* Patron captions always visible on mobile */
    .patron-overlay { opacity: 0.9; transform: translateY(0); }

    /* Product actions: stack vertically */
    .product-actions { flex-direction: column; }
    .btn-icon { width: 100%; }

    /* Lightbox adjustments */
    .lightbox-content { max-width: 95vw; max-height: 65vh; }
}

/* ── BREAKPOINT 2: 600px — Very small phones ── */
@media (max-width: 600px) {
    /* Product grid: 1 column for very small screens (< 260px would fit) */
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
    }

    /* Family: center single column */
    .family-grid {
        max-width: min(360px, 100%);
        margin: 0 auto;
    }

    /* Gallery: single column */
    .gallery-grid {
        max-width: min(360px, 100%);
        margin: 0 auto;
    }
}


/* ═══════════════════════════════════════════════════════════════
   TOUCH / POINTER ADAPTATIONS
   Detects touch devices at the CSS level — not by screen size.
   This handles all Android, iOS, Windows tablets, etc.
   ═══════════════════════════════════════════════════════════════ */

/* Devices where hover doesn't exist (all touch screens) */
@media (hover: none) {
    /* Member overlays always visible on touch */
    .member-overlay {
        opacity: 0.95;
        transform: translateY(0);
    }
    .member-overlay h4,
    .member-overlay p { transform: translateY(0); }

    /* Patron captions always visible */
    .patron-overlay { opacity: 0.9; transform: translateY(0); }

    /* No hover lift on products (causes janky feel on touch) */
    .product-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    .product-card:hover .product-img img { transform: none !important; }
    .premium-card:hover .member-img-container img {
        transform: none !important;
        filter: none !important;
    }
    .premium-card:hover .member-overlay {
        opacity: 0.95;
        transform: none;
    }
}

/* Ensure adequate touch targets on coarse pointer devices */
@media (pointer: coarse) {
    .btn-icon,
    .hamburger,
    .nav-links li a,
    .mobile-nav-link,
    .lightbox-close,
    .btn-primary {
        min-height: 44px;
        min-width:  44px;
    }
}


/* ═══════════════════════════════════════════════════════════════
   NOTCHED / DYNAMIC ISLAND / PUNCH-HOLE PHONES
   Respects safe area insets on ALL platforms:
   iPhone X+ (notch), iPhone 14 Pro+ (Dynamic Island),
   Samsung S-series (punch-hole), Google Pixel (punch-hole)
   ═══════════════════════════════════════════════════════════════ */
@supports (padding: env(safe-area-inset-top)) {
    .navbar {
        padding-left:  max(var(--pad-inline), env(safe-area-inset-left));
        padding-right: max(var(--pad-inline), env(safe-area-inset-right));
    }
    .gold-ticker {
        padding-left:  env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
    .footer {
        padding-bottom: max(clamp(20px, 4vw, 40px), env(safe-area-inset-bottom));
    }
    .mobile-nav-overlay {
        padding-top:    max(20px, env(safe-area-inset-top));
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
    .hero-action {
        padding-bottom: max(clamp(16px, 3vw, 30px), env(safe-area-inset-bottom));
    }
}


/* ═══════════════════════════════════════════════════════════════
   LANDSCAPE MODE — phones and tablets rotated sideways
   ═══════════════════════════════════════════════════════════════ */
@media (orientation: landscape) and (max-height: 480px) {
    /* Landscape phone: very short viewport, condense hero */
    .hero {
        min-height: auto;
        padding-top: clamp(65px, 15vw, 90px);
    }

    .hero-family-composite .center-avatar,
    .hero-family-composite .side-avatar {
        /* Reduce height in landscape using aspect-ratio override */
        max-width: clamp(60px, 14vw, 110px);
    }

    .hero-action { padding: 8px var(--pad-inline); }

    /* Mobile nav in landscape: tighter */
    .mobile-nav-link { padding: clamp(10px, 2.5vh, 18px) 0; }
    .mobile-nav-brand { margin-bottom: clamp(12px, 2.5vh, 20px); }
    .mobile-nav-footer { margin-top: clamp(10px, 2.5vh, 18px); }
}


/* ═══════════════════════════════════════════════════════════════
   VERY LARGE DISPLAYS — 4K TVs, ultra-wide monitors
   clamp() handles max values, but grids need column limits
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 1800px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    .family-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* ═══════════════════════════════════════════════════════════════
   ACCESSIBILITY — Reduced Motion
   Respects OS-level "Reduce Motion" setting.
   Covers iOS (Settings → Accessibility → Motion),
   Android (Settings → Accessibility → Remove Animations),
   Windows (Settings → Ease of Access → Display → Show animations)
   ═══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration:       0.01ms !important;
        animation-iteration-count: 1     !important;
        transition-duration:      0.01ms !important;
        scroll-behavior:          auto   !important;
    }

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

    .ticker-content  { animation: none; }
    .marquee-track   { animation: none; }
    .film-grain      { animation: none; }
    .logo-icon       { animation: none; }
}


/* ═══════════════════════════════════════════════════════════════
   HIGH CONTRAST MODE — Windows High Contrast, forced-colors
   Ensures text is always visible in accessibility modes
   ═══════════════════════════════════════════════════════════════ */
@media (forced-colors: active) {
    .btn-primary,
    .btn-icon {
        border: 2px solid ButtonText;
        color: ButtonText;
    }
    .logo-icon {
        background: ButtonText;
        color: ButtonFace;
    }
}


/* ═══════════════════════════════════════════════════════════════
   PAGE LOADER — Premium gold reveal
   ═══════════════════════════════════════════════════════════════ */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.loader-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2.5rem, 8vw, 4rem);
    color: var(--bg);
    background: linear-gradient(135deg, #D4AF37 0%, #FFF2CD 50%, #B5952F 100%);
    width: clamp(80px, 18vw, 120px);
    height: clamp(80px, 18vw, 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: clamp(8px, 2vw, 14px);
    box-shadow: 0 0 60px rgba(212,175,55,0.4);
    animation: loaderPulse 1.5s ease-in-out infinite alternate;
}

@keyframes loaderPulse {
    0%   { box-shadow: 0 0 30px rgba(212,175,55,0.3); transform: scale(1); }
    100% { box-shadow: 0 0 80px rgba(212,175,55,0.6); transform: scale(1.05); }
}

.loader-tagline {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.7;
}

.loader-bar {
    width: clamp(120px, 30vw, 200px);
    height: 2px;
    background: rgba(212,175,55,0.15);
    border-radius: 2px;
    overflow: hidden;
}

.loader-bar-fill {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    animation: loaderProgress 1.8s ease-in-out;
    transform-origin: left;
}

@keyframes loaderProgress {
    0%   { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}


/* ═══════════════════════════════════════════════════════════════
   SECTION ORNAMENTAL DIVIDERS
   ═══════════════════════════════════════════════════════════════ */
.section-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(12px, 2vw, 24px) var(--pad-inline);
    position: relative;
}

.section-ornament::before,
.section-ornament::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.35), transparent);
    max-width: 300px;
}

.ornament-diamond {
    color: var(--gold);
    font-size: clamp(0.6rem, 1.2vw, 0.9rem);
    margin: 0 clamp(12px, 2vw, 24px);
    opacity: 0.6;
    animation: diamondGlow 3s ease-in-out infinite alternate;
}

@keyframes diamondGlow {
    0%   { opacity: 0.35; text-shadow: 0 0 4px rgba(212,175,55,0.3); }
    100% { opacity: 0.8;  text-shadow: 0 0 16px rgba(212,175,55,0.6); }
}


/* ═══════════════════════════════════════════════════════════════
   HERO TYPED TAGLINE
   ═══════════════════════════════════════════════════════════════ */
.hero-typed-wrap {
    position: relative;
    z-index: 5;
    width: 100%;
    text-align: center;
    padding: clamp(16px, 3vw, 32px) var(--pad-inline);
    margin-top: clamp(100px, 15vh, 160px);
}

.hero-typed-line {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 3.5vw, 2.8rem);
    color: var(--gold);
    letter-spacing: clamp(1px, 0.15em, 4px);
    text-transform: uppercase;
    overflow: hidden;
    border-right: 2px solid var(--gold);
    white-space: nowrap;
    width: 0;
    animation: typeText 3.5s steps(38, end) 0.8s forwards, blinkCursor 0.7s step-end infinite;
    display: inline-block;
}

@keyframes typeText {
    0%   { width: 0; }
    100% { width: 100%; }
}

@keyframes blinkCursor {
    0%, 100% { border-color: var(--gold); }
    50%      { border-color: transparent; }
}


/* ═══════════════════════════════════════════════════════════════
   SCROLL INDICATOR
   ═══════════════════════════════════════════════════════════════ */
.scroll-indicator {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: clamp(8px, 2vw, 16px) 0;
    animation: fadeInUp 1s ease 4.5s both;
}

.scroll-indicator span {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--gold);
    font-size: clamp(0.7rem, 1.2vw, 0.9rem);
    opacity: 0.6;
    letter-spacing: 1px;
}

.scroll-chevron {
    color: var(--gold);
    opacity: 0.5;
    animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50%      { transform: translateY(8px); opacity: 0.9; }
}

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


/* ═══════════════════════════════════════════════════════════════
   HERO AVATARS — Made significantly larger with better spacing
   ═══════════════════════════════════════════════════════════════ */
.hero-family-composite {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    margin-top: clamp(30px, 6vh, 60px);
    margin-bottom: clamp(20px, 4vh, 40px); /* Reduced bottom space */
    padding: 0 clamp(10px, 2vw, 20px);
    perspective: 1000px;
}

.avatar {
    position: relative;
    border-radius: 12px;
    background: #000;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8), 0 0 0 1px rgba(212,175,55,0.4);
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
    flex-shrink: 1;
}

.avatar::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(212,175,55,0.5);
    border-radius: 12px;
    pointer-events: none;
    z-index: 10;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease, filter 0.8s ease;
    /* Removed darkening filter so images are purely visible */
}

.avatar:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 50px rgba(0,0,0,0.9), 0 0 0 2px var(--gold);
    z-index: 20;
}

.avatar:hover img {
    transform: scale(1.06);
}

/* Specific Sizes — Increased significantly */
.center-avatar {
    width: clamp(200px, 32vw, 420px);
    height: clamp(320px, 48vw, 550px);
    z-index: 10;
    margin: 0 clamp(-10px, -1.5vw, -20px);
}

.side-avatar {
    width: clamp(140px, 22vw, 280px);
    height: clamp(240px, 35vw, 420px);
    z-index: 5;
    margin-bottom: clamp(15px, 3vw, 45px);
    /* Removed opacity/brightness drop */
}


/* ═══════════════════════════════════════════════════════════════
   PREMIUM SVG ICONS ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
.premium-svg-icon {
    width: clamp(48px, 8vw, 72px);
    height: clamp(48px, 8vw, 72px);
    margin: 0 auto clamp(12px, 2vw, 20px);
    color: var(--gold);
    background: rgba(212,175,55,0.05);
    border-radius: 50%;
    padding: clamp(12px, 2vw, 18px);
    border: 1px solid rgba(212,175,55,0.15);
    box-shadow: inset 0 0 20px rgba(212,175,55,0.05), 0 0 15px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.premium-svg-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(212,175,55,0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.trust-point:hover .premium-svg-icon::before,
.showroom-detail:hover .premium-svg-icon::before {
    opacity: 1;
}

.premium-svg-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 4px rgba(212,175,55,0.4));
}

/* Stroke animations */
.trust-point:hover .draw-path,
.showroom-detail:hover .draw-path {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawIcon 1.5s ease forwards;
}

@keyframes drawIcon {
    to { stroke-dashoffset: 0; }
}

.showroom-detail:hover .pulse-path {
    animation: svgPulse 1.5s infinite;
}

@keyframes svgPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.showroom-detail:hover .spin-path {
    transform-origin: center;
    animation: svgSpin 3s linear infinite;
}

@keyframes svgSpin {
    to { transform: rotate(360deg); }
}

.showroom-detail:hover .shake-path {
    transform-origin: center;
    animation: svgShake 0.5s ease-in-out infinite alternate;
}

@keyframes svgShake {
    0% { transform: rotate(-10deg); }
    100% { transform: rotate(10deg); }
}


/* ═══════════════════════════════════════════════════════════════
   HERITAGE / FOUNDER IMAGE FIX
   ═══════════════════════════════════════════════════════════════ */
.founder-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(16px, 3vw, 24px); /* Pushes nameplate down securely */
}

.founder-image {
    width: 100%;
    max-width: clamp(280px, 40vw, 450px);
    aspect-ratio: 4 / 5;
    position: relative;
    border-radius: 8px;
    padding: clamp(10px, 2vw, 15px);
    overflow: visible; /* Prevent clipping */
}

.founder-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 8px;
    z-index: 1;
}

.founder-image::after {
    content: '';
    position: absolute;
    inset: clamp(10px, 2vw, 15px);
    border: 1px solid rgba(212,175,55,0.15);
    background: rgba(0,0,0,0.4);
    z-index: 2;
    border-radius: 4px;
}

.founder-image img {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.name-plate {
    background: rgba(15,15,15,0.9);
    border: 1px solid rgba(212,175,55,0.4);
    padding: clamp(10px, 2vw, 16px) clamp(20px, 4vw, 32px);
    font-family: var(--font-serif);
    color: var(--gold);
    font-style: italic;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    letter-spacing: 2px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
    position: relative; /* Normal document flow */
    width: max-content;
    max-width: 90%;
    text-align: center;
}


/* ═══════════════════════════════════════════════════════════════
   CONTACT ALIGNMENT & INTERACTIVE MAP ANIMATION
   ═══════════════════════════════════════════════════════════════ */
.info-aligned {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 3vh, 32px);
}

.showroom-detail {
    display: flex;
    align-items: center; /* Vertically center icon with text */
    text-align: left;
    gap: clamp(16px, 2vw, 24px);
    padding: clamp(12px, 2vw, 20px);
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    border: 1px solid transparent;
    transition: background 0.3s ease, border 0.3s ease;
}

.showroom-detail:hover {
    background: rgba(212,175,55,0.05);
    border-color: rgba(212,175,55,0.2);
}

.showroom-detail .premium-svg-icon {
    margin: 0; /* Override generic margin auto */
}

.detail-text-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.interactive-map {
    position: relative;
    cursor: crosshair;
    overflow: hidden;
    border-radius: 8px;
}

.earth-zoom-animation {
    position: absolute;
    inset: 0;
    background: #000;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* Let clicks pass through */
    opacity: 0;
}

.interactive-map:hover .earth-zoom-animation {
    animation: earthZoomReveal 4.5s cubic-bezier(0.8, 0, 0.2, 1) forwards;
}

.zoom-target-text {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: clamp(1.2rem, 3vw, 2rem);
    text-align: center;
    text-shadow: 0 0 20px rgba(212,175,55,0.5);
    letter-spacing: 2px;
    opacity: 0;
    transform: scale(2);
}

.interactive-map:hover .zoom-target-text {
    animation: dropText 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s forwards;
}

.zoom-crosshairs {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(212,175,55,0.3);
    border-radius: 50%;
    opacity: 0;
    transform: scale(5);
}

.zoom-crosshairs::before,
.zoom-crosshairs::after {
    content: '';
    position: absolute;
    background: rgba(212,175,55,0.5);
}

.zoom-crosshairs::before {
    top: 50%; left: -20px; right: -20px; height: 1px;
}
.zoom-crosshairs::after {
    left: 50%; top: -20px; bottom: -20px; width: 1px;
}

.interactive-map:hover .zoom-crosshairs {
    animation: lockTarget 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 1.2s forwards;
}

@keyframes dropText {
    to { opacity: 1; transform: scale(1); }
}

@keyframes lockTarget {
    to { opacity: 1; transform: scale(1); }
}

@keyframes earthZoomReveal {
    0% { opacity: 0; }
    10% { opacity: 1; transform: scale(1); }
    70% { opacity: 1; transform: scale(4); }
    100% { opacity: 0; transform: scale(10); }
}


/* ═══════════════════════════════════════════════════════════════
   LIVELY WHATSAPP GLOW
   ═══════════════════════════════════════════════════════════════ */
.lively-glow {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 0 0 0 rgba(37,211,102,0.7);
    animation: livelyPulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes livelyPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37,211,102,0.7), 0 6px 20px rgba(0,0,0,0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37,211,102,0), 0 10px 25px rgba(0,0,0,0.5); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 6px 20px rgba(0,0,0,0.4); }
}

.floating-whatsapp:hover.lively-glow {
    animation: livelyHover 1s infinite alternate;
}

@keyframes livelyHover {
    to { filter: brightness(1.2); box-shadow: 0 0 30px rgba(37,211,102,0.8); transform: translateY(-5px) scale(1.1); }
}


/* ═══════════════════════════════════════════════════════════════
   PRODUCT BADGES & NAME LABELS
   ═══════════════════════════════════════════════════════════════ */
.product-badge {
    position: absolute;
    top: clamp(8px, 1.5vw, 14px);
    left: clamp(8px, 1.5vw, 14px);
    z-index: 5;
    padding: clamp(4px, 0.8vw, 7px) clamp(10px, 2vw, 16px);
    font-family: var(--font-heading);
    font-size: clamp(0.58rem, 0.9vw, 0.75rem);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    pointer-events: none;
}

.badge-bestseller {
    background: linear-gradient(135deg, #D4AF37 0%, #FFF2CD 100%);
    color: #0F0F0F;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(212,175,55,0.35);
}

.product-name {
    font-family: var(--font-serif);
    font-size: clamp(0.8rem, 1.3vw, 1rem);
    color: var(--gold);
    font-style: italic;
    margin-bottom: clamp(4px, 1vw, 8px);
    opacity: 0.85;
}


/* ═══════════════════════════════════════════════════════════════
   WHY FAMILIES TRUST RAJ JEWELLERS
   ═══════════════════════════════════════════════════════════════ */
.why-trust { background: var(--surface); }

.trust-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
    gap: clamp(20px, 3.5vw, 40px);
}

.trust-point {
    text-align: center;
    padding: clamp(24px, 4vw, 40px) clamp(16px, 2.5vw, 28px);
    border: 1px solid rgba(212,175,55,0.12);
    border-radius: 8px;
    background: rgba(15,15,15,0.5);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.trust-point::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: scaleX(0);
    transition: transform 0.5s var(--ease);
}

.trust-point:hover {
    border-color: rgba(212,175,55,0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.trust-point:hover::after {
    transform: scaleX(1);
}

.trust-point-icon {
    font-size: clamp(2rem, 4.5vw, 3rem);
    margin-bottom: clamp(12px, 2vw, 20px);
    filter: drop-shadow(0 0 10px rgba(212,175,55,0.3));
}

.trust-point h3 {
    color: var(--gold);
    font-size: clamp(0.95rem, 2vw, 1.3rem);
    margin-bottom: clamp(8px, 1.5vw, 16px);
}

.trust-point p {
    font-size: clamp(0.82rem, 1.3vw, 0.95rem);
    line-height: 1.7;
}


/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS CAROUSEL
   ═══════════════════════════════════════════════════════════════ */
.testimonials { background: var(--bg); }

.testimonial-carousel {
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    padding: clamp(4px, 1vw, 8px) 0;
}

.testimonial-track {
    display: flex;
    gap: clamp(16px, 3vw, 28px);
    animation: scrollTestimonials 40s linear infinite;
    will-change: transform;
    width: max-content;
}

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

@keyframes scrollTestimonials {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonial-card {
    background: var(--surface);
    border: 1px solid rgba(212,175,55,0.15);
    border-radius: 8px;
    padding: clamp(24px, 4vw, 36px);
    min-width: clamp(280px, 35vw, 400px);
    max-width: 420px;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: clamp(8px, 1.5vw, 16px);
    left: clamp(16px, 3vw, 28px);
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 4.5rem);
    color: var(--gold);
    opacity: 0.15;
    line-height: 1;
    pointer-events: none;
}

.testimonial-card:hover {
    border-color: rgba(212,175,55,0.35);
    box-shadow: 0 8px 24px rgba(212,175,55,0.08);
}

.testimonial-stars {
    font-size: clamp(0.8rem, 1.3vw, 1rem);
    margin-bottom: clamp(8px, 1.5vw, 14px);
    letter-spacing: 2px;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(0.85rem, 1.4vw, 1.05rem);
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: clamp(12px, 2vw, 20px);
}

.testimonial-author {
    font-family: var(--font-heading);
    font-size: clamp(0.72rem, 1.1vw, 0.85rem);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}


/* ═══════════════════════════════════════════════════════════════
   BESPOKE — Custom Design Process Steps
   ═══════════════════════════════════════════════════════════════ */
.bespoke-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
    gap: clamp(14px, 2.5vw, 24px);
    margin-top: clamp(24px, 4vw, 40px);
    margin-bottom: clamp(8px, 2vw, 16px);
}

.bespoke-step {
    display: flex;
    align-items: flex-start;
    gap: clamp(10px, 2vw, 16px);
    text-align: left;
}

.step-number {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 800;
    color: var(--bg);
    background: linear-gradient(135deg, #D4AF37, #FFF2CD);
    width: clamp(32px, 5vw, 42px);
    height: clamp(32px, 5vw, 42px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(212,175,55,0.3);
}

.step-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(0.72rem, 1.1vw, 0.88rem);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.step-text span {
    font-size: clamp(0.75rem, 1.2vw, 0.88rem);
    color: var(--text-muted);
    line-height: 1.5;
}


/* ═══════════════════════════════════════════════════════════════
   SHOWROOM / VISIT US SECTION
   ═══════════════════════════════════════════════════════════════ */
.showroom-section { background: var(--surface); }

.showroom-grid {
    display: flex;
    gap: clamp(20px, 4vw, 44px);
    flex-wrap: wrap;
}

.showroom-map {
    flex: 1 1 min(380px, 100%);
    aspect-ratio: 16 / 10;
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg);
}

.showroom-map iframe {
    width: 100%;
    height: 100%;
    filter: invert(0.9) hue-rotate(180deg) saturate(0.3) brightness(0.8);
    border-radius: 8px;
}

.showroom-info {
    flex: 1 1 min(300px, 100%);
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 3vw, 28px);
}

.showroom-detail {
    display: flex;
    gap: clamp(10px, 2vw, 18px);
    align-items: flex-start;
}

.showroom-detail-icon {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    flex-shrink: 0;
    margin-top: 2px;
}

.showroom-detail strong {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(0.78rem, 1.2vw, 0.95rem);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.showroom-detail p {
    font-size: clamp(0.82rem, 1.3vw, 0.95rem);
    margin-bottom: 2px;
}

.showroom-detail a {
    color: var(--gold);
    transition: opacity 0.3s ease;
}

.showroom-detail a:hover { opacity: 0.7; }

.showroom-btn {
    margin-top: clamp(8px, 2vw, 16px);
    align-self: flex-start;
}


/* ═══════════════════════════════════════════════════════════════
   FLOATING WHATSAPP BUTTON
   ═══════════════════════════════════════════════════════════════ */
.floating-whatsapp {
    position: fixed;
    bottom: max(clamp(20px, 4vw, 32px), env(safe-area-inset-bottom, 20px));
    right: clamp(16px, 3vw, 28px);
    z-index: 9990;
    width: clamp(52px, 9vw, 64px);
    height: clamp(52px, 9vw, 64px);
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
    animation: waFadeIn 0.6s ease 2s both, waPulse 2.5s ease-in-out infinite 3s;
    text-decoration: none;
}

.floating-whatsapp svg {
    width: clamp(26px, 4.5vw, 32px);
    height: clamp(26px, 4.5vw, 32px);
}

.floating-whatsapp:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}

.floating-whatsapp:active {
    transform: scale(0.95);
}

@keyframes waFadeIn {
    from { opacity: 0; transform: scale(0.5) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes waPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50%      { box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 0 0 12px rgba(37,211,102,0.12); }
}

.wa-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--surface);
    color: var(--text);
    font-family: var(--font-body);
    font-size: clamp(0.72rem, 1.1vw, 0.85rem);
    padding: 8px 14px;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    border: 1px solid rgba(255,255,255,0.08);
}

.wa-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--surface);
}

.floating-whatsapp:hover .wa-tooltip {
    opacity: 1;
}


/* ═══════════════════════════════════════════════════════════════
   MOBILE ADJUSTMENTS FOR NEW SECTIONS
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Typed tagline wraps on mobile */
    .hero-typed-wrap {
        margin-top: clamp(80px, 15vw, 110px);
    }
    .hero-typed-line {
        white-space: normal;
        width: auto;
        border-right: none;
        animation: fadeInUp 1s ease 0.8s both;
        font-size: clamp(0.9rem, 4.5vw, 1.6rem);
        line-height: 1.4;
    }
    
    /* Showroom map full width */
    .showroom-grid { flex-direction: column; }
    .showroom-map { aspect-ratio: 16 / 9; }
    
    /* Testimonial cards smaller */
    .testimonial-card {
        min-width: clamp(260px, 80vw, 320px);
    }
    
    /* Bespoke steps stack */
    .bespoke-steps {
        grid-template-columns: 1fr;
    }
    
    /* Floating WhatsApp tooltip hidden on mobile */
    .wa-tooltip { display: none; }
}

@media (max-width: 600px) {
    .trust-badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .trust-points-grid {
        grid-template-columns: 1fr;
    }
}

/* Touch devices — disable hover effects on new sections */
@media (hover: none) {
    .trust-badge-card:hover,
    .trust-point:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    .trust-point:hover::after { transform: scaleX(0); }
}


/* ═══════════════════════════════════════════════════════════════
   PRINT
   ═══════════════════════════════════════════════════════════════ */
@media print {
    .gold-ticker,
    .film-grain,
    .particles-canvas,
    .hero-family-composite,
    .hero-action,
    .trust-marquee,
    .hamburger,
    .mobile-nav-overlay,
    .lightbox,
    .page-loader,
    .floating-whatsapp,
    .scroll-indicator,
    .section-ornament { display: none !important; }

    body { background: white; color: black; }
    .section-title, h1, h2, h3 { color: black; }
    .hero-bg, .hero-overlay { display: none; }
    .navbar { position: static; background: white; border-bottom: 1px solid #ccc; }
    .btn-primary, .btn-icon { border: 1px solid black; color: black; background: white; }
    a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
    .footer { background: white; color: black; }
    .footer-contact a { color: black; }
}
