.hero-veterinario {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    min-height: 400px;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: transparent;
    ;
    box-sizing: border-box;
    /* Añadido para el box model */
}

.hero-veterinario-header {
    position: relative;
    height: 220px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    z-index: 3;
    box-sizing: border-box;
    /* Añadido para el box model */
}

.hero-veterinario-header:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: linear-gradient(to bottom, rgba(5, 85, 134, 0.7), rgba(255, 255, 255, 0.1));
    border-radius: inherit;
    z-index: 1;
    box-sizing: border-box;
    /* Añadido para el box model */
}

.hero-header-bar {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 4;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    box-sizing: border-box;
}

.hero-btn-message,
.hero-btn-menu {
    /* display: inline-block; <-- DUPLICADO: Eliminado */
    width: 30px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    /* Mantengo este 'display' ya que es el deseado */
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    color: white;
    box-sizing: border-box;
    /* Añadido para el box model */
}

.hero-btn-message:hover,
.hero-btn-menu:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-btn-message svg,
.hero-btn-menu svg {
    display: block;
    width: 16px;
    height: 16px;
}

.hero-verification-badge {
    background-color: #d1fae5;
    /* Verde claro */
    color: #065f46;
    /* Verde oscuro */
    border: 1px solid #10b981;
    /* Borde sutil */
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 0;
    /* Remove float behavior if any */
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: default;
    line-height: normal;
    height: fit-content;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.hero-veterinario-profile-image {
    position: absolute;
    left: 40px;
    bottom: -60px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    z-index: 4;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    /* Añadido para el box model (width/height con border) */
}

.hero-veterinario-body {
    position: relative;
    z-index: 2;
    padding: 70px 40px 40px 40px;
    background: #fff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
}

.hero-veterinario-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #112091;
    margin-bottom: 5px;
    text-transform: capitalize;
    font-family: 'DM Serif Text';
}

.hero-veterinario-job-title {
    font-size: 1.1rem;
    font-weight: 400;
    color: #919191;
    margin-bottom: 1px;
}

.hero-veterinario-bio {
    font-size: 0.95rem;
    color: #7B7B7B;
    font-weight: 300;
    margin-bottom: 1px;
    max-width: 800px;
    line-height: 1.6;
}

.hero-veterinario-social-accounts {
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.hero-veterinario-social-accounts a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
    /* Fondo oscuro semitransparente para el header */
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    color: white;
    /* Color del texto/icono por defecto */
    text-decoration: none;
}

