
/* =========================================
   SECCIÓN REVIEWS - GOOGLE
   ========================================= */

.reviews-section {
    position: relative;
}

/* Header: texto centrado + 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 alineada a la derecha */
.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;
}

.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;
}

/* Cards igualdad de altura */
.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;
    font-family: 'Lato', sans-serif;
    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;
    font-family: 'Lato', sans-serif;
    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;
}

.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;
    font-family: 'Lato', sans-serif;
    flex: 1;
}

/* Dots */
.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;
}

/* =========================================
   STATEMENT SLIDER - Cards de contacto
   ========================================= */

/* Ajustes para cuando está en wave-block */
.wave-block .section-header .h-sub,
.wave-block .section-header h2 {
    color: #fff !important;
    font-weight: 700 !important;
}

/* Corrección definitiva de alturas en cards de contacto */
.statement-slider {
    margin: 0;
    padding: 0;
}

.statement-slider .slick-track {
    display: flex !important;
    align-items: stretch !important;
}

.statement-slider .slick-slide {
    height: auto !important;
    display: flex !important;
    float: none !important;
}

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

.statement-list li {
    display: flex !important;
    width: 100%;
}

.statement-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    background: #fff;
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    word-break: break-word;
    box-sizing: border-box;
}

.statement-card p {
    margin-bottom: 10px;
    word-break: break-word;
}

.statement-card .phone-number a {
    color: #e67e22;
    text-decoration: none;
}

.statement-card .office-hours {
    border-top: 1px dashed #ccc;
    padding-top: 15px;
    margin-top: 10px;
}

/* =========================================
   RESPONSIVE
   ========================================= */

/* Tablet: score card debajo del texto */
@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; 
    }
}

/* Móvil */
@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;
    }
}

/* Móvil: cards apiladas sin carrusel */
@media (max-width: 600px) {
    .statement-slider {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px;
    }

    .statement-slider li {
        width: 100% !important;
        float: none !important;
    }
}