:root {
    /* Dynamic controls (Managed via Admin) */
    --primary-hue: 45;
    --glass-blur: 10px;
    --glass-opacity: 0.1;

    /* Colors derived from Hue */
    --primary-color: hsl(var(--primary-hue), 65%, 52%);
    --primary-hover: hsl(var(--primary-hue), 65%, 42%);
    --primary-light: hsl(var(--primary-hue), 65%, 85%);
    --primary-dark: hsl(var(--primary-hue), 65%, 35%);

    --bg-color: #000000;
    --bg-paper: #0A0A0A;
    --bg-card: #121212;
    --bg-overlay: rgba(0, 0, 0, 0.8);

    --text-primary: #F5F5F5;
    --text-secondary: #A3A3A3;
    --text-muted: #525252;
    --text-inverse: #000000;

    --border-color: #262626;
    --border-gold: rgba(212, 175, 55, 0.3);

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F3E5AB 50%, #D4AF37 100%);
    --gradient-dark-fade: linear-gradient(to bottom, rgba(5, 5, 5, 0) 0%, #050505 100%);

    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Manrope', sans-serif;
    --font-accent: 'Cormorant Garamond', serif;

    /* Spacing & Responsive Scale */
    --container-width: 100%;
    --container-max-width: 1440px;
    /* Standardize max width for inner content */
    --container-padding: clamp(1.25rem, 4vw, 3rem);
    --scale-factor: 1;
    --header-height: clamp(60px, 8vh, 80px);
    --section-padding-y: clamp(4rem, 10vh, 8rem);
    --base-font-size: 16px;
    --hero-overlay-opacity: 0.8;
}

@media (max-width: 768px) {
    :root {
        --scale-factor: 0.85;
    }
}

/* ==================== THEMES ==================== */

/* DEFAULT: Premium Dark (Gold) - applied via .theme-premium or fallback */
.theme-premium {
    color-scheme: dark;
}

/* THEME: Modern Light */
.theme-light {
    --primary-color: #0F172A;
    /* Slate 900 */
    --primary-hover: #334155;
    --primary-light: #CBD5E1;
    --primary-dark: #020617;

    --bg-color: #F8FAFC;
    --bg-paper: #FFFFFF;
    --bg-card: #F1F5F9;
    --bg-overlay: rgba(255, 255, 255, 0.9);

    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --text-muted: #94A3B8;
    --text-inverse: #FFFFFF;

    --border-color: #E2E8F0;
    --border-gold: rgba(15, 23, 42, 0.1);

    --gradient-gold: linear-gradient(135deg, #0F172A 0%, #475569 100%);
    --gradient-dark-fade: linear-gradient(to bottom, rgba(248, 250, 252, 0) 0%, #F8FAFC 100%);

    --font-heading: 'Manrope', sans-serif;
    --font-accent: 'Manrope', sans-serif;
}

/* THEME: Industrial */
.theme-industrial {
    --primary-color: #F97316;
    /* Orange 500 */
    --primary-hover: #EA580C;
    --primary-light: #FDBA74;
    --primary-dark: #C2410C;

    --bg-color: #1C1917;
    /* Stone 900 */
    --bg-paper: #292524;
    --bg-card: #44403C;
    --bg-overlay: rgba(28, 25, 23, 0.9);

    --text-primary: #F5F5F4;
    --text-secondary: #A8A29E;
    --text-muted: #78716C;
    --text-inverse: #000000;

    --border-color: #57534E;
    --border-gold: rgba(249, 115, 22, 0.3);

    --gradient-gold: linear-gradient(135deg, #F97316 0%, #FDBA74 50%, #F97316 100%);
    --gradient-dark-fade: linear-gradient(to bottom, rgba(28, 25, 23, 0) 0%, #1C1917 100%);

    --font-heading: 'Manrope', sans-serif;
    /* STRUCTURE OVERRIDES: Industrial */
    --border-radius-sm: 0px;
    --border-radius-md: 0px;
    --border-radius-lg: 0px;
    --btn-radius: 0px;
    --card-border: 1px solid var(--border-color);
    --heading-transform: uppercase;
    --heading-weight: 800;
    --letter-spacing-heading: 1px;
}

/* Industrial Specific Look */
.theme-industrial .btn {
    border: 1px solid var(--primary-color);
    text-transform: uppercase;
    font-weight: 700;
}

.theme-industrial .service-card-premium {
    border: 1px solid var(--border-color);
    background: repeating-linear-gradient(45deg,
            rgba(255, 255, 255, 0.01),
            rgba(255, 255, 255, 0.01) 10px,
            transparent 10px,
            transparent 20px);
}

/* THEME: Navy Nautical */
.theme-navy {
    --primary-color: #38bdf8;
    /* Sky 400 */
    --primary-hover: #0ea5e9;
    --primary-light: #e0f2fe;
    --primary-dark: #0369a1;

    --bg-color: #0f172a;
    /* Slate 950 */
    --bg-paper: #1e293b;
    --bg-card: #334155;
    --bg-overlay: rgba(15, 23, 42, 0.9);

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-inverse: #000000;

    --border-color: #475569;
    --border-gold: rgba(56, 189, 248, 0.3);

    --gradient-gold: linear-gradient(135deg, #38bdf8 0%, #7dd3fc 50%, #38bdf8 100%);
    --gradient-dark-fade: linear-gradient(to bottom, rgba(15, 23, 42, 0) 0%, #0f172a 100%);
}

/* THEME: Deep Forest */
.theme-forest {
    --primary-color: #4ade80;
    /* Green 400 */
    --primary-hover: #22c55e;
    --primary-light: #dcfce7;
    --primary-dark: #15803d;

    --bg-color: #052e16;
    /* Green 950 */
    --bg-paper: #064e3b;
    --bg-card: #065f46;
    --bg-overlay: rgba(5, 46, 22, 0.9);

    --text-primary: #f0fdf4;
    --text-secondary: #86efac;
    --text-muted: #4ade80;
    --text-inverse: #000000;

    --border-color: #166534;
    --border-gold: rgba(74, 222, 128, 0.3);

    --gradient-gold: linear-gradient(135deg, #4ade80 0%, #86efac 50%, #4ade80 100%);
    --gradient-dark-fade: linear-gradient(to bottom, rgba(2, 44, 34, 0) 0%, #052e16 100%);

    /* STRUCTURE OVERRIDES: Forest */
    --font-heading: 'Cormorant Garamond', serif;
    --border-radius-sm: 4px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --btn-radius: 12px;
    --heading-weight: 600;
}

/* Forest Specific Look */
.theme-forest .service-card-premium {
    background: rgba(6, 78, 59, 0.4);
    border: 1px solid rgba(74, 222, 128, 0.1);
}

.theme-forest .hero-title {
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* THEME: Wine Luxury */
.theme-wine {
    --primary-color: #fb7185;
    /* Rose 400 */
    --primary-hover: #f43f5e;
    --primary-light: #ffe4e6;
    --primary-dark: #be123c;

    --bg-color: #2c0b0e;
    /* Deep Red Custom */
    --bg-paper: #4c0519;
    --bg-card: #881337;
    --bg-overlay: rgba(66, 5, 25, 0.9);

    --text-primary: #fff1f2;
    --text-secondary: #fecdd3;
    --text-muted: #fda4af;
    --text-inverse: #000000;

    --border-color: #9f1239;
    --border-gold: rgba(251, 113, 133, 0.3);

    --gradient-gold: linear-gradient(135deg, #fb7185 0%, #fecdd3 50%, #fb7185 100%);
    --gradient-dark-fade: linear-gradient(to bottom, rgba(69, 10, 10, 0) 0%, #2c0b0e 100%);

    --font-heading: 'Playfair Display', serif;

    /* STRUCTURE OVERRIDES: Wine Luxury */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --btn-radius: 50px;
    /* Pill */
    --heading-transform: none;
    --heading-style: italic;
    --letter-spacing-heading: 0px;
}

/* Wine Luxury Specific Look */
.theme-wine .hero-title {
    font-style: italic;
    font-weight: 400;
    /* Lighter serif looks more elegant */
}

.theme-wine .btn {
    box-shadow: 0 4px 15px rgba(251, 113, 133, 0.3);
    letter-spacing: 1px;
}

.theme-wine .service-card-premium {
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(10px);
}

/* THEME: Royal Purple */
.theme-royal {
    --primary-color: #c084fc;
    /* Purple 400 */
    --primary-hover: #a855f7;
    --primary-light: #f3e8ff;
    --primary-dark: #7e22ce;

    --bg-color: #1e1b4b;
    /* Indigo 950 */
    --bg-paper: #312e81;
    --bg-card: #4338ca;
    --bg-overlay: rgba(30, 27, 75, 0.9);

    --text-primary: #faf5ff;
    --text-secondary: #d8b4fe;
    --text-muted: #c084fc;
    --text-inverse: #000000;

    --border-color: #4c1d95;
    --border-gold: rgba(192, 132, 252, 0.3);

    --gradient-gold: linear-gradient(135deg, #c084fc 0%, #e9d5ff 50%, #c084fc 100%);
    --gradient-dark-fade: linear-gradient(to bottom, rgba(30, 27, 75, 0) 0%, #1e1b4b 100%);

    /* STRUCTURE OVERRIDES: Royal Purple */
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --btn-radius: 8px;
    --heading-weight: 700;
    --letter-spacing-heading: -0.02em;
}

/* Royal Specific Look */
.theme-royal .hero-title {
    background: linear-gradient(to right, #fff, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 20px rgba(192, 132, 252, 0.3));
}

.theme-royal .service-card-premium:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(126, 34, 206, 0.3);
    border-color: var(--primary-color);
}

/* THEME: Ocean Teal */
.theme-teal {
    --primary-color: #2dd4bf;
    /* Teal 400 */
    --primary-hover: #14b8a6;
    --primary-light: #ccfbf1;
    --primary-dark: #0f766e;

    --bg-color: #042f2e;
    /* Teal 950 */
    --bg-paper: #115e59;
    --bg-card: #134e4a;
    --bg-overlay: rgba(4, 47, 46, 0.9);

    --text-primary: #f0fdfa;
    --text-secondary: #99f6e4;
    --text-muted: #5eead4;
    --text-inverse: #000000;

    --border-color: #115e59;
    --border-gold: rgba(45, 212, 191, 0.3);

    --gradient-gold: linear-gradient(135deg, #2dd4bf 0%, #99f6e4 50%, #2dd4bf 100%);
    --gradient-dark-fade: linear-gradient(to bottom, rgba(4, 47, 46, 0) 0%, #042f2e 100%);
}

/* THEME: Minimal Monochrome */
.theme-monochrome {
    --primary-color: #ffffff;
    --primary-hover: #d4d4d4;
    --primary-light: #ffffff;
    --primary-dark: #737373;

    --bg-color: #000000;
    --bg-paper: #171717;
    --bg-card: #262626;
    --bg-overlay: rgba(0, 0, 0, 0.9);

    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --text-muted: #737373;
    --text-inverse: #000000;

    --border-color: #404040;
    --border-gold: rgba(255, 255, 255, 0.2);

    --gradient-gold: linear-gradient(135deg, #ffffff 0%, #d4d4d4 50%, #ffffff 100%);
    --gradient-dark-fade: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #000000 100%);

    --font-heading: 'Manrope', sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: var(--base-font-size);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
/* Utilities & Responsive Tools */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

/* Responsive Helper Utilities */
@media (max-width: 768px) {
    .m-stack {
        flex-direction: column !important;
        display: flex !important;
    }

    .m-center {
        text-align: center !important;
        justify-content: center !important;
    }

    .m-hide {
        display: none !important;
    }

    .m-p-inline {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }

    .m-no-scroll {
        overflow: hidden !important;
    }
}

.section {
    padding: var(--section-padding-y) 0;
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }
}

/* Typography Scale */
/* Typography Scale (Fluid) */
.display-1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.display-2 {
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.display-3 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 500;
}

h1 {
    font-size: clamp(2.5rem, 7vw, 5rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

.text-gold {
    color: var(--primary-color);
}

.text-gradient-gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    font-size: 0.9rem;
    border-radius: var(--btn-radius, 8px);
}

.btn-primary {
    background: linear-gradient(145deg, var(--primary-color), var(--primary-hover));
    color: var(--text-inverse);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

.btn-outline:active {
    transform: translateY(0) scale(0.98);
}


/* Animation Utilities */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ==================== HERO SECTION (PREMIUM) ==================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1765745518752-68a289300789?crop=entropy&cs=srgb&fm=jpg&q=85');
    background-size: cover;
    background-position: center;
    filter: brightness(0.6) contrast(1.1);
    transform: scale(1.1);
    transition: transform 10s ease-out;
}

.hero:hover .hero-bg {
    transform: scale(1.0);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.4) 0%, rgba(5, 5, 5, var(--hero-overlay-opacity)) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 5%;
    max-width: 100% !important;
    width: 92% !important;
    margin: 0 auto;
    /* Robust Flexbox Alignment */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media (max-width: 768px) {
    .hero-content {
        width: 100% !important;
        padding: 0 1rem;
    }

    .hero-company-name {
        padding: 0.6rem 1.5rem;
        letter-spacing: 0.2em;
        margin-bottom: 1.5rem;
    }
}

.hero-company-name {
    display: inline-block;
    /* Premium Gradient Restoration */
    background: linear-gradient(135deg, #FFF 0%, #D4AF37 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 800;
    letter-spacing: 0.4em;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    font-family: var(--font-heading);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.2s ease-out forwards;
    line-height: 1.2;

    /* Polished Luxury Badge */
    background-color: rgba(5, 5, 5, 0.9);
    /* Deep black for natural contrast */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 0.8rem 2.8rem;
    border-radius: 4px;
    /* Architectural sharp look */
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);

    /* Perfect Clarity Shadow */
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.5));
}

.hero-title {
    font-family: var(--font-accent);
    font-size: clamp(2rem, 7vw, 6.5rem);
    /* More aggressive fluid scaling */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: clamp(0.05em, 1.5vw, 0.18em);
    line-height: 1.1;
    margin-bottom: clamp(1.5rem, 4vh, 2.5rem);
    position: relative;
    padding: 0 4%;
    width: 100%;

    /* Polished Gold Aesthetic - Multi-tone Metal */
    background: linear-gradient(to right,
            #bf953f 0%,
            #fcf6ba 25%,
            #b38728 50%,
            #fbf5b7 75%,
            #aa771c 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    /* Layered 3D Shadows for Metal Look */
    text-shadow:
        0 2px 0 rgba(255, 255, 255, 0.15),
        0 4px 10px rgba(0, 0, 0, 0.5),
        0 10px 20px rgba(184, 150, 12, 0.2);

    /* Animation Synchronization */
    animation:
        heroFadeInUp 1.5s ease-out forwards,
        titleShine 8s linear infinite;
    animation-delay: 0.3s, 2s;
}

@keyframes titleShine {
    0% {
        background-position: 0% center;
    }

    20% {
        background-position: 200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: clamp(2rem, 5vw, 4.5rem);
        letter-spacing: 0.1em;
        white-space: normal;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(1.8rem, 8vw, 3.2rem);
        letter-spacing: 0.05em;
        white-space: normal;
        line-height: 1.2;
    }

    .hero-subtitle {
        padding: 1.5rem;
        font-size: 1rem;
    }

    .hero-cta .btn {
        min-width: 180px;
        padding: 1rem 2rem;
        margin: 0.5rem;
    }
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    /* Larger and more readable */
    color: #f0f0f0;
    /* Whiter for better contrast */
    margin-bottom: 4rem;
    letter-spacing: 1px;
    font-weight: 300;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s ease-out 0.6s forwards;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);

    /* Premium Glassmorphism */
    background: rgba(255, 255, 255, var(--glass-opacity));
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    width: fit-content;
    display: inline-block;
}

.hero-cta {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.7s forwards;
}

.hero-cta .btn {
    margin: 0 1rem;
    min-width: 220px;
    padding: 1.4rem 3rem;
    font-size: 1rem;
    border-radius: 4px;
    /* Shaper, more premium look */
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.5s forwards;
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 0.7;
    }
}

/* ==================== SERVICES SECTION (BENTO GRID) ==================== */
.services-title {
    text-align: center;
    margin-bottom: 4rem;
}

.services-title h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-main {
        grid-column: 1 / 3;
    }

    .bento-tall {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-main,
    .bento-tall,
    .bento-wide {
        grid-column: 1;
        grid-row: auto;
        min-height: clamp(300px, 40vh, 450px);
        height: auto;
    }
}

.bento-item {
    position: relative;
    border: var(--card-border, 1px solid rgba(255, 255, 255, 0.05));
    border-radius: var(--border-radius-lg, 0px);
    /* Default to 0 or 16 depending on base, but var makes it themeable */
    background-color: var(--bg-card);
    overflow: hidden;
    padding: 2rem;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bento-item:hover {
    border-color: rgba(212, 175, 55, 0.5);
    background-color: #1a1a1a;
}

.bento-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.5s ease;
}

.bento-item:hover::before {
    width: 100%;
}

/* Specific Items */
.bento-main {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent), url('https://images.unsplash.com/photo-1765745518673-b562b7304a53?crop=entropy&cs=srgb&fm=jpg&q=85');
    background-size: cover;
    background-position: center;
}

.bento-tall {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent), url('https://images.unsplash.com/photo-1743722096894-7b2dfada674d?crop=entropy&cs=srgb&fm=jpg&q=85');
    /* Pool Image */
    background-size: cover;
    background-position: center;
}

.bento-wide {
    grid-column: 1 / 4;
    grid-row: 3;
    height: 300px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.9) 40%, transparent), url('https://images.unsplash.com/photo-1721523257891-0d2df324bcfc?crop=entropy&cs=srgb&fm=jpg&q=85');
    /* Kitchen Image */
    background-size: cover;
    background-position: center;
    justify-content: center;
    align-items: flex-start;
}

.bento-content {
    position: relative;
    z-index: 2;
}

.bento-item h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.bento-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 90%;
}

.bento-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    opacity: 0.8;
}

/* ==================== GALLERY (MASONRY) ==================== */
.gallery-grid {
    columns: 3 280px;
    /* Slightly narrower columns for better masonry on small tablets */
    column-gap: var(--container-padding);
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-img {
    width: 100%;
    filter: grayscale(100%) brightness(0.8);
    transition: all 0.5s ease;
    border: 1px solid transparent;
}

.gallery-item:hover .gallery-img {
    filter: grayscale(0%) brightness(1);
    border-color: var(--primary-color);
    transform: scale(1.02);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-title {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* ==================== CONTACT SECTION (RESET) ==================== */
/* Obsolete 1200px limit removed */
.contact-container {
    display: flex;
    justify-content: space-between;
    gap: clamp(2rem, 5vw, 4rem);
    padding: clamp(2rem, 5vh, 3rem) 0;
    width: 100%;
    margin: 0;
}

@media (max-width: 991px) {
    .contact-container {
        flex-direction: column;
        gap: 3rem;
    }

    .contact-info {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact-info h2 {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }
}

.contact-info {
    flex: 1;
    padding-top: 1rem;
}

.contact-supertitle {
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    display: inline-block;
}

/* Decoration line next to supertitle */
.contact-supertitle::after {
    content: " —";
    margin-left: 0.5rem;
    color: var(--primary-color);
}

.contact-info h2 {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 2rem;
    color: #fff;
    font-family: var(--font-heading);
}

.contact-info h2 span {
    color: var(--primary-color);
    display: block;
}

.contact-info p {
    color: #888;
    margin-bottom: 3rem;
    font-size: 1rem;
    max-width: 400px;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-details .contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
}

.contact-details .contact-item-icon {
    width: 40px;
    height: 40px;
    border: 1px solid #333;
    border-radius: var(--border-radius-md, 0px);
    /* Dark subtle border */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.contact-details .contact-item:hover .contact-item-icon {
    border-color: var(--primary-color);
}

.contact-label {
    display: block;
    font-size: 0.7rem;
    color: #555;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 500;
}

/* PREMIUM FORM STYLES */
.contact-form {
    flex: 1;
    background: rgba(20, 20, 20, 0.6);
    /* Semi-transparent dark */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Subtle glass border */
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

@media (max-width: 600px) {
    .contact-form {
        padding: 1.5rem;
        border-radius: 16px;
    }
}

/* Form shine effect */
.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.03),
            transparent);
    transition: 0.5s;
    pointer-events: none;
}

.contact-form:hover::before {
    left: 100%;
    transition: 0.7s;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-grid .form-group {
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: rgba(212, 175, 55, 0.9);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.8rem;
    margin-left: 0.2rem;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    height: 62px;
    padding: 0 1.5rem;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
    transform: translateY(-2px);
}

textarea.form-input {
    height: auto;
    min-height: 180px;
    padding: 1.2rem;
    resize: vertical;
}

/* Phone Input Custom Styling */
.phone-input-group {
    display: flex;
    gap: 0;
    /* Removed gap for seamless look on mobile */
    align-items: stretch;
    width: 100%;
}

@media (max-width: 480px) {
    .phone-input-group {
        flex-direction: column;
        gap: 0.5rem;
    }

    .custom-prefix {
        width: 100%;
        flex: none;
    }

    .prefix-selected {
        border-radius: 12px;
        border-right: 1px solid rgba(255, 255, 255, 0.12);
    }

    .phone-input-group .phone-number {
        border-radius: 12px !important;
        padding-left: 1.5rem;
    }
}

.phone-input-group .phone-number {
    flex: 1;
    min-width: 0;
    padding-left: 0.8rem;
    /* Reduced padding for more space */
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.custom-prefix {
    position: relative;
    flex: 0 0 75px;
    width: 100px;
}

.prefix-selected {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 10px;
    height: 62px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-right: none;
    border-radius: 12px 0 0 12px;
    color: #fff;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
}

.prefix-selected:hover {
    background: rgba(255, 255, 255, 0.08);
}

.prefix-flag {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.prefix-code {
    font-size: 0.95rem;
    font-weight: 600;
}

.prefix-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 250px;
    max-height: 300px;
    background: #111;
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.prefix-dropdown.active {
    display: block;
    animation: fadeInDropdown 0.2s ease-out;
}

@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.prefix-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.prefix-option:hover {
    background: rgba(212, 175, 55, 0.1);
}

.prefix-name {
    font-size: 0.85rem;
    color: #aaa;
}

.phone-number {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

/* Service Select Fix */
select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
    padding-right: 3rem;
    cursor: pointer;
}

select.form-input option {
    background: #111;
    color: #fff;
    padding: 10px;
}

/* Multi-select styling */
.multi-select {
    position: relative;
    width: 100%;
    user-select: none;
}

.multi-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    min-height: 62px;
    /* Cambiado de height fija para permitir crecimiento */
    height: auto;
    padding: 10px 1.5rem;
    /* Padding vertical añadido para las etiquetas */
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    font-size: 1.05rem;
}

.multi-select-trigger:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
}

.multi-select.open .multi-select-trigger {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.multi-select-trigger .placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.multi-select-trigger i {
    width: 18px;
    height: 18px;
    opacity: 0.5;
    transition: transform 0.3s ease;
}

.multi-select.open .multi-select-trigger i {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.multi-select-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.3rem;
    /* Reducido de 0.5rem */
    z-index: 1000;
    max-height: 250px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.3s ease;
}

.multi-select.open .multi-select-dropdown {
    display: block;
}

.multi-select-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.2rem 0.6rem;
    /* Reducido de 0.4rem vertical */
    border-radius: 8px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
}

.multi-select-option:hover {
    background: rgba(255, 255, 255, 0.05);
}

.multi-select-option input[type="checkbox"] {
    appearance: none;
    width: 14px;
    height: 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.multi-select-option input[type="checkbox"]:checked {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.multi-select-option input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 3px;
    height: 7px;
    border: solid #000;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

.multi-select-option span {
    font-size: 0.78rem;
}

.multi-select-option input:checked+span {
    color: var(--primary-color);
    font-weight: 600;
}

/* Selected Items Display */
.selected-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-color);
    padding: 2px 6px;
    border-radius: 5px;
    font-size: 0.75rem;
    margin: 2px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.selected-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    flex: 1;
    /* Ocupa el espacio disponible */
    margin-right: 1.2rem;
    /* Deja espacio para la flecha */
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Form Actions & Buttons */
.form-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;
}

.btn-submit {
    width: 100%;
    background: var(--primary-color);
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    padding: 1.1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(212, 175, 55, 0.4);
}

.btn-whatsapp {
    width: 100%;
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid #25D366;
    color: #25D366;
    font-weight: 700;
    text-transform: uppercase;
    padding: 1.1rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-whatsapp:hover {
    background: #25D366;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp i {
    width: 20px;
    height: 20px;
}

/* Footer reset */
footer {
    padding: 0.rem 0;
    border-top: 1px solid #111;
    text-align: center;
    color: #333;
    font-size: 0.8rem;
}

@media (max-width: 900px) {
    .contact-container {
        flex-direction: column;
    }
}


/* ==================== PORTFOLIO DOCK (macOS Style) ==================== */
.portfolio-dock-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

/* The Dock Container (Cinematic Stream - NO BOX) */
.portfolio-bar {
    position: relative;
    max-width: 100%;
    /* Ancho completo para flujo infinito */
    margin: 0 auto;

    /* ELIMINAR CAJA CERRADA */
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;

    /* RIELES DE LUZ (Solo arriba y abajo) */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);

    /* MÁSCARA DE FUSIÓN (El secreto del WOW) */
    /* Hace que los lados se desvanezcan suavemente */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);

    padding: 40px 0;
    /* Espacio para que las tarjetas "respiren" al flotar */
    overflow: hidden;
}

/* GLOW EN LOS RIELES (Luz que corre) */
.portfolio-bar::before,
.portfolio-bar::after {
    content: '';
    position: absolute;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    z-index: 1;
    pointer-events: none;
    opacity: 0.3;
}

.portfolio-dock {
    display: flex;
    align-items: flex-end;
    gap: 0.4rem;
    padding: 0.8rem 1.5rem 0.6rem;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    position: relative;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Dock reflection line */
.portfolio-dock::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 0.6rem;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    transform-origin: bottom center;
}

.dock-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 14px;
    transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.dock-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    transition: all 0.28s ease;
}

.dock-label {
    font-family: var(--font-body);
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: all 0.28s ease;
    white-space: nowrap;
}

/* Hover: magnify the item (macOS Dock bounce) */
.dock-item:hover {
    transform: scale(1.35) translateY(-8px);
    z-index: 10;
}

.dock-item:hover .dock-icon {
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.35), rgba(212, 175, 55, 0.15));
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.dock-item:hover .dock-icon svg {
    color: #fff;
}

.dock-item:hover .dock-label {
    color: #fff;
}

/* Active state: golden dot indicator */
.dock-item.active-filter::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary-color);
}

.dock-item.active-filter .dock-icon {
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.4), rgba(212, 175, 55, 0.15));
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25);
}

.dock-item.active-filter .dock-icon svg {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .portfolio-dock {
        gap: 0.2rem;
        padding: 0.6rem 0.8rem 0.5rem;
        border-radius: 16px;
        overflow-x: auto;
        max-width: 95vw;
    }

    .dock-icon {
        width: 42px;
        height: 42px;
        border-radius: 11px;
    }

    .dock-icon svg {
        width: 20px;
        height: 20px;
    }

    .dock-label {
        font-size: 0.55rem;
    }

    .dock-item:hover {
        transform: scale(1.2) translateY(-4px);
    }
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    scroll-behavior: smooth;
    width: 100%;
    align-content: start;
    /* Fix for stretched items */
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1rem;
    }
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    width: 100%;
}

/* ==================== LAYOUT STRUCTURE ==================== */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow-x: hidden;
}

.main-content {
    flex: 1 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Obsolete site-footer removed */

.portfolio-item {
    position: relative;
    background-color: var(--bg-card);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.portfolio-img {
    width: 100%;
    height: 300px;
    /* Fixed height for uniformity */
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
    filter: brightness(0.9);
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Video Items Styles - Refined for Premium Vertical Look (Shorts/Reels) */
.portfolio-item.videos {
    aspect-ratio: var(--video-ratio, 16 / 9);
    height: auto;
    max-width: 100%;
    margin: 0 auto;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #000;
}

.portfolio-item.videos:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
    transform: translateY(-8px);
}

.portfolio-item.videos .portfolio-img {
    height: 100%;
    object-fit: cover;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.4));
    backdrop-filter: blur(0px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.video-play-overlay i {
    font-size: 4rem;
    color: #fff;
    opacity: 0.9;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
}

/* Play button ring */
.video-play-overlay::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.portfolio-item:hover .video-play-overlay {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
}

.portfolio-item:hover .video-play-overlay i {
    transform: scale(1.15);
    color: var(--primary-color);
    opacity: 1;
}

.portfolio-item:hover .video-play-overlay::after {
    width: 100px;
    height: 100px;
    border-color: var(--primary-color);
    border-width: 1px;
    opacity: 0;
    transform: scale(1.5);
}

/* Filtering Animations */
.portfolio-item.hide {
    display: none;
}

.portfolio-item.show {
    animation: fadeInPortfolio 1.2s ease forwards;
}

/* YouTube Video Container */
.yt-video-container {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    /* Default for embedded videos in lightbox */
    background: #000;
    overflow: hidden;
    position: relative;
}

.portfolio-item.videos .yt-video-container {
    aspect-ratio: 9 / 16;
}

/* Specific adjustments for videos that shouldn't open in lightbox */
.portfolio-item.no-lightbox {
    cursor: default;
    /* Use normal cursor as it's an interactive element now */
}

.portfolio-item.no-lightbox:hover {
    transform: none;
    /* Disable lift effect to avoid clicking issues with iframes */
    border-color: var(--primary-color);
}

@keyframes fadeInPortfolio {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Section Title Separator for Portfolio Categories */
.portfolio-section-title {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 0 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.portfolio-section-title h3 {
    color: var(--primary-color);
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.1em;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    padding: 0.5rem 3rem;
    display: inline-block;
}

.portfolio-section-title.hide {
    display: none;
}

/* Show More Button */
.portfolio-show-more {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem 0;
    display: none;
}

.portfolio-show-more.show {
    display: block;
}

.portfolio-show-more.hide {
    display: none;
}

.show-more-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 1rem 3rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.show-more-btn:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-3px);
}

.show-more-btn i,
.show-more-btn svg {
    font-size: 1.2rem;
    width: 1.2rem;
    height: 1.2rem;
    transition: transform 0.3s;
}

.show-more-btn:hover i,
.show-more-btn:hover svg {
    transform: rotate(90deg);
}

.show-more-btn .photo-count {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.8;
}

.show-more-btn.expanded i,
.show-more-btn.expanded svg {
    transform: rotate(45deg);
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    pointer-events: auto;
}

.lightbox-img,
.lightbox-video {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.5);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.lightbox-close:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 4rem;
    cursor: pointer;
    padding: 2rem;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.2);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-counter {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);

    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-family: var(--font-body);
    letter-spacing: 0.2em;
}

/* ==================== SERVICES SECTION (GRID CARDS) ==================== */
.services-section-premium {
    padding: 6rem 0;
    background-color: #050505;
}

.services-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding-bottom: 4rem;
}

.service-card-premium {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--card-border, 1px solid rgba(255, 255, 255, 0.06));
    border-radius: var(--border-radius-lg, 16px);
    padding: 3rem 2rem 2rem;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

/* Royal Purple Specific Look */
.theme-royal .hero {
    background: radial-gradient(circle at 50% 50%, #2e1065 0%, #000 100%);
    overflow: hidden;
}

/* Add a glowing orb to the hero background */
.theme-royal .hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(80px);
    z-index: 0;
    animation: floatOrb 10s infinite ease-in-out;
}

.theme-royal .hero-content {
    position: relative;
    z-index: 1;
    text-align: left;
    /* Keep left but add glass backing maybe? */
}

.theme-royal .hero-title {
    text-shadow: 0 0 20px rgba(192, 132, 252, 0.5);
}

.theme-royal .service-card-premium {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

.theme-royal .service-card-premium:hover {
    transform: translateY(-10px) rotateX(2deg);
    box-shadow:
        0 20px 40px -10px rgba(126, 34, 206, 0.4),
        0 0 0 1px rgba(192, 132, 252, 0.3);
    border-color: rgba(192, 132, 252, 0.5);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
}

.theme-royal .btn {
    box-shadow: 0 0 15px var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}


/* Industrial Specific Look */
.theme-industrial .container {
    max-width: 100%;
    padding-left: 4rem;
    padding-right: 4rem;
}

.theme-industrial .hero {
    min-height: 90vh;
    border-bottom: 4px solid var(--primary-color);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.theme-industrial .hero-content {
    background: rgba(0, 0, 0, 0.8);
    padding: 3rem;
    border: 1px solid var(--primary-color);
    backdrop-filter: blur(5px);
}

.theme-industrial .hero-title {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 800;
}

.theme-industrial .btn {
    border: 1px solid var(--primary-color);
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 0;
    /* Strict square corners */
}

.theme-industrial .service-card-premium {
    border: 1px solid var(--border-color);
    background: #111;
    border-radius: 0;
    position: relative;
}

/* Add a "technical header strip" to cards */
.theme-industrial .service-card-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
}

.theme-industrial .services-title h2 {
    text-transform: uppercase;
    letter-spacing: 0.2em;
}


/* macOS window dots */
.service-card-premium::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 18px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5f57;
    box-shadow:
        16px 0 0 #febc2e,
        32px 0 0 #28c840;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.service-card-premium:hover::before {
    opacity: 1;
}

.service-card-premium:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(212, 175, 55, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--border-radius-md, 14px);
    display: flex;

    /* Wine Luxury Specific Look */
    .theme-wine .hero-content {
        align-items: center;
        text-align: center;
        margin: 0 auto;
    }

    .theme-wine .hero-title {
        font-style: italic;
        font-weight: 400;
        /* Lighter serif looks more elegant */
        font-size: clamp(4rem, 10vw, 7rem);
        /* Larger title */
        line-height: 1;
        margin-bottom: 2rem;
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    .theme-wine .hero-bg {
        filter: brightness(0.6) sepia(0.3);
        /* Warmer, vintage feel */
    }

    /* Hide standard scroll indicator for a cleaner editorial look */
    .theme-wine .scroll-indicator {
        display: none;
    }

    .theme-wine .btn {
        box-shadow: 0 4px 15px rgba(251, 113, 133, 0.3);
        letter-spacing: 2px;
        padding: 1.2rem 3rem;
    }

    .theme-wine .service-card-premium {
        border: 1px solid rgba(255, 255, 255, 0.05);
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
        backdrop-filter: blur(10px);
        text-align: center;
        align-items: center;
    }

    .theme-wine .services-title h2 {
        font-family: 'Playfair Display', serif;
        font-style: italic;
        font-weight: 400;
    }

    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.service-card-premium:hover .service-icon-box {
    background: linear-gradient(145deg, var(--primary-color), var(--primary-hover));
    color: #000;
    transform: rotateY(180deg) scale(1.1);
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.service-card-premium h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    text-transform: uppercase;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
}

.service-card-premium p {
    color: #888;
    margin-bottom: 2rem;
    line-height: 1.6;
    flex-grow: 1;
}

.service-cta {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.service-card-premium:hover .service-cta {
    gap: 1rem;
}

/* ==================== STATS SECTION ==================== */
.stats-section {
    padding: 6rem 0;
    background-color: #050505;
    border-top: 1px solid #111;
    border-bottom: 1px solid #111;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 175, 55, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: inline-block;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* ==================== FAQ SECTION ==================== */
.faq-section {
    padding: var(--section-padding-y) 0;
    background-color: var(--bg-color);
}

.faq-container {
    max-width: clamp(600px, 80vw, 900px);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin-bottom: 1rem;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.6s ease;
}

/* JS-Controlled Light Flash */
.faq-item.active-pulse {
    animation: faqFlash 1.8s ease-in-out;
}

@keyframes faqFlash {
    0% {
        border-color: rgba(255, 255, 255, 0.06);
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
        background: rgba(255, 255, 255, 0.03);
    }

    10% {
        border-color: rgba(212, 175, 55, 0.2);
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
        background: rgba(212, 175, 55, 0.05);
        /* Slight tint interior */
    }

    50% {
        border-color: rgba(212, 175, 55, 1);
        /* Multi-layered glow for "light" effect */
        box-shadow:
            0 0 15px rgba(212, 175, 55, 0.6),
            0 0 30px rgba(212, 175, 55, 0.3),
            inset 0 0 15px rgba(212, 175, 55, 0.1);
        background: rgba(212, 175, 55, 0.08);
    }

    90% {
        border-color: rgba(212, 175, 55, 0.1);
        box-shadow: 0 0 5px rgba(212, 175, 55, 0.05);
        background: rgba(255, 255, 255, 0.03);
    }

    100% {
        border-color: rgba(255, 255, 255, 0.06);
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
        background: rgba(255, 255, 255, 0.03);
    }
}

.faq-item:hover {
    border-color: rgba(212, 175, 55, 0.4) !important;
    /* Maintain hover state without breaking sync */
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    /* No 'animation: none' to keep the clock synced */
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.15);
    background: rgba(255, 255, 255, 0.05);
    animation: none;
    /* consistent active state */
}

.faq-header {
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: transparent;
    border: none;
    text-align: left;
    transition: background-color 0.3s ease;
}

.faq-item.active .faq-header {
    background: transparent;
}

.faq-question {
    color: #e5e5e5;
    font-size: 1.25rem;
    font-weight: 500;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    padding-right: 1.5rem;
    letter-spacing: 0.02em;
}

.faq-item.active .faq-question {
    color: var(--primary-color);
    text-shadow: none;
}

.faq-toggle-icon {
    color: var(--primary-color);
    min-width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center;
}

.faq-item:hover .faq-toggle-icon {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--primary-color);
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(180deg);
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* Creative FAQ Header Watermark */
.faq-header-styled {
    position: relative;
    z-index: 1;
}

.faq-header-styled::before {
    content: '?';
    font-family: 'Great Vibes', serif;
    font-size: 15rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(10deg);
    color: var(--primary-color);
    opacity: 0.03;
    z-index: -1;
    pointer-events: none;
    line-height: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    background: rgba(212, 175, 55, 0.03);
    /* Subtle Gold Tint */
    padding: 0 2rem;
}

.faq-answer p {
    color: #e0e0e0;
    /* Brighter for readability */
    font-size: 1.1rem;
    /* Slightly larger */
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.faq-answer p {
    color: #e0e0e0;
    /* Brighter for readability */
    font-size: 1.1rem;
    /* Slightly larger */
    line-height: 1.7;
    margin: 0;
}

/* ==================== PORTFOLIO MODAL ==================== */
.portfolio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95) translateY(20px);
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.4s ease;
    overflow: hidden;
}

.portfolio-modal.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.portfolio-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    flex-shrink: 0;
    background-color: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
}

.portfolio-modal-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.portfolio-modal-close {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.7rem 1.5rem;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.portfolio-modal-close:hover {
    background-color: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
}

.portfolio-modal-close svg {
    width: 18px;
    height: 18px;
}

.portfolio-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 2rem 3rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #111;
}

.portfolio-modal-body::-webkit-scrollbar {
    width: 6px;
}

.portfolio-modal-body::-webkit-scrollbar-track {
    background: #111;
}

.portfolio-modal-body::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 3px;
}

/* Inside modal: show all items by default, hide non-matching */
.portfolio-modal .portfolio-item {
    display: none;
}

.portfolio-modal .portfolio-item.show {
    display: block;
    animation: fadeInPortfolio 0.6s ease forwards;
}

/* Modal Grid Adjustment for Videos */
.portfolio-modal .portfolio-grid.video-mode {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

@media (max-width: 768px) {
    .portfolio-modal-header {
        padding: 1rem 1.5rem;
    }

    .portfolio-modal-title {
        font-size: 1.3rem;
    }

    .portfolio-modal-close span {
        display: none;
    }

    .portfolio-modal-body {
        padding: 1rem;
    }

    .portfolio-modal .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
}

@keyframes fadeInPortfolio {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== ALBUM CARDS (macOS Photos Style) ==================== */
.album-card {
    display: none;
    cursor: pointer;
    text-align: center;
    transition: transform 0.4s ease;
}

.album-card.show {
    display: block;
    animation: fadeInPortfolio 0.6s ease forwards;
}

.album-card:hover {
    transform: translateY(-8px);
}

.album-stack {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: 0 auto 1rem;
    perspective: 600px;
}

.album-stack-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
    border: 3px solid rgba(255, 255, 255, 0.15);
}

.album-stack-img.stack-3 {
    transform: rotate(-6deg) scale(0.92) translateY(8px);
    z-index: 1;
}

.album-stack-img.stack-2 {
    transform: rotate(3deg) scale(0.96) translateY(4px);
    z-index: 2;
}

.album-stack-img.stack-1 {
    transform: rotate(0deg) scale(1);
    z-index: 3;
}

/* Hover: fan out the stack */
.album-card:hover .album-stack-img.stack-3 {
    transform: rotate(-12deg) scale(0.88) translate(-15px, 10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.album-card:hover .album-stack-img.stack-2 {
    transform: rotate(8deg) scale(0.92) translate(15px, 6px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.album-card:hover .album-stack-img.stack-1 {
    transform: rotate(0deg) scale(1.02) translateY(-5px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.3);
}

.album-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.album-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.album-count {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Back button for sub-album navigation */
.portfolio-modal-back {
    display: none;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--primary-color);
    padding: 0.5rem 1.2rem;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    border-radius: 4px;
    margin-right: auto;
}

.portfolio-modal-back:hover {
    background-color: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
}

.portfolio-modal-back.visible {
    display: flex;
}

.portfolio-modal-back svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 768px) {
    .album-stack {
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .album-name {
        font-size: clamp(1.1rem, 4vw, 1.3rem);
    }
}

/* ==================== HTML TEMPLATE SWITCHING LOGIC ==================== */

/* 1. Hide all alternate templates by default */
.hero-wine-template,
.hero-industrial-template,
.hero-royal-template {
    display: none !important;
}

/* 2. WINE THEME: Show Wine Template, Hide Default */
.theme-wine .hero-default {
    display: none !important;
}

.theme-wine .hero-wine-template {
    display: flex !important;
    height: 100vh;
    align-items: center;
    justify-content: center;
    background: #4c0519;
    /* Fallback */
    background: radial-gradient(circle at center, #881337 0%, #4c0519 100%);
    color: #fb7185;
    text-align: center;
}

.theme-wine .wine-title {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    line-height: 1;
    margin: 20px 0;
}

.theme-wine .wine-separator {
    width: 60px;
    height: 1px;
    background: currentColor;
    margin: 20px auto;
}

.theme-wine .wine-btn {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid currentColor;
    border-radius: 50px;
    color: currentColor;
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 30px;
    transition: all 0.3s ease;
}

.theme-wine .wine-btn:hover {
    background: #fb7185;
    color: #4c0519;
}

/* 3. INDUSTRIAL THEME: Show Industrial Template, Hide Default */
.theme-industrial .hero-default {
    display: none !important;
}

.theme-industrial .hero-industrial-template {
    display: flex !important;
    height: 100vh;
    background: #1c1917;
    color: #f97316;
    overflow: hidden;
}

.theme-industrial .ind-left {
    width: 40%;
    padding: 10%;
    border-right: 2px solid #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #111;
}

.theme-industrial .ind-right {
    width: 60%;
    background:
        linear-gradient(#333 1px, transparent 1px),
        linear-gradient(90deg, #333 1px, transparent 1px);
    background-size: 50px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.theme-industrial .ind-title {
    font-size: 4rem;
    line-height: 0.9;
    font-weight: 900;
    margin-bottom: 30px;
}

.theme-industrial .ind-status {
    font-family: monospace;
    color: #0f0;
    margin-bottom: 20px;
}

.theme-industrial .ind-btn {
    background: #f97316;
    color: #000;
    padding: 20px;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
}

.theme-industrial .ind-stat-box {
    width: 150px;
    height: 150px;
    border: 2px solid #333;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.theme-industrial .ind-stat-val {
    font-size: 3rem;
    font-weight: bold;
}

/* 4. ROYAL THEME: Show Royal Template, Hide Default */
.theme-royal .hero-default {
    display: none !important;
}

.theme-royal .hero-royal-template {
    display: flex !important;
    height: 100vh;
    align-items: center;
    justify-content: center;
    background: #000;
    position: relative;
    overflow: hidden;
}

.theme-royal .royal-orb {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, #7e22ce 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: floatOrb 8s infinite alternate;
}

.theme-royal .royal-glass-card {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 60px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    max-width: 600px;
}

.theme-royal .royal-title {
    font-size: 5rem;
    background: linear-gradient(to right, #fff, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
}

.theme-royal .royal-btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    background: #c084fc;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transform: translateY(-5px);
    box-shadow: 0 0 20px #c084fc;
}

/* ==================== SERVICES TEMPLATE VISIBILITY ==================== */

/* 1. Hide alternate services by default */
.services-wine-template,
.services-industrial-template {
    display: none !important;
}

/* 2. WINE THEME: Show Wine Services, Hide Default */
.theme-wine .services-section-premium {
    display: none !important;
}

.theme-wine .services-wine-template {
    display: block !important;
    padding: 100px 0;
    color: #fb7185;
}

.wine-services-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.wine-service-item {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 20px;
    border-bottom: 1px solid rgba(251, 113, 133, 0.3);
    padding-bottom: 20px;
}

.ws-num {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.5rem;
    opacity: 0.7;
}

.ws-name {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    grid-column: 2;
}

.ws-desc {
    grid-column: 2;
    font-family: 'Manrope', sans-serif;
    opacity: 0.8;
}

/* 3. INDUSTRIAL THEME: Show Industrial Services, Hide Default */
.theme-industrial .services-section-premium {
    display: none !important;
}

.theme-industrial .services-industrial-template {
    display: block !important;
    background: #111;
    padding: 80px 4rem;
    color: #f97316;
}

.ind-sec-title {
    font-family: monospace;
    font-size: 2rem;
    border-bottom: 2px solid #f97316;
    margin-bottom: 40px;
    padding-bottom: 10px;
}

.ind-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2px;
    background: #333;
    /* Gap color */
    border: 2px solid #333;
}

.ind-svc-cell {
    background: #000;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 200px;
}

.ind-svc-head {
    font-weight: bold;
    font-size: 1.2rem;
}

.ind-svc-stat {
    font-family: monospace;
    opacity: 0.8;
    align-self: flex-end;
}

/* ==================== SMART QUOTE ANIMATION ==================== */
@keyframes flash-yellow {
    0% {
        background-color: rgba(255, 215, 0, 0);
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }

    10% {
        background-color: rgba(255, 215, 0, 0.2);
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
        transform: scale(1.02);
    }

    80% {
        background-color: rgba(255, 215, 0, 0);
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
        transform: scale(1);
    }

    100% {
        background-color: transparent;
    }
}

.highlight-field {
    animation: flash-yellow 1.5s ease-out forwards;
    border-color: #ffd700 !important;
    transition: border-color 0.3s ease;
}

.prefix-selected {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 0 2px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.prefix-selected:hover {
    border-color: #444;
    background: #151515;
}

.prefix-selected svg {
    opacity: 0.5;
    transition: all 0.3s ease;
}

.custom-prefix.open .prefix-selected svg {
    transform: rotate(180deg);
}

.prefix-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.prefix-code {
    min-width: 30px;
    font-size: 0.85rem;
}

.prefix-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 240px;
    max-height: 300px;
    overflow-y: auto;
    background: #0d0d0d;
    border: 1px solid #333;
    border-radius: 4px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.1);
    z-index: 100;
    padding: 4px;
}

.custom-prefix.open .prefix-dropdown {
    display: block;
}

.prefix-dropdown::-webkit-scrollbar {
    width: 6px;
}

.prefix-dropdown::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.prefix-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    color: #888;
}

.prefix-item:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #fff;
}

.prefix-item.active {
    background: rgba(212, 175, 55, 0.15);
    color: var(--primary-color);
    font-weight: 700;
}

.prefix-item img {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.prefix-item .pi-code {
    font-weight: 700;
    color: #ccc;
    min-width: 48px;
}

.prefix-item .pi-name {
    flex: 1;
}

/* ==================== PREMIUM HEADER & NAVIGATION ==================== */
.top-bar {
    display: none;
}

.top-bar .container {
    display: none;
}

@media (max-width: 991px) {
    .top-bar {
        display: none !important;
    }
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.contact-link i {
    width: 18px;
    /* Slightly larger for better visibility */
    height: 18px;
    color: var(--primary-color);
}

.phone-link {
    font-weight: 600;
    color: #fff;
}

.email-link {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-link:hover {
    color: #fff;
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.top-info .divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 5px;
}

.top-social {
    display: flex;
    gap: 15px;
}

.top-social a {
    color: #a0a0a0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    /* Better presence */
}

.top-social a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    height: var(--header-height, 80px);
    background: rgba(5, 5, 5, 0.75);
    /* Un poco más transparente para ver el blur */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    /* Separación elite de la barra superior */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    height: 70px;
    background: rgba(5, 5, 5, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.navbar-content {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1002;
    padding: 0 4%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo span {
    color: var(--primary-color);
    margin-left: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    padding: 15px 0;
    z-index: 10;
}

/* Efecto Cinematic Blur & Shine (Sin Cápsula) */
.nav-links a {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 1px;

    /* Efecto de Barrido de Luz (Shine) */
    background: linear-gradient(120deg,
            var(--primary-color) 0%,
            var(--primary-color) 40%,
            #fff 50%,
            var(--primary-color) 60%,
            var(--primary-color) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    position: relative;
    padding: 10px 0;
    text-decoration: none;
    transition: all 0.4s ease;

    /* Animaciones Combinadas: Entrada + Barrido de Luz + Sombra Móvil */
    animation:
        navLinkFade 0.8s ease backwards,
        shineSweep 6s infinite linear,
        headlightShadow 6s infinite ease-in-out;
}

@keyframes shineSweep {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes headlightShadow {

    0%,
    100% {
        filter: drop-shadow(-15px 5px 10px rgba(0, 0, 0, 0.8));
        transform: translateY(0);
    }

    50% {
        filter: drop-shadow(15px 5px 15px rgba(0, 0, 0, 0.9));
        transform: translateY(-2px);
    }
}

/* Animación de entrada escalonada */
.nav-links a:nth-child(1) {
    animation-delay: 0.1s;
}

.nav-links a:nth-child(2) {
    animation-delay: 0.15s;
}

.nav-links a:nth-child(3) {
    animation-delay: 0.2s;
}

.nav-links a:nth-child(4) {
    animation-delay: 0.25s;
}

.nav-links a:nth-child(5) {
    animation-delay: 0.3s;
}

.nav-links a:nth-child(6) {
    animation-delay: 0.35s;
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }

    to {
        opacity: 0.9;
        transform: translateY(0) scale(1);
    }
}

.nav-links a:hover {
    color: #fff !important;
    opacity: 1;
    letter-spacing: 1.2px;
    /* Micro-expansión sutil */
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

/* Subrayado Elegante que nace del centro */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--primary-color);
    opacity: 0.8;
}

.nav-links a:hover::after {
    width: 100%;
}


.btn-nav {
    background: transparent;
    color: #fff !important;
    padding: 9px 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* Borde blanco sutil en lugar de dorado */
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease !important;
    cursor: pointer;
}

.btn-nav i {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

.btn-nav:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-nav:hover i {
    transform: translateX(3px);
    opacity: 1;
    color: var(--primary-color);
}

.nav-actions-right {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
    /* Asegura que esté a la derecha */
    z-index: 10;
}

.social-group {
    display: flex;
    align-items: center;
    gap: 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 12px;
}

/* Ajustes de tamaño para Navbar (ligeramente más pequeños) */
.social-icon-link,
.email-icon-link {
    width: 28px !important;
    height: 28px !important;
}

.phone-link-top {
    font-size: 0.75rem !important;
    padding: 5px 12px !important;
}

.lang-switcher-btn {
    padding: 4px 10px !important;
    font-size: 0.7rem !important;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    cursor: pointer;
    z-index: 1003;
    padding: 12px;
    width: 48px;
    height: 48px;
    transition: all 0.3s ease;
}

.mobile-toggle:active {
    transform: scale(0.9);
    background: rgba(212, 175, 55, 0.2);
}

.mobile-toggle span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Responsive Navbar */
@media (max-width: 991px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(30px) saturate(200%);
        -webkit-backdrop-filter: blur(30px) saturate(200%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1002;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.75rem;
        width: 100%;
        text-align: center;
        padding: 1rem 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-actions-right {
        display: none;
        /* Hide desktop specific actions on mobile navbar for clarity */
    }
}

/* ==================== STATS POWER STRIP (Premium Band) ==================== */
.stats-section-premium {
    position: relative;
    padding: 15rem 0;
    /* Optimized "wide strip" (lower but panoramic) */
    background: #000;
    overflow: hidden;
}

.unified-panoramic-container {
    max-width: 1600px !important;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    /* Compact gap as requested */
    align-items: center;
}

.stats-section-premium .container,
.trust-section-premium .container {
    max-width: 1600px !important;
}

.stats-bg-parallax,
.trust-bg-parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    /* Slightly larger to prevent edges during parallax */
    background: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?q=80&w=1920&auto=format&fit=crop') no-repeat center center/cover;
    opacity: 0.35;
    z-index: 1;
    filter: grayscale(100%) contrast(1.2) brightness(0.8);
    background-attachment: fixed;
}

.trust-bg-parallax {
    background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?q=80&w=1920&auto=format&fit=crop') !important;
}

.stats-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Panoramic vignette */
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.8) 0%,
            transparent 20%,
            transparent 80%,
            rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
}

.stats-grid-premium,
.trust-grid-premium {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-around;
    /* Spaced horizontally for "wider" feel */
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(3rem, 7vw, 6rem);
}

.trust-item-premium {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    color: #fff;
    text-align: center;
}

.trust-item-premium i {
    width: 65px;
    height: 65px;
    color: var(--gold-primary);
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.6));
    animation: iconPulse Glow 3s infinite alternate;
}

.trust-item-premium span {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    font-weight: 800;
    /* More imponente */
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-primary) !important;
    /* Solid color for maximum legibility */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.4);
    display: inline-block;
}

.stat-item-premium {
    text-align: center;
    position: relative;
    flex: 1;
    min-width: 220px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    /* Efecto Metálico Dorado */
    background: linear-gradient(135deg, #fff 20%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    /* DOBLE SOMBRA: Una negra dura para separar del fondo, otra difusa para profunidad */
    filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
    display: inline-block;
}

.stat-plus {
    font-size: 3rem;
    color: var(--primary-color);
    vertical-align: super;
    font-weight: 800;
    /* Más grueso */
    margin-left: 5px;
    opacity: 1;
    /* Opacidad total */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.stat-label {
    font-family: var(--font-body);
    font-size: 1rem;
    /* Un poco más grande */
    letter-spacing: 3px;
    color: #fff;
    /* Blanco puro en lugar de gris */
    margin-top: 1.5rem;
    text-transform: uppercase;
    font-weight: 700;
    /* Más negrita */
    border-top: 2px solid var(--primary-color);
    /* Línea más visible y dorada */
    padding-top: 1rem;
    display: inline-block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
    /* Sombra de lectura */
    background: rgba(0, 0, 0, 0.3);
    /* Fondo muy sutil solo en texto para legibilidad extrema */
    padding: 0.5rem 1rem;
    /* Padding para el fondo sutil */
    border-radius: 4px;
}

.stat-icon-glow {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    opacity: 0.9;
    filter: drop-shadow(0 0 15px var(--primary-color));
    transform: scale(1);
    transition: transform 0.3s ease;
}

.stat-item-premium:hover .stat-icon-glow {
    transform: scale(1.2);
}

/* Divider lines between stats */
.stat-item-premium:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
}

@media (max-width: 900px) {
    .stats-grid-premium {
        flex-direction: column;
        gap: 4rem;
    }

    .stat-item-premium:not(:last-child)::after {
        display: none;
        /* Horizontal divider for mobile */
    }

    .stat-item-premium {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 2rem;
        width: 100%;
    }

    .stat-item-premium:last-child {
        border-bottom: none;
    }

    .stat-number {
        font-size: 4rem;
    }
}

/* ==================== SERVICES SECTION (PREMIUM GLASS - PLATINUM EDITION) ==================== */
.services-section-premium {
    padding: 6rem 0;
    position: relative;
    /* LOCAL VARS: Silver + Copper Theme */
    --service-silver: #eceff1;
    /* Plata Brillante (Blue Grey 50) */
    --primary-color: #eceff1;
    /* Override para bordes de cards y flechas */
}

.services-slider-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-grid-glass {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 5px 50px;
    /* Extra bottom padding for card hover lifting */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.services-grid-glass::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

/* Ajuste para que las tarjetas sean más pequeñas */
.services-grid-glass>* {
    flex: 0 0 280px;
    /* Ancho más compacto */
    scroll-snap-align: start;
}

/* Platinum Header Styles */
.services-header-platinum {
    max-width: 800px;
    margin: 0 auto 4rem;
    position: relative;
    padding-top: 2rem;
    text-align: center;
}

.services-title-platinum {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 0.5rem;

    /* Gradiente Plata Cromo */
    background: linear-gradient(to right, #ffffff 20%, var(--service-silver) 50%, #ffffff 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 6s linear infinite;

    /* Glow Blanco Puro */
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.services-underline {
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
    box-shadow: 0 0 15px var(--primary-color);
}

.services-subtitle-platinum {
    font-family: var(--font-body);
    font-size: 1.1rem;
    letter-spacing: 5px;
    color: #dea26c;
    /* Cobre Metálico Elegante */
    font-weight: 600;
    text-transform: uppercase;
    /* Glow Cálido Sutil */
    text-shadow:
        0 0 10px rgba(222, 162, 108, 0.4),
        0 0 20px rgba(222, 162, 108, 0.2);
}


.service-card-glass {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: left;
    transition: all 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 380px;
}

/* Background Image Layer */
.service-card-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--bg-img);
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    transition: all 0.5s ease;
    z-index: 0;
    filter: grayscale(100%);
}

.service-card-glass::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.8), rgba(0, 0, 0, 0.95));
    z-index: 1;
}

.service-card-glass>* {
    position: relative;
    z-index: 2;
}

.service-card-glass:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.1);
}

.service-card-glass:hover::before {
    opacity: 0.4;
    transform: scale(1.1);
    filter: grayscale(0%);
}

.glass-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.glass-icon-box i {
    width: 24px;
    height: 24px;
}

.service-card-glass:hover .glass-icon-box {
    background: var(--primary-color);
    color: #000;
    transform: scale(1.1) rotate(3deg);
}

.service-card-glass h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 600;
}

.service-card-glass p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.gl-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin-top: auto;
}

.gl-cta i {
    width: 16px;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.gl-cta:hover {
    color: var(--primary-color);
}

.gl-cta:hover i {
    transform: translateX(8px);
}

/* Slider Nav Buttons styling */
.services-slider-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.srv-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.srv-nav-btn:hover {
    background: var(--primary-color);
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.srv-nav-btn i {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .services-grid-glass {
        gap: 20px;
        padding-bottom: 30px;
        scroll-snap-type: x mandatory;
    }

    .services-grid-glass>* {
        flex: 0 0 260px;
    }

    .srv-nav-btn {
        width: 45px;
        height: 45px;
    }
}

/* End Services Section */

/* ==================== PORTFOLIO SECTION (ATMOSPHERE) ==================== */
#portfolio {
    position: relative;
    /* Fusión Forzada: Bordes Negros arriba/abajo + Luz en el centro */
    /* Capa 1 (Arriba): Gradiente Negro -> Transparente -> Negro (Para bordes invisibles) */
    /* Capa 2 (Abajo): La luz radial ambiental */
    background:
        linear-gradient(to bottom, #000000 0%, transparent 25%, transparent 75%, #000000 100%),
        radial-gradient(circle at 50% 40%, #1a1a1a 0%, #000000 80%);

    overflow: hidden;
    padding-top: 8rem;
    /* Más espacio para la transición */
    padding-bottom: 8rem;
}

/* Partículas Flotantes (Ambiente 3D) */
#portfolio::before,
#portfolio::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(40px);
    animation: floatParticle 10s infinite ease-in-out alternate;
}

#portfolio::before {
    top: 10%;
    left: -10%;
    animation-duration: 15s;
}

#portfolio::after {
    bottom: 10%;
    right: -10%;
    animation-duration: 12s;
}

@keyframes floatParticle {
    0% {
        transform: translate(0, 0);
        opacity: 0.3;
    }

    100% {
        transform: translate(30px, -30px);
        opacity: 0.6;
    }
}

/* Header Styles */
.portfolio-header {
    max-width: 800px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 2;
    /* Sobre las partículas */
    text-align: center;
}

.portfolio-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    line-height: 1.1;

    /* GRADIENTE METÁLICO (Oro + Plata) */
    background: linear-gradient(135deg, #e4e4e4 0%, #d4af37 40%, #f8f8f8 60%, #a08020 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    /* Brillo en movimiento */
    animation: shineText 6s linear infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.8));
}

