/* ==========================================
   ESTILOS DE LA SECCIÓN HERO
   ========================================== */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 80vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    text-align: left;
    color: #ffffff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px 30px 40px;
}

.hero-content {
    max-width: 650px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.2;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 19px;
    font-weight: 400;
    margin-bottom: 0px;
    line-height: 1.5;
    color: #f0f0f0;
}

/* ==========================================
   ESTILOS DE LA SECCIÓN DE LA TIENDA Y CARRUSEL
   ========================================== */
.store-section {
    padding: 80px 20px;
    background-color: #f8f9fa;
    color: #1a1a1a;
}

.store-container {
    max-width: 1200px;
    margin: 0 auto;
}

.store-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px auto;
}

.store-badge {
    display: inline-block;
    background-color: rgba(125, 249, 241, 0.25);
    color: #0d8a83;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.store-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.3;
}

.store-subtitle {
    font-size: 17px;
    color: #666666;
    line-height: 1.6;
}

.store-title-carrusel {
    font-size: 30px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.3;
}

.store-subtitle-carrusel {
    font-size: 17px;
    color: #666666;
    line-height: 1.6;
}

/* --- Estructura del Carrusel & Efecto Peek/Sombreado --- */
.store-carousel {
    position: relative;
    margin: 0 -15px;
}

/* Máscara de degradado en el lateral derecho para difuminar la 5.ª tarjeta */
.store-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    right: -10px;
    width: 140px;
    height: 100%;
    background: linear-gradient(to right, rgba(248, 249, 250, 0) 0%, rgba(248, 249, 250, 0.95) 100%);
    pointer-events: none;
    z-index: 5;
}

.store-carousel .slick-list {
    overflow: hidden;
    position: relative;
    padding-right: 15px;
}

.store-card-wrapper {
    padding: 10px 15px;
}

.store-carousel .slick-track {
    display: flex !important;
}

.store-carousel .slick-slide {
    height: auto;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.store-carousel .slick-slide > div {
    height: 100%;
}

/* Tarjeta del Carrusel */
.store-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.store-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.card-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.4s ease;
}

.store-card:hover .card-image {
    transform: scale(1.06);
}

.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.card-desc {
    font-size: 15px;
    color: #666666;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

.color-selector {
    margin-bottom: 20px;
}

.color-label {
    display: block;
    font-size: 12px;
    color: #888888;
    margin-bottom: 6px;
    font-weight: 600;
}

.color-options {
    display: flex;
    gap: 8px;
}

.color-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #cccccc;
    display: inline-block;
}

.card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-btn .arrow {
    transition: transform 0.3s ease;
}

.card-btn:hover {
    color: #71F0FF;
}

.card-btn:hover .arrow {
    transform: translateX(5px);
}

/* --- Flechas Personalizadas de Navegación Slick --- */
.custom-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 46px;
    height: 46px;
    background-color: #ffffff;
    color: #1a1a1a;
    border: 2px solid #eaeaea;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: all 0.25s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.slick-prev.custom-arrow {
    left: -20px;
}

.slick-next.custom-arrow {
    right: -10px;
}

.custom-arrow:hover {
    background-color: #7DF9F1;
    border-color: #7DF9F1;
    color: #1a1a1a;
    box-shadow: 0 6px 20px rgba(125, 249, 241, 0.5);
    transform: translateY(-50%) scale(1.1);
}

/* --- Botón de Acción Principal --- */
.store-action {
    text-align: center;
    margin-top: 50px;
}

.btn-primary-store {
    display: inline-block;
    background-color: #7DF9F1;
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(125, 249, 241, 0.3);
}

.btn-primary-store:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(125, 249, 241, 0.5);
    background-color: #5ef5eb;
    color: #000000;
}

/* ==========================================
   ETAPA 5: SECCIÓN "COMPRA CON NUESTRAS ASESORAS"
   ========================================== */
.advisor-section {
    padding: 80px 20px;
    background-color: #ffffff;
    color: #1a1a1a;
}

.advisor-container {
    max-width: 1200px;
    margin: 0 auto;
}

.advisor-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 50px;
    letter-spacing: -0.5px;
}

.advisor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

.advisor-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 20px;
}

