/* =============================================================
   INDEX-SECTIONS.CSS
   Estilos de secciones nuevas/cambiantes del index.
   Separado de index.css para facilitar edición y mantenimiento.
   
   Contenido:
   1. Banner de Mantenimiento (.maintenance-banner)
   2. Sección Graduaciones (.graduation-section)
   3. Sección Promociones del Mes (.promo-*)
   4. Sección Reseñas Google (.reviews-section, .google-score-card, .rc-*)
   ============================================================= */


/* =============================================================
   1. BANNER DE AVISO - MANTENIMIENTO / REMODELACIÓN
   ============================================================= */

.maintenance-banner {
    background: linear-gradient(135deg, #FFF3CD 0%, #FFE69C 100%);
    border-top: 3px solid #FFC107;
    border-bottom: 3px solid #FFC107;
}

.maintenance-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFC107 0%, #FF9800 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
    flex-shrink: 0;
}

.maintenance-banner h5 {
    font-size: 1.15rem;
    letter-spacing: 0.5px;
}

.maintenance-banner .btn-outline-warning {
    border: 2px solid #FFC107;
    color: #FF9800;
    font-weight: 600;
    transition: all 0.3s ease;
}

.maintenance-banner .btn-outline-warning:hover {
    background-color: #FFC107;
    border-color: #FFC107;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 152, 0, 0.25);
}

@media (max-width: 767px) {
    .maintenance-banner {
        padding: 1rem !important;
    }

    .maintenance-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .maintenance-banner .d-flex {
        flex-direction: column;
    }

    .maintenance-banner h5,
    .maintenance-banner p {
        text-align: center;
    }

    .maintenance-banner .btn {
        width: 100%;
        text-align: center;
    }
}


/* =============================================================
   2. SECCIÓN GRADUACIONES
   ============================================================= */

.graduation-section {
    position: relative;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    padding: 60px 0;
    margin-bottom: 50px;
    overflow: hidden;
}

/* Formas decorativas de fondo */
.graduation-section .decoration-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.graduation-section .shape {
    position: absolute;
    opacity: 0.35;
}

.graduation-section .shape-1 {
    top: 10%;
    left: 5%;
    width: 120px;
    height: 120px;
    border: 15px solid #D4AF37;
    border-radius: 50% 40% 60% 50%;
    transform: rotate(45deg);
}

.graduation-section .shape-2 {
    top: 60%;
    left: 8%;
    width: 80px;
    height: 80px;
    border: 12px solid #2C2C2C;
    border-radius: 40% 60% 50% 50%;
    transform: rotate(-30deg);
}

.graduation-section .shape-3 {
    top: 15%;
    right: 10%;
    width: 100px;
    height: 100px;
    border: 13px solid #FFD700;
    border-radius: 60% 40% 50% 60%;
    transform: rotate(60deg);
}

.graduation-section .shape-4 {
    top: 70%;
    right: 5%;
    width: 150px;
    height: 150px;
    border: 18px solid #B8860B;
    border-radius: 50% 60% 40% 50%;
    transform: rotate(-45deg);
}

.graduation-section .shape-5 {
    top: 40%;
    left: 15%;
    width: 60px;
    height: 60px;
    background: #F4E5B2;
    border-radius: 50%;
}

.graduation-section .shape-6 {
    top: 25%;
    right: 25%;
    width: 45px;
    height: 45px;
    background: #4A4A4A;
    border-radius: 50%;
}

.graduation-section .shape-7 {
    bottom: 20%;
    left: 30%;
    width: 70px;
    height: 70px;
    background: #DAA520;
    border-radius: 50%;
}

.graduation-section .shape-8 {
    top: 5%;
    left: 25%;
    width: 35px;
    height: 35px;
    background: #1A1A1A;
    border-radius: 50%;
}

.graduation-section .wave-shape {
    position: absolute;
    width: 200px;
    height: 80px;
    opacity: 0.25;
}

.graduation-section .wave-1 {
    top: 5%;
    left: 45%;
    background: #F0E68C;
    border-radius: 50%;
    transform: rotate(25deg);
}

.graduation-section .wave-2 {
    bottom: 10%;
    right: 40%;
    background: #C9A961;
    border-radius: 50%;
    transform: rotate(-15deg);
}

.graduation-section .graduation-row {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.graduation-section .graduation-content {
    flex: 1;
    position: relative;
    order: 1;
}

.graduation-section .graduation-image-wrap {
    flex: 0 0 45%;
    position: relative;
    order: 2;
}

.graduation-section .svg-shape {
    width: 100%;
    max-width: 500px;
    position: relative;
    margin-left: auto;
}

.graduation-section .svg-shape svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}

