* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #e5e7eb; /* Gris más claro y estético como fondo principal */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - Estilo Icaro */
.header {
    background: #ffffff;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    /* Fix white flash on load */
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
}

.navbar {
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 0.3rem;
    z-index: 1002;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    transition: all 0.3s ease;
    border-radius: 0;
}

/* Navigation Menu - Reparado */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link span {
    color: #333;
}

.nav-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    color: #333;
}

.nav-link:hover {
    color: #1e3a8a;
    background: rgba(59, 130, 246, 0.05);
    transform: translateY(-1px);
}

.nav-link:hover span {
    color: #1e3a8a;
}

.nav-link:hover i {
    transform: scale(1.1);
    color: #1e3a8a;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.6s;
}

.nav-link:hover::before {
    left: 100%;
}

.contact-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    color: white !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    margin-left: 1rem;
}

.contact-btn span {
    color: white !important;
}

.contact-btn i {
    color: white !important;
}

.contact-btn:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.contact-btn:hover span {
    color: white !important;
}

.contact-btn:hover i {
    color: white !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0;
    transition: all 0.3s ease;
    z-index: 1003;
    background: none;
    border: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 0;
    display: block;
}

/* Estados activos del hamburger */
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
    background: #333;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
    background: #333;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.1);
    z-index: 1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 160px);
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-text-center {
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.highlight-text {
    background: linear-gradient(135deg, #ffffff 0%, #60a5fa 30%, #3b82f6 70%, #1e3a8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    font-size: 1.1em;
    text-shadow: none;
    position: relative;
    display: inline-block;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #60a5fa 0%, #3b82f6 50%, #1e3a8a 100%);
    border-radius: 3px;
    opacity: 0.9;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.highlight-text-secondary {
    color: #f8fafc;
    font-weight: 800;
    font-size: 1.05em;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5);
    position: relative;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.highlight-text-secondary::before {
    content: '&';
    position: absolute;
    left: -1.2em;
    color: #60a5fa;
    font-size: 0.8em;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.3));
}

.hero-services {
    margin: 1.5rem 0;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.services-list {
    font-size: 1.1rem;
    color: #f8fafc;
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.hero-description {
    font-size: 1.3rem;
    margin: 2rem 0;
    opacity: 0.95;
    line-height: 1.6;
    color: #f1f5f9;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.btn {
    padding: 16px 36px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 50%, #1e3a8a 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.4), 
                0 4px 16px rgba(30, 58, 138, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    border-radius: 12px;
    pointer-events: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.5), 
                0 6px 20px rgba(30, 58, 138, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    border-radius: 12px;
    pointer-events: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.2),
                0 6px 20px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn:active {
    transform: translateY(-1px) scale(0.98);
}

.btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(2px);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1f2937; /* Gris oscuro más elegante para títulos */
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    word-wrap: break-word;
}

.section-header h3 {
    font-size: 2rem;
    color: #1f2937; /* Gris oscuro más elegante */
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    word-wrap: break-word;
}

.section-header p {
    font-size: 1.1rem;
    color: #4b5563; /* Gris medio para subtítulos */
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    word-wrap: break-word;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f3f4f6; /* Gris muy claro más estético */
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: #1f2937; /* Gris oscuro más elegante */
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #374151; /* Gris oscuro para mejor legibilidad */
    line-height: 1.8;
    font-size: 1.05rem;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    background: #ffffff; /* Mantener blanco para contraste */
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* Sombra más sutil */
}

.stat h4 {
    font-size: 2.5rem;
    color: #3b82f6;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #6b7280; /* Gris medio más elegante */
    font-size: 0.9rem;
    font-weight: 500;
}

.about-image {
    text-align: center;
}

.about-image i {
    font-size: 12rem;
    color: #d1d5db; /* Gris claro más suave */
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #e5e7eb; /* Gris medio estético */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #ffffff; /* Mantener blanco para contraste */
    padding: 1.5rem 2rem;
    border: 2px solid #d1d5db; /* Borde gris más suave */
    border-radius: 0;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* Sombra más sutil */
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: #00bcd4;
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.15); /* Sombra más sutil en hover */
    transform: translateY(-3px);
}

/* Remover iconos de service cards también */
.service-card .service-icon {
    display: none;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #1f2937; /* Gris oscuro elegante */
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: left; /* Alineado a la izquierda */
}

.service-card p {
    color: #4b5563; /* Gris medio para mejor legibilidad */
    line-height: 1.6;
    text-align: left; /* Alineado a la izquierda */
}

/* Products Section */
.products {
    padding: 80px 0;
    background: #f3f4f6; /* Gris muy claro estético */
}

.products-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.product-category-card {
    background: #ffffff; /* Mantener blanco para contraste */
    border: 2px solid #d1d5db; /* Borde gris más suave */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* Sombra más sutil */
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.product-category-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15); /* Sombra más sutil */
    transform: translateY(-2px);
}

.product-category-card .product-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 200px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 4px solid #3b82f6;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
    overflow: hidden;
    position: relative;
    margin-bottom: 1.5rem;
}