@keyframes shineText {
    to {
        background-position: 300% center;
    }
}

.title-underline {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 1.5rem auto;
    box-shadow: 0 0 15px var(--primary-color);
    position: relative;
}

/* Línea expansiva al hover de la sección */
#portfolio:hover .title-underline {
    width: 120px;
    transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 8px;
    /* Espaciado ultra-elegante */
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    text-transform: uppercase;
    margin-top: 1rem;
    text-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

@media (max-width: 768px) {
    .portfolio-title {
        font-size: 2.2rem;
    }

    .portfolio-subtitle {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
}

/* ==================== PORTFOLIO CAROUSEL BAR (Compact Dock Style) ==================== */
.portfolio-slider-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 3rem 0;
    /* Padding equilibrado */
    display: flex;
    justify-content: center;
    background: transparent;
    overflow: hidden;
}

/* The Main Bar Container - Fixed Width Window */
.portfolio-bar {
    display: flex;
    padding: 12px;
    background: rgba(20, 20, 20, 0.75);
    /* Fondo un poco más oscuro */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    /* Bordes más curvos y estéticos */
    backdrop-filter: blur(15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);

    /* LA CLAVE: Ancho restringido y centrado */
    width: 100% !important;
    max-width: 1600px !important;
    /* Expansive bar */
    /* Tamaño "Barra Pequeña" controlada */
    margin: 0 auto;

    overflow-x: hidden;
    /* Ventana de visualización */
    position: relative;
    /* Para asegurar z-index */
}

