/* =============================================
   CLARO DE LUNA · SPA Y BIENESTAR
   Design System — Premium Luxury Spa
   Palette: Copper #D4A373 · Nude #F9F6F4 · Deep #1C1917
   ============================================= */

:root {
    /* Brand Palette */
    --copper: #D4A373;
    --copper-deep: #B88655;
    --copper-soft: rgba(212, 163, 115, 0.15);
    --gold: #C5A059;
    --water: #A2D2FF;

    /* Surface */
    --bg: #F9F6F4;
    --bg-card: #FFFFFF;
    --bg-elevated: #FFFFFF;

    /* Text */
    --text: #1C1917;
    --text-muted: #78716C;
    --text-subtle: #A8A29E;

    /* Borders & Shadows */
    --border: rgba(28, 25, 23, 0.08);
    --glass: rgba(255, 255, 255, 0.75);
    --shadow-sm: 0 4px 20px rgba(28, 25, 23, 0.06);
    --shadow-md: 0 12px 40px rgba(28, 25, 23, 0.08);
    --shadow-lg: 0 30px 80px rgba(28, 25, 23, 0.12);

    /* Typography */
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Inter', -apple-system, sans-serif;

    /* Motion */
    --ease: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

    /* Radius */
    --radius: 20px;
    --radius-sm: 12px;
    --radius-full: 100px;
}

/* === DARK MODE === */
[data-theme="dark"] {
    --bg: #0D0B09;
    --bg-card: #171412;
    --bg-elevated: #1E1A17;
    --text: #F5F0EC;
    --text-muted: #A8A29E;
    --text-subtle: #78716C;
    --border: rgba(255, 255, 255, 0.08);
    --glass: rgba(13, 11, 9, 0.85);
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.5);
}

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
*:focus { outline: none; }
button:focus, select:focus, input:focus, a:focus { outline: none; box-shadow: none; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--sans);
    font-weight: 300;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background 0.5s var(--ease), color 0.5s var(--ease);
}
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

