/*** START COMMONN STYLES ***/

a, a:hover 
{
	text-decoration: none !important;
}

ul 
{
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
}

h2, h3, h4, h5, h6 
{
    font-family: 'Prata', sans-serif;
}

.padding-10 
{
    padding: 10px;
}


/*** END COMMON STYLES ***/



/*** START BOOTSTRAP STYLES ***/

#home-section-carousel .carousel-caption
{
    bottom: 250px;
}

#home-section-carousel .carousel-indicators
{
    bottom: 150px;
}


/*** END BOOTSTRAP STYLES ***/




/*** START HTML PAGE STYLE ***/

html
{
	scroll-behavior: smooth;
}

/*** END HTML PAGE STYLE ****/

/*** START BODY STYLE ***/

body
{
	font-size: 16px;
	background-color: white;
	font-family: 'Roboto', sans-serif;
}

/*** END BODY STYLE ****/

/*** START NAVBAR STYLE ***/

.navbar 
{
    border: medium none;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    -ms-border-radius: 0;
    border-radius: 0;
    margin: 0;
    position: relative;
    padding: 0 !important;
}

.header-section 
{
    transition: all .3s ease-in-out;
}
.header-section
{
	background-color: #e10098;
	width:100%;
	height: 100px; /* ALTURA AUMENTADA - AJUSTA ESTE VALOR */
	z-index:999;
	position:fixed;
	left:0;
	top:0;
	padding:0; /* Mantenemos padding en 0, align-items:center hará el centrado vertical */
	display:flex;
	align-items:center; /* Centra verticalmente el logo y los elementos del menú */
}


.menu-wrap 
{
    position: relative;
}

ul.nav>li 
{
    position: relative;
}
ul.nav>li>a 
{
    color: #ddd;
    font-family: work sans,sans-serif;
    display: inline-block; /* Cambiado de flex para que align-items en .header-section funcione mejor */
    vertical-align: middle;
    padding: 0 20px;
    letter-spacing: 0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 100px; /* Ajusta esto para que coincida con la nueva altura del .header-section */
                       /* O quítalo si prefieres que align-items:center maneje la altura completamente */
    z-index: 1;
}
.header-btn .menu-btn 
{ 
	background-color: #1984bc; 
	font-family: work sans,sans-serif; 
	font-size: 12px; 
	text-transform: uppercase; 
	color: #fff; 
	padding: 0 30px; 
	height: 45px; 
	line-height: 45px; 
	display: block; 
	margin: 0; 
    /* align-self: center; /* Para asegurar centrado si es necesario */
}
.header-btn .menu-btn:hover 
{
    opacity: .8;
}

/* Si el logo es una imagen, estos estilos podrían ayudar */
/* Identifica la clase de tu logo, por ejemplo .navbar-brand img */
.navbar-brand img { /* EJEMPLO - AJUSTA EL SELECTOR A TU LOGO */
    max-height: 80px; /* Debe ser menor que la altura del .header-section (ej. 100px - 20px de espacio) */
    width: auto;
    display: block;
}


/*** END NABAR STYLE ***/


/*** START HOME SECTION STYLE ***/



/*** END HOME SECTION STYLE ***/


/*** START ABOUT SECTION STYLE ***/

.about_content h2 
{
    font-size: 36px;
    line-height: 46px;
    color: #e10098;
    margin-bottom: 30px;
}
.about_section h3 
{
    font-size: 17px;
}

.about_section
{
    padding: 80px 0;
    border-bottom: 2px solid #eee;
}

.about_section .about_img img 
{
    width: 60%;
    border-radius: 5px;
    box-shadow: 0 16px 28px 0 rgba(0,0,0,.2);
}
.about_section .about_img_3 
{
    margin: -260px 0 0 40px;
}
.about_section .about_img_2 
{
    margin: -180px 0 0 270px;
}

/*** END ABOUT SECTION STYLE ***/

/*** START SERVICES SECTION STYLE ***/

.services_section {
    padding: 80px 0px; 
    background-color: #fcf9f5;
}