.product-category-card .product-icon i {
    font-size: 4rem;
    color: white;
    transition: all 0.3s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.product-category-card:hover .product-icon {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-color: #2563eb;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.3);
    transform: translateY(-3px);
}

.product-category-card:hover .product-icon i {
    transform: scale(1.1);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.product-category-card.active-category .product-icon {
    background: linear-gradient(135deg, #00bcd4 0%, #00acc1 100%);
    border-color: #00bcd4;
    box-shadow: 0 8px 30px rgba(0, 188, 212, 0.3);
}

.product-category-card.active-category .product-icon i {
    color: white;
    transform: scale(1.05);
}

.product-category-header {
    padding: 3rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center; /* Centrar ya que no hay botón a la derecha */
    border-bottom: 1px solid transparent;
}

.product-category-card .product-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px; /* Más ancho para formato rectangular */
    height: 200px; /* Menos alto para formato rectangular */
    background: white;
    border-radius: 12px; /* Bordes ligeramente redondeados pero rectangular */
    transition: all 0.3s ease;
    border: 4px solid #3b82f6; /* Marco azul de la empresa */
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
    overflow: hidden;
    position: relative;
    margin-bottom: 1.5rem; /* Espacio para que el texto esté debajo */
}

.product-category-card .product-icon .category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    border-radius: 8px; /* Imagen con bordes ligeramente redondeados */
    display: block;
    position: relative;
    z-index: 2;
}

.product-category-left {
    display: flex;
    flex-direction: column; /* Cambiar a columna para poner imagen arriba y texto abajo */
    align-items: center; /* Centrar horizontalmente */
    gap: 0; /* Sin gap ya que usamos margin-bottom en la imagen */
    flex: 1;
    text-align: center; /* Centrar el texto */
}

.product-category-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Centrar el contenido */
    text-align: center; /* Centrar el texto */
}

