/* ==========================================================================
   Bavela S.A.C. - Professional Website Styles
   ========================================================================== */

/* CSS Variables */
:root {
    --primary-red: #E63946;
    --primary-blue: #1D3D6F;
    --dark-blue: #0F1F3D;
    --light-blue: #2E5090;
    --accent-red: #D62828;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #E9ECEF;
    --dark-gray: #495057;
    --text-dark: #212529;
    --text-light: #6C757D;
    
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    
    --transition-base: all 0.3s ease;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

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

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

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

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition-base);
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-lg);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.header-social {
    display: flex;
    gap: 15px;
    margin-left: 20px;
    align-items: center;
}

.header-social-link {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(29, 61, 111, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.header-social-link:hover {
    background: var(--primary-red);
    transform: translateY(-2px) scale(1.1);
}

.header-social-link svg {
    width: 18px;
    height: 18px;
    fill: var(--primary-blue);
}

.header-social-link:hover svg {
    fill: white;
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.special {
    background: var(--primary-red);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 5px;
}

.nav-link.special::after {
    display: none;
}

.nav-link.special:hover {
    background: var(--accent-red);
    color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: var(--transition-base);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 50%, var(--light-blue) 100%);
    overflow: hidden;
    margin-top: 80px;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(230, 57, 70, 0.1) 0%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title-line {
    display: block;
}

.hero-title-highlight {
    color: var(--primary-red);
    text-shadow: 0 0 30px rgba(230, 57, 70, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

.scroll-indicator {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--white), transparent);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-base);
    text-align: center;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

.btn-primary:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
}

.btn-outline {
    background: transparent;
    color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-outline:hover {
    background: var(--primary-red);
    color: var(--white);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition-base);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-red);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-red), var(--accent-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-base);
}

.feature-icon svg {
    width: 35px;
    height: 35px;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Section Labels & Titles */
.section-label {
    display: inline-block;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 30px;
    line-height: 1.3;
}

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

/* About Preview Section */
.about-preview {
    padding: 100px 0;
    background: var(--white);
}

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

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

.about-text .btn {
    margin-top: 20px;
}

.about-image {
    position: relative;
}

.image-placeholder {
    background: var(--light-gray);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* About Section - PROFESIONAL SIN COLORES */
.about-section {
    padding: 100px 0;
    background: #f8f9fa;
}

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

/* Columna Izquierda */
.about-content-pro {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.about-logo-pro {
    width: 180px;
    margin-bottom: 30px;
}

.about-title-pro {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 25px;
    line-height: 1.3;
}

.about-text-pro {
    color: #6c757d;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 20px;
}

/* Columna Derecha - Stats */
.about-stats-pro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card-pro {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

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

.stat-card-pro.stat-featured {
    grid-column: 1 / -1;
    padding: 0;
    overflow: hidden;
}

.stat-image-pro {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

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

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

.stat-label-pro {
    padding: 20px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-blue);
}

.stat-number-pro {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.stat-text-pro {
    color: #6c757d;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-grid-professional {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats-pro {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-content-pro {
        padding: 35px 25px;
    }
    
    .about-logo-pro {
        width: 140px;
    }
    
    .about-title-pro {
        font-size: 1.6rem;
    }
    
    .stat-number-pro {
        font-size: 2.5rem;
    }
}

/* Products Preview Section */
.products-preview {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--light-gray), var(--white));
}

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

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-red);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-info {
    padding: 30px;
}

.product-info h3 {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.product-info p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.product-link {
    color: var(--primary-red);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition-base);
}

.product-link:hover {
    gap: 10px;
}

.products-cta {
    text-align: center;
}

/* Services Preview Section */
.services-preview {
    padding: 100px 0;
    background: var(--primary-blue);
    color: var(--white);
}

.services-preview .section-label {
    color: var(--primary-red);
}

.services-preview .section-title {
    color: var(--white);
}

.services-list {
    display: grid;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.service-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.service-number {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1;
    min-width: 80px;
}

.service-details h4 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-details p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-red), var(--accent-red));
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Clients Carousel Navigation */
.clientes-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(230, 57, 70, 0.9);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.clientes-nav-btn:hover {
    background: rgba(214, 40, 40, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

.clientes-prev {
    left: 10px;
}

.clientes-next {
    right: 10px;
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

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

.footer-column h4 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
    margin-bottom: 15px;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition-base);
}

.footer-legal a:hover {
    color: var(--primary-red);
}

.footer-libro-link {
    display: inline-block;
    margin: 0 10px;
    transition: var(--transition-base);
}

.footer-libro-link img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.footer-libro-link:hover img {
    transform: scale(1.1);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.footer-social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.footer-social-link:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.4);
}

