:root {
    --bg-cream: #FDFBF7; /* Beige/Blanco puro solicitado como fondo */
    --accent-rose: #6B4A3E; /* Tono marrón cálido para acentos/textos — combina con el logo */
    --text-dark: #1A1A1A; /* Negro puro para cuerpos de texto */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-cream);
    color: #3A2A2D; /* Tono muy oscuro pero cálido para contraste */
    overflow-x: hidden; 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Navegación Principal --- */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* Empieza transparente sobre el hero; se vuelve sólido al hacer scroll */
    background-color: transparent;
    backdrop-filter: blur(0px);
    box-shadow: none;

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    z-index: 100;
    opacity: var(--nav-opacity, 0);
    transition: opacity 0.3s ease-out, background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

/* Cuando el usuario scrollea fuera del hero, el nav se vuelve sólido */
.main-nav.scrolled {
    background-color: #FFF9E1;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 35px;
    width: auto;
    transform-origin: left center;
    transition: transform 0.3s ease;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    text-decoration: none;
    color: var(--accent-rose);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: color 0.3s ease;
}

/* Cuando hay scroll, los links se mantienen marrones */
.main-nav.scrolled .nav-links li a {
    color: var(--accent-rose);
}

.nav-links li a:hover {
    color: var(--text-dark);
}

.main-nav.scrolled .nav-links li a:hover {
    color: var(--text-dark);
}

/* --- Botón Hamburguesa --- */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 2px;
    z-index: 9999;
    position: relative;
}

.mobile-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--accent-rose);
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Con scroll: mantenemos el marrón */
.main-nav.scrolled .mobile-toggle span {
    background-color: var(--accent-rose);
}

/* Estado de la hamburguesa abierta (X) */
.mobile-toggle.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Responsivo para el Menú */
@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 280px;
        background-color: #FFF9E1;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        padding: 50px;
        z-index: 9998;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-toggle {
        display: flex;
    }
}

/* ============================================================
   HERO: PREMIUM DYNAMIC AURA
   ============================================================ */

.hero-premium {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    background-color: var(--bg-cream);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    perspective: 1000px; /* For 3D logo effect */
}

/* --- Animated Auras --- */
.aura-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.aura {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: floatAura 20s infinite ease-in-out alternate;
    will-change: transform;
}

/* Color palettes for Auras: warm sophisticated tones */
.aura-1 {
    width: 60vw; height: 60vw;
    background: #D9A071; /* Soft terracotta/gold */
    top: -10%; left: -10%;
    animation-delay: 0s;
}

.aura-2 {
    width: 50vw; height: 50vw;
    background: #6B4A3E; /* Brand brown */
    bottom: -10%; right: -10%;
    animation-delay: -5s;
    animation-duration: 25s;
}

.aura-3 {
    width: 40vw; height: 40vw;
    background: #E8C3A8; /* Light warm peach */
    top: 40%; left: 30%;
    animation-delay: -10s;
    animation-duration: 18s;
}

@keyframes floatAura {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(10%, 15%) scale(1.1); }
    66% { transform: translate(-10%, 5%) scale(0.9); }
    100% { transform: translate(5%, -15%) scale(1.05); }
}

/* --- Glass/Noise Overlay --- */
.aura-glass {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 249, 225, 0.4); /* Cream with transparency */
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 2;
    pointer-events: none;
}

/* --- Content Inner --- */
.hero-premium-inner {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 100%;
    height: 100%;
    padding: 80px 40px 60px;
}

/* --- 3D Logo Wrapper --- */
.hero-logo-3d-wrapper {
    width: min(90vw, 900px);
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out; /* Smooth follow for JS */
    will-change: transform;
}

.hero-logo-svg {
    width: 100%;
    height: auto;
    display: block;
    /* 3D Depth effect */
    filter: drop-shadow(0 20px 30px rgba(107, 74, 62, 0.15));
}

.hero-logo-svg .hero-path {
    fill: transparent;
    stroke: var(--accent-rose);
    stroke-width: 3;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawContour 3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes drawContour {
    0% {
        stroke-dashoffset: 100;
        fill: transparent;
    }
    75% {
        stroke-dashoffset: 0;
        fill: transparent;
    }
    100% {
        stroke-dashoffset: 0;
        fill: var(--accent-rose);
    }
}

/* --- Tagline & CTA --- */
.hero-cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 1s;
}

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

