/* ===================================
   MAIN CSS CONSOLIDADO - MARMEL CONSTRUCCIONES
   ===================================
   
   Archivo único que contiene todos los estilos:
   - Variables CSS (Colores Corporativos MARMEL)
   - Reset & Base Styles
   - Typography
   - Layout Utilities
   - Components
   - Responsive Design
*/

:root {
    /* Colores Corporativos MARMEL - Profesional */
    --marmel-green: #7CB342;
    --marmel-green-light: #8BC34A;
    --marmel-green-dark: #558B2F;
    --marmel-green-darker: #33691E;
    
    /* Grises Corporativos Profesionales */
    --marmel-gray: #263238;
    --marmel-gray-light: #37474F;
    --marmel-gray-dark: #1C1C1C;
    --marmel-gray-darker: #000000;
    
    /* Colores de Apoyo */
    --marmel-white: #FFFFFF;
    --marmel-off-white: #FAFAFA;
    --marmel-light-gray: #F8F9FA;
    --marmel-medium-gray: #E9ECEF;
    
    /* Colores de Acento Profesionales */
    --accent-orange: #FF8F00;
    --accent-blue: #7CB342;
    --accent-yellow: #FFA000;
    
    /* Primary Colors (Basado en MARMEL) */
    --primary-color: var(--marmel-green);
    --primary-light: var(--marmel-green-light);
    --primary-dark: var(--marmel-green-dark);
    --primary-darker: var(--marmel-green-darker);
    
    /* Secondary Colors */
    --secondary-color: var(--marmel-gray);
    --secondary-light: var(--marmel-gray-light);
    --secondary-dark: var(--marmel-gray-dark);
    
    /* Neutral Colors */
    --white: var(--marmel-white);
    --light-gray: var(--marmel-light-gray);
    --gray: var(--marmel-gray-light);
    --dark-gray: var(--marmel-gray-dark);
    --black: var(--marmel-gray-darker);
    
    /* Status Colors */
    --success-color: var(--marmel-green);
    --danger-color: #F44336;
    --warning-color: var(--accent-yellow);
    --info-color: var(--accent-blue);
    --accent-color: var(--accent-orange);
    
    /* Typography - Profesional */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    
    /* Font Weights */
    --fw-light: 300;
    --fw-normal: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;
    
    /* Font Sizes */
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.25rem;
    --fs-2xl: 1.5rem;
    --fs-3xl: 1.875rem;
    --fs-4xl: 2.25rem;
    --fs-5xl: 3rem;
    --fs-6xl: 3.75rem;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 5rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* Reset and Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
    max-width: 100vw;
}

* {
    max-width: 100%;
}

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

/* Typography - Profesional */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--marmel-gray-dark);
    letter-spacing: -0.025em;
}

h1 { 
    font-size: var(--fs-5xl); 
    font-weight: var(--fw-extrabold);
    line-height: 1.1;
}
h2 { 
    font-size: var(--fs-4xl); 
    font-weight: var(--fw-bold);
}
h3 { 
    font-size: var(--fs-3xl); 
    font-weight: var(--fw-semibold);
}
h4 { 
    font-size: var(--fs-2xl); 
    font-weight: var(--fw-semibold);
}
h5 { 
    font-size: var(--fs-xl); 
    font-weight: var(--fw-medium);
}
h6 { 
    font-size: var(--fs-lg); 
    font-weight: var(--fw-medium);
}

p {
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    color: var(--marmel-gray-light);
    font-weight: var(--fw-normal);
}

.text-large {
    font-size: var(--fs-lg);
    line-height: 1.6;
}

.text-small {
    font-size: var(--fs-sm);
}

.text-xs {
    font-size: var(--fs-xs);
}

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

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    width: 100%;
    box-sizing: border-box;
}

