/* Font Imports */
@font-face {
    font-family: 'Nexa';
    src: url('Fonts/Nexa Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nexa';
    src: url('Fonts/Nexa Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('Fonts/Roboto-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('Fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('Fonts/Roboto-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --secondary-color: #D6D8D7;
    --accent-color: #25d366;
    --text-dark: #000000;
    --text-light: #333333;
    --white: #FFFFFF;
    --gray-light: #BEEADC;
    --gray-medium: #D6D8D7;
    --gradient: linear-gradient(135deg, #000000 0%, #333333 100%);
    --font-primary: 'Nexa', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-secondary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    view-transition-navigation: auto;
}

/* View transition duration */
::view-transition-group(root) {
    animation-duration: 0.8s;
}

/* Add transition names to shared elements */
.logo-img {
    view-transition-name: main-logo;
}

.footer-logo {
    view-transition-name: footer-logo;
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --primary-color: #FFFFFF;
    --secondary-color: #1a1a1a;
    --accent-color: #25d366;
    --text-dark: #FFFFFF;
    --text-light: #e0e0e0;
    --white: #121212;
    --gray-light: #BEEADC;
    --gray-medium: #2a2a2a;
    --gradient: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    --card-bg: #1e1e1e;
    --card-hover: #252525;
    --border-color: #333333;
    --shadow-dark: rgba(0, 0, 0, 0.5);
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    font-weight: 400;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
}

p, span, a, label, input, textarea, button {
    font-family: var(--font-secondary);
}

.hero-title {
    font-family: var(--font-primary);
    font-weight: 700;
}

.section-title {
    font-family: var(--font-primary);
    font-weight: 700;
}

/* Navigation */
.nav a {
    font-family: var(--font-primary);
    font-weight: 500;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    animation: slideInDown 0.6s ease-out;
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 80px;
    width: auto;
    transition: all 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.1) rotate(2deg);
    filter: brightness(1.1);
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 6px;
}

.nav a:hover {
    color: var(--primary-color);
    background: rgba(190, 234, 220, 0.1);
    transform: translateY(-2px);
}

.nav a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--gray-light);
    transition: all 0.3s ease;
}

.nav a:not(.btn-primary):hover::after {
    width: 100%;
    left: 0;
}

.nav .btn-primary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gray-light);
    transition: left 0.4s ease;
    z-index: -1;
}

.nav .btn-primary:hover {
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(190, 234, 220, 0.4);
    border-color: var(--gray-light);
}

.nav .btn-primary:hover::before {
    left: 0;
}

/* Enhanced Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg);
    }
    to {
        opacity: 1;
        transform: rotate(0deg);
    }
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-whatsapp {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary::before,
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gray-light);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-secondary:hover {
    color: var(--text-dark);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(190, 234, 220, 0.3);
    border-color: var(--gray-light);
}

.btn-secondary:hover::after {
    left: 0;
}

.btn-secondary:hover::before {
    left: 100%;
}

/* Enhanced WhatsApp Button Animations */
.btn-whatsapp {
    background: var(--accent-color);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    animation: pulse 3s infinite;
    overflow: hidden;
    white-space: nowrap;
}

.btn-whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
    animation: none;
}

.btn-whatsapp:hover::before {
    transform: translateX(100%);
}

.btn-whatsapp:active {
    transform: translateY(-1px) scale(1.01);
}

.btn-whatsapp i {
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn-whatsapp:hover i {
    transform: rotate(10deg) scale(1.1);
    color: #ffffff;
}

/* Hero Section */
.hero {
    background: var(--secondary-color);
    padding: 160px 0 80px;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -150px;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background-image: url('Logo SVG/Icono negro.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.05;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -150px;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background-image: url('Logo SVG/Icono Blanco.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.08;
    z-index: 1;
    filter: invert(1);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: slideInLeft 0.8s ease-out;
}

.hero-image {
    animation: slideInRight 0.8s ease-out;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gray-light);
    margin: 1rem 0;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    font-family: var(--font-secondary);
    color: var(--text-light);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    filter: grayscale(100%);
}

.hero-image:hover img {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
    filter: grayscale(0%);
}

/* Hero Image Slideshow */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    filter: grayscale(100%);
    pointer-events: none;
}

