/* ========================================================================
   MBURUCUYÁ ULTRA-PREMIUM DESIGN
   ======================================================================== */

/* 1. VARIABLES & TOKENS */
:root {
    /* Colors - Ultra Premium Palette */
    --color-bg-main: #050505;
    --color-bg-secondary: #0a0a0a;
    --color-bg-card: rgba(20, 20, 20, 0.6);

    --color-text-primary: #f0f0f0;
    --color-text-secondary: #a0a0a0;
    --color-text-muted: #666666;

    --color-accent-gold: #D4AF37;
    --color-accent-gold-light: #F4C430;
    --color-accent-gold-dark: #AA8C2C;

    --color-border-subtle: rgba(255, 255, 255, 0.08);
    --color-border-light: rgba(255, 255, 255, 0.15);

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, var(--color-accent-gold) 0%, var(--color-accent-gold-light) 50%, var(--color-accent-gold) 100%);
    --gradient-dark: linear-gradient(to bottom, var(--color-bg-main), var(--color-bg-secondary));
    --gradient-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);

    /* Typography */
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --text-display-xl: clamp(3.5rem, 8vw, 6rem);
    --text-display-lg: clamp(2.5rem, 5vw, 4rem);
    --text-display-md: clamp(1.8rem, 3vw, 2.5rem);
    --text-body-lg: 1.125rem;
    --text-body-md: 1rem;
    --text-body-sm: 0.875rem;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Effects */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(212, 175, 55, 0.15);

    --blur-sm: blur(8px);
    --blur-md: blur(16px);
    --blur-lg: blur(24px);

    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--color-bg-main);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* 3. UTILITIES */
.text-gold {
    color: var(--color-accent-gold);
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: clamp(1rem, 3vw, 2rem);
    padding-right: clamp(1rem, 3vw, 2rem);
    box-sizing: border-box;
}

.glass-panel {
    background: var(--color-bg-card);
    backdrop-filter: var(--blur-md);
    -webkit-backdrop-filter: var(--blur-md);
    border: 1px solid var(--color-border-subtle);
    box-shadow: var(--shadow-md);
}

/* 4. TYPOGRAPHY HELPERS */
.display-xl {
    font-size: var(--text-display-xl);
}

.display-lg {
    font-size: var(--text-display-lg);
}

.display-md {
    font-size: var(--text-display-md);
}

.font-body {
    font-family: var(--font-body);
}

.font-display {
    font-family: var(--font-display);
}

/* 5. ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.fade-in {
    animation: fadeIn 0.8s var(--ease-out-expo) forwards;
}

.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

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


/* 6. HEADER & NAVIGATION */
/* 6. HEADER & NAVIGATION - Dynamic Scroll Animation */
:root {
    /* Initial State (Minimalist) */
    --header-width: 100%;
    --header-top: 0px;
    --header-bg-alpha: 0;
    --header-blur: 0px;
    --header-border-alpha: 0;
    --header-shadow-alpha: 0;
    --header-radius: 0px;
    --header-padding-y: 1.5rem;
}

