@import url('https://fonts.googleapis.com/css2?family=Gelasio:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
    --color-primary: #112A46;       /* Azul Serna Medic */
    --color-primary-rgb: 10, 76, 124;
    --color-accent: #34A4DB;        /* Celeste */
    --color-gold: #FFE5C2;          /* Dorado/Beige */
    --color-gold-light: #C5A880;    /* Beige muy suave para fondos */
    --color-dark: #122436;          /* Azul marino oscuro para fondo */
    --color-light: #f9fbfd;         /* Blanco suave */
    --color-gray: #556270;          /* Gris para textos */
    --color-gray-light: #f1f4f8;    /* Gris muy claro */
    
    --font-title: 'Gelasio', Georgia, serif;
    --font-body: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html{
    scroll-padding-top: 50px;
}

/* Reset & Base */
body {
    font-family: var(--font-body);
    color: var(--color-dark);
    background-color: var(--color-light);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .font-title {
    font-family: var(--font-title);
    font-weight: 600;
}

a {
    transition: all 0.3s ease;
    text-decoration: none;
}
.logo-img{
    width: 170px;
    height: auto;
}

/* Custom Buttons */
.btn-accent {
    background-color: var(--color-accent);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: #199dd3;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 177, 232, 0.3);
}

.btn-primary-dark {
       background-color: var(--color-primary);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 9px;
    padding: 12px 28px;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary-dark:hover {
    background-color: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 76, 124, 0.3);
}

.btn-outline-gold {
    background-color: transparent;
    color: white;
    border: 1px solid white;
    font-weight: 700;
    border-radius: 9px;
    padding: 12px 28px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(192, 153, 113, 0.3);
}

.btn-outline-black {
    background-color: transparent;
    color: #1E1E1E;
    border: 1px solid var(--color-primary);
    font-weight: 700;
    border-radius: 9px;
    padding: 12px 28px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-outline-black:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(192, 153, 113, 0.3);
}

.btn-gold-filled {
    background-color: #C5A880;
    color: #fff;
    border: none;
    font-weight: 700;
    border-radius: 9px;
    padding: 11px 35px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-gold-filled:hover {
    background-color: #C5A880;
    color: #fff;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(192, 153, 113, 0.3);
}

.btn-outline-white-gold {
    background-color: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
    font-weight: 600;
    border-radius: 8px;
    padding: 12px 28px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-outline-white-gold:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}

/* Header & Navbar */
.navbar {
    background-color: #F5F5F5;
    padding: 15px 0;
}


.nav-link {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1rem;
    letter-spacing: 0.5px;
    padding: 8px 14px !important;
    position: relative;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
      color: var(--color-primary);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 16px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: calc(100% - 32px);
}

/* Badge */
.section-badge {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 20px;
    display: inline-block;
}
.section-badge2 {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-gold-light);
    margin-bottom: 20px;
    display: inline-block;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(106.08deg, #34A4DB -13.67%, #C5A880 46.48%);
    padding: 40px 0 50px 0;
    position: relative;
}

.hero-title {
       font-size: 4rem;
    line-height: 1.15;
    color: white;
    margin-bottom: 25px;
    font-weight: 500;
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-section {
        padding: 60px 0 60px 0;
    }
}

.hero-title span.gold {
    color: var(--color-gold);
    font-weight: 500;
}

.hero-subtitle {
    font-size: 1.9rem;
    color: white;
    margin-bottom: 40px;
    line-height: 1.3;
    font-weight: 400;
}

.hero-subtitle strong {
    color: var(--color-primary);
    font-weight: 600;
}

.hero-hint {
        font-size: 0.9rem;
    font-weight: 400;
    color: white;
    margin-top: 10px;
    line-height: 1.2;
}

/* Doctor Frame on Hero */
.doctor-frame-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}




.value-prop-section{
     padding: 0;
    position: relative;
    background: #F5F5F5;
    overflow: hidden;
}

.value-prop-section::after{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url('../img/clinica.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.value-left {
    padding: 100px 9%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.value-right {   
    color: #fff;
    padding: 100px 9%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
    position: relative;
}

.quote-text {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--color-gold);
    border-left: 3px solid var(--color-gold);
    padding-left: 15px;
    margin-top: 20px;
}

/* Bullet list diamonds */
.list-diamond {
    list-style: none;
    padding-left: 0;
}

.list-diamond li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 9px;
    font-weight: 600;
    font-size: 1rem;
    color: #1E1E1E;
}

.list-diamond li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;

    width: 20px;
    height: 20px;

    background-image: url('../img/icn.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Speaker Section */
.speaker-section {
    background: linear-gradient(94.71deg, #112A46 3.21%, #2A67AC 99.43%);
    color: #fff;
    padding: 80px 0;
}

.speaker-img-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

/* Logos Section */
.logos-section {
    background-color: #fff;
    padding: 40px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.logo-item img {
   max-height: 60px;
    width: auto;
    max-width: 156px;
}

.logo-item2 img {
    max-height: 50px;
    width: auto;
    max-width: 156px;
}

/* Specialties Section */
.specialties-section {
    padding: 70px 0;
    background-color: #F5F5F5;
}
.titlespecialidades{
    font-weight: 600;
    font-size: 2.2rem;
    text-align: center;
    color: #34A4DB;
}

.subtitlespecialidades{
    font-style: italic;
    text-align: center;
    font-weight: 400;
    color: black;
    margin-bottom: 0px;
    font-size: 1.15rem;
}

.specialty-card {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    padding: 40px 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(10, 76, 124, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.specialty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(10, 76, 124, 0.1);
}

.specialty-card h3 {
    color: var(--color-primary);
    font-family: var(--font-body) !important;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.specialty-card p {
    color: #1E1E1E;
    font-size: 0.92rem;
    margin-bottom: 7px;
}

/* Technology Section */
.tech-section {
    padding: 75px 0;
    padding-bottom: 45px;
    background-color: #fff;
}

.tech-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid #e1e7ec;
    margin-bottom: 10px;
}

.tech-accordion .accordion-button {
    font-weight: 600;
    font-size: 1.2rem;
    font-family: var(--font-body) !important;
    color: var(--color-primary);
    display: flex;
    flex-wrap: wrap;
}
.accordion-button {
    box-shadow: none !important;
}
.tech-accordion .accordion-button:not(.collapsed){
    background-color: #ECF6FF !important;
    padding-bottom: 0;
}
.tech-accordion .accordion-collapse:not(.collapsed){
    background-color: #ECF6FF !important;
}
.accordion-collapse{
    padding: 0 20px;
}
.tech-accordion .accordion-body {
    padding: 10px 0 30px 0;
    color: var(--color-gray);
    font-size: 0.95rem;
}

.tech-gallery-img {
    width: 31%;
    border-radius: 8px;
    margin-right: 2%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.tech-gallery-img:last-child {
    margin-right: 0;
}

.tech-right-card {
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 3px 4px 8.3px 0px #0000001A;
    margin-bottom: 30px;
}
.titlevalor{
      display: block;
    font-family: Gelasio;
    font-weight: 600;
    font-size: 1.9rem;
    line-height: 1.2;
    color: #34A4DB;
    margin-bottom: 10px;
}
.lineh{
        line-height: 1.2;
}
.text-valor{
    font-weight: 600;
    font-style: Italic;
    font-size: 1rem;
    line-height: 1.3;
    color: #9C8669;
}
.tech-right-quote {
    font-family: var(--font-title);
    font-style: italic;
    font-size: 1.1rem;
    color: #9c734b;
    border-left: 2px solid var(--color-gold);
    padding-left: 15px;
    margin: 25px 0;
}

.tech-large-img {
    border-radius: 15px;
    width: 100%;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* FAQ Section */
.faq-section {
    padding: 40px 0;
    background-color: #F5F5F5;
}

.faq-accordion .accordion-item {
    border: none;
    border-radius: 12px !important;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    overflow: hidden;
}

.faq-accordion .accordion-button {
    font-family: var(--font-body) !important;
    font-weight: 600;
    color: #252942;
    background-color: #fff;
    box-shadow: none;
    padding: 20px 25px;
    font-size: 1.1rem;
}
.faq-accordion .accordion-collapse {
    padding: 0;
}
.subtifaq{
        font-size: 1.1rem;
}
/* .faq-accordion .accordion-button:not(.collapsed) {
    background-color: #fff;
    color: var(--color-accent);
    border-bottom: 1px solid #f1f4f8;
} */

.faq-accordion .accordion-body {
    padding: 25px;
    background-color: #fff;
    color: #999FA4;
    font-size: 1rem;
    padding-top: 0;
}

/* Booking & Location */
.booking-section {
    padding: 70px 0;
    background-color: #fff;
}

.booking-form-card {
    border: 0.5px solid #112A46;
    border-radius: 20px;
    padding: 35px;
    background-color: #FFFFFF;
}

.form-control, .form-select {
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid #d2dce4;
    font-size: 0.95rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(43, 177, 232, 0.15);
}

.form-check-input:checked {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.location-card {
    border: 0.5px solid #112A46;
    border-radius: 15px;
    padding: 40px 50px;
    background-color: #fff;
    margin-bottom: 30px;
}
.location-card h3{
    font-weight: 600;
        font-size: 2rem;
    color: var(--color-primary);
}

.location-card.gold-border {
    background: linear-gradient(101.77deg, #FFFFFF 2.2%, #FFE5C2 250.24%);
    border: 5px solid #C5A880
}

.location-badge {
   font-family: var(--font-body) !important;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    color: #1E1E1E;
    margin-bottom: 10px;
    display: block;
}

/* Bariatria: Timeline */
.timeline-section {
    padding: 0px 0;
    position: relative;
    padding-bottom: 35px;
}
.padititlebar{
        padding: 50px 0;
    padding-bottom: 15px;
}
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 40px auto 0 auto;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--color-gold-light);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
    z-index: 1;
}

@media (max-width: 767.98px) {
    .timeline-container::after {
        left: 31px;
    }
}

.timeline-row {
    position: relative;
    margin-bottom: 50px;
    z-index: 2;
    display: flex;
}

.timeline-badge {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #fff;
    font-weight: 600;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    align-self: center;
}

@media (max-width: 767.98px) {
    .timeline-badge {
        left: 31px;
        transform: translateX(-50%);
    }
}

.timeline-card-wrapper {
    width: 45%;
}

.timeline-row:nth-child(even) .timeline-card-wrapper {
    margin-left: auto;
}

@media (max-width: 767.98px) {
    .timeline-card-wrapper {
        width: calc(100% - 70px);
        margin-left: auto !important;
    }
}

.timeline-card {
    background-color: #F8F9FA;
    border-radius: 20px;
    padding: 30px;
}

.timeline-card h4 {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.timeline-card p {
    color: #1E1E1E;
    font-size: 1rem;
    margin-bottom: 0;
        line-height: 1.3;
}

/* Consultation Package Section */
.consultation-include-section {
   background: linear-gradient(90deg, #C5A880 0%, #9C8669 100%);
    color: #fff;
    padding: 55px 0;
}

.consultation-title {
   font-family: var(--font-title);
    font-size: 3.1rem;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
}

.consultation-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.consultation-list li {
    font-size: 1.8rem;
    font-weight: 600;
    position: relative;
    padding-left: 33px;
    margin-bottom: 7px;
    line-height: 1.2;
}

.consultation-list li:last-child {
    margin-bottom: 0;
}

.consultation-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: -2px;
    color: #464646;
    font-weight: 700;
    font-size: 1.6rem;
}

/* Estetica Page: Masonry Grid */
.estetica-section {
    padding: 40px 0;
}

.estetica-card {
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

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

.estetica-card-body {
    padding: 40px;
    flex-grow: 1;
}

.estetica-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.estetica-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--color-primary);
    font-size: 1.3rem;
}

.estetica-card h3 {
    margin-bottom: 0;
    color: var(--color-primary);
    font-size: 1.35rem;
}

.estetica-card-footer-badge {
    background-color: var(--color-accent);
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}


.estetica-grid{
    columns: 3;
    column-gap: 24px;
}

.estetica-card{
    display: inline-block;
    width: 100%;
    margin-bottom: 30px;
}




/* Equipo Page: Grid Premium */
.team-section {
    padding: 90px 0;
    background-color: #fff;
}

.team-card {
    text-align: center;
    margin-bottom: 50px;
}

.team-img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    background-color: #f5f8fa;
    aspect-ratio: 1 / 1;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.05);
}

.team-name {
    font-family: var(--font-title);
    font-size: 1.35rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.team-role {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gray);
}

/* Footer & Back to top */
.site-footer {
    background: linear-gradient(90deg, #34A4DB 0%, #1C5875 100%);
    color: rgba(255, 255, 255, 1);
    padding: 50px 0 30px 0;
    font-size: 1rem;
}

.site-footer h5 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-logo {
        height: 75px;
    margin-bottom: 0px;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
}

.footer-social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    background-color: rgba(255, 255, 255, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
}

.footer-social-icons a:hover {
    transform: translateY(-3px);
}
.footer-social-icons a i{
    color: #216688;
    font-size: 2rem;
}
.footer-bottom {
    margin-top: 30px;
    font-family: var(--font-body) !important;
    color: #fff;
}

.footer-bottom p{
    color: #fff;
}
.footer-bottom a{
    text-decoration: underline;
}
/* WhatsApp Flotante */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(18, 140, 126, 0.5);
}

/* Desktop float box (with text) */
.whatsapp-float-box {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #0b548c;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 5px 20px rgba(11, 84, 140, 0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.whatsapp-float-box:hover {
    background-color: #083c64;
    color: #fff;
    transform: translateY(-3px);
}

.whatsapp-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

/* Speaker image rotation */
.speaker-image-rotate {
    max-height: 380px;
    object-fit: cover;
    transition: opacity 1s ease-in-out;
}

/* Certifications modal styling */
.modal-cert-custom {
    border-radius: 24px;
    border: none;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1000;
}

.modal-close-btn .btn-close {
    width: 32px;
    height: 32px;
    background-color: #fff;
    border-radius: 50%;
    opacity: 1;
    border: 2px solid black !important;
}

.modal-header-cert {
    background: #fff;
    padding: 25px 30px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border: none;
        gap: 35px;
}

.cert-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.cert-photo-wrapper {
    width: 100px;
    height: 100px;
    min-width: 100px;
    border-radius: 50%;
    overflow: hidden;
}

.cert-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cert-header-text {
    flex: 1;
}

.cert-name {
    font-family: var(--font-title);
     font-size: 2rem;
    font-weight: 700;
    color: #112A46;
    margin-bottom: 4px;
    line-height: 1.2;
}

.cert-specialty {
    font-size: 1rem;
    color: #34A4DB;
    font-weight: 400;
    margin-bottom: 2px;
    line-height: 1.3;
    font-style: italic;
}

.cert-cedula {
    font-size: 1.2rem;
    color: #348FB9;
    font-weight: 700;
        margin-bottom: 0;
}

.modal-body-cert {
    padding: 25px 30px;
    background-color: #fff;
    padding-top: 0;
}

.cert-list-items {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.2;
    color: #1E1E1E;
}

.cert-list-items li {
    margin-bottom: 2px;
}
.title-inicio{
    font-weight: 500;
    color: var(--color-primary);
    font-size: 2.2rem;
    text-align: center;
        line-height: 1;
}
.body-inicio{
    font-weight: 400;
    font-size: 1.09rem;
    color: #1E1E1E !important;
    text-align: center;
        line-height: 1.3;
}
.body-inicio strong{
    color: var(--color-primary);
}
.inicio-color{
    color: var(--color-gold) !important;
}
.color-white{
    color: #fff !important;
}
.ch-weight{
    font-weight: 500 !important;
}

#dr-serna{
    background-color: #fff; 
    padding-top: 80px !important; 
    padding-bottom: 80px !important;
}

.title-dr{
    color: var(--color-primary); 
    font-size: 2.5rem;
}
.sub-dr{
    font-size: 1.2rem;
    font-family: var(--font-title);
    color: var(--color-accent) !important;
    font-weight: 400;
    font-style: italic;
}
.cedula{
    font-weight: 700;
    font-size: 1.2rem;
    color: #348FB9 !important;
}
.color-black{
    color: #1E1E1E !important;
}
.body-dr{
    font-size: 1rem;
    line-height: 1.5;
}

.certifications{
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    align-items: center;
}

.cert-img{
    height: auto;
    max-height: 42px;
    width: 100%;
    object-fit: contain;
    flex-shrink: 1;
    min-width: 0;
}

.cert-img1{
    height: auto;
    max-height: 47px;
    width: 100%;
    object-fit: contain;
    flex-shrink: 1;
    min-width: 0;
}
.textspeaker{
       font-weight: 400;
    font-size: 1.04rem;
    line-height: 1.3;
    padding-right: 11%;
}
.titlesocios{
   color: var(--color-gold-light);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 18%;
}
.chanfontbtn{
    font-size: 1rem;
    width: 95%;
    display: block;
    margin: auto;
}
.bgcd1{
    background-image: url('../img/estetica.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.bgcd2{
    background-image: url('../img/bariatria.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.bgcd3{
    background-image: url('../img/aparatologia.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.texttecnologia{
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.5;
}

.tech-accordion .accordion-item {
    border: none;
    border: 0.1px solid #0000004f;
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
}
.accordion-button::after{
    color: var(--color-primary);
    font-weight: 800;
}
.accordion-item:has(.accordion-button:not(.collapsed)){
    border: none;
}

.textdescp{
   font-family: var(--font-body) !important;
    font-size: 0.95rem;
    font-weight: 400;
    margin: 0;
    margin-top: 10px;
        order: 2;
        width: 100%;
}

.titleexce{
        color: var(--color-primary);
        font-size: 1.8rem;
}
.tech-right-card2{
    background: #FFFFFF;
    border: 0.5px solid #112A46;
    padding: 20px;
    border-radius: 20px;
}

.titlecontact{
    color: #112A46 !important;
    font-size: 2rem;
}

.custom-option input[type="checkbox"]{
    appearance: none;
    -webkit-appearance: none;

    width: 18px;
    height: 18px;
    border-radius: 100%;

    background: #d9d9d9;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    border: none;
}

.custom-option input[type="checkbox"]:checked{
    background: #2ea7e0;
}

.form-control, .form-select {
   border-color: #1E1E1E !important;
}
.btnconctac{    
    padding-inline: 55px !important;
}

.hover-white:hover {
    color: #ffffff !important;
}
.footermenu a{
    font-size: 1rem;
}

/* BARIATRIA */


#bariatriabg{
    background-image: url('../img/fondobariatria.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.section-bariatrica{
    font-family: Open Sans;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-transform: uppercase;
    color: #1E1E1E;
}
.titlebaritrica{
    font-weight: 600;
    font-size: 2.5rem;
    text-align: center;
    color: var(--color-accent) !important;
}
/* 
ESTETICA */
#esteticabg{
    background-image: url('../img/fondoestetica.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.estetica-icon{
    width: 100%;
}

.magtotileest{
   padding-top: 40px;
    margin-bottom: 0;
    padding-bottom: 10;
}

.hignh{
   margin-block: 31px;
    min-height: 65vh;
}






@media (max-width: 1400px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .title-inicio {
        margin-bottom: 18px !important;
    }
    .body-inicio {
        margin-bottom: 30px !important;
    }
}


@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    .logo-img {
        width: 145px;
    }
    .nav-link {
        font-size: 0.9rem;
        padding: 4px 8px !important;
    }
    .btnmenu{       
        padding: 6px 18px !important;
        font-size: 0.9rem;
    }
    .btn-primary-dark {
        padding: 14px 20px;
        font-size: 0.9rem;
    }
    .btn-outline-gold {
        padding: 13px 20px;
        font-size: 0.9rem;
    }
    .value-left {
        padding: 40px 5%;
    }
    .value-right {
       padding: 40px 5%;
    }
    .title-inicio {
        font-size: 2rem;
    }
    .body-inicio {
        margin-bottom: 0 !important;
    }
    .ch-weight {
        margin-top: 15px;
    }
    #dr-serna {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
    .hero-subtitle {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .section-badge2 {
        font-size: 0.8rem;
        margin-bottom: 14px;
    }
    .title-dr {
        font-size: 2rem;
    }
    .sub-dr {
        font-size: 1rem;
            margin-bottom: 6px !important;
    }
    .btn-outline-black {
        padding: 11px 15px;
        font-size: 0.9rem;
    }
    .textspeaker {
        font-size: 1rem;
        padding-right: 4%;
    }
    .speaker-section {
        padding: 44px 0;
    }

    .specialties-section {
        padding: 40px 0;
    }
    .titlespecialidades {
        font-size: 2rem;
    }
    .subtitlespecialidades {
        font-size: 1.1rem;
    }
    .mbesp{
        margin-bottom: 25px !important;
    }
    .specialty-card {
        padding: 30px 30px;
    }
    .specialty-card h3 {
        font-size: 1.3rem;
    }
    .chanfontbtn {
        font-size: 0.85rem;
        width: 99%;
        padding: 9px 13px;
    }
    .tech-section {
        padding: 50px 0;
        padding-bottom: 35px;
    }
    .titlespecialidades {
        font-size: 1.9rem;
    }
    .texttecnologia {
        font-size: 1.06rem;
        line-height: 1.2;
    }
    .tech-right-card {
        padding: 25px;
    }
    .titlevalor {
        font-size: 1.8rem;
    }
    .titleexce {
        font-size: 1.5rem;
    }
    .booking-section {
        padding: 50px 0;
    }
    .titlecontact {
        font-size: 1.8rem;
    }
    .custom-option label {
        font-size: 0.9rem;
    }
    .location-card {
        padding: 30px 40px;
    }
    .location-card h3 {
        font-size: 1.8rem;
    }
    .footer-logo {
        height: 60px;
    }
    .footermenu a {
        font-size: 0.85rem;
    }
    .footer-social-icons a {
        width: 30px;
        height: 30px;
    }
    .footer-social-icons a i {
        font-size: 1.2rem;
    }
    .consultation-list li {
        font-size: 1.6rem;
    }

    .section-bariatrica {
        font-size: 0.9rem;
    }
    .magtotileest {
        padding-top: 30px;
        padding-bottom: 0px;
    }
    .estetica-section {
        padding: 25px 0;
    }
    .estetica-card-body {
        padding: 25px;
    }
    .estetica-icon-box {
        margin-right: 10px;
        width: 43px;
        min-width: 43px;
        height: 43px;
    }
    .estetica-card h3 {
        font-size: 1.1rem;
    }
    .list-diamond li::before {
        width: 16px;
        height: 16px;
    }
    .list-diamond li {
        padding-left: 23px;
        line-height: 1.2;
    }
    .estetica-card-footer-badge {
        padding: 15px;
        font-size: 0.9rem;
        line-height: 1.2;
    }
    .titlebaritrica {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    #navbarSerna ul{
            width: 180px;
        margin: auto;
        text-align: center;
    }
    .hero-section {
        padding: 45px 0 45px 0;
    }
    .img-hero-dr {
        height: 380px;
        width: auto;
        display: block;
        margin: auto;
    }


    .value-prop-section::after{
        top: auto;
        bottom: 0;
        width: 100%;
        height: 45%;
    }
    .order2{
        margin-bottom: 0 !important;
         order: 2;
    }
    .order1{
        order: 1;
    }
    .drserna{
            margin-top: 40px;
        height: 420px;
    }
    .logo-item img {
        max-height: 50px;
        max-width: 98px;
    }
    .logo-item2 img {
        max-height: 43px;
        max-width: 130px;
    }
    .subtifaq br{
        display: none;
    }
    .footer-logo {
        height: 50px;
    }
    .footermenu a {
        font-size: 0.8rem;
    }
    .cert-name {
        font-size: 1.5rem;
    }
    .cert-specialty {
        font-size: 0.9rem;
    }
    .cert-cedula {
        font-size: 1rem;
    }
    .navbar-toggler {
        color: rgb(53 164 220);
        background-color: #38a5dd;
        border: var(--bs-border-width) solid rgb(53 164 220);
    }
    .navbar-toggler{
        border-color: white;
    }

    .navbar-toggler-icon{
        filter: brightness(0) invert(1);
    }
    .consultation-list {
        width: 60%;
        margin: auto;
    }
    .mbmovilw{
        margin-bottom: 20px !important;
    }
   
    .estetica-grid{
        columns: 2;
    }

}

@media (max-width: 767px) {
    .section-badge {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }
    .hero-title br{
        display: none;
    }
    .hero-title {
        font-size: 2rem;
            margin-bottom: 20px;
    }
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 25px;
    }
    .btn-primary-dark {
        font-size: 0.9rem;
        width: 85%;
        margin: auto;
    }
    .btn-outline-gold {
         width: 85%;
        margin: auto;
        font-size: 0.9rem;
    }
    .mespco{
        margin-bottom: 14px !important;
    }
    .img-hero-dr {
        width: 80%;
        height: auto;
    }
    .title-inicio {
        font-size: 1.5rem;
    }
    .body-inicio {
        font-size: 1rem;
    }
    .value-left {
        padding-bottom: 10px;
    }
    .ch-weight {
        margin-top: 9px;
    }
    .value-right {
        padding-bottom: 28px;
    }
    #dr-serna {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
        text-align: center;
    }
    .title-dr {
        font-size: 1.5rem;
    }
    .cedula {
        font-size: 1.1rem;
    }
    .body-dr {
        font-size: 1rem;
        line-height: 1.3;
    }
    .list-diamond{
        text-align: left;
        width: 90%;
        margin: auto;
    }
    .btncont{
            gap: 0.8rem !important;
        text-align: center;
    }
     .btn-outline-black {
        font-size: 0.9rem;
        margin: auto;
        width: 85%;
    }
    .certifications {
        flex-wrap: wrap;
        gap: 14px;
        align-items: center;
        justify-content: center;
    }
    .drserna {
        margin-top: 33px;
        height: auto;
        width: 85%;
    }
    .modal-header-cert {
        flex-wrap: wrap;
        gap: 17px;
        flex-direction: column;
    }
    .cert-name {
        font-size: 1.3rem;
        text-align: center;
    }
    .cert-specialty {
        font-size: 0.8rem;
        text-align: center;
    }
    .cert-cedula {
        font-size: 0.9rem;
        text-align: center;
    }
    .cert-list-items{
        text-align: center;
    }
    .speaker-section {
        padding: 40px 0;
        text-align: center;
    }
    .textspeaker {
        font-size: 0.95rem;
        padding-right: 0;
    }
    .mbesp{
        margin-bottom: 20px !important;
    }
    .logos-section {
        text-align: center;
    }
    .titlesocios {
        font-size: 0.85rem;
        letter-spacing: 8%;
    }
    .logo-item img {
        max-height: 54px;
        max-width: 75%;
    }
    .logo-item2 img {
        max-height: 44px;
        max-width: 90%;
    }
    .logo-item img {
        max-height: 100%;
        max-width: 100%;
        width: 80%;
    }
    .logo-item2 img {
        max-height: 100%;
        max-width: 100%;
        width: 80%;
    }
    .titlespecialidades {
        font-size: 1.5rem;
    }
    .subtitlespecialidades {
        font-size: 1.05rem;
        line-height: 1.2;
    }
    .mbesp {
        margin-bottom: 10px !important;
    }
    .tech-section {
        padding: 40px 0;
        padding-bottom: 35px;
        text-align: center;
    }
    .titlespecialidades {
        font-size: 1.4rem;
        text-align: center !important;
        margin-bottom: 9px !important;
    }
    .texttecnologia {
        font-size: 1rem;
    }
    .mbpers{
        margin-bottom: 25px !important;
    }
    .titlevalor {
        font-size: 1.4rem;
    }
    .titleexce {
        font-size: 1.4rem;
    }
    .faq-section {
        padding: 30px 0;
    }
    .subtifaq {
        font-size: 1rem;
        margin-bottom: 0;
    }
    .mpfq{
        margin-bottom: 20px !important;
    }
    .faq-accordion .accordion-button {
        font-size: 1.05rem;
    }
    .faq-accordion .accordion-body {
        line-height: 1.2;
    }
    .booking-section {
        padding: 35px 0;
    }
    .titlecontact {
        font-size: 1.5rem;
        margin-bottom: 14px !important;
        text-align: center;
    }
    .booking-form-card {
        padding: 30px;
    }
    .btnconctac {
        padding-inline: 21px !important;
        width: 100%;
    }
    .location-card {
        padding: 27px 34px;
    }
    .location-card h3 {
        font-size: 1.5rem;
    }
    .textubi br{
        display: none;
    }
    .textubi{
       line-height: 1.2;
    }
    .btn-gold-filled {
        padding: 9px 30px;
        width: 100%;
        display: block;
        text-align: center;
    }
    .location-card{
        text-align: center;
    }
    .site-footer {
        padding: 30px 0 25px 0;
        text-align: center;
    }
    .footermenu-links{
        flex-direction: column;
        gap: 0.5rem !important;
    }
    .footermenu a {
        font-size: 0.9rem;
    }
    .footer-bottom {
        margin-top: 15px;
    }
    .footer-social-icons{
           justify-content: center !important; 
    }
    .list-diamond {
        margin-bottom: 23px !important;
    }
    .lineh {
        margin-bottom: 0 !important;
    }
    .footer-bottom p{
        font-size: 0.75rem;
    }
    html{
        scroll-padding-top: 300px;
    }
    .padititlebar {
        padding: 30px 0;
        padding-bottom: 3px;
    }
    .section-bariatrica {
        font-size: 0.9rem;
    }
    .titlebaritrica {
        font-size: 1.8rem;
    }
    .timeline-badge {
        width: 45px;
        height: 45px;
    }
    .timeline-card-wrapper {
        width: calc(100% - 60px);
    }
    .timeline-card {
        padding: 25px;
    }
    .timeline-card h4 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    .timeline-row {
        margin-bottom: 35px;
    }
    .timeline-section {
        padding-bottom: 17px;
    }
    .consultation-include-section {
        padding: 30px 0;
    }
    .consultation-title br{
      display: none;
    }
    .consultation-title {
        font-size: 1.8rem;
    }
    .mbmovilw {
        margin-bottom: 8px !important;
    }
    .consultation-list li {
        font-size: 1.3rem;
        padding-left: 30px;
    }
    .consultation-list li::before {
        font-size: 1.2rem;
    }
    .consultation-list {
        width: 88%;
    }
      .estetica-grid{
        columns: 1;
    }
    .titlebaritrica {
        font-size: 2rem;
    }
    .estetica-icon-box {
        width: 50px;
        min-width: 50px;
        height: 50px;
    }
    .estetica-card h3 {
        font-size: 1.2rem;
    }
    .list-diamond li::before {
        width: 20px;
        height: 20px;
    }
    .list-diamond li {
        padding-left: 27px;
        line-height: 1.2;
    }
    .estetica-card-footer-badge {
        padding: 18px;
        font-size: 1rem;
        line-height: 1.2;
    }

}