/* ==========================================================================
   VARIABLES GLOBALES (Estilo Urubó Green Park + Colores El Faro)
   ========================================================================== */
:root {
    --bg-darker: #02121c; /* Derivado más oscuro de Pantone 296 C */
    --bg-dark: #041C2C; /* Pantone 296 C (Fondo) */
    --bg-light-dark: #072a42; /* Derivado más claro */
    --color-primary: #0D3553; /* Azul Marino El Faro (Pantone) */
    --color-accent: #FFD200; /* Pantone 109 C (Amarillo) */
    --color-accent-dark: #e6bd00; /* Variante más oscura de 109 C */
    --text-light: #ffffff;
    --text-muted: #a0a0a0;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* ==========================================================================
   UTILIDADES & TIPOGRAFÍA ELEGANTE
   ========================================================================== */
.text-center { text-align: center; }
.mb-40 { margin-bottom: 40px; }
.relative { position: relative; }
.z-10 { z-index: 10; }

.elegant-heading {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.subtitle-gold {
    display: block;
    color: var(--color-accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 15px;
    font-weight: 600;
}

.section-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px auto;
    font-weight: 300;
}

.divider-gold {
    width: 60px;
    height: 2px;
    background-color: var(--color-accent);
    margin: 0 auto 30px auto;
}

.divider-gold-left {
    width: 60px;
    height: 2px;
    background-color: var(--color-accent);
    margin: 0 0 30px 0;
}

.section-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

.luxury-section {
    padding: 120px 0;
}

.dark-bg { background-color: var(--bg-dark); }
.darker-bg { background-color: var(--bg-darker); }
.light-dark-bg { background-color: var(--bg-light-dark); }

/* Botones Elegantes */
.btn-solid-primary {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--text-light);
    padding: 15px 40px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--color-primary);
    border-radius: 30px;
    transition: all 0.4s ease;
}

.btn-solid-primary:hover {
    background-color: var(--text-light);
    color: var(--color-primary);
    border-color: var(--text-light);
}

.btn-outline-gold {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    height: 42px !important;
    padding: 0 28px !important;
    margin: 0 !important;
    background-color: transparent;
    color: var(--color-accent);
    font-size: 0.85rem;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-indent: 2px;
    line-height: 1 !important;
    text-decoration: none;
    border: 1px solid rgba(245, 210, 65, 0.6);
    border-radius: 30px;
    box-sizing: border-box;
    transition: all 0.4s ease;
}

.btn-outline-gold:hover {
    background-color: var(--color-accent);
    color: var(--bg-dark) !important;
}

.link-gold {
    color: var(--color-accent);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    transition: opacity 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.link-gold:hover { opacity: 0.7; }

/* ==========================================================================
   HEADER / NAVEGACIÓN
   ========================================================================== */
.luxury-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: rgba(4, 28, 44, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 220, 51, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.luxury-header.scrolled {
    padding: 12px 0;
    background: rgba(4, 28, 44, 0.58);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: rgba(255, 210, 0, 0.35);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.header-container {
    max-width: 1400px;
    width: 95%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 55px;
    transition: transform 0.3s ease;
}
.logo:hover img { transform: scale(1.05); }

.nav-menu ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 15px;
}

.nav-menu ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-menu ul li a:hover, .nav-menu ul li a.active {
    color: var(--color-accent);
}

.nav-btn-container {
    margin-left: 20px;
}

.mobile-menu-btn {
    display: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-fullscreen {
    position: relative;
    min-height: 100vh;
    padding-top: 100px; /* Espacio para que el header no solape el título */
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 850px;
    padding: 0 20px;
    margin-top: 30px; /* Separación extra del menú superior */
}

.elegant-title {
    font-family: var(--font-heading);
    font-size: 3.6rem;
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 25px;
    animation: fadeInUp 1s ease forwards;
}

.elegant-subtitle {
    font-size: 1.2rem;
    color: var(--color-accent);
    font-weight: 400;
    margin-bottom: 40px;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0.6;
}

.carousel-controls {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 20;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #000;
}

.carousel-line {
    width: 40px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.4);
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background-color: var(--text-light);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

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

/* ==========================================================================
   GRUPOS / COMUNIDAD (Cards Elegantes)
   ========================================================================== */
.cards-grid-elegant {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.elegant-card {
    background: rgba(4, 28, 44, 0.65);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 220, 51, 0.25);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 25px rgba(255, 220, 51, 0.08);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease, box-shadow 0.4s ease;
}

.elegant-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(255, 220, 51, 0.2);
}

.card-img {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.4s ease;
    filter: brightness(0.95);
}

.elegant-card:hover .card-img img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.card-info {
    padding: 32px 28px;
}

.card-info h3 {
    font-family: var(--font-heading);
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.elegant-card:hover .card-info h3 {
    color: var(--color-accent);
}

.card-info p {
    color: var(--text-light);
    opacity: 0.85;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 22px;
}

.card-info .link-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.card-info .link-gold i {
    transition: transform 0.3s ease;
}

.card-info .link-gold:hover i {
    transform: translateX(6px);
}

/* ==========================================================================
   MINISTERIOS (Split Section)
   ========================================================================== */
.split-section {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
    position: relative;
    height: 600px;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

/* Marco decorativo dorado característico de diseños luxury */
.image-frame {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-accent);
    z-index: 1;
}

.elegant-list {
    list-style: none;
    margin-top: 30px;
}

.elegant-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 15px;
}

.elegant-list li i {
    color: var(--color-accent);
    font-size: 0.9rem;
}

/* ==========================================================================
   EVENTOS (Banner)
   ========================================================================== */
.event-banner {
    position: relative;
    width: 100%;
    height: 400px;
    margin-top: 50px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.event-banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.4);
}

.event-info {
    position: relative;
    z-index: 2;
    padding: 0 60px;
    max-width: 600px;
}

.event-info h3 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 400;
}

