/* ==========================================================================
   BORME Empresas — Section CSS
   Figma: ecmI2Idtt5APSlPITfdi8D / node 998-29823
   ========================================================================== */

/* Full-bleed utility — escapes .alphinus-container */
.borme-empresas .home-full-bleed {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* Body overflow fix for full-bleed sections */
body:has(.borme-empresas) {
    overflow-x: clip;
}
body:has(.borme-empresas) .alphinus-container {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* ==========================================================================
   SHARED TYPOGRAPHY
   ========================================================================== */

/* Section title: Manrope/H5/Bold — 40px/48px, center */
.borme-empresas .borme-section-title {
    font-family: var(--skin-font-display);
    font-size: 40px;
    font-weight: 700;
    line-height: 48px;
    text-align: center;
    color: var(--skin-dark-900);  /* var(--skin-dark-900) */
    margin: 0;
}

/* Section subtitle: Manrope/body L/Medium — 20px/29px, center */
.borme-empresas .borme-section-sub {
    font-family: var(--skin-font-display);
    font-size: 20px;
    font-weight: 500;
    line-height: 29px;
    text-align: center;
    color: var(--skin-text-muted);   /* fill_9SH5DN */
    margin: 0;
}

/* ==========================================================================
   SHARED BUTTON STYLES
   ========================================================================== */

.borme-empresas .borme-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    font-family: var(--skin-font-base);
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.15s ease, box-shadow 0.15s ease;
}

/* Secondary button: white bg, dark text, 1px border — Figma layout_4IPS8D */
.borme-empresas .borme-btn--secondary {
    background: #FFFFFF;
    color: var(--skin-dark-900);   /* var(--skin-dark-900) — fill_WF5A4Q */
    border: 1px solid var(--skin-white-500);    /* fill_YUFBEJ */
    padding: 12px 24px;
    height: 62px;
    box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.02);
}
.borme-empresas .borme-btn--secondary:hover {
    opacity: 0.9;
}

/* Primary button: dark navy bg, white text — Figma layout_JJ9QN6 */
.borme-empresas .borme-btn--primary {
    background: var(--skin-darkblue-500);   /* var(--skin-darkblue-500) — fill_I29VZ7 */
    color: var(--skin-white-500);
    border: 1px solid #2719A5;   /* fill_IBGRWX */
    padding: 20px 24px;
    width: 348px;
    box-shadow: 0px 1px 2px 0px rgba(10, 13, 18, 0.05);
}
.borme-empresas .borme-btn--primary:hover {
    opacity: 0.9;
}

/* ==========================================================================
   HERO SECTION
   Figma: FRAME layout_9JRDQR — 1440×591, y:80 (below transparent header)
   Background: shutterstock image + blue-400 overlay 50%
   Container: layout_UWR4AT — 1280px, padding 0 20px, column, center, gap 96px
   Content: layout_3ABEFR — column, center, gap 20px
   ========================================================================== */

.borme-empresas .borme-hero {
    background:
        linear-gradient(0deg, rgba(85, 73, 196, 0.5) 0%, rgba(85, 73, 196, 0.5) 100%),
        url('/cdn/sections/borme/empresas/images/hero-bg.webp') center center / cover no-repeat;
    background-color: var(--skin-darkblue-500);
    min-height: 591px;
    display: flex;
    align-items: center;
}

.borme-empresas .borme-hero__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 112px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 96px;
    width: 100%;
    box-sizing: border-box;
}

.borme-empresas .borme-hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    align-self: stretch;
}

/* Hero title: Manrope/H2/Bold — 65px/87px, center, white */
.borme-empresas .borme-hero__title {
    font-family: var(--skin-font-display);
    font-size: 65px;
    font-weight: 700;
    line-height: 87px;
    text-align: center;
    color: var(--skin-white-500);   /* fill_YUFBEJ */
    margin: 0;
    max-width: 1132px;
}

/* Hero subtitle: inter/body L/Regular — 20px/24px, center, white */
.borme-empresas .borme-hero__sub {
    font-family: var(--skin-font-base);
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
    color: var(--skin-white-500);   /* fill_YUFBEJ */
    margin: 0;
    max-width: 932px;
}