.graduation-section .section-tag {
    font-family: 'Grandstander', cursive;
    font-size: 1rem;
    color: #4A4A4A;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    padding-left: 50px;
}

.graduation-section .section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 2px;
    background: #D4AF37;
}

.graduation-section .graduation-title {
    font-family: 'Grandstander', cursive;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.graduation-section .graduation-title .highlight-gold {
    color: #B8860B;
}

.graduation-section .graduation-title .highlight-black {
    color: #1A1A1A;
    font-style: italic;
}

.graduation-section .graduation-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #6C757D;
    margin-bottom: 30px;
}

.graduation-section .graduation-description p {
    margin-bottom: 15px;
}

.graduation-section .graduation-description strong {
    color: #495057;
}

.graduation-section .btn-graduation-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #B8860B;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.graduation-section .btn-graduation-cta::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #D4AF37, #FFD700);
    transition: width 0.3s ease;
}

.graduation-section .btn-graduation-cta:hover {
    color: #D4AF37;
}

.graduation-section .btn-graduation-cta:hover::after {
    width: 100%;
}

.graduation-section .btn-graduation-cta svg {
    transition: transform 0.3s ease;
}

.graduation-section .btn-graduation-cta:hover svg {
    transform: translateX(5px);
}

@media (max-width: 991px) {
    .graduation-section .graduation-row {
        flex-direction: column;
        text-align: center;
    }

    .graduation-section .graduation-content {
        order: 1;
    }

    .graduation-section .graduation-image-wrap {
        order: 2;
        flex: 0 0 100%;
        max-width: 400px;
    }

    .graduation-section .svg-shape {
        margin: 0 auto;
    }

    .graduation-section .section-tag {
        padding-left: 0;
        display: inline-block;
    }

    .graduation-section .section-tag::before {
        display: none;
    }

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

    .graduation-section .btn-graduation-cta {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .graduation-section {
        padding: 40px 0;
    }

    .graduation-section .graduation-title {
        font-size: 1.75rem;
    }

    .graduation-section .graduation-description {
        font-size: 0.95rem;
    }

    .graduation-section .shape-1,
    .graduation-section .shape-4 {
        width: 80px;
        height: 80px;
    }

    .graduation-section .shape-2,
    .graduation-section .shape-3 {
        width: 60px;
        height: 60px;
    }

    .graduation-section .wave-shape {
        width: 120px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .graduation-section .graduation-title {
        font-size: 1.5rem;
    }

    .graduation-section .graduation-description {
        font-size: 0.9rem;
    }

    .graduation-section .shape {
        opacity: 0.2;
    }
}


/* =============================================================
   3. SECCIÓN PROMOCIONES DEL MES
   ============================================================= */

.promo-badge {
    background: linear-gradient(135deg, #388E3C, #66BB6A);
    font-family: 'Grandstander', cursive;
}

.promo-title {
    font-family: 'Grandstander', cursive;
    color: #2C3E50;
}

.promo-title .highlight {
    color: #2E7D32;
}

.urgency-message {
    background: #FFF9C4;
    font-family: 'Grandstander', cursive;
    color: #F57F17 !important;
    border: 1px solid #FFE082;
}

.promo-cta {
    background: linear-gradient(135deg, #2E7D32, #66BB6A);
    transition: opacity 0.2s ease;
}

.promo-cta:hover {
    opacity: 0.9;
    color: white;
    text-decoration: none;
}

.promo-image-wrapper {
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(46, 125, 50, 0.2);
}

.discount-badge {
    background: linear-gradient(135deg, #2E7D32, #388E3C);
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.4);
    font-family: 'Grandstander', cursive;
}

.discount-badge .percentage {
    font-size: 2rem;
    line-height: 1;
}

.discount-badge .text {
    font-size: 0.75rem;
}

/* Cards de descuentos 2x2 */
.promo-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.promo-card-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #F1F8E9;
    border: 1.5px solid #C8E6C9;
    border-radius: 12px;
    padding: 14px 16px;
    transition: box-shadow 0.2s ease;
}

.promo-card-item:hover {
    box-shadow: 0 4px 16px rgba(56, 142, 60, 0.15);
}

.promo-card-item.pci-destacada {
    background: #E8F5E9;
    border-color: #2E7D32;
}

.pci-pct {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2E7D32, #66BB6A);
    border-radius: 10px;
    width: 68px;
    height: 68px;
    color: #fff;
    font-family: 'Grandstander', cursive;
    line-height: 1;
}

.pci-destacada .pci-pct {
    background: linear-gradient(135deg, #1B5E20, #2E7D32);
    box-shadow: 0 3px 10px rgba(27, 94, 32, 0.35);
}

.pci-num {
    font-size: 1.5rem;
    font-weight: 800;
    display: block;
}

.pci-off {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
    display: block;
}

.pci-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pci-dia {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1B5E20;
    line-height: 1.2;
    display: block;
}

.pci-horario {
    font-size: 0.82rem;
    color: #4CAF50;
    font-weight: 400;
    display: block;
}

@media (max-width: 991px) {
    .promo-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    .promo-title {
        font-size: 1.8rem;
    }

    .discount-badge {
        width: 100px !important;
        height: 100px !important;
        top: -15px !important;
        right: -15px !important;
    }

    .discount-badge .percentage {
        font-size: 1.6rem;
    }
}

@media (max-width: 575px) {
    .promo-cards-grid {
        grid-template-columns: 1fr;
    }
}

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

    .discount-badge {
        width: 80px !important;
        height: 80px !important;
    }

    .discount-badge .percentage {
        font-size: 1.3rem;
    }
}


/* =============================================================
   4. SECCIÓN RESEÑAS GOOGLE
   ============================================================= */

.reviews-section {
    position: relative;
}

/* Header: texto + score card en línea horizontal */
.reviews-header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: nowrap;
}

.reviews-header-top {
    flex: 1;
    min-width: 0;
}

.reviews-header-top .h-sub {
    text-align: left;
}

.reviews-header-top h2 {
    text-align: left;
    margin-bottom: 12px;
}

.reviews-header-desc {
    font-size: 15px;
    color: #888;
    line-height: 1.65;
    margin: 0;
    max-width: 520px;
}

/* Score card */
.google-score-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border: 1.5px solid #e8e8e8;
    border-radius: 16px;
    padding: 22px 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
    min-width: 280px;
    text-decoration: none;
    transition: box-shadow 0.2s ease;
}

.google-score-card:hover {
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.gsc-google-img {
    height: 34px;
    width: auto;
    display: block;
}

.gsc-divider {
    width: 1px;
    height: 44px;
    background: #e0e0e0;
    flex-shrink: 0;
}

.gsc-score-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gsc-number {
    font-size: 2.8rem;
    font-weight: 900;
    color: #2c3e50;
    line-height: 1;
    font-family: 'Grandstander', cursive;
}

.gsc-right {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.gsc-stars {
    display: flex;
    gap: 3px;
}

.gsc-stars i {
    color: #FBBC05;
    font-size: 16px;
}

.gsc-label {
    font-size: 11px;
    color: #888;
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
}

/* Review cards */
.reviews-slider-wrap {
    position: relative;
}

.reviews-slider .slick-track {
    display: flex !important;
}

.reviews-slider .slick-slide {
    height: inherit !important;
    display: flex !important;
}

.reviews-slider .slick-slide > div {
    display: flex;
    width: 100%;
}

.reviews-slider .review-card {
    display: flex !important;
    flex-direction: column;
    background: #fff;
    border: 1.5px solid #f0f0f0;
    border-radius: 16px;
    padding: 24px;
    margin: 8px 10px 16px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    width: 100%;
    box-sizing: border-box;
}

.reviews-slider .review-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.11);
    transform: translateY(-3px);
}

.rc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.rc-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.rc-info {
    flex: 1;
    min-width: 0;
}

.rc-name {
    font-size: 15px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rc-stars {
    display: flex;
    gap: 2px;
}

.rc-stars i {
    color: #FBBC05;
    font-size: 13px;
}

.rc-g-link {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid #e8e8e8;
    background: #fff;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    margin-left: auto;
    text-decoration: none;
}

.rc-g-link:hover {
    box-shadow: 0 2px 10px rgba(66, 133, 244, 0.18);
    border-color: #4285F4;
}

.rc-g-img {
    height: 18px;
    width: auto;
    display: block;
}

.rc-text {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    font-style: italic;
    margin: 0;
    flex: 1;
}

/* Dots del slider */
.reviews-slider .slick-dots {
    bottom: -28px;
}

.reviews-slider .slick-dots li button:before {
    font-size: 9px;
    color: #ccc;
    opacity: 1;
}

.reviews-slider .slick-dots li.slick-active button:before {
    color: #e67e22;
    opacity: 1;
}

@media (max-width: 991px) {
    .reviews-header-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .google-score-card {
        min-width: unset;
        width: 100%;
        justify-content: flex-start;
    }

    .gsc-divider {
        display: none;
    }
}

@media (max-width: 767px) {
    .google-score-card {
        padding: 16px 18px;
        gap: 14px;
    }

    .gsc-number {
        font-size: 2.2rem;
    }

    .reviews-header-top h2 {
        font-size: 1.6rem;
    }
}