.event-info p {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 30px;
}

/* ==========================================================================
   PETICIÓN DE ORACIÓN (Formulario)
   ========================================================================== */
.prayer-bg-section {
    position: relative;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5,5,5,0.85); /* Oscurecemos mucho para que resalte el formulario */
}

.prayer-box {
    max-width: 720px;
    margin: 0 auto;
    background: rgba(4, 28, 44, 0.75);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 60px 50px;
    border: 1px solid rgba(255, 220, 51, 0.3);
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65), 0 0 45px rgba(255, 220, 51, 0.12);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.prayer-box:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 220, 51, 0.55);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.75), 0 0 60px rgba(255, 220, 51, 0.2);
}

.luxury-input-wrapper {
    position: relative;
    margin-bottom: 22px;
}

.luxury-input-wrapper .input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 220, 51, 0.75);
    font-size: 1.1rem;
    transition: color 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.luxury-input-field {
    width: 100%;
    padding: 16px 20px 16px 52px;
    background: rgba(2, 12, 21, 0.65);
    border: 1px solid rgba(255, 220, 51, 0.25);
    border-radius: 14px;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.luxury-input-field:focus {
    border-color: var(--color-accent);
    background: rgba(4, 28, 44, 0.85);
    box-shadow: 0 0 22px rgba(255, 220, 51, 0.25);
}

.luxury-input-wrapper:focus-within .input-icon {
    color: var(--color-accent);
    transform: translateY(-50%) scale(1.18);
}

.btn-prayer-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #FFDC33 0%, #E6B800 100%);
    border: none;
    border-radius: 14px;
    color: #041C2C;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(255, 220, 51, 0.3);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 15px;
}

.btn-prayer-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 220, 51, 0.45);
    background: linear-gradient(135deg, #FFE047 0%, #FFC800 100%);
}

.btn-prayer-submit:hover .btn-icon-fly {
    transform: translateX(4px) translateY(-2px);
}

.btn-icon-fly {
    transition: transform 0.3s ease;
}

.luxury-form input::placeholder,
.luxury-form textarea::placeholder {
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 1px;
}

.full-width {
    width: 100%;
    margin-top: 20px;
}

/* ==========================================================================
   FOOTER LUXURY
   ========================================================================== */
.luxury-footer {
    background-color: var(--bg-darker);
    padding: 80px 0 0 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-logo {
    height: 70px;
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 20px;
}

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

.social-links a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 400;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--color-accent);
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-col p i {
    color: var(--color-accent);
}

.footer-bottom {
    background-color: #000;
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
    .elegant-heading { font-size: 2.8rem; }
    .elegant-title { font-size: 3.5rem; }
    
    .cards-grid-elegant {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .split-section {
        flex-direction: column;
    }
    
    .split-image {
        width: 100%;
        height: 400px;
        margin-top: 40px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu ul {
        display: none; /* Menú móvil básico */
    }
    .mobile-menu-btn {
        display: block;
    }
    .elegant-title { font-size: 2.5rem; }
    .cards-grid-elegant { grid-template-columns: 1fr; }
    .luxury-section { padding: 80px 0; }
    .prayer-box { padding: 30px; }
    .event-info { padding: 0 30px; }
    .event-info h3 { font-size: 2rem; }
}

/* ==========================================================================
   NEW SECTIONS (DISFRUTAMOS LO QUE HACEMOS & CONVERSEMOS)
   ========================================================================== */

.light-bg {
    background-color: #f9f9f9;
}
.text-dark {
    color: #111 !important;
}
.uppercase-heading {
    text-transform: uppercase;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 20px;
}

.split-section-video {
    display: flex;
    align-items: center;
    gap: 50px;
}
.split-section-video .split-content {
    flex: 1;
}
.split-section-video .split-video {
    flex: 1;
    position: relative;
}
.video-wrapper {
    position: relative;
    width: 100%;
    background-color: #000;
    overflow: hidden;
    border-radius: 4px;
}
.video-poster {
    width: 100%;
    display: block;
    opacity: 0.8;
}
.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0,0,0,0.6);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
}
.play-button-overlay:hover {
    background-color: var(--color-accent);
    color: #000;
}
.video-controls-fake {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
}
.flex-spacer {
    flex-grow: 1;
}
.video-controls-fake::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 15px;
    right: 15px;
    height: 3px;
    background-color: rgba(255,255,255,0.3);
    border-radius: 2px;
}
.video-controls-fake::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 15px;
    width: 15%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    z-index: 2;
}

