/**
 * Hoja de estilos principal - Clínica Avril
 * Réplica fiel de la estética original (Bridge Child + WPBakery + RevSlider)
 * optimizada sobre Bootstrap 5 para carga ultrarrápida (< 3s en móvil).
 */

:root {
    --avril-teal: #009e94;
    --avril-teal-menu: #009f95;
    --avril-teal-hover: #38b3a7;
    --avril-teal-dark: #1b7064;
    --avril-teal-border: #008179;
    --avril-teal-label: #008275;
    --avril-slate: #9aacac;
    --avril-gray-bg: #edeff1;
    --avril-header-bg: #f9f9f9;
    --avril-form-bg: #f6f6f6;
    --avril-footer-bg: #31363a;
    --avril-text: #6b6b6b;
    --avril-heading-gray: #999999;
    --avril-muted: #919191;
    --avril-orange: #ef7f1a;
}

/* Selección de texto */
::selection {
    background: #42aa96;
    color: #ffffff;
}

/* Tipografía base */
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--avril-text);
    font-size: 15px;
    line-height: 1.5;
    background-color: #ffffff;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-family: 'Open Sans', sans-serif;
    margin-top: 0;
}

h1, .h1 {
    color: #6b6b6b;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 1px;
}

h2, .h2 {
    color: #13a095;
    font-size: 32px;
    font-weight: 700;
}

h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    color: var(--avril-heading-gray);
}

p {
    font-family: 'Open Sans', sans-serif;
    color: var(--avril-text);
    font-size: 15px;
    line-height: 22px;
}

a {
    color: var(--avril-teal-menu);
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
}

a:hover {
    color: #91b2c3;
}

.text-teal {
    color: var(--avril-teal) !important;
}

/* Contenedor principal alineado al ancho de Bridge (1100px - 1200px) */
.container {
    max-width: 1140px;
}

/* ==========================================================================
 * HEADER SUPERIOR Y BARRA TELEFÓNICA
 * ========================================================================== */
.page_header {
    position: sticky;
    top: 0;
    z-index: 1030;
    width: 100%;
    background-color: var(--avril-header-bg);
    border-bottom: 1px solid rgba(148, 148, 148, 0.2);
}

.header_top {
    background-color: var(--avril-header-bg);
    border-bottom: 1px solid #eeeeee;
}

.menu_arriba {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row-reverse;
    align-items: stretch;
    justify-content: flex-start;
    font-size: 15px;
    color: var(--avril-teal-dark);
    letter-spacing: 0.5px;
}

.menu_arriba li {
    padding: 8px 14px;
    width: 21%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.menu_arriba li p {
    margin: 0;
    font-weight: 700;
    font-size: 17px !important;
    line-height: 24px !important;
    font-family: 'Montserrat', sans-serif;
}

.menu_arriba li.costa {
    background-color: #d5d8dc;
    color: #ffffff;
    font-weight: 700;
    text-align: center;
    border-right: 3px solid #389D94;
}

.menu_arriba li.costa p.mdeop {
    color: #389D94 !important;
    text-align: center;
}

.menu_arriba li.gratuita {
    background: url('../images/tel.webp') no-repeat 14px center, #CCCED2;
    background-size: 22px 22px;
    color: #389D94;
    font-weight: 700;
    padding: 8px 10px 8px 42px;
    font-size: 18px;
    border-right: 3px solid #389D94;
    text-align: center;
}

.menu_arriba li.gratuita p.gratuitap {
    color: #389D94 !important;
    text-align: center;
}

.menu_arriba li.costos {
    width: 58%;
    padding: 4px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu_arriba li.costos p {
    color: var(--avril-muted) !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    text-align: center;
    line-height: 1.3 !important;
    font-family: 'Open Sans', sans-serif;
}

/* ==========================================================================
 * HEADER INFERIOR: LOGO Y NAVEGACIÓN PRINCIPAL
 * ========================================================================== */
.header_bottom {
    background-color: var(--avril-header-bg);
    position: relative;
}

.header_bottom_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100px;
}

.logo_wrapper {
    height: 100px;
    display: flex;
    align-items: center;
    position: relative;
}

.q_logo a {
    display: inline-block;
}

.q_logo img.normal-logo {
    width: 115px;
    height: auto;
    position: relative;
    z-index: 250;
}

.q_logo img.mobile-logo {
    display: none;
    height: 68px;
    width: auto;
}

/* Menú Desktop */
nav.main_menu > ul {
    list-style: none;
    margin: 10px 0 0 0;
    padding: 0 0 10px 0;
    display: flex;
    align-items: center;
}

nav.main_menu > ul > li {
    position: relative;
}

nav.main_menu > ul > li > a {
    display: block;
    padding: 6px 18px;
    color: var(--avril-teal-menu);
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    text-align: center;
    border-right: 1px solid #dedede;
}

nav.main_menu > ul > li:last-child > a {
    border-right: none;
}

nav.main_menu > ul > li > a p {
    margin: 0;
    font-size: 18px;
    line-height: 24px;
    color: inherit;
}

nav.main_menu > ul > li:hover > a,
nav.main_menu > ul > li.active > a {
    color: var(--avril-teal-hover);
}

/* Submenús Desplegables (Wide y Narrow) */
nav.main_menu > ul > li > .second {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 1050;
}

nav.main_menu > ul > li.right_position > .second {
    left: auto;
    right: 0;
}

nav.main_menu > ul > li:hover > .second {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

nav.main_menu > ul > li.wide > .second .inner > ul {
    display: flex;
    width: 400px;
    list-style: none;
    margin: 0;
    padding: 20px 10px;
    gap: 0;
}

nav.main_menu > ul > li.wide > .second .inner > ul > li.sub {
    flex: 1;
    padding: 0 20px;
    border-right: 1px solid #eeeeee;
}

nav.main_menu > ul > li.wide > .second .inner > ul > li.sub:last-child {
    border-right: none;
}

nav.main_menu > ul > li.wide > .second .inner > ul > li.sub > span.sub_title {
    display: block;
    color: var(--avril-teal-menu);
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 10px;
    margin-bottom: 6px;
}

nav.main_menu > ul > li.wide > .second .inner > ul > li.sub > ul,
nav.main_menu > ul > li.narrow > .second .inner > ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav.main_menu > ul > li.narrow > .second .inner > ul {
    width: 240px;
    padding: 12px 6px;
}

nav.main_menu .second ul li a {
    display: block;
    padding: 8px 6px;
    color: #9d9d9d;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    border-bottom: none;
}

nav.main_menu .second ul li a:hover {
    color: #303030 !important;
    background-color: transparent;
}

/* Botón Menú Móvil */
.mobile_menu_button {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--avril-teal-menu);
    padding: 8px 12px;
    cursor: pointer;
}

nav.mobile_menu {
    display: none;
    background-color: #ffffff;
    border-top: 1px solid #eeeeee;
    padding: 10px 0;
}

nav.mobile_menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav.mobile_menu ul li {
    border-bottom: 1px solid #f2f2f2;
}

nav.mobile_menu ul li .mobile_item_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav.mobile_menu ul li a,
nav.mobile_menu ul li .mobile_sub_heading {
    display: block;
    padding: 10px 16px;
    color: #444444;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    margin: 0;
    flex-grow: 1;
}

nav.mobile_menu ul li .mobile_arrow {
    padding: 10px 16px;
    cursor: pointer;
    color: var(--avril-teal);
}

nav.mobile_menu ul.sub_menu {
    display: none;
    background-color: #f9f9f9;
    padding-left: 14px;
}

/* ==========================================================================
 * SLIDER DE INICIO (CARRUSEL HERO)
 * ========================================================================== */
.hero_slider_section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #f4f5f7;
}