.slideshow-container:hover .slide.active img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* Slide hover effects */
.slide:hover img {
    transform: scale(1.02);
    filter: grayscale(50%);
}

.slide.active:hover img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

/* Add subtle overlay on hover for better UX */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(190, 234, 220, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.slide:hover::before {
    opacity: 1;
}

/* Navigation arrows */
.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 1.2rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
}

.slideshow-container:hover .slide-nav {
    opacity: 1;
    visibility: visible;
}

.slide-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.slide-nav.prev {
    left: 20px;
}

.slide-nav.next {
    right: 20px;
}

/* Dots indicator */
.slide-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: var(--gray-light);
    transform: scale(1.2);
}

/* Dark theme adjustments for slideshow */
[data-theme="dark"] .slide-nav {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

[data-theme="dark"] .slide-nav:hover {
    background: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .dot {
    background: rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .dot.active,
[data-theme="dark"] .dot:hover {
    background: var(--gray-light);
}

/* Responsive adjustments for slideshow */
@media (max-width: 768px) {
    .slideshow-container {
        height: 300px;
    }
    
    .slide-nav {
        padding: 8px 12px;
        font-size: 1rem;
    }
    
    .slide-nav.prev {
        left: 10px;
    }
    
    .slide-nav.next {
        right: 10px;
    }
    
    .slide-dots {
        bottom: 15px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .slideshow-container {
        height: 250px;
    }
    
    .slide-nav {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
    
    .slide-dots {
        bottom: 10px;
        gap: 8px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.02);
    transform: scale(0);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    background: var(--gray-light);
}

.benefit-item:hover::before {
    transform: scale(1);
}

.benefit-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.benefit-item:hover i {
    transform: scale(1.2) rotate(10deg);
    color: #333;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 30%;
    right: -250px;
    transform: translateY(-50%) rotate(15deg);
    width: 500px;
    height: 500px;
    background-image: url('Logo SVG/Icono Blanco.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.05;
    z-index: 1;
}

.services::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: -250px;
    transform: translateY(50%) rotate(-20deg);
    width: 450px;
    height: 450px;
    background-image: url('Logo SVG/Icono Blanco.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.08;
    z-index: 1;
}

.services .container {
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    font-weight: 700;
    position: relative;
}

.services .section-title {
    color: #FFFFFF !important;
}

/* Dark theme override for services title */
[data-theme="dark"] .services {
    background: var(--gradient);
}

[data-theme="dark"] .services .section-title {
    color: #FFFFFF !important;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gray-light);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.02), rgba(0,0,0,0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.service-item:hover::before {
    opacity: 1;
}

.service-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.4s ease;
}

.service-item:hover i {
    transform: scale(1.3) rotate(-5deg);
    color: #333;
}

.service-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 20px;
    border-radius: 8px;
    background: linear-gradient(120deg, transparent 0%, rgba(190, 234, 220, 0.3) 0%, rgba(190, 234, 220, 0.3) 100%, transparent 100%);
    display: inline-block;
    margin-top: 1rem;
}

.service-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gray-light);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.service-link:hover {
    color: var(--text-dark);
    background: rgba(190, 234, 220, 0.6);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(190, 234, 220, 0.3);
}

.service-link:hover::before {
    width: 100%;
}

/* Catalog Section */
.catalog-section {
    padding: 80px 0;
    background: var(--secondary-color);
}

.catalog-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.catalog-text h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.catalog-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* Catalog Cards Grid */
.catalogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.catalog-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.catalog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.02), rgba(0,0,0,0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.catalog-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-color: var(--gray-light);
}

.catalog-card:hover::before {
    opacity: 1;
}

.catalog-icon {
    margin-bottom: 1.5rem;
}

.catalog-icon i {
    font-size: 3rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.catalog-card:hover .catalog-icon i {
    transform: scale(1.2) rotate(-5deg);
    color: #333;
}

.catalog-card h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
    font-family: var(--font-primary);
}

.catalog-card p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
    flex-grow: 1;
}

.catalog-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: auto;
}

.catalog-buttons .btn-primary,
.catalog-buttons .btn-secondary {
    flex: 1;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    padding: 10px 16px;
}

.catalog-buttons .btn-primary {
    background: #BEEADC;
    color: var(--text-dark);
    border: 2px solid #BEEADC;
    overflow: hidden;
}