.borme-empresas .borme-hero__cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* ==========================================================================
   HOW MONITORING WORKS
   Figma: layout_3FBXMV — column, padding 80px, gap 10px, white bg
   Inner: layout_S66I4P — column, center, gap 55px, width 1252px
   Header: layout_YTE6RC — column, gap 24px, width 569px
   Cards row: layout_Y1B5B4 — row, center, gap 24px, fill
   Card: layout_3GM4NP — column, padding 24px, 295px wide
   ========================================================================== */

.borme-empresas .borme-how {
    background: #FFFFFF;
    padding: 80px;
}

.borme-empresas .borme-how__inner {
    max-width: 1252px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 55px;
}

.borme-empresas .borme-how__header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    width: 569px;
}

.borme-empresas .borme-how__cards {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 24px;
    align-self: stretch;
}

/* Step card: layout_3GM4NP — 295px, column, padding 24px, border 1px var(--skin-white-500), radius 14px, shadow */
.borme-empresas .borme-step-card {
    width: 295px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    background: #FFFFFF;
    border: 1px solid var(--skin-white-500);   /* fill_YUFBEJ */
    border-radius: 14px;
    box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.1);   /* shadows-xxs */
    position: relative;
    box-sizing: border-box;
}

.borme-empresas .borme-step-card__top {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Icon wrap: SVGs ya incluyen fondo 48×48 — solo evitar que se encojan */
.borme-empresas .borme-step-card__icon-wrap {
    flex-shrink: 0;
}

.borme-empresas .borme-step-card__icon-wrap img {
    width: 48px;
    height: 48px;
    display: block;
}

.borme-empresas .borme-step-card__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Step card title: Manrope/body L/semibold — 20px, 600, dark */
.borme-empresas .borme-step-card__title {
    font-family: var(--skin-font-display);
    font-size: 20px;
    font-weight: 600;
    line-height: 29px;
    color: var(--skin-dark-900);   /* var(--skin-dark-900) */
    margin: 0;
}

/* Step card desc: inter/body s/Regular — 14px, 400, muted */
.borme-empresas .borme-step-card__desc {
    font-family: var(--skin-font-base);
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    color: var(--skin-text-muted);   /* fill_9SH5DN */
    margin: 0;
}

/* Step badge: absolute top-left floating outside card corner — Figma layout_YM64SW
   absoluteBB: card x=12409.82, badge x=12397.32 → badge is -12.5px left, -7px above card */
.borme-empresas .borme-step-card__badge {
    position: absolute;
    top: -7px;
    left: -12px;
    width: 32px;
    height: 32px;
    padding: 2px 8px;
    border-radius: 16px;
    background: var(--skin-darkblue-500);   /* var(--skin-darkblue-500) — fill_I29VZ7 */
    font-family: var(--skin-font-base);
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    text-align: center;
    color: var(--skin-white-500);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   MONITORING TYPES
   Figma: layout_R2E5MH — column, center, gap 64px, padding 80px 80px 0, #F9FAFB bg
   Cards row: layout_47R303 — row, center, gap 32px, fill
   Card: layout_GT9IAF — column, gap 24px, padding 24px, height 467px, radius 14px
   ========================================================================== */

.borme-empresas .borme-types {
    background: #F9FAFB;   /* fill_ZD4LSI */
    padding: 80px 80px 0;
}

.borme-empresas .borme-types__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
}

.borme-empresas .borme-types__header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    max-width: 569px;
    width: 100%;
}

.borme-empresas .borme-types__cards {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-self: stretch;
    gap: 32px;
}

/* Monitor card: layout_GT9IAF — column, gap 24px, padding 24px, min-height 467px, radius 14px */
.borme-empresas .borme-monitor-card {
    flex: 1;
    max-width: 392px;
    min-height: 467px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;   /* fill_1I1R15 */
    border-radius: 14px;
    box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.1);   /* effect_6NNZED */
    box-sizing: border-box;
}

/* Monitor card icon wrap: SVGs ya incluyen fondo 48×48 — solo evitar que se encojan */
.borme-empresas .borme-monitor-card__icon-wrap {
    flex-shrink: 0;
}

.borme-empresas .borme-monitor-card__icon-wrap img {
    width: 48px;
    height: 48px;
    display: block;
}

.borme-empresas .borme-monitor-card__body {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    gap: 24px;
    flex: 1;
}

.borme-empresas .borme-monitor-card__header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Monitor card title: Manrope/H8/semibold — 24px/29px, 600 */
.borme-empresas .borme-monitor-card__title {
    font-family: var(--skin-font-display);
    font-size: 24px;
    font-weight: 600;
    line-height: 29px;
    color: var(--skin-dark-900);   /* var(--skin-dark-900) */
    margin: 0;
}

