/* Centro Bariatrico - Home */

.cb-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 30px;
}

.cb-eyebrow {
    font-family: var(--cb-font-body);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--cb-gold);
}

.cb-eyebrow-light {
    color: var(--cb-gold);
}

/* ===== HERO ===== */
.cb-hero {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.cb-hero-media {
    position: absolute;
    inset: 0;
}

.cb-hero-bg {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: right;
    background-size: 55%;
}

.cb-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(247, 246, 243, .96) 0%, rgba(247, 246, 243, .97) 32%, rgba(247, 246, 243, .99) 45%, rgba(247, 246, 243, 0) 72%);
}

.cb-hero-inner {
    position: relative;
    width: 100%;
    padding: 56px 0;
}

.cb-hero-content {
    max-width: 560px;
}

.cb-hero-title {
    font-family: var(--cb-font-heading);
    line-height: 1.08;
    margin: 16px 0 0;
}

.cb-hero-title .cb-gold-text {
    display: inline-block;
    color: var(--cb-gold);
    font-weight: 600 !important;
    font-size: clamp(28px, 4vw, 48px);
}

.cb-hero-title .cb-navy-text {
    display: inline-block;
    color: var(--cb-navy);
    font-weight: 700 !important;
    font-size: clamp(34px, 5.4vw, 58px);
}

.cb-hero-role {
    font-family: var(--cb-font-heading);
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 500;
    color: var(--cb-text-soft);
    margin-top: 12px;
}

.cb-divider {
    width: 150px;
    height: 2px;
    background: var(--cb-gold);
    margin: 22px 0 18px;
}

.cb-hero-hosp {
    font-family: var(--cb-font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--cb-text);
}

.cb-hero-sub {
    font-family: var(--cb-font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--cb-text-soft);
    margin: 16px 0 0;
    max-width: 30em;
}

.cb-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.cb-hero-ctas a{
    text-decoration: none;
}

.cb-btn-dark,
.cb-btn-outline {
    font-family: var(--cb-font-heading);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 8px;
    transition: .3s;
}

.cb-btn-dark {
    background: var(--cb-charcoal);
    color: #fff;
}

.cb-btn-dark:hover {
    background: var(--cb-gold-dark);
    color: #fff;
}

.cb-btn-outline {
    background: rgba(255, 255, 255, .7);
    border: 1px solid #cfccc5;
    color: var(--cb-text);
}

.cb-btn-outline:hover {
    background: #fff;
    color: var(--cb-text);
}

.cb-hero-badges {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.cb-badge-cert {
    height: 78px;
    width: auto;
}

.cb-badge-sep {
    width: 1px;
    height: 50px;
    background: #cfccc5;
}

.cb-badge-hosp {
    height: 50px;
    width: auto;
}

@media (max-width: 767.98px) {
    .cb-hero {
        min-height: 0;
        display: block;
    }

    .cb-hero-media {
        position: relative;
        height: 260px;
    }

    .cb-hero-bg{
        background-size: 100%;
    }

    .cb-hero-overlay {
        background: linear-gradient(180deg, rgba(247, 246, 243, 0) 45%, rgba(247, 246, 243, 1) 100%);
    }

    .cb-hero-inner {
        position: relative;
        padding-top: 0;
    }

    .cb-hero-content {
        max-width: none;
        padding-top: 24px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .cb-hero-bg{
        background-size: 115%;
    }
}

/* ===== TRUST BAR ===== */
.cb-trust {
    background: var(--cb-charcoal);
    color: #e7e4df;
    padding: 26px 0;
}

.cb-trust-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 22px 33px;
    align-items: center;
    justify-content: space-between;
}

.cb-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cb-trust-item img {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
}

.cb-trust-item span {
    font-family: var(--cb-font-body);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.35;
}

.cb-trust-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e7e4df;
}

.cb-trust-contact:hover {
    color: #fff;
}

.cb-trust-contact img {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
}

.cb-trust-contact strong {
    display: block;
    font-family: var(--cb-font-heading);
    font-size: 14.5px;
    font-weight: 600;
    color: #fff;
}

.cb-trust-contact small {
    font-family: var(--cb-font-body);
    font-size: 12px;
    color: #b3afa8;
}

/* ===== ESPECIALIDADES ===== */
.cb-specialties {
    padding: 78px 0;
    background: var(--cb-bg-soft);
}

.cb-specialties-inner {
    display: grid;
    grid-template-columns: minmax(240px, 300px) 1fr;
    gap: 48px;
    align-items: start;
}

.cb-specialties-side {
    position: sticky;
    top: 90px;
}

.cb-specialties-side h2 {
    font-size: clamp(28px, 3.4vw, 38px);
    line-height: 1.12;
    margin: 14px 0 0;
    color: var(--cb-text);
}

.cb-specialties-side p {
    font-family: var(--cb-font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--cb-text-soft);
    margin: 16px 0 0;
}

