/* Punto Elin - CSS Personalizado - Colores Corporativos */

:root {
    --primary-color: #0F202e;        /* Azul Oscuro Corporativo */
    --secondary-color: #FF9500;      /* Naranja Corporativo */
    --accent-color: #25d366;         /* Verde WhatsApp (solo botones) */
    --light-gray: #f9f9fb;
    --border-radius: 10px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============= Botones WhatsApp ============= */
.btn-whatsapp {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color) 0%, #1faa56 100%);
    color: #fff !important;
    padding: 13px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 14px;
    width: auto;
    max-width: 100%;
    margin-top: 15px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp i {
    margin-right: 8px;
}

/* ============= Productos ============= */
.product-item {
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(15, 32, 46, 0.08);
    min-height: 500px;
}

.product-item:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 12px 28px rgba(15, 32, 46, 0.15);
    transform: translateY(-4px);
}

.product-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: var(--transition);
    position: relative;
    display: block;
}

.filters-content .row.grid {
    margin-left: -15px;
    margin-right: -15px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.filters-content .col-lg-4,
.filters-content .col-md-6 {
    padding: 15px;
    flex: 0 0 33.333333%;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .filters-content .col-lg-4,
    .filters-content .col-md-6 {
        flex: 0 0 50%;
    }
}

@media (max-width: 768px) {
    .filters-content .col-lg-4,
    .filters-content .col-md-6 {
        flex: 0 0 100%;
    }
}

/* Asegurar que items ocultos no ocupen espacio */
.filters-content .all.is-filter-hidden {
    display: none !important;
}

.product-item img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(15,32,46,0) 0%, rgba(15,32,46,0.1) 100%);
}

.product-item:hover img {
    transform: scale(1.08);
}

.down-content {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.down-content h4 {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.5;
}

.down-content span {
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}

.down-content p {
    color: #666;
    font-size: 13.5px;
    line-height: 1.7;
    margin-bottom: 12px;
    flex-grow: 1;
}

.category-badge {
    display: none !important;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1D3452 100%);
    color: #fff;
    padding: 5px 14px;
    border-radius: 25px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(15, 32, 46, 0.15);
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 12px 0;
    font-size: 13px;
    color: #555;
}

.product-features li {
    margin-bottom: 7px;
    padding-left: 22px;
    position: relative;
}

.product-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