.main-header {
    position: fixed;
    top: var(--header-top);
    left: 50%;
    transform: translateX(-50%);
    width: var(--header-width);
    max-width: 1400px;
    /* Constrain max width for minimalist view */
    z-index: 1000;
    padding: var(--header-padding-y) 2rem;

    /* Dynamic Background */
    background: rgba(20, 20, 25, var(--header-bg-alpha));

    /* Dynamic Blur */
    backdrop-filter: blur(var(--header-blur)) saturate(150%);
    -webkit-backdrop-filter: blur(var(--header-blur)) saturate(150%);

    /* Dynamic Border */
    border: 1px solid rgba(255, 255, 255, var(--header-border-alpha));
    border-radius: var(--header-radius);

    /* Dynamic Shadow */
    box-shadow:
        0 10px 30px rgba(0, 0, 0, var(--header-shadow-alpha)),
        0 0 0 1px rgba(255, 255, 255, calc(var(--header-border-alpha) * 0.2));

    /* Smooth transition for properties NOT animated by scroll (if any) */
    transition: padding 0.1s ease;

    /* Ensure flex container alignment */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Removed .main-header.scrolled as we control via JS variables, 
   but we can keep a helper class if needed for specific overrides */
.main-header.dock-mode {
    max-width: 90%;
    /* Switch max-width constraint when in dock mode */
}

/* Removed Glossy Reflection for cleaner look */
.main-header::before {
    display: none;
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
    /* Above reflection */
}

/* Logo removed as per request, but keeping container just in case */
.logo-container .logo {
    display: none;
}

.main-nav {
    position: relative;
    left: auto;
    transform: none;
    opacity: 0;
    animation: fadeIn 0.8s var(--ease-out-expo) 0.3s forwards;
}

.main-nav ul {
    display: flex;
    gap: 0.5rem;
    /* Tighter gap */
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-nav a {
    font-size: 0.9rem;
    /* Back to smaller font */
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    color: var(--color-text-secondary);
    position: relative;
    padding: 0.6rem 1.2rem;
    border-radius: 9999px;
    transition: all 0.3s var(--ease-out-expo);
}

/* Remove old underline effect */
.main-nav a::after {
    display: none;
}

/* Dock Item Hover Effect */
.main-nav a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Active State (optional, if you want to highlight current section) */
.main-nav a.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.nav-cta {
    /* If there's a CTA in nav, style it to fit */
    padding: 0.6rem 1.5rem;
    margin-left: 0.5rem;
}

/* Liquid Glass Effect - Scroll-Based Visibility */
.main-header.liquid-glass {
    /* Start invisible - controlled by JS via CSS variables */
    --glass-opacity: 0;
    --liquid-glass-bg: rgba(5, 5, 5, 0);
    --liquid-glass-border: rgba(255, 255, 255, 0);
    --liquid-glass-shadow-alpha: 0;

    /* FORCE completely transparent initial state */
    background: transparent !important;
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-color: transparent !important;
    box-shadow: none !important;

    /* 32px Apple-style corner radius */
    border-radius: 32px !important;

    /* Overflow hidden for filter containment */
    overflow: hidden;

    /* Smooth transitions */
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

/* When glass becomes visible via scroll (JS adds this class) */
.main-header.liquid-glass.glass-visible {
    /* Apply dynamic background */
    background-color: var(--liquid-glass-bg) !important;

    /* Dynamic border */
    border: 1px solid var(--liquid-glass-border) !important;

    /* Dynamic shadow stack */
    box-shadow:
        0 25px 50px -15px rgba(0, 0, 0, calc(var(--liquid-glass-shadow-alpha) * 1)),
        0 0 40px rgba(255, 255, 255, calc(var(--glass-opacity) * 0.08)) inset,
        0 10px 20px -8px rgba(0, 0, 0, calc(var(--liquid-glass-shadow-alpha) * 0.7)),
        0 4px 12px rgba(0, 0, 0, calc(var(--liquid-glass-shadow-alpha) * 0.5)) !important;

    /* backdrop-filter is controlled by JS */
}

/* ===============================================
   GLASSMORPHISM FALLBACK
   For browsers that don't support SVG backdrop filters
   (Safari, iOS, older Firefox, etc.)
   =============================================== */

/* Ultra-Premium Glassmorphism Fallback for Header */
.main-header.liquid-glass.liquid-glass-fallback.glass-visible {
    /* Premium translucent background with gradient */
    background: linear-gradient(135deg,
            rgba(20, 20, 25, 0.75) 0%,
            rgba(15, 15, 20, 0.85) 50%,
            rgba(20, 20, 25, 0.75) 100%) !important;

    /* Standard blur-based glassmorphism */
    backdrop-filter: blur(20px) saturate(180%) brightness(1.1) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) brightness(1.1) !important;

    /* Refined border with gradient effect */
    border: 1px solid rgba(255, 255, 255, 0.15) !important;

    /* Multi-layered premium shadows */
    box-shadow:
        0 25px 50px -15px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(255, 255, 255, 0.08) inset,
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 -1px 0 rgba(255, 255, 255, 0.05) inset,
        0 10px 30px -8px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* Subtle inner glow effect for fallback */
.main-header.liquid-glass.liquid-glass-fallback.glass-visible::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%,
            rgba(255, 255, 255, 0.08) 0%,
            transparent 60%);
    pointer-events: none;
    z-index: -1;
    border-radius: inherit;
}

/* 7. HERO SECTION */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-bg-main);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Gradient orbs - white glowing effects */
.hero-background::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.12) 30%, transparent 70%);
    border-radius: 50%;
    z-index: 3;
    animation: floatOrb1 20s ease-in-out infinite;
    filter: blur(30px);
}

.hero-background::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 30%, transparent 70%);
    border-radius: 50%;
    z-index: 3;
    animation: floatOrb2 18s ease-in-out infinite;
    filter: blur(30px);
}

/* Additional gradient layer for depth */
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 1;
    animation: pulse 15s ease-in-out infinite;
    filter: blur(50px);
}

/* Dark overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

@keyframes floatOrb1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }

    33% {
        transform: translate(-30px, 50px) scale(1.1);
        opacity: 1;
    }

    66% {
        transform: translate(20px, -40px) scale(0.95);
        opacity: 0.9;
    }
}

@keyframes floatOrb2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translate(40px, -60px) scale(1.15);
        opacity: 1;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.9;
    }
}

.hero-bg-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transform: scale(1.1);
    animation: slowZoom 20s linear infinite alternate;
}

@keyframes slowZoom {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1.2);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
    padding: 0 2rem;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: var(--text-body-sm);
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-accent-gold);
    margin-bottom: 1.5rem;
    display: block;
    opacity: 0;
    animation: fadeIn 0.8s var(--ease-out-expo) 0.7s forwards;
}

.hero-title {
    font-size: var(--text-display-xl);
    line-height: 1;
    margin-bottom: 2rem;
    color: var(--color-text-primary);
    opacity: 0;
    animation: fadeIn 0.8s var(--ease-out-expo) 1s forwards;
}

.hero-title span {
    display: block;
    font-style: italic;
    font-weight: 300;
    color: var(--color-text-secondary);
    font-size: 0.6em;
    margin-top: 0.5rem;
}

.hero-description {
    font-size: var(--text-body-lg);
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
    opacity: 0;
    animation: fadeIn 0.8s var(--ease-out-expo) 1.3s forwards;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 0.8s var(--ease-out-expo) 1.6s forwards;
}

.btn-primary {
    padding: 1rem 2.5rem;
    background: var(--color-accent-gold);
    color: var(--color-bg-main);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    background: var(--color-accent-gold-light);
}

.btn-secondary {
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--color-border-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    transition: all 0.3s var(--ease-out-expo);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    border-color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* 8. PROPOSAL CARDS */
.proposals {
    padding: var(--space-xl) 0;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.95) 0%, rgba(15, 15, 20, 0.85) 100%),
        url('../images/gallery/594e985f-3662-4067-bf30-22cc186de09c.JPG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: var(--text-display-lg);
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
}

.price-note {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
    font-size: var(--text-body-sm);
}