.catalog-buttons .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: left 0.5s;
}

.catalog-buttons .btn-primary:hover {
    background: #000000;
    color: #FFFFFF;
    border-color: #000000;
}

/* Dark theme for catalog section */
[data-theme="dark"] .catalog-section {
    background: var(--secondary-color);
}

[data-theme="dark"] .catalog-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .catalog-card:hover {
    background: var(--card-hover);
    border-color: var(--gray-light);
}

[data-theme="dark"] .catalog-card:hover .catalog-icon i {
    color: var(--gray-light);
}

/* Dark theme for catalog buttons */
[data-theme="dark"] .catalog-buttons .btn-secondary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

[data-theme="dark"] .catalog-buttons .btn-primary {
    background: #BEEADC;
    color: var(--text-dark);
    border-color: #BEEADC;
}

[data-theme="dark"] .catalog-buttons .btn-primary:hover {
    background: #000000;
    color: #FFFFFF;
    border-color: #000000;
}

/* Responsive adjustments for catalog cards */
@media (max-width: 768px) {
    .catalogs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .catalog-card {
        padding: 1.5rem;
    }
    
    .catalog-buttons {
        flex-direction: column;
    }
    
    .catalog-buttons .btn-primary,
    .catalog-buttons .btn-secondary {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .catalog-card {
        padding: 1.2rem;
    }
    
    .catalog-icon i {
        font-size: 2.5rem;
    }
    
    .catalog-card h3 {
        font-size: 1.2rem;
    }
    
    .catalog-card p {
        font-size: 0.9rem;
    }
    
    .catalog-buttons .btn-primary,
    .catalog-buttons .btn-secondary {
        font-size: 0.85rem;
        padding: 12px 16px;
    }
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-item {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-item::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: rgba(0,0,0,0.1);
    font-family: serif;
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-left: 4px solid var(--gray-light);
}

.testimonial-item:hover::before {
    color: rgba(0,0,0,0.2);
    transform: scale(1.2);
}

/* CTA Section */
.cta-section {
    background: var(--gradient);
    padding: 80px 0;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background-image: url('Logo SVG/Icono Blanco.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translate(-50%, -50%);
    opacity: 0.05;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
}

.cta-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gray-light);
    border-radius: 2px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-whatsapp,
.cta-buttons .btn-secondary {
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-buttons .btn-secondary::after {
    background: var(--gray-light);
}

.cta-buttons .btn-secondary:hover {
    color: var(--text-dark);
    border-color: var(--gray-light);
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--secondary-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.05), transparent);
    transition: left 0.5s;
}

.stat-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-top: 4px solid var(--gray-light);
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.stat-item:hover h3 {
    transform: scale(1.1);
    color: #333;
}

.about-clients {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.clients-title {
    font-size: 1.8rem;
    color: var(--text-dark);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.clients-section {
    margin-bottom: 2rem;
}

.country-title {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    background: linear-gradient(90deg, transparent, var(--gray-light), transparent);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    align-items: center;
    justify-items: center;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100px;
    width: 100%;
    max-width: 160px;
}

.client-logo:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.3);
    transition: all 0.4s ease;
}

.client-logo:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

/* Specific sizing for certain logos */
.laroche-logo img,
.totalconf-logo img {
    max-width: 140%;
    max-height: 140%;
    transform: scale(1.4);
}

.laroche-logo:hover img,
.totalconf-logo:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.5);
}

/* Add helioskin to bigger logos */
.helioskin-logo img {
    max-width: 125%;
    max-height: 125%;
    transform: scale(1.25);
}

.helioskin-logo:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.35);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s ease;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gray-light);
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(190, 234, 220, 0.3);
}

.form-group:focus-within label {
    color: var(--gray-light);
    transform: translateX(5px);
}

.success-message {
    background: var(--gray-light);
    color: var(--text-dark);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 1rem;
    border: 2px solid var(--gray-light);
}

.success-message i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--secondary-color);
    border-radius: 8px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
}

