/* --- VARIABLES --- */
:root {
    /* Colores Cremitas y Estética Boho (Café, Marrón Suave) */
    --primary: #C08A63;      /* Café con leche / Caramelo suave */
    --primary-hover: #A6714E;
    --secondary: #D4B499;    /* Beige / Marrón claro */
    --secondary-hover: #BF9C7E;
    --accent: #E8C3B8;       /* Rosa palo cálido / Tierra suave */
    --accent-hover: #D6A89A;
    
    /* Neutrales Cremitas */
    --bg-color: #F4EBE1;     /* Fondo principal crema cálido */
    --bg-light: #FCF9F5;     /* Blanco roto cálido para tarjetas */
    --text-main: #4A3B32;    /* Marrón café oscuro para texto */
    --text-muted: #857163;   /* Marrón grisáceo para texto secundario */
    --border-color: #E6D8CB;
    
    /* UI Elements */
    --glass-bg: rgba(252, 249, 245, 0.75);
    --glass-border: rgba(230, 216, 203, 0.6);
    
    /* Sombras Premium cálidas */
    --shadow-sm: 0 4px 6px -1px rgba(74, 59, 50, 0.04), 0 2px 4px -1px rgba(74, 59, 50, 0.02);
    --shadow-md: 0 10px 15px -3px rgba(74, 59, 50, 0.06), 0 4px 6px -2px rgba(74, 59, 50, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(74, 59, 50, 0.1), 0 10px 10px -5px rgba(74, 59, 50, 0.04);
    --shadow-glow-primary: 0 0 20px rgba(192, 138, 99, 0.5);
    --shadow-glow-secondary: 0 0 20px rgba(212, 180, 153, 0.5);
    
    /* Soft Pastel White for better readability on dark/hero */
    --pastel-white: #F8F8F8;
    
    /* Tipografía */
    --font-main: 'Outfit', sans-serif;
    
    /* Transiciones */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & BASICS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

section, .section {
    padding: 120px 0;
    overflow: visible;
}

.text-center { text-align: center; }
.mt-3 { margin-top: 1.5rem; }

/* --- VIDEO INTRO --- */
.intro-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    min-height: 100vh;
    height: auto;
    background: #000;
    z-index: 9999;
    overflow: hidden; /* This is fine as it's the preloader */
    transition: opacity 1s ease, visibility 1s ease;
}

.intro-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Video fills entire screen */
.intro-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 1;
}

/* Cover for Kling AI watermark at bottom-left — invisible blur only */
.intro-watermark-cover {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 220px;
    height: 60px;
    background: transparent;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 10;
    pointer-events: none;
}

/* Gradient fade at the very bottom for cinematic feel — subtle */
.intro-bottom-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 100%);
    z-index: 5;
    pointer-events: none;
}

/* Logo centered at bottom during video */
.intro-logo-overlay {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    opacity: 0;
    animation: introLogoFadeIn 1s ease forwards;
    animation-delay: 0.8s;
}

.intro-overlay-logo {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 4px 20px rgba(255,255,255,0.5));
}

@keyframes introLogoFadeIn {
    0%   { opacity: 0; transform: translateX(-50%) translateY(10px); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Skip button */
.intro-skip-btn {
    position: absolute;
    bottom: 40px;
    right: 30px;
    z-index: 30;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    padding: 10px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    letter-spacing: 0.05em;
    transition: background 0.3s ease, transform 0.2s ease;
    opacity: 0;
    animation: introLogoFadeIn 0.8s ease forwards;
    animation-delay: 1s;
}

.intro-skip-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.intro-skip-btn span {
    font-size: 1.1rem;
    margin-left: 4px;
}

/* --- TYPOGRAPHY UTILS --- */
.highlight {
    color: var(--primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-header {
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- BUTTONS & HOVERS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Efecto de brillo de barrido en botones */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    z-index: -1;
    transition: var(--transition-slow);
}

.btn:hover::before {
    left: 200%;
    transition: 0.7s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #D8A580 100%);
    color: #FCF9F5;
    box-shadow: 0 10px 20px -5px rgba(192, 138, 99, 0.5);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 35px -5px rgba(192, 138, 99, 0.6), 0 0 15px rgba(255, 255, 255, 0.2);
    color: #FCF9F5;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, #E8CDB8 100%);
    color: #4A3B32;
    box-shadow: 0 10px 20px -5px rgba(212, 180, 153, 0.5);
}

.btn-secondary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 35px -5px rgba(212, 180, 153, 0.6), 0 0 15px rgba(255, 255, 255, 0.2);
    color: #4A3B32;
}

.btn-pink {
    background: linear-gradient(135deg, var(--primary) 0%, #D8A580 100%);
    color: #FCF9F5;
    box-shadow: 0 10px 20px -5px rgba(192, 138, 99, 0.5);
}

.btn-pink:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 35px -5px rgba(192, 138, 99, 0.6), 0 0 15px rgba(255, 255, 255, 0.2);
    color: #FCF9F5;
}

.btn-blue {
    background: linear-gradient(135deg, var(--primary) 0%, #D8A580 100%);
    color: #FCF9F5;
    box-shadow: 0 10px 20px -5px rgba(192, 138, 99, 0.5);
}

.btn-blue:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 35px -5px rgba(192, 138, 99, 0.6), 0 0 15px rgba(255, 255, 255, 0.2);
    color: #FCF9F5;
}

.btn-large {
    padding: 12px 30px; /* Reduced from 18px 42px to make them smaller */
    font-size: 1rem;    /* Reduced from 1.15rem */
}

.btn-full {
    width: 100%;
}

.btn-disabled {
    background: #CBD5E0;
    color: #718096;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-disabled:hover::before {
    display: none;
}

.glow-effect:hover {
    box-shadow: var(--shadow-glow-primary);
}

.glow-effect-secondary:hover {
    box-shadow: var(--shadow-glow-secondary);
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-slow);
    padding: 24px 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 14px 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1400px; /* Reducido un poco para mayor cercanía */
    margin: 0 auto;
    padding: 0 40px; 
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 900;
    transition: var(--transition);
}

.navbar.scrolled .logo {
    color: var(--text-main);
}

.logo-text {
    font-size: 2.8rem; 
    font-weight: 900;
    display: inline-block;
    transform: translateY(6px); 
    min-height: 3.5rem;
    width: 450px; 
    white-space: nowrap;
}

.logo-icon {
    font-size: 2rem;
    display: inline-block;
    transition: var(--transition);
}

.custom-logo {
    height: 85px; /* Más chico, queda estético y no molesta */
    width: auto;
    display: block;
    margin: -10px 0; /* Sobresale apenitas */
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    z-index: 100;
    filter: none; /* Default no filter */
}

.navbar.scrolled .custom-logo {
    filter: none;
}

.logo:hover .logo-icon,
.logo:hover .custom-logo {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 38px; /* Un poco más unidos como pediste */
}

.nav-links a {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem; 
    white-space: nowrap; /* Evita que "Sobre Nosotros" se parta en dos líneas */
}

.navbar.navbar-home:not(.scrolled) .nav-links a {
    color: white;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.navbar.navbar-home:not(.scrolled) .logo-text {
    color: white;
    text-shadow: 0 0 15px rgba(255,255,255,0.6), 0 4px 10px rgba(0,0,0,0.3);
}

.navbar.navbar-home:not(.scrolled) .custom-logo {
    filter: brightness(0) invert(1);
}

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

/* Hover effect avanzado para links */
.hover-underline-animation {
    display: inline-block;
    position: relative;
}

.hover-underline-animation::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 3px;
    bottom: -6px;
    left: 0;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform-origin: bottom right;
    transition: transform 0.3s cubic-bezier(0.86, 0, 0.07, 1);
    border-radius: 2px;
}

.hover-underline-animation:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1100;
    position: relative;
}

.mobile-menu-btn .bar {
    width: 30px;
    height: 4px;
    background-color: var(--text-main);
    border-radius: 4px;
    transition: var(--transition);
}

.hero {
    position: relative;
    padding: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1008;
    overflow: hidden;
    margin-bottom: 0; /* Changed to 0 to keep it exactly 100vh */
    z-index: 10;
    touch-action: pan-y; /* Allow vertical scrolling on mobile */
}

/* Modern Gradient Fade Transition */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px; 
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(30, 20, 12, 0.3) 50%, 
        #1E140C 100%);
    z-index: 5;
    pointer-events: none;
}
/* --- HERO BACKGROUND SLIDESHOW --- */
.hero-bg-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    will-change: transform;
}