.darkest-bg {
    background-color: #020b12;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.appointment-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}
.appointment-content {
    flex: 2;
}
.appointment-action {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    border-left: 1px solid rgba(255,255,255,0.1);
    padding-left: 40px;
}
.calendar-icon {
    font-size: 4rem;
    color: rgba(255,255,255,0.4);
}
.btn-solid-white {
    display: inline-block;
    background-color: #ffffff;
    color: #000000;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}
.btn-solid-white:hover {
    background-color: var(--color-accent);
    color: #000;
}

@media (max-width: 992px) {
    .split-section-video {
        flex-direction: column;
    }
    .appointment-section {
        flex-direction: column;
        text-align: center;
    }
    .appointment-action {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-left: 0;
        padding-top: 30px;
        width: 100%;
    }
}

/* ================= AGENDA MODAL ================= */
.agenda-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 18, 28, 0.9); /* Dark navy translucent */
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.agenda-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.agenda-modal-content {
    background: linear-gradient(145deg, var(--bg-dark), var(--bg-darker));
    border: 1px solid rgba(255, 210, 0, 0.3);
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 35px;
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 210, 0, 0.15);
    transform: translateY(30px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.agenda-modal-overlay.active .agenda-modal-content {
    transform: translateY(0) scale(1);
}

.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.close-modal-btn:hover {
    color: var(--color-accent);
    opacity: 1;
    transform: rotate(90deg);
}

.agenda-header {
    text-align: center;
    margin-bottom: 25px;
    color: var(--text-light);
}

.agenda-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 5px;
    color: var(--color-accent);
    text-shadow: 0 2px 10px rgba(255, 210, 0, 0.2);
}

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

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: var(--text-light);
    background: rgba(255,255,255,0.05);
    padding: 10px 15px;
    border-radius: 10px;
}

.calendar-header h3 {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.calendar-header button {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--color-accent);
    cursor: pointer;
    padding: 5px 10px;
    outline: none;
    transition: transform 0.2s ease;
}

.calendar-header button:hover {
    transform: scale(1.2);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-accent);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 0.9rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
}

.calendar-day:not(.empty):not(.disabled):hover {
    background-color: rgba(255, 210, 0, 0.1);
    border-color: rgba(255, 210, 0, 0.5);
    transform: scale(1.15);
    z-index: 2;
}

.calendar-day.empty {
    cursor: default;
}

.calendar-day.disabled {
    color: rgba(255, 255, 255, 0.2);
    cursor: not-allowed;
}

.calendar-day.selected {
    background-color: var(--color-accent);
    color: var(--bg-dark);
    font-weight: 700;
    transform: scale(1.15);
    box-shadow: 0 5px 15px rgba(255, 210, 0, 0.4);
}

.calendar-day.today {
    border: 1px dashed var(--color-accent);
}

.agenda-details {
    animation: slideUpFade 0.4s ease forwards;
}

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

.agenda-details h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--color-accent);
    font-size: 1.1rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 15px;
}

.time-slot-btn {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px 5px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.time-slot-btn:hover {
    border-color: var(--color-accent);
    background-color: rgba(255, 210, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.3);
}

.time-slot-btn.selected {
    background-color: var(--color-accent);
    color: var(--bg-dark);
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(255, 210, 0, 0.3);
}

#agenda-form {
    animation: slideUpFade 0.4s ease forwards;
    background: rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 12px;
}

#agenda-form h4 {
    border: none;
    padding: 0;
    margin-top: 0;
}

#agenda-form .input-group input {
    background-color: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
    color: var(--text-light);
}

#agenda-form .input-group input:focus {
    border-color: var(--color-accent);
    background-color: rgba(255,255,255,0.1);
}

/* ==========================================================================
   DROPDOWN MENU
   ========================================================================== */
.nav-menu ul li.dropdown {
    position: relative;
}

.nav-menu ul li.dropdown .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(4, 28, 44, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    min-width: 260px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    padding: 12px 0;
    border-radius: 16px;
    list-style: none;
    text-align: center;
    border: 1px solid rgba(255, 220, 51, 0.25);
    flex-direction: column;
    gap: 0;
}

.nav-menu ul li.dropdown:hover .submenu {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.nav-menu ul li.dropdown .submenu li {
    display: block;
    margin: 0;
    width: 100%;
}

.nav-menu ul li.dropdown .submenu li a {
    padding: 10px 15px;
    display: block;
    color: var(--text-light);
    font-size: 0.75rem;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.nav-menu ul li.dropdown .submenu li a:hover {
    color: var(--color-accent);
    background-color: rgba(255,255,255,0.05);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* ==========================================================================
   GALERÍA GRID
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    aspect-ratio: 16/9;
}

.gallery-item img, .gallery-item iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 20px;
    color: var(--text-light);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

.gallery-caption h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--color-accent);
}

/* ==========================================================================
   MASONRY GRID (Para Imágenes)
   ========================================================================== */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px 0;
}

.masonry-grid .gallery-item,
.masonry-grid .masonry-item,
.masonry-item {
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-bottom: 0;
    overflow: hidden;
    position: relative;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    background: #02101a;
    border: 1px solid rgba(255, 220, 51, 0.2);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.masonry-grid .gallery-item:hover,
.masonry-grid .masonry-item:hover,
.masonry-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 220, 51, 0.65);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 220, 51, 0.25);
}

.masonry-grid .gallery-item img,
.masonry-grid .masonry-item img,
.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.masonry-grid .gallery-item:hover img,
.masonry-grid .masonry-item:hover img,
.masonry-item:hover img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.masonry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 16, 26, 0.95) 0%, rgba(2, 16, 26, 0.5) 45%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: all 0.35s ease;
    box-sizing: border-box;
    z-index: 2;
}

.masonry-item:hover .masonry-overlay,
.masonry-grid .gallery-item:hover .masonry-overlay {
    opacity: 1;
}

