/* ==========================================================================
   CREACIONES MATTY - PREMIUM DESIGN SYSTEM
   ========================================================================== */

:root {
    /* Paleta de Colores - Dark Premium */
    --bg-dark: #121212;
    --bg-surface: rgba(26, 26, 26, 0.7);
    --bg-card: rgba(30, 30, 30, 0.6);
    
    --text-primary: #f5f5f5;
    --text-secondary: #aaaaaa;
    
    /* Acentos */
    --gold: #D4AF37;
    --gold-hover: #b5952f;
    --lilac: #dcd3f6;
    --lilac-hover: #c9bcf2;
    
    /* Variables de UI */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 12px;
}

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

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

html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   TIPOGRAFÍA Y UTILIDADES
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
}

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

.btn-primary {
    background-color: var(--gold);
    color: #111;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-primary:disabled {
    background-color: #555;
    color: #888;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* ==========================================================================
   NAVBAR (GLASSMORPHISM)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(18, 18, 18, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(18, 18, 18, 0.85);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.brand-logo {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(212, 175, 55, 0.5); /* Borde dorado sutil */
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gold);
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-trigger {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    position: relative;
    padding: 5px;
    transition: var(--transition);
}

.cart-trigger:hover {
    color: var(--gold);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--gold);
    color: #111;
    font-size: 0.7rem;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   HERO SECTION & VIDEO
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    z-index: 1; /* Para cubrir el video fijo inicialmente */
}

.hero-image-bg {
    background-image: linear-gradient(rgba(18,18,18,0.7), rgba(18,18,18,0.9)), url('./assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.fixed-video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.7) contrast(1.1);
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(18,18,18,0.4) 0%, rgba(18,18,18,0.9) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}

.hero-content h1 span {
    color: var(--gold);
    font-style: italic;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0,0,0,0.9);
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

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

.scroll-line {
    width: 1px;
    height: 40px;
    background-color: var(--gold);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* ==========================================================================
   HIGHLIGHTS (Menú Rápido / Categorías Destacadas)
   ========================================================================== */
.highlights-section {
    position: relative;
    z-index: 1;
    background-color: #ffffff; /* Fondo blanco tipo Morphobake */
    padding: 80px 20px;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.highlights-container {
    max-width: 1000px;
    margin: 0 auto;
}

.highlights-section h2 {
    font-size: 2.5rem;
    color: #111111; /* Texto oscuro */
    margin-bottom: 50px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-10px);
}

.highlight-item img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%; /* Estilo circular como morphobake */
    margin-bottom: 20px;
    border: 4px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.highlight-item:hover img {
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.highlight-item h3 {
    font-size: 1.2rem;
    color: #333333; /* Texto oscuro */
    transition: var(--transition);
    font-weight: 600;
}

.highlight-item:hover h3 {
    color: var(--gold);
}

@media (max-width: 768px) {
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==========================================================================
   VIDEO REVEAL WINDOW (Efecto Parallax del Video)
   ========================================================================== */
.video-reveal-window {
    position: relative;
    z-index: 0; /* Menor que 1 para que las secciones sólidas pasen por encima */
    height: 80vh; /* Espacio donde se verá el video */
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-caption {
    font-size: 4rem;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 5px 20px rgba(0,0,0,0.9);
    text-align: center;
    pointer-events: none;
}

/* ==========================================================================
   CATÁLOGO (Filtros y Grilla)
   ========================================================================== */
.catalog-section {
    position: relative;
    z-index: 1;
    background-color: var(--bg-dark);
    padding: 100px 20px;
    width: 100%;
}

.menu-nav-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 20px;
}

.btn-back {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-back:hover {
    color: var(--gold);
    transform: translateX(-5px);
}

.catalog-inner {
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-title {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.section-sub {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--gold);
    color: #111;
    border-color: var(--gold);
}

/* ==========================================================================
   GRILLA DE PRODUCTOS
   ========================================================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
    width: 100%;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    overflow: hidden;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: rgba(212, 175, 55, 0.3);
}

.product-img-wrap {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.product-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.08);
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.product-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
    flex-grow: 1;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 15px;
}

.btn-add-cart {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    width: 100%;
    padding: 10px;
    border-radius: 25px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    transition: var(--transition);
}

.btn-add-cart:hover {
    background: var(--gold);
    color: #111;
}

/* ==========================================================================
   MÚSICA DE FONDO (AUDIO BUTTON)
   ========================================================================== */
.audio-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(5px);
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.audio-btn:hover {
    transform: scale(1.1);
    background: var(--gold);
    color: #111;
}

/* ==========================================================================
   NOSOTROS (ABOUT SECTION)
   ========================================================================== */
.about-section {
    position: relative;
    padding: 120px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.about-image-bg {
    background-image: linear-gradient(rgba(18,18,18,0.85), rgba(18,18,18,0.85)), url('./assets/about-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.about-content {
    max-width: 800px;
}

.about-content h2 {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 30px;
}

.about-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.about-content strong {
    color: var(--gold);
    font-weight: 600;
}

/* ==========================================================================
   CARRITO DE COMPRAS (SIDEBAR)
   ========================================================================== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 100vw;
    height: 100vh;
    background: #1a1a1a;
    border-left: 1px solid rgba(255,255,255,0.05);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    z-index: 1500;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cart-overlay.open {
    display: block;
    opacity: 1;
}

.cart-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.cart-header h3 {
    font-size: 1.5rem;
    color: var(--gold);
}

.close-cart-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

.close-cart-btn:hover {
    color: var(--gold);
    transform: rotate(90deg);
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.empty-cart-message {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 50px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.02);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-info h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    background: #111;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.cart-total-row span:last-child {
    color: var(--gold);
}

.cart-form input {
    width: 100%;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: white;
    margin-bottom: 15px;
    font-family: var(--font-body);
}

.cart-form input:focus {
    outline: none;
    border-color: var(--gold);
}

.btn-whatsapp {
    width: 100%;
    background-color: #25D366; /* Verde WhatsApp */
    color: white;
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    position: relative;
    z-index: 1;
    background: #0a0a0a;
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-logo {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 2px solid rgba(212, 175, 55, 0.8);
    opacity: 0.95;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.footer-copy {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==========================================================================
   GALERÍA DE TORTAS (PORTAFOLIO)
   ========================================================================== */
.custom-cakes-section {
    background-color: #0d0d0d;
    padding: 100px 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.custom-cakes-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.cake-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.cake-img-wrap {
    overflow: hidden;
    border-radius: var(--border-radius);
    aspect-ratio: 1; /* Cuadrado perfecto */
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cake-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    filter: brightness(0.85);
}

.cake-img-wrap:hover img {
    transform: scale(1.1);
    filter: brightness(1);
}

.cake-cta-container {
    text-align: center;
}

/* ==========================================================================
   MODAL COTIZADOR DE TORTAS
   ========================================================================== */
.quote-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    z-index: 2500;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.quote-modal-overlay.open {
    display: block;
    opacity: 1;
}

.quote-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    width: 90%;
    max-width: 500px;
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--border-radius);
    padding: 30px;
    z-index: 2600;
    display: none;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    backdrop-filter: blur(15px);
}

.quote-modal.open {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%);
}

.quote-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}

.quote-modal-header h3 {
    font-size: 1.8rem;
    color: var(--gold);
}

.close-quote-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.close-quote-btn:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

.quote-intro {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
    text-align: center;
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-form input, .order-form textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: white;
    font-family: var(--font-body);
    transition: var(--transition);
}

.order-form input:focus, .order-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255,255,255,0.08);
}

/* ==========================================================================
   RESPONSIVIDAD
   ========================================================================== */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .cake-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .cake-gallery {
        grid-template-columns: 1fr;
    }
}
    
@media (max-width: 768px) {
    .nav-links {
        display: none; /* En móvil ocultamos los links por ahora, o haríamos un menú hamburguesa */
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

/* ==========================================================================
   LOADER / SPLASH SCREEN
   ========================================================================== */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0a0a0a;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-logo {
    width: 500px;
    opacity: 0;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
}

/* ==========================================================================
   HERO BRANDING
   ========================================================================== */
.brand-hero {
    font-family: "Playfair Display", serif;
    font-size: 5rem;
    color: var(--gold);
    margin-bottom: 10px;
    font-weight: 700;
    font-style: italic;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    line-height: 1.1;
}

.brand-subtitle {
    font-family: var(--font-body);
    font-size: 1.5rem;
    color: #ffffff;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
    .brand-hero {
        font-size: 3.5rem;
    }
    .brand-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }
}

.brand-hero-image {
    width: 700px;
    max-width: 90vw;
    mix-blend-mode: lighten;
    margin-bottom: -10px;
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.9));
}


/* HERO DOS COLUMNAS */
.hero-split {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-split-left, .hero-split-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-split-left {
    align-items: flex-end;
}

.hero-split-right {
    align-items: flex-start;
    text-align: left;
}

.brand-hero-image-transparent {
    width: 450px;
    max-width: 100%;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.8));
}

@media (max-width: 768px) {
    .hero-split {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .hero-split-left {
        align-items: center;
    }
    .hero-split-right {
        align-items: center;
        text-align: center;
    }
    .brand-hero-image-transparent {
        width: 300px;
    }
}



/* Asegurar que el fondo del nuevo logo dorado desaparezca por completo y se funda con el cintillo negro */
.brand-logo, .footer-logo {
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.3));
}

/* Estilo premium para el texto del logo en el cintillo */
.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #f9d976 0%, #e9b646 50%, #f6e27a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 4px 10px rgba(0,0,0,0.8);
    margin-left: 12px;
}

.brand-logo {
    height: 55px !important;
    width: 55px !important;
}


/* Alinear el texto y la imagen del logo verticalmente */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ==========================================================================
   NUEVO LAYOUT EDITORIAL PARA "NUESTRAS RAICES"
   ========================================================================== */
.about-section {
    padding: 100px 20px;
}

.editorial-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
    gap: 30px;
}