/* === PERFORMANCE: GPU-accelerated animations === */
.splash, .swiper-slide img, .section {
    will-change: transform, opacity;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
/* Sections */


/* =============================================
   SPLASH SCREEN
   ============================================= */
.splash {
    position: fixed; inset: 0;
    background: var(--bg);
    z-index: 10000;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.8s var(--ease), visibility 0.8s;
}
.splash.done { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-inner { text-align: center; }
.splash-logo {
    width: 220px; opacity: 0;
    animation: splashFadeIn 1s var(--ease) 0.3s forwards;
}
[data-theme="dark"] .splash-logo { filter: brightness(0) invert(1); }
.splash-bar { width: 140px; height: 2px; background: var(--border); margin: 2rem auto 0; border-radius: 2px; overflow: hidden; }
.splash-bar-fill { height: 100%; width: 0; background: var(--copper); animation: splashLoad 2.2s var(--ease) 0.5s forwards; }

@keyframes splashFadeIn { to { opacity: 1; } }
@keyframes splashLoad { to { width: 100%; } }

/* =============================================
   TREZE LABS GLOBAL FOOTER
   ============================================= */
.treze-global-footer { text-align: center; margin-top: 40px; padding-top: 32px; padding-bottom: 32px; border-top: 1px solid var(--border); }
.treze-global-footer a { text-decoration: none; display: block; transition: opacity 0.3s; }
.treze-global-footer a:hover { opacity: 0.8; }
.treze-global-footer p { font-size: 0.75rem; color: var(--text-subtle); margin-bottom: 12px; font-family: 'Inter', -apple-system, sans-serif; }
.treze-dev-box { display: flex; align-items: center; justify-content: center; gap: 10px; }
.treze-dev-box span { font-size: 0.8rem; color: var(--text-subtle); font-family: 'Inter', -apple-system, sans-serif; }
.treze-logo { height: 22px; filter: brightness(0); opacity: 0.6; transition: filter 0.3s; }
[data-theme="dark"] .treze-logo { filter: brightness(0) invert(1); opacity: 0.85; }


/* =============================================
   HERO — FULL VIEWPORT CINEMA
   ============================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 680px;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    overflow: hidden;
}
.hero__video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: opacity 0.4s ease;
}
.hero__overlay {
    position: absolute; inset: 0; z-index: 2;
    background:
        linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.6) 100%);
}

.hero__content {
    position: relative; z-index: 3;
    text-align: center; color: #fff;
    padding: 0 2rem;
    opacity: 0; transform: translateY(30px);
    animation: heroFadeIn 1.2s var(--ease-out) 3s forwards;
}
.hero__logo {
    width: clamp(200px, 50vw, 340px);
    margin: 0 auto 1.5rem;
    filter: brightness(0) invert(1) drop-shadow(0 4px 30px rgba(0,0,0,0.3));
}
.hero__tagline {
    font-family: var(--serif);
    font-size: clamp(1rem, 3vw, 1.4rem);
    font-weight: 300;
    font-style: italic;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero__btn {
    width: 52px; height: 52px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    color: #fff; font-size: 1.1rem;
    display: inline-flex; justify-content: center; align-items: center;
    text-decoration: none;
    transition: all 0.4s var(--ease);
}
.hero__btn:hover, .hero__btn:focus-visible {
    background: rgba(255,255,255,0.95);
    color: var(--text); border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Theme Toggle */
.theme-toggle {
    position: absolute; top: 1.5rem; right: 1.5rem; z-index: 10;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    color: var(--text); font-size: 1rem;
    display: flex; justify-content: center; align-items: center;
    transition: all 0.4s var(--ease);
    opacity: 0; animation: heroFadeIn 0.6s var(--ease) 3.2s forwards;
}
.theme-toggle:hover { transform: rotate(20deg) scale(1.1); }

/* Scroll CTA */
.hero__scroll {
    position: absolute; bottom: 2.5rem; z-index: 3;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.7); cursor: pointer;
    opacity: 0; animation: heroFadeIn 0.6s var(--ease) 3.5s forwards;
}
.hero__scroll span { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 4px; }
.hero__scroll-line {
    width: 1px; height: 50px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
    animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes heroFadeIn { to { opacity: 1; transform: translateY(0); } }
@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}


/* =============================================
   PROMO BAR — STICKY
   ============================================= */
.promo-bar {
    position: sticky; top: 15px; z-index: 100;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #171412;
    padding: 0.8rem 1.4rem;
    text-align: center;
    font-size: 0.65rem; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 700;
    display: flex; justify-content: center; align-items: center; gap: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    border-radius: 50px;
    width: max-content;
    max-width: 90%;
    margin: -15px auto 30px;
    transition: all 0.4s ease;
}
[data-theme="dark"] .promo-bar { 
    background: rgba(23, 20, 18, 0.6); 
    border-color: rgba(212, 175, 55, 0.15); 
    color: var(--copper); 
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.promo-bar i { color: #3b82f6; font-size: 0.9rem; animation: pulseWater 2s infinite ease-in-out; }
@keyframes pulseWater { 
    0% { transform: scale(1); opacity: 0.7; } 
    50% { transform: scale(1.15); opacity: 1; text-shadow: 0 0 12px rgba(59,130,246,0.6); } 
    100% { transform: scale(1); opacity: 0.7; } 
}

/* =============================================
   MAIN CONTENT
   ============================================= */
.main {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.25rem 8rem;
}


/* =============================================
   MODE TOGGLE — PERSONAL / GIFT
   ============================================= */
.mode-toggle { display: flex; justify-content: center; margin-bottom: 3rem; }
.mode-toggle__track {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 5px;
    display: inline-flex;
    box-shadow: var(--shadow-sm);
}
.mode-toggle__btn {
    padding: 0.7rem 1.8rem;
    border: none; background: none;
    font-family: var(--serif);
    font-size: 1rem; font-style: italic;
    color: var(--text-muted);
    position: relative; z-index: 2;
    transition: color 0.4s;
}
.mode-toggle__btn.active { color: var(--bg); }
.mode-toggle__slider {
    position: absolute; top: 5px; left: 5px; bottom: 5px;
    width: calc(50% - 5px);
    background: var(--text);
    border-radius: var(--radius-full);
    z-index: 1;
    transition: transform 0.5s var(--ease-out);
}
.mode-gift .mode-toggle__slider { transform: translateX(100%); }


/* =============================================
   SENSORY FILTERS
   ============================================= */
.filters { margin-bottom: 2.5rem; }
.filters__pills {
    display: flex; gap: 8px;
    overflow-x: auto; padding-bottom: 0.5rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.filters__pills::-webkit-scrollbar { display: none; }
.pill {
    white-space: nowrap;
    padding: 0.65rem 1.2rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-muted);
    font-size: 0.78rem; font-weight: 400;
    letter-spacing: 0.5px;
    display: flex; align-items: center; gap: 6px;
    transition: all 0.3s var(--ease);
}
.pill i { font-size: 0.7rem; }
.pill:hover { border-color: var(--copper); color: var(--copper); }
.pill.active {
    background: var(--text); color: #fff;
    border-color: var(--text);
}
[data-theme="dark"] .pill.active { color: #1C1917; }


/* =============================================
   CATEGORY NAVIGATOR — Horizontal Scroll Pills
   ============================================= */
.cat-nav {
    display: flex; gap: 0.8rem;
    overflow-x: auto;
    padding: 1.5rem 1.25rem 1rem;
    margin-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}
.cat-nav::-webkit-scrollbar { display: none; }

.cat-nav__pill {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    cursor: pointer;
    white-space: nowrap;
    scroll-snap-align: start;
    flex-shrink: 0;
    transition: all 0.4s var(--ease);
    color: var(--text-muted);
}
.cat-nav__pill:hover {
    border-color: rgba(212, 163, 115, 0.3);
    color: var(--text);
}
.cat-nav__pill.active {
    background: rgba(212, 163, 115, 0.08);
    border-color: var(--copper);
    color: var(--text);
}
[data-theme="dark"] .cat-nav__pill {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .cat-nav__pill.active {
    background: rgba(212, 163, 115, 0.1);
    border-color: rgba(212, 163, 115, 0.4);
}

.cat-nav__thumb {
    width: 36px; height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid transparent;
    transition: border-color 0.4s;
}
.cat-nav__pill.active .cat-nav__thumb { border-color: var(--copper); }
.cat-nav__thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.cat-nav__text { display: flex; flex-direction: column; text-align: left; }
.cat-nav__name {
    font-family: var(--serif);
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.2;
}
.cat-nav__sub {
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-subtle);
    font-weight: 400;
}
.cat-nav__pill.active .cat-nav__sub { color: var(--copper); }


/* =============================================
   CATEGORY SECTIONS — Panel System
   Hero images are HIDDEN. Sections toggle
   via the category navigator pills above.
   ============================================= */
.category {
    margin-bottom: 0;
    border-radius: 0;
    overflow: hidden;
    background: var(--bg);
    box-shadow: none;
    border: none;
    display: none;
}
.category.open { display: block; }

/* Hide the old hero images completely */
.category__hero { display: none; }

/* Panel Body — Always visible when category is open */
.category__body {
    max-height: none;
    overflow: visible;
    padding: 1.5rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    animation: panelFadeIn 0.5s var(--ease) both;
}
@keyframes panelFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Remove the full-bleed breakout — panels stay within .main */
.main > .category {
    width: auto;
    position: static;
    left: auto;
    right: auto;
    margin-left: 0;
    margin-right: 0;
}


/* =============================================
   SERVICE ITEMS — TYPOGRAPHIC MENU
   No cards. No boxes. Just typography, light,
   and generous breathing room. Like reading
   a menu in a five-star spa.
   ============================================= */
.service {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    background: none;
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    padding: 1.8rem 0.5rem;
    cursor: pointer;
    transition: all 0.5s var(--ease);
    position: relative;
    overflow: visible;
    box-shadow: none;
}

.service::before { display: none; }

.service:last-child { border-bottom: none; }

.service:hover {
    transform: none;
    box-shadow: none;
    padding-left: 1rem;
}
.service:hover .service__name { color: var(--copper); }

[data-theme="dark"] .service {
    background: none;
    border-color: rgba(255, 255, 255, 0.04);
    backdrop-filter: none;
}
[data-theme="dark"] .service:hover {
    background: none;
    box-shadow: none;
}

.service.dimmed { opacity: 0.15; pointer-events: none; transition: opacity 0.6s; filter: grayscale(80%); }

/* Selected State */
.service.selected {
    background: none;
    border-color: var(--border);
    box-shadow: none;
    padding-left: 1.2rem;
    border-left: 3px solid var(--copper);
    border-radius: 0;
}
.service.selected::before { display: none; }
[data-theme="dark"] .service.selected {
    background: none;
}

/* Featured (Signature / Exclusivo) */
.service--featured {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: flex-start;
    background: none;
    border: none;
    border-bottom: 1px solid var(--border);
    border-left: 3px solid var(--copper);
    padding-left: 1.2rem;
    box-shadow: none;
}
.service--featured::before { display: none; }
[data-theme="dark"] .service--featured {
    background: none;
    border-color: rgba(255, 255, 255, 0.04);
    border-left-color: var(--copper);
}
.service__badge-wrap { margin-bottom: 0.6rem; }
.service__badge {
    display: inline-block;
    font-size: 0.55rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 2.5px;
    color: var(--copper);
    background: none;
    border: none;
    padding: 0;
    border-radius: 0;
}
[data-theme="dark"] .service__badge {
    color: var(--copper);
    background: none;
    border-color: transparent;
}
.service--featured .service__right { align-self: flex-start; }

/* Left: Info */
.service__left { flex: 1; min-width: 0; padding-right: 0; margin-bottom: 0; }
.service__name {
    font-family: var(--serif);
    font-size: 1.3rem; font-weight: 400;
    margin-bottom: 0.3rem;
    line-height: 1.25;
    letter-spacing: -0.3px;
    transition: color 0.4s var(--ease);
}
.service__name small { font-size: 0.72rem; color: var(--text-muted); font-weight: 300; }
.service__desc {
    font-size: 0.8rem; color: var(--text-muted);
    line-height: 1.65; font-weight: 300;
    margin-bottom: 0.4rem;
    max-width: 420px;
}

/* Expandable Detail */
.service__detail {
    font-size: 0.78rem; color: var(--text-muted);
    line-height: 1.7; font-weight: 300;
    max-width: 420px;
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease), margin 0.4s var(--ease);
    margin-bottom: 0;
}
.service.detail-open .service__detail {
    max-height: 300px; opacity: 1;
    margin-bottom: 0.5rem;
}
.service.detail-open .service__desc { display: none; }
.service__more {
    background: none; border: none; padding: 0; margin-bottom: 0.5rem;
    font-size: 0.68rem; font-weight: 400;
    color: var(--copper); cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: opacity 0.3s;
    display: inline-block;
}
.service__more:hover { opacity: 0.6; }

/* Tags */
.service__tags { display: flex; gap: 12px; flex-wrap: wrap; }
.tag {
    font-size: 0.62rem;
    color: var(--text-subtle);
    display: inline-flex; align-items: center; gap: 5px;
    padding: 0;
    letter-spacing: 0.5px;
}
.tag i { font-size: 0.55rem; }
.tag--hydro { color: var(--water); }

/* Right: Price + Add */
.service__right {
    display: flex; align-items: center; justify-content: flex-end;
    gap: 1.2rem;
    border-top: none;
    padding-top: 0;
    margin-top: 0;
    flex-shrink: 0;
    min-width: 140px;
}
[data-theme="dark"] .service__right {
    border-top-color: transparent;
}
.service__pricing { text-align: right; }
.price {
    display: block;
    font-family: var(--sans);
    font-size: 1.05rem; font-weight: 500;
    color: var(--text);
    letter-spacing: 0.3px;
}
.price small {
    font-size: 0.6rem; font-weight: 300;
    color: var(--text-subtle); letter-spacing: 0;
    margin-left: 3px;
}
.price--alt {
    font-size: 0.78rem; font-weight: 300;
    color: var(--copper);
    margin-top: 2px;
}

.service__add {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--border);
    background: none;
    color: var(--text-subtle);
    font-size: 0.7rem;
    display: flex; justify-content: center; align-items: center;
    transition: all 0.4s var(--ease);
    flex-shrink: 0;
    box-shadow: none;
}
.service__add:hover { 
    border-color: var(--copper); 
    color: var(--copper);
    box-shadow: none;
    transform: none;
}
.service.selected .service__add {
    background: var(--copper); color: #fff;
    border-color: var(--copper);
    transform: rotate(135deg);
    box-shadow: none;
}


/* =============================================
   REWARDS SECTION — STAMP CARD
   ============================================= */
.rewards {
    margin-top: 3rem;
    padding: 3rem 2rem;
    background: var(--text);
    border-radius: var(--radius);
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.rewards::before {
    content: '';
    position: absolute; top: -40%; right: -25%;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(212, 163, 115, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
[data-theme="dark"] .rewards { background: #171412; border: 1px solid var(--border); }

.rewards__header { margin-bottom: 2rem; position: relative; z-index: 1; }
.rewards__title {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 400;
    color: var(--copper);
    margin-bottom: 0.2rem;
}
.rewards__subtitle { font-size: 0.85rem; color: #A8A29E; letter-spacing: 1px; }

/* STAMP CARD */
.stamp-card {
    background: linear-gradient(145deg, #1E1A17 0%, #0F0D0B 100%);
    border: 1px solid rgba(212, 163, 115, 0.12);
    border-radius: 16px;
    padding: 1.8rem;
    max-width: 420px;
    margin: 0 auto 2rem;
    position: relative; z-index: 1;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}
.stamp-card__top {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 1.5rem;
}
.stamp-card__logo { width: 100px; filter: brightness(0) invert(1); opacity: 0.6; }
.stamp-card__tier {
    font-size: 0.55rem;
    text-transform: uppercase; letter-spacing: 2px;
    color: var(--copper);
    padding: 4px 10px;
    border: 1px solid rgba(212, 163, 115, 0.25);
    border-radius: 4px;
}

/* Stamps Grid */
.stamp-card__stamps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 1.5rem;
}
.stamp {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.stamp__inner {
    width: 54px; height: 54px;
    border-radius: 50%;
    border: 2px dashed rgba(255,255,255,0.12);
    display: flex; justify-content: center; align-items: center;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.15);
    transition: all 0.5s var(--ease-out);
    position: relative;
}
.stamp span { font-size: 0.6rem; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 1px; }

/* Stamped State */
.stamp.stamped .stamp__inner {
    border-style: solid;
    border-color: var(--copper);
    background: var(--copper);
    color: #fff;
    box-shadow: 0 0 20px rgba(212, 163, 115, 0.4);
    animation: stampPop 0.5s var(--ease-out);
}
.stamp.stamped span { color: var(--copper); }

/* Reward stamp */
.stamp--reward .stamp__inner {
    border-color: rgba(212, 163, 115, 0.25);
    color: rgba(212, 163, 115, 0.3);
}
.stamp--reward span { color: rgba(212, 163, 115, 0.4); font-weight: 600; }
.stamp--reward.unlocked .stamp__inner {
    border-style: solid;
    border-color: #FFD700;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #fff;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.5);
    animation: stampPop 0.5s var(--ease-out);
}
.stamp--reward.unlocked span { color: #FFD700; }

@keyframes stampPop {
    0% { transform: scale(0.5); }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Progress Bar */
.stamp-card__progress { text-align: center; }
.stamp-card__bar {
    width: 100%; height: 3px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}
.stamp-card__bar-fill {
    height: 100%; width: 0;
    background: linear-gradient(90deg, var(--copper), #FFD700);
    border-radius: 3px;
    transition: width 0.8s var(--ease-out);
}
.stamp-card__status {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* User Display in Card */
.stamp-card__user {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 1rem; padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.stamp-card__user span {
    font-size: 0.7rem; color: rgba(255,255,255,0.35);
    letter-spacing: 0.5px;
}
.stamp-card__logout {
    background: none; border: none; color: rgba(255,255,255,0.2);
    font-size: 0.75rem; cursor: pointer;
    padding: 4px 8px; border-radius: 6px;
    transition: all 0.3s;
}
.stamp-card__logout:hover { color: #EF4444; background: rgba(239,68,68,0.1); }

/* REGISTRATION FORM */
.loyalty-register { max-width: 380px; margin: 0 auto; position: relative; z-index: 1; }
.loyalty-register__text {
    font-size: 0.85rem; color: rgba(255,255,255,0.6);
    margin-bottom: 1.2rem;
}
.loyalty-register__form { display: flex; flex-direction: column; gap: 0.8rem; }

/* NOT FOUND MESSAGE */
.loyalty-not-found {
    margin-top: 1.2rem; padding: 1.2rem;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    text-align: left;
}
.loyalty-not-found p {
    font-size: 0.8rem; color: rgba(255,255,255,0.6);
    line-height: 1.5;
}
.loyalty-not-found p:first-child {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.4rem;
    display: flex; align-items: center; gap: 6px;
}
.loyalty-not-found p:first-child i { color: #EF4444; }
.loyalty-not-found strong { color: var(--copper); }

/* STAMP LABELS (service names) */
.stamp__label {
    font-size: 0.55rem; color: rgba(255,255,255,0.3);
    text-transform: uppercase; letter-spacing: 0.5px;
    max-width: 68px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    text-align: center;
    cursor: default;
}
.stamp.stamped .stamp__label { color: var(--copper); }

.loyalty-input {
    width: 100%; padding: 0.9rem 1.2rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: #fff; font-family: var(--sans); font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
}
.loyalty-input::placeholder { color: rgba(255,255,255,0.25); }
.loyalty-input:focus { border-color: var(--copper); }

/* CODE ENTRY */
.loyalty-code {
    max-width: 380px; margin: 1.5rem auto 0;
    text-align: center; position: relative; z-index: 1;
}
.loyalty-code__label {
    font-size: 0.8rem; color: rgba(255,255,255,0.5);
    margin-bottom: 0.8rem;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.loyalty-code__label i { color: var(--copper); }
.loyalty-code__form {
    display: flex; gap: 8px;
    align-items: stretch;
}
.loyalty-input--code { flex: 1; font-family: monospace; font-size: 1.1rem; }
.rewards__cta--sm {
    padding: 0.7rem 1.2rem;
    font-size: 0.7rem; letter-spacing: 1px;
    white-space: nowrap;
}
.loyalty-code__hint {
    font-size: 0.65rem; color: rgba(255,255,255,0.25);
    margin-top: 0.5rem; font-style: italic;
}

/* REWARD UNLOCKED BANNER */
.loyalty-reward {
    max-width: 380px; margin: 1.5rem auto 0;
    position: relative; z-index: 1;
}
.loyalty-reward__banner {
    display: flex; align-items: center; gap: 1rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 165, 0, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px; padding: 1.2rem;
    margin-bottom: 1rem; text-align: left;
}
.loyalty-reward__banner > i {
    font-size: 1.8rem; color: #FFD700;
}
.loyalty-reward__banner strong {
    color: #FFD700; font-size: 0.9rem; display: block;
}
.loyalty-reward__banner p {
    color: rgba(255,255,255,0.6); font-size: 0.75rem; margin-top: 2px;
}

/* TOAST (in-page for loyalty feedback) */
.loyalty-toast {
    position: fixed; bottom: 6rem; left: 50%; transform: translateX(-50%) translateY(30px);
    opacity: 0; pointer-events: none;
    background: var(--text); color: #fff;
    padding: 0.8rem 1.5rem; border-radius: 100px;
    font-size: 0.8rem; display: flex; align-items: center; gap: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    transition: transform 0.5s var(--ease), opacity 0.5s var(--ease); z-index: 2000;
    max-width: 90%;
}
[data-theme="dark"] .loyalty-toast { background: #1E1A17; border: 1px solid var(--border); }
.loyalty-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: auto; }
.loyalty-toast i { color: var(--copper); }
.loyalty-toast--error i { color: #EF4444; }

/* REWARDS DETAILS / PERKS */
.rewards__details {
    display: flex; flex-direction: column; gap: 0.6rem;
    max-width: 420px; margin: 1.5rem auto 0;
    text-align: left;
    position: relative; z-index: 1;
}
.rewards__perk {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.8rem; color: rgba(255,255,255,0.6);
}
.rewards__perk i { color: var(--copper); margin-top: 2px; font-size: 0.75rem; }

/* Actions */
.rewards__cta {
    background: var(--copper); color: #fff;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem; font-weight: 400;
    text-transform: uppercase; letter-spacing: 1.5px;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all 0.4s var(--ease);
    box-shadow: 0 6px 20px rgba(212, 163, 115, 0.3);
    cursor: pointer;
}
.rewards__cta:hover {
    background: #fff; color: var(--text);
    transform: translateY(-2px);
}
.rewards__cta--secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: none;
    font-size: 0.7rem;
}
.rewards__cta--secondary:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.rewards__disclaimer {
    font-size: 0.65rem; color: #57534E;
    font-style: italic;
    position: relative; z-index: 1;
    margin-top: 1.5rem;
}


/* =============================================
   FOOTER
   ============================================= */
.footer {
    margin-top: 3rem;
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    color: var(--text-subtle);
    font-size: 0.8rem;
}
.footer__avatar {
    width: 50px; height: 50px;
    border-radius: 50%; object-fit: cover;
    margin: 0 auto 0.8rem;
    border: 2px solid var(--border);
}
.footer__brand {
    font-family: var(--serif);
    font-size: 1.1rem; color: var(--text);
    margin-bottom: 0.5rem;
}
.footer__address, .footer__phone {
    font-size: 0.75rem;
    margin-bottom: 0.3rem;
}
.footer__address i, .footer__phone i { color: var(--copper); margin-right: 4px; }


/* =============================================
   MODALS
   ============================================= */
.modal {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    z-index: 5000;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden;
    transition: all 0.4s var(--ease);
}
.modal.active { opacity: 1; visibility: visible; }
.modal__card {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: var(--radius);
    width: 92%; max-width: 460px;
    text-align: center;
    position: relative;
    transform: translateY(30px) scale(0.96);
    transition: all 0.5s var(--ease-out);
}
.modal.active .modal__card { transform: translateY(0) scale(1); }
.modal__close {
    position: absolute; top: 1rem; right: 1rem;
    background: none; border: none;
    font-size: 1.3rem; color: var(--text-subtle);
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    transition: color 0.3s;
}
.modal__close:hover { color: var(--text); }
.modal__icon { font-size: 2.5rem; color: var(--copper); margin-bottom: 1.2rem; }
.modal__title {
    font-family: var(--serif);
    font-size: 1.6rem; font-weight: 400;
    margin-bottom: 0.5rem;
}
.modal__desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.modal__field { margin-bottom: 1.5rem; text-align: left; }
.modal__field label {
    display: block; font-size: 0.7rem;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--text-subtle);
    margin-bottom: 0.5rem;
}
.modal__input {
    width: 100%; padding: 1rem 1.2rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text);
    font-family: inherit; font-size: 0.95rem;
    transition: border-color 0.3s;
}
.modal__input:focus { outline: none; border-color: var(--copper); }
.modal__btn {
    width: 100%; padding: 1rem;
    border-radius: var(--radius-sm);
    border: none;
    background: var(--text);
    color: #fff;
    font-size: 0.9rem;
    text-transform: uppercase; letter-spacing: 1px;
    transition: all 0.3s;
}
.modal__btn:hover { opacity: 0.9; }
.modal__btn--wa {
    background: var(--copper);
    display: flex; justify-content: center; align-items: center; gap: 10px;
    margin-top: 0.5rem;
}
.modal__btn--wa:hover { background: var(--copper-deep); }

/* Stepper */
.stepper {
    display: flex; align-items: center; justify-content: center;
    gap: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.6rem;
}
.stepper__btn {
    width: 40px; height: 40px; border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 0.8rem;
    display: flex; justify-content: center; align-items: center;
    transition: all 0.3s;
}
.stepper__btn:hover { border-color: var(--copper); color: var(--copper); }
.stepper__val { font-size: 1.5rem; font-weight: 500; min-width: 40px; text-align: center; }


/* =============================================
   FLOATING CART — Expandable with Item List
   ============================================= */
.cart {
    position: fixed;
    bottom: 1.5rem; left: 50%;
    transform: translateX(-50%) translateY(200%);
    width: 92%; max-width: 480px;
    background: var(--text);
    color: #fff;
    border-radius: var(--radius);
    z-index: 1000;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    transition: transform 0.7s var(--ease-out);
    overflow: hidden;
}
[data-theme="dark"] .cart { background: #1E1A17; border: 1px solid var(--border); }
.cart.visible { transform: translateX(-50%) translateY(0); }

.cart__header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 1.5rem;
    cursor: pointer;
}
.cart__info { display: flex; flex-direction: column; }
.cart__count { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.5; }
.cart__total { font-size: 1.6rem; font-weight: 300; }
.cart__actions { display: flex; align-items: center; gap: 0.6rem; }
.cart__clear {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: none; color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    display: flex; justify-content: center; align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}
.cart__clear:hover { border-color: #EF4444; color: #EF4444; }
.cart__btn {
    background: #fff; color: var(--text);
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: 1px;
    display: flex; align-items: center; gap: 8px;
    transition: all 0.3s var(--ease);
    cursor: pointer;
}
.cart__btn:hover { transform: scale(1.04); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }

/* Expandable Items List */
.cart__items {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
    border-top: 0 solid rgba(255,255,255,0.06);
}
.cart.expanded .cart__items {
    max-height: 300px;
    overflow-y: auto;
    border-top-width: 1px;
    padding: 0.5rem 0;
}
.cart__item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.6rem 1.5rem;
    font-size: 0.8rem;
    transition: background 0.2s;
}
.cart__item:hover { background: rgba(255,255,255,0.03); }
.cart__item-name { flex: 1; font-weight: 300; }
.cart__item-price { 
    font-size: 0.75rem; opacity: 0.6; 
    margin-right: 0.8rem; white-space: nowrap;
}
.cart__item-remove {
    width: 24px; height: 24px; border-radius: 50%;
    border: none; background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.4); font-size: 0.55rem;
    display: flex; justify-content: center; align-items: center;
    cursor: pointer; transition: all 0.2s; flex-shrink: 0;
}
.cart__item-remove:hover { background: rgba(239, 68, 68, 0.2); color: #EF4444; }


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 640px) {
    .hero__logo { width: 200px; }

    /* Category nav — slightly tighter on mobile */
    .cat-nav { gap: 0.5rem; padding: 1rem 0 0.8rem; }
    .cat-nav__pill { padding: 0.4rem 0.8rem 0.4rem 0.4rem; gap: 0.5rem; }
    .cat-nav__thumb { width: 30px; height: 30px; }
    .cat-nav__name { font-size: 0.78rem; }
    .cat-nav__sub { font-size: 0.5rem; letter-spacing: 1px; }

    /* Service Items — Stack on mobile */
    .service { flex-direction: column; gap: 0.8rem; padding: 1.5rem 0.3rem; }
    .service--featured { flex-direction: column; }
    .service__right {
        flex-direction: row-reverse;
        justify-content: flex-end;
        width: 100%;
        min-width: 0;
    }
    .service__pricing { text-align: left; }
    .service__desc { max-width: none; }

    /* Stamp Card */
    .rewards { padding: 2.5rem 1.2rem; }
    .stamp-card { padding: 1.4rem; }
    .stamp__inner { width: 44px; height: 44px; font-size: 0.9rem; }
    .rewards__actions { flex-direction: column; align-items: center; }

    /* Cart */
    .cart { padding: 0.8rem 1.2rem; }
    .cart__total { font-size: 1.3rem; }
    .cart__btn { padding: 0.7rem 1.2rem; font-size: 0.75rem; }
}