.masonry-overlay span {
    color: #ffffff;
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
    transform: translateY(10px);
    transition: transform 0.35s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.masonry-item:hover .masonry-overlay span,
.masonry-grid .gallery-item:hover .masonry-overlay span {
    transform: translateY(0);
}

@media (max-width: 992px) {
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .masonry-grid {
        grid-template-columns: 1fr;
    }
}


/* ================= LIGHTBOX MODAL ================= */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 18, 28, 0.95);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lightbox-caption {
    color: var(--text-light);
    margin-top: 15px;
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: -40px;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}
.lightbox-close:hover { color: var(--color-accent); }

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 3rem;
    cursor: pointer;
    padding: 20px;
    transition: color 0.3s, transform 0.2s;
    user-select: none;
}
.lightbox-prev:hover, .lightbox-next:hover { color: var(--color-accent); }
.lightbox-prev:active { transform: translateY(-50%) scale(0.9); }
.lightbox-next:active { transform: translateY(-50%) scale(0.9); }

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

@media (max-width: 768px) {
    .lightbox-close { top: 10px; right: 10px; z-index: 10; }
    .lightbox-prev { left: 5px; font-size: 2rem; }
    .lightbox-next { right: 5px; font-size: 2rem; }
}

.nav-menu ul li.dropdown > a {
    display: inline-flex;
    align-items: center;
}

/* ================= MOBILE NAV FROM STYLE.CSS ================= */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 2000;
    padding: 70px 25px 30px 25px;
    transition: right 0.4s ease;
    box-shadow: -5px 0 20px rgba(0,0,0,0.6);
    overflow-y: auto;
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav .close-menu {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 1.4rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-nav .close-menu:hover {
    color: var(--color-accent);
}

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

.mobile-nav ul li {
    margin-bottom: 10px;
}

.mobile-nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
    color: var(--color-accent);
}

/* Mobile Submenu / Dropdown */
.mobile-dropdown-toggle i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    margin-left: 8px;
}

.mobile-dropdown.active .mobile-dropdown-toggle i {
    transform: rotate(180deg);
    color: var(--color-accent);
}

.mobile-submenu {
    display: none;
    padding-left: 12px;
    margin-top: 4px;
    margin-bottom: 8px;
    border-left: 2px solid rgba(255, 210, 0, 0.3);
}

.mobile-dropdown.active .mobile-submenu {
    display: block;
    animation: fadeIn 0.3s ease;
}

.mobile-submenu li {
    margin-bottom: 4px;
}

.mobile-submenu li a {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: none;
    letter-spacing: 0.5px;
    padding: 4px 0;
}

.mobile-submenu li a:hover {
    color: var(--color-accent);
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (WhatsApp + Scroll to Top)
   ========================================================================== */

.fab-container {
    position: fixed;
    bottom: 30px;
    right: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    z-index: 9999;
}

.fab-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.3s ease;
    position: relative;
}

.fab-btn:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

/* WhatsApp button */
.fab-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
}

.fab-whatsapp i {
    font-size: 1.6rem;
}

/* Tooltip */
.fab-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: rgba(4, 28, 44, 0.92);
    color: #fff;
    padding: 5px 11px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    letter-spacing: 0.5px;
}

.fab-btn:hover::before {
    opacity: 1;
}

/* Scroll-to-top button */
.fab-scroll-top {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    color: var(--bg-dark);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
}

.fab-scroll-top.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.fab-scroll-top:hover {
    transform: translateY(-4px) scale(1.08) !important;
}