.hero_slider_section .carousel-item {
    height: 500px;
    position: relative;
}

.hero_slider_section .slide_bg_img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
}

.hero_slider_section .slide_overlay_container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}

.hero_slider_section .slide_caption_box {
    max-width: 520px;
}

.hero_slider_section .slide_caption_box.align-right {
    margin-left: auto;
    text-align: left;
}

.hero_slider_section .titulo-slider {
    font-family: 'Open Sans', sans-serif;
    color: #666666;
    font-size: 56px;
    line-height: 66px;
    font-weight: 400;
    margin-bottom: 24px;
}

.hero_slider_section .rev-btn {
    display: inline-block;
    font-family: 'Roboto', 'Open Sans', sans-serif;
    color: #ffffff;
    font-size: 17px;
    line-height: 17px;
    font-weight: 400;
    padding: 14px 35px;
    text-transform: uppercase;
    transition: all 0.2s ease;
    border: none;
}

.hero_slider_section .rev-btn:hover {
    background-color: #ffffff !important;
    color: #7f7f7f !important;
}

.hero_slider_section .slide_badge {
    margin-top: 24px;
    max-width: 280px;
    height: auto;
}

/* ==========================================================================
 * SECCIONES DEL HOME (LÍNEA GRATUITA, RENOVATE, AGENDÁ CONSULTA)
 * ========================================================================== */
.linea_gratuita_home {
    background-color: var(--avril-teal) !important;
    padding: 18px 0;
    text-align: center;
}

.linea_gratuita_home .linea_gratuita_title {
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
}

.renovate_section {
    padding: 50px 0 40px 0;
    text-align: center;
}

.renovate_section h1 {
    color: var(--avril-heading-gray);
    font-family: 'Open Sans', sans-serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0;
}

/* Tarjetas de Categorías en Desktop */
.home_renovate_card {
    background-color: var(--avril-gray-bg);
    padding-bottom: 20px;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home_renovate_card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.home_renovate_card img {
    width: 100%;
    height: auto;
    display: block;
}

.home_renovate_card h2.card_cat_title {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
    text-align: center;
    color: var(--avril-heading-gray);
    margin: 14px 0 0 0;
    padding: 4px 6px;
    border-right: 2px solid var(--avril-teal-border);
}

.home_renovate_col:last-child .home_renovate_card h2.card_cat_title {
    border-right: none;
}

.home_renovate_card h2.card_cat_title a {
    color: var(--avril-heading-gray);
}

.home_renovate_card h2.card_cat_title a:hover {
    color: var(--avril-teal);
}

/* Bloques de Categorías en Móvil */
.mobile_cta_banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 36px 20px;
    text-align: center;
    margin-bottom: 4px;
    position: relative;
}

.mobile_cta_banner a.qbutton_mobile {
    display: inline-block;
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.65);
}

/* Franja Agendá Ahora tu Consulta Vía Web */
.agenda_consulta {
    background-color: var(--avril-slate) !important;
    padding: 26px 0;
    text-align: center;
}

.agenda_consulta h2 {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 30px;
    font-weight: 400;
    color: #ffffff;
}

.agenda_consulta h2 a {
    color: #ffffff;
    font-weight: 400;
}

.agenda_consulta h2 a:hover {
    opacity: 0.9;
}

/* ==========================================================================
 * CABECERA DE PÁGINAS INTERNAS Y PORTFOLIO DE TRATAMIENTOS
 * ========================================================================== */
.title_outer {
    background-color: #ffffff;
    padding: 48px 0 28px 0;
    border-bottom: 1px solid #eeeeee;
}

.title_outer h1 {
    margin: 0;
    color: #6b6b6b;
    font-size: 28px;
    font-weight: 600;
}

.page_container_inner {
    padding-top: 40px;
    padding-bottom: 50px;
}

/* Tarjetas de Tratamientos (Portfolio Grid) */
.portfolio_card {
    background-color: #ffffff;
    margin-bottom: 10px;
    height: 100%;
}

.portfolio_card .image_holder {
    position: relative;
    overflow: hidden;
    background-color: #f4f4f4;
}

.portfolio_card .image_holder img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform 0.35s ease;
    display: block;
}

.portfolio_card .image_holder:hover img {
    transform: scale(1.04);
}

.portfolio_card .image_holder .hover_overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 158, 148, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.portfolio_card .image_holder:hover .hover_overlay {
    opacity: 1;
}

.qbutton {
    display: inline-block;
    padding: 8px 22px;
    background-color: var(--avril-teal-dark);
    border: 2px solid var(--avril-teal-dark);
    color: #ffffff !important;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.qbutton:hover {
    background-color: #303030;
    border-color: #303030;
    color: #ffffff !important;
}

.portfolio_card .portfolio_description {
    padding: 20px 8px 22px;
    background-color: #ffffff;
    text-align: center;
}

.portfolio_card .portfolio_description.bg_gray {
    background-color: #f4f4f4;
    text-align: center;
    min-height: 77px;
    padding: 20px 8px 22px;
}

.portfolio_card .portfolio_title {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 1.571em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 7px;
    color: #999999;
}

.portfolio_card .portfolio_title a {
    color: #999999;
}

.portfolio_card .portfolio_title a:hover {
    color: var(--avril-teal);
}

.otros_tratamientos_section {
    margin-top: 30px;
}

.otros_tratamientos_heading {
    font-family: 'Open Sans', sans-serif;
    font-size: 19px;
    line-height: 1.375em;
    font-weight: 400;
    color: #999999;
    margin-bottom: 26px;
}

/* ==========================================================================
 * VISTA INDIVIDUAL DE TRATAMIENTO (tratamientos.php) Y SIDEBAR ACORDEÓN
 * ========================================================================== */
.portfolio_single_image {
    text-align: center;
    margin-bottom: 18px;
}

.portfolio_single_image img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.portfolio_single_text_holder {
    color: #000000;
}

.portfolio_single_text_holder .wpb_content_element {
    margin-bottom: 22px;
}

.portfolio_single_text_holder .wpb_wrapper {
    margin-bottom: 26px;
}

.portfolio_single_text_holder .wpb_single_image.vc_align_center {
    text-align: center;
}

