/* ==========================================================================
   CANAN CASINOS & SERVICIOS SPA - STYLE SHEET OVERHAUL (PREMIUM ENTERPRISE)
   ========================================================================== */

/* Design System Variables */
:root {
    --color-primary: #D4AF37;       /* Metallic Gold */
    --color-primary-hover: #C5A059; 
    --color-primary-light: #F9F5E8; 
    --color-dark: #0B0F19;          /* Deep Corporate Charcoal Navy */
    --color-dark-light: #161F30;    /* Card & Midtone Slate */
    --color-light: #FFFFFF;         
    --color-bg-alt: #F8F9FA;        
    --color-bg-cream: #FDFBF7;      
    --color-border: #E2E8F0;        
    --color-text: #4E5E73;          /* Balanced corporate body text */
    --color-whatsapp: #25D366;      
    --color-whatsapp-hover: #128C7E;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 16px -2px rgba(0, 0, 0, 0.08), 0 3px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 40px -4px rgba(0, 0, 0, 0.12), 0 8px 16px -4px rgba(0, 0, 0, 0.06);
    --shadow-premium: 0 30px 60px rgba(11, 15, 25, 0.08);
    
    --radius-sm: 4px;
    --radius-md: 10px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}
html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-light);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* General Section Styles & Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    font-weight: 600;
}

.section-label {
    font-family: var(--font-body);
    color: var(--color-primary);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text);
    max-width: 750px;
    margin: 0 auto 4rem auto;
    font-weight: 400;
}

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

.paragraph {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    text-align: justify;
}

/* UI Buttons & Metallic Hover Animations */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.95rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #0B0F19;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

/* Gold Metallic Sheen Transition */
.btn-metallic {
    background: linear-gradient(135deg, #E5C05E 0%, #D4AF37 50%, #B89326 100%);
    color: #0B0F19;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
    font-weight: 700;
}

.btn-metallic::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-30deg);
    transition: 0.8s ease-in-out;
}

.btn-metallic:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.45);
}

.btn-metallic:hover::before {
    left: 150%;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary-dark:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--color-primary);
    color: var(--color-light);
    transform: translateY(-2px);
}

/* Top Info Bar */
.top-bar {
    background-color: #070A11;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-item svg {
    color: var(--color-primary);
}

/* Header & Corporate Navigation */
.main-header {
    background-color: transparent;
    position: absolute;
    width: 100%;
    z-index: 100;
    transition: var(--transition-smooth);
}

.transparent-header {
    background: linear-gradient(to bottom, rgba(7, 10, 17, 0.9) 0%, transparent 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Logo Treatment: No black box, gold glow */
.logo-native {
    height: 72px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.35));
    transition: var(--transition-smooth);
}

.logo-native:hover {
    filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.6));
    transform: scale(1.03);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-item {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.02em;
}

.nav-item:hover, .nav-item.active {
    color: var(--color-primary);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
}

.nav-item:hover::after, .nav-item.active::after {
    width: 100%;
}

.nav-btn {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    padding: 0.65rem 1.35rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
}

.nav-btn:hover {
    background-color: var(--color-primary);
    color: #070A11;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

/* Mobile Nav Toggle Button */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-light);
    transition: var(--transition-smooth);
}

/* Premium Dark Hero Section (Corporate Overhaul) */
.premium-dark-hero {
    padding: 10rem 0 8rem 0;
    background: radial-gradient(circle at top right, #17243B 0%, #0A0E17 60%, #05070B 100%);
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

/* Vector Geometric Lines Decoration representing network/logistics */
.geometric-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.geo-line {
    position: absolute;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.08), transparent);
    height: 1px;
    width: 120%;
}

.line-1 {
    top: 30%;
    left: -10%;
    transform: rotate(-15deg);
}

.line-2 {
    top: 60%;
    left: -10%;
    transform: rotate(10deg);
}