@media (max-width: 768px) {
    .fab-container {
        bottom: 20px;
        right: 16px;
        gap: 12px;
    }
    .fab-btn {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    .fab-btn::before {
        display: none;
    }
}

/* ==========================================================================
   RESPONSIVE COMPLETO — MOBILE FIRST
   Breakpoints: 480px | 576px | 768px | 992px | 1200px
   ========================================================================== */

/* ---- TABLET GRANDE / LANDSCAPE MÓVIL (max 992px) ---- */
@media (max-width: 992px) {

    /* Tipografía */
    .elegant-heading  { font-size: 2.6rem; }
    .elegant-title    { font-size: 3rem; }
    .uppercase-heading { font-size: 1.8rem; }

    /* Layout general */
    .luxury-section { padding: 80px 0; }

    /* Cards grid */
    .cards-grid-elegant {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    /* Split sections */
    .split-section,
    .split-section-video {
        flex-direction: column;
        gap: 40px;
    }
    .split-image {
        width: 100%;
        height: 350px;
    }
    .image-frame { display: none; }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-col.brand-col {
        grid-column: 1 / -1;
    }

    /* Appointment */
    .appointment-section {
        flex-direction: column;
        text-align: center;
    }
    .appointment-action {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-left: 0;
        padding-top: 30px;
        width: 100%;
    }

    /* Masonry gallery */
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Hero title */
    .hero-content { max-width: 90%; }

    /* Ministry page split */
    .split-section { flex-direction: column; }
    .split-content, .split-image { width: 100%; }
}

/* ---- TABLET / MÓVIL GRANDE (max 768px) ---- */
@media (max-width: 768px) {

    /* Header */
    .luxury-header { padding: 18px 0; }
    .header-container { width: 92%; }
    .logo img { height: 44px; }

    /* Nav - ocultar escritorio, mostrar hamburger */
    .nav-menu { display: none; }
    .mobile-menu-btn { display: block; }

    /* Tipografía */
    .elegant-title    { font-size: 2.4rem; line-height: 1.2; }
    .elegant-heading  { font-size: 2.2rem; }
    .elegant-subtitle { font-size: 1rem; }
    .subtitle-gold    { font-size: 0.78rem; letter-spacing: 3px; }
    .section-text     { font-size: 1rem; }
    .uppercase-heading { font-size: 1.6rem; }

    /* Sections */
    .luxury-section { padding: 60px 0; }
    .section-container { width: 92%; }

    /* Cards */
    .cards-grid-elegant {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    .card-img { height: 220px; }
    .card-info { padding: 25px 20px; }
    .card-info h3 { font-size: 1.5rem; }

    /* Hero */
    .elegant-title  { font-size: 2rem; }
    .hero-content   { padding: 0 15px; }
    .carousel-controls {
        bottom: 20px;
        right: 15px;
    }
    .carousel-btn { width: 40px; height: 40px; font-size: 0.85rem; }
    .scroll-indicator { display: none; }

    /* Event banner */
    .event-banner { height: auto; min-height: 280px; }
    .event-info { padding: 30px 20px; max-width: 100%; }
    .event-info h3 { font-size: 1.8rem; }
    .event-info p  { font-size: 0.95rem; }

    /* Prayer form */
    .prayer-box { padding: 30px 20px; }

    /* Split */
    .split-section {
        flex-direction: column;
        gap: 30px;
    }
    .split-image { height: 260px; }
    .split-section-video { flex-direction: column; gap: 30px; }

    /* Footer */
    .luxury-footer { padding: 50px 0 0 0; }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 40px;
    }
    .footer-col.brand-col { grid-column: auto; }
    .footer-logo { height: 55px; }
    .footer-col h4 { font-size: 1.2rem; margin-bottom: 15px; }
    .footer-bottom { padding: 18px 0; }
    .footer-bottom p { font-size: 0.78rem; }

    /* Gallery masonry */
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    /* Elegant list */
    .elegant-list li { font-size: 0.95rem; }

    /* Buttons */
    .btn-solid-primary, .btn-outline-gold {
        padding: 12px 24px;
        font-size: 0.8rem;
    }

    /* Ministry page hero banner */
    .min-hero-banner { min-height: 220px !important; }
    .min-hero-banner h1 { font-size: 2rem !important; }
}

/* ---- MÓVIL MEDIO (max 576px) ---- */
@media (max-width: 576px) {

    /* Tipografía */
    .elegant-title    { font-size: 1.7rem; }
    .elegant-heading  { font-size: 1.8rem; }
    .uppercase-heading { font-size: 1.4rem; }
    .section-text { font-size: 0.92rem; }

    /* Layout */
    .luxury-section { padding: 50px 0; }
    .section-container { width: 94%; }

    /* Masonry gallery */
    .masonry-grid {
        grid-template-columns: 1fr;
    }

    /* Event info */
    .event-banner { min-height: 240px; }
    .event-info h3 { font-size: 1.5rem; }
    .event-info { padding: 25px 15px; }

    /* Nav mobile panel un poco más ancho */
    .mobile-nav { width: 280px; }

    /* Cards */
    .card-img { height: 200px; }

    /* Split image */
    .split-image { height: 220px; }

    /* Agenda modal */
    .agenda-modal-content { padding: 25px 18px; }
    .time-slots { grid-template-columns: repeat(2, 1fr); gap: 8px; }

    /* Ministry page inner image */
    .min-inner-img { height: 220px !important; object-fit: cover; }
}

/* ---- MÓVIL PEQUEÑO (max 420px) ---- */
@media (max-width: 420px) {

    /* Header */
    .logo img { height: 38px; }
    .luxury-header { padding: 14px 0; }

    /* Hero */
    .elegant-title { font-size: 1.5rem; }
    .elegant-subtitle { font-size: 0.88rem; letter-spacing: 0.5px; }

    /* Sections */
    .luxury-section { padding: 40px 0; }
    .section-container { width: 95%; }

    /* Gallery */
    .masonry-grid { gap: 10px; }
    .gallery-caption h4 { font-size: 0.9rem; }

    /* Footer */
    .footer-logo { height: 45px; }
    .social-links a { width: 35px; height: 35px; font-size: 0.85rem; }

    /* Ministry hero */
    .min-hero-banner h1 { font-size: 1.6rem !important; }

    /* Prayer box */
    .prayer-box { padding: 22px 14px; }

    /* Floating buttons */
    .fab-container { right: 12px; bottom: 16px; gap: 10px; }
    .fab-btn { width: 44px; height: 44px; font-size: 1.1rem; }
}

/* ---- PANTALLAS GRANDES (min 1200px) ---- */
@media (min-width: 1200px) {
    .section-container { max-width: 1200px; }
    .elegant-title { font-size: 5rem; }
    .cards-grid-elegant { gap: 50px; }
    .footer-container { max-width: 1200px; }
}

/* ---- PANTALLAS MUY GRANDES (min 1600px) ---- */
@media (min-width: 1600px) {
    .header-container { max-width: 1500px; }
    .section-container { max-width: 1400px; }
    .footer-container  { max-width: 1400px; }
    .elegant-title { font-size: 6rem; }
}

/* ---- ASEGURAR QUE IMÁGENES NO SE DESBORDEN ---- */
img {
    max-width: 100%;
    height: auto;
}
iframe {
    max-width: 100%;
}

/* ==========================================================================
   DYNAMIC ANIMATIONS & INTERACTIVE EFFECTS
   ========================================================================== */

/* --- 1. Nav Menu Underline Glow --- */
.nav-menu ul li a:not(.btn-outline-gold) {
    position: relative;
    padding-bottom: 4px;
}

.nav-menu ul li a:not(.btn-outline-gold)::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    box-shadow: 0 0 8px var(--color-accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu ul li a:not(.btn-outline-gold):hover::before,
.nav-menu ul li a:not(.btn-outline-gold).active::before {
    width: 100%;
}

/* --- 2. Button Sheen & Dynamic Hover --- */
.btn-solid-primary,
.btn-outline-gold,
.btn-solid-white {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease !important;
}

.btn-solid-primary::after,
.btn-outline-gold::after,
.btn-solid-white::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(25deg);
    transition: all 0.6s ease;
}

.btn-solid-primary:hover::after,
.btn-outline-gold:hover::after,
.btn-solid-white:hover::after {
    left: 130%;
}

.btn-solid-primary:hover,
.btn-outline-gold:hover,
.btn-solid-white:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 210, 0, 0.25);
}