/* Inner Track for Animation */
/* The Moving Track (Compactada) */
.portfolio-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll 40s linear infinite;
    padding: 10px 0;
}

.portfolio-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    /* Loop 1/3 (asegurado por los 3 sets) */
    100% {
        transform: translateX(calc(-100% / 3));
    }
}

/* Individual Card (Framed Gallery Style) */
.slider-item {
    flex: 0 0 180px;
    height: 250px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* ESTILO MARCO FÍSICO */
    background: #161616;
    /* Fondo oscuro del marco */
    padding: 8px;
    /* Espesor del marco */
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Borde sutil biselado */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6),
        inset 0 0 20px rgba(0, 0, 0, 0.5);
    /* Sombra interna para profunidad */
}

@media (max-width: 768px) {
    .slider-item {
        flex: 0 0 150px;
        height: 210px;
        padding: 6px;
    }
}

/* Image Strip Container (Restored) */
.strip-container {
    width: 100%;
    height: 100%;
    display: flex;
    border-radius: 4px;
    /* Suavizar esquinas de la foto interna */
    overflow: hidden;
    /* Cortar lo que sobre */
}

.image-strip {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    /* Llenar .strip-container */
    transition: transform 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Individual Images */
.strip-img {
    width: 100%;
    height: 100% !important;
    /* Forzar llenado vertical completo */
    object-fit: cover;
    display: block;
    filter: brightness(0.9) contrast(1.1);
    transition: filter 0.3s ease;
}

/* Ocultar imágenes extra */
.strip-img:not(:first-child) {
    display: none;
}

/* ===== VISUAL EFFECTS (High Impact) ===== */

/* 1. SPOTLIGHT EFFECT */
.portfolio-track:hover .slider-item:not(:hover) {
    transform: scale(0.95);
    opacity: 0.4;
    filter: grayscale(100%) blur(2px);
    transition: all 0.3s ease;
}

/* 2. STATIC REVEAL */
.slider-item:hover .image-strip {
    transform: translateY(0);
}

.slider-item:hover .strip-img {
    filter: brightness(1.1) contrast(1.1) saturate(1.2);
    /* Pop colors */
}

/* 3. GOLDEN SHEEN: Light flash on hover */
.slider-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    transition: none;
    /* Reset instantáneo */
    z-index: 15;
    pointer-events: none;
}