.info-subtitle {
    font-size: 26px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.3;
}

.info-description {
    font-size: 16px;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 25px;
}

.brand-divider {
    width: 50px;
    height: 3px;
    background-color: #7DF9F1;
    margin-bottom: 25px;
    border-radius: 2px;
}

.brand-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.schedule-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888888;
    margin-bottom: 15px;
}

.schedule-card {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    display: inline-block;
    max-width: 380px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
}

.schedule-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}

.status-open {
    background-color: rgba(40, 167, 69, 0.12);
    color: #1e7e34;
}
.status-open .status-dot {
    background-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
}

.status-warning {
    background-color: rgba(255, 193, 7, 0.18);
    color: #856404;
}
.status-warning .status-dot {
    background-color: #ffc107;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.3);
}

.status-closed {
    background-color: rgba(220, 53, 69, 0.12);
    color: #bd2130;
}
.status-closed .status-dot {
    background-color: #dc3545;
}

/* Nota cuando el horario está cerrado */
.schedule-closed-note {
    font-size: 13px;
    color: #666666;
    margin: 8px 0 12px 0;
    line-height: 1.4;
    font-style: italic;
}

.schedule-hours-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.schedule-hours {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    padding-left: 4px;
}

.schedule-toggle-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.schedule-toggle-btn:hover {
    background-color: rgba(0, 0, 0, 0.06);
}

.toggle-arrow {
    transition: transform 0.3s ease;
}

.schedule-card.open .toggle-arrow {
    transform: rotate(180deg);
}

.schedule-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease;
    opacity: 0;
}

.schedule-card.open .schedule-details {
    max-height: 200px;
    opacity: 1;
}

.details-divider {
    height: 1px;
    background-color: #e0e0e0;
    margin: 15px 0 12px 0;
}

.schedule-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: #444444;
}

.schedule-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.schedule-list li:last-child {
    margin-bottom: 0;
}

.advisor-media {
    width: 100%;
    height: 100%;
    min-height: 420px;
}

.image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.advisor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.advisor-media:hover .advisor-img {
    transform: scale(1.02);
}

.advisor-actions {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    max-width: 380px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25D366;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 250px;
}

.whatsapp-btn:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: #ffffff;
}

.whatsapp-icon {
    flex-shrink: 0;
}

/* ==========================================
   ETAPA 6: TESTIMONIOS
   ========================================== */
.testimonials-section {
    background-color: #f9f9f9;
    padding: 60px 20px;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 40px;
}

.testimonials-title {
    font-size: 28px;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.testimonials-subtitle {
    font-size: 15px;
    color: #666666;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-stars {
    color: #ffb400;
    font-size: 16px;
    margin-bottom: 12px;
}

.testimonial-comment {
    font-size: 14px;
    line-height: 1.6;
    color: #444444;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    font-size: 13px;
}

.author-city {
    color: #888888;
}

.verified-badge {
    color: #25D366;
    font-weight: 600;
    margin-top: 4px;
}

/* ==========================================
   RESPONSIVE HOME
   ========================================== */
@media screen and (max-width: 992px) {
    .advisor-grid {
        gap: 30px;
    }
    .advisor-title {
        font-size: 30px;
        margin-bottom: 35px;
    }
}

@media screen and (max-width: 768px) {
    .hero-section {
        min-height: 65vh;
    }

    .hero-container {
        padding: 0 20px 15px 20px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .store-section {
        padding: 50px 20px;
    }

    .store-title {
        font-size: 28px;
    }

    .store-subtitle {
        font-size: 15px;
    }
    
    .advisor-grid {
        grid-template-columns: 1fr;
    }

    .advisor-info {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .advisor-media {
        min-height: 350px;
    }

    .schedule-card {
        max-width: 100%;
    }

    .slick-prev.custom-arrow {
        left: -5px;
    }

    .slick-next.custom-arrow {
        right: 0px;
    }
}

@media screen and (max-width: 600px) {
    .store-action {
        margin-top: 35px;
    }

    .btn-primary-store {
        font-size: 16px;
        padding: 12px 28px;
        width: 100%;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 480px) {
    .whatsapp-btn {
        width: 100%;
        text-align: center;
    }
}