.cb-link-arrow {
    font-family: var(--cb-font-heading);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 600;
    margin-top: 22px;
    color: var(--cb-gold);
}

.cb-link-arrow:hover {
    color: var(--cb-gold-dark);
}

.cb-specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
}

.cb-card {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(30, 30, 35, .06);
}

.cb-card-head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.cb-card-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
}

.cb-tag {
    font-family: var(--cb-font-body);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--cb-muted);
}

.cb-card h3 {
    font-size: 17px;
    line-height: 1.25;
    margin: 3px 0 0;
    color: var(--cb-text);
}

.cb-card p {
    font-family: var(--cb-font-body);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--cb-text-soft);
    margin: 14px 0 0;
}

@media (max-width: 991.98px) {
    .cb-specialties-inner {
        grid-template-columns: 1fr;
    }

    .cb-specialties-side {
        position: static;
    }
}

/* ===== NOSOTROS ===== */
.cb-about {
    padding: 0;
    color: #fff;
    background: var(--cb-charcoal) url('../images/bg-nosotros1.jpg') no-repeat center center;
    background-size: cover;
    overflow: hidden;
}

.cb-about-inner {
    display: grid;
    grid-template-columns: 1.9fr 247px 0.8fr;
    gap: 1em;
    align-items: center;
    padding: 0;
}

.cb-about h2 {
    font-size: clamp(26px, 3.2vw, 36px);
    line-height: 1.12;
    color: #fff;
    margin: 12px 0 0;
}

.cb-about p {
    font-family: var(--cb-font-body);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    color: #fff;
    margin: 12px 0 0;
}

.cb-about-badges {
    display: flex;
    align-items: flex-start;
    gap: 1em;
    margin-top: 2em;
    flex-wrap: wrap;
    border: 1px solid #555;
    border-radius: 8px;
    background: rgba(50, 50, 50, .8);
}
.cb-about-badges img{
    filter: brightness(0) invert(1);
}

.cb-about-badges2 {
    display: flex;
    align-items: flex-end;
    gap: 1em;
    margin-top: 2em;
    flex-wrap: wrap;
}

.cb-badge-chip {
    /*background: rgba(255, 255, 255, .92);*/
    border-radius: 16px;
    padding: 8px 12px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;

}

.cb-badge-chip img {
    max-height: 70px;
    max-width: 155px;
    width: auto;
    object-fit: cover;
}

.cb-about-photo-wrap {
    position: relative;
    align-self: end;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.cb-about-arc {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.cb-about-photo {
    position: relative;
    max-height: 340px;
    width: auto;
    object-fit: contain;
}

.cb-check-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cb-check-list li {
    display: flex;
    gap: 11px;
}

.cb-check-list li::before {
    content: "✓";
    color: var(--cb-gold);
    font-weight: 700;
    flex: 0 0 auto;
}

.cb-check-list li span {
    font-family: var(--cb-font-body);
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.45;
    color: #fff;
}

@media (max-width: 991.98px) {
    .cb-about{
        padding: 0 1em;
    }
    .cb-about-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cb-about-badges, .cb-about-badges2 {
        justify-content: center;
    }

    .cb-about-photo-wrap {
        order: 2;
        align-self: center;
        margin-bottom: 0;
    }

    .cb-check-list li {
        text-align: left;
    }
}

/* ===== CONTACTO ===== */
.cb-contact {
    padding: 78px 0;
    background: var(--cb-bg-soft);
}

.cb-contact-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 48px;
    align-items: start;
}

.cb-contact-sub {
    font-family: var(--cb-font-body);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--cb-text-soft);
    margin: 16px 0 0;
    max-width: 26em;
}

.cb-contact-list {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cb-contact-row {
    font-family: var(--cb-font-body);
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--cb-text);
}

.cb-contact-row.cb-contact-row-top {
    align-items: flex-start;
}

.cb-contact-row img {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
}

.cb-contact-row .cb-contact-strong {
    font-family: var(--cb-font-heading);
    font-size: 17px;
    font-weight: 600;
}

.cb-contact-row p {
    font-size: 15.5px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    color: var(--cb-text);
}

.cb-map-link {
    font-family: var(--cb-font-heading);
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-top: 6px;
    color: var(--cb-gold);
}

.cb-map-link:hover {
    color: var(--cb-gold-dark);
}

.cb-map {
    border-radius: 20px;
    overflow: hidden;
    min-height: 360px;
    border: 1px solid var(--cb-border);
    background: #e9e7e3;
}

.cb-map iframe {
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
}

#beneficios a, .cb-footer a, #contacto a{
    text-decoration: none;
}

#beneficios a:hover, .cb-footer a:hover, #contacto a:hover{
    text-decoration: underline;
}

.cb-btn-outline:hover {
    color: var(--cb-gold-dark);
}