.line-3 {
    top: 45%;
    left: -10%;
    transform: rotate(-5deg);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent);
}

.geo-circle {
    position: absolute;
    border: 1px solid rgba(212, 175, 55, 0.04);
    border-radius: 50%;
}

.circle-1 {
    width: 600px;
    height: 600px;
    top: -100px;
    right: -100px;
}

/* Hero Content Flex & Glassmorphism Card */
.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 4.5rem;
    position: relative;
    z-index: 10;
}

.hero-content-glass {
    background: rgba(13, 20, 35, 0.7);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-tag-gold {
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: inline-block;
}

.hero-title-serif {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    line-height: 1.15;
    color: var(--color-light);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

/* Metallic gold title styling */
.text-gold-metallic {
    color: var(--color-primary);
    background: linear-gradient(135deg, #FFF6D1 0%, #E5C05E 40%, #D4AF37 70%, #AA7C11 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle-light {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* Dynamic Bento Grid Layout for Media Content */
.hero-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 210px);
    gap: 1.25rem;
}

.bento-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    text-indent: -10000px;
}

.bento-item:hover .bento-img {
    transform: scale(1.05);
}

.bento-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(to top, rgba(11, 15, 25, 0.9) 0%, rgba(11, 15, 25, 0) 100%);
    color: var(--color-light);
}

.bento-tag {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    font-weight: 700;
}

.bento-overlay h4 {
    color: var(--color-light);
    font-size: 1rem;
    margin-top: 0.25rem;
}

/* Grid assignment for Bento */
.bento-large {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
}

.bento-tall {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
}

/* Glassmorphism Bento Card (Stats) */
.glass-bento-card {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    display: flex;
    align-items: center;
    padding: 1.5rem;
}

.bento-stat-content {
    display: flex;
    flex-direction: column;
}

.bento-stat-num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    font-family: var(--font-heading);
}

.bento-stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-light);
    margin-top: 0.25rem;
}

.bento-stat-sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.15rem;
}