.slider-item:hover::after {
    left: 200%;
    transition: left 0.4s ease-in-out;
    /* Flash rápido (era 0.7s) */
}

/* Info Overlay refinement */
.slider-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 10%, transparent);
    color: #fff;
    transform: translateY(10px);
    transition: transform 0.4s ease;
    z-index: 20;
    text-align: center;
}

@media (max-width: 991px) {
    .slider-info {
        transform: translateY(0);
        opacity: 1;
        padding: 0.8rem 0.5rem;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 40%, transparent);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .slider-info .dock-icon {
        width: 40px;
        height: 40px;
        opacity: 1;
        margin: 0 auto;
    }
}

.slider-item:hover .slider-info {
    transform: translateY(0);
}

.slider-info h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 3.5vw, 1.5rem);
    /* Fluid typography */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: 100%;
    height: auto;
    opacity: 0.9;
    transition: all 0.3s ease;
    margin: 0;
}

/* ==================== HOVER EFFECTS (Premium Sidebar) ==================== */
.slider-item:hover {
    flex: 0 0 280px;
    /* Expande suavemente */
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
    border-color: var(--primary-color);
    z-index: 10;
}

.slider-item:hover .strip-img {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

.slider-item:hover .slider-info {
    background: linear-gradient(to top, rgba(212, 175, 55, 0.95), rgba(0, 0, 0, 0.5));
}

.slider-item:hover .slider-info h3 {
    color: #fff;
    font-weight: 800;
    letter-spacing: 3px;
}

.slider-item:hover .slider-info .dock-icon {
    opacity: 1;
    color: #fff;
    transform: scale(1.2);
}

/* Scroll Animation for the WHOLE slider (Optional Drag Hint) */
@keyframes float {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-5px);
    }
}