.hero-bg-slide {
    position: absolute;
    inset: -10%;          /* extra para evitar bordes blancos del blur */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    filter: blur(4px);
    transform: scale(1.1);
    animation: heroBgFade 16s infinite;
    will-change: opacity, transform, filter;
    transition: filter 1.5s ease;
}

.hero-bg-1 {
    background-image: url('assets/img/da37d802-45d1-4dde-b340-88b328454616.png');
    animation-delay: 0s;
}
.hero-bg-2 {
    background-image: url('assets/img/d6a3cd39-526d-49e6-988c-b6a9064538b9.png');
    animation-delay: 4s;
}
.hero-bg-3 {
    background-image: url('assets/img/684214746_17971469835023429_3559032563400369394_n.png');
    animation-delay: 8s;
}
.hero-bg-4 {
    background-image: url('assets/img/41d94880-a69b-4abe-a191-da86be1ae531.png');
    animation-delay: 12s;
}

@keyframes heroBgFade {
    0%    { opacity: 0;    transform: scale(1.12); }
    6%    { opacity: 0.80; transform: scale(1.1);  }
    25%   { opacity: 0.80; transform: scale(1.05); }
    31%   { opacity: 0;    transform: scale(1.03); }
    100%  { opacity: 0;    transform: scale(1.1);  }
}

/* Overlay cream suave para legibilidad del texto */
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 1;
}

/* Globos cayendo de arriba hacia abajo */
.balloons-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
}

.balloon {
    position: absolute;
    top: -150px; /* Start above screen */
    opacity: 0.9;
    animation: fall-balloon linear infinite;
    transform-origin: top center;
}

/* Profundidad de campo (Parallax Blur) */
.depth-back {
    filter: blur(4px) drop-shadow(0 5px 5px rgba(0,0,0,0.1));
    z-index: 1;
}

.depth-mid {
    filter: blur(1.5px) drop-shadow(0 10px 10px rgba(0,0,0,0.15));
    z-index: 2;
}

.depth-front {
    filter: blur(0px) drop-shadow(0 20px 20px rgba(0,0,0,0.25));
    z-index: 3;
}

.balloon svg {
    width: 100%;
    height: auto;
    animation: sway 4s ease-in-out infinite alternate;
}

/* Diferentes tiempos de balanceo para mayor realismo */
.depth-back svg { animation-duration: 5s; }
.depth-mid svg { animation-duration: 3.5s; }
.depth-front svg { animation-duration: 2.8s; }

@keyframes sway {
    0% { transform: rotate(-8deg) translateX(-10px); }
    100% { transform: rotate(8deg) translateX(10px); }
}

@keyframes fall-balloon {
    0% { 
        transform: translateY(-150px); 
        opacity: 0;
    }
    5% { opacity: 1; }
    85% { opacity: 1; }
    100% { 
        transform: translateY(110vh); 
        opacity: 0;
    }
}

.hero-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 25; /* Higher than the bottom gradient (z-index: 5) */
}

/* Centered single-column override for home page */
.hero-container-centered {
    display: flex;
    justify-content: center;
    align-items: center; /* Perfectly center vertically */
    padding-top: 120px; /* Añadido espacio para alejar del navbar */
    min-height: 100vh;
}