.tabs-header {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: 1px solid var(--color-border-light);
    color: var(--color-text-secondary);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: var(--text-body-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--color-accent-gold);
    color: var(--color-bg-main);
    border-color: var(--color-accent-gold);
    box-shadow: var(--shadow-glow);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 2rem;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.proposal-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 600px;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Animation for smooth appearance */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;

    /* Totally transparent background */
    background-color: transparent;

    /* Radial Backlight Effect - Extremely subtle */
    background-image: radial-gradient(circle at 50% 30%,
            var(--category-glow-center) 0%,
            rgba(0, 0, 0, 0) 60%);

    /* Minimal blur for "clear glass" feel */
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);

    /* Strong borders for card definition */
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);

    /* Ensure text legibility */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

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

/* Glass effect highlights (edges) */
.proposal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    z-index: 1;
}

.proposal-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.4),
            transparent,
            rgba(255, 255, 255, 0.1));
    z-index: 1;
}

.proposal-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px var(--category-glow-ambient, rgba(138, 43, 226, 0.2)),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1);

    /* Intensify backlight on hover */
    background-image: radial-gradient(circle at 50% 30%,
            var(--category-glow-hover) 0%,
            rgba(15, 15, 20, 0) 70%);
}

/* Category Colors - ELEGANT DEEP TONES */
.proposal-card.juveniles {
    /* Deep Indigo/Violet */
    --category-glow-center: rgba(75, 0, 130, 0.1);
    --category-glow-hover: rgba(106, 31, 194, 0.15);
    --category-glow-ambient: rgba(75, 0, 130, 0.05);
}

.proposal-card.quince_bodas {
    /* Elegant Burgundy/Rose Gold */
    --category-glow-center: rgba(157, 23, 77, 0.1);
    --category-glow-hover: rgba(190, 24, 93, 0.15);
    --category-glow-ambient: rgba(157, 23, 77, 0.05);
}

.proposal-card.adultos {
    /* Deep Amber/Bronze */
    --category-glow-center: rgba(180, 83, 9, 0.1);
    --category-glow-hover: rgba(217, 119, 6, 0.15);
    --category-glow-ambient: rgba(180, 83, 9, 0.05);
}

.proposal-card.infantiles {
    /* Deep Azure/Teal */
    --category-glow-center: rgba(3, 105, 161, 0.1);
    --category-glow-hover: rgba(2, 132, 199, 0.15);
    --category-glow-ambient: rgba(3, 105, 161, 0.05);
}

.proposal-card.destacados {
    /* Emerald/Forest */
    --category-glow-center: rgba(4, 120, 87, 0.1);
    --category-glow-hover: rgba(5, 150, 105, 0.15);
    --category-glow-ambient: rgba(4, 120, 87, 0.05);
}

.proposal-card.todas {
    /* Deep Slate/Blue */
    --category-glow-center: rgba(71, 85, 105, 0.1);
    --category-glow-hover: rgba(100, 116, 139, 0.15);
    --category-glow-ambient: rgba(71, 85, 105, 0.05);
}

/* Staggered animation delays for cards */
.proposal-card:nth-child(1) {
    animation-delay: 0s;
}

.proposal-card:nth-child(2) {
    animation-delay: 0.1s;
}

.proposal-card:nth-child(3) {
    animation-delay: 0.2s;
}

.proposal-card:nth-child(4) {
    animation-delay: 0.3s;
}

.proposal-card:nth-child(5) {
    animation-delay: 0.4s;
}

.proposal-card:nth-child(6) {
    animation-delay: 0.5s;
}

.proposal-card:nth-child(7) {
    animation-delay: 0.6s;
}

.proposal-card:nth-child(8) {
    animation-delay: 0.7s;
}

.proposal-card:nth-child(9) {
    animation-delay: 0.8s;
}

.proposal-card:nth-child(10) {
    animation-delay: 0.9s;
}

.proposal-card:nth-child(n+11) {
    animation-delay: 1s;
}

/* Card Header Top - Category Badge + Price */
.card-header-top {
    padding: 1.5rem 2rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.category-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.price-display {
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 255, 255, 0.3);
    letter-spacing: -0.02em;
}

/* Card Title Section */
.card-title-section {
    padding: 0 2rem 1rem;
    position: relative;
    z-index: 2;
}