/* ============= Sidebar de Categorías ============= */
.categories-sidebar {
    background: linear-gradient(135deg, #0F202e 0%, #1D3452 100%);
    border: 2px solid #1D3452;
    border-radius: var(--border-radius);
    padding: 25px;
    position: sticky;
    top: 90px;
    box-shadow: 0 4px 16px rgba(15, 32, 46, 0.2);
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    z-index: 10;
}

.categories-sidebar h5 {
    color: #FF9500;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid #FF9500;
    padding-bottom: 12px;
    position: relative;
}

.search-box {
    margin-bottom: 22px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid #1D3452;
    border-radius: 8px;
    font-size: 13px;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.search-box input:focus {
    outline: none;
    border-color: #FF9500;
    box-shadow: 0 0 0 3px rgba(255, 149, 0, 0.2);
    background-color: rgba(255, 149, 0, 0.1);
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 6px;
}

.category-link {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 11px 14px;
    border-radius: 6px;
    transition: var(--transition);
    font-size: 14px;
    border-left: 4px solid transparent;
    font-weight: 500;
}

.category-link:hover {
    background-color: rgba(255, 149, 0, 0.08);
    color: var(--secondary-color);
    border-left-color: var(--secondary-color);
    padding-left: 16px;
}

.category-link.active {
    background: linear-gradient(90deg, #0F202e 0%, #1D3452 100%);
    color: #FF9500;
    border-left-color: #FF9500;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(15, 32, 46, 0.25);
}

/* ============= Sección de Ventajas ============= */
.features-post {
    text-align: center;
    padding: 35px 25px;
    background: linear-gradient(135deg, #f9f9fb 0%, #f0f4f8 100%);
    border: 2px solid #e8e8e8;
    border-radius: var(--border-radius);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.features-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.features-post:hover {
    border-color: var(--secondary-color);
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(15, 32, 46, 0.12);
}

.features-content span {
    font-size: 52px;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 18px;
}

.features-post h4 {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
}

.features-post p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

/* ============= Información de Contacto ============= */
.contact-info {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.contact-info li {
    padding: 10px 0;
    font-size: 14px;
    color: #555;
}

.contact-info strong {
    color: var(--primary-color);
    font-weight: 700;
}

.contact-info a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--primary-color);
}

/* ============= Encabezados y Secciones ============= */
.section-heading h2 {
    color: var(--primary-color);
    position: relative;
    padding-bottom: 18px;
    font-weight: 700;
    font-size: 32px;
}

.section-heading h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, transparent 100%);
    border-radius: 2px;
}

/* ============= Header ============= */
#header {
    background: linear-gradient(135deg, #0F202e 0%, #1D3452 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    background-image: none !important;
    box-shadow: 0 4px 16px rgba(15, 32, 46, 0.12);
}

.navbar-brand {
    font-weight: 700;
    color: #fff !important;
    transition: var(--transition);
}

.navbar-brand:hover {
    color: var(--secondary-color) !important;
}

#header.scrolled .navbar-brand {
    color: var(--primary-color) !important;
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

#header.scrolled .nav-link {
    color: #333 !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transition: width 0.3s ease;
}

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

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

/* ============= Footer ============= */
footer {
    background: linear-gradient(135deg, #0F202e 0%, #1D3452 100%);
    color: #fff;
    padding: 50px 0 25px;
    margin-top: 80px;
    border-top: 4px solid var(--secondary-color);
}

footer a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

footer a:hover {
    color: #FFB84D;
    text-decoration: underline;
}

.inner-content {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
}

.inner-content a {
    color: var(--secondary-color);
}

/* ============= Forms ============= */
.form-control {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 13px 15px;
    font-size: 14px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 149, 0, 0.1);
    background-color: rgba(255, 149, 0, 0.02);
}

.filled-button {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e68a00 100%);
    color: #fff;
    border: none;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    box-shadow: 0 4px 14px rgba(255, 149, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filled-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(255, 149, 0, 0.35);
}

/* ============= Acordeones ============= */
.accordion {
    list-style: none;
    padding: 0;
    margin: 0;
}

.accordion li {
    margin-bottom: 12px;
    border: 2px solid #e8e8e8;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: #fff;
}

.accordion a {
    display: block;
    background: linear-gradient(90deg, #f9f9fb 0%, #fff 100%);
    color: var(--primary-color);
    padding: 16px 20px;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.accordion a:hover {
    background-color: var(--light-gray);
    border-left-color: var(--secondary-color);
    padding-left: 24px;
}

.accordion .content {
    background-color: #fff;
    padding: 20px;
    display: none;
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    border-top: 1px solid #e8e8e8;
}

.accordion li.active .content {
    display: block;
}

.accordion li.active a {
    background: linear-gradient(90deg, var(--primary-color) 0%, #1D3452 100%);
    color: #fff;
    border-left-color: var(--secondary-color);
}

/* ============= Responsividad Mejorada ============= */
@media (max-width: 1024px) {
    .section-heading h2 {
        font-size: 28px;
    }
    
    .down-content {
        padding: 18px;
    }
}

@media (max-width: 768px) {
    .categories-sidebar {
        position: static;
        margin-bottom: 30px;
    }

    .product-item {
        margin-bottom: 22px;
    }

    .features-post {
        margin-bottom: 22px;
        padding: 30px 20px;
    }

    .down-content {
        padding: 18px;
    }

    .btn-whatsapp {
        padding: 12px 18px;
        font-size: 13px;
        width: 100%;
    }

    .section-heading h2 {
        font-size: 26px;
        padding-bottom: 15px;
    }

    .section-heading h2::after {
        width: 50px;
    }

    .category-badge {
        display: none !important;
        font-size: 10px;
        padding: 4px 12px;
    }

    .product-features li {
        font-size: 12.5px;
    }

    .down-content h4 {
        font-size: 15px;
    }

    .down-content p {
        font-size: 13px;
    }

    footer {
        padding: 40px 0 20px;
    }

    .contact-info li {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .product-item img {
        height: 220px;
    }

    .features-content span {
        font-size: 44px;
    }

    .category-link {
        padding: 10px 12px;
        font-size: 13px;
    }

    .section-heading h2 {
        font-size: 22px;
    }

    .category-list li {
        margin-bottom: 5px;
    }

    .categories-sidebar {
        padding: 18px;
    }

    .categories-sidebar h5 {
        font-size: 14px;
        margin-bottom: 14px;
    }

    .search-box input {
        font-size: 12px;
        padding: 10px 12px;
    }

    .filled-button {
        padding: 12px 25px;
        font-size: 13px;
    }

    .nav-link {
        font-size: 14px !important;
    }

    footer {
        padding: 30px 0 15px;
    }
}

/* ============= Avatar Icons para Miembros del Equipo ============= */
.thumb-container {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f9f9fb 0%, #f0f4f8 100%);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.thumb-container img {
    display: none !important;
}

.thumb-container .hover-effect {
    display: none !important;
}

/* ============= Role Badges - Professional Team Member Icons ============= */
.role-badge {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: var(--transition);
    font-size: 36px;
    color: #fff;
    box-shadow: 0 8px 20px rgba(15, 32, 46, 0.2);
}

/* CEO Badge */
.role-ceo {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1D3452 100%);
}

.team-member:hover .role-ceo {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 12px 32px rgba(15, 32, 46, 0.3);
}

/* Marketing Badge */
.role-marketing {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e68a00 100%);
}

.team-member:hover .role-marketing {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 12px 32px rgba(255, 149, 0, 0.3);
}

/* Sales Badge */
.role-sales {
    background: linear-gradient(135deg, #1D3452 0%, var(--primary-color) 100%);
}

.team-member:hover .role-sales {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 12px 32px rgba(15, 32, 46, 0.3);
}

/* ============= Service Item Hover Effects ============= */
.service-item {
    padding: 35px 25px;
    background: linear-gradient(135deg, #f9f9fb 0%, #f0f4f8 100%);
    border: 2px solid #e8e8e8;
    border-radius: var(--border-radius);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.service-item:hover {
    border-color: var(--secondary-color);
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(15, 32, 46, 0.15);
}

.service-item .icon {
    font-size: 52px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-item:hover .icon {
    transform: scale(1.2) rotate(-5deg);
    color: var(--primary-color);
}

.service-item h4 {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    transition: var(--transition);
}

.service-item:hover h4 {
    color: var(--secondary-color);
}

.service-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

/* ============= Fusion Effect: Nuestro Origen + Miembros del Equipo ============= */
.best-features {
    margin-top: 50px;
    margin-bottom: 0;
    padding-bottom: 0;
}

.best-features .container .row {
    border-bottom: none;
    padding-bottom: 60px;
}

.team-members {
    margin-top: 0;
    padding-top: 60px;
    background: linear-gradient(to right, #fff 0%, #fff 40%, rgba(249, 249, 251, 0.95) 70%, #f9f9fb 100%);
    position: relative;
}

.team-members::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(238, 238, 238, 0) 0%, rgba(238, 238, 238, 0.2) 50%, rgba(238, 238, 238, 0) 100%);
    opacity: 0;
}

@media (max-width: 480px) {
    .product-item img {
        height: 200px;
    }

    .features-content span {
        font-size: 40px;
    }

    .down-content h4 {
        font-size: 14px;
    }

    .category-badge {
        display: none !important;
        font-size: 9px;
    }

    .btn-whatsapp {
        padding: 11px 16px;
        font-size: 12.5px;
    }

    .section-heading h2 {
        font-size: 20px;
    }

    .features-post {
        padding: 25px 15px;
    }

    .features-post h4 {
        font-size: 16px;
    }

    .product-features li {
        font-size: 12px;
        padding-left: 20px;
    }

    .accordion a {
        padding: 14px 16px;
    }

    .accordion .content {
        padding: 16px;
        font-size: 13px;
    }
}

/* ============= Sección Enviar Mensaje - Uniforme y Profesional ============= */
.send-message .container > .row {
    display: flex;
    align-items: stretch;
}

.send-message .col-md-8,
.send-message .col-md-4 {
    display: flex;
    flex-direction: column;
}

.contact-form {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 12px rgba(15, 32, 46, 0.06);
    border: 1px solid #f0f0f0;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.contact-form .form-control {
    background: #f9f9fb;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    padding: 13px 16px;
    color: #333;
    font-size: 14px;
    transition: var(--transition);
    margin-bottom: 0;
}

.contact-form .form-control:focus {
    background: #fff;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 149, 0, 0.08);
    outline: none;
}

.contact-form .form-control::placeholder {
    color: #999;
}

.contact-form fieldset {
    margin-bottom: 18px;
    padding: 0;
    border: none;
}

.contact-form .filled-button {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e68a00 100%);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(255, 149, 0, 0.25);
    margin-top: auto;
}

.contact-form .filled-button:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1D3452 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 32, 46, 0.4);
}

.contact-form .filled-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

/* Email verification system */
.email-verify-group {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.email-verify-group .form-control {
    flex: 1;
}

.verify-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1D3452 100%);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(15, 32, 46, 0.2);
}

.verify-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e68a00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 149, 0, 0.3);
}