/* About Us Section */
.about-section {
    padding: 7rem 0;
    background-color: var(--color-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.11fr;
    align-items: center;
    gap: 5rem;
}

.about-visual {
    position: relative;
}

.about-img-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-img {
    width: 100%;
    height: 440px;
    object-fit: cover;
}

.about-card-decorative {
    position: absolute;
    bottom: -2.5rem;
    right: -2.5rem;
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: 2.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-width: 330px;
    z-index: 10;
    border-top: 4px solid var(--color-primary);
}

.card-dec-accent {
    width: 35px;
    height: 2px;
    background-color: var(--color-primary);
    margin-bottom: 1.25rem;
}

.card-dec-title {
    color: var(--color-light);
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.card-dec-role {
    color: var(--color-primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    font-weight: 700;
}

.card-dec-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

.about-features {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.feature-item {
    display: flex;
    gap: 1.25rem;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-text h4 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--color-text);
}

/* Services Core Tabs Section */
.services-section {
    padding: 7rem 0;
    background-color: var(--color-bg-alt);
}

/* Interactive Services Grid Panels (Full-Image Background Layout) */
.services-grid-panels {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}

.service-panel-card {
    position: relative;
    background-color: #0B0F19; /* dark fallback background */
    border-radius: 24px;
    padding: 3.5rem 2.5rem 3rem 2.5rem;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

/* Subtle dark gradient overlay to ensure white text contrast without hiding the image */
.service-panel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(7, 10, 17, 0.75) 0%, rgba(7, 10, 17, 0.30) 50%, rgba(7, 10, 17, 0.10) 100%);
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.service-panel-card:hover {
    transform: scale(1.03) translateY(-2px); /* scale up and slight lift */
    box-shadow: 0px 20px 40px rgba(212, 175, 55, 0.08), 0 0 0 1px rgba(212, 175, 55, 0.35); /* golden contour illumination */
    border-color: rgba(212, 175, 55, 0.3);
}

.service-panel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 1; /* 100% visible initially */
    transform: scale(1.05); /* initial scale */
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 2s cubic-bezier(0.16, 1, 0.3, 1); /* Snappy reset on hover leave */
    z-index: 1;
    pointer-events: none;
}

.service-panel-card:hover .service-panel-bg {
    transform: scale(1.15); /* ultra-slow cinematic zoom-in */
    transition: transform 8s cubic-bezier(0.25, 1, 0.5, 1); /* Ultra-slow zoom-in on hover enter */
}

.service-panel-content {
    position: relative;
    z-index: 3; /* sits above dark gradient overlay */
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    flex-grow: 1;
}

.service-panel-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 500;
    color: #FFFFFF; /* solid crisp white typography */
    margin-bottom: 0.85rem;
    text-align: left;
    transition: var(--transition-smooth);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.service-panel-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85); /* highly readable light gray */
    line-height: 1.6;
    text-align: left;
    margin-bottom: 2rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.service-panel-action {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: #D4AF37; /* brilliant gold color */
    text-decoration: none;
    align-self: flex-end; /* bottom right alignment */
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.service-panel-card:hover .service-panel-action {
    color: #FFFFFF;
    transform: translateX(4px);
}

@media (max-width: 900px) {
    .services-grid-panels {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    
    .service-panel-card {
        padding: 3rem 1.75rem 2.5rem 1.75rem;
        min-height: 320px; /* keep height for layout impact */
    }

    .portfolio-grid-three-column {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .event-panel-card {
        padding: 2.5rem 1.5rem;
        min-height: 420px; /* keep height for layout impact and legend space */
    }
}

/* NEW CORE SECTION: PREMIUM EVENTS MANAGEMENT MODULE */
.events-module-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, #FFFFFF 0%, var(--color-bg-cream) 100%);
    position: relative;
}

.portfolio-filter-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    background-color: transparent;
    border: 1px solid var(--color-border);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    font-family: var(--font-body);
}

.filter-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.filter-btn.active {
    background-color: var(--color-dark);
    color: var(--color-light);
    border-color: var(--color-dark);
    box-shadow: var(--shadow-sm);
}

/* Redesigned 3-Column Audiovisual Grid for Events Section */
.portfolio-grid-three-column {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 2rem;
    margin-top: 3.5rem;
    background: transparent;
}

.event-panel-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.04);
    min-height: 480px; /* height adjusted for legends and button */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem 2.25rem 2.5rem 2.25rem;
    background-color: #0B0F19; /* fallback background */
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

/* Subtle dark gradient overlay to ensure perfect white text contrast */
.event-panel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(7, 10, 17, 0.95) 0%, rgba(7, 10, 17, 0.4) 60%, transparent 100%);
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.event-panel-card:hover {
    transform: scale(1.03) translateY(-4px); /* scale up and slight lift */
    box-shadow: 0px 20px 45px rgba(212, 175, 55, 0.08), 0 0 0 1px rgba(212, 175, 55, 0.35); /* golden contour illumination */
    border-color: rgba(212, 175, 55, 0.3);
}

.event-panel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 1; /* 100% visible initially */
    transform: scale(1.05); /* initial scale */
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 2s cubic-bezier(0.16, 1, 0.3, 1); /* Snappy reset on hover leave */
    z-index: 1;
    pointer-events: none;
}

.event-panel-card:hover .event-panel-bg {
    transform: scale(1.15); /* ultra-slow cinematic zoom-in */
    transition: transform 8s cubic-bezier(0.25, 1, 0.5, 1); /* Ultra-slow zoom-in on hover enter */
}

/* Scroll reveal initial states */
.reveal-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Filter dynamic animation helper */
.portfolio-card.fade-out {
    opacity: 0 !important;
    transform: scale(0.95) translateY(5px) !important;
    transition: opacity 0.25s ease, transform 0.25s ease !important;
}

