/* Service Cards */
.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,154,206,0.2);
    border-color: #009ace;
}

.service-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.service-title {
    color: #003071;
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 15px;
    min-height: 60px;
}

.service-description {
    color: #3b4964;
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 72px;
}

.service-link {
    color: #009ace;
    font-weight: 700;
    font-size: 1em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* Team Cards */
#quienes-somos {
    background: #f8f9fa;
}

.team-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 25px;
    display: block;
    border: 5px solid #009ace;
    box-shadow: 0 5px 15px rgba(0,154,206,0.3);
}

.team-info h3 {
    color: #003071;
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.team-info h4 {
    color: #009ace;
    font-size: 1.1em;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
}

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

.team-credentials li {
    color: #3b4964;
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.team-credentials i {
    color: #009ace;
    margin-right: 10px;
    margin-top: 3px;
    font-size: 1.1em;
    flex-shrink: 0;
}

.experience-link {
    display: block;
    color: #009ace;
    text-decoration: none;
    font-size: 0.95em;
    font-weight: 500;
    margin-top: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.experience-link:hover {
    color: #007aa8;
    text-decoration: underline;
}

/* Main Logo */
#inicio .main-logo {
    max-width: 200px !important;
    height: auto !important;
    margin-bottom: 20px;
}

/* Google Reviews Styles */
.google-rating-badge {
    text-align: center;
    margin: 30px auto 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.google-badge-logo {
    width: 80px;
    height: auto;
    margin-bottom: 5px;
}

.rating-title {
    color: #003071;
    font-size: 1.5em;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.rating-info {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 5px 0;
}

.rating-score {
    color: #003071;
    font-size: 1.3em;
    font-weight: 700;
}

.rating-text {
    color: #3b4964;
    font-size: 0.95em;
}

.rating-stars-badge {
    color: #fbbc05;
    font-size: 1.2em;
    display: flex;
    gap: 3px;
}

.rating-stars-badge i {
    font-size: 24px;
}

.google-reviews-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 12px 24px;
    background: white;
    color: #009ace;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    border-radius: 8px;
    border: 2px solid #009ace;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,154,206,0.1);
}

.google-reviews-link:hover {
    background: #009ace;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,154,206,0.3);
}

.google-reviews-link i {
    font-size: 1.2em;
}

.swiper-container-reviews {
    width: 100%;
    padding: 40px 60px;
    position: relative;
}

.review-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 280px;
    display: flex;
    flex-direction: column;
    margin: 0 10px;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,154,206,0.2);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    position: relative;
}

.reviewer-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #009ace, #003071);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2em;
    flex-shrink: 0;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    color: #003071;
    font-size: 1em;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 5px;
}

.verified-badge {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.review-date {
    color: #6b7280;
    font-size: 0.85em;
    margin: 2px 0 0 0;
}

.google-logo {
    width: 60px;
    height: auto;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.review-stars {
    color: #fbbf24;
    font-size: 0.9em;
    margin-bottom: 12px;
}

.review-stars i {
    margin-right: 2px;
}

.review-text {
    color: #3b4964;
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0 0 15px 0;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.review-link-btn {
    display: inline-block;
    color: #009ace;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
}

.review-link-btn:hover {
    color: #007aa8;
    text-decoration: underline;
}

/* Swiper Navigation */
.swiper-button-next-reviews,
.swiper-button-prev-reviews {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    z-index: 10;
    cursor: pointer;
}

.swiper-button-next-reviews {
    right: 10px;
}

.swiper-button-prev-reviews {
    left: 10px;
}

/* Ocultar las flechas por defecto de Swiper */
.swiper-button-next-reviews::after,
.swiper-button-prev-reviews::after {
    display: none;
}

/* Usar Font Awesome para las flechas */
.swiper-button-next-reviews::before,
.swiper-button-prev-reviews::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 20px;
    color: #009ace;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.swiper-button-next-reviews::before {
    content: "\f105"; /* fa-chevron-right */
}

.swiper-button-prev-reviews::before {
    content: "\f104"; /* fa-chevron-left */
}

.swiper-button-next-reviews:hover,
.swiper-button-prev-reviews:hover {
    background: #009ace;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,154,206,0.3);
}

.swiper-button-next-reviews:hover::before,
.swiper-button-prev-reviews:hover::before {
    color: white;
}

.swiper-button-next-reviews.swiper-button-disabled,
.swiper-button-prev-reviews.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.swiper-pagination-reviews {
    bottom: 0 !important;
    text-align: center;
    width: 100%;
    left: 0;
    right: 0;
}

.swiper-pagination-reviews .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #009ace;
    opacity: 0.3;
    transition: all 0.3s ease;
    margin: 0 5px;
}

.swiper-pagination-reviews .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Header Sticky */
.header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: -15px;
}