.contact-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-item:hover {
    background: var(--gray-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* Copy functionality for contact items */
.copy-item {
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.copy-item:hover {
    background: var(--gray-light) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.copy-icon {
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-left: auto;
}

.copy-item:hover .copy-icon {
    opacity: 1;
    transform: translateX(0);
}

.copy-item.copied {
    background: var(--accent-color) !important;
    color: var(--white);
}

.copy-item.copied i,
.copy-item.copied h4,
.copy-item.copied p {
    color: var(--white) !important;
}

.copy-item.copied .copy-icon {
    opacity: 1;
    color: var(--white) !important;
}

/* WhatsApp Contact Button */
.whatsapp-contact {
    background: var(--accent-color) !important;
    color: var(--white);
    text-decoration: none;
    cursor: pointer;
}

.whatsapp-contact i {
    color: var(--white) !important;
}

.whatsapp-contact h4 {
    color: var(--white) !important;
    margin: 0;
}

.whatsapp-contact:hover {
    background: #128c7e !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    text-decoration: none;
}

.contact-whatsapp-btn {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.contact-whatsapp-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Text Highlighting */
.highlight-text {
    color: var(--text-dark);
    font-weight: 600;
    background: linear-gradient(120deg, transparent 0%, rgba(190, 234, 220, 0.4) 0%, rgba(190, 234, 220, 0.4) 100%, transparent 100%);
    padding: 2px 4px;
    border-radius: 3px;
}

.highlight-text-white {
    color: var(--gray-light);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(190, 234, 220, 0.5);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(190, 234, 220, 0.1);
    color: var(--primary-color);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 1rem 0;
    z-index: 999;
}

.mobile-nav.active {
    display: block;
    animation: slideInDown 0.3s ease-out;
}

.mobile-nav a {
    display: block;
    padding: 1rem 20px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
    font-family: var(--font-primary);
}

.mobile-nav a:hover {
    background: rgba(190, 234, 220, 0.1);
    color: var(--primary-color);
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav .btn-primary {
    margin: 1rem 20px 0.5rem 20px;
    padding: 10px 16px;
    border-radius: 6px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    font-size: 0.95rem;
    display: block;
    width: calc(100% - 40px);
}

.mobile-nav .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gray-light);
    transition: left 0.4s ease;
    z-index: -1;
}

.mobile-nav .btn-primary:hover {
    color: var(--text-dark);
    border-color: var(--gray-light);
}

.mobile-nav .btn-primary:hover::before {
    left: 0;
}

/* Mobile nav button styles */
.mobile-nav .control-buttons {
    display: flex;
    gap: 1rem;
    padding: 1rem 20px;
    border-bottom: 1px solid #f0f0f0;
    justify-content: space-between;
}

.mobile-nav .theme-toggle-nav,
.mobile-nav .language-toggle-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 2px solid var(--primary-color);
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 1;
    justify-content: center;
    max-width: 120px;
}

.mobile-nav .theme-toggle-nav::before,
.mobile-nav .language-toggle-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gray-light);
    transition: left 0.4s ease;
    z-index: -1;
}

.mobile-nav .theme-toggle-nav:hover,
.mobile-nav .language-toggle-nav:hover {
    color: var(--text-dark);
    border-color: var(--gray-light);
}

.mobile-nav .theme-toggle-nav:hover::before,
.mobile-nav .language-toggle-nav:hover::before {
    left: 0;
}

.mobile-nav .theme-toggle-nav i,
.mobile-nav .language-toggle-nav i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.mobile-nav .theme-toggle-nav:hover i {
    transform: rotate(180deg);
}

.mobile-nav .language-toggle-nav:hover i {
    transform: rotate(360deg);
}

.mobile-nav .lang-text-nav {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.85rem;
}

/* Dark theme styles for mobile nav buttons */
[data-theme="dark"] .mobile-nav .control-buttons {
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .mobile-nav .theme-toggle-nav,
[data-theme="dark"] .mobile-nav .language-toggle-nav {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .language-toggle {
        display: none;
    }
    
    .language-toggle-mobile {
        display: none; /* Hide floating button */
    }
    
    .theme-toggle-mobile {
        display: none; /* Hide floating button */
    }
    
    .hero {
        padding: 140px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-title::after {
        margin: 1rem auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        font-weight: 400;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services::before,
    .services::after {
        display: none;
    }
    
    .hero::before,
    .hero::after {
        display: none;
    }
    
    .cta-section::before {
        display: none;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .client-logo {
        height: 80px;
        padding: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float a {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        padding-left: 18px;
    }
    
    .whatsapp-float a:hover {
        width: 140px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .header .container {
        padding: 1rem 10px;
    }
    
    .logo-img {
        height: 60px;
    }
    
    .hero {
        padding: 120px 0 40px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-title::after {
        margin: 1rem auto;
        width: 60px;
    }
    
    .hero-buttons {
        justify-content: center;
        align-items: center;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        font-weight: 400;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .clients-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .client-logo {
        max-width: 200px;
        margin: 0 auto;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn-primary, .btn-secondary, .btn-whatsapp {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 0.9rem;
    }
    
    .service-item {
        padding: 1.5rem;
    }
    
    .testimonial-item {
        padding: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-item i {
        width: auto;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 14px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .whatsapp-float a {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
        padding-left: 15px;
    }
    
    .whatsapp-float a:hover {
        width: 120px;
    }
    
    .whatsapp-float a .whatsapp-text {
        font-size: 0.9rem;
    }
    
    .benefits {
        padding: 60px 0;
    }
    
    .services {
        padding: 60px 0;
    }
    
    .testimonials {
        padding: 60px 0;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .about {
        padding: 60px 0;
    }
    
    .contact {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

@media (max-width: 320px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .service-item {
        padding: 1rem;
    }
    
    .whatsapp-float a {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    
    .whatsapp-float a:hover {
        width: 100px;
    }
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
    position: relative;
}

.footer-section h3::after,
.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gray-light);
    border-radius: 1px;
}

.footer-section p,
.footer-section li {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* WhatsApp Float Enhanced with Expandable Text */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1001;
}

.whatsapp-float a {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--white);
    font-size: 2.5rem;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    animation: float 3s ease-in-out infinite;
    padding-left: 24px;
    white-space: nowrap;
}

.whatsapp-float a .whatsapp-icon {
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.whatsapp-float a .whatsapp-text {
    font-size: 1.1rem;
    font-weight: 700;
    margin-left: 12px;
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.4s ease;
    font-family: var(--font-secondary);
}

.whatsapp-float a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 40px;
    background: rgba(255,255,255,0.2);
    transform: scale(0);
    transition: transform 0.3s ease;
}

.whatsapp-float a::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 3px solid var(--accent-color);
    border-radius: 44px;
    opacity: 0;
    animation: ping 2.5s infinite;
}

@keyframes ping {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    75%, 100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.whatsapp-float a:hover {
    width: 180px;
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.8);
    animation: none;
    background: #128c7e;
}

.whatsapp-float a:hover .whatsapp-text {
    opacity: 1;
    transform: translateX(0);
}

.whatsapp-float a:hover::before {
    transform: scale(1);
}

.whatsapp-float a:hover .whatsapp-icon {
    transform: rotate(5deg) scale(1.2);
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Touch-friendly benefit items */
    .benefit-item {
        background: rgba(190, 234, 220, 0.1);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    }
    
    .benefit-item i {
        color: #333;
        transform: scale(1.1);
    }
    
    /* Touch-friendly service items */
    .service-item {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    }
    
    .service-item i {
        transform: scale(1.2);
        color: #333;
    }
    
    /* Touch-friendly client logos */
    .client-logo {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.12);
    }
    
    .client-logo img {
        filter: grayscale(0%) brightness(1);
        transform: scale(1.05);
    }
    
    /* Touch-friendly testimonials */
    .testimonial-item {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.12);
        border-left: 3px solid var(--gray-light);
    }
    
    /* Touch-friendly stats */
    .stat-item {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        border-top: 3px solid var(--gray-light);
    }
    
    /* Touch-friendly contact items */
    .contact-item {
        background: var(--gray-light);
        transform: translateY(-1px);
        box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    }
    
    /* Touch-friendly hero image */
    .hero-image img {
        filter: grayscale(50%);
        transform: scale(1.02);
        box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    }
    
    /* Touch-friendly buttons get subtle animations */
    .btn-primary, .btn-secondary, .btn-whatsapp {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    .btn-whatsapp {
        animation: subtlePulse 4s ease-in-out infinite;
    }
    
    @keyframes subtlePulse {
        0%, 100% { transform: translateY(-1px) scale(1); }
        50% { transform: translateY(-1px) scale(1.02); }
    }
    
    /* Touch-friendly navigation buttons */
    .nav .btn-primary {
        background: rgba(190, 234, 220, 0.2);
        color: var(--text-dark);
        border-color: var(--gray-light);
    }
    
    .mobile-nav .btn-primary {
        background: rgba(190, 234, 220, 0.2);
        color: var(--text-dark);
        border-color: var(--gray-light);
    }
    
    /* Touch-friendly service links */
    .service-link {
        background: rgba(190, 234, 220, 0.5);
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(190, 234, 220, 0.3);
    }
    
    /* Touch-friendly form elements */
    .form-group input:focus,
    .form-group textarea:focus {
        transform: scale(1.01);
        box-shadow: 0 3px 12px rgba(190, 234, 220, 0.4);
    }
}

/* Enhanced touch interactions for larger touch devices */
@media (hover: none) and (pointer: coarse) and (min-width: 768px) {
    .benefit-item {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        background: rgba(190, 234, 220, 0.15);
    }
    
    .service-item {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    }
    
    .testimonial-item {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    }
}

/* Touch device specific animations */
@media (hover: none) and (pointer: coarse) {
    /* Add gentle floating animation to key elements */
    .benefit-item {
        animation: gentleFloat 6s ease-in-out infinite;
    }
    
    .benefit-item:nth-child(2) {
        animation-delay: 1s;
    }
    
    .benefit-item:nth-child(3) {
        animation-delay: 2s;
    }
    
    .benefit-item:nth-child(4) {
        animation-delay: 3s;
    }
    
    .benefit-item:nth-child(5) {
        animation-delay: 4s;
    }
    
    @keyframes gentleFloat {
        0%, 100% { transform: translateY(-2px); }
        50% { transform: translateY(-6px); }
    }
    
    /* Subtle service item animations */
    .service-item {
        animation: gentleFloat 8s ease-in-out infinite;
    }
    
    .service-item:nth-child(2) {
        animation-delay: 2s;
    }
    
    .service-item:nth-child(3) {
        animation-delay: 4s;
    }
    
    .service-item:nth-child(4) {
        animation-delay: 6s;
    }
    
    /* Enhanced WhatsApp button for touch */
    .whatsapp-float a {
        animation: touchFloat 3s ease-in-out infinite;
        box-shadow: 0 10px 35px rgba(37, 211, 102, 0.7);
    }
    
    @keyframes touchFloat {
        0%, 100% { transform: translateY(0px) scale(1); }
        50% { transform: translateY(-8px) scale(1.02); }
    }
}

/* Theme Toggle Button */
.theme-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 2px solid var(--primary-color);
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gray-light);
    transition: left 0.4s ease;
    z-index: -1;
}

.theme-toggle:hover {
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(190, 234, 220, 0.4);
    border-color: var(--gray-light);
}

.theme-toggle:hover::before {
    left: 0;
}

.theme-toggle i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.theme-toggle:hover i {
    transform: rotate(180deg);
}

/* Language Toggle Button */
.language-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 2px solid var(--primary-color);
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.language-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gray-light);
    transition: left 0.4s ease;
    z-index: -1;
}

.language-toggle:hover {
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(190, 234, 220, 0.4);
    border-color: var(--gray-light);
}

.language-toggle:hover::before {
    left: 0;
}

.language-toggle i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.language-toggle:hover i {
    transform: rotate(360deg);
}

.lang-text {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.85rem;
}

/* Mobile Language Toggle */
.language-toggle-mobile {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    z-index: 1002;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.language-toggle-mobile::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gray-light);
    transition: left 0.4s ease;
    z-index: -1;
}

.language-toggle-mobile:hover {
    color: var(--text-dark);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(190, 234, 220, 0.4);
    border-color: var(--gray-light);
}

.language-toggle-mobile:hover::before {
    left: 0;
}

.language-toggle-mobile:active {
    transform: translateY(-1px) scale(1.02);
}

.mobile-lang-text {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.7rem;
    text-align: center;
}

/* Dark Theme Specific Styles */
[data-theme="dark"] .header {
    background: var(--white) !important;
    box-shadow: 0 2px 10px var(--shadow-dark);
}

[data-theme="dark"] .hero {
    background: var(--secondary-color);
}

[data-theme="dark"] .benefits {
    background: var(--white);
}

[data-theme="dark"] .benefit-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .benefit-item:hover {
    background: var(--gray-light);
    color: var(--text-dark);
}

[data-theme="dark"] .benefit-item:hover i {
    color: var(--text-dark);
}

[data-theme="dark"] .service-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .service-item:hover {
    background: var(--card-hover);
}

[data-theme="dark"] .service-item:hover i {
    color: var(--gray-light) !important;
}

[data-theme="dark"] .services .section-title {
    color: #FFFFFF !important;
}

[data-theme="dark"] .testimonials {
    background: var(--white);
}

[data-theme="dark"] .testimonial-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .testimonial-item:hover {
    background: var(--card-hover);
}

[data-theme="dark"] .about {
    background: var(--secondary-color);
}

[data-theme="dark"] .contact {
    background: var(--white);
}

[data-theme="dark"] .contact-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .contact-item:hover {
    background: var(--gray-light);
    color: var(--text-dark);
}

[data-theme="dark"] .contact-item:hover i,
[data-theme="dark"] .contact-item:hover h4,
[data-theme="dark"] .contact-item:hover p {
    color: var(--text-dark) !important;
}

[data-theme="dark"] .stat-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .stat-item:hover {
    background: var(--card-hover);
}

[data-theme="dark"] .client-logo {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .client-logo:hover {
    background: var(--card-hover);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    color: var(--text-dark);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
    border-color: var(--gray-light);
    background: var(--card-hover);
}

[data-theme="dark"] .form-group label {
    color: var(--text-light);
}

[data-theme="dark"] .success-message {
    background: var(--gray-light);
    color: var(--text-dark);
    border: 2px solid var(--gray-light);
}

[data-theme="dark"] .footer {
    background: #0a0a0a;
}

[data-theme="dark"] .footer-section h3,
[data-theme="dark"] .footer-section h4 {
    color: #FFFFFF !important;
}

/* Slideshow title overlay */
.slideshow-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 15;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px 20px 20px 20px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    pointer-events: none;
}

.slide-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    font-family: var(--font-primary);
    display: none;
    line-height: 1.3;
    max-width: 100%;
    text-align: center;
}

.slide-title.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.slide-title span {
    color: white;
    display: block;
    padding: 15px 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    margin: 0 auto;
    max-width: 90%;
    transition: all 0.3s ease;
}

.slideshow-container:hover .slideshow-title {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

/* Make entire slide clickable */
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    filter: grayscale(100%);
    pointer-events: none;
}

.slideshow-container:hover .slide.active img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* Slide hover effects */
.slide:hover img {
    transform: scale(1.02);
    filter: grayscale(50%);
}

.slide.active:hover img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

/* Add subtle overlay on hover for better UX */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(190, 234, 220, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.slide:hover::before {
    opacity: 1;
}

/* Dark theme adjustments for slideshow title */
[data-theme="dark"] .slide-title span {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Responsive adjustments for slideshow title */
@media (max-width: 1024px) {
    .slideshow-title {
        padding: 30px 15px 15px 15px;
    }
    
    .slide-title {
        font-size: 1rem;
    }
    
    .slide-title span {
        padding: 12px 16px;
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    .slideshow-title {
        padding: 25px 10px 15px 10px;
    }
    
    .slide-title {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .slide-title span {
        padding: 10px 12px;
        max-width: 98%;
        font-size: 0.85rem;
    }
    
    /* Better touch targets for mobile */
    .slide {
        -webkit-tap-highlight-color: rgba(190, 234, 220, 0.3);
        tap-highlight-color: rgba(190, 234, 220, 0.3);
    }
}

@media (max-width: 480px) {
    .slideshow-title {
        padding: 20px 8px 12px 8px;
    }
    
    .slide-title {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .slide-title span {
        padding: 8px 10px;
        max-width: 100%;
        font-size: 0.75rem;
        border-radius: 6px;
    }
}

@media (max-width: 320px) {
    .slideshow-title {
        padding: 15px 5px 10px 5px;
    }
    
    .slide-title {
        font-size: 0.7rem;
    }
    
    .slide-title span {
        padding: 6px 8px;
        font-size: 0.7rem;
    }
}