.hero-veterinario-social-accounts a:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-veterinario-social-accounts svg,
.hero-veterinario-social-accounts i {
    width: 20px;
    /* Para SVGs */
    height: 20px;
    /* Para SVGs */
    font-size: 18px;
    /* Para Iconos FontAwesome */
    fill: white;
    /* Para SVGs */
    color: white;
    /* Para Iconos FontAwesome */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-veterinario-stats {
    display: flex;
    gap: 40px;
    margin-top: 10px;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    box-sizing: border-box;
    /* Añadido para el box model */
}

.hero-veterinario-stat {
    text-align: left;
    flex: 1;
    min-width: 120px;
    box-sizing: border-box;
    /* Añadido para el box model (width con padding/border) */
}

.hero-veterinario-stat .label {
    display: block;
    text-transform: uppercase;
    font-weight: 300;
    font-size: 11px;
    color: #95989A;
    white-space: nowrap;
}

.hero-veterinario-stat .value {
    display: block;
    font-weight: 700;
    font-size: 1.5rem;
    margin-top: 2px;
}

@media (min-width: 601px) and (max-width: 991px) {
    .hero-veterinario {
        min-height: 450px;
        box-sizing: border-box;
        /* Asegurar box-sizing también aquí */
    }

    .hero-veterinario-header {
        height: 250px;
    }

    .hero-veterinario-profile-image {
        width: 150px;
        height: 150px;
        bottom: -75px;
        left: 40px;
        transform: none;
        box-sizing: border-box;
        /* Asegurar box-sizing también aquí */
    }

    .hero-veterinario-body {
        padding-left: 200px;
        padding-right: 40px;
        padding-top: 0px;
        box-sizing: border-box;
        /* Asegurar box-sizing también aquí */
    }

    .hero-veterinario-name {
        font-size: 2.2rem;
    }

    .hero-veterinario-job-title {
        font-size: 1.1rem;
        margin-bottom: 1px;
    }

    .hero-veterinario-bio {
        font-size: 0.95rem;
        margin-bottom: 1px;
    }

    .hero-veterinario-stats {
        gap: 30px;
    }
}

@media (min-width: 992px) {
    .hero-veterinario {
        min-height: 500px;
        box-sizing: border-box;
        /* Asegurar box-sizing también aquí */
    }

    .hero-veterinario-header {
        height: 300px;
    }

    .hero-veterinario-profile-image {
        width: 180px;
        height: 180px;
        bottom: -90px;
        left: 50px;
        transform: none;
        box-sizing: border-box;
        /* Asegurar box-sizing también aquí */
    }

    .hero-veterinario-body {
        padding-left: 260px;
        padding-right: 60px;
        padding-top: 0px;
        box-sizing: border-box;
        /* Asegurar box-sizing también aquí */
    }

    .hero-veterinario-name {
        font-size: 3rem;
    }

    .hero-veterinario-job-title {
        font-size: 1.3rem;
        margin-bottom: 1px;
    }

    .hero-veterinario-bio {
        font-size: 1.1rem;
        margin-bottom: 1px;
    }

    .hero-veterinario-stats {
        gap: 50px;
    }
}

@media (max-width: 600px) {
    .hero-veterinario {
        min-height: 350px;
        padding-bottom: 20px;
        width: 100%;
        left: 0;
        right: 0;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
        /* Asegurar box-sizing también aquí */
    }

    .hero-veterinario-header {
        min-height: 180px;
        align-items: flex-end;
        justify-content: center;
    }

    .hero-veterinario-profile-image {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: -50px;
        width: 100px;
        height: 100px;
        margin-top: 0;
        box-sizing: border-box;
        /* Asegurar box-sizing también aquí */
    }

    .hero-veterinario-body {
        padding: 60px 20px 20px 20px;
        align-items: center;
        text-align: center;
        box-sizing: border-box;
        /* Asegurar box-sizing también aquí */
    }

    .hero-veterinario-name {
        font-size: 1.8rem;
    }

    .hero-veterinario-job-title {
        font-size: 1rem;
        margin-bottom: 1px;
    }

    .hero-veterinario-bio {
        font-size: 0.9rem;
        max-width: 100%;
        margin-bottom: 1px;
    }

    .hero-veterinario-social-accounts {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero-veterinario-stats {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0;
        align-items: stretch;
        padding: 0 0;
        width: 100%;
        margin-top: 10px;
        box-sizing: border-box;
        /* Asegurar box-sizing también aquí */
    }

    .hero-veterinario-stat {
        width: 100%;
        text-align: center;
        min-width: 0;
        padding: 0 2px;
        box-sizing: border-box;
        border-left: 1px solid #e0e0e0;
    }

    .hero-veterinario-stat:first-child {
        border-left: none;
    }

    .hero-veterinario-stat .label {
        font-size: 10px;
        white-space: normal;
        line-height: 1.1;
        word-break: break-word;
    }

    .hero-veterinario-stat .value {
        font-size: 1.1rem;
        margin-top: 2px;
        word-break: break-word;
    }
}



.hero-medical-license {
    font-size: 1rem;
    color: #7B7B7B;
    font-weight: 300;
    margin-top: 1px;
    margin-bottom: 15px;
    max-width: 800px;
    line-height: 1.6;
}

/* Estilos para el modo contenido ('ancho=contenido') */
.hero-veterinario.hero-veterinario-contained {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: auto !important;
    right: auto !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (min-width: 992px) {
    .hero-veterinario.hero-veterinario-contained .hero-veterinario-body {
        padding: 10px 40px 40px 240px;
        /* Espacio para la imagen a la izquierda */
        align-items: flex-start;
        text-align: left;
    }

    .hero-veterinario.hero-veterinario-contained .hero-veterinario-profile-image {
        left: 40px;
        transform: none;
        bottom: -60px;
    }

    .hero-veterinario.hero-veterinario-contained .hero-veterinario-stats {
        justify-content: flex-start;
        gap: 40px;
        width: 100%;
    }

    .hero-veterinario.hero-veterinario-contained .hero-veterinario-stat {
        flex: 0 1 auto;
        min-width: unset;
        text-align: left;
    }

    .hero-veterinario.hero-veterinario-contained .hero-veterinario-social-accounts {
        justify-content: flex-start;
    }
}