* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #03c2ff;
    --secondary: #ff0000;
    --dark: #0c0e14;
    --gray: #454545;
    --light: #f5f5f5;
    --success: #19cf10;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

/* Header */
header {
    background: linear-gradient(180deg, #2a2a2a 0%, #000 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(3, 194, 255, 0.3);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    border-bottom: 2px solid var(--primary);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary);
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
}

.brand-name span {
    color: var(--secondary);
}

.contact-quick {
    display: flex;
    gap: 20px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: var(--success);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(25, 207, 16, 0.5);
}

.contact-btn.phone {
    background: var(--primary);
}

/* Menu Toggle (Hamburguesa) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Navigation */
nav {
    display: flex;
    justify-content: center;
    padding: 15px 5%;
    background: rgba(0, 0, 0, 0.5);
}

nav a {
    color: #fff;
    text-decoration: none;
    padding: 10px 25px;
    margin: 0 5px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
}

nav a:hover, nav a.active {
    background: var(--primary);
    transform: scale(1.05);
}

/* Search Bar */
.search-container {
    padding: 20px 5%;
    background: #1a1a1a;
    display: flex;
    justify-content: center;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.search-box input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    background: #2a2a2a;
    border: 2px solid var(--primary);
    border-radius: 30px;
    color: #fff;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.search-box input:focus {
    outline: none;
    box-shadow: 0 0 20px rgba(3, 194, 255, 0.5);
}

.search-box input::placeholder {
    color: #999;
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    color: var(--primary);
    pointer-events: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(12, 14, 20, 0.8), rgba(0, 0, 0, 0.9)), url('img/2023-07-29.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 5%;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(3, 194, 255, 0.5);
}

.hero h1 span {
    color: var(--secondary);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--primary);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    background: var(--success);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(25, 207, 16, 0.5);
}

.btn-secondary {
    background: var(--primary);
}

/* Cart Icon */
.cart-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--secondary);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 25px rgba(255, 0, 0, 0.5);
    z-index: 999;
    transition: all 0.3s ease;
}

.cart-icon:hover {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--success);
    color: #fff;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Services Section */
.services {
    padding: 80px 5%;
    background: linear-gradient(180deg, #000 0%, #1a1a1a 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 50px;
    text-transform: uppercase;
    color: var(--primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(3, 194, 255, 0.3);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
    text-transform: uppercase;
}

.service-card p {
    color: #ccc;
    line-height: 1.6;
}

/* Products Section */
.products {
    padding: 80px 5%;
    background: #000;
}

.category-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    background: #2a2a2a;
    color: #fff;
    border: 2px solid var(--primary);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    transform: scale(1.05);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(3, 194, 255, 0.3);
}

.product-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #fff;
}

.product-info {
    padding: 25px;
}

.product-category {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--success);
    margin-bottom: 20px;
}

.add-to-cart {
    width: 100%;
    padding: 12px;
    background: var(--success);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
}

.add-to-cart:hover {
    background: var(--primary);
    transform: scale(1.05);
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.cart-modal.active {
    display: flex;
}

.cart-content {
    background: #1a1a1a;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    border: 2px solid var(--primary);
}

.close-cart {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--secondary);
    transition: all 0.3s ease;
}

.close-cart:hover {
    transform: rotate(90deg);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #2a2a2a;
    margin-bottom: 15px;
    border-radius: 15px;
}

.cart-item-info h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.cart-item-info p {
    color: #ccc;
    margin-bottom: 10px;
}

.cart-item-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--success);
}