.portfolio-card.hidden {
    display: none;
}

.event-panel-content {
    position: relative;
    z-index: 3; /* sits above dark gradient overlay */
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-start; /* left alignment */
}

.event-panel-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: #FFFFFF; /* solid crisp white typography */
    margin-bottom: 0.65rem;
    text-align: left;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
    line-height: 1.3;
}

.event-panel-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: rgba(253, 251, 247, 0.88); /* elegant soft bone white */
    line-height: 1.5;
    text-align: left;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.event-panel-btn-whatsapp {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: #070A11; /* dark contrast text */
    background-color: #D4AF37; /* metallic gold */
    padding: 0.7rem 1.35rem;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid #D4AF37;
}

.event-panel-card:hover .event-panel-btn-whatsapp {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6); /* gold glow when hovering card */
}

.event-panel-btn-whatsapp:hover {
    background-color: #FFFFFF;
    color: #D4AF37;
    border-color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25), 0 0 15px rgba(212, 175, 55, 0.6);
}

/* Call-to-action micro-pulse keyframes */
@keyframes goldPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.btn-metallic:focus,
.btn-metallic-hover:focus,
.btn-metallic:hover {
    animation: goldPulse 1.8s infinite;
}

/* HUMANIZED CTA BANNER (Adjoining the founder picture) */
.operational-callout-banner {
    background: linear-gradient(135deg, #161F30 0%, #0B0F19 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-lg);
    padding: 2.25rem 3rem;
    margin-top: 4.5rem;
    color: var(--color-light);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.operational-callout-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.callout-grid-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2.5rem;
}

.humanized-grid {
    gap: 3rem;
}

.callout-profile-wrapper {
    flex-shrink: 0;
}

.callout-profile-photo {
    width: 140px;
    height: 95px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 2px solid var(--color-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    text-indent: -10000px;
}

.callout-text-block h4 {
    color: var(--color-light);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.callout-text-block p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 700px;
}

.profile-signature {
    display: block;
    font-size: 0.8rem;
    color: var(--color-primary);
    margin-top: 0.5rem;
}

/* Bidding & Compliance Section (Dark Theme) */
.compliance-section {
    padding: 7rem 0;
    background: radial-gradient(circle at center, #151E2E 0%, #0B0F19 100%);
    color: var(--color-light);
    position: relative;
}

.compliance-wrapper {
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
}

.compliance-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--color-primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    border-radius: var(--radius-sm);
    margin-bottom: 1.75rem;
}

.compliance-title {
    color: var(--color-light);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.compliance-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 4rem;
    line-height: 1.8;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.comp-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: var(--radius-md);
    border-top: 4px solid var(--color-primary);
    transition: var(--transition-smooth);
}

.comp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
    background-color: rgba(255, 255, 255, 0.05);
}

.comp-icon {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
}

.comp-card h4 {
    color: var(--color-light);
    font-size: 1.2rem;
    margin-bottom: 0.85rem;
}

.comp-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Quotation Form Section */
.quote-section {
    padding: 7rem 0;
    background-color: var(--color-light);
}

.quote-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.quote-p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.quote-bullets {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.bullet-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.bullet-check {
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.15rem;
}

.quote-quick-call {
    background-color: var(--color-bg-cream);
    padding: 1.75rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.quote-quick-call p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.whatsapp-direct-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-whatsapp);
    font-weight: 700;
}

.whatsapp-direct-link:hover {
    color: var(--color-whatsapp-hover);
}

.quote-form-container {
    background-color: var(--color-light);
    border: 1px solid var(--color-border);
    padding: 3.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    min-height: 480px;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-dark-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.85rem 1.15rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-smooth);
    background-color: var(--color-bg-alt);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
    background-color: var(--color-light);
}

.btn-submit {
    padding: 1.1rem;
    font-size: 1rem;
    margin-top: 1rem;
}