.verify-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

.verify-btn.loading::after {
    content: ' ⏳';
}

/* Error, success, info messages */
.error-message {
    display: block;
    color: #d32f2f;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 500;
}

.success-message {
    display: block;
    color: #388e3c;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 500;
}

.info-message {
    display: block;
    color: #0F202e;
    font-size: 12px;
    margin-top: 5px;
    font-style: italic;
}

.form-message {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}

.form-message.success {
    color: #388e3c;
}

.form-message.error {
    color: #d32f2f;
}

.send-message .col-md-4 {
    padding-left: 25px;
}

.send-message .accordion {
    display: flex;
    flex-direction: column;
}

.send-message .accordion li {
    margin-bottom: 15px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    flex: 0 0 auto;
    transition: var(--transition);
}

.send-message .accordion li:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 6px 16px rgba(255, 149, 0, 0.12);
}

.send-message .accordion a {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #f9f9fb 0%, #fff 100%);
    color: var(--primary-color);
    padding: 18px 22px;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border-left: 4px solid transparent;
    font-size: 15px;
    line-height: 1.4;
    min-height: 60px;
}

.send-message .accordion a::after {
    content: '⋮';
    margin-left: auto;
    font-size: 20px;
    color: var(--secondary-color);
    transition: var(--transition);
    transform: scaleY(0.7);
}