.hero-content {
    order: unset;
    position: relative;
    z-index: 20; /* Increased to stay above the transition gradient */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content-centered {
    text-align: center;
    max-width: 780px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    perspective: 1000px;
    order: 1; /* Move image to the left */
}
.hero-content h1 {
    font-size: 4.5rem; /* Reduced from 6rem to fit in one line */
    margin-bottom: 25px;
    line-height: 1.2;
    color: var(--pastel-white);
    text-shadow: 0 4px 30px rgba(0,0,0,0.3), 0 2px 10px rgba(0,0,0,0.2);
    font-weight: 900;
    white-space: nowrap; /* Force one line */
}

.highlight-real {
    position: relative;
    display: inline-block;
    animation: real-glow 3s infinite alternate ease-in-out;
}

@keyframes real-glow {
    0% {
        text-shadow: 0 0 10px rgba(192, 138, 99, 0.2);
        filter: brightness(1);
        transform: scale(1);
    }
    100% {
        text-shadow: 0 0 25px rgba(192, 138, 99, 0.8), 0 0 40px rgba(232, 195, 184, 0.4);
        filter: brightness(1.2);
        transform: scale(1.02);
    }
}

.hero-content p {
    font-size: 1.35rem;
    color: var(--pastel-white);
    opacity: 0.95;
    margin-bottom: 40px;
    max-width: 1000px;
    width: 100%;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    position: absolute;
    top: 100%; /* Iniciar justo después del bloque de texto */
    margin-top: 160px; /* Aumentado para bajar los botones más aún */
}

.trust-badges {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255,255,255,0.5);
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.badge-icon {
    font-size: 1.3rem;
}

/* Hero Image & Decorations */
.hero-image-slider {
    width: 100%;
    max-width: 550px;
    position: relative;
    z-index: 3;
    aspect-ratio: 1 / 1;
}

.hero-image-slider .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 30px;
    filter: drop-shadow(0 30px 40px rgba(0,0,0,0.2));
    opacity: 0;
    animation: slide-fade 16s infinite;
}

.hero-image-slider .img-1 { animation-delay: 0s; }
.hero-image-slider .img-2 { animation-delay: 4s; }
.hero-image-slider .img-3 { animation-delay: 8s; }
.hero-image-slider .img-4 { animation-delay: 12s; }

@keyframes slide-fade {
    0% { opacity: 0; transform: scale(0.95); }
    6.25% { opacity: 1; transform: scale(1); }
    25% { opacity: 1; transform: scale(1); }
    31.25% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 0; transform: scale(1.05); }
}

.floating-img {
    animation: hero-float 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes hero-float {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-25px) rotate(2deg); }
}

.hero-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: 1;
    opacity: 0.15;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(30px);
}

.pulse-blob {
    animation: blob-pulse 10s infinite alternate ease-in-out;
}

@keyframes blob-pulse {
    0% { transform: translate(-50%, -50%) scale(1); border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    50% { transform: translate(-50%, -50%) scale(1.1); border-radius: 60% 40% 30% 70% / 50% 60% 50% 40%; }
    100% { transform: translate(-50%, -50%) scale(0.9); border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
}

.hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px dashed rgba(192, 138, 99, 0.5);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.ring-1 {
    width: 400px;
    height: 400px;
    animation: spin 30s linear infinite;
}

.ring-2 {
    width: 500px;
    height: 500px;
    border-color: rgba(212, 180, 153, 0.6);
    animation: spin-reverse 40s linear infinite;
}

@keyframes spin { 100% { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes spin-reverse { 100% { transform: translate(-50%, -50%) rotate(-360deg); } }

.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 30px 40px -10px rgba(0,0,0,0.1);
}

.floating-card {
    position: absolute;
    padding: 16px 24px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 4;
}
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
    margin-right: auto; /* Empuja todo lo demás a la derecha */
}

.card-1 {
    bottom: 15%;
    left: -40px;
    animation: float-delayed 5s ease-in-out infinite alternate;
}

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

.bounce-emoji {
    display: inline-block;
    animation: mini-bounce 2s infinite;
}

@keyframes mini-bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1.1); }
}

.card-emoji {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #F4EBE1, #E6D8CB);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -5px rgba(192, 138, 99, 0.3);
}

.floating-card strong {
    font-size: 1.5rem;
    color: var(--text-main);
    line-height: 1;
}

.floating-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    margin: 0;
}

/* Wave Decorators */
/* --- Hero Transition Fixed --- */

