.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../images/hero-bover-langley-palma-de-mallorca.webp");
    color: white;
}

.hero-services {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../images/hero-services-bover-langley-palma-de-mallorca.webp");
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

/* Título principal del hero → Poppins 600 */
.hero-text h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 52px;
}

/* Texto del hero → Inter 400 */
.hero-text p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 20px;
    max-width: 600px;
    margin-bottom: 30px;
    margin-right: auto;
}

.services-grid {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.service-card {
    border-radius: 12px;
    background: white;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: 0.3s;
    padding-bottom: 30px;

}

.service-card:hover {
    transform: translateY(-5px);
}

/* Títulos de servicios → Poppins 600 */
.service-card h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
    min-height: 40px;
}

.service-card h3,
.service-card p,
.service-card a {

    padding-left: 30px;
    padding-right: 30px;

}

/* CONTENEDOR IMAGEN SERVICIOS */
.service-card a {
    margin-top: auto;
}

.service-card p {
    flex-grow: 1;
}

.service-image {

    width: 100%;
    height: 200px;

    overflow: hidden;

    border-radius: 12px 12px 0 0;

    margin-bottom: 20px;

}

/* IMAGEN */

.service-image img {

    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;

}

/* ===== BENEFITS MEJORADO ===== */

.benefits {
    background: #fafafa;
    padding: 50px 20px;
}

.benefits-container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 35px;
    align-items: start;
}

/* TEXTO IZQUIERDA */

.benefit-text {
    max-width: 600px;
}

.benefit-text h2 {
    margin-bottom: 15px;
}

.benefit-text h3 {
    margin-top: 30px;
    margin-bottom: 10px;
}

.benefit-text p {
    margin-bottom: 15px;
    color: var(--text-soft);
}

/* CAJAS DESTACADAS */

.highlight-box {
    background: #f1f5f9;
    padding: 12px;
    border-left: 4px solid var(--primary);
    font-weight: 500;
    border-radius: 6px;
}

/* LISTAS */

.areas-list,
.benefits-list {
    margin: 15px 0;
    padding-left: 20px;
}

.areas-list li,
.benefits-list li {
    margin-bottom: 8px;
}

/* CAJA DERECHA */

.benefit-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 35px;
    border-radius: 14px;
    color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.benefit-box h3 {
    margin-bottom: 15px;
}

.box-intro {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.box-list {
    padding-left: 20px;
    margin-bottom: 20px;
}

.box-list li {
    margin-bottom: 10px;
}

.box-footer {
    margin-bottom: 20px;
    font-weight: 500;
}

/* BOTÓN SECUNDARIO */

.btn-secondary {
    display: inline-block;
    padding: 12px 20px;
    background: white;
    color: var(--primary);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}


/* Sección "about" → títulos con Poppins, texto con Inter */
.about {
    text-align: center;
}

.about-container {
    max-width: 700px;
    margin: auto;
}

/* CTA → título con Poppins */
.cta {
    text-align: center;
    max-width: 1100px;
    margin: auto;
    z-index: 2;
    position: relative;
    padding: 50px 20px;
}

.cta h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 30px;
}

/* ===== EMPRESAS COLABORADORAS ===== */

/* grid logos */
.collab-container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: 50px;
}

/* tamaño uniforme logos */
.collab-container img {
    width: 140px;
    height: 180px;
    object-fit: contain;
    margin: auto;

    /* color azul corporativo */
    filter: brightness(0) saturate(100%) invert(39%) sepia(90%) saturate(1300%) hue-rotate(165deg) brightness(95%) contrast(95%);

    transition: all 0.35s ease;
    cursor: pointer;
}

/* hover efecto */
.collab-container img:hover {
    filter: none;
    /* vuelve al color original */
    transform: translateY(-6px) scale(1.08);
}

.collab-container h2 {
    margin-bottom: 40px;
    grid-column: 1 / -1;
}

.collab h1 {
    color: black;
    text-align: center;
    margin-bottom: 20px;
}

.opinions h1 {
    color: black;
    text-align: center;
    margin-bottom: 20px;
}

/* ===== OPINIONES ===== */

.opinions {
    background: #fafafa;
    text-align: center;
    padding: 50px 20px;
}

.reviews-wrapper {
    overflow: hidden;
    max-width: 1100px;
    width: 100%;
    margin: 30px auto 0;
}

.reviews-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.review-card {
    min-width: 300px;
    background: white;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    text-align: left;
    transition: 0.3s;
}

.review-card:hover {
    transform: translateY(-8px);
}

.stars {
    color: #FFC107;
    font-size: 18px;
    margin-bottom: 10px;
}