.portfolio_single_text_holder .wpb_single_image img {
    max-width: 100%;
    height: auto;
}

.portfolio_single_text_holder .wpb_video_widget .wpb_wrapper {
    position: relative;
    width: 100%;
}

.portfolio_single_text_holder .wpb_video_widget .wpb_video_wrapper {
    padding-top: 56.25%;
    position: relative;
    width: 100%;
}

.portfolio_single_text_holder .wpb_video_widget .wpb_wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    margin: 0;
    top: 0;
    left: 0;
    border: 0;
}

.portfolio_single_text_holder p {
    color: #6b6b6b;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 20px;
    margin: 0;
}

.portfolio_single_text_holder h2 {
    color: #13a095;
    font-family: 'Open Sans', sans-serif;
    font-size: 32px;
    line-height: 1.384em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.portfolio_single_text_holder h3 {
    color: #999999;
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    line-height: 1.304em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.portfolio_single_text_holder h4 {
    color: #999999;
    font-family: 'Open Sans', sans-serif;
    font-size: 19px;
    line-height: 1.375em;
    font-weight: 400;
    margin: 0;
}

.portfolio_single_text_holder h5 {
    color: #999999;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 1.571em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.portfolio_single_text_holder h6 {
    color: #999999;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    line-height: 1.538em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.portfolio_single_text_holder img.alignright {
    float: right;
    margin: 0 0 15px 20px;
    max-width: 100%;
    height: auto;
}

.portfolio_single_text_holder img.alignleft {
    float: left;
    margin: 0 20px 15px 0;
    max-width: 100%;
    height: auto;
}

.portfolio_single_text_holder .gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 16px 0;
}

.portfolio_single_text_holder .gallery-item {
    margin: 0;
}

.portfolio_single_text_holder .gallery-item img {
    max-width: 100%;
    height: auto;
    border: 1px solid #eeeeee;
}

/* Acordeón lateral de Tratamientos (Idéntico a demo/sobrepeso.htm) */
.widget_tratamientos {
    padding-bottom: 30px;
}

.widget_tratamientos .accordion-item {
    border: none;
    background-color: transparent;
    margin-bottom: 5px;
}

.widget_tratamientos .accordion-header {
    margin: 0;
}

.widget_tratamientos .accordion-button {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #9aacac !important;
    background-color: transparent !important;
    padding: 0;
    min-height: 45px;
    text-transform: uppercase;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    gap: 18px;
}

.widget_tratamientos .accordion-button::after {
    display: none !important;
}

.widget_tratamientos .accordion-button::before {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    min-width: 45px;
    border: 2px solid #e3e3e3;
    border-radius: 3px;
    background-color: transparent;
    color: #9aacac;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    transition: background-color 0.3s ease-in-out;
}

.widget_tratamientos .accordion-button:not(.collapsed)::before {
    content: "−";
    background-color: #e3e3e3;
    border-color: #e3e3e3;
    color: #303030;
}

.widget_tratamientos .accordion-body {
    padding: 8px 0 25px 63px;
    background-color: transparent;
}

.accordion_tratamientos {
    list-style: none;
    padding: 0;
    margin: 0;
    text-transform: uppercase;
}

.accordion_tratamientos li {
    margin-bottom: 2px;
    border: none !important;
}

.accordion_tratamientos li a {
    color: #008179 !important;
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 20px;
}

.accordion_tratamientos li a:hover,
.accordion_tratamientos li a.active {
    color: #008179 !important;
}

/* ==========================================================================
 * FORMULARIO DE CONTACTO Y CONSULTA (Réplica exacta de #nf-form-2-cont)
 * ========================================================================== */
.avril_form_box {
    background-color: #f6f6f6;
    padding: 20px;
    border-radius: 0;
    margin-top: 22px;
    margin-bottom: 30px;
}

.avril_form_box .required_note {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 20px;
    color: #6b6b6b;
    margin-bottom: 25px;
}

.avril_form_box .req_symbol {
    color: #e80000;
    font-weight: 400;
}

.avril_form_box .mb-3 {
    margin-bottom: 25px !important;
}

.avril_form_box label.form-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    color: #008275;
    font-weight: 400 !important;
    margin-bottom: 10px;
}

.avril_form_box .form-control,
.avril_form_box .form-select {
    background-color: #ffffff;
    border: none;
    border-radius: 0;
    padding: 5px;
    min-height: 34px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #000000;
    box-shadow: none;
}

.avril_form_box .form-control:focus,
.avril_form_box .form-select:focus {
    background-color: #ffffff;
    outline: 1px solid #008275;
    box-shadow: none;
}

.avril_form_box textarea.form-control {
    height: 200px;
    resize: vertical;
}

.avril_form_box .btn_avril_submit {
    display: inline-block;
    background-color: #91B2C3;
    border: 2px solid #91B2C3;
    border-radius: 100px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    height: 39px;
    line-height: 35px;
    padding: 0 23px;
    cursor: pointer;
    transition: all 0.1s linear;
}

.avril_form_box .btn_avril_submit:hover {
    background-color: #303030;
    border-color: #303030;
    color: #ffffff;
}

/* ==========================================================================
 * FOOTER
 * ========================================================================== */
footer {
    background-color: var(--avril-footer-bg);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
}

.footer_top {
    padding: 55px 0 45px 0;
}

footer .footer_logo {
    max-width: 230px;
    height: auto;
    margin-bottom: 14px;
}