.remove-item {
    background: var(--secondary);
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.remove-item:hover {
    transform: scale(1.1);
}

.cart-total {
    text-align: center;
    margin: 30px 0;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: var(--success);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

.checkout-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(25, 207, 16, 0.5);
}

/* About Section */
.about {
    padding: 80px 5%;
    background: linear-gradient(180deg, #1a1a1a 0%, #000 100%);
    text-align: center;
}

.about img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 30px auto;
    border: 5px solid var(--primary);
    display: block;
}

.about p {
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #ccc;
}

.about p strong {
    color: var(--primary);
}

/* Footer */
footer {
    background: #000;
    padding: 60px 5% 30px;
    border-top: 3px solid var(--primary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 700;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-section a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: var(--gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.social-icon:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--gray);
    color: var(--gray);
}

.copyright p {
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 15px;
        padding: 10px 5%;
    }

    .logo-container {
        width: 100%;
       
    }

    .logo {
        width: 50px;
        height: 50px;
    }

    .brand-name {
        font-size: 1rem;
    }

    .contact-quick {
        width: 100%;
        justify-content: center;
    }

    .contact-quick a:not(.contact-btn.phone) {
        display: none;
    }

    .contact-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .menu-toggle {
        display: flex;
    }

    nav {
        display: none;
        flex-direction: column;
        padding: 0;
        background: #1a1a1a;
    }

    nav.active {
        display: flex;
    }

    nav a {
        width: 100%;
        margin: 0;
        padding: 15px 5%;
        border-radius: 0;
        border-bottom: 1px solid #333;
    }

    .hero {
        padding: 60px 5%;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cart-icon {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .cart-content {
        padding: 30px 20px;
    }

    .search-box input {
        padding: 12px 40px 12px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .product-image {
        height: 200px;
        font-size: 3rem;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .logo {
        width: 80px;
        height: 80px;
    }

    .brand-name {
        font-size: 1.5rem;
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card, .service-card {
    animation: fadeIn 0.6s ease forwards;
}

/* Scroll smooth */
html {
    scroll-behavior: smooth;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--dark) 0%, #1a1a1a 100%);
    padding: 80px 5%;
    text-align: center;
    border-bottom: 3px solid var(--primary);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.page-header h1 span {
    color: var(--primary);
}

.page-header p {
    font-size: 1.2rem;
    color: #ccc;
}

/* Services Preview */
.services-preview {
    padding: 80px 5%;
    background: linear-gradient(180deg, #000 0%, #1a1a1a 100%);
}

.center-btn {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

/* Why Us Section */
.why-us {
    padding: 80px 5%;
    background: #000;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-item h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 5%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #fff;
}

/* Detailed Services */
.services-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card-detailed {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    padding: 40px 30px;
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.service-card-detailed:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(3, 194, 255, 0.3);
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.service-list li {
    padding: 10px 0;
    color: #ccc;
    border-bottom: 1px solid #333;
}

.service-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--success);
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.service-btn:hover {
    background: var(--primary);
    transform: scale(1.05);
}

/* Info Banner */
.info-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0;
    background: #1a1a1a;
}

.info-item {
    padding: 40px 20px;
    text-align: center;
    border-right: 1px solid #333;
}

.info-item:last-child {
    border-right: none;
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.info-item h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.info-item p {
    color: #ccc;
}

/* Mission Vision */
.mission-vision {
    padding: 80px 5%;
    background: #000;
}

.mv-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.mv-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--primary);
}

.mv-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.mv-card h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.mv-card p {
    line-height: 1.8;
    color: #ccc;
}

/* Values */
.values {
    padding: 80px 5%;
    background: linear-gradient(180deg, #1a1a1a 0%, #000 100%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background: #2a2a2a;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    transform: translateY(-10px);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.value-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Why Choose */
.why-choose {
    padding: 80px 5%;
    background: #1a1a1a;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-item {
    background: #2a2a2a;
    padding: 40px 30px;
    border-radius: 15px;
    border-left: 5px solid var(--primary);
}

.why-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 20px;
}

.why-item h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.why-item p {
    color: #ccc;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 80px 5%;
    background: #000;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 60px;
}

.contact-info h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info > p {
    color: #ccc;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #2a2a2a;
    transform: translateX(10px);
}

.contact-icon {
    font-size: 2.5rem;
    min-width: 60px;
    display: flex;}


    /* ===================================
   ESTILOS ADICIONALES PARA CONTACTO
   Agregar al final de style.css
   =================================== */

/* Contact Details */
.contact-details h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-details a {
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.contact-details p {
    color: #ccc;
    margin: 5px 0;
    line-height: 1.6;
}

/* Contact Form Container */
.contact-form-container {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid var(--primary);
}

.contact-form-container h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-form-container > p {
    color: #ccc;
    margin-bottom: 30px;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: #2a2a2a;
    border: 2px solid #333;
    border-radius: 10px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(3, 194, 255, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--success);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

.submit-btn:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(3, 194, 255, 0.5);
}

/* Social Section */
.social-section {
    padding: 80px 5%;
    background: #1a1a1a;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.social-link {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(3, 194, 255, 0.3);
}

.social-icon-large {
    font-size: 4rem;
    margin-bottom: 20px;
}

.social-link h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.social-link p {
    color: #ccc;
    font-size: 1rem;
}

.social-link.instagram:hover {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
}

.social-link.facebook:hover {
    background: #1877f2;
}

.social-link.whatsapp:hover {
    background: var(--success);
}

/* ===================================
   RESPONSIVE FIXES - MOBILE
   =================================== */

@media (max-width: 768px) {
    /* Contact Container */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Contact Items - FIX PRINCIPAL */
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }
    
    .contact-icon {
        font-size: 2rem;
        min-width: auto;
        width: 60px;
        height: 60px;
        margin: 0 auto 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--primary);
        border-radius: 50%;
    }
    
    .contact-details {
        width: 100%;
    }
    
    .contact-details h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .contact-details a,
    .contact-details p {
        font-size: 0.95rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    /* Contact Form Container */
    .contact-form-container {
        padding: 25px 20px;
    }
    
    .contact-form-container h2 {
        font-size: 1.5rem;
    }
    
    .contact-form-container > p {
        font-size: 0.95rem;
    }
    
    /* Form Elements */
    .form-group {
        gap: 6px;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 0.95rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    /* Submit Button */
    .submit-btn {
        padding: 14px;
        font-size: 1rem;
    }
    
    /* Social Links */
    .social-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .social-link {
        padding: 30px 20px;
    }
    
    .social-icon-large {
        font-size: 3rem;
    }
    
    .social-link h3 {
        font-size: 1.2rem;
    }
    
    .social-link p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    /* Contact Section */
    .contact-section {
        padding: 60px 5%;
    }
    
    /* Contact Info */
    .contact-info h2 {
        font-size: 1.5rem;
    }
    
    .contact-info > p {
        font-size: 0.9rem;
    }
    
    /* Contact Items - Extra small */
    .contact-item {
        padding: 15px 10px;
        margin-bottom: 20px;
    }
    
    .contact-icon {
        font-size: 1.8rem;
        width: 50px;
        height: 50px;
    }
    
    .contact-details h3 {
        font-size: 1rem;
    }
    
    .contact-details a,
    .contact-details p {
        font-size: 0.9rem;
    }
    
    /* Contact Form Container */
    .contact-form-container {
        padding: 20px 15px;
    }
    
    .contact-form-container h2 {
        font-size: 1.3rem;
    }
    
    .contact-form-container > p {
        font-size: 0.85rem;
    }
    
    /* Form Elements */
    .form-group label {
        font-size: 0.85rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 12px;
        font-size: 0.95rem;
    }
    
    /* Social Section */
    .social-section {
        padding: 60px 5%;
    }
    
    .social-link {
        padding: 25px 15px;
    }
    
    .social-icon-large {
        font-size: 2.5rem;
    }
    
    .social-link h3 {
        font-size: 1.1rem;
    }
    
    .social-link p {
        font-size: 0.9rem;
    }
}

/* Fix para inputs en iOS */
@media (max-width: 768px) {
    .form-group input,
    .form-group select,
    .form-group textarea {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
    
    .form-group select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2303c2ff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 15px center;
        padding-right: 40px;
    }
}

/* Prevenir overflow horizontal */
.contact-section,
.contact-container,
.contact-form-container,
.contact-form,
.form-group,
.contact-item {
    max-width: 100%;
    overflow-x: hidden;
}

/* Asegurar que todos los inputs se ajusten */
input, select, textarea, button {
    max-width: 100%;
    box-sizing: border-box;
}

.link-autoadorno {
    text-decoration: none;
}



/* ==== CLS FIX CRÍTICO ==== */

header {
    min-height: 140px;
}

.hero {
    min-height: 500px;
    background-attachment: scroll;
}

@media (max-width: 768px) {
    header {
        min-height: 120px;
    }

    .hero {
        min-height: 380px;
    }
}

@media (min-width: 1200px) {
    .hero {
        background-attachment: fixed;
    }
}

/* 1. FONT LOADING - Evita FOUT (Flash of Unstyled Text) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Montserrat');
}

/* 2. RESERVAR ESPACIO PARA HEADER */
header {
  min-height: 140px; /* Altura fija para evitar salto */
}

@media (max-width: 768px) {
  header {
    min-height: 180px; /* Más alto en móvil por layout vertical */
  }
}

/* 3. HERO SECTION - Altura mínima */
.hero {
  min-height: 600px; /* Reserva espacio antes de cargar imagen */
  background-attachment: scroll; /* Mejor para móvil */
}

@media (max-width: 768px) {
  .hero {
    min-height: 500px;
  }
}

@media (min-width: 1200px) {
  .hero {
    background-attachment: fixed; /* Parallax solo en desktop */
  }
}

/* 4. IMÃGENES - Aspect ratio para todas */
.logo {
  width: 80px;
  height: 80px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.about img {
  width: 150px;
  height: 150px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* 5. PRODUCT IMAGES - Altura fija */
.product-image {
  width: 100%;
  height: 250px;
  min-height: 250px; /* CRÃTICO: Evita colapso */
  position: relative;
  overflow: hidden;
}

.product-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 6. SERVICE CARDS - Altura mínima */
.service-card {
  min-height: 280px;
}

.service-card-detailed {
  min-height: 450px;
}

/* 7. FOOTER - Altura mínima */
footer {
  min-height: 400px;
}

/* 8. CONTACT ICONS - Dimensiones fijas */
.contact-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  min-height: 60px;
  flex-shrink: 0;
}

/* 9. SOCIAL ICONS - Dimensiones fijas */
.social-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  flex-shrink: 0;
}

/* 10. BUTTONS - Altura consistente */
.btn,
.contact-btn,
.submit-btn,
.checkout-btn {
  min-height: 48px; /* TamaÃ±o táctil mínimo */
  line-height: 1.2;
}

/* 11. GRIDS - Evitar colapso */
.services-grid,
.products-grid,
.features-grid,
.values-grid {
  min-height: 300px;
}

/* 12. CART ICON - Posición fija sin salto */
.cart-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  min-height: 60px;
}

.cart-count {
  width: 25px;
  height: 25px;
  min-width: 25px;
  min-height: 25px;
}

/* 13. INPUTS Y FORMS - Altura consistente */
.form-group input,
.form-group select,
.form-group textarea,
.search-box input {
  min-height: 48px;
  box-sizing: border-box;
}

.form-group textarea {
  min-height: 120px;
}

/* 14. PAGE HEADER - Altura mínima */
.page-header {
  min-height: 200px;
}

/* 15. NAVIGATION - Altura fija */
nav {
  min-height: 60px;
}

/* 16. SKELETON LOADING para imágenes que cargan */
.product-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    #1a1a1a 0%,
    #2a2a2a 50%,
    #1a1a1a 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  z-index: 1;
}

.product-image img {
  z-index: 2;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* 17. MOBILE FIX - Ajustes específicos */
@media (max-width: 768px) {
  .product-image {
    height: 220px;
    min-height: 220px;
  }
  
  .service-card {
    min-height: 250px;
  }
  
  .hero {
    min-height: 450px;
  }
  
  .contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
  }
}

@media (max-width: 480px) {
  header {
    min-height: 200px;
  }
  
  .hero {
    min-height: 400px;
  }
  
  .product-image {
    height: 200px;
    min-height: 200px;
  }
}

/* 18. PREVENT LAYOUT SHIFTS during JavaScript loading */
.products-grid:empty,
.services-grid:empty {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.products-grid:empty::after,
.services-grid:empty::after {
  content: 'Cargando...';
  color: var(--primary);
  font-size: 1.2rem;
}

/* 19. CONTAIN LAYOUT - Mejor rendimiento */
.service-card,
.product-card,
.feature-item,
.value-card {
  contain: layout style paint;
}

/* 20. WILL-CHANGE solo para animaciones activas */
.service-card:hover,
.product-card:hover {
  will-change: transform;
}

.service-card:not(:hover),
.product-card:not(:hover) {
  will-change: auto;
}
