/* ============================================
           CSS CUSTOM PROPERTIES
           ============================================ */
           :root {
            --color-primary: #00897B;
            --color-primary-dark: #00695C;
            --color-primary-light: #4DB6AC;
            --color-primary-bg: #E0F2F1;
            --color-secondary: #37474F;
            --color-secondary-light: #546E7A;
            --color-accent: #26A69A;
            --color-text: #263238;
            --color-text-light: #607D8B;
            --color-text-muted: #90A4AE;
            
            --color-bg: #FAFAFA;
            --color-bg-white: #FFFFFF;
            --color-bg-warm: #ECEFF1;
            --color-bg-dark: #263238;

            --color-border: #CFD8DC;
            --color-border-light: #ECEFF1;
            --color-whatsapp: #25D366;

            --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
            --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.08);
            --shadow-lg: 0 15px 35px rgba(0, 137, 123, 0.15); /* Sombra turquesa sutil */
            
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 20px;
            --radius-xl: 28px;
            --radius-full: 50px;

            --font-primary: 'Inter', -apple-system, sans-serif;
            --font-display: 'Playfair Display', serif;

            --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            --max-width: 1200px;
            
            /* PADDING ACHICADO PARA ELIMINAR BACHES BLANCOS */
            --section-padding: clamp(40px, 6vw, 80px);
        }

        *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; scroll-padding-top: 80px; font-size: 16px; }
        body { font-family: var(--font-primary); color: var(--color-text); background: var(--color-bg); line-height: 1.6; overflow-x: hidden; }
        img { max-width: 100%; height: auto; display: block; }
        a { text-decoration: none; color: inherit; transition: var(--transition-smooth); }
        ul, ol { list-style: none; }

        .container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); }
        .section-padding { padding-top: var(--section-padding); padding-bottom: var(--section-padding); }
        .text-center { text-align: center; }

        /* ============================================
           ANIMACIONES SUTILES
           ============================================ */
        .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
        .reveal.visible { opacity: 1; transform: translateY(0); }
        .reveal-delay-1 { transition-delay: 0.1s; }
        .reveal-delay-2 { transition-delay: 0.2s; }
        .reveal-delay-3 { transition-delay: 0.3s; }
        .reveal-delay-4 { transition-delay: 0.4s; }

        /* ============================================
           PLACEHOLDERS PARA FOTOS
           ============================================ */
        .img-placeholder {
            width: 100%;
            background: #E8ECEF;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--color-text-muted);
            font-size: 0.9rem;
            font-weight: 500;
            border-radius: var(--radius-sm);
            text-align: center;
            padding: 20px;
        }
        .logo-placeholder { width: 36px; height: 36px; background: var(--color-primary); color: white; display: flex; align-items: center; justify-content: center; border-radius: 6px; font-size: 0.65rem; font-weight: bold; letter-spacing: 1px; }
        
        /* ============================================
           NAVEGACIÓN
           ============================================ */
        .navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(250, 250, 250, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: var(--transition-smooth); }
        .navbar.scrolled { border-bottom-color: var(--color-border); box-shadow: var(--shadow-sm); }
        .navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
        .navbar-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--color-secondary); }
        .navbar-links { display: flex; align-items: center; gap: 32px; }
        .navbar-links a { font-size: 0.9rem; font-weight: 600; color: var(--color-text-light); }
        .navbar-links a:hover { color: var(--color-primary); }
        .menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; border: none; background: none; z-index: 1001; }
        .menu-toggle span { width: 24px; height: 2px; background: var(--color-secondary); transition: 0.3s; }

        /* ============================================
           HERO SECTION (Inicio)
           ============================================ */
        .hero { 
            position: relative; 
            min-height: auto; /* Ya no ocupa toda la pantalla a la fuerza */
            padding-top: 130px; 
            padding-bottom: 80px;
            display: flex; 
            align-items: center; 
            background: var(--color-bg); 
        }
        .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
        .hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: var(--color-primary-bg); border-radius: 50px; font-size: 0.8rem; font-weight: 600; color: var(--color-primary); margin-bottom: 20px; }
        .hero-badge-dot { width: 6px; height: 6px; background: var(--color-primary); border-radius: 50%; }
        
        /* TÍTULO ACHICADO PARA QUE ENTRE EN PANTALLA */
        .hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 900; line-height: 1.15; color: var(--color-secondary); margin-bottom: 16px; }
        .hero-description { font-size: clamp(1rem, 1.5vw, 1.1rem); color: var(--color-text-light); margin-bottom: 12px; }
        .hero-subdescription { font-size: 0.95rem; font-weight: 500; color: var(--color-primary); margin-bottom: 32px; }
        .hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
        .hero-placeholder { aspect-ratio: 4/3; border-radius: var(--radius-xl); box-shadow: var(--shadow-md); border: 2px solid white; }

        /* ============================================
           BOTONES GLOBALES
           ============================================ */
        .btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 50px; font-weight: 600; font-size: 0.9rem; border: none; cursor: pointer; transition: all 0.3s ease; }
        .btn:hover { transform: translateY(-3px); }
        .btn-primary { background: var(--color-primary); color: white; box-shadow: 0 4px 15px rgba(0,137,123,0.3); }
        .btn-primary:hover { background: var(--color-primary-dark); box-shadow: 0 8px 25px rgba(0,137,123,0.4); }
        .btn-secondary { background: white; color: var(--color-secondary); border: 1.5px solid var(--color-border); }
        .btn-secondary:hover { border-color: var(--color-primary); color: var(--color-primary); }
        
        /* Botones Redes Contacto */
        .btn-whatsapp { background: #25D366; color: white; }
        .btn-instagram { background: #E1306C; color: white; }
        .btn-facebook { background: #1877F2; color: white; }
        .btn-email { background: var(--color-secondary-light); color: white; }

        /* ============================================
           SECCIONES (ESTILOS COMPARTIDOS)
           ============================================ */
        .section-header { max-width: 600px; margin-bottom: 40px; }
        .section-header.centered { margin: 0 auto 40px; text-align: center; }
        .section-label { display: inline-block; font-size: 0.8rem; font-weight: 700; color: var(--color-primary); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
        .section-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; color: var(--color-secondary); margin-bottom: 16px; line-height: 1.2; }
        .section-subtitle { font-size: 1rem; color: var(--color-text-light); }

        /* QUÉ HACEMOS (Tarjetas con vida) */
        .services { background: var(--color-bg-white); }
        .techniques-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 50px; }
        .technique-card { padding: 36px 32px; border-radius: var(--radius-lg); background: var(--color-bg); border: 1px solid var(--color-border-light); transition: all 0.3s ease; position: relative; overflow: hidden; }
        .technique-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--color-primary); transform: scaleX(0); transition: 0.3s; transform-origin: left; }
        .technique-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; background: white; }
        .technique-card:hover::before { transform: scaleX(1); }
        .technique-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--color-secondary); margin-bottom: 12px; }
        .technique-card p { color: var(--color-text-light); font-size: 0.95rem; }

        /* GRILLA PRODUCTOS */
        .products-section-title { font-size: 1.4rem; font-weight: 800; color: var(--color-secondary); margin-bottom: 30px; }
        .products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 30px; }
        .product-item { padding: 20px; background: white; border-radius: var(--radius-md); border: 1px solid var(--color-border-light); transition: 0.3s; }
        .product-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--color-primary-light); }
        .product-img { height: 180px; margin-bottom: 16px; border-radius: var(--radius-sm); }
        .product-item h4 { font-size: 1.05rem; font-weight: 700; color: var(--color-secondary); margin-bottom: 8px; }
        .product-item p { font-size: 0.88rem; color: var(--color-text-light); }
        
        /* CÓMO TRABAJAMOS (Diseño Horizontal) */
        .process { background: var(--color-bg); }
        .process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
        .process-step-horizontal { text-align: center; padding: 20px; background: white; border-radius: var(--radius-md); border: 1px solid var(--color-border-light); }
        .process-step-number { width: 44px; height: 44px; background: var(--color-primary-bg); color: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; margin: 0 auto 16px; }
        .process-step-content h3 { font-size: 1.05rem; font-weight: 700; color: var(--color-secondary); margin-bottom: 8px; }
        .process-step-content p { color: var(--color-text-light); font-size: 0.88rem; }
        
        /* Nueva Cita Limpia (Sin la comilla verde gigante) */
        .process-quote { margin-top: 30px; text-align: center; padding: 24px; background: var(--color-primary-bg); border-radius: var(--radius-md); border-left: 4px solid var(--color-primary); }
        .process-quote p { font-size: 1rem; font-weight: 600; color: var(--color-primary-dark); font-style: italic; }

        /* NOTA "NO ESTÁ EN EL CATÁLOGO" */
        .products-note { margin-top: 20px; text-align: center; padding: 20px; background: var(--color-bg-warm); border-radius: var(--radius-md); font-size: 0.95rem; color: var(--color-secondary); font-weight: 500; border-left: 4px solid var(--color-accent); }

        /* PARA QUIÉN TRABAJAMOS */
        .audience { background: white; }
        .audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
        .audience-card { padding: 20px; border-radius: var(--radius-md); background: var(--color-bg); border: 1px solid var(--color-border-light); transition: 0.3s; text-align: center; }
        .audience-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--color-primary-light); background: white;}
        .audience-img { height: 140px; margin-bottom: 16px; }
        .audience-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--color-secondary); margin-bottom: 8px; }
        .audience-card p { color: var(--color-text-light); font-size: 0.85rem; }

        /* POR QUÉ ELEGIRNOS Y CONTACTO NEGRO */
        .why-us { background: var(--color-bg-dark); color: white; }
        .why-us .section-title { color: white; }
        .why-us .section-subtitle { color: rgba(255,255,255,0.7); }
        .why-us-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
        .why-us-card { padding: 32px 24px; border-radius: var(--radius-md); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); transition: 0.3s; text-align: center;}
        .why-us-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.1); border-color: var(--color-primary); }
        .why-us-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; color: white; }
        .why-us-card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
        .why-us-social { display: flex; justify-content: center; gap: 16px; margin-top: 40px; flex-wrap: wrap; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); }

        /* SOBRE NOSOTROS */
        .about { background: var(--color-bg-warm); }
        .about-content { max-width: 700px; margin: 0 auto; text-align: center; }
        .about-content p { font-size: 1.05rem; color: var(--color-secondary); margin-bottom: 16px; }
        .about-highlight { background: white; padding: 20px; border-radius: var(--radius-md); margin: 24px 0; border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
        .about-highlight p { margin: 0; font-weight: 600; color: var(--color-primary-dark); }

        /* FOOTER LIMPITO */
        .footer { background: var(--color-bg-dark); color: white; padding: 40px 0 20px; border-top: 1px solid rgba(0,0,0,0.2); }
        .footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); }
        .footer-brand-name { font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
        .footer-tagline { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
        .footer-links-col h4 { font-size: 0.85rem; color: rgba(255,255,255,0.4); text-transform: uppercase; margin-bottom: 12px; }
        .footer-links-col a { display: block; color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 8px; }
        .footer-links-col a:hover { color: var(--color-primary); }
        .footer-bottom { text-align: center; color: rgba(255,255,255,0.4); font-size: 0.8rem; }

        /* WHATSAPP FLOTANTE Y SCROLL TOP */
        .whatsapp-float { position: fixed; bottom: 20px; right: 20px; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(37,211,102,0.4); z-index: 999; transition: 0.3s; }
        .whatsapp-float:hover { transform: scale(1.1); }
        .whatsapp-float svg { width: 30px; height: 30px; fill: white; }
        
        .scroll-top { position: fixed; bottom: 20px; left: 20px; width: 44px; height: 44px; background: var(--color-secondary); color: white; border: none; border-radius: 50%; font-size: 1.2rem; cursor: pointer; opacity: 0; visibility: hidden; transition: 0.3s; z-index: 998; }
        .scroll-top.visible { opacity: 1; visibility: visible; }
        .scroll-top:hover { background: var(--color-primary); }

        /* ============================================
           RESPONSIVE (MÓVILES Y TABLETS)
           ============================================ */
        @media (max-width: 1024px) {
            .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
            .hero-buttons { justify-content: center; }
            .hero-visual { order: -1; max-width: 500px; margin: 0 auto; }
            .techniques-grid, .products-grid, .process-grid, .audience-grid { grid-template-columns: repeat(2, 1fr); }
            .why-us-grid { grid-template-columns: 1fr; }
        }

        @media (max-width: 768px) {
            .navbar-links { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(250, 250, 250, 0.98); flex-direction: column; justify-content: center; opacity: 0; visibility: hidden; }
            .navbar-links.open { opacity: 1; visibility: visible; }
            .navbar-links a { font-size: 1.2rem; }
            .menu-toggle { display: flex; }
            
            .hero h1 { font-size: 2rem; }
            .btn { width: 100%; justify-content: center; }
            
            .techniques-grid, .products-grid, .process-grid, .audience-grid { grid-template-columns: 1fr; }
            
            .why-us-social { flex-direction: column; }
        }