.wave-top {
    position: absolute;
    top: -79px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-top .shape-fill { fill: #0F172A; } /* Dark footer color */



/* --- CATALOG SECTION --- */
.catalogo {
    background-color: var(--bg-light);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

/* 3D Tilt Cards provided by VanillaTilt JS, we just style them */
.product-card {
    background: #FFFFFF;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
}

.card-image {
    position: relative;
    height: 260px;
    overflow: hidden;
    background-color: #E2E8F0;
    transform: translateZ(30px); /* 3D pop effect */
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.4) 100%);
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .image-overlay {
    opacity: 1;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.product-card:hover .card-image img {
    transform: scale(1.1);
}

.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #E2E8F0 0%, #CBD5E0 100%);
}

.placeholder-content {
    text-align: center;
    color: var(--text-muted);
    font-weight: 800;
}

.tag {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

.pulse-tag {
    animation: tag-pulse 2s infinite;
}

@keyframes tag-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 51, 102, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(255, 51, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 51, 102, 0); }
}

.tag-popular {
    background: linear-gradient(135deg, var(--primary), #D8A580);
    color: #FCF9F5;
}

.tag-new {
    background: linear-gradient(135deg, var(--secondary), #E8CDB8);
    color: #4A3B32;
}

.card-content {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    transform: translateZ(20px); /* 3D text pop */
    background: white;
}

.card-content h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.product-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.product-features {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.feature-item {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-color);
    padding: 6px 12px;
    border-radius: 10px;
}

/* --- FEATURES SECTION --- */
.relative-section {
    position: relative;
    overflow-x: hidden;
}

.relative-z {
    position: relative;
    z-index: 10;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(162, 225, 219, 0.3);
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: rgba(255, 179, 198, 0.2);
    bottom: -150px;
    right: -150px;
}

.features-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.features-text h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.features-text > p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 48px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hover-lift-item {
    transition: var(--transition);
}

.hover-lift-item:hover {
    transform: translateX(10px);
}

.feature-list li {
    display: flex;
    gap: 24px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.icon-glow-1 { background: #FCF9F5; color: var(--primary); }
.icon-glow-2 { background: #F4EBE1; color: var(--secondary); }
.icon-glow-3 { background: #FCF9F5; color: var(--accent); }

.hover-lift-item:hover .icon-glow-1 { box-shadow: 0 0 20px rgba(192, 138, 99, 0.3); transform: scale(1.1) rotate(5deg); }
.hover-lift-item:hover .icon-glow-2 { box-shadow: 0 0 20px rgba(212, 180, 153, 0.3); transform: scale(1.1) rotate(5deg); }
.hover-lift-item:hover .icon-glow-3 { box-shadow: 0 0 20px rgba(232, 195, 184, 0.3); transform: scale(1.1) rotate(5deg); }

.feature-list h4 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

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

.features-image {
    position: relative;
    padding: 20px;
}

.main-glass {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 40px;
    padding: 40px; /* Reduced from 50px */
    box-shadow: 0 30px 60px -12px rgba(0,0,0,0.15);
    position: relative;
    z-index: 2;
    width: 100%;
}

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

.form-group-quick input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    background: var(--bg-light);
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition);
    outline: none;
}

.form-group-quick input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(192, 138, 99, 0.1);
}

.animated-border {
    position: relative;
}

.animated-border::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    z-index: -1;
    border-radius: 42px;
    background-size: 400%;
    animation: gradient-border 15s linear infinite;
    opacity: 0.5;
}

@keyframes gradient-border {
    0% { background-position: 0 0; }
    50% { background-position: 100% 0; }
    100% { background-position: 0 0; }
}

.main-glass h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.steps-list {
    list-style: none;
    counter-reset: my-counter;
}

.steps-list li {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    min-height: 44px;
}

.steps-list li span {
    position: absolute;
    left: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--secondary), #E8CDB8);
    color: #4A3B32;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    box-shadow: 0 10px 15px -5px rgba(212, 180, 153, 0.4);
}

/* --- FOOTER --- */
.footer {
    background: linear-gradient(to bottom, #1E140C 0%, #0B0705 100%); /* Faded black / bohemian dark transition */
    color: #CBD5E0;
    padding: 120px 0 0 0;
    position: relative;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 80px;
}

.footer-logo {
    color: white;
    margin-bottom: 24px;
    display: inline-flex;
}

.footer-col h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.contact-info li {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
    font-size: 1.1rem;
    transition: var(--transition);
}

.hover-translate:hover {
    transform: translateX(10px);
    color: white;
}

.contact-info a {
    color: #CBD5E0;
}

.contact-info a:hover {
    color: var(--secondary);
}

.footer-col p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.time-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.time-card p {
    margin: 0;
}

.divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 15px 0;
}

.footer-bottom {
    background-color: #0B0705;
    padding: 30px 0;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #857163;
}

/* --- LANGUAGE SWITCHER --- */
.lang-switcher {
    position: relative;
    margin-left: 55px; /* Reducido para acercarlo a los links */
}

.nav-btn {
    margin-left: 35px; /* Reducido para acercarlo al selector de idioma */
}
.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    border: 1.5px solid var(--border-color);
    border-radius: 50px;
    padding: 8px 16px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.navbar.scrolled .lang-btn {
    background: rgba(255,255,255,0.9);
}
.lang-btn:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(192,138,99,0.2);
}
.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 8px;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 2000;
}
.lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: background 0.15s ease;
}
.lang-option:hover { background: var(--bg-color); }
.lang-option-active {
    background: linear-gradient(135deg, var(--primary), #D8A580);
    color: #FCF9F5;
}
.lang-option-active:hover { background: linear-gradient(135deg, var(--primary), #D8A580); }

/* --- FLOATING CONTACT BUTTON (Email) --- */
.float-contact-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(53, 122, 189, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.pulse-button-infinite {
    animation: contact-pulse 2s infinite;
}

@keyframes contact-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(74, 144, 226, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(74, 144, 226, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(74, 144, 226, 0); }
}

.float-contact-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 35px rgba(53, 122, 189, 0.5);
    color: white;
}

/* --- ACTIVE NAV LINK --- */
.hover-underline-animation.nav-active::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* --- PAGE HERO (páginas interiores) --- */
.page-hero {
    background: linear-gradient(135deg, #F4EBE1 0%, #E6D8CB 100%);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow-x: hidden;
    min-height: 320px;
    display: flex;
    align-items: center;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -100px; left: -100px;
    width: 400px; height: 400px;
    background: rgba(192, 138, 99, 0.08);
    border-radius: 50%;
    filter: blur(60px);
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: -150px; right: -100px;
    width: 500px; height: 500px;
    background: rgba(212, 180, 153, 0.1);
    border-radius: 50%;
    filter: blur(60px);
}
.page-hero .container {
    position: relative;
    z-index: 2;
}
.page-hero h1 {
    font-size: 3.8rem;
    margin-bottom: 20px;
    line-height: 1.1;
}
.page-hero > .container > p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* --- HOME TEASER SECTIONS --- */
/* --- HOME TEASER SECTIONS: ANIMATED MESH --- */
.home-teaser-section { 
    position: relative;
    background: #1E140C; /* Unified solid premium brown */
    overflow: hidden;
    z-index: 1;
    color: white;
}

.fireworks-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.firework-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px white, 0 0 20px white;
    animation: firework-burst 1.5s ease-out forwards;
}

@keyframes firework-burst {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}




.home-catalog-teaser { background-color: var(--bg-color); }

}

/* --- ABOUT SECTION (Tamara) --- */
.about-section {
    background: #FDFBF9; /* Soft cream background */
    padding: 100px 0;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.about-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image-wrap:hover img {
    transform: scale(1.05);
}

.about-text-content {
    padding-right: 20px;
}

.about-text-content h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--text-main);
    line-height: 1.2;
}

.about-text-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.about-quote {
    font-style: italic;
    font-weight: 600;
    color: var(--primary);
    margin-top: 30px;
    border-left: 4px solid var(--primary);
    padding-left: 20px;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .about-text-content {
        padding-right: 0;
    }
    .about-text-content h2 {
        font-size: 2.5rem;
    }
    .about-quote {
        text-align: left;
    }
}
.teaser-feature-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}
.teaser-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.teaser-features-grid > div:nth-child(1) { transition-delay: 0.1s; }
.teaser-features-grid > div:nth-child(2) { transition-delay: 0.2s; }
.teaser-features-grid > div:nth-child(3) { transition-delay: 0.3s; }
.teaser-feature-card .feature-icon {
    margin: 0 auto 20px;
}
.teaser-feature-card h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: white;
}
.teaser-feature-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}
.home-teaser-section .section-header h2 {
    color: white;
}
.home-teaser-section .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