.hero-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #6B4A3E;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 500;
    margin: 0;
    text-align: center;
}

.hero-premium-cta {
    display: inline-block;
    padding: 16px 48px;
    background-color: #6B4A3E;
    color: #FFF9E1;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(107, 74, 62, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* Flash effect on hover */
.hero-premium-cta::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-20deg);
    transition: all 0.6s ease;
}

.hero-premium-cta:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(107, 74, 62, 0.3);
    background-color: #5A3C32;
}

.hero-premium-cta:hover::after {
    left: 150%;
}

@media (max-width: 768px) {
    .aura { filter: blur(50px); }
    .hero-logo-3d-wrapper { width: min(90vw, 55vh); }
    .hero-tagline { font-size: 0.9rem; letter-spacing: 2px; }
}



/* --- Sección Sobre Nosotros --- */
.about-section {
    position: relative;
    background-color: transparent; /* Permite ver el rosa de fondo fluido */
    padding: 120px 5%; /* Padding generoso para respirar */
    overflow: hidden;
    scroll-margin-top: 80px; /* Evita que el navbar blanco lo tape al hacer clic */
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dividimos en 2 columnas: Texto / Foto */
    gap: 80px;
    align-items: center;
}

/* --- Texto Sobre Nosotros --- */
.about-content {
    /* Animación de entrada inicial suave */
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.about-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-subtitle {
    font-family: 'Inter', sans-serif;
    color: var(--accent-rose);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

/* Pequeña línea decorativa al lado del subtítulo */
.about-subtitle::after {
    content: '';
    height: 1px;
    width: 60px;
    background-color: var(--accent-rose);
}

.about-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    color: var(--accent-rose); /* Rosa solicitado */
    line-height: 1.1;
    margin-bottom: 30px;
    font-style: italic;
    /* text-shadow no es necesario sobre fondo claro con texto rosa brillante, pero si lo fuera: */
}

.about-text {
    font-size: 1.15rem;
    color: #1A1A1A; /* Negro puro para máximo contraste */
    line-height: 1.8;
    margin-bottom: 20px;
}

/* --- Stats Cards Interactivas (Los +10 años, etc) --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.stat-card {
    background-color: #ffffff;
    padding: 30px 20px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border-bottom: 3px solid transparent;
    transition: all 0.4s ease;
    cursor: default;
}

/* Interacción Hover de las tarjetas */
.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(184, 133, 131, 0.15); /* Sombra rosada */
    border-bottom: 3px solid var(--accent-rose);
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--text-dark); /* Color negro */
    font-weight: 600;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333333; /* Negro/Gris muy oscuro */
    font-weight: 600;
}

/* --- Foto Lateral (Grid derecha) --- */
.about-image {
    position: relative;
    /* Animación de entrada inicial suave */
    opacity: 0;
    transform: scale(0.95) translateX(30px);
    transition: all 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.about-image.visible {
    opacity: 1;
    transform: scale(1) translateX(0);
}

.about-photo {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: -20px 20px 0px rgba(184, 133, 131, 0.15); /* Efecto bloque offset rosado */
}

/* Decoración abstracta sutil flotante detrás de la foto */
.about-image::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 1px solid rgba(184, 133, 131, 0.4);
    top: -40px;
    right: -40px;
    z-index: -1;
    animation: rotateDecor 20s linear infinite; /* Animación super sutil */
}

@keyframes rotateDecor {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- Responsividad Básica para móviles --- */
@media (max-width: 900px) {
    .about-container { grid-template-columns: 1fr; gap: 40px;}
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .about-title { font-size: 2.5rem; }
    .about-photo { height: 400px; }
}

/* --- Utilities (Text Align) --- */
.text-center { text-align: center; }
.justify-center { justify-content: center; }

/* --- Delay Utility para Animaciones en Cascada --- */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.5s; }

/* --- Sección Por Qué Elegirnos (Features) --- */
.features-section {
    padding: 100px 5%;
    background-color: transparent; /* Deja ver el rosa */
    position: relative;
    z-index: 5;
}

