/* Estilos compartidos OI2 - complemento de base.css (Tailwind) */



.oi2-site {
    color: #212529;
    background: #f8f9fa;

}



/* Layout */

.oi2-container {

    max-width: 1180px;

    margin-inline: auto;

}



.oi2-section--white { background: #fff; }

.oi2-section--gray { background: #f8f9fa; }

.oi2-section--warm { background: #fff3e0; }



/* Tipografía */

.oi2-text-body { font-size: 16px; color: #495057; line-height: 1.75; }

.oi2-text-body--lg { font-size: 16px; color: #495057; line-height: 1.85; }

.oi2-text-muted { font-size: 15px; color: #6c757d; line-height: 1.75; }

.oi2-text-muted--sm { font-size: 14px; color: #6c757d; line-height: 1.7; }

.oi2-text-muted--xs { font-size: 13px; color: #6c757d; line-height: 1.6; }

.oi2-text-muted--center { font-size: 16px; color: #6c757d; line-height: 1.7; text-align: center; max-width: 560px; margin: 12px auto 0; }

.oi2-text-intro { font-size: 17px; color: #6c757d; line-height: 1.75; }

.oi2-text-label { font-weight: 600; font-size: 15px; color: #212529; }

.oi2-text-label--lg { font-weight: 700; font-size: 18px; color: #212529; }

.oi2-text-label--md { font-weight: 700; font-size: 15px; color: #212529; line-height: 1.4; }

.oi2-text-label--sm { font-weight: 700; font-size: 14px; color: #212529; }

.oi2-text-caption { font-size: 13px; color: #6c757d; }

.oi2-text-caption--sm { font-size: 12px; color: #6c757d; font-weight: 600; }

.oi2-text-strong { font-weight: 700; color: #212529; }

.oi2-text-accent { font-size: 16px; color: #ef7b00; font-weight: 600; }

.oi2-text-white { color: rgba(255, 255, 255, 0.92); }

.oi2-text-white--muted { color: rgba(255, 255, 255, 0.95); font-weight: 500; }



.section-title--lg { font-size: clamp(28px, 4vw, 48px); margin-bottom: 16px; }

.section-title--md { font-size: clamp(24px, 3vw, 38px); margin-bottom: 20px; }

.section-title--sm { font-size: clamp(22px, 2.8vw, 36px); margin-bottom: 10px; }

.section-title--mb { margin-bottom: 16px; }

.section-eyebrow--flush { margin-bottom: 0; }

.section-intro { font-size: 16px; color: #6c757d; margin-top: 12px; max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.7; }

.section-intro--narrow { max-width: 500px; }



/* Listas */

.oi2-list-plain { list-style: none; padding: 0; margin: 0; }



/* Iconos */

.oi2-icon { flex-shrink: 0; }

.oi2-icon--block { display: block; }

.oi2-icon--12 { width: 12px; height: 12px; }
.oi2-icon--13 { width: 13px; height: 13px; }
.oi2-icon--14 { width: 14px; height: 14px; }
.oi2-icon--15 { width: 15px; height: 15px; }
.oi2-icon--16 { width: 16px; height: 16px; }
.oi2-icon--17 { width: 17px; height: 17px; }
.oi2-icon--18 { width: 18px; height: 18px; }
.oi2-icon--19 { width: 19px; height: 19px; }
.oi2-icon--20 { width: 20px; height: 20px; }
.oi2-icon--21 { width: 21px; height: 21px; }
.oi2-icon--22 { width: 22px; height: 22px; }
.oi2-icon--24 { width: 24px; height: 24px; }
.oi2-icon--26 { width: 26px; height: 26px; }
.oi2-icon--28 { width: 28px; height: 28px; }
.oi2-icon--30 { width: 30px; height: 30px; }


/* Icon box */

.oi2-icon-box {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    background: #fff3e0;

}

.oi2-icon-box--rounded { border-radius: 0.75rem; }

.oi2-icon-box--rounded-lg { border-radius: 1rem; }

.oi2-icon-box--xs { width: 36px; height: 36px; border-radius: 0.5rem; }

.oi2-icon-box--sm { width: 42px; height: 42px; }

.oi2-icon-box--md { width: 44px; height: 44px; }

.oi2-icon-box--lg { width: 50px; height: 50px; border-radius: 1rem; }

.oi2-icon-box--xl { width: 52px; height: 52px; border-radius: 1rem; }

.oi2-icon-box--orange { background: #ef7b00; }



/* Cards */

.oi2-card { border: 1px solid rgba(0, 0, 0, 0.08); }

.oi2-card--muted { background: #f8f9fa; border: 1px solid rgba(0, 0, 0, 0.08); }

.oi2-card--white { background: #fff; border: 1px solid rgba(0, 0, 0, 0.08); }

.oi2-card--warm { background: #fff3e0; border: 1px solid rgba(239, 123, 0, 0.15); }



/* Badges dinámicos */

.oi2-badge { border-radius: 9999px; padding: 0.25rem 0.75rem; font-size: 11px; font-weight: 700; }

.oi2-badge--orange { background: #fff3e0; color: #ef7b00; }

.oi2-badge--blue { background: #f0f7ff; color: #5B8DB8; }



/* CTA boxes */

.oi2-cta-info {

    background: #f0f7ff;

    border: 1px solid rgba(91, 141, 184, 0.18);

}

.oi2-cta-info__title { font-weight: 700; font-size: 20px; color: #212529; margin-bottom: 6px; }

.oi2-cta-info__title--sm { font-size: 19px; margin-bottom: 4px; }

.oi2-cta-info__text { font-size: 15px; color: #6c757d; line-height: 1.65; }

.oi2-cta-gradient {

    background: linear-gradient(135deg, #ef7b00 0%, #de5f04 100%);

}

.oi2-cta-gradient__title { font-weight: 700; font-size: 19px; color: #fff; margin-bottom: 4px; }

.oi2-cta-gradient__text { font-size: 15px; color: rgba(255, 255, 255, 0.88); line-height: 1.6; }

.oi2-cta-gradient__btn {

    background: #fff;

    color: #ef7b00;

    font-weight: 700;

    font-size: 14px;

    text-decoration: none;

    white-space: nowrap;

}



/* FAQ */

.faq-trigger { background: #fff; border: none; cursor: pointer; }

.faq-trigger__text { font-weight: 600; font-size: 15px; color: #212529; line-height: 1.4; }

.faq-answer__text { font-size: 14px; color: #6c757d; line-height: 1.75; background: #fff3e0; }



/* Proceso (timeline) */

.oi2-process-line { background: linear-gradient(to right, #ef7b00, #de5f04); }

.oi2-process-step__label { font-size: 11px; color: #ef7b00; font-weight: 700; letter-spacing: 1px; }

.oi2-process-step__title { font-weight: 700; font-size: 15px; color: #212529; margin: 6px 0; }

.oi2-process-step__text { font-size: 13px; color: #6c757d; line-height: 1.6; }

.oi2-process-step__card { background: #fff; border: 1px solid rgba(0, 0, 0, 0.08); }

.oi2-process-step__icon { width: 64px; height: 64px; box-shadow: 0 4px 20px rgba(239, 123, 0, 0.35); }

.oi2-process-step__icon--primary { background: #ef7b00; }

.oi2-process-step__icon--secondary { background: #de5f04; }

.oi2-process-step__icon--sm { width: 48px; height: 48px; }

.oi2-process-step__connector { background: rgba(239, 123, 0, 0.25); min-height: 24px; }

.oi2-process-step__title--mobile { font-weight: 700; font-size: 16px; color: #212529; margin: 4px 0; }

.oi2-process-step__text--mobile { font-size: 14px; color: #6c757d; line-height: 1.6; }



/* Casos */

.casos-card { background: #fff; border: 1px solid rgba(0, 0, 0, 0.08); }



/* Mapa */

.oi2-map { height: 400px; background: #fff3e0; border: 1px solid rgba(0, 0, 0, 0.08); }

.oi2-map--sm { height: 360px; background: #f8f9fa; }

.oi2-map iframe { border: 0; }

.oi2-map-overlay {

    background: rgba(255, 255, 255, 0.97);

    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);

}

.oi2-map-overlay__title { font-weight: 700; font-size: 14px; color: #212529; }

.oi2-map-overlay__sub { font-size: 13px; color: #6c757d; }



/* Page hero */

.page-hero__breadcrumb-link { text-decoration: none; }

.page-hero__breadcrumb-text { font-size: 13px; color: #6c757d; }

.page-hero__breadcrumb-current { font-size: 13px; color: rgb(149, 149, 149); font-weight: 500; }

.page-hero__accent { background: #ef7b00; }

.page-hero__subtitle { font-size: 17px; color: #6c757d; line-height: 1.75; margin-top: 14px; max-width: 520px; }



/* Reserva cita */

.reserva-cita__title { font-size: clamp(28px, 4vw, 48px); margin-bottom: 16px; }

.reserva-cita__text { font-size: 17px; color: #6c757d; line-height: 1.75; margin-bottom: 32px; }

.reserva-cita__wa {

    font-size: 17px;

    padding: 1.25rem 2rem;

    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.35);

    white-space: nowrap;

}

.reserva-cita__info-title { font-weight: 600; font-size: 15px; color: #212529; }

.reserva-cita__info-sub { font-size: 13px; color: #6c757d; }

.reserva-cita__details { font-style: normal; }


/* Header */

.skip-link {
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 100;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: #fff;
    background: #212529;
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-150%);
    transition: transform 0.2s;
}

.skip-link:focus { transform: translateY(0); }
#site-header {

    background: #fff;

    border-color: #ef7b00;

    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);

    backdrop-filter: blur(8px);

}

.site-header__logo-link { text-decoration: none; }

.site-header__logo { width: 112px; height: 56px; object-fit: contain; display: block; }

.site-nav__link {

    font-size: 15px;

    color: #495057;

    font-weight: 500;

    text-decoration: none;

    border-bottom: 2px solid transparent;

    padding-bottom: 2px;

    transition: color 0.2s, border-color 0.2s;

}

.site-nav__link.is-active { color: #ef7b00; font-weight: 700; border-bottom-color: #ef7b00; }

.site-header__cta {

    background: #25D366;

    color: #fff;

    font-weight: 600;

    font-size: 14px;

    text-decoration: none;

}

.site-header__wa-mobile { background: #25D366; }

.site-header__menu-btn { color: #ef7b00; }

.site-header__menu-icon { width: 24px; height: 24px; }

#mobile-menu { border-color: rgba(0, 0, 0, 0.08); background: #fff; }

.site-nav__link--mobile {

    font-size: 16px;

    color: #212529;

    font-weight: 400;

    border-color: rgba(0, 0, 0, 0.06);

    text-decoration: none;

}

.site-nav__link--mobile.is-active { color: #ef7b00; font-weight: 700; }

.site-header__cta-mobile {

    background: #25D366;

    color: #fff;

    font-weight: 600;

    font-size: 15px;

    text-decoration: none;

}



/* WhatsApp widget */

#wa-widget { pointer-events: none; }

.wa-widget__tooltip {

    background: #fff;

    border: 1px solid rgba(0, 0, 0, 0.10);

    max-width: 220px;

    pointer-events: auto;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);

}

.wa-widget__tooltip-text { font-size: 13px; color: #212529; line-height: 1.4; }

.wa-widget__close { color: #6c757d; border: none; background: transparent; cursor: pointer; }

#wa-float-btn {

    width: 60px;

    height: 60px;

    background: #25D366;

    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.45);

    pointer-events: auto;

}

.wa-widget__ping {

    width: 60px;

    height: 60px;

    background: rgba(37, 211, 102, 0.3);

    animation-duration: 2s;

}



/* Footer */

.site-footer { background: #212529; }

.site-footer__logo { width: 132px; height: 90px; object-fit: contain; display: block; }

.site-footer__desc { font-size: 14px; color: rgba(255, 255, 255, 0.55); line-height: 1.75; }

.site-footer__social-link { background: rgba(255, 255, 255, 0.10); text-decoration: none; }

.site-footer__social-link--wsp { background: #25D366; }

.site-footer__heading {

    font-weight: 700;

    font-size: 13px;

    color: #ef7b00;

    letter-spacing: 1px;

    margin-bottom: 16px;

    text-transform: uppercase;

}

.site-footer__link { font-size: 14px; color: rgba(255, 255, 255, 0.55); text-decoration: none; }

.site-footer__bar { border-color: rgba(255, 255, 255, 0.10); }

.site-footer__copy { font-size: 13px; color: rgba(255, 255, 255, 0.35); }

.site-footer__address { font-style: normal; }
.footer-contact-link--static { cursor: default; }



/* 404 */

.error-404 { background: #f8f9fa; }

.error-404__code { font-size: 80px; font-weight: 700; color: #ef7b00; line-height: 1; }

.error-404__title { font-weight: 700; font-size: 28px; color: #212529; }

.error-404__text { color: #6c757d; font-size: 16px; }



.oi2-site p,

.oi2-site li,

.oi2-site span,

.oi2-site a,

.oi2-site button,

.oi2-site label,

.oi2-site input,

.oi2-site textarea {

    font-family: inherit;

}



.oi2-site a.btn-primary {

    display: inline-flex;

    align-items: center;

    gap: 0.5rem;

    border-radius: 9999px;

    padding: 0.875rem 1.75rem;

    background: #ef7b00;

    color: #fff;

    font-weight: 600;

    font-size: 15px;

    text-decoration: none;

    transition: opacity 0.2s, transform 0.2s;

}



.oi2-site a.btn-primary:hover { opacity: 0.9; }

.oi2-site a.btn-primary:active { transform: scale(0.95); }



.oi2-site a.btn-whatsapp {

    display: inline-flex;

    align-items: center;

    gap: 0.5rem;

    border-radius: 9999px;

    padding: 0.875rem 1.75rem;

    background: #25D366;

    color: #fff;

    font-weight: 700;

    font-size: 15px;

    text-decoration: none;

    transition: opacity 0.2s, transform 0.2s;

}



.oi2-site .section-eyebrow {

    font-size: 13px;

    color: #ef7b00;

    font-weight: 600;

    letter-spacing: 1px;

    text-transform: uppercase;

    margin-bottom: 12px;

}



.oi2-site .section-title {

    font-weight: 700;

    font-size: clamp(26px, 3.5vw, 42px);

    color: #212529;

    line-height: 1.2;

}



.oi2-site .hero-title {

    font-weight: 700;

    font-size: clamp(28px, 3.5vw, 46px);

    color: #212529;

    line-height: 1.15;

    letter-spacing: -0.3px;

}



.oi2-site .page-hero {

    padding-top: 4rem;

    padding-bottom: 3.5rem;

    border-bottom: 1px solid rgba(0, 0, 0, 0.07);

    background: rgb(255, 243, 224);

}



.oi2-site .faq-answer {

    max-height: 0;

    overflow: hidden;

    transition: max-height 0.3s ease;

}



.oi2-site .faq-item.open .faq-answer {

    max-height: 300px;

}



.oi2-site .faq-item.open .faq-chevron {

    transform: rotate(180deg);

}



.oi2-site [data-lucide] {

    display: inline-block;

    vertical-align: middle;

}



.oi2-site .faq-chevron {

    transition: transform 0.25s ease;

}



#site-header.is-scrolled {

    background: rgba(255, 255, 255, 0.98) !important;

    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12) !important;

}



.oi2-site .footer-contact-link {

    display: flex;

    align-items: flex-start;

    gap: 0.75rem;

    font-size: 14px;

    color: rgba(255, 255, 255, 0.55);

    line-height: 1.5;

    text-decoration: none;

    transition: opacity 0.2s;

}



.oi2-site a.footer-contact-link:hover {

    opacity: 0.9;

}



.oi2-site .footer-contact-link svg,

.oi2-site .footer-contact-link i {

    margin-top: 2px;

}



/* Fallbacks críticos si Tailwind no carga */

.oi2-site .hidden { display: none !important; }



@media (min-width: 1024px) {

    .oi2-site .lg\:flex { display: flex !important; }

    .oi2-site .lg\:hidden { display: none !important; }

    .oi2-site .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .oi2-site .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    .oi2-site .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

}


/* Proceso responsive con una sola estructura semántica */
.oi2-process-list { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.oi2-process-list__item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 1rem; align-items: start; position: relative; }
.oi2-process-list__item:not(:last-child)::after { content: ''; position: absolute; top: 48px; bottom: -1rem; left: 23px; width: 1px; background: rgba(239, 123, 0, 0.25); }
.oi2-process-list__icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 0.75rem; position: relative; z-index: 1; }
.oi2-process-list__card { padding: 1rem 1.1rem; border-radius: 1rem; text-align: left; }
@media (min-width: 1024px) {
    .oi2-process-list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; }
    .oi2-process-list::before { content: ''; position: absolute; top: 32px; right: 10%; left: 10%; height: 1px; background: linear-gradient(to right, #ef7b00, #de5f04); }
    .oi2-process-list__item { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; padding-inline: 1rem; }
    .oi2-process-list__item:not(:last-child)::after { display: none; }
    .oi2-process-list__icon { width: 64px; height: 64px; border-radius: 1rem; }
    .oi2-process-list__card { width: 100%; padding: 1.25rem; text-align: center; }
}

.page-hero__breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 0.45rem; }
.page-hero__breadcrumb-item + .page-hero__breadcrumb-item::before { margin-right: 0.45rem; color: #adb5bd; content: '›'; }