/* Estilos para fondos y efecto 3D de las tarjetas de servicio (aplicables a todos los tamaños) */
.service_box {
    padding: 40px 25px; 
    text-align: center;
    cursor: pointer;
    position: relative; 
    z-index: 1; 
    color: #fff; 
    border-radius: 10px; 
    overflow: hidden; 
    box-shadow: 
        6px 6px 18px rgba(0, 0, 0, 0.25), 
        -4px -4px 12px rgba(255, 255, 255, 0.03), 
        inset 0 0 0 rgba(0,0,0,0), 
        0px 0px 12px 3px #e10098;   
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out; 
    display: flex; 
    flex-direction: column;
    height: 100%; 
    min-height: 380px; 
}

.service_box:hover {
    transform: translateY(-8px) scale(1.03); 
    box-shadow: 
        10px 10px 25px rgba(0, 0, 0, 0.3),
        -6px -6px 15px rgba(255, 255, 255, 0.02),
        inset 0 0 0 rgba(0,0,0,0),
        0px 0px 18px 5px #e10098; 
}

.service_box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6); 
    z-index: -1; 
    border-radius: inherit; 
    transition: background-color 0.3s ease-out;
}
.service_box:hover::before {
    background-color: rgba(0, 0, 0, 0.5); 
}


.service_box h3 {
    font-size: 1.4rem; 
    margin-bottom: 18px; 
    color: #fff; 
    position: relative; 
    z-index: 2;
    min-height: 2.8em; 
}

.service_box p {
    font-size: 0.95rem; 
    line-height: 1.55; 
    color: #f0f0f0; 
    position: relative; 
    z-index: 2;
    flex-grow: 1; 
}

/* Imágenes de fondo específicas (sin cambios aquí) */
.service-box-corte { background-image: url('../images/servicios/imgserv1.png'); background-size: cover; background-position: center; }
.service-box-afeitado { background-image: url('../images/servicios/imgserv2.png'); background-size: cover; background-position: center; }
.service-box-coloracion { background-image: url('../images/servicios/imgserv3.png'); background-size: cover; background-position: center; }
.service-box-manicure { background-image: url('../images/servicios/imgserv4.png'); background-size: cover; background-position: center; }
.service-box-maquillaje { background-image: url('../images/servicios/imgserv5.png'); background-size: cover; background-position: center; }
.service-box-cepillado { background-image: url('../images/servicios/imgserv6.png'); background-size: cover; background-position: center; }

/*** END SERVICES SECTION STYLE ***/

/*** START HEADING LINE STYLE ***/


.heading-line 
{
    margin-top: 20px;
    height: 10px;
    background: url(../images/heading-line.png) center center no-repeat;
    position: relative;
}

/*** END HEADING LINE STYLE ***/

/*** START BOOKING SECTION STYLE ***/

.book_section
{
    background-color: #222227;
    position: relative;
    padding:80px 0px;
}

.book_bg 
{
    background-image: url(../images/book-bg.jpg);
    background-repeat: no-repeat;
    background-position: center left;
    position: absolute;
    width: 50%;
    height: 100%;
    left: 0;
    top: 0;
}
.map_pattern 
{
    background-image: url(../images/satellite-map.png);
    background-size: contain;
    background-position: right center;
    opacity: 0.05;
    position: absolute;
    width: 100%;
    height: 100%;
    right: 0;
    top: 0;
}

.appointment_form 
{
    padding: 40px;
}
.appointment_form .book_content 
{
    margin-bottom: 30px;
}