.link-gold i {
    transition: transform 0.3s ease;
}

.link-gold:hover i {
    transform: translateX(6px);
}

/* --- 3. Enhanced Card Animations & Ambient Gold Glow --- */
.elegant-card,
.gallery-item,
.masonry-grid .gallery-item {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease !important;
}

.elegant-card:hover {
    transform: translateY(-12px) scale(1.01) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 210, 0, 0.15) !important;
    border-color: rgba(255, 210, 0, 0.4) !important;
}

.card-img img,
.gallery-item img {
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1), filter 0.5s ease !important;
}

.elegant-card:hover .card-img img,
.gallery-item:hover img {
    transform: scale(1.08) !important;
    filter: brightness(1.05) grayscale(0%) !important;
}

/* --- 4. Floating WhatsApp Pulse --- */
.fab-whatsapp {
    animation: whatsappPulse 3s infinite;
}

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

/* --- 5. Scroll Reveal Classes --- */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-45px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(45px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* ==========================================================================
   CONTACT SECTION & LUXURY FORM STYLING
   ========================================================================== */
.contact-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.contact-lead-text {
    max-width: 600px;
    margin: 15px auto 0;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
    align-items: start;
}

@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Contact Cards (Form & Info) */
.contact-form-card,
.contact-info-card {
    background: rgba(7, 42, 66, 0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 210, 0, 0.2);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 20px rgba(255, 210, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-form-card:hover,
.contact-info-card:hover {
    border-color: rgba(255, 210, 0, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45), 0 0 30px rgba(255, 210, 0, 0.12);
}

/* Form Header */
.form-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.form-header-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 210, 0, 0.12);
    border: 1px solid rgba(255, 210, 0, 0.3);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
}

.form-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Form Groups & Inputs */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon .input-icon {
    position: absolute;
    left: 16px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1rem;
    transition: color 0.3s ease;
    pointer-events: none;
}

.input-with-icon.textarea-icon .input-icon {
    top: 16px;
    align-self: flex-start;
}

.form-input {
    width: 100%;
    padding: 14px 16px 14px 46px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-input:focus {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--color-accent);
    box-shadow: 0 0 15px rgba(255, 210, 0, 0.25), inset 0 0 5px rgba(255, 210, 0, 0.1);
}

.input-with-icon:focus-within .input-icon {
    color: var(--color-accent);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Submit Button */
.btn-solid-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 28px;
    background: linear-gradient(135deg, #FFD200 0%, #D4A000 100%);
    color: #041C2C;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255, 210, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-solid-gold:hover {
    background: linear-gradient(135deg, #FFE033 0%, #E6B400 100%);
    box-shadow: 0 12px 28px rgba(255, 210, 0, 0.4);
    transform: translateY(-2px);
}

.btn-solid-gold:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(255, 210, 0, 0.3);
}

.btn-solid-gold .btn-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn-solid-gold:hover .btn-icon {
    transform: translateX(4px) translateY(-2px);
}

/* Contact Info Side */
.info-card-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.info-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-accent);
    margin: 0;
    font-weight: 500;
}

.info-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-icon-badge {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 210, 0, 0.1);
    border: 1px solid rgba(255, 210, 0, 0.25);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.map-wrapper {
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 210, 0, 0.2);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   VIDEO FEATURE SECTION (SOBRE NOSOTROS / DISFRUTAMOS LO QUE HACEMOS)
   ========================================================================== */
.video-feature-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-darker) 0%, #061e2f 100%);
    border-top: 1px solid rgba(255, 210, 0, 0.08);
    border-bottom: 1px solid rgba(255, 210, 0, 0.08);
    overflow: hidden;
}

.video-feature-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 210, 0, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.text-light-muted {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Essence Highlights Cards */
.essence-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

@media (max-width: 600px) {
    .essence-highlights {
        grid-template-columns: 1fr;
    }
}

.essence-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(7, 42, 66, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 210, 0, 0.15);
    border-radius: 12px;
    padding: 16px 20px;
    transition: all 0.3s ease;
}

.essence-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 210, 0, 0.1);
}

.essence-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 210, 0, 0.12);
    border: 1px solid rgba(255, 210, 0, 0.3);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.essence-info h4 {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.essence-info p {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0;
}

/* Video Luxury Device Frame */
.video-luxury-frame {
    max-width: 360px;
    margin: 0 auto;
    background: rgba(7, 42, 66, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 210, 0, 0.25);
    border-radius: 24px;
    padding: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 210, 0, 0.08);
    transition: all 0.4s ease;
}

.video-luxury-frame:hover {
    border-color: rgba(255, 210, 0, 0.45);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 210, 0, 0.15);
    transform: translateY(-4px);
}

.frame-top-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-left: 6px;
}