/* --- CONTACT PAGE --- */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}
.contact-info-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}
.contact-info-card h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}
.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}
.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.contact-info-item:hover { transform: translateX(6px); }
.contact-info-icon {
    width: 52px; height: 52px;
    border-radius: 16px;
    background: var(--bg-color);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}
.contact-info-item h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a {
    color: var(--text-muted); font-size: 1rem;
}
.contact-info-item a:hover { color: var(--primary); }

/* --- BOOKING / CONTACT FORM --- */
.form-card {
    background: white;
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}
.form-card h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}
.form-card > p {
    color: var(--text-muted);
    margin-bottom: 36px;
    font-size: 1.05rem;
}
.form-group {
    margin-bottom: 24px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--text-main);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    border: 2px solid var(--border-color);
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--text-main);
    background: var(--bg-color);
    transition: var(--transition);
    outline: none;
    appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(192,138,99,0.1);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23857163' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}
.form-submit-row {
    margin-top: 32px;
}
.form-success-msg {
    display: none;
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #F0FFF4, #DCFCE7);
    border-radius: 16px;
    border: 1px solid #86EFAC;
    margin-top: 20px;
}
.form-success-msg .success-icon { font-size: 3rem; display: block; margin-bottom: 10px; }
.form-success-msg h4 { color: #166534; font-size: 1.4rem; margin-bottom: 8px; }
.form-success-msg p { color: #15803D; }

/* --- SOCIAL LINKS (footer) --- */
.social-links { display: flex; gap: 12px; }
.social-icon {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: #CBD5E0;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}
.social-icon:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* --- RESPONSIVE DESIGN & MOBILE OPTIMIZATION --- */

/* Root and Base Mobile Adjustments */
html, body {
    overflow-x: hidden; /* Prevent horizontal scroll */
}

@media (max-width: 1024px) {
    .container { padding: 0 20px; }
    h1 { font-size: 3.2rem; }
}

@media (max-width: 992px) {
    .hero-content h1 { font-size: 3.2rem; }
    .hero-content-centered { max-width: 100%; padding: 0 20px; }
    .teaser-features-grid { grid-template-columns: 1fr; gap: 20px; }
    .contact-page-grid { grid-template-columns: 1fr; gap: 40px; }
    .page-hero h1 { font-size: 2.8rem; }
    .features-wrapper { grid-template-columns: 1fr; gap: 60px; }
    .footer-container { grid-template-columns: 1fr 1fr; }
    .services-grid-unified { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    /* Global Spacing */
    section, .section { padding: 80px 0; }
    
    /* Typography Scaling */
    h1 { font-size: 2.5rem !important; }
    h2 { font-size: 2rem !important; }
    h3 { font-size: 1.6rem !important; }
    p { font-size: 0.95rem; }

    /* Navigation Mobile */
    .intro-preloader { display: none !important; }
    .nav-links, .nav-btn { display: none; }
    .mobile-menu-btn { 
        display: flex; 
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        z-index: 1000;
        width: 44px;
        height: 44px;
        cursor: pointer;
        padding: 5px;
    }
    
    .mobile-menu-btn .bar {
        width: 30px;
        height: 3px;
    }

    .logo-text {
        font-size: 1.15rem !important;
        width: 155px !important;
        transform: translateY(2px) !important;
    }

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

    .nav-container {
        padding: 5px 12px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }

    .lang-switcher {
        margin-left: auto;
        margin-right: 12px;
    }

    .lang-btn {
        padding: 5px 10px !important;
        font-size: 0.75rem !important;
        gap: 4px !important;
    }

    .mobile-menu-btn {
        margin-left: 0;
    }
    
    .dark-theme-page .mobile-menu-btn .bar,
    .navbar-home:not(.scrolled) .mobile-menu-btn .bar {
        background-color: white;
    }
    
    .nav-links.active {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1E140C !important; /* Premium brown — override scrolled navbar */
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 40px 20px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.4);
        text-align: center;
        gap: 25px;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        z-index: 1050;
    }

    .nav-links.active a { 
        color: white !important;
        font-size: 1.2rem; 
        font-weight: 700;
        text-shadow: none;
    }

    /* Hero Section Mobile */
    .hero { padding: 120px 0 60px; min-height: 100vh; }
    .hero-content { text-align: center; width: 100%; padding: 0 15px; }
    .hero-content h1 { 
        font-size: 2.2rem !important; 
        line-height: 1.1; 
        margin-bottom: 15px;
    }
    .hero-content p {
        font-size: 1rem !important;
        margin-bottom: 30px;
    }
    .hero-buttons { 
        flex-direction: column; 
        gap: 12px; 
        width: 100%; 
        max-width: 280px; 
        margin: 0 auto; 
    }
    .hero-buttons .btn { width: 100%; padding: 14px 20px; font-size: 0.95rem; }

    /* Catalog Mosaic Mobile */
    .catalog-mosaic-section { height: 60vh; min-height: 450px; }
    .mosaic-column { width: 180px; }
    .mosaic-content h2 { font-size: 2.2rem; }
    .btn-mosaic { padding: 15px 30px; font-size: 1.1rem; }

    /* Cards & Grids */
    .catalog-grid-multi { grid-template-columns: 1fr; gap: 30px; }
    .product-card { max-width: 100%; }
    .teaser-feature-card { padding: 30px 20px; }

    /* Contact Page Mobile */
    .contact-header h1 { font-size: 2.5rem; }
    .unified-contact-page { padding-top: 120px !important; }
    .form-card { padding: 30px 20px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-info-card { padding: 25px; }

    /* Footer Mobile */
    .footer-container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .footer-col h3::after { left: 50%; transform: translateX(-50%); }
    .contact-info li { justify-content: center; text-align: center; }
    .footer-logo { justify-content: center; }
    .social-links { justify-content: center; }

    /* Floating Button Mobile */
    .float-contact-btn { width: 55px; height: 55px; bottom: 25px; right: 20px; }

    /* Video Intro Mobile */
    .intro-video { object-position: center; }
    .intro-overlay-logo { height: 45px; }
    .intro-skip-btn { bottom: 20px; right: 15px; padding: 8px 16px; font-size: 0.8rem; }
}

@media (max-width: 480px) {
    /* Tighten spacing for smallest screens */
    section, .section { padding: 50px 0; }
    h1 { font-size: 1.8rem !important; }
    h2 { font-size: 1.6rem !important; }
    
    .container { padding: 0 16px; }
    .main-glass { padding: 20px 12px; }
    
    .hero-content h1 { font-size: 1.7rem !important; }
    .hero-content p { font-size: 0.9rem !important; }
    .hero-buttons { max-width: 240px; }
    .hero-buttons .btn { padding: 12px 16px; font-size: 0.9rem; }
    
    .product-modal { 
        border-radius: 20px;
        grid-template-columns: 1fr;
    }
    .modal-image-wrap { height: 250px; border-radius: 20px 20px 0 0; }
    .modal-body { padding: 25px 20px; gap: 15px; }
    .modal-product-name { font-size: 1.5rem; }
    
    .plan-price-badges .plan-badge { padding: 4px 10px; font-size: 0.75rem; }
    .dark-theme-page .plan-price-badges .plan-badge:only-child { font-size: 1rem; }

    /* Button full width consistency */
    .btn-large { width: 100% !important; }
}

/* Portrait orientation specifically for the intro */
@media (max-width: 768px) and (orientation: portrait) {
    .intro-video { object-position: 35% center; }
    .intro-logo-overlay { bottom: 80px; left: 50%; transform: translateX(-50%); }
}


/* ===================================================
   PRODUCT DETAIL MODAL
   =================================================== */
.product-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 20, 12, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    overflow-y: hidden; /* Hide scrollbar when not active */
}
.product-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    overflow-y: auto; /* Show scrollbar only when active */
}
.product-modal {
    background: var(--bg-light);
    border-radius: 28px;
    box-shadow: 0 40px 80px -10px rgba(30, 20, 12, 0.35);
    border: 1px solid var(--glass-border);
    max-width: 860px;
    width: 100%;
    height: auto;
    overflow: visible;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    position: relative;
    transform: scale(0.88) translateY(24px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.product-modal-overlay.active .product-modal {
    transform: scale(1) translateY(0);
}
.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    background: rgba(255,255,255,0.8);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
}
.modal-close-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: scale(1.1);
}
.modal-image-wrap {
    border-radius: 28px 0 0 28px;
    overflow: hidden;
    max-height: 90vh;
    min-height: 340px;
}
.modal-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.modal-body {
    padding: 40px 36px 36px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow: visible;
}
.modal-product-name {
    font-size: 2rem;
    color: var(--text-main);
    line-height: 1.15;
}
.modal-product-tagline {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: -8px;
}
.modal-plans {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-grow: 1;
}
.modal-plan {
    border-radius: 16px;
    border: 2px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}
.modal-plan:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.modal-plan-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    font-weight: 800;
}
.modal-plan-tier {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.modal-plan-price {
    font-size: 1.5rem;
    font-weight: 900;
}
.modal-plan-features {
    list-style: none;
    padding: 10px 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.modal-plan-features li {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-muted);
}
/* Plan color themes */
.modal-plan-basic .modal-plan-header {
    background: linear-gradient(135deg, #E6D8CB 0%, #F4EBE1 100%);
    color: var(--text-main);
}
.modal-plan-basic { border-color: #D4B499; }

.modal-plan-standard .modal-plan-header {
    background: linear-gradient(135deg, #C08A63 0%, #D8A580 100%);
    color: #FCF9F5;
}
.modal-plan-standard { border-color: #C08A63; }
.modal-plan-standard .modal-plan-tier { color: rgba(252,249,245,0.85); }

.modal-plan-premium .modal-plan-header {
    background: linear-gradient(135deg, #4A3B32 0%, #7a5c48 100%);
    color: #FCF9F5;
}
.modal-plan-premium {
    border-color: #4A3B32;
    box-shadow: 0 4px 16px rgba(74,59,50,0.15);
}
.modal-plan-premium .modal-plan-tier { color: #E8C3B8; }
.modal-plan-premium .modal-plan-price { color: #E8C3B8; }

.modal-cta { margin-top: auto; width: 100%; display: flex; justify-content: center; }

/* ===================================================
   CATALOG: click overlay hint
   =================================================== */
.card-image-clickable { cursor: pointer; }

.image-overlay {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
}
.overlay-hint {
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 30px;
    backdrop-filter: blur(4px);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}
.product-card:hover .overlay-hint {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================================
   CATALOG: Plan price badges
   =================================================== */
.plan-price-badges {
    display: flex;
    justify-content: center; /* Center badges */
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 14px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.plan-badge {
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}
.plan-basic { background: #F4EBE1; color: var(--text-main); border: 1px solid #D4B499; }
.plan-standard { background: linear-gradient(135deg, #C08A63, #D8A580); color: #FCF9F5; }
.plan-premium { background: linear-gradient(135deg, #4A3B32, #7a5c48); color: #FCF9F5; }

/* ===================================================
   CATALOG: Single & multi-product layout
   =================================================== */
.catalog-grid-single {
    display: flex;
    justify-content: center;
}
.catalog-grid-multi {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    justify-items: center;
}
.catalog-card-new {
    max-width: 480px;
    width: 100%;
}
.mt-card { margin-top: 20px; }

/* ===================================================
   HOME: Single preview card
   =================================================== */
.home-preview-grid {
    display: flex;
    justify-content: center;
    max-width: 440px;
    margin: 0 auto;
}
.home-preview-card { width: 100%; }
.card-content-preview {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}
.card-content-preview h3 {
    font-size: 1.7rem;
    text-align: center;
    margin: 0;
}

/* ===================================================
   RESPONSIVE: Modal on mobile
   =================================================== */
@media (max-width: 640px) {
    .product-modal {
        grid-template-columns: 1fr;
        max-height: 95vh;
    }
    .modal-image-wrap {
        border-radius: 28px 28px 0 0;
        min-height: 220px;
        max-height: 260px;
    }
    .modal-body {
        padding: 24px 20px 28px;
    }
    .modal-product-name { font-size: 1.6rem; }
}

/* ===================================================
   CARD CAROUSEL
   =================================================== */
.card-carousel {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #E2E8F0;
}
.card-carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.card-carousel-slide {
    flex: 0 0 100%;
    position: relative;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
}
.card-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.card-carousel-slide:hover img { transform: scale(1.06); }

.card-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.82);
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    opacity: 0;
    transition: opacity 0.25s ease, background 0.2s ease, transform 0.2s ease;
}
.card-carousel:hover .card-carousel-btn { opacity: 1; }
.card-carousel-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}
.card-carousel-prev { left: 10px; }
.card-carousel-next { right: 10px; }

.card-carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 5;
}
.card-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.55);
    border: 1.5px solid rgba(255,255,255,0.8);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}
.card-carousel-dot.active {
    background: #fff;
    transform: scale(1.25);
}
.card-carousel > .tag { z-index: 6; }

/* ===================================================
   MODAL CAROUSEL
   =================================================== */
.modal-carousel {
    position: relative;
    border-radius: 28px 0 0 28px;
    overflow: hidden;
    min-height: 340px;
    max-height: 90vh;
    background: #111;
}
.modal-carousel-track {
    display: flex;
    height: 100%;
    min-height: inherit;
    transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.modal-carousel-slide {
    flex: 0 0 100%;
    min-height: inherit;
}
.modal-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Show full image without cropping */
    display: block;
    background: #000; /* Extra contrast for the bars */
}
.modal-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
    transition: background 0.2s ease, transform 0.2s ease;
}
.modal-carousel-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}
.modal-carousel-prev { left: 12px; }
.modal-carousel-next { right: 12px; }

.modal-carousel-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.modal-carousel-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 1.5px solid rgba(255,255,255,0.9);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}
.modal-carousel-dot.active {
    background: #fff;
    transform: scale(1.3);
}

@media (max-width: 640px) {
    .modal-carousel {
        border-radius: 28px 28px 0 0;
        min-height: 220px;
        max-height: 260px;
    }
    .modal-carousel-slide,
    .modal-carousel-track { min-height: 220px; }
}

/* ===================================================
   HOME: ANIMATED CATALOG MOSAIC WALL
   =================================================== */
.catalog-mosaic-section {
    position: relative;
    height: 100vh;
    overflow: hidden !important; 
    background: #1E140C; /* Matching bohemian dark brown */
    margin-top: 0; /* Remove overlap to ensure hero covers full screen */
    z-index: 10;
}

/* Seamless top transition fade */
.catalog-mosaic-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, #1E140C 0%, transparent 100%);
    z-index: 12;
    pointer-events: none;
    display: block;
}

.mosaic-wall {
    display: flex;
    gap: 15px;
    height: 100%;
    transform: skewY(-5deg) translateY(-50px) scale(1.1);
    opacity: 0.6;
    /* Apply mask to fade out skewed top/bottom edges perfectly */
    -webkit-mask-image: linear-gradient(to bottom, 
        transparent 0%, 
        black 15%, 
        black 85%, 
        transparent 100%);
    mask-image: linear-gradient(to bottom, 
        transparent 0%, 
        black 15%, 
        black 85%, 
        transparent 100%);
}

.mosaic-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 250px;
    flex-shrink: 0;
}

/* Animations for each column at different speeds */
.mosaic-col-slow { animation: mosaic-scroll-slow 60s linear infinite; }
.mosaic-col-fast { animation: mosaic-scroll-fast 45s linear infinite; }
.mosaic-col-reverse { animation: mosaic-scroll-reverse 50s linear infinite; }

@keyframes mosaic-scroll-slow {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@keyframes mosaic-scroll-fast {
    0% { transform: translateY(-10%); }
    100% { transform: translateY(-60%); }
}

@keyframes mosaic-scroll-reverse {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}

.mosaic-item {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) contrast(1.1);
    transition: filter 0.5s ease;
}

.catalog-mosaic-section:hover .mosaic-item img {
    filter: grayscale(0%) contrast(1.2);
}

/* Central Overlay */
.mosaic-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(30, 20, 12, 0.4) 0%, rgba(30, 20, 12, 0.85) 100%);
    backdrop-filter: blur(3px);
    z-index: 13; 
    text-align: center;
    padding: 20px;
}

.mosaic-content {
    max-width: 600px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 60px 40px;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.catalog-mosaic-section:hover .mosaic-content {
    transform: translateY(-10px);
}

.mosaic-content h2 {
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.mosaic-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 35px;
    font-weight: 500;
}

.btn-mosaic {
    font-size: 1.4rem;
    padding: 20px 50px;
    background: #fff;
    color: var(--text-main);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border: none;
    border-radius: 50px;
    font-weight: 800;
    transition: all 0.3s ease;
}

.btn-mosaic:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(192, 138, 99, 0.5);
}

@media (max-width: 768px) {
    .mosaic-content h2 { font-size: 2.4rem; }
    .catalog-mosaic-section { min-height: 500px; height: auto; }
    .mosaic-content { padding: 40px 25px; }
}


/* ===================================================
   DARK THEME PAGE (For Catalog, etc.)
   =================================================== */
.dark-theme-page {
    background-color: #1E140C;
    color: white;
    position: relative;
    overflow-x: hidden;
}

.dark-theme-page::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 20%, rgba(192, 138, 99, 0.12) 0%, transparent 40%),
                radial-gradient(circle at 80% 30%, rgba(212, 180, 153, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 40% 70%, rgba(192, 138, 99, 0.1) 0%, transparent 40%),
                radial-gradient(circle at 70% 80%, rgba(212, 180, 153, 0.12) 0%, transparent 40%);
    animation: mesh-drift-catalog 20s ease-in-out infinite alternate;
    z-index: -1;
    pointer-events: none;
}

@keyframes mesh-drift-catalog {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-3%, -3%) rotate(3deg); }
}