.header-logo img {
    height: 50px;
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger-menu span {
    display: block;
    width: 30px;
    height: 3px;
    background: #3b4964;
    margin: 6px 0;
    transition: 0.3s;
}

/* Menu Navigation */
.navbar-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.navbar-menu li a {
    text-decoration: none;
    color: #3b4964;
    font-weight: 500;
    font-size: 0.95em;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar-menu li a:hover {
    color: #009ace;
}

.navbar-menu li a.btn-agendar {
    background: #009ace;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
}

.navbar-menu li a.btn-agendar:hover {
    background: #0088b8;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    #inicio .main-logo {
        max-width: 180px !important;
    }
    
    .service-title {
        font-size: 1.2em;
        min-height: auto;
    }
    
    .service-description {
        font-size: 0.95em;
        min-height: auto;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .team-card {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    
    .team-photo {
        width: 120px;
        height: 120px;
    }
    
    #tratamientos {
        padding: 50px 0 !important;
    }
    
    #quienes-somos {
        padding: 50px 0 !important;
    }
    
    #google-reviews {
        padding: 50px 0 !important;
    }
    
    .google-rating-badge {
        margin: 20px auto 30px;
    }
    
    .google-badge-logo {
        width: 65px;
    }
    
    .rating-title {
        font-size: 1.2em;
    }
    
    .rating-score {
        font-size: 1.1em;
    }
    
    .rating-text {
        font-size: 0.85em;
    }
    
    .rating-stars-badge i {
        font-size: 20px;
    }
    
    .google-reviews-link {
        font-size: 0.9em;
        padding: 10px 20px;
    }
    
    .swiper-container-reviews {
        padding: 40px 50px;
    }
    
    .review-card {
        height: 300px;
        padding: 20px;
        margin: 0 5px;
    }
    
    .google-logo {
        width: 50px;
        top: auto;
        bottom: 0;
        transform: none;
    }
    
    .reviewer-name {
        font-size: 0.9em;
    }
    
    .review-text {
        font-size: 0.9em;
    }
    
    .swiper-button-next-reviews,
    .swiper-button-prev-reviews {
        width: 40px;
        height: 40px;
    }
    
    .swiper-button-next-reviews {
        right: 5px;
    }
    
    .swiper-button-prev-reviews {
        left: 5px;
    }
    
    .swiper-button-next-reviews::after,
    .swiper-button-prev-reviews::after {
        font-size: 18px;
    }
}

@media (max-width: 991px) {
    .header-logo img {
        height: 45px;
    }
    
    .hamburger-menu {
        display: block;
    }
    
    .navbar-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: #f8f9fa;
        flex-direction: column;
        padding: 0;
        gap: 0;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
        z-index: 999;
    }
    
    .navbar-menu.active {
        max-height: 500px;
        padding: 30px 0;
    }
    
    .navbar-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .navbar-menu li a {
        font-size: 1.05em;
        padding: 18px 30px;
        display: block;
        width: 100%;
    }
    
    .navbar-menu li a.btn-agendar {
        margin: 15px 30px;
        width: calc(100% - 60px);
        text-align: center;
    }
    
    #inicio .boton {
        display: block;
        width: fit-content;
        margin: 20px auto 0;
    }
    
    .service-card {
        margin: 0 10px;
    }
}