footer h5 {
    font-family: 'Open Sans', sans-serif;
    color: var(--avril-muted) !important;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

footer p,
footer .textwidget {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    line-height: 1.6;
}

footer .subtitulo {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
}

footer .texto_footer {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

footer .social_links a {
    display: inline-block;
    color: #919191 !important;
    background: transparent !important;
    font-size: 19px;
    margin-right: 18px;
    transition: color 0.2s ease;
}

footer .social_links a:hover {
    color: #91b2c3 !important;
}

footer ul.footer_nav_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul.footer_nav_list li {
    line-height: 26px;
    font-size: 15px;
    font-weight: 500;
}

footer ul.footer_nav_list li a {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif;
}

footer ul.footer_nav_list li a:hover {
    color: #91b2c3 !important;
}

/* ==========================================================================
 * BOTÓN FLOTANTE DE WHATSAPP (ABAJO A LA IZQUIERDA)
 * ========================================================================== */
.whatsapp_float_btn {
    position: fixed;
    bottom: 22px;
    left: 22px;
    width: 58px;
    height: 58px;
    background-color: #25d366;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    z-index: 999999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp_float_btn.pos-right {
    left: auto;
    right: 22px;
}

.whatsapp_float_btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.whatsapp_float_btn img,
.whatsapp_float_btn svg {
    width: 32px;
    height: 32px;
}

/* ==========================================================================
 * RESPONSIVIDAD MÓVIL Y TABLET
 * ========================================================================== */
@media screen and (max-width: 1199px) {
    nav.main_menu > ul > li > a,
    nav.main_menu > ul > li > a p {
        font-size: 15px;
        padding: 4px 10px;
    }
}

@media screen and (max-width: 991px) {
    .header_top {
        display: none !important;
    }

    nav.main_menu {
        display: none !important;
    }

    .mobile_menu_button {
        display: block;
    }

    .header_bottom_inner {
        min-height: 76px;
    }

    .logo_wrapper {
        height: 76px;
    }

    .q_logo img.normal-logo {
        display: none;
    }

    .q_logo img.mobile-logo {
        display: block;
    }

    .linea_gratuita_home .linea_gratuita_title {
        font-size: 20px;
    }

    .agenda_consulta h2 {
        font-size: 22px;
    }

    .title_outer {
        padding: 28px 0 20px 0;
    }
}


/* ==========================================================================
 * ESTILOS COMPLEMENTARIOS DE COMPONENTES MODULARES (PHP 8.5 + BOOTSTRAP 5)
 * ========================================================================== */

/* Header Top Bar */
.header_top_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    font-size: 14px;
}

.header_top_left {
    display: flex;
    align-items: stretch;
}

.header_top_left .phone_city {
    background-color: #d5d8dc;
    color: #389D94;
    font-weight: 700;
    padding: 8px 18px;
    border-right: 3px solid #389D94;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
}

.header_top_left .phone_free {
    background-color: #CCCED2;
    color: #389D94;
    font-weight: 700;
    padding: 8px 18px;
    border-right: 3px solid #389D94;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.header_top_right {
    color: var(--avril-muted);
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    padding: 6px 12px;
    text-align: right;
}

/* Header Bottom Flexbox */
.header_inner_flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 96px;
}

.q_logo img.normal {
    width: 195px;
    height: auto;
    display: block;
}

.q_logo img.mobile {
    display: none;
    width: 170px;
    height: auto;
}

nav.mobile_menu ul li .mobile_arrow .fa-angle-down {
    display: none;
}

nav.mobile_menu ul li.open > .mobile_arrow .fa-angle-right {
    display: none;
}

nav.mobile_menu ul li.open > .mobile_arrow .fa-angle-down {
    display: inline-block;
}

/* Hero Slider Home */
.home-hero-slider {
    position: relative;
    background-color: #f4f5f7;
    overflow: hidden;
}

.home-hero-slider .carousel-item {
    position: relative;
    min-height: 440px;
    max-height: 500px;
}

.home-hero-slider .hero-bg-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.home-hero-slider .hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.45) 55%, rgba(255,255,255,0) 100%);
}

.home-hero-slider .hero-caption h2 {
    font-family: 'Open Sans', sans-serif;
    color: #555555;
    font-size: 46px;
    line-height: 1.18;
    font-weight: 400;
    margin-bottom: 14px;
}

.home-hero-slider .hero-caption p {
    font-size: 20px;
    color: var(--avril-teal-dark);
    font-weight: 600;
    margin-bottom: 18px;
}

.home-hero-slider .hero-badge {
    margin-bottom: 18px;
}

.qbutton.white {
    background-color: var(--avril-teal);
    border-color: var(--avril-teal);
    color: #ffffff !important;
    padding: 12px 30px;
    font-size: 14px;
}

.qbutton.white:hover {
    background-color: var(--avril-teal-dark);
    border-color: var(--avril-teal-dark);
    color: #ffffff !important;
}

/* Barra Línea Gratuita Home */
.linea_gratuita_bar {
    background-color: var(--avril-teal);
    padding: 16px 0;
    text-align: center;
}

.linea_gratuita_bar .linea_gratuita_title {
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
}

.home_main_h1 {
    text-align: center;
    color: var(--avril-heading-gray);
    font-family: 'Open Sans', sans-serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 24px 0 32px 0;
}

/* Cards de Categorías en Home */
.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background-color: var(--avril-gray-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.category-card .card-img {
    width: 100%;
    height: auto;
    border-radius: 0;
    display: block;
}

.category-card .category-overlay {
    padding: 14px 12px;
    background-color: var(--avril-gray-bg);
    text-align: center;
    border-top: 3px solid var(--avril-teal);
}

.category-card .category-overlay-top h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #666666;
    margin: 0 0 4px 0;
}

.category-card .category-overlay-bottom p {
    font-size: 13px;
    color: #777777;
    margin: 0;
    line-height: 1.35;
}

.category-card .category-link-cover {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.mobile-category-banner {
    margin-bottom: 10px;
}

.mobile-category-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
}

/* Barra CTA Agendá Ahora tu Consulta Vía Web */
.cta_agenda_bar {
    background-color: var(--avril-slate);
    padding: 26px 0;
    margin-top: 20px;
}

.cta_agenda_inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    text-align: center;
}

.cta_agenda_text {
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-size: 26px;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Cabecera de Sección con H1 Único */
.page_title_section {
    background-color: #f7f8f9;
    padding: 34px 0 26px 0;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 10px;
}

.page_title_section h1 {
    margin: 0;
    color: #5e5e5e;
    font-family: 'Open Sans', sans-serif;
    font-size: 28px;
    font-weight: 600;
}

/* Grilla de Tratamientos (Portfolio Cards) */
.portfolio-card {
    background-color: #f4f4f4;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portfolio-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.portfolio-img-wrap {
    position: relative;
    overflow: hidden;
    background-color: #e9ecef;
}

.portfolio-img-wrap img {
    width: 100%;
    height: auto;
    aspect-ratio: 585 / 390;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.portfolio-card:hover .portfolio-img-wrap img {
    transform: scale(1.04);
}

.portfolio-hover-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 158, 148, 0.42);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.portfolio-card:hover .portfolio-hover-overlay {
    opacity: 1;
}

.portfolio-desc {
    padding: 14px 12px;
    text-align: center;
    background-color: #f4f4f4;
}

.portfolio-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.portfolio-title a {
    color: #6b6b6b;
}

.portfolio-title a:hover {
    color: var(--avril-teal);
}

.portfolio-category {
    display: block;
    font-size: 12px;
    color: #999999;
    text-transform: uppercase;
}

/* Ficha Individual de Tratamiento */
.treatment-detail-img img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.treatment-detail-content p {
    color: #444444;
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 14px;
}

.related-treatments-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--avril-teal-dark);
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid #eeeeee;
}

/* Sidebar Acordeón */
.widget_tratamientos .accordion-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Formularios de Consulta y Contacto */
.avril-form-wrapper {
    background-color: var(--avril-form-bg);
    padding: 26px;
    border-radius: 3px;
    border: 1px solid #eaeaea;
}

.avril-form-wrapper h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--avril-teal-dark);
    margin-bottom: 8px;
}

.avril-form-wrapper .form-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--avril-teal-label);
    margin-bottom: 4px;
}

.avril-form-wrapper .form-control,
.avril-form-wrapper .form-select {
    border-radius: 0;
    border: 1px solid #dcdcdc;
    font-size: 14px;
    padding: 9px 12px;
}