.review-card p {
    color: #444;
    font-size: 15px;
}

.author {
    display: block;
    margin-top: 15px;
    color: #777;
    font-size: 14px;
}

.reviews-link {
    display: inline-block;
    margin-top: 40px;
    color: #009ACE;
    font-weight: 600;
    text-decoration: none;
}

.reviews-link:hover {
    text-decoration: underline;
}

/* GOOGLE RATING */

.google-rating {

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;

    margin-top: 15px;
    margin-bottom: 40px;

}

.rating-stars {

    color: #FFC107;
    font-size: 20px;

}

.rating-score {

    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: #444;

}

.google-logo {

    height: 20px;
    width: auto;

}

/* ===== FOOTER ===== */

.footer {

    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    position: relative;
    padding-top: 90px;

}

/* WAVE SUPERIOR */

.footer-wave {

    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 60px;
    background: white;

    clip-path: ellipse(75% 100% at 50% 0%);

}

/* CONTENEDOR */

.footer-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding: 0 20px;
}

/* BRAND */

.footer-brand h3 {

    font-family: 'Poppins', sans-serif;
    margin-bottom: 15px;

}

.footer-brand p {

    color: rgba(255, 255, 255, 0.85);
    max-width: 400px;

}

/* LINKS */

.footer-links h4,
.footer-social h4,
.footer-contact h4,
.footer-legal h4 {

    margin-bottom: 18px;

}

.footer-contact p {
    margin-bottom: 5px;
}

.footer-legal h4 {

    margin-top: 18px;
    font-size: 12px;

}

.footer-links a,
.footer-contact a,
.footer-legal a {

    display: block;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: 0.3s;

}

.footer-legal a {
    font-size: 12px;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-legal a:hover {

    color: white;
    transform: translateX(4px);

}

/* REDES */

.social-icons {

    display: flex;
    gap: 15px;

}

/* ICONOS */

.social {

    width: 45px;
    height: 45px;
    text-decoration: none;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.15);

    color: white;

    font-size: 20px;

    transition: all 0.3s ease;

}

/* HOVER GENERAL */

.social:hover {

    background: white;
    transform: translateY(-5px) scale(1.05);

}

/* COLORES DE REDES */

.social.linkedin:hover {

    color: #0077B5;

}

.social.instagram:hover {

    color: #E4405F;

}

.social.facebook:hover {

    color: #1877F2;

}

.social.whatsapp:hover {

    color: #25D366;

}

/* FOOTER BOTTOM */

.footer-bottom {

    margin-top: 50px;

    text-align: center;

    padding: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.2);

    font-size: 14px;

    color: rgba(255, 255, 255, 0.8);

}

/* ===== CLÍNICA LAYOUT ===== */

.clinic-grid {
    max-width: 1200px;
    margin: auto;
}

/* ===== CÓMO TRABAJAMOS ===== */

.how-we-work {
    background: white;
    padding: 40px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.how-we-work-container {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.how-label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
}

.how-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #1a1a1a;
    line-height: 1.35;
    margin-bottom: 12px;
}

.how-text {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    color: var(--text-soft);
    line-height: 1.7;
    margin-bottom: 20px;
}

.how-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 10px;
}

.how-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px 16px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.how-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.how-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e6f6fb;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.how-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.how-card-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.5;
    margin: 0;
}

/* ===== SEGMENTACIÓN ===== */

.segment {
    background: #fafafa;
    padding: 40px 20px;
}

.segment-container {
    max-width: 1000px;
    margin: 0 auto;
}

.segment-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 24px;
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.segment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.segment-card {
    background: white;
    border-radius: 14px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.segment-tag {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    width: fit-content;
}

.segment-card--blue .segment-tag {
    background: #e6f6fb;
    color: var(--primary);
}

.segment-card--green .segment-tag {
    background: #e6f7ef;
    color: #1a9e5c;
}

.segment-card h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0;
}

.segment-card ul {
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    flex-grow: 1;
}

.segment-card ul li {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--text-soft);
    line-height: 1.5;
    padding-left: 20px;
    position: relative;
}

.segment-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 14px;
}

.segment-card--green ul li::before {
    color: #1a9e5c;
}

.btn-segment {
    display: inline-block;
    margin-top: 8px;
    padding: 12px 22px;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    transition: 0.3s;
    width: fit-content;
}

.btn-segment:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 154, 206, 0.25);
}

.btn-segment--green {
    background: #1a9e5c;
}

.btn-segment--green:hover {
    box-shadow: 0 8px 18px rgba(26, 158, 92, 0.25);
}