/* =========================================
   HERO
========================================= */
.specialty-hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    padding: 80px 0;
    color: #ffffff;
    background:
        linear-gradient(
            110deg,
            rgba(10, 77, 140, 0.96),
            rgba(10, 77, 140, 0.78)
        );
}

.specialty-label {
    display: inline-block;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
}

.specialty-hero h1 {
    font-size: 58px;
    font-weight: 700;
    margin-bottom: 20px;
}

.specialty-hero p {
    font-size: 18px;
    line-height: 1.8;
    max-width: 650px;
    color: rgba(255,255,255,.90);
}

.specialty-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

/* =========================================
   IMAGEN HERO
========================================= */
.specialty-hero-image {
    max-width: 470px;
    margin: 0 auto;
    padding: 12px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 25px;
    box-shadow: 0 25px 60px rgba(0,0,0,.20);
}

.specialty-hero-image img {
    width: 100%;
    max-height: 430px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 18px;
}

/* =========================================
   INFORMACIÓN
========================================= */
.specialty-section {
    padding: 100px 0;
    background: #ffffff;
}

.specialty-section h2 {
    color: #0A4D8C;
    font-size: 40px;
    font-weight: 700;
    margin: 10px 0 25px;
}

.specialty-section p {
    color: #667085;
    font-size: 16px;
    line-height: 1.9;
}

/* =========================================
   IMAGEN INFORMACIÓN
========================================= */
.specialty-about-image {
    background: #f4f7fb;
    padding: 15px;
    border-radius: 22px;
    box-shadow: 0 15px 45px rgba(0,0,0,.08);
}

.specialty-about-image img {
    width: 100%;
    border-radius: 15px;
}

/* =========================================
   TRATAMIENTOS
========================================= */
.specialty-treatments {
    padding: 100px 0;
    background: #f5f8fc;
}

.specialty-section-title {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 55px;
}

.specialty-section-title h2 {
    color: #0A4D8C;
    font-size: 40px;
    font-weight: 700;
    margin: 10px 0 15px;
}

.specialty-section-title p {
    color: #667085;
    line-height: 1.7;
}

/* =========================================
   TARJETAS
========================================= */
.treatment-card {
    height: 100%;
    background: #ffffff;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    transition: all .35s ease;
}

.treatment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,.12);
}

.treatment-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: rgba(24,165,88,.10);
    color: #fc2222;
    font-size: 25px;
    margin-bottom: 20px;
}

.treatment-card h3 {
    color: #0A4D8C;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.treatment-card p {
    color: #667085;
    line-height: 1.7;
    margin: 0;
}

/* =========================================
   CTA
========================================= */
.specialty-cta {
    padding: 90px 0;
    background: #ffffff;
}

.specialty-cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
    padding: 50px;
    border-radius: 24px;
    background:
        linear-gradient(
            120deg,
            #0A4D8C,
            #0878a5
        );
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(10,77,140,.20);
}

.specialty-cta-box span {
    color: #fc2222;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.specialty-cta-box h2 {

    font-size: 32px;
    font-weight: 700;
    margin: 8px 0 10px;
}

.specialty-cta-box p {
    margin: 0;
    color: rgba(255,255,255,.85);
}

.specialty-cta-buttons {

    display: flex;
    flex-shrink: 0;
    gap: 10px;
}

/* botones */
.specialty-hero .btn-success {
    background-color: #fc2222;
    border-color: #0A4D8C;
}

.specialty-hero .btn-success:hover {
    background-color: #073b6d;
    border-color: #fc2222;
}

.specialty-hero .btn-outline-light {
    background-color: transparent;
    border-color: #ffffff;
    color: #ffffff;
}

.specialty-hero .btn-outline-light:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #0A4D8C;
}

.btn-success {
    background-color: #fc2222;
    border-color: #0A4D8C;
    color: #ffffff;
}

.btn-success:hover {
    background-color: #073b6d;
    border-color: #fc2222;
    color: #ffffff;
}

/* =========================================
   SECCIÓN DE ESPECIALISTAS
========================================= */

.specialists {
    padding: 80px 0;
    background: #f5f8fc;
}


/* =========================================
   ENCABEZADO DE LA PÁGINA
========================================= */

.demo-header {
    background: linear-gradient(
        135deg,
        #0A4D8C,
        #072d50
    );

    color: #ffffff;

    padding: 65px 20px;

    text-align: center;
}

.demo-header > span {
    display: inline-block;

    background: rgba(85, 229, 141, .15);

    color: fc2222;

    padding: 7px 16px;

    border-radius: 50px;

    font-size: 13px;

    font-weight: 600;

    margin-bottom: 14px;
}

.demo-header h1 {
    font-weight: 700;

    margin-bottom: 12px;
}

.demo-header p {
    max-width: 720px;

    margin: auto;

    opacity: .9;
}


/* =========================================
   TÍTULO DE ESPECIALISTAS
========================================= */

.specialists .section-title {
    text-align: center;

    margin-bottom: 45px;
}

.specialists .section-title h2 {
    color: #0A4D8C;

    font-weight: 700;
}

.specialists .section-title p {
    color: #667085;

    max-width: 650px;

    margin: 10px auto 0;
}


/* =========================================
   TARJETA DEL ESPECIALISTA
========================================= */

.specialist-card {
    height: 100%;

    background: #ffffff;

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, .08);

    transition: all .3s ease;
}

.specialist-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 18px 42px rgba(0, 0, 0, .13);
}


/* =========================================
   FOTO DEL ESPECIALISTA
========================================= */

.doctor-photo {
    height: 260px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #eaf1f8;

    color: #0A4D8C;

    overflow: hidden;
}


/* Si todavía no hay foto */

.doctor-photo i {
    font-size: 90px;

    opacity: .55;
}


/* Cuando coloquemos una foto real */

.doctor-photo img {
    width: 100%;

    height: 100%;

    object-fit: cover;
}


/* =========================================
   INFORMACIÓN DEL ESPECIALISTA
========================================= */

.specialist-content {
    padding: 26px;
}

.specialist-content h3 {
    color: #0A4D8C;

    font-size: 21px;

    font-weight: 700;

    margin-bottom: 5px;
}


/* ESPECIALIDAD */

.specialty {
    color: fc2222;

    font-weight: 600;

    font-size: 14px;

    margin-bottom: 15px;
}


/* DESCRIPCIÓN */

.specialist-content p {
    color: #667085;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================
   DATOS DEL MÉDICO
========================================= */

.doctor-data {
    list-style: none;

    padding: 0;

    margin: 20px 0;
}

.doctor-data li {
    display: flex;

    gap: 10px;

    margin-bottom: 9px;

    font-size: 13px;

    color: #526273;
}

.doctor-data i {
    width: 18px;

    color: fc2222;

    margin-top: 3px;
}


/* =========================================
   BOTONES
========================================= */

.card-actions {
    display: flex;

    gap: 10px;

    flex-wrap: wrap;
}


/* VER PERFIL */

.btn-profile {
    background: #0A4D8C;

    color: #ffffff;

    border: 1px solid #0A4D8C;
}

.btn-profile:hover {
    background: #073b6d;

    color: #ffffff;
}


/* SOLICITAR CONSULTA */

.btn-appointment {
    background: transparent;

    color: fc2222;

    border: 1px solid fc2222;
}

.btn-appointment:hover {
    background: fc2222;

    color: #ffffff;
}

/* =========================================
   NOTA INFORMATIVA
========================================= */
.demo-note {
    background: #ffffff;
    border-left: 4px solid fc2222;
    border-radius: 10px;
    padding: 18px 20px;
    margin-top: 45px;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, .05);
}