.footer-social-link svg {
    width: 22px;
    height: 22px;
    fill: white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Design */
/* ==========================================================================
   RESPONSIVE DESIGN - Mobile First Approach
   ========================================================================== */

/* Tablet and Below (≤ 992px) */
@media (max-width: 992px) {
    /* Base adjustments */
    html {
        font-size: 15px;
    }
    
    .container {
        padding: 0 30px;
    }
    
    /* Header */
    .header {
        padding: 15px 0;
    }
    
    /* Hero Section */
    .hero-title {
        font-size: 2.8rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-carousel-item {
        height: 500px;
    }
    
    .hero-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Services Grid */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    /* Products Grid */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    /* Clients Logo */
    .clients-logo-track {
        animation-duration: 25s;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Mobile Landscape and Below (≤ 768px) */
@media (max-width: 768px) {
    /* Base adjustments */
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    /* Header - Mobile Menu */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 40px 20px;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        padding: 15px 0;
        border-bottom: 1px solid var(--medium-gray);
        width: 100%;
        text-align: left;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .btn-contact-nav {
        width: 100%;
        text-align: center;
        margin-top: 20px;
    }
    
    /* Hero Section */
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .hero-carousel-item {
        height: 450px;
    }
    
    .hero-content {
        padding: 30px 20px;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-nav {
        display: none;
    }
    
    /* Section Spacing */
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-item {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .service-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    /* Products Grid */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .product-item {
        max-width: 100%;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .stat-item {
        padding: 30px 20px;
    }
    
    /* Industries Sectors */
    .sectors-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sector-card {
        padding: 30px 20px;
    }
    
    /* CTA Section */
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-logo {
        margin: 0 auto;
    }
    
    .footer-links,
    .footer-contact {
        text-align: center;
    }
    
    .footer-bottom {
        text-align: center;
        padding: 20px 0;
    }
    
    /* WhatsApp Button */
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
}

/* Small Mobile (≤ 480px) */
@media (max-width: 480px) {
    /* Base adjustments */
    html {
        font-size: 13px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Header */
    .header {
        padding: 12px 0;
    }
    
    .logo {
        max-width: 120px;
    }
    
    /* Hero Section */
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-carousel-item {
        height: 400px;
    }
    
    .hero-content {
        padding: 20px 15px;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 14px 28px;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 1.5rem;
    }
    
    /* Service Cards */
    .service-item {
        padding: 25px 15px;
    }
    
    /* Product Cards */
    .product-item {
        padding: 20px 15px;
    }
    
    /* Stat Items */
    .stat-number {
        font-size: 2rem;
    }
    
    /* CTA Section */
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    /* WhatsApp Button */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
}

/* Extra Small Devices (≤ 360px) */
@media (max-width: 360px) {
    html {
        font-size: 12px;
    }
    
    .hero-title {
        font-size: 1.4rem;
    }
    
    .hero-carousel-item {
        height: 350px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}


/* ============================================
   PROTECCIÓN DE SEGURIDAD
   ============================================ */

/* Deshabilitar selección de texto (opcional - comentado por defecto) */
/*
* {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input, textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}
*/

/* Proteger imágenes */
img {
    pointer-events: auto;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* Ocultar scroll cuando DevTools está abierto */
body.devtools-open {
    overflow: hidden;
}

/* Marca de agua anti-screenshot (opcional) */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><text x="50%" y="50%" font-family="Arial" font-size="12" fill="rgba(0,0,0,0.02)" text-anchor="middle" transform="rotate(-45 100 100)">Bavela S.A.C.</text></svg>');
    background-repeat: repeat;
    background-size: 200px 200px;
}