.dark-theme-page .page-hero {
    background: transparent; /* Show mesh */
    padding: 160px 0 20px;
    border: none !important;
    box-shadow: none !important;
}

.dark-theme-page .page-hero h1 { color: white; }
.dark-theme-page .page-hero p { color: rgba(255,255,255,0.8); }

.dark-theme-page .catalogo.section {
    background-color: transparent; /* Show mesh */
    padding-top: 0;
    border: none !important;
    box-shadow: none !important;
}

/* Remove any potential secondary scrollbars and lines in sections */
.dark-theme-page section, 
.dark-theme-page .section,
.dark-theme-page .page-hero,
.dark-theme-page .container {
    overflow: hidden !important;
    border: none !important;
    box-shadow: none !important;
}

.dark-theme-page .plan-price-badges {
    border: none !important;
    position: relative;
    padding: 20px 0;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dark-theme-page .plan-price-badges::before,
.dark-theme-page .plan-price-badges::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.12), rgba(255,255,255,0.12), transparent);
}

.dark-theme-page .plan-price-badges::before {
    top: 0;
}

.dark-theme-page .plan-price-badges::after {
    bottom: 0;
}

/* Make single price badge larger */
.dark-theme-page .plan-price-badges .plan-badge:only-child {
    font-size: 1.15rem;
    padding: 10px 28px;
    transition: var(--transition);
}