/* ==================== ABOUT SECTION ==================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    /* Más aire entre imagen y texto */
    align-items: center;
    max-width: 100% !important;
    width: 92% !important;
    /* Ancho más generoso */
    margin: 0 auto;
    padding: 2rem 0;
}

.about-image-wrapper {
    position: relative;
    padding-right: 30px;
}

.about-image-inner {
    position: relative;
    border-radius: 4px;
    /* Bordes más rectos/elegantes */
    overflow: visible;
    background: transparent;
    aspect-ratio: 4/5;
    /* Marco Decorativo al fondo */
    box-shadow:
        20px 20px 0 rgba(30, 30, 30, 0.5),
        /* Sombra dura geométrica */
        0 0 50px rgba(0, 0, 0, 0.8);
    /* Sombra difusa */
}

.about-image-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    filter: brightness(0.9) contrast(1.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-experience {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: linear-gradient(135deg, #D4AF37 0%, #B5952F 100%);
    color: #000;
    padding: 2rem 2.5rem;
    border-radius: 2px;
    /* Cuadrado minimalista */
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    z-index: 5;
    min-width: 160px;
}

.about-experience .exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.about-experience .exp-text {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-tagline {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centered */
    gap: 20px;
    transform: translateX(-5px);
    /* Optical fix: nudge left */
}

.section-tagline::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--primary-color);
}

.section-tagline::after {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--primary-color);
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.about-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-features {
    display: grid;
    gap: 1.2rem;
    margin-top: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    color: #fff;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.feature-item span {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.feature-icon i,
.feature-icon svg {
    width: 16px;
    height: 16px;
}

/* Responsive Navigation */
@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        padding-left: 40px;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .top-bar {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 5rem;
    }
}

/* Video Play Overlay */
.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    pointer-events: none;
    transition: all 0.3s ease;
}

.video-play-overlay i,
.video-play-overlay svg {
    width: 60px;
    height: 60px;
    color: #fff;
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.5));
    transition: all 0.3s ease;
}

.portfolio-item:hover .video-play-overlay i,
.portfolio-item:hover .video-play-overlay svg {
    color: var(--primary-color);
    transform: scale(1.1);
}

.lightbox-yt {
    width: 100vw;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: 95vh;
    border: none;
    display: none;
    background: #000;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

.lightbox.is-vertical .lightbox-yt {
    width: auto;
    height: 95vh;
    aspect-ratio: 9 / 16;
    max-width: 100vw;
}

@media (max-width: 768px) {
    .lightbox-yt {
        width: 100vw !important;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .lightbox.is-vertical .lightbox-yt {
        width: 100vw !important;
        height: 90vh !important;
        max-height: 90vh !important;
        aspect-ratio: 9 / 16;
        max-width: 100vw !important;
    }
}

/* ==================== SEAMLESS TRANSITION FIX (PORTFOLIO -> STATS) ==================== */
.stats-section-premium {
    position: relative;
    background-color: #000000 !important;
    box-shadow: 0 -50px 50px #000000;
    z-index: 1;
}

.stats-bg-parallax {
    /* Restaurar visibilidad: Solo difuminar un poco arriba para unir con lo negro */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 100%) !important;
    mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 100%) !important;
    opacity: 0.4 !important;
    /* Más visible */
    filter: grayscale(100%) contrast(1.2) !important;
}

/* FINAL BACKGROUND FIX: Ensure Portfolio blends with body black */
#portfolio {
    background: radial-gradient(circle at 50% 40%, rgba(26, 26, 26, 0.4) 0%, transparent 70%) !important;
}

/* ==================== SERVICES SECTION SEAMLESS INTEGRATION ==================== */
.services-section-premium {
    background: radial-gradient(circle at 50% 50%, rgba(20, 20, 20, 0.3) 0%, transparent 60%) !important;
    padding: 6rem 0;
    width: 100%;
}

.services-header-platinum {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.services-grid-glass {
    /* Centrado Inteligente: Si caben, se centran. Si no, scroll. */
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;

    display: flex;
    overflow-x: auto;
    padding-bottom: 40px;
    /* Espacio para sombras */
    padding-left: 20px;
    padding-right: 20px;

    /* Ocultar barra scroll */
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* IE/Edge */
}

.services-grid-glass::-webkit-scrollbar {
    display: none;
}

/* ==================== ABOUT TITLE TYPOGRAPHY ==================== */
.about-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    /* Grande y elegante */
    font-weight: 300;
    /* Fino para "Pasión por el" */
    line-height: 1.1;
    color: #fff;
    margin-bottom: 2rem;
}

.about-title span {
    font-weight: 800;
    /* Grueso para "Detalle Perfecto" */
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    /* Nueva línea forzada y controlada */
    margin-top: 10px;
    font-size: 1.1em;
    /* Un poco más grande que el resto */

    /* Asegurar gradiente */
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
}

/* ==================== ABOUT IMAGE COMPOSITION (COLLAGE) ==================== */
.about-composition {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    /* Espacio para la composición */
}

/* Base style for layers */
.composition-layer {
    position: absolute;
    overflow: hidden;
    border-radius: 4px;
    transition: all 0.5s ease-out;
}

.composition-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Layer 1: Atmospheric Background (Fuda/Blur) */
.layer-bg {
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    z-index: 1;
    opacity: 0.2;
    filter: blur(8px) grayscale(100%);
    /* Efecto "Fuga" */
    -webkit-mask-image: radial-gradient(circle, black 40%, transparent 80%);
    mask-image: radial-gradient(circle, black 40%, transparent 80%);
}

/* Layer 2: Main Image (Sharp Focus) */
.layer-main {
    top: 5%;
    left: 10%;
    width: 85%;
    height: 85%;
    z-index: 10;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    filter: brightness(0.9) contrast(1.1);
}

/* Layer 3: Floating Detail (Overlay) */
.layer-float {
    bottom: 0;
    left: 0;
    width: 55%;
    height: 40%;
    z-index: 15;
    box-shadow:
        10px -10px 30px rgba(0, 0, 0, 0.7),
        inset 0 0 20px rgba(0, 0, 0, 0.5);
    /* Sombra interna */
    border: 1px solid rgba(212, 175, 55, 0.3);
    /* Borde dorado sutil */
    transform: translateY(20px);
    /* Ligeramente desplazado */
}

/* Ajuste del Badge de Experiencia para que flote sobre todo */
.about-experience {
    z-index: 20 !important;
    right: 0 !important;
    bottom: 10% !important;
    /* Ajustado para no tapar demasiado la foto principal */
}

@keyframes circleOuterGlow {

    0%,
    100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1.0);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.15);
    }
}

.about-premium-layout {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 14rem 5%;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    text-align: center;
    background: transparent;
}

.about-premium-layout::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(100vw, 1200px);
    height: min(100vw, 1200px);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    /* High-fidelity multi-stop gradient to prevent pixelation/banding */
    background: radial-gradient(circle at center,
            rgba(212, 175, 55, 0.18) 0%,
            rgba(212, 175, 55, 0.12) 20%,
            rgba(212, 175, 55, 0.05) 45%,
            rgba(212, 175, 55, 0.02) 65%,
            transparent 85%);
    z-index: -1;
    pointer-events: none;
    animation: circleOuterGlow 8s ease-in-out infinite;
    will-change: transform, opacity;
}

.about-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #e5e5e5;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.feature-icon {
    color: var(--primary-color);
    width: 18px;
    height: 18px;
}

/* Signature Block */
.about-signature-block {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.signature {
    font-family: 'Great Vibes', 'Playfair Display', serif;
    /* Fallback if no cursive loaded, user has Google Fonts */
    font-size: 3rem;
    color: var(--primary-color);
    transform: rotate(-5deg);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.founder-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #888;
}

/* Floating Badge */
.about-floating-badge {
    position: absolute;
    top: 75%;
    /* Moved down to avoid overlap */
    right: 5%;
    /* Slightly closer to edge */
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(5, 5, 5, 0.8);
    border: 1px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: floatBadge 6s ease-in-out infinite;
    z-index: 5;
    overflow: hidden;
}

.badge-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    height: 90%;
    border-radius: 50%;
    border: 1px dashed rgba(212, 175, 55, 0.3);
}

.badge-year {
    font-size: 0.7rem;
    color: #aaa;
}

.badge-val {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1;
}

.badge-text {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .about-floating-badge {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 2rem;
    }

    .about-features {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .about-premium-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ==================== FINAL PREMIUM POLISH & SEAMLESS OVERRIDES ==================== */

/* Unified Stats Counter Enhancements */
.stats-section-premium {
    padding: 15rem 0;
    /* Espacio panorámico optimizado */
    overflow: hidden;
}

.stat-number {
    font-size: 5.5rem !important;
    /* Más impacto */
    font-weight: 800;
    letter-spacing: -2px;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4)) !important;
}

.stat-plus {
    font-size: 3rem;
    color: var(--primary-color);
    margin-left: 2px;
    font-weight: 300;
}

.stat-label {
    letter-spacing: 5px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.8rem !important;
}

/* Portfolio Refinement */
.portfolio-title {
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.portfolio-bar {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio-bar:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8) !important;
    border-color: rgba(212, 175, 55, 0.3) !important;
}