.card-title-section h3 {
    font-size: 1.75rem;
    margin: 0 0 0.5rem 0;
    color: #ffffff;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.card-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Promo Pills */
.promo-pills {
    padding: 0 2rem 1.5rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.promo-pill {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.6rem 1.1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.promo-pill i {
    font-size: 0.9rem;
}

/* Features Preview */
.features-preview {
    padding: 0 2rem 1.5rem;
    position: relative;
    z-index: 2;
    flex: 1;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.feature-list li {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.5;
}

.feature-list li i {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.feature-list li span {
    flex: 1;
}

.more-link {
    font-style: italic;
    color: #FFA500 !important;
    font-size: 0.9rem !important;
    margin: 0.5rem 0 0 0;
    padding-left: 1.65rem;
    font-weight: 500;
}

/* Dual Action Buttons */
.dual-buttons {
    padding: 0 2rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.btn-details {
    padding: 0.95rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-details:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn-details[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.35);
}

.btn-whatsapp {
    padding: 0.95rem 1.5rem;
    background: #25D366;
    color: white;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    border: none;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* Details Content Animation */
.details-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s var(--ease-out-expo);
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.details-content.show {
    grid-template-rows: 1fr;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.details-inner {
    overflow: hidden;
    padding: 0 2rem;
}

.details-content.show .details-inner {
    padding: 2rem;
}

.details-block {
    margin-bottom: 2rem;
}

.details-block:last-child {
    margin-bottom: 0;
}

.details-block h5 {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
}

.details-block h5 i {
    color: rgba(255, 255, 255, 0.9);
}

.premium-list {
    list-style: none;
    padding: 0;
}

.premium-list li {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    line-height: 1.5;
}

.premium-list li i {
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.2rem;
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
}

.gold-list li i {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.extras-pricing p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-size: 0.95rem;
}

/* 8.5 SERVICES SECTION */
.services {
    padding: var(--space-xl) 0;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.95) 0%, rgba(15, 15, 20, 0.85) 100%),
        url('../images/gallery/fdb9d856-0543-4697-8abc-e4efae68b083.JPG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.venue-info {
    margin-bottom: var(--space-xl);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-subtle);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent-gold);
    box-shadow: var(--shadow-glow);
}

.info-card i {
    font-size: 2rem;
    color: var(--color-accent-gold);
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.info-card p {
    color: var(--color-text-secondary);
    font-size: var(--text-body-sm);
}

/* Accordion Styles */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-header {
    width: 100%;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: var(--color-text-primary);
    font-family: var(--font-display);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.02);
    color: var(--color-accent-gold);
}

.accordion-header i:first-child {
    color: var(--color-accent-gold);
    margin-right: 1rem;
    width: 24px;
    text-align: center;
}

.accordion-header .fa-chevron-down {
    font-size: 1rem;
    transition: transform 0.3s ease;
    color: var(--color-text-muted);
}

.accordion-header[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
    color: var(--color-accent-gold);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 2rem;
    color: var(--color-text-secondary);
    border-top: 1px solid transparent;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.accordion-content.active {
    max-height: 2000px;
    /* Large enough for any content */
    padding: 0 2rem 2rem;
    border-top-color: rgba(255, 255, 255, 0.05);
    opacity: 1;
}

.accordion-intro {
    margin-bottom: 2rem;
    font-style: italic;
    color: var(--color-text-muted);
}

/* Event Cards Grid */
.events-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.event-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.event-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-accent-gold);
    transform: translateY(-3px);
}

.event-card .card-icon {
    font-size: 1.5rem;
    color: var(--color-accent-gold);
    margin-bottom: 1rem;
}

.event-card h4 {
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.event-card p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Facilities Section */
.facilities-section {
    margin-bottom: 2rem;
}

.section-title-small {
    color: var(--color-text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.section-title-small i {
    color: var(--color-accent-gold);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
}

.feature-item i {
    color: var(--color-accent-gold);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.feature-item strong {
    display: block;
    color: var(--color-text-primary);
    margin-bottom: 0.2rem;
}

.feature-item small {
    color: var(--color-text-muted);
}

/* Decoration Tiers */
.decoration-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tier-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-subtle);
    position: relative;
}

.tier-card.premium-tier {
    border-color: var(--color-accent-gold);
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.05), rgba(0, 0, 0, 0));
}

.tier-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-muted);
}

.tier-card.premium-tier .tier-badge {
    background: var(--color-accent-gold);
    color: var(--color-bg-main);
    font-weight: bold;
}

.tier-card h4 {
    color: var(--color-text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tier-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.tier-card ul li i {
    color: var(--color-accent-gold);
    margin-top: 0.2rem;
    font-size: 0.8rem;
}

/* Policy & Exclusive Services */
.policy-card,
.service-note {
    background: rgba(255, 50, 50, 0.05);
    border: 1px solid rgba(255, 50, 50, 0.2);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    text-align: center;
    margin-bottom: 1.5rem;
}

.policy-icon {
    font-size: 2rem;
    color: #ff5252;
    margin-bottom: 1rem;
}

.policy-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff5252;
    margin: 0.5rem 0;
}

.service-list.exclusive {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.service-list.exclusive li {
    background: rgba(255, 255, 255, 0.03);
    padding: 0.8rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.service-list.exclusive li i {
    color: var(--color-accent-gold);
}

/* 9. FOOTER */
.main-footer {
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.95) 0%, rgba(15, 15, 20, 0.9) 100%),
        url('../images/gallery/82819757-4874-47c0-9a21-29ccaaf59f8a.JPG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: var(--space-xl) 0 var(--space-md);
    border-top: 1px solid var(--color-border-subtle);
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: var(--space-lg);
}

.footer-logo .logo {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.footer-logo .slogan {
    color: var(--color-text-muted);
    font-size: var(--text-body-sm);
    letter-spacing: 1px;
}

.footer-links h3,
.footer-social h3,
.footer-contact h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--color-text-secondary);
    font-size: var(--text-body-sm);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-accent-gold);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-primary);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--color-accent-gold);
    border-color: var(--color-accent-gold);
    color: var(--color-bg-main);
    transform: translateY(-3px);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
    font-size: var(--text-body-sm);
}

.footer-contact i {
    color: var(--color-accent-gold);
}

.footer-divider {
    height: 1px;
    background: var(--color-border-subtle);
    margin-bottom: 2rem;
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

.legal-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.legal-links a {
    color: var(--color-text-muted);
}

.legal-links a:hover {
    color: var(--color-text-primary);
}

.cookies-notice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookies-notice i {
    color: var(--color-accent-gold);
}

/* 10. MODAL OVERRIDES */
/* Ensure modal uses new variables */
.proposal-modal {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: var(--blur-lg);
}

.modal-container-new {
    background: var(--color-bg-main);
    border: 1px solid var(--color-border-light);
}

.modal-header-new {
    background: var(--gradient-dark);
    border-bottom: 1px solid var(--color-border-subtle);
}

.modal-title {
    font-family: var(--font-display);
    color: var(--color-text-primary);
}

.modal-sidebar {
    background: var(--color-bg-secondary);
    border-right: 1px solid var(--color-border-subtle);
}

.sidebar-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-subtle);
}