.send-message .accordion a:hover {
    background: linear-gradient(90deg, #f0f0f0 0%, #f9f9fb 100%);
    border-left-color: var(--secondary-color);
    padding-left: 26px;
}

.send-message .accordion li.active a {
    background: linear-gradient(90deg, var(--primary-color) 0%, #1D3452 100%);
    color: #ffffff !important;
    border-left-color: var(--secondary-color);
}

.send-message .accordion li.active a::after {
    content: '⋯';
    color: var(--secondary-color);
    transform: scaleY(1);
}

.send-message .accordion .content {
    background-color: #fff;
    padding: 22px;
    display: none;
    color: #555;
    font-size: 14px;
    line-height: 1.8;
    border-top: 2px solid #f0f0f0;
    animation: slideDown 0.3s ease;
}

.send-message .accordion li.active .content {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividad para Sección de Mensaje */
@media (max-width: 768px) {
    .send-message .container > .row {
        flex-direction: column;
    }

    .send-message .col-md-4 {
        padding-left: 0;
        margin-top: 35px;
    }

    .contact-form {
        padding: 28px;
    }

    .send-message .accordion a {
        padding: 16px 18px;
        font-size: 14px;
    }

    .send-message .accordion .content {
        padding: 18px;
        font-size: 13px;
    }
}

/* ================================================================
   TIKTOK ICON - SVG Brand Logo
   ================================================================ */
.tiktok-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    fill: currentColor;
    transition: var(--transition);
}

.social-icons a:hover .tiktok-icon {
    transform: scale(1.2);
}

/* ================================================================
   MOBILE UX - Experiencia optimizada para dispositivos móviles
   ================================================================ */
@media (max-width: 768px) {
    /* Header móvil compacto */
    #header .navbar {
        padding: 8px 0;
    }
    
    #header .navbar-brand img {
        height: 38px !important;
    }
    
    /* Menú hamburguesa más grande y táctil */
    .navbar-toggler {
        padding: 10px 12px;
        font-size: 22px;
        border: 2px solid rgba(255,255,255,0.3);
        border-radius: 8px;
    }
    
    .navbar-toggler-icon {
        width: 24px;
        height: 24px;
    }
    
    /* Navbar colapsado con mejor espaciado táctil */
    .navbar-collapse {
        background: rgba(15, 32, 46, 0.98);
        border-radius: 12px;
        margin-top: 10px;
        padding: 12px 0;
        box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    }
    
    .navbar-nav .nav-link {
        padding: 14px 20px !important;
        font-size: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        text-align: center;
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Banner texto más legible */
    .banner .main-banner-content h2 {
        font-size: 26px !important;
        line-height: 1.3;
    }
    
    .banner .main-banner-content h4 {
        font-size: 16px !important;
    }
    
    /* Secciones con padding ajustado */
    .section-heading h2 {
        font-size: 24px;
    }
    
    /* Productos en 1 columna */
    .product-item {
        margin-bottom: 20px;
    }
    
    .product-item .down-content {
        padding: 15px;
    }
    
    .product-item .down-content h4 {
        font-size: 15px;
    }
    
    .product-item .down-content p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    /* Botones WhatsApp táctiles */
    .btn-whatsapp {
        display: block;
        width: 100%;
        padding: 16px 20px;
        font-size: 15px;
        text-align: center;
        margin: 10px 0;
        border-radius: 12px;
    }
    
    /* Features apiladas con tarjetas compactas */
    .features-post {
        padding: 25px 18px;
        margin-bottom: 15px;
    }
    
    .features-post span {
        font-size: 40px;
    }
    
    /* Footer móvil */
    footer {
        padding: 35px 0 20px;
        text-align: center;
    }
    
    footer h5 {
        margin-top: 20px;
        font-size: 17px;
    }
    
    .footer-links {
        list-style: none;
        padding: 0;
    }
    
    .footer-links li {
        margin-bottom: 10px;
    }
    
    .footer-links a {
        display: block;
        padding: 8px 0;
        font-size: 15px;
    }
    
    /* Mapa más pequeño */
    #map {
        height: 280px !important;
        margin-bottom: 20px;
        border-radius: 12px;
    }
    
    /* Formulario de contacto optimizado */
    .contact-form {
        padding: 20px;
    }
    
    .contact-form input,
    .contact-form textarea {
        font-size: 16px !important; /* Evita zoom en iOS */
        padding: 14px !important;
    }
    
    .filled-button {
        padding: 16px;
        font-size: 16px;
        border-radius: 12px;
    }
    
    /* Social icons más grandes para táctil */
    .social-icons li {
        margin: 0 6px;
    }
    
    .social-icons a {
        width: 44px;
        height: 44px;
        line-height: 44px;
        font-size: 20px;
    }
    
    /* Acordeón FAQ táctil */
    .accordion a {
        padding: 18px 20px;
        font-size: 15px;
    }
    
    /* Categorías filtro táctiles */
    .category-link {
        padding: 14px 16px;
        font-size: 15px;
        margin-bottom: 4px;
    }
    
    /* About page - team & mission */
    .team-member {
        margin-bottom: 25px;
    }
    
    /* WhatsApp floating button */
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    
    /* Margins consistentes */
    .col-md-4, .col-md-6, .col-md-8, .col-md-12 {
        margin-bottom: 20px;
    }
    
    /* Mejorar touch targets */
    a, button, .btn, .nav-link, .category-link, .accordion a {
        min-height: 44px; /* Apple HIG minimum touch target */
    }
}

/* ================================================================
   MOBILE NAV - Mejor UX cuando el menú está abierto
   ================================================================ */
@media (max-width: 768px) {
    .navbar-collapse.show {
        display: block !important;
    }
    
    .navbar-nav .nav-item.active .nav-link {
        background: rgba(255, 149, 0, 0.15);
        border-radius: 8px;
        margin: 0 10px;
    }
}