.features-header {
    margin-bottom: 70px;
    /* Usa la animación fade-in-up central base */
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.features-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    background-color: #ffffff;
    padding: 50px 40px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05); /* Borde sutil */
    transition: all 0.4s ease;
    
    /* Animación inicial */
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, background-color 0.4s ease;
}

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

.feature-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 25px 50px rgba(194, 59, 90, 0.15); /* Brillo estilo joyería rosa */
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    background: rgba(255, 181, 192, 0.2); /* Círculo rosa sutil de fondo (#FFB5C0) */
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.feature-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--accent-rose); /* Rosa */
    margin-bottom: 15px;
}

.feature-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333333; /* Negro/Gris muy oscuro */
}

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

/* --- Sección Servicios (Interactiva) --- */
.services-section {
    padding: 100px 5%;
    background-color: transparent; /* Fondo rosa fluido */
    position: relative;
    z-index: 5;
    scroll-margin-top: 80px; /* Evita que el navbar blanco lo tape al hacer clic */
}

.services-header {
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.services-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.services-interactive {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 0; /* Sin gap para que unan */
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.03);
    overflow: hidden;
    /* Animación de entrada */
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
}
.services-interactive.visible {
    opacity: 1;
    transform: translateY(0);
}

.services-tabs {
    flex: 0 0 350px;
    background-color: #fcfbf9;
    padding: 40px 0;
    border-right: 1px solid rgba(0,0,0,0.05);
}

.service-tab {
    display: block;
    width: 100%;
    text-align: left;
    padding: 20px 40px;
    background: none;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: #333333; /* Negro/Gris */
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-weight: 500;
    outline: none;
}

.service-tab:hover {
    color: var(--accent-rose);
    background-color: rgba(184, 133, 131, 0.05);
}

.service-tab.active {
    color: var(--accent-rose);
    border-left: 3px solid var(--accent-rose);
    background-color: #ffffff;
    font-weight: 600;
    /* Sombrecita interior sutil */
    box-shadow: inset 5px 0 10px rgba(0,0,0,0.02);
}

.services-content {
    flex: 1;
    padding: 60px 80px;
    position: relative;
    /* Altura mínima para que no salte HTML al cambiar pestañas cortas/largas */
    min-height: 480px; 
}

.service-panel {
    display: none;
    animation: fadeInPanel 0.4s ease-out forwards;
}

.service-panel.active {
    display: block;
}

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

.service-panel h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--accent-rose); /* Rosa */
    margin-bottom: 30px;
}

.service-panel ul {
    list-style: none;
    column-count: 2; /* Divide las listas largas en dos columnas */
    column-gap: 50px;
}

.service-panel ul li {
    font-size: 1.05rem;
    color: #333333; /* Negro */
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
    break-inside: avoid-column; /* Evita que el texto de una viñeta se rompa a la mitad */
}

.service-panel ul li::before {
    content: '•';
    color: var(--accent-rose);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
    top: 2px;
}

@media (max-width: 900px) {
    .services-interactive { flex-direction: column; }
    .services-tabs { 
        border-right: none; 
        border-bottom: 1px solid rgba(0,0,0,0.05); 
        flex: auto; 
        padding: 20px 0; 
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
    }
    .service-panel ul { column-count: 1; }
    .service-tab { 
        display: inline-block;
        width: auto;
        padding: 15px 25px; 
        border-left: none; 
        border-bottom: 3px solid transparent; 
    }
    .service-tab.active { 
        border-left: none; 
        border-bottom: 3px solid var(--accent-rose); 
        box-shadow: inset 0 -5px 10px rgba(184, 133, 131, 0.03);
    }
    .services-content {
        padding: 40px 30px;
        min-height: auto;
    }
} /* <--- AQUÍ ESTÁ EL CIERRE QUE FALTABA */

/* --- Sección Proyectos Realizados (Masonry y Filtros) --- */
.projects-section {
    padding: 100px 5%;
    background-color: transparent; /* Continuidad del rosa */
    position: relative;
    z-index: 5;
    scroll-margin-top: 80px; /* Evita que el navbar blanco tape el titulo */
}

