/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Clases de animación */
.animate-fadeInUp {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fadeInLeft {
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fadeInRight {
    opacity: 0;
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-fadeInScale {
    opacity: 0;
    animation: fadeInScale 0.8s ease-out forwards;
}

.animate-slideInFromBottom {
    opacity: 0;
    animation: slideInFromBottom 0.8s ease-out forwards;
}

/* Mejoras adicionales para animaciones corporativas */
.hero-title {
    transition: all 0.3s ease;
}

.hero-subtitle {
    transition: all 0.3s ease;
}

.hero-buttons {
    transition: all 0.3s ease;
}

.hero-img {
    transition: all 0.3s ease;
}

.about-card {
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Animación suave para elementos que aparecen al hacer scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animate-active {
    opacity: 1;
    transform: translateY(0);
}

/* Delays para secuenciar las animaciones */
.animate-delay-1 {
    animation-delay: 0.2s;
}

.animate-delay-2 {
    animation-delay: 0.4s;
}

.animate-delay-3 {
    animation-delay: 0.6s;
}

.animate-delay-4 {
    animation-delay: 0.8s;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Header y Navegación */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(245, 240, 232, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    width: 170px;
    /*height: 90px;*/
    /*object-fit: contain;*/
    filter: brightness(1.1) contrast(1.1);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-color);
}

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

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

.language-toggle {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.language-toggle:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

/* Estilos para el selector de temas flotante */
.theme-selector {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(26, 95, 122, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 0.75rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: move;
    user-select: none;
}

/* Indicador visual de que se puede arrastrar */
.theme-selector::before {
    content: "⋮⋮";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    line-height: 1;
    pointer-events: none;
}

.theme-selector:hover {
    background: rgba(26, 95, 255, 0.98);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.theme-select {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
    font-weight: 500;
}

.theme-select:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
}

.theme-select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.theme-select option {
    background: white;
    color: #333;
    padding: 0.75rem;
    font-weight: 500;
}

/* Responsive para el selector de temas */
@media (max-width: 768px) {
    .theme-selector {
        bottom: 15px;
        right: 15px;
        padding: 0.5rem;
    }
    
    .theme-select {
        min-width: 160px;
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .theme-selector {
        bottom: 10px;
        right: 10px;
        padding: 0.4rem;
    }
    
    .theme-select {
        min-width: 140px;
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--background-primary) 0%, var(--background-secondary) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--shadow-color);
}

.btn-primary i {
    font-size: 1.2rem;
}

/* Estilo especial para botón de WhatsApp */
.btn-primary[data-es*="WhatsApp"],
.btn-primary[data-en*="WhatsApp"] {
    background: #25D366;
}

.btn-primary[data-es*="WhatsApp"]:hover,
.btn-primary[data-en*="WhatsApp"]:hover {
    background: #128C7E;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.hero-image {
    text-align: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px var(--shadow-color);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.4;
}

/* About Section */
.about {
    padding: 3rem 0;
    background: var(--background-primary);
}

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

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.about-img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 30px var(--shadow-color);
}

/* Products Section */
.products {
    padding: 5rem 0;
    background: var(--background-secondary);
}

/* Filtros de productos */
.product-filters {
    margin-bottom: 3rem;
    text-align: center;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--background-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(107, 61, 34, 0.3);
}

/* Grid de productos mejorado */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--background-primary);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(107, 61, 34, 0.2);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.product-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.product-category {
    display: inline-block;
    background: var(--accent-color);
    color: var(--background-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

/* Responsive para productos */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .filter-buttons {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .product-image {
        height: 200px;
    }
}

/* Clients Section */
.clients {
    padding: 4rem 0;
    background: var(--background-primary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.clients-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--background-secondary);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    min-height: 120px;
    min-width: 200px;
    opacity: 0;
    transform: translateY(30px);
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(107, 61, 34, 0.15);
    background: var(--background-primary);
}

.client-img {
    /*max-width: 200px;
    max-height: 80px;*/
    /*width: auto;
    height: auto;*/
    /*width: 200px;*/
    height: 100px;
    object-fit: contain;
    filter: grayscale(50%) opacity(0.9);
    transition: all 0.3s ease;
}

.client-logo:hover .client-img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* Responsive para clientes */
@media (max-width: 768px) {
    .clients {
        padding: 3rem 0;
    }
    
    .clients-grid {
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .client-logo {
        padding: 1.5rem;
        min-height: 100px;
        min-width: 150px;
    }
    
    .client-img {
        max-height: 60px;
    }
}

@media (max-width: 480px) {
    .clients-grid {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .client-logo {
        width: 100%;
        max-width: 250px;
    }
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--background-primary);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.product-image {
    height: 250px;
    overflow: hidden;
}

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

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

.product-content {
    padding: 2rem;
}

.product-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: 0.3px;
}

.product-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* Services Section */
.services {
    padding: 3rem 0;
    background: var(--background-primary);
}

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

.service-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: var(--background-secondary);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    background: var(--background-primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

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

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: 0.3px;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* Contact Section */
.contact {
    padding: 3rem 0;
    background: var(--background-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-table {
    background: var(--background-primary);
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow-color);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.contact-row {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.contact-row:last-child {
    border-bottom: none;
}

.contact-row.header-row {
    background: var(--background-secondary);
    border-bottom: 2px solid var(--primary-color);
}

.contact-cell {
    flex: 1;
    padding: 1rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-cell:first-child {
    border-right: 1px solid #e9ecef;
}

.contact-cell h4 {
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
    position: relative;
}

.contact-item i {
    font-size: 1rem;
    color: #1a5f7a;
    position: absolute;
    top: 0;
    left: 0;
    flex-shrink: 0;
}

.contact-details {
    margin-left: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.contact-link {
    color: #666;
    text-decoration: none;
    margin-bottom: 0.2rem;
    line-height: 1.3;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    text-align: center;
}

.contact-link:hover {
    color: #1a5f7a;
    text-decoration: underline;
}

.contact-link:last-child {
    margin-bottom: 0;
}

.contact-form {
    background: white;
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 0.75rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.6rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a5f7a;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 200px;
    /*height: 45px;*/
    /*object-fit: contain;*/
    filter: brightness(1.1) contrast(1.2);
    
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

/* Estilos para los grupos de contacto en el footer */
.footer-contact-group {
    margin-bottom: 1.5rem;
}

.footer-contact-group h5 {
    color: white;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.9;
}

.footer-contact-group p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-group i {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
}

.footer-contact-group a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-group a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

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

.brand-notice {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--background-primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu .nav-link {
        color: var(--primary-color);
        padding: 1rem 0;
        display: block;
    }
    
    .nav-menu .language-toggle {
        margin-top: 1rem;
        align-self: center;
    }
    
    .nav-menu .nav-link:hover {
        color: var(--accent-color);
    }
    
    .nav-menu .nav-link::after {
        display: none;
    }
    
    .nav-menu .nav-link:hover::after {
        display: none;
    }
    
    .nav-menu .nav-link:focus {
        outline: 2px solid var(--accent-color);
        outline-offset: 2px;
    }
    
    .nav-menu .nav-link:active {
        background-color: var(--background-secondary);
    }
    
    /* Reglas simplificadas para el menú móvil */
    .nav-menu .nav-link {
        color: var(--primary-color) !important;
        padding: 1rem 0;
        display: block;
        text-decoration: none;
        font-weight: 500;
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link:focus {
        color: var(--accent-color) !important;
    }
    
    .nav-menu .nav-link:visited,
    .nav-menu .nav-link:link,
    .nav-menu .nav-link:any-link {
        color: var(--primary-color) !important;
    }
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-table {
        border-radius: 6px;
    }
    
    .contact-row {
        flex-direction: column;
    }
    
    .contact-cell {
        padding: 0.75rem 0.5rem;
        border-right: none !important;
        border-bottom: 1px solid #e9ecef;
    }
    
    .contact-cell:last-child {
        border-bottom: none;
    }
    
    .contact-cell h4 {
        font-size: 0.9rem;
    }
    
    .contact-link {
        font-size: 0.85rem;
    }
    
    .contact-details {
        margin-left: 1.2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-contact-group {
        margin-bottom: 1rem;
    }
    
    .footer-contact-group p {
        justify-content: center;
        font-size: 0.85rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .container {
        padding: 0 15px;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling para navegación */
html {
    scroll-padding-top: 80px;
}

/* IBIE Event Section Styles */
.ibie-event {
    padding: 1.5rem 0;
    background-color: #1a5f7a;
    color: white;
}

.event-header {
    text-align: center;
    margin-bottom: 2rem;
}

.event-title {
    font-size: 1.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.event-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
}

.event-logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex: 1;
}

.ibie-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ibie-logo-img {
    height: 100px;
    width: auto;
    display: block;
}


.ibie-logo-img {
    /*filter: grayscale(100%) brightness(1.5);*/    
    filter: grayscale(30%) brightness(1.5);
}


.ibie-text {
    flex-grow: 1;
}

.ibie-acronym {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 0.3rem 0;
    letter-spacing: 2px;
}

.ibie-full-name {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.3;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    align-items: center;
}

.event-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.event-info p {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.5px;
}

.event-partners {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
    align-items: center;
}

.partner-logo {
    opacity: 0.4;
    font-size: 1.5rem;
    color: white;
}

.bem-logo {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

/* Responsive para la sección IBIE */
@media (max-width: 768px) {
    .event-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .event-logo-section {
        flex-direction: column;
        gap: 1rem;
    }
    
    .ibie-acronym {
        font-size: 2.2rem;
    }
    
    .event-title {
        font-size: 1.5rem;
    }
    
    .event-details {
        text-align: center;
    }
    
    .event-partners {
        justify-content: center;
    }
}

/* Map Section Styles */
.map-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.contact-details {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-phone {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-email {
    color: #8B4513;
    font-size: 1.2rem;
    margin: 0;
}

.map-container {
    width: 100%;
}

.google-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.google-map iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: none;
}

/* Responsive para la sección del mapa */
@media (max-width: 768px) {
    .contact-phone {
        font-size: 1.3rem;
    }
    
    .contact-email {
        font-size: 1.1rem;
    }
}

/* ===== SISTEMA DE TEMAS DE COLORES ===== */

/* Variables CSS para temas - Tema Beige como predeterminado */
:root {
    /* Tema Beige/Marrón (Predeterminado) */
    --primary-color: #6B3D22;
    --secondary-color: #8B4513;
    --accent-color: #8B4513;
    --text-primary: #4A4A4A;
    --text-secondary: #4A4A4A;
    --background-primary: #F5F0E8;
    --background-secondary: #F5F0E8;
    --border-color: #DEB887;
    --shadow-color: rgba(107, 61, 34, 0.1);
}

/* Tema Beige/Marrón (Adaptado para homogeneidad con imágenes) */
[data-theme="beige"] {
    --primary-color: #6B3D22;
    --secondary-color: #8B4513;
    --accent-color: #8B4513;
    --text-primary: #4A4A4A;
    --text-secondary: #4A4A4A;
    --background-primary: #F5F0E8;
    --background-secondary: #F5F0E8;
    --border-color: #DEB887;
    --shadow-color: rgba(107, 61, 34, 0.1);
}

/* Tema Corporativo (Azul) - Opción alternativa */
[data-theme="corporate"] {
    --primary-color: #1a5f7a;
    --secondary-color: #0d3d4f;
    --accent-color: #1e7e34;
    --text-primary: #2c3e50;
    --text-secondary: #5a6c7d;
    --background-primary: #ffffff;
    --background-secondary: #f8f9fa;
    --border-color: #e9ecef;
    --shadow-color: rgba(26, 95, 122, 0.15);
}

/* Tema Verde Naturaleza */
[data-theme="green"] {
    --primary-color: #2E8B57;
    --secondary-color: #1B4D3E;
    --accent-color: #32CD32;
    --text-primary: #2F4F2F;
    --text-secondary: #556B55;
    --background-primary: #F0FFF0;
    --background-secondary: #E0EEE0;
    --border-color: #90EE90;
    --shadow-color: rgba(46, 139, 87, 0.1);
}





/* Tema Gris Industrial */
[data-theme="gray"] {
    --primary-color: #696969;
    --secondary-color: #2F4F4F;
    --accent-color: #808080;
    --text-primary: #2F2F2F;
    --text-secondary: #4F4F4F;
    --background-primary: #F5F5F5;
    --background-secondary: #E8E8E8;
    --border-color: #C0C0C0;
    --shadow-color: rgba(105, 105, 105, 0.1);
}

/* Tema Rojo Pasión */
[data-theme="red"] {
    --primary-color: #DC143C;
    --secondary-color: #B22222;
    --accent-color: #FF6347;
    --text-primary: #8B0000;
    --text-secondary: #A52A2A;
    --background-primary: #FFF5EE;
    --background-secondary: #FFE4E1;
    --border-color: #FFB6C1;
    --shadow-color: rgba(220, 20, 60, 0.1);
}

/* Tema Turquesa Moderno */
[data-theme="turquoise"] {
    --primary-color: #40E0D0;
    --secondary-color: #20B2AA;
    --accent-color: #00CED1;
    --text-primary: #008B8B;
    --text-secondary: #2E8B57;
    --background-primary: #F0FFFF;
    --background-secondary: #E0FFFF;
    --border-color: #AFEEEE;
    --shadow-color: rgba(64, 224, 208, 0.1);
}





/* Aplicar variables CSS a elementos existentes */
body {
    color: var(--text-primary);
    background-color: var(--background-primary);
}

.navbar {
    background-color: transparent;
}

.nav-link:hover {
    color: var(--accent-color);
}

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

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

.section-title {
    color: var(--primary-color);
}

.footer {
    background: var(--primary-color);
}

.footer-section h4 {
    color: var(--background-primary);
}

.footer-section ul li a {
    color: var(--background-secondary);
}

.footer-section ul li a:hover {
    color: var(--background-primary);
}

.social-link:hover {
    background: var(--background-primary);
    color: var(--primary-color);
}

.contact-table {
    border: 1px solid var(--border-color);
}

.contact-row.header-row {
    background: var(--background-secondary);
    border-bottom: 2px solid var(--primary-color);
}

.contact-cell:first-child {
    border-right: 1px solid var(--border-color);
}

.contact-item i {
    color: var(--primary-color);
}

.ibie-event {
    background-color: var(--primary-color);
}

.map-section {
    background-color: var(--background-secondary);
}

.google-map {
    box-shadow: 0 4px 20px var(--shadow-color);
}

/* Estilos para la nueva sección Plastinudo */
.plastinudo-section {
    padding: 4rem 0;
    background-color: var(--background-secondary);
}

.plastinudo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.plastinudo-info h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.plastinudo-info .brand-name {
    color: var(--secondary-color);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: block;
}

.plastinudo-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.plastinudo-features li {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.plastinudo-features li:before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.plastinudo-image {
    text-align: center;
}

.plastinudo-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px var(--shadow-color);
}

/* Estilos para la sección expandida Nosotros */
.about-expanded {
    padding: 4rem 0;
    background-color: var(--background-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: var(--background-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 25px var(--shadow-color);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px var(--shadow-color);
}

.about-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.about-card .icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.values-list {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.value-item {
    background: var(--primary-color);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 8px rgba(26, 95, 122, 0.3);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 95, 122, 0.4);
}

/* Responsive para nuevas secciones */
@media (max-width: 768px) {
    .plastinudo-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .plastinudo-info .brand-name {
        font-size: 2.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-card {
        padding: 1.5rem;
    }
}