/* Prevent horizontal overflow */
section {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

.hero-section,
.services-section,
.about-section,
.projects-section,
.clients-section,
.contact-section,
.footer {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loader {
    text-align: center;
    color: var(--white);
}

.construction-loader {
    width: 80px;
    height: 60px;
    position: relative;
    margin: 0 auto var(--spacing-lg);
}

.crane {
    width: 60px;
    height: 40px;
    background: var(--accent-color);
    position: relative;
    animation: crane-move 2s ease-in-out infinite;
}

.building {
    width: 40px;
    height: 20px;
    background: var(--white);
    position: absolute;
    bottom: 0;
    left: 20px;
    animation: building-grow 2s ease-in-out infinite;
}

@keyframes crane-move {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

@keyframes building-grow {
    0% { height: 20px; }
    50% { height: 30px; }
    100% { height: 20px; }
}

/* Header - Diseño Profesional */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: var(--z-fixed);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 16px 0;
    border-bottom: 1px solid rgba(233, 236, 239, 0.3);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(233, 236, 239, 0.5);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    position: relative;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    position: relative;
    z-index: 10;
}

.logo {
    height: 50px;
    width: auto;
    max-width: none;
    display: inline-block;
    vertical-align: middle;
}

.logo:hover {
    transform: scale(1.05);
}

.header.scrolled .logo {
    height: 45px;
}

.brand-text {
    color: var(--marmel-gray-dark);
}

.brand-name {
    display: block;
    font-size: 24px;
    font-weight: var(--fw-bold);
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    line-height: 1;
}

.brand-tagline {
    display: block;
    font-size: 12px;
    color: var(--marmel-green);
    font-weight: var(--fw-medium);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    margin: 0;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding: 0;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

.nav-link {
    color: var(--marmel-gray);
    font-weight: var(--fw-medium);
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-size: 15px;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--marmel-green);
    background: rgba(124, 179, 66, 0.08);
}

.nav-link.active {
    color: var(--marmel-green);
    background: rgba(124, 179, 66, 0.12);
    font-weight: var(--fw-semibold);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition-normal);
}

/* ===================================
   RESPONSIVE DESIGN - MARMEL PROFESIONAL
   ================================== */

/* Tablet Landscape */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-md);
        max-width: 960px;
    }
    
    .navbar {
        height: 50px;
    }
    
    .logo {
        height: 40px;
    }
    
    .header.scrolled .logo {
        height: 35px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .about-grid {
        gap: 50px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
    }
    
    .project-thumbnails .thumbnail {
        width: 70px;
        height: 50px;
    }
    
    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
        max-width: 100%;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .logo {
        height: 35px;
    }
    
    .header.scrolled .logo {
        height: 30px;
    }
    
    .brand-name {
        font-size: 20px;
    }
    
    .brand-tagline {
        font-size: 10px;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 80vh;
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .cta-primary,
    .cta-secondary {
        padding: 15px 30px;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    /* Sections */
    .section-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .section-description {
        font-size: 1.1rem;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-image {
        height: 180px;
    }
    
    .service-content {
        padding: 25px;
    }
    
    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .about-image img {
        height: 350px;
    }
    
    /* Projects */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .project-gallery {
        margin-bottom: 20px;
    }
    
    .main-image img {
        height: 220px;
    }
    
    .project-thumbnails {
        justify-content: center;
        padding: 10px;
    }
    
    .project-thumbnails .thumbnail {
        width: 60px;
        height: 45px;
    }
    
    .project-details {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .projects-filter {
        margin-bottom: 30px;
    }
    
    .filter-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        margin: 5px;
    }
    
    /* Clients */
    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .client-logo {
        width: 100px;
        height: 100px;
        padding: 15px;
    }
    
    .clients-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .whatsapp-contact-container {
        padding: 40px 30px;
    }
    
    .whatsapp-title {
        font-size: 1.6rem;
    }
    
    .locations-horizontal {
        flex-direction: column;
        gap: 30px;
    }
    
    .location-divider {
        display: none;
    }
    
    /* Footer */
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .logo {
        height: 30px;
    }
    
    .brand-name {
        font-size: 18px;
    }
    
    .brand-tagline {
        font-size: 9px;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 70vh;
        padding: 20px 0;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    
    .cta-primary,
    .cta-secondary {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 250px;
    }
    
    /* Sections */
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .section-badge {
        font-size: 0.8rem;
        padding: 6px 16px;
    }
    
    /* Services */
    .service-image {
        height: 160px;
    }
    
    .service-content {
        padding: 20px;
    }
    
    .service-content h3 {
        font-size: 1.3rem;
    }
    
    .service-features li {
        font-size: 0.85rem;
    }
    
    /* About */
    .about-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .about-image img {
        height: 280px;
    }
    
    /* Certifications */
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .cert-item {
        padding: 20px 15px;
    }
    
    .cert-item img {
        width: 60px;
        height: 60px;
    }
    
    .cert-item span {
        font-size: 0.9rem;
    }
    
    /* Projects */
    .main-image img {
        height: 180px;
    }
    
    .project-thumbnails .thumbnail {
        width: 50px;
        height: 38px;
    }
    
    .project-content {
        padding: 20px;
    }
    
    .project-content h4 {
        font-size: 1.3rem;
    }
    
    .project-summary {
        font-size: 0.9rem;
    }
    
    .feature-tag {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    /* Clients */
    .clients-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .client-logo {
        width: 80px;
        height: 80px;
        padding: 12px;
    }
    
    .clients-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .clients-stats .stat-number {
        font-size: 2rem;
    }
    
    /* Contact */
    .contact-card {
        padding: 25px;
    }
    
    .whatsapp-contact-container {
        padding: 30px 20px;
    }
    
    .whatsapp-icon {
        font-size: 3rem;
    }
    
    .whatsapp-title {
        font-size: 1.4rem;
    }
    
    .whatsapp-btn {
        padding: 15px 30px;
        font-size: 1rem;
        width: 100%;
        max-width: 250px;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-logo img {
        height: 40px;
    }
    
    .footer-logo-text {
        font-size: 1.3rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .cta-primary,
    .cta-secondary {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .project-thumbnails .thumbnail {
        width: 45px;
        height: 34px;
    }
    
    .whatsapp-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* ===================================
   HERO SECTION - MARMEL PROFESIONAL
   ================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
    background-color: #1a202c;
}

.hero-section img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
    max-width: 1000px;
    width: 100%;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-text .section-badge {
    display: inline-block;
    background: #7CB342;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.9), 1px 1px 3px rgba(0, 0, 0, 1);
    color: #ffffff;
}

.hero-title .title-accent {
    color: #7CB342;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.9), 1px 1px 3px rgba(0, 0, 0, 1);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ffffff;
    opacity: 1;
    margin-bottom: 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 1px 1px 4px rgba(0, 0, 0, 1);
    font-weight: 400;
}

.hero-features {
    display: grid;
    gap: 25px;
}

.hero-features .feature-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s ease;
}

.hero-features .feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hero-features .feature-icon {
    background: #7CB342;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.hero-features .feature-content h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8), 1px 1px 3px rgba(0, 0, 0, 1);
}

.hero-features .feature-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8), 1px 1px 3px rgba(0, 0, 0, 1);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: white;
    text-align: center;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid white;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    animation: bounce 2s infinite;
}

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

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 40px 20px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.1;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.9), 2px 2px 4px rgba(0, 0, 0, 1);
    color: #ffffff;
    letter-spacing: -0.02em;
}

.hero-title .title-line {
    display: block;
    margin-bottom: 10px;
}

.hero-title .highlight {
    color: #7CB342;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.9), 2px 2px 4px rgba(124, 179, 66, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    color: #f1f5f9;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.6;
    opacity: 0.8;
}

.hero-actions {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
}

.hero-actions .btn {
    padding: 18px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-actions .btn-primary {
    background: linear-gradient(135deg, #7CB342 0%, #558B2F 100%);
    color: white;
    border: 2px solid transparent;
}

.hero-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(124, 179, 66, 0.4);
    background: linear-gradient(135deg, #8BC34A 0%, #689F38 100%);
}

.hero-actions .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-actions .btn-outline:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.2);
}

.cta-primary {
    background: linear-gradient(135deg, #7CB342 0%, #558B2F 100%);
    color: white;
    padding: 18px 36px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(124, 179, 66, 0.3);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(124, 179, 66, 0.4);
    background: linear-gradient(135deg, #8BC34A 0%, #7CB342 100%);
}

.cta-secondary {
    background: transparent;
    color: white;
    padding: 18px 36px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* ===================================
   SERVICES SECTION - MARMEL PROFESIONAL
   ================================== */

.services-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="servicesGrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23e2e8f0" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23servicesGrid)"/></svg>');
    opacity: 0.5;
    z-index: 1;
}

.services-section .container {
    position: relative;
    z-index: 2;
}

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

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #7CB342 0%, #558B2F 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-description {
    font-size: 1.2rem;
    color: #475569;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

/* ===================================
   SERVICES SECTION - MINIMALISTA
   ================================== */

.service-category {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 1px solid #374151;
}

.service-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-category:hover .service-image img {
    transform: scale(1.05);
}

.service-header {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid #374151;
}

.service-icon {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.service-header h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.service-list {
    padding: 25px 30px 30px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.service-item .item-icon {
    color: white;
    font-weight: bold;
    font-size: 1rem;
}

.service-icon {
    font-size: 3rem;
    color: white;
}

.service-content {
    padding: 30px;
    background: white;
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
    text-shadow: none;
}

.service-content p {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 500;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: #475569;
    font-size: 0.95rem;
}

.service-features li::before {
    content: '✓';
    color: #22c55e;
    font-weight: bold;
    font-size: 1rem;
}

/* ===================================
   ABOUT SECTION - MARMEL PROFESIONAL
   ================================== */

.about-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

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

.about-content {
    text-align: center;
}

.about-content h3 {
    color: #1e293b;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.about-content p {
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.history-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-item {
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    display: block;
    padding: 15px;
    background: white;
    color: var(--marmel-gray-dark);
    font-weight: 500;
    font-size: 0.9rem;
}

.about-values {
    text-align: center;
    margin-top: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
    justify-items: center;
}

.value-item {
    text-align: center;
    padding: 20px;
    max-width: 280px;
}

.value-icon {
    background: linear-gradient(135deg, #7CB342, #558B2F);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 15px;
    box-shadow: 0 4px 15px rgba(124, 179, 66, 0.3);
}

.value-content h4 {
    color: #1e293b;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.value-content p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* ===================================
   CLIENTS SECTION - SIMPLE LOGOS
   ================================== */

.clients-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 60px;
    align-items: center;
    justify-items: center;
}

.client-logo-simple {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 180px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo-simple:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.client-logo-simple img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.client-logo-simple:hover img {
    filter: grayscale(0%);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #7CB342;
    margin-bottom: 5px;
}

.stat-label {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    max-width: 100%;
}

/* Company Overview Section */
.company-overview {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 120px 0;
}

.overview-content .section-title {
    color: #1e293b;
    text-shadow: none;
    font-weight: 800;
}

.overview-content .section-description {
    color: #475569;
    font-size: 1.2rem;
    line-height: 1.7;
    text-shadow: none;
}

.title-accent {
    color: #7CB342;
    background: linear-gradient(135deg, #7CB342 0%, #558B2F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   CERTIFICATIONS SECTION - MEJORADA
   ================================== */

.certifications {
    margin-top: 80px;
    padding: 50px 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #e2e8f0 100%);
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.certifications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7CB342 0%, #558B2F 50%, #7CB342 100%);
}

.certifications h4 {
    color: #1e293b;
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.certifications h4::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #7CB342 0%, #558B2F 100%);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(124, 179, 66, 0.3);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.cert-item {
    background: white;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.cert-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(124, 179, 66, 0.1), transparent);
    transition: left 0.6s ease;
}

.cert-item:hover::before {
    left: 100%;
}

.cert-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: #7CB342;
}

.cert-item img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 25px;
    border-radius: 15px;
    transition: all 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.cert-item:hover img {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(124, 179, 66, 0.2));
}

.cert-item span {
    color: #374151;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.cert-item:hover span {
    color: #7CB342;
}

/* ===================================
   FLOATING BUTTONS - WHATSAPP & BACK TO TOP
   ================================== */

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
    animation-play-state: paused;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 6px 20px rgba(124, 179, 66, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(124, 179, 66, 0.4);
}

/* ===================================
   RESPONSIVE DESIGN - MEDIA QUERIES
   ================================== */

/* Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
}

/* Large Devices (1200px and up) */
@media (min-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium Devices (992px and up) */
@media (min-width: 992px) {
    .nav-menu {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Small Devices (768px and up) */
@media (min-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .overview-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Devices (767px and down) */
@media (max-width: 767px) {
    .container {
        padding: 0 20px;
    }
    
    /* Header Mobile */
    .header {
        padding: 15px 0;
    }
    
    .navbar .container {
        padding: 0 20px;
    }
    
    .nav-brand {
        gap: 10px;
    }
    
    /* .logo {
        height: 245px;
    } */
    
    .brand-name {
        font-size: 1.2rem;
    }
    
    .brand-tagline {
        font-size: 0.7rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(30, 41, 59, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: left 0.3s ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.5rem;
        color: white;
        padding: 15px 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 4px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
        z-index: 1001;
    }
    
    .mobile-menu-toggle span {
        width: 25px;
        height: 3px;
        background: var(--primary-color);
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Hero Mobile */
    .hero-section {
        padding: 100px 0 80px;
        min-height: 90vh;
        background-attachment: scroll;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 16px;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    .hero-features {
        gap: 16px;
    }
    
    .hero-features .feature-item {
        padding: 16px;
        flex-direction: row;
        text-align: left;
        gap: 12px;
    }
    
    .hero-features .feature-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    
    .hero-features .feature-content h3 {
        font-size: 1rem;
    }
    
    .hero-features .feature-content p {
        font-size: 0.85rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin: 20px 0 30px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 40px 0;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .btn-large {
        padding: 15px 25px;
        font-size: 1rem;
        justify-content: center;
    }
    
    /* Sections Mobile */
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .section-description {
        font-size: 1rem;
        margin: 20px 0 40px;
    }
    
    /* About Mobile */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-container {
        order: -1;
    }
    
    .about-stats-card {
        position: static;
        margin-top: 20px;
        transform: none;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-category {
        padding: 30px 20px;
    }
    
    .service-header h3 {
        font-size: 1.3rem;
    }
    
    /* Projects Mobile */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .project-card {
        margin-bottom: 20px;
    }
    
    .project-thumbnails {
        gap: 8px;
    }
    
    .thumbnail {
        width: 60px;
        height: 45px;
    }
    
    .project-overlay {
        padding: 20px;
    }
    
    .project-info h4 {
        font-size: 1.3rem;
    }
    
    .project-description {
        font-size: 0.9rem;
    }
    
    /* Clients Mobile */
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .client-item {
        padding: 20px 15px;
    }
    
    .client-logo {
        width: 60px;
        height: 60px;
    }
    
    .client-info h4 {
        font-size: 1rem;
    }
    
    .client-info p {
        font-size: 0.85rem;
    }
    
    .clients-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 40px;
        padding-top: 40px;
    }
    
    .clients-stats .stat-item {
        padding: 20px 15px;
    }
    
    .clients-stats .stat-number {
        font-size: 2rem;
    }
    
    /* Contact Mobile */
    .contact-section {
        padding: 40px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 30px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-card {
        padding: 18px 15px;
    }
    
    .contact-icon {
        font-size: 1.1rem;
    }
    
    .whatsapp-contact-container {
        padding: 25px 20px;
        margin-top: 0;
    }
    
    .whatsapp-icon {
        font-size: 3rem;
    }
    
    .whatsapp-title {
        font-size: 1.5rem;
    }
    
    .whatsapp-benefits {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links-bottom {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Utility Classes Mobile */
    .text-center-mobile {
        text-align: center;
    }
    
    .hidden-mobile {
        display: none;
    }
    
    .show-mobile {
        display: block;
    }
}

/* Extra Small Devices (575px and down) */
@media (max-width: 575px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .clients-grid {
        grid-template-columns: 1fr;
    }
    
    .clients-stats {
        grid-template-columns: 1fr;
    }
    
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-contact-container {
        padding: 30px 20px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 15px 25px;
        font-size: 1rem;
    }
}

/* Landscape Mobile Devices */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding: 80px 0 60px;
        background-attachment: scroll;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .stat-item {
        padding: 15px 10px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-background,
    .section-background {
        background-size: cover;
        background-attachment: scroll;
    }
}

/* Print Styles */
@media print {
    .header,
    .whatsapp-float,
    .back-to-top,
    .whatsapp-contact-container {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
    }
    
    .project-card {
        page-break-inside: avoid;
        margin-bottom: 20px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #f1f5f9;
        --bg-color: #0f172a;
        --card-bg: #1e293b;
    }
    
    body {
        background-color: var(--bg-color);
        color: var(--text-color);
    }
    
    .card,
    .contact-card,
    .service-category {
        background-color: var(--card-bg);
        border-color: #334155;
    }
}

.cert-item span {
    display: block;
    color: #1e293b;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

/* ===================================
   PROJECTS SECTION - MARMEL PROFESIONAL
   ================================== */

.projects-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23cbd5e1" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    z-index: 1;
}

.projects-section .container {
    position: relative;
    z-index: 2;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Project Gallery Styles */
.project-gallery {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-gallery:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.main-image {
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.main-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-gallery:hover .main-image img {
    transform: scale(1.05);
}

.project-thumbnails {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: #ffffff;
    border-radius: 0 0 16px 16px;
    position: relative;
    z-index: 10; /* Asegura que esté por encima del overlay */
}

.project-thumbnails .thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.project-thumbnails .thumbnail:hover,
.project-thumbnails .thumbnail.active {
    opacity: 1;
    border-color: #7CB342;
    transform: scale(1.1);
}

.project-image {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px 15px 0 0;
}

.project-image img[src=""], .project-image img[src="#"], .project-image img:not([src]) {
    display: none;
}

.project-overlay {
    display: none !important; /* Deshabilita completamente el overlay */
}

.project-card:hover .project-overlay {
    display: none !important; /* Mantiene el overlay deshabilitado en hover */
}

.project-info {
    text-align: center;
    color: white;
    padding: 30px;
    transform: translateY(30px);
    transition: transform 0.4s ease;
    max-width: 90%;
}

.project-card:hover .project-info {
    transform: translateY(0);
}

.project-info h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.project-description {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.95;
    line-height: 1.6;
}

.project-details {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    flex-wrap: wrap;
    gap: 15px;
}

.detail-item {
    text-align: center;
    min-width: 100px;
}

.detail-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 5px;
}

.detail-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.project-link {
    display: inline-block;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-top: 15px;
}

.project-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.project-content {
    padding: 25px;
    background: #ffffff;
    border-radius: 0 0 16px 16px;
}

.project-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1e293b;
    line-height: 1.3;
}

.project-summary {
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1rem;
}

.project-category {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #7CB342, #558B2F);
    color: white;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.feature-tag {
    padding: 6px 12px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

/* Filter buttons */
.projects-filter {
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-btn {
    padding: 14px 28px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #7CB342, #558B2F);
    color: white;
    border-color: #7CB342;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

/* ===================================
   CLIENTS SECTION - MARMEL PROFESIONAL
   ================================== */

.clients-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.clients-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="clientsGrid" width="15" height="15" patternUnits="userSpaceOnUse"><path d="M 15 0 L 0 0 0 15" fill="none" stroke="%23cbd5e1" stroke-width="0.5" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23clientsGrid)"/></svg>');
    z-index: 1;
}

.clients-section .container {
    position: relative;
    z-index: 2;
}

.clients-section .section-badge {
    background: linear-gradient(135deg, #1e293b, #334155);
    color: #f1f5f9;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 20px;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.clients-section .section-title {
    color: #1e293b;
    font-weight: 800;
    font-size: 3rem;
    margin-bottom: 20px;
}

.clients-section .section-description {
    color: #475569;
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.client-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.client-item:hover {
    background: white;
    border-color: #7CB342;
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.15);
}

.client-logo {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.client-item:hover .client-logo {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.client-info h4 {
    color: #1e293b;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.client-info p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.clients-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid #e2e8f0;
}

.clients-stats .stat-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.clients-stats .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #7CB342;
}

.clients-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #7CB342;
    margin-bottom: 10px;
}

.clients-stats .stat-label {
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

/* ===================================
   CONTACT SECTION - MARMEL PROFESIONAL
   ================================== */

.contact-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.contact-section .section-title {
    color: #1e293b;
    font-weight: 800;
    text-shadow: none;
}

.contact-section .section-description {
    color: #475569;
    font-size: 1.2rem;
    line-height: 1.7;
}

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

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #7CB342;
}

.contact-card h3 {
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-icon {
    font-size: 1.2rem;
    margin-bottom: 0;
}
    
.contact-details p {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 8px;
}

.contact-details strong {
    color: #1e293b;
    font-weight: 600;
}

.contact-details a {
    color: #7CB342;
    text-decoration: none;
    font-weight: 500;
}

.contact-details a:hover {
    color: #558B2F;
    text-decoration: underline;
}

/* WhatsApp Contact Section */
.whatsapp-contact-container {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.2);
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.whatsapp-contact-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: whatsappGlow 4s ease-in-out infinite;
}

@keyframes whatsappGlow {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
    50% { transform: scale(1.1) rotate(180deg); opacity: 0.8; }
}

.whatsapp-header {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.whatsapp-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

.whatsapp-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.whatsapp-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.whatsapp-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 18px 36px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.whatsapp-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Map Section */
.map-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
}

.map-section h3 {
    color: #1e293b;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.locations-horizontal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.location-item {
    text-align: center;
    flex: 1;
    min-width: 250px;
}

.location-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.location-icon {
    font-size: 1.5rem;
    color: #7CB342;
}

.location-header h4 {
    color: #1e293b;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.location-item p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.location-divider {
    color: #cbd5e1;
    font-size: 2rem;
    font-weight: 300;
}

/* ===================================
   FOOTER SECTION - MARMEL PROFESIONAL
   ================================== */

.footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 80px 0 40px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerGrid" width="25" height="25" patternUnits="userSpaceOnUse"><path d="M 25 0 L 0 0 0 25" fill="none" stroke="%23475569" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23footerGrid)"/></svg>');
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #f1f5f9;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-section p,
.footer-section li {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #7CB342;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f1f5f9;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #cbd5e1;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #7CB342;
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #475569;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #94a3b8;
    margin: 0;
    font-size: 0.9rem;
}

.client-logos {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    align-items: center;
    margin-top: var(--spacing-lg);
}

.client-logo {
    height: 40px;
    width: auto;
    opacity: 0.7;
    transition: var(--transition-normal);
    filter: brightness(0) invert(1);
}

.client-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}