.projects-header {
    margin-bottom: 50px;
    text-align: center;
}

/* Filtros */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(184, 133, 131, 0.3);
    color: #555;
    padding: 10px 25px;
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.filter-btn.active {
    background-color: var(--accent-rose);
    color: white;
    border-color: var(--accent-rose);
    box-shadow: 0 5px 15px rgba(184, 133, 131, 0.3);
}

/* Masonry Grid (Verdadero Mosaico con CSS Columns) */
.masonry-gallery {
    max-width: 1400px;
    margin: 0 auto;
    
    /* Configuración de Columnas para Masonry Real */
    column-count: 1; /* Móvil por defecto */
    column-gap: 20px;
    
    transition: opacity 0.4s ease;
}

/* Responsividad Masonry */
@media (min-width: 600px) {
    .masonry-gallery {
        column-count: 2;
    }
}
@media (min-width: 992px) {
    .masonry-gallery {
        column-count: 3;
    }
}

/* Item Base */
.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: zoom-in;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.4s ease, opacity 0.4s ease;
    
    /* Clave para Masonry: Evita que el item se rompa entre dos columnas */
    break-inside: avoid;
    margin-bottom: 20px; /* Separación vertical que reemplaza al grid gap */
}

.gallery-item.hide {
    display: none;
}

/* Variaciones de Tamaño (Forzando aspecto visual en los Placeholders Cuadrados) */
/* Como las fotos base son todas 1:1, forzamos diferentes alturas para que el Masonry actúe */

.format-tall {
    aspect-ratio: 3 / 4; /* Más alto que ancho */
}

.format-square {
    aspect-ratio: 1 / 1;
}

.format-wide {
    aspect-ratio: 4 / 3; /* Más ancho que alto */
}

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

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

/* Overlay de la galería */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 40%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.gallery-category {
    color: var(--accent-rose);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 8px;
    transform: translateY(15px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover .gallery-category {
    transform: translateY(0);
}

.gallery-title {
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1.2;
    transform: translateY(15px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) 0.1s;
}

.gallery-item:hover .gallery-title {
    transform: translateY(0);
}

/* --- Lightbox Modal --- */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none; /* Inactivo cuando está oculto */
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
}

#lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.lightbox-modal.active #lightbox-img {
    transform: scale(1);
}

.lightbox-caption {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    text-align: center;
    margin-top: 15px;
    font-style: italic;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: transparent;
    border: none;
    color: white;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1001;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--accent-rose);
}

/* --- Sección Experiencia del Equipo (Timeline Interactiva) --- */
.experience-section {
    padding: 100px 5%;
    background-color: transparent; /* Continuidad del rosa */
    position: relative;
    z-index: 5;
    overflow: hidden;
}

.experience-header {
    margin-bottom: 70px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.experience-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
}

.timeline-container.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Línea vertical central/lateral */
.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px; /* Alineado a la izquierda para versión mobile/tablet */
    width: 2px;
    background: rgba(184, 133, 131, 0.2);
}

.timeline-item {
    position: relative;
    padding-left: 100px; /* Espacio para la línea y el punto */
    margin-bottom: 60px;
    transition: all 0.4s ease;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 31px; /* Centrado exactamente sobre la línea de 2px en el pixel 40 */
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    border: 3px solid var(--accent-rose);
    box-shadow: 0 0 0 5px rgba(184, 133, 131, 0.1);
    transition: all 0.4s ease;
    z-index: 2;
}

.timeline-content {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 16px;
    border-left: 4px solid transparent;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

/* --- Interactividad Hover del Timeline --- */
.timeline-item:hover .timeline-marker {
    background-color: var(--accent-rose);
    box-shadow: 0 0 0 8px rgba(184, 133, 131, 0.2);
    transform: scale(1.2);
}

.timeline-item:hover .timeline-content {
    transform: translateX(10px);
    background-color: #ffffff;
    border-left: 4px solid var(--accent-rose);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.timeline-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--accent-rose); /* Rosa */
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.timeline-item:hover .timeline-title {
    color: var(--accent-rose);
}

.timeline-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #333333; /* Negro fluido */
}