/* Monitor card desc: inter/body M/Regular — 16px/20px, 400, muted */
.borme-empresas .borme-monitor-card__desc {
    font-family: var(--skin-font-base);
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: var(--skin-text-muted);   /* fill_9SH5DN */
    margin: 0;
    max-width: 312px;
}

/* Feature list: layout_9B02SH — column, stretch, gap 12px */
.borme-empresas .borme-monitor-card__features {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-self: stretch;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Feature item: layout_0VJBJV — row, center, gap 8px */
.borme-empresas .borme-monitor-card__feature {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-self: stretch;
    gap: 8px;
}

.borme-empresas .borme-monitor-card__feature img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Feature text: inter/body s/Regular (312:2635) — 14px/17px, 400, muted */
.borme-empresas .borme-monitor-card__feature span {
    font-family: var(--skin-font-base);
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    color: var(--skin-text-muted);   /* fill_9SH5DN */
}

/* ==========================================================================
   CTA SECTION
   Figma: layout_OJ4A4O — column, center, gap 32px, padding 112px 80px, #F1F5F9 bg
   Text block: layout_NQZ0EJ — column, gap 24px, width 670px
   ========================================================================== */

.borme-empresas .borme-cta {
    background: #F1F5F9;   /* fill_5M3OCO */
    padding: 112px 80px;
}

.borme-empresas .borme-cta__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.borme-empresas .borme-cta__text {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    width: 670px;
}

/* CTA title: Manrope/H5/Bold — 40px/48px, center */
.borme-empresas .borme-cta__title {
    font-family: var(--skin-font-display);
    font-size: 40px;
    font-weight: 700;
    line-height: 48px;
    text-align: center;
    color: var(--skin-dark-900);
    margin: 0;
}

/* CTA subtitle: Manrope/body L/Medium — 20px/29px, center, muted */
.borme-empresas .borme-cta__sub {
    font-family: var(--skin-font-display);
    font-size: 20px;
    font-weight: 500;
    line-height: 29px;
    text-align: center;
    color: var(--skin-text-muted);
    margin: 0;
}

/* ==========================================================================
   RESPONSIVE — MOBILE (≤768px)
   ========================================================================== */

@media (max-width: 768px) {
    .borme-empresas .borme-hero {
        min-height: 500px;
        padding: 0;
    }
    .borme-empresas .borme-hero__inner {
        padding: 80px 24px 64px;
        gap: 48px;
    }
    .borme-empresas .borme-hero__title {
        font-size: 40px;
        line-height: 52px;
    }
    .borme-empresas .borme-hero__sub {
        font-size: 16px;
        line-height: 22px;
    }
    .borme-empresas .borme-btn--secondary {
        width: 100%;
        max-width: 320px;
    }
    .borme-empresas .borme-how {
        padding: 48px 24px;
    }
    .borme-empresas .borme-how__inner {
        gap: 40px;
    }
    .borme-empresas .borme-how__header {
        width: 100%;
    }
    .borme-empresas .borme-how__cards {
        flex-direction: column;
        align-items: stretch;
    }
    .borme-empresas .borme-step-card {
        width: 100%;
    }
    .borme-empresas .borme-types {
        padding: 48px 24px 0;
    }
    .borme-empresas .borme-types__inner {
        gap: 40px;
    }
    .borme-empresas .borme-types__header {
        width: 100%;
    }
    .borme-empresas .borme-types__cards {
        flex-direction: column;
        align-items: stretch;
    }
    .borme-empresas .borme-monitor-card {
        max-width: 100%;
        height: auto;
    }
    .borme-empresas .borme-monitor-card__desc {
        max-width: 100%;
    }
    .borme-empresas .borme-cta {
        padding: 64px 24px;
    }
    .borme-empresas .borme-cta__text {
        width: 100%;
    }
    .borme-empresas .borme-cta__title {
        font-size: 28px;
        line-height: 36px;
    }
    .borme-empresas .borme-cta__sub {
        font-size: 16px;
        line-height: 24px;
    }
    .borme-empresas .borme-btn--primary {
        width: 100%;
        max-width: 320px;
    }
    .borme-empresas .borme-section-title {
        font-size: 28px;
        line-height: 36px;
    }
    .borme-empresas .borme-section-sub {
        font-size: 16px;
        line-height: 24px;
    }
}