/* Conditional fields transition styling */
.form-conditional-fields {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-conditional-fields.show {
    max-height: 250px;
    opacity: 1;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}

/* Success Modal Styles */
.success-message-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.success-message-container.hidden {
    display: none;
}

.success-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.success-badge {
    background-color: #DEF7EC;
    color: #03543F;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
}

.success-card h3 {
    font-size: 2rem;
}

.success-card p {
    font-size: 1rem;
    color: var(--color-text);
    max-width: 450px;
}

.btn-wa-success {
    background-color: var(--color-whatsapp);
    color: var(--color-light);
    padding: 0.95rem 1.75rem;
    font-weight: 700;
}

.btn-wa-success:hover {
    background-color: var(--color-whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.35);
}

/* Footer (Deep Dark Design) */
.main-footer {
    background-color: #070A11;
    color: rgba(255, 255, 255, 0.6);
    padding: 6rem 0 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    align-self: flex-start;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.25));
}

.footer-brand-desc {
    font-size: 0.85rem;
    line-height: 1.7;
}

.footer-links-col h4,
.footer-contact-col h4 {
    color: var(--color-light);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.75rem;
    font-weight: 700;
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links-col a {
    font-size: 0.85rem;
}

.footer-links-col a:hover {
    color: var(--color-primary);
    padding-left: 6px;
}

.footer-contact-col p {
    font-size: 0.85rem;
    margin-bottom: 0.85rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    font-size: 0.8rem;
}

.footer-disclaimer {
    color: rgba(255, 255, 255, 0.3);
    max-width: 950px;
    margin: 0 auto;
}

/* Floating WhatsApp Button inside an Elegant Glassmorphic Container */
.wa-glass-wrapper {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(11, 15, 25, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px;
    border-radius: var(--radius-full);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    z-index: 99;
    transition: var(--transition-smooth);
}

.floating-whatsapp-glass {
    background-color: var(--color-whatsapp);
    color: var(--color-light);
    width: 54px;
    height: 54px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    animation: pulse 2.2s infinite;
}

.wa-glass-wrapper:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
}

.floating-whatsapp-glass:hover {
    background-color: var(--color-whatsapp-hover);
}

.wa-tooltip-text {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background-color: #0B0F19;
    color: var(--color-light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.wa-glass-wrapper:hover .wa-tooltip-text {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Animations */
.animate-fade-in-up {
    animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(45px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 1100px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .premium-dark-hero {
        padding-top: 9rem;
    }
    
    .hero-content-glass {
        padding: 2.5rem;
    }
    
    .hero-bento-grid {
        max-width: 750px;
        margin: 0 auto;
    }
}

@media (max-width: 1024px) {
    .about-grid,
    .quote-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .portfolio-bento-grid-social {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 2rem;
    }
    
    .portfolio-bento-grid-social .bento-social-card {
        grid-column: span 1 !important;
        grid-row: auto !important;
        height: 280px !important;
    }
    
    .panel-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .panel-visual {
        order: -1;
    }
    
    .callout-grid-content {
        grid-template-columns: auto 1fr;
        gap: 2rem;
    }
    
    .callout-action {
        grid-column: span 2;
        text-align: left;
        margin-top: 0.5rem;
    }
}

@media (max-width: 900px) {
    .tabs-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tab-btn {
        border-right: 1px solid var(--color-border);
        border-bottom: 1px solid var(--color-border);
    }
    
    .tab-btn:nth-child(2) {
        border-right: none;
    }
    
    .tab-btn:nth-child(4) {
        border-right: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #070A11;
        flex-direction: column;
        gap: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: var(--shadow-lg);
        display: none;
        animation: fadeInUp 0.4s ease;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
        padding: 1.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        color: rgba(255, 255, 255, 0.9);
    }
    
    .nav-item::after {
        display: none;
    }
    
    .nav-btn {
        width: 100%;
        text-align: center;
        border-radius: 0;
        padding: 1.5rem 0;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .hero-title-serif {
        font-size: 2.75rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .about-visual {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .compliance-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .quote-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .quote-form-container {
        padding: 2.5rem 2rem;
    }
    
    .callout-grid-content {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
    
    .callout-action {
        grid-column: span 1;
        text-align: center;
    }
    
    .operational-callout-banner {
        padding: 2.5rem 2rem;
    }
    
    .dw-main {
        width: 100%;
        height: 100%;
        position: relative;
    }
    
    .dw-stat-2 {
        top: 2rem;
        right: 1rem;
    }
    
    .dw-stat-1 {
        bottom: 2rem;
        right: 1rem;
    }
}

@media (max-width: 580px) {
    .hero-bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1.25rem;
    }
    
    .bento-large, .bento-tall, .glass-bento-card {
        grid-column: span 1;
        grid-row: auto;
    }
    
    .bento-img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .tabs-list {
        grid-template-columns: 1fr;
    }
    
    .tab-btn {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        padding: 1.25rem;
    }
    
    .tab-btn.active {
        border-bottom: none;
        border-left: 4px solid var(--color-primary);
    }
    
    .tab-panel {
        padding: 2.5rem 1.5rem;
    }
    
    .hero-title-serif {
        font-size: 2.25rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .about-card-decorative {
        position: static;
        margin-top: 1.5rem;
        max-width: 100%;
    }
    
    .wa-glass-wrapper {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 4px;
    }
    
    .floating-whatsapp-glass {
        width: 48px;
        height: 48px;
    }
}
/****************************************************************************
   NEWLY ADDED CUSTOM DESIGNS FOR LOGISTICS DASHBOARD & EVENTS SOCIAL BENTO
*****************************************************************************/

/* 1. Logistics Dashboard Widget Panel Overlays */
.dashboard-visual-container {
    position: relative;
    width: 100%;
}

.dw-main {
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-smooth);
}

.dw-stat-1 {
    transform: translateY(10px) translateX(-5px);
    transition: var(--transition-smooth);
}

.dw-stat-2 {
    transform: translateY(-10px) translateX(5px);
    transition: var(--transition-smooth);
}

.dw-main:hover {
    transform: scale(1.01);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Note: Duplicate Portfolio Bento Grid Social Layout styles refactored and merged into the main section (lines 930+) to preserve design consistency and avoid cascading conflicts. */

/* 3. Humanized Callout Banner Layout */
.humanized-banner {
    background: linear-gradient(135deg, #151C2B 0%, #080C14 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.humanized-grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 3rem;
}

.callout-profile-photo {
    width: 140px;
    height: 95px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 2px solid var(--color-primary);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
    display: block;
    transition: var(--transition-smooth);
    text-indent: -10000px;
}

.callout-profile-photo:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
}

.profile-signature {
    display: block;
    font-size: 0.8rem;
    color: var(--color-primary);
    margin-top: 0.65rem;
    font-family: var(--font-body);
}

.profile-signature strong {
    color: #FFF;
    font-weight: 600;
}

/* Dynamic Filter Layout for Bento Grid Social */
.portfolio-bento-grid-social.filter-active {
    grid-template-rows: auto;
}

.portfolio-bento-grid-social.filter-active .bento-social-card {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    height: 280px !important;
}

@media (min-width: 1025px) {
    .portfolio-bento-grid-social.filter-active.filter-academic {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* 4. B2B Consultoria Image Overlay Cards */
.panel-overlay-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.panel-overlay-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(7, 10, 17, 0.85) 0%, rgba(7, 10, 17, 0.25) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.panel-image-overlay-card {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background: rgba(11, 15, 25, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.22);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
    z-index: 2;
}

.panel-overlay-container:hover .panel-image-overlay-card {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.45);
    background: rgba(11, 15, 25, 0.85);
}

.overlay-badge {
    display: inline-block;
    background-color: var(--color-primary);
    color: #0B0F19;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.6rem;
}

.overlay-text {
    color: var(--color-light);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

/* 5. Minimalist Art Direction Image Filters */
.about-img, 
.panel-img {
    filter: sepia(10%) contrast(103%) brightness(98%);
    transition: var(--transition-smooth);
}

.about-img-frame:hover .about-img,
.panel-overlay-container:hover .panel-img,
.panel-visual:hover .panel-img {
    filter: sepia(0%) contrast(100%) brightness(100%);
}

.bento-img, 
.db-main-img,
.callout-profile-photo {
    filter: saturate(85%) contrast(105%) brightness(85%);
    transition: var(--transition-smooth);
}

.bento-item:hover .bento-img,
.dw-main:hover .db-main-img,
.callout-profile-photo:hover {
    filter: saturate(100%) contrast(100%) brightness(95%);
}


/* ============================================================
   EVENT NAVIGATION CARDS (Index.html — 3-card grid)
   ============================================================ */

.events-nav-section {
    padding: 100px 0;
    background: var(--bg-primary, #0c1220);
}

.event-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.event-nav-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 480px;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.5s ease;
}

.event-nav-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(191, 155, 48, 0.3);
}

.event-nav-card-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.event-nav-card:hover .event-nav-card-bg {
    transform: scale(1.15);
}

.event-nav-card-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(8, 12, 24, 0.85) 0%, rgba(8, 12, 24, 0.4) 50%, transparent 100%);
    z-index: 1;
}

.event-nav-card-content {
    position: relative;
    z-index: 2;
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event-nav-card-label {
    display: inline-block;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-gold, #bf9b30);
    padding: 6px 14px;
    border: 1px solid rgba(191, 155, 48, 0.4);
    border-radius: 20px;
    width: fit-content;
}

.event-nav-card-phrase {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.15rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
}

.event-nav-card-cta {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-gold, #bf9b30);
    letter-spacing: 1px;
    transition: letter-spacing 0.3s ease, color 0.3s ease;
}

.event-nav-card:hover .event-nav-card-cta {
    letter-spacing: 3px;
    color: #d4af37;
}

@media (max-width: 992px) {
    .event-nav-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .event-nav-card {
        min-height: 380px;
    }
}

/* ============================================================
   SUBPAGE HERO BANNER (corporativa, academica, social pages)
   ============================================================ */

.subpage-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.subpage-hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(8, 12, 24, 0.5) 0%, rgba(8, 12, 24, 0.75) 100%);
    z-index: 1;
}

.subpage-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 850px;
    padding: 40px 24px;
}

.subpage-hero-label {
    display: inline-block;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-gold, #bf9b30);
    padding: 8px 20px;
    border: 1px solid rgba(191, 155, 48, 0.5);
    border-radius: 24px;
    margin-bottom: 28px;
}

.subpage-hero-title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
    margin: 0 0 24px 0;
}

.subpage-hero-subtitle {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 36px 0;
}

@media (max-width: 768px) {
    .subpage-hero {
        min-height: 85vh;
        background-attachment: scroll;
    }
    .subpage-hero-title {
        font-size: 1.6rem;
    }
}

/* ============================================================
   PROMISE OF VALUE SECTION
   ============================================================ */

.promise-section {
    padding: 100px 0;
    background: var(--bg-secondary, #111827);
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.promise-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(191, 155, 48, 0.12);
    border-radius: 20px;
    padding: 40px 28px;
    text-align: center;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.promise-card:hover {
    transform: translateY(-6px);
    border-color: rgba(191, 155, 48, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.promise-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.promise-card h3 {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 12px 0;
}

.promise-card p {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

@media (max-width: 768px) {
    .promise-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .promise-card {
        padding: 32px 24px;
    }
}

/* ============================================================
   DETAIL SECTION (Service cards with bg images)
   ============================================================ */

.detail-section {
    padding: 100px 0;
    background: var(--bg-primary, #0c1220);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.detail-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.detail-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.detail-card-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.detail-card:hover .detail-card-bg {
    transform: scale(1.12);
}

.detail-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(8, 12, 24, 0.88) 0%, rgba(8, 12, 24, 0.3) 60%, transparent 100%);
    z-index: 1;
}

.detail-card-content {
    position: relative;
    z-index: 2;
    padding: 32px 26px;
}

.detail-card-content h3 {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 10px 0;
}

.detail-card-content p {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 20px 0;
}

.detail-card-btn {
    display: inline-block;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-gold, #bf9b30);
    background: rgba(191, 155, 48, 0.12);
    border: 1px solid rgba(191, 155, 48, 0.3);
    padding: 10px 22px;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.detail-card-btn:hover {
    background: rgba(191, 155, 48, 0.25);
    border-color: var(--accent-gold, #bf9b30);
    color: #d4af37;
}

@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .detail-card {
        min-height: 360px;
    }
}

/* ============================================================
   SUBPAGE CTA SECTION
   ============================================================ */

.subpage-cta {
    padding: 100px 0;
    background: var(--bg-secondary, #111827);
    text-align: center;
}

.subpage-cta-content {
    max-width: 650px;
    margin: 0 auto;
}

.subpage-cta-content h2 {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px 0;
}

.subpage-cta-content p {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 36px 0;
}

.subpage-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent-gold, #bf9b30);
    background: transparent;
    border: 2px solid rgba(191, 155, 48, 0.4);
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.btn-outline-gold:hover {
    background: rgba(191, 155, 48, 0.12);
    border-color: var(--accent-gold, #bf9b30);
    color: #d4af37;
}

@media (max-width: 768px) {
    .subpage-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================================
   BACK NAVIGATION BAR (Subpages → index.html#eventos)
   ============================================================ */

.back-nav-bar {
    display: flex;
    justify-content: center;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(191, 155, 48, 0.1);
}

.back-nav-bar.back-nav-bottom {
    border-bottom: none;
    border-top: 1px solid rgba(191, 155, 48, 0.1);
}

.back-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    padding: 10px 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.back-nav-link:hover {
    color: var(--accent-gold, #bf9b30);
    border-color: rgba(191, 155, 48, 0.4);
    background: rgba(191, 155, 48, 0.06);
}
/* ============================================================
   CORRECCIÓN DEFINITIVA: FORMULARIO CENTRADO EN CELULARES
   ============================================================ */
@media (max-width: 768px) {
    /* Desactiva las columnas del computador para que se apilen verticalmente */
    .quote-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 2.5rem !important;
        width: 100% !important;
    }

    /* Quita los márgenes gigantes internos que aplastaban el formulario */
    .quote-form-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 2rem 1.25rem !important; /* Ajuste perfecto para pantallas chicas */
        margin: 0 auto !important;
        box-sizing: border-box !important;
        left: 0 !important;
        right: 0 !important;
    }

    /* Asegura que las filas internas del formulario ocupen todo el ancho */
    .quote-form, .form-row {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 1.25rem !important;
    }
}
/* ============================================================
   AJUSTE DE CENTRADO PARA HERO Y BENTO GRID EN CELULARES
   ============================================================ */
@media (max-width: 1100px) {
    /* Centra el bloque azul superior y equilibra sus espacios */
    .hero-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 15px !important;
    }

    .hero-content-glass {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    /* Centra perfectamente las tarjetas e imágenes en la pantalla del celular */
    .hero-bento-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 2rem auto 0 auto !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }

    /* Fuerza a cada tarjeta individual a centrarse y dejar márgenes iguales a los lados */
    .bento-item, .glass-bento-card {
        width: 100% !important;
        max-width: 440px !important; /* Mantiene un tamaño estilizado en celulares */
        margin: 0 auto !important;
    }
}