/* Primary Button Glow */
.btn-primary {
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover::after {
    opacity: 1;
}

/* ==================== CLEAN CENTERED VIEW (ONLY TEXT) ==================== */
.about-text-content {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
}

.about-title {
    font-size: 7rem !important;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 3rem;
    font-family: var(--font-heading);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-title .text-gradient-gold {
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
    white-space: nowrap;
}

.about-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 4px;
    background: var(--gradient-gold);
    margin-top: 2rem;
    border-radius: 2px;
}

.about-desc {
    font-size: 1.6rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 4rem;
    font-weight: 300;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-features {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.feature-item {
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* ==================== EXCELLENCE SHOWCASE (SIDE BY SIDE) ==================== */
.excellence-showcase {
    width: 100%;
    background: #000;
    padding: 100px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.showcase-container {
    display: flex;
    justify-content: space-between;
    /* Empuja a los extremos */
    align-items: center;
    gap: 4rem;
    /* Gran separación */
    position: relative;
    max-width: 1800px;
    width: 100%;
    padding: 0 4rem;
    flex-wrap: wrap;
    /* Para móviles */
}

.showcase-box {
    position: relative;
    flex: 1;
    max-width: 500px;
    /* Limitar ancho para asegurar que se vayan a esquinas */
    min-width: 300px;
    /* Evita que se aplasten demasiado */
}

/* --- CENTER LUXURY ELEMENT --- */
.showcase-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    /* Más espacio vertical para el fondo */
    gap: 1.5rem;
    flex: 0 1 auto;
    min-width: 300px;
    z-index: 10;
    position: relative;
}

/* Subtle Premium Glow Behind Text */
.showcase-center::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
    filter: blur(20px);
}

.luxury-line-vertical {
    width: 1px;
    height: 100px;
    /* Un poco más largas */
    background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
    opacity: 0.8;
    position: relative;
    display: flex;
    justify-content: center;
}

/* Diamond Ornaments on Lines */
.luxury-line-vertical::before,
.luxury-line-vertical::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    transform: rotate(45deg);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
}

/* Diamante Superior (para línea de arriba) o Central dependiendo del uso */
.luxury-line-vertical::before {
    top: 0;
    animation: pulseGlow 3s infinite alternate;
}

.luxury-line-vertical::after {
    bottom: 0;
    animation: pulseGlow 3s infinite alternate-reverse;
}

@keyframes pulseGlow {
    from {
        box-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
        opacity: 0.7;
    }

    to {
        box-shadow: 0 0 15px rgba(212, 175, 55, 1);
        opacity: 1;
    }
}

.luxury-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.luxury-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

.luxury-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    /* Ligeramente más grande */
    line-height: 1.1;
    font-weight: 500;
    margin: 0.5rem 0;
    font-style: italic;
    position: relative;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    /* Sombra profunda para contraste */
}

.luxury-icon {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.6));
    animation: floatIcon 3s ease-in-out infinite;
}

.luxury-icon svg {
    width: 32px;
    height: 32px;
}

/* Shimmer Animation for Gold Text */
.shimmer-text {
    background-size: 200% auto;
    animation: Shine 3s linear infinite;
}

@keyframes Shine {
    to {
        background-position: 200% center;
    }
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Luxury Gallery Button (Refined Simple Premium) */
.btn-luxury-gallery {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    padding: 0.8rem 2.5rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    /* Borde más sutil */
    background: rgba(0, 0, 0, 0.2);
    /* Fondo oscuro semitransparente */
    backdrop-filter: blur(4px);
    /* Efecto cristal */
    color: #fff;
    text-decoration: none;
    letter-spacing: 4px;
    /* Más espaciado = más lujo */
    font-size: 0.7rem;
    text-transform: uppercase;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    /* Bordes rectos para seriedad/limpieza */
}

/* Hover: Simple Glow fill */
.btn-luxury-gallery:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.8);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
    /* Glow suave difuso */
    padding-left: 3rem;
    /* Sutil movimiento de expansión */
    padding-right: 2rem;
}

.btn-luxury-gallery i {
    width: 14px;
    height: 14px;
    transition: transform 0.4s ease;
    opacity: 0.8;
}

.btn-luxury-gallery:hover i {
    transform: translateX(8px);
    opacity: 1;
    color: var(--primary-color);
}

/* Remove slide pseudo-element for simplicity */
.btn-luxury-gallery::before {
    display: none;
}

/* Social Icons Original Brand Colors */
.social-icon-link.original-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 75px !important;
    height: 75px !important;
    border-radius: 50%;
    background: transparent;
    transition: transform 0.3s ease;
}

.social-icon-link.original-brand img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.social-icon-link.original-brand:hover img {
    transform: scale(1.1);
}

/* Hide fallback/SVG icons */
.social-icon-link.original-brand svg,
.social-icon-link.original-brand i {
    display: none;
}

/* Ensure no global filters override the SVG colors */
.social-icon-link.original-brand i {
    display: none;
    /* Hide Lucide icons just in case */
}

@media (max-width: 1024px) {
    .showcase-center {
        order: -1;
        /* Poner título arriba en tablets/móviles */
        width: 100%;
        padding: 2rem 0;
        flex-direction: row;
        /* Horizontal en móvil */
    }

    .luxury-line-vertical {
        width: 60px;
        height: 1px;
        background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    }
}

/* Eliminar estilos de ancla/superposición previos */
.showcase-box:nth-child(1),
.showcase-box:nth-child(2) {
    z-index: auto;
    transform: none;
    margin: 0;
}

.showcase-img-container {
    height: auto;
    /* Altura adapta al contenido */
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
    overflow: hidden;
    transition: transform 0.5s ease, border-color 0.3s ease;
}

.showcase-img-container img {
    height: auto;
    width: 100%;
    display: block;
    object-fit: contain;
    /* Muestra toda la imagen sin recortar */
    filter: brightness(0.9);
    transition: transform 0.8s ease, filter 0.5s ease;
}

.showcase-box:hover .showcase-img-container {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.showcase-box:hover .showcase-img-container img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Título que corona la composición */
.showcase-branding {
    position: absolute;
    top: 20px;
    /* Adjusted to be inside the section, not outside */
    right: 5%;
    /* Inside container padding */
    text-align: right;
    z-index: 5;
    max-width: 800px;
}

.showcase-branding .main-title {
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    color: #fff;
    letter-spacing: -3px;
}

.showcase-branding .gold-text {
    display: block;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
}

/* Hover sutil sin temblor */
.showcase-box:hover .showcase-img-container {
    transform: scale(1.05);
    /* Escala lenta y controlada en contenedor grande */
}

.showcase-box:hover img {
    filter: brightness(0.8);
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .showcase-container {
        flex-direction: column;
        height: auto;
    }

    .showcase-box {
        height: 500px;
    }

    .showcase-title {
        font-size: 3rem;
    }
}


/* Estilos específicos para el texto de Sobre Nosotros */
.about-text-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-title {
    font-size: 3.5rem !important;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.about-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.feature-item {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.feature-icon {
    color: var(--primary-color);
}

/* ==================== FOOTER ==================== */
/* Obsolete site-footer removed */

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    text-align: center;
    flex-wrap: wrap;
    padding: var(--container-padding);
    width: 100%;
}

/* ==================== AGENCY CREDIT (Footer - Inline) ==================== */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-4px);
    }

    100% {
        transform: translateY(0px);
    }
}

.agency-logo-inline {
    height: 70px;
    /* Logo size */
    width: auto;
    display: inline-block;
    vertical-align: middle;
    margin: -5px -35px 0 -25px;
    /* Tighter Right (-35px), same Left (-25px) */
    /* Check alignment */
    transition: transform 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.agency-logo-inline:hover {
    transform: scale(1.2);
}

.agency-text {
    color: #888;
    font-size: 0.9rem;
    /* Matched to copyright */
    font-weight: 200;
}

.agency-text strong {
    background: linear-gradient(90deg, #ffffff, #d387ff, #7f2aff);
    /* White to Purple Gradient */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    letter-spacing: 0.5px;
    filter: drop-shadow(0 0 5px rgba(168, 85, 247, 0.4));
    /* Subtle glow */
    display: inline-block;
    /* Required for transform */
    animation: float 3s ease-in-out infinite;
    animation-delay: 0.2s;
    /* Slight delay for wave effect */
}


/* ==================== CONTACT SOCIALS (Relocated) ==================== */
.social-buttons-row {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
    flex-wrap: wrap;
    font-size: 1.1rem
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
}

.social-btn svg {
    width: 20px;
    height: 20px;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* TikTok Specific */
.social-btn.tiktok:hover {
    background: #000;
    border-color: #00f2ea;
    box-shadow: 0 5px 15px rgba(0, 242, 234, 0.15);
}

/* Instagram Specific */
.social-btn.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(214, 36, 159, 0.2);
}

.copyright {
    color: #666;
    font-size: 0.9rem;
}

.footer-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

/* ==================== TESTIMONIALS SECTION ==================== */
/* ==================== TESTIMONIALS SECTION - PREMIUM REDESIGN ==================== */
.section-header-premium {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.tagline-premium {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.tag-line {
    height: 1px;
    width: 40px;
    background: linear-gradient(90deg, transparent, #D4AF37);
}

.tag-line:last-child {
    background: linear-gradient(-90deg, transparent, #D4AF37);
}

.tag-text {
    color: #D4AF37;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.display-cursive {
    font-family: 'Great Vibes', cursive;
    font-size: 1.3em;
    font-weight: 400;
    text-transform: none;
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
}

/* ==================== PREMIUM TESTIMONIALS HEADER ==================== */
.testimonials-header-premium {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    z-index: 2;
}

.testimonials-header-premium .section-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 5px;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.testimonials-header-premium .section-tagline::before,
.testimonials-header-premium .section-tagline::after {
    content: '';
    height: 1px;
    width: 80px;
    background: linear-gradient(to right, transparent, var(--primary-color));
}

.testimonials-header-premium .section-tagline::after {
    background: linear-gradient(to left, transparent, var(--primary-color));
}

.testimonials-header-premium h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 6vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 30px;
    color: #fff;
    font-weight: 700;
}

.testimonials-header-premium .display-cursive {
    margin-left: 10px;
}

.testimonials-subtitle-premium {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 300;
}

.testimonials-section {
    padding: 80px 0;
    background: #050505;
    position: relative;
}

/* ==================== TESTIMONIALS SECTION - INFINITE CAROUSEL ==================== */
.testimonials-section {
    padding: 80px 0;
    background: #050505;
    position: relative;
    overflow: hidden;
}

.testimonials-carousel-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonials-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollInfinite 40s linear infinite;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes scrollInfinite {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card-compact {
    background: rgba(15, 15, 15, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 30px;
    border-radius: 20px;
    width: 350px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.testimonial-card-compact:hover {
    background: rgba(20, 20, 20, 0.6);
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-5px);
}

.star-rating-mini {
    display: flex;
    gap: 3px;
    margin-bottom: 15px;
}

.star-rating-mini .star-fill {
    width: 12px;
    height: 12px;
    fill: #D4AF37;
    color: #D4AF37;
}

.testimonial-text-small {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ccc;
    font-style: italic;
    margin-bottom: 20px;
    font-weight: 300;
}

.author-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}

.avatar-mini {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.info-mini strong {
    display: block;
    color: #fff;
    font-size: 0.9rem;
    font-family: 'Playfair Display', serif;
}

.info-mini span {
    color: #D4AF37;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* EXPLORE CTA BUTTON */
.testimonials-cta {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.btn-premium-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 30px;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: #D4AF37;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: all 0.4s ease;
}

.btn-premium-outline:hover {
    background: #D4AF37;
    color: #000;
    transform: translateY(-5px);
}

.btn-premium-outline i {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .testimonials-dynamic-grid {
        grid-template-columns: 1fr;
    }
}

/* Standalone Testimonial Card (Page) */
.testimonial-card {
    background: rgba(15, 15, 15, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 40px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background: rgba(20, 20, 20, 0.6);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card .quote-icon {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: rgba(212, 175, 55, 0.05);
    z-index: 0;
    pointer-events: none;
}

.testimonial-card .star-rating {
    display: flex;
    gap: 5px;
    color: #D4AF37;
    margin-bottom: 5px;
    z-index: 1;
}

.testimonial-card .star-rating i {
    width: 16px;
    height: 16px;
}

.testimonial-card .star-rating .star-fill {
    fill: #D4AF37;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #e0e0e0;
    font-style: italic;
    font-weight: 300;
    flex-grow: 1;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    z-index: 1;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.author-info h4 {
    margin: 0;
    font-size: 1rem;
    color: #fff;
    font-family: 'Playfair Display', serif;
}

.author-info p {
    margin: 0;
    font-size: 0.8rem;
    color: #D4AF37;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Page Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

@media (max-width: 768px) {

    .testimonials-grid,
    .testimonials-dynamic-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 30px;
    }
}



/* ==================== NAVBAR MANUAL CONTROLS ==================== */
/* A�ade esto para controlar la posici�n del logo */




/* ==================== PREMIUM UI ENHANCEMENTS ==================== */

/* 1. Custom Cursor */
.custom-cursor {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: transform 0.1s ease-out, width 0.3s, height 0.3s;
    transform: translate3d(-100%, -100%, 0);
}

.custom-cursor.active {
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid var(--primary-color);
}

@media (max-width: 1024px) {
    .custom-cursor {
        display: none;
    }
}

/* 2. Before / After Slider */
.ba-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    cursor: col-resize;
}

.ba-after {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ba-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-size: cover;
    background-position: left center;
    border-right: 2px solid #fff;
    z-index: 1;
}

.ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    bottom: 0;
    width: 4px;
    background: #fff;
    transform: translateX(-50%);
    z-index: 2;
    pointer-events: none;
}

.ba-handle::after {
    content: '↔';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    font-weight: bold;
}

/* 3. Dynamic Testimonials */
.testimonials-dynamic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}



.stars {
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.client-info {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
}

.client-info strong {
    color: #fff;
}

.client-info span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ==================== CONTACT SECTION RESTORED ==================== */
.contact-section {
    position: relative !important;
    padding: 100px 0 !important;
    overflow: hidden !important;
    display: block !important;
    background: linear-gradient(to bottom,
            #000 0%,
            #0c0c0c 150px,
            #0c0c0c calc(100% - 150px),
            #000 100%) !important;
    min-height: 500px !important;
    z-index: 99 !important;
}

/* Ambient Background Glow (Enhanced for balance) */
.contact-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    /* Centered for overall balance */
    width: 1000px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

/* --- Global Luxury Particles (Gold Snow) --- */
.global-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999999;
    background-image:
        radial-gradient(2px 2px at 20% 10%, rgba(212, 175, 55, 0.6), transparent),
        radial-gradient(2px 2px at 40% 30%, rgba(212, 175, 55, 0.5), transparent),
        radial-gradient(3px 3px at 60% 20%, rgba(212, 175, 55, 0.4), transparent),
        radial-gradient(2px 2px at 80% 40%, rgba(212, 175, 55, 0.6), transparent),
        radial-gradient(2px 2px at 10% 60%, rgba(212, 175, 55, 0.5), transparent),
        radial-gradient(3px 3px at 90% 80%, rgba(212, 175, 55, 0.4), transparent),
        radial-gradient(2px 2px at 30% 90%, rgba(212, 175, 55, 0.5), transparent),
        radial-gradient(2px 2px at 70% 70%, rgba(212, 175, 55, 0.3), transparent);
    background-size: 500px 500px;
    opacity: 0.6;
    animation:
        goldSnow 30s linear infinite,
        particlesPulse 8s ease-in-out infinite;
    animation-delay: 0s, 2s;
    /* Sincronizado con titleShine */
}

@keyframes goldSnow {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 500px 1000px;
    }
}

@keyframes particlesPulse {

    0%,
    100% {
        opacity: 0.4;
        filter: brightness(1);
    }

    10% {
        opacity: 0.9;
        filter: brightness(1.5);
    }

    20% {
        opacity: 0.4;
        filter: brightness(1);
    }
}

/* Micro-texture Lines (Architectural style) */
.contact-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 100%;
    background-image: linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to right, black, transparent);
    pointer-events: none;
    z-index: 1;
}

.contact-container {
    position: relative;
    z-index: 10;
    max-width: 1200px !important;
    width: 90% !important;
    margin: 0 auto !important;
    display: grid;
    grid-template-columns: 0.9fr 1.4fr;
    gap: 4rem;
    padding: 0 15px !important;
}

@media (max-width: 991px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-top: 50px !important;
    }

    .contact-info {
        text-align: center;
    }

    .contact-intro-premium {
        margin-left: auto;
        margin-right: auto;
    }
}

.contact-info h2.contact-title-premium {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #fff;
    text-wrap: balance;
}

.contact-intro-premium {
    font-size: 0.95rem;
    color: #999;
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 90%;
}

.contact-supertitle {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

/* --- New Premium Contact Message --- */
.contact-message-premium {
    margin: 2.5rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.contact-message-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.05), transparent);
    transform: translateX(-100%);
    animation: premiumGlint 5s infinite linear;
}

@keyframes premiumGlint {
    0% {
        transform: translateX(-100%);
    }

    20%,
    100% {
        transform: translateX(100%);
    }
}

.premium-text {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    position: relative;
}

.premium-icon {
    display: inline-block;
    color: var(--primary-color);
    margin-right: 10px;
    vertical-align: middle;
}

.premium-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

.premium-promise {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
}

.premium-promise strong {
    color: #eee;
}

.contact-form {
    background: rgba(15, 15, 15, 0.7);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

/* Form Rim Light */
.contact-form::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 100px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, transparent 50%);
    border-radius: 12px 12px 0 0;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, black, transparent);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 576px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* Form structure items follow natural grid flow */
.form-grid .form-group:nth-child(5) {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.5);
}

/* PHONE PREFIX SELECTOR STYLES */
.phone-input-group {
    display: flex;
    gap: 10px;
    position: relative;
    align-items: stretch;
}

.prefix-container {
    position: relative;
    min-width: 75px;
    display: flex;
}

.prefix-selected {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    padding: 0 8px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prefix-selected:hover {
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.5);
}

.prefix-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 280px;
    max-height: 300px;
    overflow-y: auto;
    background: #151515;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    display: none;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.prefix-dropdown.active {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

.prefix-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s;
}

.prefix-option:hover {
    background: rgba(212, 175, 55, 0.15);
}

.prefix-flag {
    width: 25px;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.prefix-code {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 30px;
}

.prefix-name {
    color: #e0e0e0;
    font-size: 0.85rem;
}

/* Scrollbar for dropdown */
.prefix-dropdown::-webkit-scrollbar {
    width: 6px;
}

.prefix-dropdown::-webkit-scrollbar-track {
    background: #0a0a0a;
}

.prefix-dropdown::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

.prefix-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.form-actions-grid {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    margin: 2rem auto 0 auto;
    width: 100%;
    max-width: 600px;
}

.contact-form-hint {
    text-align: center;
    color: rgba(212, 175, 55, 0.85);
    font-size: 0.85rem;
    margin: 2.5rem auto 0;
    max-width: 600px;
    line-height: 1.6;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding-top: 2rem;
    position: relative;
    display: block;
    animation: fadeInUp 1.2s ease-out forwards, hintGlow 4s ease-in-out infinite alternate;
    opacity: 0;
}

.contact-form-hint::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(to right,
            transparent,
            rgba(212, 175, 55, 0.4),
            transparent);
}

@keyframes hintGlow {
    from {
        text-shadow: 0 0 5px rgba(212, 175, 55, 0.2);
        color: rgba(212, 175, 55, 0.7);
    }

    to {
        text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
        color: rgba(212, 175, 55, 0.9);
    }
}

.btn-submit,
.btn-whatsapp {
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    font-weight: 800;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex: 1;
    max-width: 280px;
}

.btn-submit {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    color: #D4AF37;
    border: 1px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            transparent,
            rgba(212, 175, 55, 0.3),
            transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
}

.btn-submit:hover::before {
    left: 150%;
}

.btn-submit:hover {
    transform: translateY(-3px);
    border-color: #D4AF37;
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.15);
    background: #0a0a0a;
    color: #fff;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #0a0a0a 0%, #050505 100%);
    color: #fff;
    border: 1px solid rgba(37, 211, 102, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.btn-whatsapp i {
    color: #25D366;
    filter: drop-shadow(0 0 5px rgba(37, 211, 102, 0.5));
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    border-color: #25D366;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.15);
    background: #050505;
}

/* ==================== CONTACT SECTION V2 (BYPASS) ==================== */
.contact-section-v2 {
    position: relative !important;
    padding: 80px 0 !important;
    overflow: visible !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    background-color: var(--bg-paper) !important;
    min-height: 500px !important;
    z-index: 50 !important;
}

.contact-section-v2 .contact-container {
    opacity: 1 !important;
    transform: none !important;
}

/* Consolidación Estilos Elite Top Bar */
.top-right-actions {
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 100;
}

.email-icon-link,
.social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    perspective: 1000px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), inset 0 0 10px rgba(212, 175, 55, 0.05);
}