.appointment_form .form-control 
{
    background-color: transparent;
    height: 55px;
    border: 3px solid rgba(255,255,255,0.3);
    line-height: 52px;
    color: #fff;
    border-radius: 0;
}
.appointment_form .form-control:focus 
{
    border: 3px solid rgba(255,255,255,0.5);
    box-shadow: none;
    outline: none;
}
.nice-select.form-control 
{
    width: 100%;
    line-height: 52px;
    padding: 0 15px;
}
.appointment_form .form-control 
{
    background-color: transparent;
    border: 3px solid rgba(255,255,255,0.3);
    line-height: 52px;
    color: #fff;
    border-radius: 0;
}
.appointment_form .default_btn 
{
    margin-top: 15px;
}
.default_btn 
{
    font-family: "Work Sans",sans-serif;
    letter-spacing: 0;
    background-color: #e10098;
    color: #fff;
    line-height: 45px;
    display: inline-block;
    padding: 0 25px;
    border-radius: 0;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    position: relative;
    border: none;
    overflow: hidden;
    z-index: 1;
    -webkit-transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -ms-transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.default_btn:hover 
{
    color: #fff;
}
.default_btn:hover:before 
{
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -ms-transform-origin: left center;
    transform-origin: left center;
    -webkit-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -o-transform: scale(1, 1);
    transform: scale(1, 1);
}

.default_btn:before 
{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #1984bc;
    -webkit-transform-origin: right center;
    -moz-transform-origin: right center;
    -ms-transform-origin: right center;
    transform-origin: right center;
    -webkit-transform: scale(0, 1);
    -moz-transform: scale(0, 1);
    -ms-transform: scale(0, 1);
    -o-transform: scale(0, 1);
    transform: scale(0, 1);
    -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: -moz-transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -ms-transition: -ms-transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: -o-transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}


/*** END BOOKING SECTION STYLE ***/


/*** START GALLERY SECTION STYLE ***/

.gallery-section
{
    border-bottom: 2px solid #eee;
    background-color: #fcf9f5;
    padding: 80px 0;
}

.gallery-section .gallery-img
{
    background-size: cover;
    height: 100%;
    width: 100%;
    background-position: 50%;
    background-repeat: no-repeat;
}

.gallery-section .gallery-column
{
    padding: 0px 5px !important;
    margin-bottom: 10px;
    cursor: pointer;
}

.gallery-section .gallery-column:hover 
{
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
}

/*** END GALLERY SECTION STYLE ***/



/*** START SECTION HEADING STYLE ***/

.section_heading
{
    text-align: center;
    margin-bottom: 40px;
}

.section_heading h3
{
    color: #9e8a78;
    font-weight: 400;
    font-family: 'Prata', sans-serif;
    font-size: 17px;
}

.section_heading h2
{
    font-size: 36px;
    line-height: 48px;
    font-weight: 400;
    letter-spacing: 0;
}

/*** END SECTION HEADING STYLE ***/


/*** START TEAM SECTION STYLE ***/

.team_section {
    border-bottom: 2px solid #eee;
    padding: 80px 0px;
}

.team_section ul.team_members.row {
    align-items: stretch; 
}

.team_section ul.team_members.row > li { 
    display: flex; 
    flex-direction: column; 
    margin-bottom: 30px; 
}

.team_section .team_members .team_member {
    position: relative;
    overflow: hidden; 
    width: 100%;
    height: 100%; 
    border-radius: 10px; 
    
    box-shadow: 
        6px 6px 18px rgba(0, 0, 0, 0.25), 
        -4px -4px 12px rgba(255, 255, 255, 0.03), 
        inset 0 0 0 rgba(0,0,0,0), 
        0px 0px 12px 3px #e10098;   
    
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out; 
}

.team_section .team_members .team_member:hover {
    transform: translateY(-8px) scale(1.03); 
    box-shadow: 
        10px 10px 25px rgba(0, 0, 0, 0.3),
        -6px -6px 15px rgba(255, 255, 255, 0.02),
        inset 0 0 0 rgba(0,0,0,0),
        0px 0px 18px 5px #e10098; 
}

.team_section .team_members .team_member img {
    display: block; 
    width: 100%;
    height: 100%; 
    object-fit: cover; 
    object-position: center top; 
}

/*** END TEAM SECTION STYLE ***/

/*** START REVIEWS SECTION STYLE ***/

.testimonial_section 
{
    background-image: url(../images/testimonial.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: 0 0;
    -webkit-background-size: cover;
    background-size: cover;
    /*padding: 200px 0;*/
}

/*** END REVIEWS SECTION STYLE ****/

/*** START PRICING SECTION STYLE ***/

.pricing_section
{
	border-bottom: 2px solid #eee;
    background-color: #fcf9f5;
    padding: 80px 0;
}
.pricing_section .price_wrap h3 
{
    background-color: #e10098;
    display: inline-block;
    padding: 10px 15px;
    color: #fff;
    margin: 0 0 20px;
    font-size: 16px;
}
.pricing_section .price_wrap .price_list li 
{
    margin-bottom: 40px;
    position: relative;
}

.pricing_section .price_wrap .price_list li h4 
{
    position: relative;
    color: #333;
    font-size: 18px;
    letter-spacing: 0.5px;
    margin: 0 0 6px;
    overflow: hidden;
    width: 90%;
}

.pricing_section .price_wrap .price_list li h4:after 
{
    color: #bbb;
    content: "--------------------" "--------------------" "--------------------" "--------------------";
    font-weight: normal;
    margin-left: 10px;
    position: absolute;
    top: -2px;
    white-space: nowrap;
    width: 0;
}

.pricing_section .price_wrap .price_list li p 
{
    margin: 0;
    color: #777;
}

.pricing_section .price_wrap .price_list li span.price {
    font-family: "Prata",sans-serif;
    font-size: 24px;
    color: #e10098; /* ¡COLOR CAMBIADO AL FUCSIA DEL HEADER! */
    font-weight: 700;
    position: absolute;
    top: 0;
    right: 0;
}

/*** END PRICING SECTION STYLE ***/


/*** START WIDGET SECTION - FOOTER STYLE ***/

.widget_section
{
    background-color: black;
    padding: 100px 0;
}

.widget_social 
{
    display: block;
    text-align: left;
}
.widget_social li 
{
    display: inline-block;
}
.widget_social li a 
{
    color: #777;
    font-size: 12px;
    margin-right: 20px;
}
.footer_widget p 
{
    color: #999;
}
.footer_widget h3 
{
    color: #fff;
}
.subscribe_form 
{
    display: block;
    text-align: center;
    padding: 5px 0;
}
.subscribe_form .form_input 
{
    display: block;
    color: #fff;
    border: none;
    font-size: 14px;
    line-height: 50px;
    padding: 0 10px;
    float: left;
    width: 100%;
    margin-bottom: 10px;
    transition: all 0.5s ease-in-out;
}
.opening_time li 
{
    color: #999;
    line-height: 35px;
}
.subscribe_form .submit 
{
    background-color: #e10098;
    color: #fff;
    font-family: "Work Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 50px;
    display: inline-block;
    padding: 0 10px;
    width: 100%;
    cursor: pointer;
    border: none;
    transition: all 0.5s ease-in-out;
}

.subscribe_form .submit:hover 
{
    background-color: #1984bc;
    transition: all 0.5s ease-in-out;
}


/*** END WIDGET SECTION - FOOTER STYLE ***/

/*** START CONTACT US SECTION STYLE ***/

.contact-section
{
	padding:100px 0px;
}

.contact-info h2
{
	font-size: 36px;
	color: #303133;
	margin: 0 0 8px;
	font-weight: 400;
	line-height: 48px;
	letter-spacing: -0.04em;
	font-family: 'Prata', sans-serif;
}

.contact-info h3 
{
    line-height: 28px;
    margin-bottom: 20px;
}

.contact-info h4 
{
    font-size: 15px;
    line-height: 28px;
}

.contact-form 
{
    background-color: #fff;
    padding: 50px 40px;
    -webkit-box-shadow: 0px 50px 100px 0px rgba(64, 1, 4, 0.1), 0px -6px 0px 0px rgba(248, 99, 107, 0.004);
    box-shadow: 0px 50px 100px 0px rgba(64, 1, 4, 0.1), 0px -6px 0px 0px rgba(248, 99, 107, 0.004);
    border-radius: 3px;
}

.form-control
{
    background-color: #fff;
    border-radius: 0;
    padding: 25px 10px;
    box-shadow: none;
    border: 2px solid #eee;
}

.form-control:focus 
{
    border-color: #9e8a78;
    box-shadow: none;
    outline: none;
}



/*** END CONTACT US SECTION STYLE ***/

/*** START FOOTER BOTTOM STYLE ***/


.footer_section 
{
    display: block;
    background-color: #222227;
    border-top: 1px solid #333;
    padding: 30px 0;
}

.footer_section .copyright 
{
    font-size: 14px;
    color: #ddd;
}

.footer_social 
{
    display: block;
    text-align: right;
}

.footer_social li 
{
    display: inline-block;
}
.footer_social li a 
{
    font-family: "Work Sans",sans-serif;
    color: #ddd;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 20px;
}

/*** END FOOTER BOTTOM STYLE ***/



/*** START MOBILE NAVBAR STYLE ***/


a.mob-menu-toggle 
{ 
    display: none;
    width: 46px;
    line-height: 46px;
    height: 46px;
    vertical-align: middle;
    font-size: 21px;
    color: #ffffff !important;
    margin: 0 0 0 10px;
    z-index: 10000;
    text-decoration: none !important;
    text-align: center;
    box-shadow: 0 0px 30px 0 rgba(0,0,0,.12);
    border-radius: 50%;
    background: #1984bc;
}


#menu_mobile.active 
{
    -webkit-transform: translate(100%, 0);
    transform: translate(100%, 0);
}

#menu_mobile 
{
    position: fixed;
    z-index: 25000;
    top: 0;
    bottom: 0;
    width: 320px;
    left: -320px;
    height: 100%;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    -webkit-transition: 0.5s ease;
    transition: 0.5s ease;
    background: #1984bc !important;
    overflow: hidden;
    padding-top: 20px;
    padding-bottom: 80px;
}

.mob-menu-top
{
    list-style-type: disc;
    list-style: outside none disc;
    margin-left: 15px;
    margin: 1em 0;
}

.mob-menu-top::before
{
    content: "";
    display: table;
}

#menu_mobile ul.mob-menu-top li a 
{
    display: block;
    font-size: 13px;
    height: 50px;
    line-height: 50px;
    padding: 0px !important;
    text-align: center;
    background: #e10098;
    color: #ffffff !important;
}

.menu-tab-div
{
    margin: 0px 0px 0px 21px;
    padding-right: 38px;
    padding-left: 0px;
    padding-bottom: 150px;
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    width: 100%;
}

#mobile-menu
{
   margin: 0 0 0 3px;
}

ul#mobile-menu.menu li a 
{
    font-size: 20px;
    font-weight: 600;
    font-style: normal;
    display: block;
    padding: 8px 5px 8px 17px;
    color: #e1e1e1;
    text-decoration: none !important;
    position: relative;
    text-transform: uppercase;
}

#menu_mobile .menu-header
{
    width: calc(100% - 150px);
    text-align: center;
    display: inline-block;
}

/* Estilos para reorganizar los servicios en una cuadrícula atractiva */

/* Contenedor principal de servicios */
.pricing_section .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

/* Cada columna de servicio */
.pricing_section .col-lg-4 {
    width: 33.333%;
    padding: 0 15px;
    margin-bottom: 30px;
}

/* Tarjeta de servicio */
.pricing_section .price_wrap {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
}

.pricing_section .price_wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

/* Encabezado de categoría */
.pricing_section .price_wrap h3 {
    background-color: #e10098; 
    color: #fff;
    padding: 12px 18px;
    margin: 0;
    font-size: 18px;
    text-align: center;
}

/* Lista de servicios */
.pricing_section .price_list {
    padding: 15px;
    margin: 0;
    list-style: none;
}

/* Cada elemento de servicio */
.pricing_section .price_list li {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.pricing_section .price_list li:last-child {
    border-bottom: none;
}

/* Nombre del servicio */
.pricing_section .price_list h4 {
    margin: 0 0 8px;
    font-size: 16px;
    color: #333;
}

/* Descripción del servicio */
.pricing_section .price_list p {
    margin: 0 0 10px;
    font-size: 14px;
    color: #777;
    line-height: 1.5;
}

/* Precio del servicio */
.pricing_section .price_list .price {
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    color: #e10098; 
}

/* Estilos responsivos */
@media (max-width: 992px) {
    .pricing_section .col-lg-4 {
        width: 50%; 
    }
}

@media (max-width: 576px) {
    .pricing_section .col-lg-4 {
        width: 100%; 
    }
}

/* Separador de categorías */
.pricing_section .section_heading {
    margin-bottom: 40px;
}

.pricing_section .heading-line {
    background-color: #e10098; 
}
/* Ajustes para los precios en la cuadrícula de servicios */

.pricing_section .price_list .price {
    font-size: 16px !important; 
    display: inline-block;
    font-weight: bold;
    color: #e10098; 
    white-space: nowrap; 
}

.pricing_section .price_list li {
    padding: 15px 10px !important;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing_section .price_list h4 {
    margin: 0 0 8px;
    font-size: 15px !important; 
    color: #333;
    padding-right: 60px; 
}

.pricing_section .price_list p {
    margin: 0 0 10px;
    font-size: 13px !important; 
    color: #777;
    line-height: 1.4;
}

.pricing_section .price_list .price {
    position: absolute;
    top: 15px;
    right: 15px;
}

.service_price_field {
    font-size: 14px !important;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .pricing_section .price_list h4 {
        font-size: 14px !important;
        padding-right: 50px;
    }
    
    .pricing_section .price_list p {
        font-size: 12px !important;
    }
    
    .pricing_section .price_list .price {
        font-size: 14px !important;
    }
}



/*** END MOBILE NAVBAR STYLE ****/

/* Botón RESERVAR UNA CITA en rosa bajito */
.btn-reservar {
    background-color: #fdd3e6; 
    color: #6e003b; 
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-reservar:hover {
    background-color: #ffaad4; 
    color: white; 
}

/* ────────────  Ajuste: servicios en 3 y 2 (centradas)  ──────────── */
@media (min-width: 992px){ /* Desktop */                
  .services_section .row{
    display: flex;          
    flex-wrap: wrap;      
    gap: 2rem;                 
    justify-content: center; 
    align-items: stretch;    
  }
  
  .services_section .row > div { 
    flex-grow: 0; 
    flex-shrink: 0; 
    flex-basis: calc(33.333% - (2rem * 2 / 3)); 
    min-width: 280px; 
    margin-bottom: 2rem; 
    display: flex; 
  }
}

@media (max-width: 991.98px) and (min-width: 768px) { /* Tablets */
    .services_section .row{
        gap: 1.5rem; 
        justify-content: space-around; 
    }
    .services_section .row > div {
        flex-basis: calc(50% - (1.5rem / 2)); 
        min-width: 260px; 
    }
    /* .service_box en tablet hereda min-height: 380px de los estilos generales */
    .service_box h3 { 
        font-size: 1.3rem; 
    }
    .service_box p {
        font-size: 0.9rem;
    }
}

/* ──────────── AJUSTES PARA SECCIÓN "ACERCA DE" Y SERVICIOS EN MÓVILES ──────────── */
@media (max-width: 767.98px) { /* Móviles (xs, sm) */

    /* --- Sección "Acerca de Nosotros" en Móvil --- */
    .about_section .col-md-6:first-child { 
        position: relative; 
        background-image: url('../images/about-mobile-bg.jpg'); 
        background-size: cover;
        background-position: center;
        padding-top: 60px;    
        padding-bottom: 60px;
        border-radius: 8px; 
        overflow: hidden;   
    }

    .about_section .col-md-6:first-child::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.65); 
        z-index: 1; 
        border-radius: inherit; 
    }

    .about_section .about_content {
        position: relative; 
        z-index: 2;
        padding-left: 20px; 
        padding-right: 20px;
    }

    .about_section .about_content img[alt="logo"] {
        display: none; 
    }

    .about_section .about_content h3{
        color: #fff !important; 
        font-size: 1.1rem; 
    }
    .about_section .about_content h2 {
        color: #fff !important;
        font-size: 2rem; 
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .about_section .about_content p {
        color: #f0f0f0 !important; 
        font-size: 1rem; 
        line-height: 1.6;
    }
    /* Fin Sección "Acerca de Nosotros" en Móvil */


    /* --- Sección "Servicios" en Móvil --- */
    .services_section .row > div { 
        flex-basis: 100%; 
        min-width: auto; 
        margin-bottom: 2rem; 
        padding-left: 15px; 
        padding-right: 15px;
    }
    .service_box { 
        min-height: auto;    
        padding: 20vw 25px;  
                             
    }
     .service_box h3 {
        font-size: 1.6rem; 
        margin-bottom: 15px;
        min-height: auto; 
    }
    .service_box p {
        font-size: 1rem; 
        line-height: 1.6;
    }
    /* Fin Sección "Servicios" en Móvil */
}