@media (max-width: 768px) {
    .timeline-container::before {
        left: 20px;
    }
    .timeline-item {
        padding-left: 60px;
    }
    .timeline-marker {
        left: 11px;
    }
    .timeline-content {
        padding: 25px;
    }
    .timeline-title { font-size: 1.5rem; }
}

/* --- Sección CTA Final (Hablemos de tu evento) --- */
.cta-section {
    padding: 120px 5%;
    background-color: #2c2c2c; /* Contraste oscuro muy elegante */
    color: #ffffff;
    text-align: center;
    position: relative;
    z-index: 5;
    overflow: hidden;
}

/* Decoración abstracta sutil de fondo */
.cta-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(184, 133, 131, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    /* Usa la animación base fade-in-up de scroll */
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.cta-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 25px;
    font-style: italic;
}

.cta-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
    font-weight: 300;
}

/* Envoltorio para los botones de contacto */
.contact-buttons-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap; /* Para que en móvil bajen debajo */
    margin-bottom: 20px; /* Separación con el texto inferior */
}

/* --- Botones Interactivos Base compartida --- */
.whatsapp-btn-interactive,
.instagram-btn-interactive {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 20px 45px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

/* --- Específico WhatsApp --- */
.whatsapp-btn-interactive {
    background-color: #25D366; 
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn-interactive:hover {
    background-color: #1EBE5D; 
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
    transform: translateY(-5px) scale(1.02);
}

/* --- Específico Instagram --- */
.instagram-btn-interactive {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 10px 30px rgba(220, 39, 67, 0.4);
}

.instagram-btn-interactive:hover {
    background: linear-gradient(45deg, #f09433 10%, #e6683c 35%, #dc2743 60%, #cc2366 85%, #bc1888 100%);
    box-shadow: 0 15px 40px rgba(220, 39, 67, 0.6);
    transform: translateY(-5px) scale(1.02);
}

/* Efecto Brillo / Resplandor Común */
.whatsapp-btn-interactive::before,
.instagram-btn-interactive::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    transition: all 0.7s ease;
}

.whatsapp-btn-interactive:hover::before,
.instagram-btn-interactive:hover::before {
    left: 200%;
}

.whatsapp-btn-interactive svg,
.instagram-btn-interactive svg {
    transition: transform 0.4s ease;
}

.whatsapp-btn-interactive:hover svg,
.instagram-btn-interactive:hover svg {
    transform: scale(1.15) rotate(5deg);
}

.wa-subtext {
    display: block;
    margin-top: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

@media (max-width: 900px) {
    .cta-title { font-size: 2.8rem; }
    .cta-text { font-size: 1.1rem; }
}

/* --- Footer Principal --- */
.main-footer {
    background-color: #FFF9E1; /* Color corporativo solicitado */
    color: #333333;
    padding: 80px 5% 0;
    position: relative;
    z-index: 5;
    font-family: 'Inter', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* Marca ocupa más espacio, Enlaces y Contacto iguales */
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Línea gris tenue */
}

.footer-brand .footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
}

.footer-desc {
    color: #666666; /* Gris legible */
    line-height: 1.7;
    max-width: 350px;
    font-size: 0.95rem;
}

.footer-links h4, .footer-contact h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--accent-rose);
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.footer-links ul, .footer-contact ul {
    list-style: none;
}

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

.footer-links ul li a {
    color: #555555;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: #555555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-list li a {
    color: #555555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-list li a:hover {
    color: var(--accent-rose);
}

.contact-list .icon {
    font-size: 1.2rem;
    /* Ajuste para alinear visualmente los emojis con el texto */
    transform: translateY(-2px); 
}

/* Base Footer Legal y Redes */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(0, 0, 0, 0.4);
    font-size: 0.85rem;
    flex-wrap: wrap; 
}

.agency-credit {
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid rgba(0, 0, 0, 0.2);
}

.agency-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.agency-link:hover strong {
    color: var(--accent-rose);
}

.agency-credit strong {
    color: #333333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, 0.5); /* Iconos de SVG color oscuro suave */
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--accent-rose);
    transform: translateY(-3px);
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column-reverse;
        gap: 20px;
        text-align: center;
    }
    .agency-credit {
        display: block;
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        margin-top: 5px;
    }
}