.avril-form-wrapper .form-control:focus,
.avril-form-wrapper .form-select:focus {
    border-color: var(--avril-teal);
    box-shadow: 0 0 0 2px rgba(0, 158, 148, 0.15);
}

.turnstile-wrapper {
    margin: 14px 0;
}

.btn-submit-avril {
    display: inline-block;
    background-color: var(--avril-teal);
    border: 2px solid var(--avril-teal);
    color: #ffffff !important;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 30px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-submit-avril:hover {
    background-color: var(--avril-teal-dark);
    border-color: var(--avril-teal-dark);
    color: #ffffff !important;
}

.contact-info-box {
    background-color: #f9f9f9;
    padding: 22px;
    border-left: 4px solid var(--avril-teal);
}

/* Footer Columnas y WhatsApp Flotante */
.footer_col .footer_social {
    margin: 12px 0 18px 0;
}

.footer_col .q_social_icon_holder a {
    display: inline-block;
    background: transparent !important;
    color: #919191 !important;
    font-size: 19px;
    margin-right: 18px;
    transition: color 0.2s ease;
}

.footer_col .q_social_icon_holder a:hover {
    background: transparent !important;
    color: #91b2c3 !important;
}

.footer_highlight_label {
    font-weight: 700;
    color: var(--avril-teal-hover) !important;
    margin-bottom: 2px;
    margin-top: 10px;
    font-size: 13px;
}

.footer_col.widget_nav_menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer_col.widget_nav_menu ul li {
    margin-bottom: 6px;
}

.footer_col.widget_nav_menu ul li a,
.footer_col a {
    color: #e0e0e0;
}

.footer_col.widget_nav_menu ul li a:hover,
.footer_col a:hover {
    color: var(--avril-teal-hover);
}

.whatsapp-float {
    position: fixed;
    bottom: 22px;
    left: 22px;
    width: 58px;
    height: 58px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
    z-index: 999999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float.pos-right {
    left: auto;
    right: 22px;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Página 404 */
.error-404-box {
    text-align: center;
    padding: 50px 24px;
    border-top: 4px solid var(--avril-teal);
}

.error-404-code {
    font-size: 84px;
    font-weight: 700;
    color: var(--avril-teal);
    line-height: 1;
    margin-bottom: 12px;
}

@media screen and (max-width: 991px) {
    .q_logo img.normal {
        display: none;
    }
    .q_logo img.mobile {
        display: block;
    }
    .home-hero-slider .hero-bg-img {
        height: 340px;
    }
    .home-hero-slider .hero-caption h2 {
        font-size: 28px;
    }
    .home-hero-slider .hero-caption p {
        font-size: 16px;
    }
}


/* ==========================================================================
 * AJUSTES ESTÉTICOS DE PRECISIÓN (RÉPLICA EXACTA DE LA HOME ORIGINAL)
 * ========================================================================== */

.page_header {
    background-color: #f9f9f9 !important;
    border-bottom: 1px solid rgba(148, 148, 148, 0.2);
    padding: 8px 0 12px 0;
}

.avril_header_grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.avril_header_grid .logo_wrapper {
    height: auto !important;
    margin-top: 0 !important;
    padding: 2px 0;
    flex-shrink: 0;
}

.avril_header_grid .q_logo img.normal-logo {
    width: 128px;
    height: auto !important;
    display: block;
    top: 0 !important;
}

.header_right_stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-grow: 1;
}

.header_top_phones {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
    margin-right: 60px;
}

.header_top_phones .menu_arriba {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header_top_phones .menu_arriba li {
    width: auto !important;
    float: none !important;
    background: transparent !important;
    padding: 0 22px !important;
    text-align: center;
}

.header_top_phones .menu_arriba li.gratuita {
    border-right: 1px solid #dedede !important;
}

.header_top_phones .menu_arriba li.costa {
    border-right: none !important;
}

.header_top_phones .menu_arriba li .top_label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 3px;
    line-height: 1.2;
    margin-bottom: 2px;
}

.header_top_phones .menu_arriba li.gratuita .top_label {
    color: #389D94;
}

.header_top_phones .menu_arriba li.costa .top_label {
    color: #919191;
}

.header_top_phones .menu_arriba li.gratuita p.gratuitap {
    font-family: 'Montserrat', sans-serif;
    font-size: 25px !important;
    line-height: 27px !important;
    font-weight: 700 !important;
    color: #389D94 !important;
    letter-spacing: 2px;
    margin: 0;
}

.header_top_phones .menu_arriba li.costa p.mdeop {
    font-family: 'Montserrat', sans-serif;
    font-size: 25px !important;
    line-height: 27px !important;
    font-weight: 700 !important;
    color: #919191 !important;
    letter-spacing: 2px;
    margin: 0;
}

.header_costos_note {
    color: #919191 !important;
    font-family: 'Open Sans', sans-serif;
    font-size: 13.5px !important;
    font-weight: 400 !important;
    text-align: center;
    margin: 3px 0 0 0;
    line-height: 1.3 !important;
}

/* Navegación principal Desktop idéntica a la original */
.header_right_stack nav.main_menu > ul {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.header_right_stack nav.main_menu > ul > li > a {
    padding: 4px 20px;
    border-right: 1px solid #dedede !important;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    font-size: 19px;
    line-height: 24px;
}

.header_right_stack nav.main_menu > ul > li > a .two_line_text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6b6b6b;
    font-family: 'Open Sans', sans-serif;
    font-size: 17.5px;
    line-height: 22px;
    font-weight: 400;
    transition: color 0.2s ease;
}

.header_right_stack nav.main_menu > ul > li > a .two_line_text small {
    font-size: 17.5px;
    line-height: 22px;
    color: inherit;
    display: block;
}

.header_right_stack nav.main_menu > ul > li > a .single_line_text {
    color: #009f95;
    font-family: 'Open Sans', sans-serif;
    font-size: 19px;
    line-height: 24px;
    font-weight: 400;
    transition: color 0.2s ease;
}

.header_right_stack nav.main_menu > ul > li:hover > a .two_line_text,
.header_right_stack nav.main_menu > ul > li.active > a .two_line_text,
.header_right_stack nav.main_menu > ul > li:hover > a .single_line_text,
.header_right_stack nav.main_menu > ul > li.active > a .single_line_text {
    color: #38b3a7;
}

/* Hero Slider con proporción exacta 1920x500 sin deformación */
.hero_slider_section {
    background-color: #e8e6df;
}

.hero_slider_section .carousel-item {
    height: auto;
    position: relative;
}

.hero_slider_section .slide_bg_img {
    width: 100%;
    height: auto;
    aspect-ratio: 1920 / 500;
    object-fit: cover;
    object-position: center bottom;
    display: block;
}

.hero_slider_section .slide_caption_box.align-left {
    margin-left: 12%;
    margin-top: -15px;
}

.hero_slider_section .slide_caption_box.align-right {
    margin-left: 52%;
    margin-right: 0;
    text-align: left;
    margin-top: -10px;
}

.hero_slider_section .titulo-slider {
    font-family: 'Open Sans', sans-serif;
    color: #666666;
    font-size: 58px;
    line-height: 68px;
    font-weight: 400;
    margin-bottom: 28px;
}

.hero_slider_section .slide_caption_box.align-right .titulo-slider {
    margin-bottom: 58px;
}

.hero_slider_section .rev-btn {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 17px;
    padding: 12px 35px;
    letter-spacing: 0.3px;
}

.rev_circle_arrow {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    background-color: rgba(110, 110, 110, 0.85) !important;
    color: #ffffff !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%);
    opacity: 1 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: background-color 0.2s ease;
}

.rev_circle_arrow.prev_arrow {
    left: 20px !important;
    right: auto !important;
}

.rev_circle_arrow.next_arrow {
    right: 20px !important;
    left: auto !important;
}

.rev_circle_arrow:hover {
    background-color: rgba(48, 48, 48, 0.95) !important;
    color: #ffffff !important;
}

.slider_bottom_purple_bar {
    width: 100%;
    height: 15px;
    background-color: #6a0f5a;
}

/* Franja Línea Gratuita y H1 Renovate */
.linea_gratuita_home {
    background-color: #009e94 !important;
    padding: 7px 0 !important;
    text-align: center;
}

.linea_gratuita_home .linea_gratuita_title {
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-size: 25px !important;
    line-height: 30px !important;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
}

.renovate_section {
    padding: 46px 0 !important;
    text-align: center;
    background-color: #ffffff;
}

.renovate_section h1 {
    color: #999999 !important;
    font-family: 'Open Sans', sans-serif;
    font-size: 27px !important;
    font-weight: 400 !important;
    letter-spacing: 0.8px;
    margin: 0 !important;
}

/* Grilla Full-Width 6 Categorías (sin espacios blancos intermedios) */
.tratamientos_pc_fullwidth {
    width: 100%;
    background-color: #edeff1;
}

.home_renovate_row {
    margin: 0 !important;
}

.home_renovate_col {
    padding: 0 !important;
    background-color: #edeff1;
}

.home_renovate_card {
    background-color: #edeff1;
    padding-bottom: 20px;
    height: 100%;
    box-shadow: none !important;
    transform: none !important;
}

.home_renovate_card:hover {
    transform: none !important;
    box-shadow: none !important;
}

.home_renovate_card .card_img_link {
    display: block;
    background-color: #edeff1;
}

.home_renovate_card .card_img_link img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.25s ease;
}