.modal-tabs {
    background: var(--color-bg-main);
    border-bottom: 1px solid var(--color-border-subtle);
}

.modal-tab {
    color: var(--color-text-secondary);
}

.modal-tab.active {
    color: var(--color-accent-gold);
    border-bottom-color: var(--color-accent-gold);
    background: var(--color-bg-secondary);
}

.modal-tab-content {
    background: var(--color-bg-main);
    color: var(--color-text-secondary);
}

.modal-tab-panel h2 {
    color: var(--color-text-primary);
    font-family: var(--font-display);
}

.modal-close {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border-light);
}

.modal-close:hover {
    background: var(--color-accent-gold);
    color: var(--color-bg-main);
}

/* 11. RESPONSIVE STYLES */
.header-actions {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu span {
    width: 30px;
    height: 2px;
    background: var(--color-text-primary);
    transition: all 0.3s ease;
}

/* =========================================
   PREMIUM MOBILE MENU
   ========================================= */

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

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

.mobile-menu-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.mobile-menu-overlay.active .mobile-menu-backdrop {
    opacity: 1;
}

.mobile-menu-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100%;
    /* Enhanced Glassmorphism */
    background: rgba(15, 15, 20, 0.4);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -10px 0 60px rgba(0, 0, 0, 0.7),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.mobile-menu-overlay.active .mobile-menu-container {
    transform: translateX(0);
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.mobile-menu-logo {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

/* Close Button */
.close-menu {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.close-line {
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--color-accent-gold);
    transition: all 0.3s ease;
}

.close-line:first-child {
    transform: rotate(45deg);
}

.close-line:last-child {
    transform: rotate(-45deg);
}

.close-menu:hover .close-line {
    background-color: #fff;
}

.close-menu:hover .close-line:first-child {
    transform: rotate(135deg);
}

.close-menu:hover .close-line:last-child {
    transform: rotate(45deg);
}

/* Navigation */
.mobile-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.5s cubic-bezier(0.215, 0.610, 0.355, 1.000);
    transition-delay: calc(0.1s + (var(--i) * 0.1s));
}

.mobile-menu-overlay.active .mobile-nav li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav a {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
}

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

.mobile-nav a:hover {
    color: #fff;
    transform: translateX(10px);
}

.mobile-nav a:hover::after {
    width: 100%;
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    margin-top: auto;
    text-align: center;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.6s;
}

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

.mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.social-link-item {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-gold);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link-item:hover {
    background: var(--color-accent-gold);
    color: #000;
    transform: translateY(-3px);
}

.mobile-contact-info {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Menu Decoration */
.menu-decoration-circle {
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* ========================================================================
   PREMIUM CATEGORY HEADERS (TODAS TAB)
   ======================================================================== */

.category-header-premium {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 0 3rem;
    position: relative;
}

/* Icon Wrapper with Glow */
.category-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-icon-wrapper:hover {
    transform: translateY(-5px) scale(1.05);
}

/* Gradient Title */
.category-title-premium {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    /* Fallback handled inline */
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Elegant Subtitle */
.category-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 400;
    max-width: 600px;
}

/* Stats Badges Container */
.category-stats {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* Glass Badge */
.stat-badge {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.stat-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-primary);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.stat-badge i {
    font-size: 0.8rem;
    opacity: 0.7;
}

@media (max-width: 768px) {

    /* ========== NAVIGATION & HEADER ========== */
    .main-nav {
        display: none;
    }

    .header-container {
        position: relative;
    }

    .header-actions {
        position: absolute;
        top: 50%;
        right: 0.5rem;
        transform: translateY(-50%);
    }

    .hamburger-menu {
        display: flex;
        min-width: 44px;
        min-height: 44px;
        padding: 8px;
    }

    .header-logo {
        font-size: 1.8rem;
    }

    .mobile-nav a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* ========== CONTAINER & SPACING ========== */
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    /* ========== TYPOGRAPHY SCALE ========== */
    h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.25rem;
    }

    body {
        font-size: 16px;
        line-height: 1.6;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
    }

    /* ========== HERO SECTION ========== */
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        padding: 0 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 0 1.5rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
        padding: 1rem 2rem;
        min-height: 48px;
    }

    /* ========== TOUCH OPTIMIZATION ========== */
    button,
    a.btn,
    .btn-primary,
    .btn-secondary,
    .gallery-view-btn {
        min-height: 44px;
        min-width: 44px;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    select,
    textarea {
        min-height: 48px;
        font-size: 16px;
        /* Prevent zoom on iOS */
        padding: 0.75rem 1rem;
    }

    /* ========== MEDIA HANDLING ========== */
    img,
    video {
        max-width: 100%;
        height: auto;
    }

    .hero-video,
    .gallery-video {
        width: 100%;
        object-fit: cover;
    }

    /* ========== SERVICES SECTION ========== */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    /* ========== PROPOSALS SECTION ========== */
    .proposals-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0rem;
    }

    .proposal-card {
        max-width: 100%;
        margin: 0 auto 1.5rem;
    }

    /* Dual buttons stack vertically on mobile */
    .dual-buttons {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0 1.5rem 1.5rem;
    }

    .btn-details,
    .btn-whatsapp {
        width: 100%;
        min-height: 48px;
        font-size: 0.95rem;
    }

    /* Pricing tiers for mobile */
    .pricing-tiers-simple {
        margin: 0.5rem 0 1rem;
    }

    .pricing-tiers-simple ul {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .pricing-tiers-simple li {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.5rem 0.75rem;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .card-title {
        font-size: 1.5rem;
    }

    /* ========== CATEGORY HEADERS ========== */
    .category-header-premium {
        padding: 3rem 0 2rem;
    }

    .category-icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .category-title-premium {
        font-size: 2.5rem;
    }

    .category-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .category-stats {
        gap: 0.75rem;
    }

    .stat-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    /* ========== FOOTER ========== */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-logo,
    .footer-links,
    .footer-social,
    .footer-contact {
        align-items: center;
    }

    .social-icons {
        justify-content: center;
    }

    .social-icons a {
        width: 48px;
        height: 48px;
    }

    .footer-contact p {
        justify-content: center;
        font-size: 0.9rem;
        flex-wrap: wrap;
    }

    .footer-legal {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    /* ========== MOBILE PROGRESSIVE LOADING ========== */
    .proposal-card.hidden-initially {
        display: none;
    }

    .load-more-container {
        text-align: center;
        padding: 3rem 0;
        width: 100%;
        transition: opacity 0.3s ease;
    }

    .btn-load-more {
        padding: 1.2rem 2.5rem;
        background: linear-gradient(135deg, var(--color-accent-gold) 0%, var(--color-accent-gold-light) 100%);
        color: var(--color-bg-main);
        border: none;
        border-radius: var(--radius-full);
        font-weight: 600;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s var(--ease-out-expo);
        box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
        display: inline-flex;
        align-items: center;
        gap: 0.75rem;
        min-height: 48px;
    }

    .btn-load-more:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
        background: linear-gradient(135deg, var(--color-accent-gold-light) 0%, var(--color-accent-gold) 100%);
    }

    .btn-load-more:active {
        transform: translateY(0);
    }

    .btn-load-more i {
        font-size: 0.9rem;
        transition: transform 0.3s ease;
    }

    .btn-load-more:hover i {
        transform: translateY(2px);
    }

    .fade-in-card {
        animation: fadeInUp 0.5s var(--ease-out-expo) forwards;
    }

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

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

/* ========== SMALL MOBILE DEVICES (480px and below) ========== */
@media (max-width: 480px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .category-title-premium {
        font-size: 2rem;
    }

    .proposal-card {
        padding: 1.5rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 1.5rem;
    }
}

/* =========================================
   INTERACTIVE EXTRAS & PAYMENT (MODAL)
   ========================================= */

/* Info Block */
.info-block {
    background: rgba(30, 30, 50, 0.6);
    border: 1px solid rgba(100, 100, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeIn 0.5s ease forwards;
}

.info-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: #aaddff;
    font-weight: 600;
    font-size: 1.1rem;
}

.info-header i {
    font-size: 1.2rem;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
    color: #ccddee;
    font-size: 0.9rem;
    line-height: 1.4;
}

.info-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #aaddff;
}

/* Extras Section */
.extras-section-title {
    text-align: center;
    margin: 2rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.extras-section-title h3 {
    font-family: 'Cinzel', serif;
    color: var(--color-accent-gold);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.extras-section-title p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.extras-category {
    background: rgba(20, 20, 25, 0.8);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}

.category-desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.extras-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.extra-card-new {
    background: rgba(30, 35, 45, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s ease;
}

.extra-card-new:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.extra-header-new {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.extra-title-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.extra-icon-new {
    font-size: 1.5rem;
    color: #ddd;
}

.extra-title-new {
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
}

.extra-price-new {
    font-weight: 700;
    color: var(--color-accent-gold);
    font-size: 1.1rem;
    font-family: 'Cinzel', serif;
}

.extra-desc-new {
    font-size: 0.85rem;
    color: #aaa;
    line-height: 1.4;
    flex-grow: 1;
}

.btn-add-extra {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(to bottom, #8b5a3c, #5a3a25);
    color: #ffddaa;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-add-extra:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.btn-add-extra.selected {
    background: linear-gradient(to bottom, #2e8b57, #1e5b38);
    color: #fff;
    box-shadow: 0 0 15px rgba(46, 139, 87, 0.4);
}

.btn-add-extra.selected::before {
    content: '✓ ';
}

/* Payment Methods */
.payment-methods {
    margin-top: 2rem;
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.payment-methods h4 {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 1.5rem;
    color: var(--color-accent-gold);
}

.payment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.payment-item span {
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

/* Dynamic Price Update Animation */
@keyframes pricePulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
        color: #fff;
    }

    100% {
        transform: scale(1);
    }
}

.price-update {
    animation: pricePulse 0.3s ease;
}

/* =========================================
   GUEST CALCULATOR
   ========================================= */

.guest-calculator {
    background: rgba(20, 20, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.guest-input-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem;
    background: rgba(30, 35, 45, 0.5);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.guest-input-row:last-child {
    margin-bottom: 0;
}

.guest-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.guest-info>i {
    font-size: 1.8rem;
    color: var(--color-accent-gold);
}

.guest-info>div {
    display: flex;
    flex-direction: column;
}

.guest-label {
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.guest-sublabel {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.guest-controls {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.guest-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(to bottom, #8b5a3c, #5a3a25);
    color: #ffddaa;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.guest-btn:hover {
    filter: brightness(1.2);
    transform: scale(1.1);
}

.guest-btn:active {
    transform: scale(0.95);
}

.guest-count {
    width: 60px;
    height: 36px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    outline: none;
}

.guest-subtotal {
    min-width: 120px;
    text-align: right;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-accent-gold);
    font-family: 'Cinzel', serif;
}

/* =========================================
   COMPREHENSIVE RESPONSIVE DESIGN
   ========================================= */

/* ========== TABLET AND BELOW (768px) ========== */
@media (max-width: 768px) {

    /* Container with symmetrical padding */
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    /* Proposals Section */
    .proposals {
        padding: 4rem 0;
    }

    /* Proposal Cards Grid - Single Column */
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .proposal-card {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    /* Card Content Adjustments */
    .card-header-top {
        padding: 1.25rem 1.5rem 0.75rem;
    }

    .card-title-section {
        padding: 0 1.5rem 0.75rem;
    }

    .card-title-section h3 {
        font-size: 1.5rem;
    }

    .promo-pills {
        padding: 0 1.5rem 1.25rem;
    }

    .card-features {
        padding: 0 1.5rem 1.5rem;
    }

    /* Dual Buttons Stack Vertically */
    .dual-buttons {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0 1.5rem 1.5rem;
    }

    .btn-details,
    .btn-whatsapp {
        width: 100%;
        min-height: 48px;
        padding: 1rem 1.5rem;
    }

    /* Tab Buttons */
    .tabs-header {
        gap: 0.75rem;
        padding: 0 1rem;
    }

    .tab-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }

    /* Section Titles */
    .section-title {
        font-size: 2.5rem;
    }

    /* Ensure no section overflow */
    section {
        overflow-x: hidden;
    }
}

/* ========== MOBILE (480px AND BELOW) ========== */
@media (max-width: 480px) {

    /* Container - Smaller Padding */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Proposals Section */
    .proposals {
        padding: 3rem 0;
    }

    /* Cards Grid - Tighter Spacing */
    .cards-grid {
        gap: 1rem;
    }

    .proposal-card {
        min-height: auto;
        border-radius: 20px;
    }

    /* Card Content - Compact */
    .card-header-top {
        padding: 1rem 1.25rem 0.5rem;
    }

    .card-title-section {
        padding: 0 1.25rem 0.5rem;
    }

    .card-title-section h3 {
        font-size: 1.35rem;
    }

    .card-subtitle {
        font-size: 0.9rem;
    }

    .category-badge {
        padding: 0.4rem 1rem;
        font-size: 0.7rem;
    }

    .card-price {
        font-size: 1.75rem;
    }

    .promo-pills {
        padding: 0 1.25rem 1rem;
        gap: 0.5rem;
    }

    .promo-pill {
        padding: 0.5rem 0.9rem;
        font-size: 0.8rem;
    }

    .card-features {
        padding: 0 1.25rem 1.25rem;
    }

    .feature-list li {
        font-size: 0.9rem;
    }

    .dual-buttons {
        padding: 0 1.25rem 1.25rem;
        gap: 0.6rem;
    }

    .btn-details,
    .btn-whatsapp {
        padding: 0.9rem 1.25rem;
        font-size: 0.85rem;
    }

    /* Tab Buttons - Smaller */
    .tab-btn {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    /* Section Titles */
    .section-title {
        font-size: 2rem;
    }

    .price-note {
        font-size: 0.8rem;
        padding: 0 1rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .guest-input-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .guest-controls {
        width: 100%;
        justify-content: center;
    }

    .guest-subtotal {
        width: 100%;
        text-align: center;
    }
}

/* =========================================
   CALCULATOR SUMMARY
   ========================================= */

.calculator-summary {
    background: linear-gradient(135deg, rgba(139, 90, 60, 0.15), rgba(90, 58, 37, 0.15));
    border: 2px solid var(--color-accent-gold);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.4s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.calculator-summary h4 {
    color: var(--color-accent-gold);
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.calculator-summary h4 i {
    font-size: 1.5rem;
}

.summary-rows {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    color: #fff;
    font-size: 1rem;
}

.summary-row span:first-child {
    color: var(--color-text-muted);
}

.summary-row span:last-child {
    font-weight: 700;
    font-family: 'Cinzel', serif;
    color: #fff;
}

.summary-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--color-accent-gold), transparent);
    margin: 1rem 0;
}

.summary-total {
    font-size: 1.4rem !important;
}

.summary-total span:first-child {
    color: var(--color-accent-gold) !important;
    font-weight: 700;
}

.summary-total span:last-child {
    color: var(--color-accent-gold) !important;
    font-size: 1.6rem;
}

.btn-whatsapp-quote {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-whatsapp-quote:hover {
    background: linear-gradient(135deg, #20ba5a, #0e7a6b);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.btn-whatsapp-quote:active {
    transform: translateY(0);
}

.btn-whatsapp-quote i {
    font-size: 1.4rem;
}

.summary-note {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 193, 7, 0.1);
    border-left: 3px solid #ffc107;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.4;
    display: flex;
    gap: 0.5rem;
}

.summary-note i {
    color: #ffc107;
    margin-top: 2px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .calculator-summary {
        padding: 1.5rem;
    }

    .summary-total {
        font-size: 1.2rem !important;
    }

    .summary-total span:last-child {
        font-size: 1.4rem;
    }

    .btn-whatsapp-quote {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* Mobile Header Adjustment */
@media (max-width: 768px) {
    .main-header {
        /* Full width on mobile */
        left: 50%;
        transform: translateX(-50%);
        top: 10px;
        width: calc(100% - 20px);
        max-width: none;
        padding: 0.8rem 1rem;
        border-radius: 20px;
        /* Let liquid-glass handle the background */
    }

    .header-container {
        justify-content: space-between;
        gap: 0;
        width: 100%;
    }

    .logo-container {
        display: flex;
        align-items: center;
    }

    .logo-container .logo {
        display: none;
    }

    .mobile-brand {
        display: block;
        font-family: var(--font-display);
        font-size: 1.4rem;
        font-weight: 500;
        color: var(--color-text-primary);
        letter-spacing: 1px;
    }

    .main-nav {
        display: none;
    }

    .header-actions {
        position: static !important;
        transform: none !important;
        margin: 0;
        top: auto;
        right: auto;
    }

    .hamburger-menu {
        display: flex;
        padding: 0.5rem;
        background: transparent;
        border: none;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .hamburger-menu:hover {
        background: rgba(255, 255, 255, 0.1);
    }
}

/* Hide mobile brand on desktop (before media query override) */
.mobile-brand {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-brand {
        display: block !important;
        opacity: 0;
        transform: translateX(-10px);
        transition: opacity 0.4s ease, transform 0.4s ease;
        pointer-events: none;
    }

    /* When visible class is added by JS */
    .mobile-brand.visible {
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
    }
}

/* ========================================================================
   MOBILE BACKGROUND FIX (STICKY)
   ======================================================================== */

/* Desktop: Keep parallax effect with background-attachment: fixed */
.proposals,
.services,
.main-footer {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

/* Default: Hide sticky bg on desktop */
.mobile-sticky-bg {
    display: none;
}

@media (max-width: 1024px) {

    /* Mobile: Stacked Fixed Backgrounds
       All backgrounds are fixed and stacked with decreasing z-index */

    .parallax-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        clip-path: inset(0);
        pointer-events: none;
    }

    .parallax-image {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

    /* Hero background (highest z-index) */
    .hero {
        position: relative;
    }

    /* Ensure overlay stays above hero background on mobile */
    .hero::after {
        z-index: 6 !important;
        /* Above fixed hero-background */
    }

    .hero-background {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 5;
    }

    /* Specific Background Images with stacking order */
    .parallax-image.gallery-bg {
        z-index: 4;
        background-image: linear-gradient(180deg, rgba(10, 10, 15, 0.95) 0%, rgba(15, 15, 20, 0.85) 100%),
            url('../images/gallery/af083af2-4f46-44b8-9f37-67d41647313e.JPG');
    }

    .parallax-image.proposals-bg {
        z-index: 3;
        background-image: linear-gradient(180deg, rgba(10, 10, 15, 0.95) 0%, rgba(15, 15, 20, 0.85) 100%),
            url('../images/gallery/594e985f-3662-4067-bf30-22cc186de09c.JPG');
    }

    .parallax-image.services-bg {
        z-index: 2;
        background-image: linear-gradient(180deg, rgba(10, 10, 15, 0.95) 0%, rgba(15, 15, 20, 0.85) 100%),
            url('../images/gallery/fdb9d856-0543-4697-8abc-e4efae68b083.JPG');
    }

    .parallax-image.footer-bg {
        z-index: 1;
        background-image: linear-gradient(180deg, rgba(10, 10, 15, 0.95) 0%, rgba(15, 15, 20, 0.9) 100%),
            url('../images/gallery/82819757-4874-47c0-9a21-29ccaaf59f8a.JPG');
    }

    /* Section Layering - Content above backgrounds */
    .gallery-section,
    .proposals,
    .services,
    .main-footer {
        background: transparent !important;
        position: relative;
        z-index: 10;
    }

    /* Content needs to be above all backgrounds */
    .container {
        position: relative;
        z-index: 11;
    }
}

/* Tablet Media Query */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 3.5rem;
    }
}

/* Mobile Optimizations */
@media screen and (max-width: 767px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    /* Reduce heavy effects on mobile */
    .glass-panel,
    .proposal-card {
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }

    .hero-background::before,
    .hero-background::after {
        filter: blur(20px);
        /* Reduce blur radius for performance */
    }
}

/* Ensure backdrop-filter support */
@supports not (backdrop-filter: blur(10px)) {

    .glass-panel,
    .proposal-card,
    .main-header {
        background: rgba(20, 20, 25, 0.95);
        /* Fallback solid color */
    }
}

/* =========================================
   CALCULATOR RESPONSIVENESS & LAYOUT
   ========================================= */

.calculator-container-premium {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.calc-controls-panel {
    flex: 1;
    background: rgba(20, 20, 25, 0.6);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.calc-receipt-panel {
    flex: 1;
    position: sticky;
    top: 20px;
}

/* Mobile Layout for Calculator */
@media (max-width: 900px) {
    .calculator-container-premium {
        flex-direction: column;
    }

    .calc-receipt-panel {
        width: 100%;
        position: static;
        order: 0;
    }
}

/* Enhanced Stepper for Mobile */
.calc-stepper {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-stepper button {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.calc-stepper button:active {
    background: var(--color-accent-gold);
    color: #000;
}

.calc-stepper input {
    flex: 1;
    background: transparent;
    border: none;
    text-align: center;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    width: 60px;
    -moz-appearance: textfield;
    appearance: textfield;
}

.calc-stepper input::-webkit-outer-spin-button,
.calc-stepper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Receipt Card Styling */
.receipt-card {
    background: #fff;
    color: #333;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    font-family: 'Courier Prime', monospace;
    /* Receipt look */
}

.receipt-header {
    background: #f8f8f8;
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px dashed #ccc;
}

.rh-logo {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #000;
}

.rh-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
}

.rh-date {
    font-size: 0.8rem;
    color: #999;
    margin-top: 0.5rem;
}

.receipt-body {
    padding: 1.5rem;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.receipt-divider {
    height: 1px;
    background: #eee;
    margin: 1rem 0;
}

.receipt-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #000;
}

.receipt-footer {
    padding: 1.5rem;
    background: #f8f8f8;
    text-align: center;
}

.btn-whatsapp-receipt {
    width: 100%;
    padding: 1rem;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-whatsapp-receipt:hover {
    background: #128C7E;
}

.receipt-disclaimer {
    font-size: 0.7rem;
    color: #999;
    margin-top: 1rem;
}