.frame-top-bar .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.frame-top-bar .dot.red { background: #ff5f56; }
.frame-top-bar .dot.yellow { background: #ffbd2e; }
.frame-top-bar .dot.green { background: #27c93f; }

.frame-title {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.frame-title i {
    color: #ff0000;
}

.video-luxury-frame .video-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.6);
}

.frame-bottom-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px;
    background: rgba(255, 210, 0, 0.08);
    border-radius: 10px;
    color: var(--color-accent);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   APPOINTMENT SECTION (CONVERSEMOS SIN FILTRO)
   ========================================================================== */
.appointment-wrapper-section {
    position: relative;
    padding: 90px 0;
    background: linear-gradient(180deg, #041C2C 0%, #020c15 100%);
}

.appointment-luxury-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    background: rgba(7, 42, 66, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 210, 0, 0.22);
    border-radius: 20px;
    padding: 50px 60px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), 0 0 25px rgba(255, 210, 0, 0.08);
    transition: all 0.3s ease;
}

.appointment-luxury-card:hover {
    border-color: rgba(255, 210, 0, 0.4);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.5), 0 0 35px rgba(255, 210, 0, 0.12);
}

.appointment-luxury-card .appointment-content {
    flex: 2;
    text-align: left;
}

.appointment-luxury-card .appointment-action {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    border-left: 1px solid rgba(255, 210, 0, 0.2);
    padding-left: 50px;
}

@media (max-width: 992px) {
    .appointment-luxury-card {
        flex-direction: column;
        padding: 40px 30px;
        text-align: center;
    }
    .appointment-luxury-card .appointment-content {
        text-align: center;
    }
    .appointment-luxury-card .divider-gold {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .appointment-luxury-card .appointment-action {
        border-left: none;
        border-top: 1px solid rgba(255, 210, 0, 0.2);
        padding-left: 0;
        padding-top: 30px;
        width: 100%;
    }
}

.calendar-icon-badge {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 210, 0, 0.12);
    border: 1px solid rgba(255, 210, 0, 0.35);
    color: var(--color-accent);
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(255, 210, 0, 0.15);
    transition: transform 0.3s ease, background 0.3s ease;
}

.appointment-luxury-card:hover .calendar-icon-badge {
    transform: scale(1.08) rotate(5deg);
    background: rgba(255, 210, 0, 0.2);
}

/* ==========================================================================
   LUXURY EVENTS SHOWCASE
   ========================================================================== */
.luxury-event-card {
    background: rgba(4, 28, 44, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 220, 51, 0.3);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 35px rgba(255, 220, 51, 0.1);
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.luxury-event-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 220, 51, 0.55);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.7), 0 0 55px rgba(255, 220, 51, 0.18);
}

.event-image-container {
    position: relative;
    height: 100%;
    min-height: 380px;
    overflow: hidden;
}

.event-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.luxury-event-card:hover .event-image-container img {
    transform: scale(1.08);
}

.event-gradient-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(4,28,44,0.1) 0%, rgba(4,28,44,0.85) 100%);
}

.event-badge-gold {
    position: absolute;
    top: 20px; left: 20px;
    background: var(--color-accent);
    color: #041C2C;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.event-date-pill {
    position: absolute;
    bottom: 20px; left: 20px;
    background: rgba(4, 28, 44, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 220, 51, 0.4);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
}