.dark-theme-page .plan-price-badges .plan-badge:only-child:hover {
    transform: scale(1.05);
}

.dark-theme-page .product-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    text-align: center; /* Center all text */
}

.dark-theme-page .product-card h3,
.dark-theme-page .product-card h4 {
    color: white;
}


/* SEAMLESS PAGE UNIFICATION (Contact, etc.) */
.seamless-page {
    background: linear-gradient(135deg, #F4EBE1 0%, #FCF9F5 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

.seamless-page .page-hero {
    display: none; /* Removed hero, content now in unified section */
}

.unified-contact-page {
    padding-top: 160px !important;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header h1 {
    font-size: 3.8rem;
    margin-bottom: 20px;
}

.contact-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.seamless-page .section {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important; /* Allow natural scrolling, no nested bars */
}

/* Remove light footer override to maintain consistency with other pages */
.seamless-page footer {
    background: linear-gradient(to bottom, #1E140C 0%, #0B0705 100%) !important;
    color: #CBD5E0 !important;
}

.seamless-page .footer-bottom {
    background-color: #0B0705 !important;
}

.seamless-page .footer-col h3,
.seamless-page .footer-logo .logo-text {
    color: white !important;
}

.seamless-page .contact-info a {
    color: #CBD5E0 !important;
}

.dark-theme-page .product-card p {
    color: rgba(255, 255, 255, 0.7);
}

.dark-theme-page .card-content {
    background: transparent;
}

/* Modal adjustments for dark theme */
.dark-theme-page .product-modal {
    background: #2A1D13;
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
}

.dark-theme-page .modal-product-name { color: white; }
.dark-theme-page .modal-product-tagline { color: rgba(255,255,255,0.8); }
.dark-theme-page .plan-basic { background: rgba(255,255,255,0.05); color: white; border-color: rgba(255,255,255,0.2); }

/* Navbar adjustment for dark page */
.dark-theme-page .navbar:not(.scrolled) .nav-links a {
    color: white;
}
.dark-theme-page .navbar:not(.scrolled) .logo-text {
    color: white;
}
.dark-theme-page .navbar:not(.scrolled) .custom-logo {
    filter: brightness(0) invert(1);
}