/* Forzar colores permanentes en los SVG de Lucide */
.social-icon-link[aria-label="Facebook"] svg,
.email-icon-link svg {
    color: #D4AF37 !important;
    /* Oro Champagne */
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.4));
    width: 14px !important;
    height: 14px !important;
    stroke-width: 2.5px;
}

.social-icon-link[aria-label="Instagram"] svg {
    color: #FFD700 !important;
    /* Oro más brillante */
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.5));
    width: 14px !important;
    height: 14px !important;
    stroke-width: 2.5px;
}

.lang-switcher-btn svg {
    color: #E0E0E0 !important;
    /* Plata */
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
    width: 16px !important;
    height: 16px !important;
    stroke-width: 2.5px;
}

/* Efecto Shimmer Mejorado (Auto-animado cada cierto tiempo para llamar la atención) */
.email-icon-link::after,
.social-icon-link::after,
.lang-switcher-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.4), transparent);
    transform: skewX(-25deg);
    pointer-events: none;
    animation: autoShimmer 8s infinite;
}

@keyframes autoShimmer {
    0% {
        left: -150%;
    }

    15% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

.email-icon-link:hover::after,
.social-icon-link:hover::after,
.lang-switcher-btn:hover::after {
    animation: shimmerEffect 0.8s ease-in-out;
}

/* Hover Elite 3D */
.email-icon-link:hover,
.social-icon-link:hover {
    transform: scale(1.2) translateY(-2px) rotateX(15deg) rotateY(15deg);
    background: rgba(212, 175, 55, 0.1);
    border-color: #D4AF37;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.3);
}

.email-icon-link:hover svg,
.social-icon-link:hover svg {
    color: #fff !important;
    filter: drop-shadow(0 0 10px #D4AF37);
    transform: scale(1.1);
}

.phone-link-top {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.82rem;
    padding: 8px 18px;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(15px) saturate(200%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 25px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    letter-spacing: 0.8px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(212, 175, 55, 0.1);
}

/* Borde Animado de "Oro Líquido" - Suave en reposo, intenso en hover */
.phone-link-top::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 0deg,
            transparent 0%,
            transparent 40%,
            #D4AF37 50%,
            transparent 60%,
            transparent 100%);
    animation: rotateLiquid 3s linear infinite;
    z-index: -1;
    opacity: 0.2;
    /* Visible suavemente en reposo */
    transition: opacity 0.4s ease;
}

.phone-link-top:hover::before {
    opacity: 1;
}

@keyframes rotateLiquid {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.phone-link-top:hover {
    background: rgba(20, 20, 20, 0.8);
    border-color: transparent;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
    transform: translateY(-2px);
}

.nav-rating-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 6px 15px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-rating-badge:hover {
    background: rgba(212, 175, 55, 0.2) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.1);
}

.phone-link-top i {
    width: 14px;
    height: 14px;
    color: #D4AF37;
    animation: phonePulse 2s infinite;
}

@keyframes phonePulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px rgba(212, 175, 55, 0));
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.8));
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px rgba(212, 175, 55, 0));
    }
}

.phone-link-top:hover span {
    color: #D4AF37;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.lang-switcher-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    outline: none;
    position: relative;
    overflow: hidden;
    perspective: 500px;
}

.lang-switcher-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            transparent,
            rgba(255, 255, 255, 0.15),
            transparent);
    transform: skewX(-25deg);
    pointer-events: none;
}

.lang-switcher-btn:hover::after {
    animation: shimmerEffect 0.8s ease-in-out;
}

.lang-switcher-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: #D4AF37;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px) rotateX(5deg);
}

.lang-switcher-btn i {
    width: 16px;
    height: 16px;
}

/* Responsive adjustment */
@media (max-width: 1400px) {
    .top-right-actions {
        right: 15px;
    }
}

@media (max-width: 1100px) {
    .phone-link-top span {
        display: none;
        /* Icon only on medium screens if crowded */
    }
}

@media (max-width: 991px) {
    .top-right-actions {
        position: static;
        transform: none;
        flex-direction: row;
        justify-content: center;
        margin-top: 10px;
        width: 100%;
    }

    .phone-link-top span {
        display: inline;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }

    .top-bar {
        padding: 5px 0;
    }
}


.lang-flag {
    width: 20px;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.top-social {
    display: flex;
    align-items: center;
}


/* ==================== CONTACT V2 INNER STYLES ==================== */
.contact-section-v2 .contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 3% !important;
    align-items: start;
    opacity: 1 !important;
    transform: none !important;
}

.contact-section-v2 .contact-info {
    color: #fff;
}

.contact-section-v2 .contact-supertitle {
    display: block;
    color: #cca43b;
    /* Gold */
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-section-v2 h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
}

.contact-section-v2 h2 span {
    color: #cca43b;
}

.contact-section-v2 p {
    color: #a0a0a0;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 500px;
}

.contact-section-v2 .contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-section-v2 .contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-section-v2 .contact-item-icon {
    width: 50px;
    height: 50px;
    background: rgba(204, 164, 59, 0.1);
    color: #cca43b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-section-v2 .contact-label {
    display: block;
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.contact-section-v2 .contact-value {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
}

/* Form Styles */
.contact-section-v2 .contact-form {
    background: #111;
    padding: 50px;
    border-radius: 20px;
    border: 1px solid #222;
}

.contact-section-v2 .form-group {
    margin-bottom: 25px;
}

.contact-section-v2 label {
    display: block;
    color: #fff;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.contact-section-v2 .form-input {
    width: 100%;
    background: #0a0a0a;
    border: 1px solid #333;
    padding: 15px;
    color: #fff;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-section-v2 .form-input:focus {
    border-color: #cca43b;
    outline: none;
}

.contact-section-v2 .form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Mobile */
@media (max-width: 991px) {
    .contact-section-v2 .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-section-v2 .contact-form {
        padding: 30px;
    }
}

/* Added for Stronger Glint Animation based on user request */
@keyframes shineText {
    0% {
        background-position: 0% 50%;
        filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
    }

    50% {
        background-position: 100% 50%;
        filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.9));
    }

    100% {
        background-position: 0% 50%;
        filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
    }
}

.text-shine-gold {
    background: linear-gradient(to right,
            #BF953F 20%,
            #FCF6BA 40%,
            #B38728 60%,
            #FBF5B7 80%,
            #AA771C 100%) !important;
    background-size: 200% auto !important;
    color: transparent !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    animation: shineText 3s linear infinite !important;
}

/* ==================== FINAL HARD RESET & LAYOUT FIX ==================== */
html,
body {
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body {
    min-height: 100vh !important;
    width: 100% !important;
    overflow-x: hidden !important;
    background-color: #000000 !important;
}

.page-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
}

.main-content {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ==================== PANORAMA FOOTER 100VW ==================== */
/* ==================== PANORAMA FOOTER 100VW ==================== */
.panorama-footer {
    background-color: #050505;
    color: var(--text-secondary);
    background: #000;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.footer-content {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container_padding);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.6fr 1.2fr;
    align-items: center;
    gap: 1rem;
}

/* Animations */
@keyframes footerPulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px rgba(212, 175, 55, 0));
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
    }
}

/* --- Block 1: Contact (Left) --- */
.footer-contact-block {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-right: 25px;
    align-items: flex-start;
    height: fit-content;
    align-self: center;
    position: relative;
}

/* Línea divisoria izquierda estandarizada */
.footer-contact-block::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 70%;
    background: rgba(255, 255, 255, 0.05);
}

.footer-contact-block a,
.footer-contact-block span {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.footer-contact-block a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.footer-contact-block a:hover .footer-contact-icon {
    transform: scale(1.1);
    border-color: var(--primary-color);
}

.footer-contact-block i {
    display: none;
    /* Ocultar iconos Lucide remanentes */
}

/* --- Top Navigation --- */
.footer-nav-top {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 3px;
    /* Espacio para separar de la grid inferior */
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-links-minimal {
    list-style: none;
    display: flex;
    gap: 25px;
    padding: 0;
    margin: 0;
}

/* --- Block 2: Brand (Center) --- */
.footer-brand-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    /* Casi sin espacio entre nav, logo y desc */
    padding: 0 15px;
    position: relative;
}

.footer-nav-simple {
    margin: 0;
}

.footer-links-minimal a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding-left: 12px;
    display: flex;
    align-items: center;
}

/* Diamante decorativo premium antes de cada link */
.footer-links-minimal a::before {
    content: '';
    position: absolute;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--gradient-gold);
    transform: rotate(45deg);
    opacity: 0.5;
    transition: all 0.4s ease;
}

/* Subrayado animado dorado */
.footer-links-minimal a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 15px;
    width: 0;
    height: 1px;
    background: var(--gradient-gold);
    transition: width 0.4s ease;
}

.footer-links-minimal a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.footer-links-minimal a:hover::before {
    opacity: 1;
    transform: rotate(225deg) scale(1.2);
    box-shadow: 0 0 8px var(--primary-color);
}

.footer-links-minimal a:hover::after {
    width: calc(100% - 15px);
}

.footer-logo {
    font-size: clamp(0.9rem, 3.8vw, 1.4rem);
    font-weight: 800;
    letter-spacing: 1px;
    margin: 10px 0;
    line-height: 1.2;
    text-transform: uppercase;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    animation: logoGlow 4s infinite ease-in-out;
}

.footer-brand-block {
    transition: all 0.5s ease;
    cursor: default;
}

.footer-brand-block:hover {
    transform: translateY(-5px);
}

.footer-brand-block:hover .footer-logo .logo-yellow {
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.8));
    transform: scale(1.05);
}

.footer-logo .logo-white {
    color: #fff;
}

@keyframes goldTextShimmer {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

@keyframes logoGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
    }

    50% {
        filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.6));
    }
}

.footer-logo .logo-yellow {
    background: linear-gradient(90deg,
            #d4af37 0%,
            #ffffff 50%,
            #d4af37 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
    font-size: 2.2rem;
    letter-spacing: 3px;
    font-weight: 900;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    animation: goldTextShimmer 3s infinite linear;
    display: inline-block;
}

.footer-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    line-height: 1.7;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 10px;
    margin: 0;
}

/* Marca decorativa debajo de la descripción */
.footer-description::after {
    content: '◆';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-color);
    font-size: 0.7rem;
    opacity: 0.5;
}