.event-card-content {
    padding: 45px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-location-tag {
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-card-title {
    font-family: var(--font-heading);
    color: #ffffff;
    font-size: 2.1rem;
    margin-bottom: 15px;
    line-height: 1.25;
}

.event-card-desc {
    color: var(--text-light);
    opacity: 0.88;
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 25px;
}

/* Countdown Timer */
.event-countdown-wrapper {
    background: rgba(2, 12, 21, 0.55);
    border: 1px solid rgba(255, 220, 51, 0.2);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 25px;
}

.countdown-title {
    display: block;
    color: var(--color-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.countdown-boxes {
    display: flex;
    gap: 14px;
}

.c-box {
    background: rgba(4, 28, 44, 0.85);
    border: 1px solid rgba(255, 220, 51, 0.25);
    border-radius: 10px;
    padding: 8px 14px;
    text-align: center;
    min-width: 50px;
}

.c-box span {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
}

.c-box label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-card-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Small Event Cards */
.luxury-event-card-small {
    background: rgba(4, 28, 44, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 220, 51, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.35s ease;
}

.luxury-event-card-small:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 220, 51, 0.45);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.event-small-img {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.event-small-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.luxury-event-card-small:hover .event-small-img img {
    transform: scale(1.08);
}

.badge-mini-gold {
    position: absolute;
    top: 15px; left: 15px;
    background: rgba(4, 28, 44, 0.85);
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 15px;
}

.event-small-body {
    padding: 22px 25px;
}

.event-date-small {
    display: block;
    color: var(--color-accent);
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.event-small-body h4 {
    font-family: var(--font-heading);
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.event-small-body p {
    color: var(--text-light);
    opacity: 0.85;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

@media (max-width: 992px) {
    .luxury-event-card {
        grid-template-columns: 1fr;
    }
    .event-image-container {
        min-height: 260px;
    }
}

/* ==========================================================================
   MINISTRIES LUXURY INTERACTIVE SHOWCASE
   ========================================================================== */
.ministries-interactive-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ministry-pill-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(4, 28, 44, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 220, 51, 0.2);
    border-radius: 18px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.ministry-pill-card:hover {
    transform: translateX(8px);
    border-color: var(--color-accent);
    background: rgba(7, 42, 66, 0.85);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(255, 220, 51, 0.15);
}

.pill-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 220, 51, 0.12);
    border: 1px solid rgba(255, 220, 51, 0.3);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.ministry-pill-card:hover .pill-icon-box {
    background: var(--color-accent);
    color: #041C2C;
    transform: scale(1.1) rotate(5deg);
}

.pill-info {
    flex-grow: 1;
}

.pill-info h4 {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin: 0 0 3px 0;
    transition: color 0.3s ease;
}

.ministry-pill-card:hover .pill-info h4 {
    color: var(--color-accent);
}

.pill-info span {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: block;
}

.pill-arrow {
    color: rgba(255, 220, 51, 0.5);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.ministry-pill-card:hover .pill-arrow {
    color: var(--color-accent);
    transform: translateX(5px);
}

/* Luxury Image Frame with Floating Badges */
.split-image-luxury {
    position: relative;
}

.luxury-image-wrapper {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 220, 51, 0.3);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 220, 51, 0.12);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.luxury-image-wrapper:hover {
    transform: scale(1.02);
    border-color: rgba(255, 220, 51, 0.55);
}

.luxury-image-wrapper img {
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.luxury-image-wrapper:hover img {
    transform: scale(1.06);
}

.luxury-image-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(4,28,44,0.1) 0%, rgba(4,28,44,0.4) 100%);
}

.floating-glass-badge {
    position: absolute;
    background: rgba(4, 28, 44, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 220, 51, 0.35);
    border-radius: 18px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    z-index: 5;
    transition: transform 0.3s ease;
}

.floating-glass-badge:hover {
    transform: translateY(-3px);
}

.badge-top-right {
    top: 25px;
    right: 25px;
}

.badge-bottom-left {
    bottom: 25px;
    left: 25px;
}

.floating-glass-badge .badge-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 220, 51, 0.15);
    border: 1px solid var(--color-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 1.1rem;
}

/* ==========================================================================
   LUXURY GALLERY & MINISTRY PAGES DESIGN SYSTEM
   ========================================================================== */

/* Category Filter Pills */
.category-filter-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-pill {
    background: rgba(4, 28, 44, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 220, 51, 0.25);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-pill:hover,
.filter-pill.active {
    background: linear-gradient(135deg, #FFD200 0%, #FFA500 100%);
    color: #041C2C;
    border-color: #FFD200;
    box-shadow: 0 8px 25px rgba(255, 210, 0, 0.35);
    transform: translateY(-2px);
}

/* Luxury Gallery Cards */
.luxury-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.luxury-gallery-card {
    background: rgba(4, 28, 44, 0.65);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 220, 51, 0.25);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.luxury-gallery-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(255, 220, 51, 0.6);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(255, 220, 51, 0.2);
}

.gallery-card-thumb {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: #02101a;
}

.gallery-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.4s ease;
}

.luxury-gallery-card:hover .gallery-card-thumb img {
    transform: scale(1.08);
    filter: brightness(0.9);
}

.gallery-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(4, 28, 44, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 220, 51, 0.35);
    color: var(--color-accent);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
}

.gallery-card-hover-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(4, 28, 44, 0.55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.luxury-gallery-card:hover .gallery-card-hover-overlay {
    opacity: 1;
}

.hover-icon-circle {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #FFD200 0%, #FFA500 100%);
    color: #041C2C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 8px 25px rgba(255, 210, 0, 0.4);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.luxury-gallery-card:hover .hover-icon-circle {
    transform: scale(1);
}

.gallery-card-body {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(4, 28, 44, 0.4);
}

.gallery-card-body h4 {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin: 0;
    transition: color 0.3s ease;
}

.luxury-gallery-card:hover .gallery-card-body h4 {
    color: var(--color-accent);
}

/* Ministry Pages Luxury Hero */
.ministry-hero-container {
    background: linear-gradient(135deg, rgba(4, 28, 44, 0.95) 0%, rgba(7, 42, 66, 0.85) 100%), url('assets/img/reunion-general.jpg') center/cover no-repeat;
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    border: 1px solid rgba(255, 220, 51, 0.3);
    box-shadow: 0 25px 60px rgba(0,0,0,0.6), 0 0 50px rgba(255,220,51,0.1);
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.ministry-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 220, 51, 0.12);
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* Ministry Pillar Feature Cards Grid */
.ministry-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.pillar-card-luxury {
    background: rgba(4, 28, 44, 0.65);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 220, 51, 0.25);
    border-radius: 20px;
    padding: 30px 24px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.pillar-card-luxury:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 220, 51, 0.5);
    box-shadow: 0 20px 45px rgba(0,0,0,0.6), 0 0 25px rgba(255, 220, 51, 0.15);
}

.pillar-icon-ring {
    width: 60px;
    height: 60px;
    background: rgba(255, 220, 51, 0.12);
    border: 1px solid var(--color-accent);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-bottom: 20px;
    transition: transform 0.4s ease, background 0.4s ease, color 0.4s ease;
}

.pillar-card-luxury:hover .pillar-icon-ring {
    transform: rotate(10deg) scale(1.1);
    background: var(--color-accent);
    color: #041C2C;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(4, 28, 44, 0.92);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-sizing: border-box;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,220,51,0.4);
    box-shadow: 0 30px 80px rgba(0,0,0,0.9);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.lightbox-close:hover {
    color: var(--color-accent);
}
    border-radius: 12px;
    background: rgba(255, 220, 51, 0.15);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.floating-glass-badge .badge-icon.gold {
    background: var(--color-accent);
    color: #041C2C;
}

.floating-glass-badge strong {
    display: block;
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.2;
}

.floating-glass-badge small {
    color: var(--text-muted);
    font-size: 0.75rem;
}