.home_renovate_card .card_img_link:hover img {
    opacity: 0.6;
}

@media screen and (max-width: 991px) {
    .header_right_stack {
        display: none !important;
    }
    .avril_header_grid .q_logo img.normal-logo {
        display: none;
    }
    .avril_header_grid .q_logo img.mobile-logo {
        display: block;
    }
    .hero_slider_section .carousel-item,
    .hero_slider_section .slide_bg_img {
        height: 320px;
    }
    .hero_slider_section .slide_caption_box.align-left {
        margin-left: 5%;
    }
    .hero_slider_section .titulo-slider {
        font-size: 34px;
        line-height: 40px;
    }
}

/* ==========================================================================
 * PLANTILLA EMPRESA (demo/empresa.htm)
 * ========================================================================== */
.empresa_slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 10;
    margin-top: 0;
}
.empresa_slider .carousel-inner .item {
    position: relative;
    height: auto;
    min-height: auto;
    width: 100%;
    background-color: #f6f6f6;
    padding: 20px 0;
}
.empresa_slider .carousel-inner .item .image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}
.empresa_slider .carousel-inner .item .image img {
    display: none !important;
}
.empresa_slider .slider_content_outer {
    position: relative;
    height: auto;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    z-index: 2;
    padding: 0 15px;
}
.empresa_slider .slider_content {
    width: 100%;
    text-align: center;
}
.empresa_slider .thumb {
    width: 100%;
    display: block;
    margin: 0 auto;
}
.empresa_slider .thumb img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.empresa_slider .empresa_slider_address {
    background-color: #000000;
    padding: 10px 15px;
    width: 100%;
    color: #ffffff;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
}
.page-empresa .page_container_inner {
    padding-top: 35px;
    padding-bottom: 50px;
}
.page-empresa h3 {
    color: #999999;
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    line-height: 1.304em;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 20px;
}
.page-empresa h4 {
    color: #999999;
    font-family: 'Open Sans', sans-serif;
    font-size: 19px;
    line-height: 1.375em;
    font-weight: 400;
    margin-top: 20px;
    margin-bottom: 8px;
}
.page-empresa p {
    color: #6b6b6b;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 12px;
}
@media (max-width: 991px) {
    .empresa_slider .carousel-inner .item {
        padding: 16px 0;
    }
}
@media (max-width: 768px) {
    .empresa_slider .carousel-inner .item {
        padding: 12px 0;
    }
    .empresa_slider .empresa_slider_address {
        font-size: 12px;
        padding: 8px 10px;
    }
}
@media (max-width: 576px) {
    .empresa_slider .carousel-inner .item {
        padding: 8px 0;
    }
    .empresa_slider .empresa_slider_address {
        font-size: 10px;
        letter-spacing: 0.5px;
        padding: 6px 4px;
    }
}

/* ==========================================================================
 * PLANTILLA NUESTROS PROFESIONALES (/nosotros/) - demo/profesionales.htm
 * ========================================================================== */
.nosotros-profesionales-wrapper {
    width: 100%;
}
.nosotros-profesionales-wrapper .prof_row {
    margin-bottom: 20px;
}
.nosotros-profesionales-wrapper .prof_img_holder {
    display: inline-block;
    border: 1px solid #e0e0e0;
    padding: 3px;
    background-color: #ffffff;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.nosotros-profesionales-wrapper .prof_avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
    display: block;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}
.nosotros-profesionales-wrapper .prof_separator {
    height: 1px;
    background-color: #cccccc;
    margin: 30px 0;
    width: 100%;
    clear: both;
}
.nosotros-profesionales-wrapper p {
    color: #6b6b6b;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 12px;
}
.nosotros-profesionales-wrapper .prof_name_role {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.4;
}
.nosotros-profesionales-wrapper ul {
    margin-bottom: 12px;
    padding-left: 20px;
}
.nosotros-profesionales-wrapper ul li {
    list-style-type: disc;
    color: #6b6b6b;
    font-size: 15px;
    line-height: 24px;
}
@media (max-width: 576px) {
    .nosotros-profesionales-wrapper .prof_img_holder {
        margin-bottom: 10px;
    }
    .nosotros-profesionales-wrapper .prof_separator {
        margin: 20px 0;
    }
}

/* ==========================================================================
 * PLANTILLA DR. B. ÁNGEL GRILLO CRUZ (/prof-adj-dr-b-angel-grillo-cruz/)
 * ========================================================================== */