.product-category-info h3 {
    font-size: 1.6rem;
    color: #1f2937; /* Gris oscuro elegante */
    margin-bottom: 0.8rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.product-category-info p {
    color: #4b5563; /* Gris medio para mejor legibilidad */
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
    max-width: 400px; /* Limitar ancho del texto para mejor legibilidad */
}

/* Products Details - Estilos corregidos para el despliegue */
.products-details {
    display: none;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    margin-top: 0;
}

.product-category-card.active-category .products-details {
    display: block;
    opacity: 1;
    padding: 2rem;
}

.simple-products-content {
    padding: 0;
    max-width: 100%;
    margin: 0;
}

.simple-products-content p {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    padding-left: 1rem;
    position: relative;
    font-size: 0.95rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.simple-products-content p::before {
    content: '▸';
    color: #3b82f6;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.simple-products-content p:last-child {
    margin-bottom: 0;
}

/* Contact Section - Estilos completamente corregidos */
.contact {
    padding: 80px 0;
    background: #e5e7eb;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.contact-item i {
    font-size: 1.5rem;
    color: #3b82f6;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.2rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-weight: 600;
    word-wrap: break-word;
}

.contact-item p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.social-links {
    align-items: center;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    color: white;
    flex-shrink: 0;
}

.social-link.linkedin {
    background: #0077b5;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.whatsapp {
    background: #25d366;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.contact-form {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    width: 100%;
    box-sizing: border-box;
}

.contact-form h3 {
    font-size: 1.8rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-weight: 700;
    word-wrap: break-word;
}

.form-subtitle {
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    word-wrap: break-word;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
    font-size: 0.95rem;
    word-wrap: break-word;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9fafb;
    box-sizing: border-box;
    word-wrap: break-word;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

/* Alternative contact methods styling */
.alternative-contact {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.contact-divider {
    margin-bottom: 1.5rem;
    color: #6b7280;
    font-size: 0.95rem;
    font-weight: 500;
    word-wrap: break-word;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-direct-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 140px;
    justify-content: center;
    word-wrap: break-word;
}

.email-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.email-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.phone-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.phone-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* Map Section */
.map-section {
    margin-top: 3rem;
}

.map-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 300px;
    z-index: 10;
}

.map-info h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    word-wrap: break-word;
}

.map-info h4 i {
    color: #3b82f6;
    font-size: 1.2rem;
}

.map-info p {
    color: #4b5563;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.map-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* Contact Section Responsive - Corregido completamente */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        order: -1;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .social-links {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }
    
    .contact-content {
        gap: 2.5rem;
        padding: 0 15px;
    }
    
    .contact-info {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contact-item {
        padding: 1.2rem;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .contact-item i {
        margin-bottom: 0.5rem;
        margin-top: 0;
        font-size: 1.3rem;
    }
    
    .contact-item h4 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }
    
    .contact-item p {
        font-size: 0.9rem;
        line-height: 1.4;
        text-align: center;
    }
    
    .social-links {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .social-icons {
        justify-content: center;
        gap: 0.8rem;
        margin-top: 0.5rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
        margin: 0;
    }
    
    .contact-form h3 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
        text-align: center;
    }
    
    .form-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 0.9rem;
    }
    
    .contact-form .btn {
        padding: 12px;
        font-size: 0.95rem;
        width: 100%;
    }
    
    /* Alternative contact methods */
    .contact-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .contact-direct-btn {
        width: 90%;
        max-width: 250px;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
        text-align: center;
        justify-content: center;
    }
    
    .contact-divider {
        font-size: 0.9rem;
    }
    
    /* Map section mobile */
    .map-section {
        margin-top: 2rem;
    }
    
    .map-container {
        margin: 0 -15px;
        border-radius: 0;
    }
    
    .map-overlay {
        position: static;
        background: rgba(255, 255, 255, 0.95);
        margin: 1rem 15px 0 15px;
        padding: 1rem;
        border-radius: 8px;
        max-width: none;
        width: auto;
    }
    
    .map-info h4 {
        font-size: 1rem;
    }
    
    .map-info p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }
    
    .map-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 50px 0;
    }
    
    .contact-content {
        gap: 2rem;
        padding: 0 10px;
    }
    
    .contact-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .contact-item h4 {
        font-size: 1rem;
    }
    
    .contact-item p {
        font-size: 0.85rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .contact-form h3 {
        font-size: 1.2rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .contact-direct-btn {
        width: 95%;
        padding: 0.9rem 1.2rem;
        font-size: 0.85rem;
        min-width: auto;
    }
    
    .alternative-contact {
        margin-top: 1.5rem;
        padding-top: 1.2rem;
    }
    
    .contact-divider {
        margin-bottom: 1rem;
        font-size: 0.85rem;
    }
    
    .map-container {
        margin: 0 -10px;
    }
    
    .map-overlay {
        margin: 1rem 10px 0 10px;
        padding: 0.8rem;
    }
    
    .map-info h4 {
        font-size: 0.9rem;
    }
    
    .map-info p {
        font-size: 0.8rem;
    }
    
    .map-btn {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}

@media (max-width: 360px) {
    .contact-content {
        padding: 0 5px;
    }
    
    .contact-item {
        padding: 0.8rem;
    }
    
    .contact-item h4 {
        font-size: 0.95rem;
    }
    
    .contact-item p {
        font-size: 0.8rem;
    }
    
    .contact-form {
        padding: 0.8rem;
    }
    
    .contact-form h3 {
        font-size: 1.1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 8px 10px;
        font-size: 0.8rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
}

/* Hero Section - Mejoras responsivas */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .services-list {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .services-list {
        font-size: 0.9rem;
    }
}

/* Products Section - Mejoras responsivas */
@media (max-width: 768px) {
    .product-category-card {
        margin: 0 10px;
    }
    
    .simple-products-content {
        padding: 1.5rem;
        margin: 1rem;
        font-size: 0.9rem;
    }
    
    .product-category-card .product-icon {
        width: 250px;
        height: 160px;
        margin-bottom: 1.2rem;
    }
}

@media (max-width: 480px) {
    .product-category-card .product-icon {
        width: 200px;
        height: 130px;
    }
    
    .simple-products-content {
        padding: 1rem;
        margin: 0.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .product-category-card .product-icon {
        width: 180px;
        height: 120px;
    }
    
    .simple-products-content {
        padding: 0.8rem;
        margin: 0.3rem;
        font-size: 0.8rem;
    }
}

/* Evitar desbordamiento horizontal global */
*, *::before, *::after {
    box-sizing: border-box;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

body, html {
    overflow-x: hidden;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Mejorar texto responsivo */
h1, h2, h3, h4, h5, h6, p, span, a {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Mejorar imágenes responsivas */
img, svg, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* About Section - Mejoras responsivas */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .about-image i {
        font-size: 8rem;
    }
    
    .stats {
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 60px 0;
    }
    
    .about-content {
        gap: 2.5rem;
        padding: 0 15px;
    }
    
    .about-text h3 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }
    
    .stats {
        gap: 1rem;
        margin-top: 1.5rem;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .stat {
        flex: 1;
        min-width: 100px;
        max-width: 140px;
        padding: 0.8rem;
        margin: 0.3rem;
    }
    
    .stat h4 {
        font-size: 2rem;
        margin-bottom: 0.3rem;
    }
    
    .stat p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .about-image i {
        font-size: 6rem;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 50px 0;
    }
    
    .about-content {
        gap: 2rem;
        padding: 0 10px;
    }
    
    .about-text h3 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }
    
    .stat {
        width: 90%;
        max-width: 200px;
        min-width: unset;
        padding: 1rem;
        margin: 0;
    }
    
    .stat h4 {
        font-size: 1.8rem;
    }
    
    .stat p {
        font-size: 0.85rem;
    }
    
    .about-image i {
        font-size: 4.5rem;
    }
}

/* Contact Section - Mejoras responsivas prioritarias */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        order: -1;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .social-links {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }
    
    .contact-content {
        gap: 2.5rem;
        padding: 0 15px;
    }
    
    .contact-info {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contact-item {
        padding: 1.2rem;
        flex-direction: column;
        text-align: center;
        align-items: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .contact-item i {
        margin-bottom: 0.5rem;
        margin-top: 0;
        font-size: 1.3rem;
    }
    
    .contact-item h4 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
        word-wrap: break-word;
    }
    
    .contact-item p {
        font-size: 0.9rem;
        line-height: 1.4;
        text-align: center;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .social-links {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .social-icons {
        justify-content: center;
        gap: 0.8rem;
        margin-top: 0.5rem;
        flex-wrap: wrap;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        flex-shrink: 0;
    }
    
    .contact-form {
        padding: 1.5rem;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .contact-form h3 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
        text-align: center;
        word-wrap: break-word;
    }
    
    .form-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
        text-align: center;
        word-wrap: break-word;
    }
    
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
        word-wrap: break-word;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 0.9rem;
        width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
    }
    
    .contact-form .btn {
        padding: 12px;
        font-size: 0.95rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Alternative contact methods */
    .contact-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .contact-direct-btn {
        width: 90%;
        max-width: 250px;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
        text-align: center;
        justify-content: center;
        word-wrap: break-word;
    }
    
    .contact-divider {
        font-size: 0.9rem;
        word-wrap: break-word;
    }
    
    /* Map section mobile */
    .map-section {
        margin-top: 2rem;
    }
    
    .map-container {
        margin: 0 -15px;
        border-radius: 0;
    }
    
    .map-overlay {
        position: static;
        background: rgba(255, 255, 255, 0.95);
        margin: 1rem 15px 0 15px;
        padding: 1rem;
        border-radius: 8px;
        max-width: none;
        width: auto;
        box-sizing: border-box;
    }
    
    .map-info h4 {
        font-size: 1rem;
        word-wrap: break-word;
    }
    
    .map-info p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
        word-wrap: break-word;
    }
    
    .map-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 50px 0;
    }
    
    .contact-content {
        gap: 2rem;
        padding: 0 10px;
    }
    
    .contact-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .contact-item h4 {
        font-size: 1rem;
    }
    
    .contact-item p {
        font-size: 0.85rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .contact-form h3 {
        font-size: 1.2rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .contact-direct-btn {
        width: 95%;
        padding: 0.9rem 1.2rem;
        font-size: 0.85rem;
        min-width: auto;
    }
    
    .alternative-contact {
        margin-top: 1.5rem;
        padding-top: 1.2rem;
    }
    
    .contact-divider {
        margin-bottom: 1rem;
        font-size: 0.85rem;
    }
    
    .map-container {
        margin: 0 -10px;
    }
    
    .map-overlay {
        margin: 1rem 10px 0 10px;
        padding: 0.8rem;
    }
    
    .map-info h4 {
        font-size: 0.9rem;
    }
    
    .map-info p {
        font-size: 0.8rem;
    }
    
    .map-btn {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}

@media (max-width: 360px) {
    .contact-content {
        padding: 0 5px;
    }
    
    .contact-item {
        padding: 0.8rem;
    }
    
    .contact-item h4 {
        font-size: 0.95rem;
    }
    
    .contact-item p {
        font-size: 0.8rem;
    }
    
    .contact-form {
        padding: 0.8rem;
    }
    
    .contact-form h3 {
        font-size: 1.1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 8px 10px;
        font-size: 0.8rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
}

/* Hero Section - Mejoras responsivas */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .services-list {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .services-list {
        font-size: 0.9rem;
    }
}

/* Products Section - Mejoras responsivas */
@media (max-width: 768px) {
    .product-category-card {
        margin: 0 10px;
    }
    
    .simple-products-content {
        padding: 1.5rem;
        margin: 1rem;
        font-size: 0.9rem;
    }
    
    .product-category-card .product-icon {
        width: 250px;
        height: 160px;
        margin-bottom: 1.2rem;
    }
}

@media (max-width: 480px) {
    .product-category-card .product-icon {
        width: 200px;
        height: 130px;
    }
    
    .simple-products-content {
        padding: 1rem;
        margin: 0.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .product-category-card .product-icon {
        width: 180px;
        height: 120px;
    }
    
    .simple-products-content {
        padding: 0.8rem;
        margin: 0.3rem;
        font-size: 0.8rem;
    }
}

/* Evitar desbordamiento horizontal global */
*, *::before, *::after {
    box-sizing: border-box;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

body, html {
    overflow-x: hidden;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Mejorar texto responsivo */
h1, h2, h3, h4, h5, h6, p, span, a {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Mejorar imágenes responsivas */
img, svg, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* About Section - Mejoras responsivas */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .about-image i {
        font-size: 8rem;
    }
    
    .stats {
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 60px 0;
    }
    
    .about-content {
        gap: 2.5rem;
        padding: 0 15px;
    }
    
    .about-text h3 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }
    
    .stats {
        gap: 1rem;
        margin-top: 1.5rem;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .stat {
        flex: 1;
        min-width: 100px;
        max-width: 140px;
        padding: 0.8rem;
        margin: 0.3rem;
    }
    
    .stat h4 {
        font-size: 2rem;
        margin-bottom: 0.3rem;
    }
    
    .stat p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .about-image i {
        font-size: 6rem;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 50px 0;
    }
    
    .about-content {
        gap: 2rem;
        padding: 0 10px;
    }
    
    .about-text h3 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }
    
    .stat {
        width: 90%;
        max-width: 200px;
        min-width: unset;
        padding: 1rem;
        margin: 0;
    }
    
    .stat h4 {
        font-size: 1.8rem;
    }
    
    .stat p {
        font-size: 0.85rem;
    }
    
    .about-image i {
        font-size: 4.5rem;
    }
}

/* Contact Section - Mejoras responsivas prioritarias */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        order: -1;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .social-links {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }
    
    .contact-content {
        gap: 2.5rem;
        padding: 0 15px;
    }
    
    .contact-info {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contact-item {
        padding: 1.2rem;
        flex-direction: column;
        text-align: center;
        align-items: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .contact-item i {
        margin-bottom: 0.5rem;
        margin-top: 0;
        font-size: 1.3rem;
    }
    
    .contact-item h4 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
        word-wrap: break-word;
    }
    
    .contact-item p {
        font-size: 0.9rem;
        line-height: 1.4;
        text-align: center;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .social-links {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .social-icons {
        justify-content: center;
        gap: 0.8rem;
        margin-top: 0.5rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        flex-shrink: 0;
    }
    
    .contact-form {
        padding: 1.5rem;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .contact-form h3 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
        text-align: center;
        word-wrap: break-word;
    }
    
    .form-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
        text-align: center;
        word-wrap: break-word;
    }
    
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
        word-wrap: break-word;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 0.9rem;
        width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
    }
    
    .contact-form .btn {
        padding: 12px;
        font-size: 0.95rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Alternative contact methods */
    .contact-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .contact-direct-btn {
        width: 90%;
        max-width: 250px;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
        text-align: center;
        justify-content: center;
        word-wrap: break-word;
    }
    
    .contact-divider {
        font-size: 0.9rem;
        word-wrap: break-word;
    }
    
    /* Map section mobile */
    .map-section {
        margin-top: 2rem;
    }
    
    .map-container {
        margin: 0 -15px;
        border-radius: 0;
    }
    
    .map-overlay {
        position: static;
        background: rgba(255, 255, 255, 0.95);
        margin: 1rem 15px 0 15px;
        padding: 1rem;
        border-radius: 8px;
        max-width: none;
        width: auto;
        box-sizing: border-box;
    }
    
    .map-info h4 {
        font-size: 1rem;
        word-wrap: break-word;
    }
    
    .map-info p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
        word-wrap: break-word;
    }
    
    .map-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 50px 0;
    }
    
    .contact-content {
        gap: 2rem;
        padding: 0 10px;
    }
    
    .contact-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .contact-item h4 {
        font-size: 1rem;
    }
    
    .contact-item p {
        font-size: 0.85rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .contact-form h3 {
        font-size: 1.2rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .contact-direct-btn {
        width: 95%;
        padding: 0.9rem 1.2rem;
        font-size: 0.85rem;
        min-width: auto;
    }
    
    .alternative-contact {
        margin-top: 1.5rem;
        padding-top: 1.2rem;
    }
    
    .contact-divider {
        margin-bottom: 1rem;
        font-size: 0.85rem;
    }
    
    .map-container {
        margin: 0 -10px;
    }
    
    .map-overlay {
        margin: 1rem 10px 0 10px;
        padding: 0.8rem;
    }
    
    .map-info h4 {
        font-size: 0.9rem;
    }
    
    .map-info p {
        font-size: 0.8rem;
    }
    
    .map-btn {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}

@media (max-width: 360px) {
    .contact-content {
        padding: 0 5px;
    }
    
    .contact-item {
        padding: 0.8rem;
    }
    
    .contact-item h4 {
        font-size: 0.95rem;
    }
    
    .contact-item p {
        font-size: 0.8rem;
    }
    
    .contact-form {
        padding: 0.8rem;
    }
    
    .contact-form h3 {
        font-size: 1.1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 8px 10px;
        font-size: 0.8rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
}

/* Responsive Design - Navbar Mobile Reparado Completamente */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1003;
    }
    
    .nav-container {
        padding: 0 20px;
        position: relative;
    }
    
    .logo {
        position: relative;
        z-index: 1002;
        margin-left: 0;
    }
    
    .logo-img {
        height: 45px;
        max-width: 120px;
    }
    
    /* Menú móvil reparado completamente */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: left 0.3s ease;
        padding: 100px 20px 2rem 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        gap: 0;
        z-index: 1001;
        justify-content: flex-start;
        align-items: center;
        overflow-y: auto;
        list-style: none;
        margin: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        width: 100%;
        max-width: 300px;
        margin-bottom: 1rem;
    }
    
    .nav-link {
        padding: 1.2rem 2rem;
        width: 100%;
        justify-content: center;
        border-radius: 8px;
        font-size: 1.1rem;
        font-weight: 600;
        color: #1e293b;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border: 2px solid transparent;
        transition: all 0.3s ease;
        background: transparent;
        display: flex;
        align-items: center;
        text-decoration: none;
    }
    
    .nav-link span {
        color: #1e293b;
        font-weight: 600;
    }
    
    .nav-link:hover {
        background: rgba(59, 130, 246, 0.1);
        border-color: #3b82f6;
        color: #3b82f6;
        transform: translateY(-1px);
    }
    
    .nav-link:hover span {
        color: #3b82f6;
    }
    
    .contact-btn {
        margin: 2rem auto 0 auto;
        border-radius: 8px;
        width: 100%;
        max-width: 280px;
        justify-content: center;
        background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
        color: white !important;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        padding: 1.2rem 2rem;
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
        font-size: 1rem;
        border: 2px solid #3b82f6;
    }
    
    .contact-btn span {
        color: white !important;
    }
    
    .contact-btn:hover {
        background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
       
        border-color: #2563eb;
    }
    
    .contact-btn:hover span {
        color: white !important;
    }
}

/* Responsividad móvil pequeño */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .hamburger {
        right: 15px;
        padding: 0.4rem;
    }
    
    .hamburger span {
        width: 22px;
        height: 2.5px;
    }
    
    .logo-img {
        height: 40px;
        max-width: 100px;
    }
    
    .nav-menu {
        padding: 80px 15px 2rem 15px;
    }
    
    .nav-link {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .contact-btn {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Responsividad móvil extra pequeño */
@media (max-width: 360px) {
    .nav-container {
        padding: 0 10px;
    }
    
    .hamburger {
        right: 10px;
        padding: 0.3rem;
    }
    
    .hamburger span {
        width: 20px;
        height: 2px;
    }
    
    .logo-img {
        height: 35px;
        max-width: 90px;
    }
    
    .nav-menu {
        padding: 70px 10px 1rem 10px;
    }
    
    .nav-link {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .contact-btn {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }
}