/* --- Block 3: Actions & Credits (Right) --- */
.footer-actions-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Cambiado a center para balancear con el diseño */
    gap: 20px;
    padding-left: 25px;
    position: relative;
}

/* Línea divisoria derecha estandarizada (igual a la izquierda) */
.footer-actions-block::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 110px;
    /* Mismo tamaño que la izquierda (110px) */
    background: rgba(255, 255, 255, 0.05);
}

.footer-upper-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 30px;
}


.footer-social-column {
    margin-top: 1.5rem;
    /* Reducido para barra fina */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centrado */
    gap: 0.5rem;
}

.footer-social-title {
    font-size: 0.85rem;
    /* Aumentado de 0.7rem */
    color: var(--primary-color);
    letter-spacing: 2px;
    font-weight: 800;
    /* Más grueso */
    margin-bottom: 12px;
    /* Separación de los iconos */
    text-transform: uppercase;
    opacity: 1;
    /* Máxima notoriedad */
}

.footer-social-list {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    /* Allow wrapping on mobile */
}

.social-item-with-text {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-item-with-text:hover {
    transform: translateY(-3px);
    /* Hover vertical para diseño centrado */
}

.social-icon-wrapper {
    width: 45px;
    /* Reducido para barra fina */
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
}

.social-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-name {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.footer-social-minimal a {
    color: #666;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-social-minimal a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Footer Utility Row (Rating & Language) */
.footer-utility-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-rating-badge {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.05);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.footer-rating-badge:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.rating-num {
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
}

.star-icon {
    width: 16px;
    height: 16px;
    fill: #D4AF37;
    color: #D4AF37;
}

.rating-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-lang-switcher {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.footer-lang-switcher:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Header Language Switchers Distribution */
.nav-lang-switcher-mobile {
    display: none;
    /* Hidden on desktop */
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    padding: 0 10px;
    height: 38px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-lang-switcher-mobile i {
    width: 16px;
    height: 16px;
    opacity: 0.8;
}

.nav-lang-switcher-mobile .lang-flag {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.nav-lang-switcher-mobile:active {
    background: rgba(212, 175, 55, 0.2);
    transform: scale(0.95);
}

@media (max-width: 991px) {
    .nav-lang-switcher-mobile {
        display: flex;
        /* Shown in logo-group on mobile */
    }

    .nav-lang-switcher-desktop {
        display: none !important;
        /* Hidden on mobile */
    }
}

.footer-lang-switcher .globe-icon {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.footer-lang-switcher .lang-flag {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.footer-signature {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    background: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.created-by {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 4px;
    font-weight: 400;
    text-transform: uppercase;
    position: relative;
    padding-right: 20px;
}

/* Elegant minimalist separator */
.created-by::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
    opacity: 0.5;
}

.axiora-link {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    transition: all 0.4s ease;
}

.axiora-logo {
    height: 45px;
    /* More discreet and elegant */
    width: auto;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.1));
}

.footer-signature:hover .axiora-logo {
    transform: scale(1.05) translateX(5px);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.axiora-text {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-left: 0;
    transition: all 0.4s ease;
    color: #d4af37 !important;
    /* Force gold color for visibility */
    opacity: 1 !important;
    white-space: nowrap;
}

.footer-signature:hover .axiora-text {
    opacity: 1;
    letter-spacing: 1.5px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.axiora-link:hover .axiora-text {
    color: var(--primary-color);
}

.footer-social-inline {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-social-inline a {
    color: #666;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-social-inline a:hover {
    transform: translateY(-5px) rotate(8deg);
    background: rgba(255, 255, 255, 0.08);
}

/* Specific Social Colors */
.footer-social-inline a:has([data-lucide="facebook"]):hover {
    color: #1877F2;
    border-color: rgba(24, 119, 242, 0.3);
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.2);
}

.footer-social-inline a:has([data-lucide="instagram"]):hover {
    color: #E4405F;
    border-color: rgba(228, 64, 95, 0.3);
    box-shadow: 0 5px 15px rgba(228, 64, 95, 0.2);
}

.footer-social-inline i {
    width: 18px;
    height: 18px;
}

/* Minimal Social Icons Container (Footer) */
.footer-social-minimal {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: flex-end;
    /* Alineado a la derecha por defecto en desktop */
}

/* Reset specific styles for original brand icons in footer if needed */
.footer-social-minimal .social-icon-link.original-brand {
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-social-minimal .social-icon-link.original-brand:hover {
    opacity: 1;
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        /* Standardized with 991px fix */
        text-align: center;
    }

    .footer-slogan {
        display: none;
    }
}

/* --- Mobile Footer Fix (FINAL) --- */
@media (max-width: 991px) {
    .panorama-footer {
        padding: 15px 0;
        /* Reduced mobile padding */
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        /* Reduced from 3rem */
        text-align: center;
    }

    .footer-contact-block {
        padding-right: 0;
        align-items: center;
    }

    .footer-contact-block::after {
        display: none;
    }

    .footer-brand-block {
        order: -1;
    }

    .footer-actions-block {
        align-items: center;
    }

    .footer-links-minimal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.2rem;
    }

    .footer-links-minimal a {
        font-size: 0.85rem;
    }

    .footer-signature {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .axiora-logo {
        height: 25px;
        /* Even smaller to prioritize text */
    }

    .axiora-text {
        font-size: 0.8rem;
        color: #d4af37 !important;
        opacity: 1 !important;
        background: none !important;
        -webkit-background-clip: initial !important;
        background-clip: initial !important;
    }

    .footer-logo {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .footer-logo .logo-yellow {
        font-size: 1.5rem;
    }




}


/* ==================== CRITICAL VISUAL CONTAINMENT FIXES ==================== */
.global-particles {
    z-index: 9999 !important;
    pointer-events: none;
    /* Asegura que no bloquee los clics en el sitio */
}

.hero,
.services-section-premium,
.stats-section,
.faq-section,
.contact-section {
    overflow: hidden !important;
    /* Prevent any decoration overflow */
    position: relative;
}

/* ==================== EMERGENCY MOBILE VISIBILITY FIX (Feb 2026) ==================== */
/* Forces content to be visible on mobile even if JS animations fail to load */
@media (max-width: 991px) {

    .fade-in-up,
    .fade-in-left,
    .fade-in-right,
    .zoom-in,
    .reveal-text,
    .stagger-item,
    .hero-content,
    .service-card-premium,
    .portfolio-item,
    .stats-container,
    .faq-container,
    .contact-container {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
        animation: none !important;
    }

    .global-particles {
        display: none !important;
        /* Hide particles on mobile to prevent blocking */
        opacity: 0 !important;
    }

    body {
        opacity: 1 !important;
        visibility: visible !important;
        background-color: #000 !important;
        /* Ensure background is set */
    }
}


/* Mobile & Tablet Safe Zones */
@media (max-width: 1024px) {
    .main-content {
        overflow-x: hidden;
        width: 100%;
    }
}



@media (max-width: 991px) {

    .stats-grid,
    .contact-container {
        padding-left: 20px;
        padding-right: 20px;
    }
}


/* Top Bar Phone Alignment Fix */
.top-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Adds space between icon and text */
}

.top-info-item i,
.top-info-item svg {
    margin-top: -2px;
    /* Fine-tune vertical alignment of icon */
}

/* Prevents ALL horizontal overflow on mobile devices                            */

html,
body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* --- NAVBAR MOBILE FIX (must match hamburger breakpoint 991px) --- */
@media (max-width: 991px) {

    /* Navbar: no overflow hidden here — it clips the fixed nav drawer */
    .navbar {
        top: 0;
        height: auto;
        min-height: 60px;
        width: 100% !important;
        max-width: 100vw !important;
    }

    .navbar-content {
        flex-wrap: nowrap;
        position: relative;
        overflow: hidden !important;
        justify-content: space-between;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Hide all right-side elements (phone, email, lang switcher) */
    .nav-actions-right {
        display: none !important;
    }

    /* Fix .nav-links: reset desktop positioning to prevent phantom width */
    .nav-links {
        left: auto !important;
        transform: none !important;
        width: 100% !important;
    }

    /* Constrain logo area */
    .logo-group {
        max-width: calc(100vw - 80px);
        overflow: hidden;
    }

    .logo {
        font-size: 0.95rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Ensure rating badge doesn't overflow */
    .nav-rating-badge {
        flex-shrink: 0;
    }

    /* Hamburger stays visible */
    .mobile-toggle {
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {

    /* --- GLOBAL OVERFLOW PREVENTION --- */
    body,
    html {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    .main-content,
    section,
    .container {
        overflow-x: hidden;
        max-width: 100vw;
    }

    /* (Navbar fix moved to 991px block above) */

    /* --- EXCELLENCE SHOWCASE ("Pasión por el Detalle Perfecto") --- */
    .excellence-showcase {
        padding: 3rem 0;
    }

    .showcase-container {
        flex-direction: column;
        padding: 0 1rem !important;
        gap: 1.5rem;
    }

    .showcase-box {
        min-width: unset !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .showcase-center {
        order: -1;
        width: 100% !important;
        flex-direction: column;
        align-items: center;
        padding: 1.5rem 1rem;
        min-width: unset !important;
    }

    .showcase-center::before {
        display: none !important;
        /* Remove the glow effect that overflows */
    }

    .luxury-title {
        font-size: 1.8rem !important;
        letter-spacing: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: center;
        max-width: 100%;
    }

    .luxury-subtitle {
        font-size: 0.7rem;
        letter-spacing: 0.15em;
        text-align: center;
    }

    /* Hide the vertical decorative lines on mobile */
    .luxury-line-vertical {
        display: none !important;
    }

    /* Fix the crown icon */
    .luxury-icon {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .luxury-icon svg {
        width: 28px !important;
        height: 28px !important;
    }

    .btn-luxury-gallery {
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
    }

    /* --- STATS SECTION --- */
    .stats-section-premium {
        padding: 10rem 0 !important;
    }

    .unified-panoramic-container {
        gap: 4rem;
    }

    .trust-grid-premium {
        gap: 3rem;
        flex-direction: row;
        /* Keep them horizontal if space allows, or wrap */
        justify-content: center;
    }

    .trust-item-premium i {
        width: 45px;
        height: 45px;
    }

    .trust-item-premium span {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .stat-number {
        font-size: 3rem !important;
        letter-spacing: -1px;
    }

    .stat-plus {
        font-size: 1.8rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
        padding: 0 1rem !important;
    }

    /* --- ABOUT SECTION --- */
    .about-title {
        font-size: 2rem !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .about-desc {
        font-size: 0.95rem;
    }

    /* --- HERO SECTION --- */
    .hero-title {
        font-size: clamp(1.8rem, 7vw, 3rem) !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-subtitle {
        font-size: 0.95rem !important;
        padding: 0 0.5rem;
    }

    .hero-company-name {
        font-size: 0.88rem !important;
        letter-spacing: 0.1em !important;
        white-space: nowrap;
        padding: 0.6rem 1.2rem !important;
        max-width: 100%;
    }

    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    /* --- SERVICES SECTION --- */
    .services-grid-premium {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        padding: 0 1rem !important;
    }

    .section-title-premium {
        font-size: 1.8rem !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* --- CONTACT SECTION --- */
    .contact-section {
        padding: 3rem 0 !important;
    }

    .contact-container {
        flex-direction: column !important;
        padding: 0 1rem !important;
        gap: 1.5rem !important;
    }

    .contact-info-premium,
    .contact-form-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        min-width: unset !important;
    }

    .contact-form {
        padding: 1.5rem 1rem !important;
    }

    .form-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .form-actions-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    .contact-intro-premium {
        font-size: 0.95rem !important;
    }

    .contact-message-premium {
        padding: 1rem !important;
    }


    /* --- FAQ SECTION --- */
    .faq-section {
        padding: 3rem 0 !important;
    }

    .faq-section .container {
        padding: 0 1rem !important;
    }

    /* --- PORTFOLIO SECTION --- */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
        padding: 0 0.5rem !important;
    }

    /* --- TESTIMONIALS SECTION --- */
    .testimonials-dynamic-grid {
        grid-template-columns: 1fr !important;
        padding: 0 1rem !important;
    }

    .testimonial-card {
        padding: 1.5rem !important;
    }

    /* --- FOOTER --- */
    .footer-grid-premium {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding: 0 1rem !important;
    }

    .footer-social-row {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 1rem !important;
    }

    /* --- GENERAL TYPOGRAPHY SAFETY --- */
    h1,
    h2,
    h3 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
    }

    /* --- IMAGES & MEDIA --- */
    img,
    video,
    iframe {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* Extra small devices (iPhone SE, 320px-480px) */
@media (max-width: 480px) {

    .luxury-title {
        font-size: 1.6rem !important;
    }

    .stat-number {
        font-size: 2.5rem !important;
    }

    .stats-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-title {
        font-size: 1.6rem !important;
    }

    .about-title {
        font-size: 1.6rem !important;
    }

    .section-title-premium {
        font-size: 1.5rem !important;
    }

    .portfolio-grid {
        grid-template-columns: 1fr !important;
    }

    .contact-form {
        padding: 1rem 0.75rem !important;
    }

    .btn {
        font-size: 0.85rem !important;
        padding: 0.8rem 1.2rem !important;
    }
}

/* --- MOBILE VISIBILITY & BRANDING FIXES --- */
@media (max-width: 991px) {

    /* Top Bar Visibility */
    .top-bar {
        display: block !important;
        background-color: #000 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        position: relative !important;
        z-index: 10001 !important;
        min-height: 40px !important;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .top-bar-content {
        display: flex !important;
        justify-content: center !important;
        padding: 8px !important;
        width: 100% !important;
    }

    .top-info {
        display: flex !important;
        gap: 10px !important;
        align-items: center !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .top-info-item a {
        color: #fff !important;
        font-size: 0.9rem !important;
        text-decoration: none !important;
        font-weight: 500 !important;
        letter-spacing: 0.5px;
    }

    /* Footer Agency Branding */
    .footer-signature {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        padding-bottom: 25px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding-top: 5px !important;
        /* Reduced from 20px */
        margin-top: 10px !important;
        /* Reduced from 20px */
        width: 100% !important;
    }

    .created-by {
        font-size: 0.65rem !important;
        letter-spacing: 2px !important;
        opacity: 0.7;
        margin-bottom: -5px !important;
        /* Negative margin to pull closer */
        display: block !important;
        position: relative !important;
        z-index: 2;
    }

    .axiora-link {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 0 !important;
        text-decoration: none !important;
        justify-content: center !important;
        margin-top: -15px !important;
        /* Aggressive pull up */
        position: relative !important;
        z-index: 1;
    }

    .axiora-logo {
        display: block !important;
        width: 140px !important;
        height: auto !important;
        opacity: 1;
        margin-bottom: 0 !important;
        margin-right: -35px !important;
        /* Adjusted to -35px as requested */
    }

    .axiora-text {
        display: block !important;
        color: #d4af37 !important;
        font-size: 0.75rem !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        font-weight: 600 !important;
        opacity: 1 !important;
        visibility: visible !important;
        margin-top: 0 !important;
        /* Aligned with logo */
        white-space: nowrap !important;
        /* Prevent awkward wrapping if possible */
    }
}

/* --- FLOATING WHATSAPP BUTTON --- */
.float-wa-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: waDetailsPulse 3s infinite;
}

.float-wa-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    background-color: #20BA5A;
}

.wa-icon {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

@keyframes waDetailsPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .float-wa-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .wa-icon {
        width: 26px;
        height: 26px;
    }
}