.dr-grillo-cv-wrapper {
    width: 100%;
    color: #6b6b6b;
    font-size: 15px;
    line-height: 1.6;
}
.dr-grillo-cv-wrapper .dr-grillo-subtitle {
    color: #999999;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 25px;
}
.dr-grillo-cv-wrapper .wp-caption.alignleft {
    float: left;
    margin: 0 25px 20px 0;
    max-width: 250px;
}
.dr-grillo-cv-wrapper .wp-caption img,
.dr-grillo-cv-wrapper .alignleft img {
    border: 1px solid #e0e0e0;
    padding: 3px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    display: block;
    max-width: 100%;
    height: auto;
    filter: none;
    -webkit-filter: none;
}
.dr-grillo-cv-wrapper .wp-caption-text {
    font-size: 13px;
    color: #888888;
    font-style: italic;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 0;
    line-height: 1.4;
}
.dr-grillo-cv-wrapper .dr-grillo-quote-box {
    margin: 35px auto;
    padding: 20px 15px;
    background-color: #f7faf9;
    border-top: 2px solid #008177;
    border-bottom: 2px solid #008177;
    clear: both;
}
.dr-grillo-cv-wrapper .dr-grillo-quote-box h2 {
    color: #008177;
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.5px;
    margin: 0;
}
.dr-grillo-cv-wrapper .dr-grillo-question {
    font-style: italic;
    font-weight: 700;
    font-size: 16px;
    color: #008177;
    margin-top: 22px;
    margin-bottom: 6px;
    line-height: 1.4;
}
.dr-grillo-cv-wrapper .text-justify {
    text-align: justify;
    margin-bottom: 15px;
    line-height: 1.6;
}
.dr-grillo-cv-wrapper .dr-grillo-distinciones .alignleft {
    float: left;
    margin: 5px 25px 20px 0;
    max-width: 150px;
}
.dr-grillo-cv-wrapper .dr-grillo-distinciones-list {
    padding-left: 25px;
    margin-top: 10px;
    margin-bottom: 20px;
}
.dr-grillo-cv-wrapper .dr-grillo-distinciones-list li {
    list-style-type: disc;
    margin-bottom: 8px;
    line-height: 1.5;
    color: #555555;
}
@media (max-width: 768px) {
    .dr-grillo-cv-wrapper .wp-caption.alignleft,
    .dr-grillo-cv-wrapper .dr-grillo-distinciones .alignleft {
        float: none;
        margin: 0 auto 20px auto;
        text-align: center;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .dr-grillo-cv-wrapper .dr-grillo-quote-box h2 {
        font-size: 17px;
    }
    .dr-grillo-cv-wrapper .text-justify {
        text-align: left;
    }
}

/* ==========================================================================
 * PLANTILLA PREGUNTAS FRECUENTES (/preguntas-frecuentes/)
 * ========================================================================== */
.faq_page_wrapper {
    width: 100%;
    color: #6b6b6b;
}
.faq_page_wrapper .faq_section {
    margin-bottom: 45px;
}
.faq_page_wrapper .faq_category_title {
    color: #303030;
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    line-height: 1.304em;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}
.faq_page_wrapper .faq_item {
    position: relative;
    margin-bottom: 15px;
}
.faq_page_wrapper .ui-accordion-header {
    position: relative;
    display: block;
    width: 100%;
    min-height: 45px;
    background: transparent;
    border: none;
    padding: 0;
    text-align: left;
    cursor: pointer;
    color: #303030;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color .2s ease-in-out;
}
.faq_page_wrapper .ui-accordion-header:hover {
    color: #009e94;
}
.faq_page_wrapper .ui-accordion-header span.tab-title {
    padding: 10px 15px 10px 63px;
    display: block;
    line-height: 1.45;
}
.faq_page_wrapper .accordion_mark.left_mark {
    position: absolute;
    top: 0;
    left: 0;
    width: 45px;
    height: 45px;
    border: 2px solid #e3e3e3;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    transition: background-color .2s ease-in-out, border-color .2s ease-in-out;
    box-sizing: border-box;
}
.faq_page_wrapper .accordion_mark_icon::before {
    content: "\f067"; /* fa-plus */
    font-family: "FontAwesome";
    font-size: 13px;
    color: #6b6b6b;
    display: block;
}
.faq_page_wrapper .ui-accordion-header:not(.collapsed) {
    color: #009e94;
}
.faq_page_wrapper .ui-accordion-header:not(.collapsed) .accordion_mark {
    background-color: #e3e3e3;
    border-color: #e3e3e3;
}
.faq_page_wrapper .ui-accordion-header:not(.collapsed) .accordion_mark_icon::before {
    content: "\f068"; /* fa-minus */
}
.faq_page_wrapper .accordion_content {
    padding-left: 63px;
    padding-right: 15px;
    padding-top: 5px;
    padding-bottom: 15px;
}
.faq_page_wrapper .accordion_content_inner p {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 24px;
    color: #6b6b6b;
    margin-bottom: 12px;
}
.faq_page_wrapper .accordion_content_inner p:last-child {
    margin-bottom: 0;
}
@media (max-width: 768px) {
    .faq_page_wrapper .ui-accordion-header span.tab-title {
        padding-left: 55px;
        font-size: 13px;
    }
    .faq_page_wrapper .accordion_mark.left_mark {
        width: 40px;
        height: 40px;
    }
    .faq_page_wrapper .accordion_content {
        padding-left: 55px;
    }
}

/* ==========================================================================
 * PLANTILLA TESTIMONIOS (/testimonios/) - demo/Testimonios - Clínica Avril.html
 * ========================================================================== */
.page-testimonios .page_container_inner {
    padding-top: 35px;
    padding-bottom: 70px;
}
.testimonios_page_wrapper {
    width: 100%;
}
.testimonios_page_wrapper .testimonio_row {
    margin-bottom: 0;
}
.testimonios_page_wrapper .testimonio_row_spaced {
    margin-top: 40px;
}
.testimonios_page_wrapper .testimonio_img_box {
    display: inline-block;
}
.testimonios_page_wrapper .testimonio_avatar {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 1px solid #ebebeb;
    display: block;
    border-radius: 0;
}
.testimonios_page_wrapper .testimonio_name_title {
    font-size: 16px;
    font-weight: bold;
    color: #008177;
    margin-bottom: 8px;
    line-height: 1.4;
    font-family: 'Open Sans', sans-serif;
}
.testimonios_page_wrapper .testimonio_name_title strong {
    color: #008177;
}
.testimonios_page_wrapper .testimonio_content_box p {
    color: #6b6b6b;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 12px;
}
.testimonios_page_wrapper .testimonio_content_box p:last-child {
    margin-bottom: 8px;
}
.testimonios_page_wrapper .testimonio_disclaimer {
    text-transform: none;
    color: #31363a;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.4;
}
.testimonios_page_wrapper .testimonio_disclaimer em {
    font-style: italic;
}
@media (max-width: 768px) {
    .testimonios_page_wrapper .testimonio_row_spaced {
        margin-top: 30px;
    }
}

/* ==========================================================================
 * PANEL DE SEGUIMIENTO DE CONSULTAS (/seguimiento-consultas/)
 * ========================================================================== */
.page-panel-consultas .title_outer_panel {
    background: linear-gradient(135deg, #008177 0%, #005a54 100%);
    padding: 24px 0;
    margin-bottom: 25px;
}
.page-panel-consultas .panel_main_title {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.panel_consultas_page {
    padding-top: 10px;
    padding-bottom: 60px;
}
.panel_table_card {
    border-color: #dee2e6;
    overflow: hidden;
}
.panel_consultas_table {
    border-collapse: collapse;
    width: 100%;
    font-size: 13.5px;
    color: #333333;
}
.panel_consultas_table thead th {
    background-color: #f7f8fa;
    color: #495057;
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-color: #dee2e6;
    padding: 12px 10px;
    vertical-align: middle;
    text-align: center;
    white-space: nowrap;
}
.panel_consultas_table tbody td {
    padding: 10px;
    border-color: #e9ecef;
    vertical-align: middle;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.4;
}
.panel_consultas_table .cell-tratamiento {
    min-width: 140px;
    max-width: 190px;
    color: #333333;
    font-weight: 500;
}
.panel_consultas_table .cell-nombre {
    min-width: 100px;
    font-weight: 600;
}
.panel_consultas_table .cell-departamento {
    min-width: 100px;
    text-align: center;
}
.panel_consultas_table .cell-telefono {
    min-width: 110px;
}
.panel_consultas_table .btn-wa-shortcut {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background-color: #e8f5e9;
    border-radius: 50%;
    text-decoration: none;
    transition: transform .15s ease, background-color .15s ease;
}
.panel_consultas_table .btn-wa-shortcut:hover {
    background-color: #c8e6c9;
    transform: scale(1.15);
}
.panel_consultas_table .cell-edad {
    min-width: 50px;
}
.panel_consultas_table .cell-email {
    min-width: 160px;
    word-break: break-all;
}
.panel_consultas_table .cell-consulta {
    min-width: 200px;
    max-width: 320px;
    font-size: 13px;
    color: #495057;
}
.panel_consultas_table .consulta-text-wrap {
    max-height: 110px;
    overflow-y: auto;
    line-height: 1.4;
}
.panel_consultas_table .cell-fecha {
    min-width: 95px;
}
.panel_consultas_table .fecha-time {
    font-weight: 600;
    color: #212529;
    font-size: 13.5px;
}
.panel_consultas_table .fecha-date {
    color: #6c757d;
    font-size: 12px;
}
/* Columna de Estado con fondo amarillo exacto al del screenshot */
.panel_consultas_table .cell-estado {
    min-width: 130px;
    text-align: center;
    transition: background-color .2s ease;
}
.panel_consultas_table .cell-estado.bg-estado-pending,
.panel_consultas_table .bg-estado-pending {
    background-color: #fef0cd !important;
}
.panel_consultas_table .select-lead-estado {
    background-color: #ffffff;
    border: 1px solid #767676;
    border-radius: 3px;
    font-size: 13px;
    padding: 4px 8px;
    font-weight: 500;
    color: #212529;
}
.panel_consultas_table .cell-comentario {
    min-width: 140px;
    max-width: 200px;
}
.panel_consultas_table .input-lead-comentario {
    background-color: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 3px;
    font-size: 13px;
    padding: 4px 8px;
    height: 31px;
}
.panel_consultas_table .input-lead-comentario:focus {
    border-color: #008177;
    box-shadow: 0 0 0 0.15rem rgba(0, 129, 119, 0.25);
}
/* Botón Guardar idéntico al del screenshot */
.panel_consultas_table .btn-avril-guardar {
    background-color: #005953;
    color: #ffffff;
    border: none;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 16px;
    border-radius: 4px;
    transition: all .15s ease-in-out;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.panel_consultas_table .btn-avril-guardar:hover {
    background-color: #004540;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.panel_consultas_table .btn-avril-guardar:active {
    transform: translateY(1px);
}
.panel_consultas_table tr:hover td:not(.bg-estado-pending) {
    background-color: #fcfcfd;
}

/* Botones interactivos de filtrado por estado (Total, Sin contactar, Contactados) */
.btn-filter-status {
    border-radius: 6px;
    font-size: 13.5px;
    padding: 6px 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .18s ease-in-out;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}
.btn-filter-status:active {
    transform: translateY(1px);
}
.btn-filter-total {
    background-color: #f8f9fa;
    color: #495057;
    border: 1px solid #ced4da;
}
.btn-filter-total:hover {
    background-color: #e9ecef;
    color: #212529;
}
.btn-filter-total.active {
    background-color: #495057;
    color: #ffffff;
    border-color: #343a40;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.btn-filter-pending {
    background-color: #fff9e6;
    color: #664d03;
    border: 1px solid #ffeeba;
}
.btn-filter-pending:hover {
    background-color: #fff3cd;
    color: #664d03;
}
.btn-filter-pending.active {
    background-color: #fff3cd;
    color: #664d03;
    border: 2px solid #ffc107;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(255, 193, 7, 0.35);
}
.btn-filter-contacted {
    background-color: #f2f9f5;
    color: #0f5132;
    border: 1px solid #badbcc;
}
.btn-filter-contacted:hover {
    background-color: #d1e7dd;
    color: #0f5132;
}
.btn-filter-contacted.active {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 2px solid #198754;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(25, 135, 84, 0.3);
}

/* Formulario de Login del Panel (/seguimiento-consultas/) */
.panel_login_section {
    background-color: #f7f9fa;
    min-height: 480px;
}
.panel_login_card {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}
.panel_login_logo {
    max-width: 180px;
    height: auto;
    display: inline-block;
}
.panel_login_card .input-group-text {
    border-color: #ced4da;
    color: #008177;
    width: 42px;
    justify-content: center;
}
.panel_login_card .form-control:focus {
    border-color: #008177;
    box-shadow: 0 0 0 0.2rem rgba(0, 129, 119, 0.2);
}

/* Paginación del Panel de Consultas (/seguimiento-consultas/?page=X) */
.panel_pagination .page-item.active .page-link {
    background-color: #008177;
    border-color: #008177;
    color: #ffffff;
    font-weight: 600;
}
.panel_pagination .page-link {
    color: #008177;
    border-color: #dee2e6;
    font-size: 13px;
    padding: 5px 10px;
    transition: all .15s ease-in-out;
}
.panel_pagination .page-link:hover {
    background-color: #e6f6f4;
    color: #005a54;
    border-color: #badbcc;
}
.panel_pagination .page-item.disabled .page-link {
    color: #adb5bd;
    background-color: #f8f9fa;
    border-color: #dee2e6;
}