@media (min-width: 768px) {
    .editorial-layout {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 50px;
    }
}

.editorial-title {
    flex: 1;
    text-align: right;
}

@media (max-width: 767px) {
    .editorial-title {
        text-align: center;
    }
}

.editorial-title h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 0;
    background: linear-gradient(135deg, #f9d976 0%, #e9b646 50%, #f6e27a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 4px 10px rgba(0,0,0,0.8);
}

.editorial-divider {
    width: 80px;
    height: 2px;
    background-color: var(--gold);
    margin: 20px auto;
}

@media (min-width: 768px) {
    .editorial-divider {
        width: 2px;
        height: 120px;
        margin: 0;
    }
}

.editorial-text {
    flex: 2;
}

.editorial-text p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #e0e0e0;
}

.editorial-text strong {
    color: var(--gold);
    font-weight: 600;
}

.editorial-text em {
    color: #fff;
    font-style: italic;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
}

/* ==========================================================================
   FOOTER SOCIAL ICONS
   ========================================================================== */
.footer-social-section {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-cta {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--gold);
    margin: 0;
    letter-spacing: 0.5px;
}

.social-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
    transform: translateY(-3px);
}

/* ==========================================================================
   HERO PREMIUM LAYOUT
   ========================================================================== */
.hero-premium-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    text-align: left;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .hero-premium-layout {
        text-align: center;
        gap: 20px;
    }
}

.hero-big-logo {
    width: 280px;
    height: auto;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
    opacity: 0.95;
    animation: float 6s ease-in-out infinite;
}

@media (max-width: 768px) {
    .hero-big-logo {
        width: 180px;
    }
}

.hero-text-side {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero-text-side {
        align-items: center;
    }
}

.premium-brand-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    margin: 0;
    background: linear-gradient(135deg, #f9d976 0%, #e9b646 50%, #f6e27a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 4px 10px rgba(0,0,0,0.8));
    line-height: 1.1;
}

@media (max-width: 768px) {
    .premium-brand-title {
        font-size: 3rem;
    }
}

.premium-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: #fff;
    margin: 15px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

@media (max-width: 768px) {
    .premium-subtitle {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }
}

.premium-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    color: #dedede;
    line-height: 1.6;
    max-width: 500px;
    margin: 0;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
