:root {
  --biv-navy: #082d43;
  --biv-deep: #052236;
  --biv-cyan: #00a9d6;
  --biv-mint: #46c9ba;
  --biv-gold: #e5b84d;
  --biv-paper: #f7f4ee;
  --biv-cloud: #edf4f4;
  --biv-ink: #143344;
  --biv-muted: #607681;
  --biv-white: #fff;
}

/* Esta hoja solo carga en la landing. */
.wp-page-main { padding: 0 !important; background: var(--biv-white) !important; }
.wp-page-in, .wp-page-content { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
.wp-page-title { display: none !important; }
/* Esta página es una pieza de campaña autónoma: se ocultan los elementos globales del sitio. */
body:has(.biv-mentoria) header,
body:has(.biv-mentoria) footer,
body:has(.biv-mentoria) #masthead,
body:has(.biv-mentoria) #colophon,
body:has(.biv-mentoria) .site-header,
body:has(.biv-mentoria) .site-footer,
body:has(.biv-mentoria) .top-header,
body:has(.biv-mentoria) .biv-header,
body:has(.biv-mentoria) .biv-footer { display: none !important; }
/* Tema BIV 2026: sus elementos globales se imprimen como topbar, nav y footer. */
body.biv-mentoria-page > .topbar,
body.biv-mentoria-page > nav,
body.biv-mentoria-page > footer { display: none !important; }

.biv-mentoria, .biv-mentoria * { box-sizing: border-box; }
.biv-mentoria { overflow: hidden; color: var(--biv-ink); background: var(--biv-white); font-family: inherit; }
.biv-shell { position: relative; width: min(1120px, calc(100% - 44px)); margin-inline: auto; }

.biv-hero { position: relative; isolation: isolate; padding: clamp(44px, 6vw, 78px) 0 clamp(52px, 7vw, 86px); background: var(--biv-paper); }
.biv-hero::before { position: absolute; z-index: -1; top: -130px; right: -90px; width: min(48vw, 620px); aspect-ratio: 1; border-radius: 48% 52% 58% 42% / 42% 43% 57% 58%; content: ""; background: var(--biv-cyan); opacity: .13; transform: rotate(18deg); }
.biv-hero::after { position: absolute; z-index: -1; right: 15%; bottom: -70px; width: 190px; height: 190px; border: 36px solid var(--biv-gold); border-radius: 50%; content: ""; opacity: .35; }
.biv-brand-row { position: relative; z-index: 2; margin: -20px 0 29px; }
.biv-institute-logo { display: block; width: min(560px, 62vw); height: auto; filter: drop-shadow(0 8px 10px rgba(5,34,54,.18)) drop-shadow(0 1px 0 rgba(255,255,255,.9)); }
.biv-hero-biv-logo { position: absolute; top: 85px; left: 87%; display: block; width: min(325px, 29vw); height: auto; filter: drop-shadow(0 7px 8px rgba(5,34,54,.13)); transform: translateX(-50%); }
.biv-hero-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(270px, .65fr); gap: clamp(28px, 7vw, 100px); align-items: end; }
.biv-eyebrow { margin: 0 0 15px; color: #087a99; font-size: .75rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.biv-hero h1 { max-width: 800px; margin: 0; color: var(--biv-navy); font-size: clamp(2.7rem, 6.3vw, 5.7rem); font-weight: 800; letter-spacing: -.07em; line-height: .89; }
.biv-hero h1 em { color: var(--biv-cyan); font-family: Georgia, "Times New Roman", serif; font-size: .92em; font-weight: 400; letter-spacing: -.065em; }
.biv-lead { max-width: 630px; margin: 27px 0 26px; color: #365364; font-size: clamp(1.04rem, 1.8vw, 1.28rem); line-height: 1.58; }
.biv-tech-proof { max-width: 650px; margin: -7px 0 25px; padding: 14px 17px 14px 19px; border-left: 4px solid var(--biv-gold); color: #174960; background: rgba(255,255,255,.7); box-shadow: 0 7px 18px rgba(8,45,67,.08); font-size: clamp(.9rem, 1.25vw, 1rem); line-height: 1.48; }
.biv-tech-proof strong { color: var(--biv-navy); }
.biv-button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 14px 22px; border: 0; border-radius: 5px; font: inherit; font-size: .77rem; font-weight: 850; letter-spacing: .045em; line-height: 1.2; text-align: center; text-decoration: none !important; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.biv-button:hover { transform: translateY(-2px); }
.biv-button-primary { max-width: 460px; color: var(--biv-white); background: var(--biv-navy); box-shadow: 0 15px 27px rgba(8,45,67,.19); }
.biv-button-primary:hover { background: #0d4968; }
.biv-hero-note { margin: 13px 0 0; color: #607581; font-size: .82rem; }

.biv-program-wrap { justify-self: end; width: 100%; max-width: 390px; }
.biv-program-card { position: relative; min-height: 366px; padding: clamp(32px, 4vw, 48px) clamp(24px, 3vw, 34px) clamp(24px, 3vw, 34px); overflow: hidden; color: var(--biv-white); background: var(--biv-navy); box-shadow: 18px 18px 0 var(--biv-gold); }
.biv-program-card::after { position: absolute; right: -55px; bottom: -80px; width: 210px; height: 210px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; content: ""; }
.biv-duration { display: flex; gap: 15px; align-items: center; }
.biv-duration, .biv-program-rule { position: relative; z-index: 1; }
.biv-duration span { color: var(--biv-gold); font-size: clamp(4rem, 7vw, 6.1rem); font-weight: 850; letter-spacing: -.09em; line-height: .8; }
.biv-duration small { font-size: .8rem; font-weight: 800; letter-spacing: .08em; line-height: 1.35; }
.biv-program-rule { width: 52px; height: 4px; margin: 31px 0 20px; background: var(--biv-mint); }
.biv-program-card p { position: relative; margin: 0 0 19px; color: rgba(255,255,255,.78); font-size: .93rem; line-height: 1.55; }
.biv-program-card strong { color: var(--biv-white); }

.biv-mentor-strip { padding: 22px 0; color: var(--biv-white); background: var(--biv-deep); }
.biv-mentor-strip p { max-width: 930px; margin: 0; font-size: clamp(.96rem, 1.6vw, 1.1rem); line-height: 1.55; }
.biv-mentor-strip strong { color: var(--biv-gold); }

.biv-section { padding: clamp(56px, 7vw, 96px) 0; }
.biv-section-heading { display: grid; grid-template-columns: 1fr minmax(240px, .53fr); gap: clamp(24px, 6vw, 85px); align-items: start; margin-bottom: 36px; }
.biv-section-heading h2, .biv-selection h2 { max-width: 740px; margin: 0; color: var(--biv-navy); font-size: clamp(2rem, 4.1vw, 3.7rem); letter-spacing: -.055em; line-height: 1.02; }
.biv-section-heading p { margin: 7px 0 0; color: var(--biv-muted); font-size: 1rem; line-height: 1.65; }
.biv-program-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #cddadc; border-left: 1px solid #cddadc; }
.biv-program-grid article { min-height: 230px; padding: 23px 22px; border-right: 1px solid #cddadc; border-bottom: 1px solid #cddadc; background: var(--biv-white); transition: background .18s ease; }
.biv-program-grid article:hover { background: var(--biv-cloud); }
.biv-program-grid span { color: var(--biv-cyan); font-size: .75rem; font-weight: 850; letter-spacing: .12em; }
.biv-program-grid h3 { margin: 44px 0 10px; color: var(--biv-navy); font-size: 1.3rem; letter-spacing: -.035em; }
.biv-program-grid p { margin: 0; color: var(--biv-muted); font-size: .92rem; line-height: 1.58; }

.biv-selection { padding: clamp(55px, 7vw, 90px) 0 42px; background: var(--biv-cloud); }
.biv-selection-layout { display: grid; grid-template-columns: 1.05fr .75fr; gap: clamp(35px, 7vw, 100px); align-items: center; }
.biv-selection h2 { margin-bottom: 20px; }
.biv-selection-layout > div > p:not(.biv-eyebrow) { max-width: 650px; margin: 0; color: #486370; font-size: 1.08rem; line-height: 1.65; }
.biv-selection-points { display: grid; gap: 2px; }
.biv-selection-points p { display: grid; grid-template-columns: 39px 1fr; gap: 13px; align-items: center; margin: 0 !important; padding: 15px 0; border-bottom: 1px solid #c5d8dc; color: var(--biv-navy) !important; font-size: .98rem !important; font-weight: 700; line-height: 1.35 !important; }
.biv-selection-points span { color: var(--biv-cyan); font-size: .76rem; font-weight: 850; letter-spacing: .08em; }
.biv-selection-action { display: flex; flex-wrap: wrap; gap: 17px 22px; align-items: center; padding-top: 38px; }
.biv-selection-commitment { flex-basis: 100%; max-width: 820px; margin: 0; color: #305563; font-size: .96rem; font-weight: 650; line-height: 1.55; }
.biv-button-outline { color: var(--biv-white); background: var(--biv-navy); }
.biv-selection-action small { color: #59727d; font-size: .78rem; }

.biv-dialog { width: min(850px, calc(100% - 28px)); max-height: min(91vh, 960px); padding: 0; border: 0; color: var(--biv-ink); background: var(--biv-white); box-shadow: 0 28px 90px rgba(4,30,47,.38); }
.biv-dialog::backdrop { background: rgba(5,31,47,.68); backdrop-filter: blur(4px); }
.biv-dialog-head { display: flex; justify-content: space-between; gap: 24px; padding: 27px 31px 18px; background: var(--biv-paper); }
.biv-dialog-head .biv-eyebrow { margin-bottom: 8px; }
.biv-dialog-head h2 { margin: 0; color: var(--biv-navy); font-size: clamp(1.8rem, 4vw, 2.7rem); letter-spacing: -.055em; }
.biv-dialog-close { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border: 1px solid #b8c9cd; border-radius: 50%; color: var(--biv-navy); background: transparent; font-size: 1.8rem; font-weight: 300; line-height: 1; cursor: pointer; }
.biv-form-intro { margin: 23px 31px 18px; color: var(--biv-muted); line-height: 1.55; }
.biv-form-commitment { margin: -6px 31px 20px; padding: 12px 14px; border-left: 3px solid var(--biv-gold); color: #42616d; background: #f7f4ee; font-size: .88rem; line-height: 1.5; }
.biv-form { display: grid; gap: 16px; padding: 0 31px 31px; }
.biv-two { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.biv-form label { display: grid; gap: 7px; color: var(--biv-navy); font-size: .9rem; font-weight: 750; }
.biv-form label > span { color: #c3424b; }
.biv-form input[type="text"], .biv-form input[type="email"], .biv-form input[type="tel"], .biv-form input[type="file"], .biv-form textarea { width: 100%; min-height: 48px; padding: 12px; border: 1px solid #b8cbd1; border-radius: 4px; color: var(--biv-ink); background: #fcfdfd; font: inherit; font-weight: 400; }
.biv-form textarea { resize: vertical; }
.biv-form input:focus, .biv-form textarea:focus { outline: 3px solid rgba(0,169,214,.18); border-color: var(--biv-cyan); }
.biv-file-label { padding: 15px; border: 1px dashed #92adb5; background: #f2f8f8; }
.biv-file-label small { color: #5b737d; font-size: .83rem; font-weight: 400; line-height: 1.45; }
.biv-file-label input { padding: 7px !important; background: var(--biv-white) !important; }
.biv-check { display: grid !important; grid-template-columns: 20px 1fr; gap: 10px !important; align-items: start; color: #506a75 !important; font-size: .86rem !important; font-weight: 400 !important; line-height: 1.5; }
.biv-check input { margin-top: 4px; }
.biv-check a { color: #007da1; }
.biv-submit { width: 100%; color: var(--biv-white); background: var(--biv-navy); box-shadow: 0 13px 25px rgba(8,45,67,.17); }
.biv-error { margin: 0 31px 16px; padding: 12px 15px; border-radius: 4px; color: #8b202a; background: #fff0f1; }
.biv-success-section { padding: 60px 0; background: var(--biv-cloud); }
.biv-success { max-width: 680px; text-align: center; }
.biv-success > span { display: grid; width: 58px; height: 58px; margin: 0 auto 17px; place-items: center; border-radius: 50%; color: var(--biv-white); background: var(--biv-mint); font-size: 1.8rem; font-weight: 900; }
.biv-success h2 { margin: 0 0 10px; color: var(--biv-navy); font-size: 2rem; }
.biv-success p { margin: 0; color: var(--biv-muted); line-height: 1.6; }
.biv-micro { margin: 0; color: #607984; font-size: .78rem; line-height: 1.45; }
.biv-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

@media (max-width: 820px) {
  .biv-hero-layout, .biv-section-heading, .biv-selection-layout { grid-template-columns: 1fr; }
  .biv-program-wrap { justify-self: start; max-width: 560px; }
  .biv-program-card { min-height: auto; max-width: 560px; }
  .biv-program-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .biv-shell { width: min(100% - 28px, 1120px); }
  .biv-hero { padding-top: 38px; }
  .biv-brand-row { margin: -10px 0 24px; }
  .biv-institute-logo { width: min(390px, 63vw); }
  .biv-hero-biv-logo { top: 65px; left: 91%; width: min(190px, 34vw); opacity: .96; }
  .biv-hero h1 { font-size: clamp(2.72rem, 14vw, 4.2rem); }
  .biv-lead { margin: 21px 0; font-size: 1rem; }
  .biv-tech-proof { margin: 0 0 21px; padding: 13px 14px 13px 16px; font-size: .89rem; }
  .biv-button { width: 100%; min-height: 58px; padding-inline: 16px; font-size: .7rem; }
  .biv-program-card { padding: 32px 25px 25px; box-shadow: 11px 11px 0 var(--biv-gold); }
  .biv-mentor-strip { padding: 20px 0; }
  .biv-mentor-strip p { font-size: .94rem; }
  .biv-section { padding: 53px 0; }
  .biv-section-heading { margin-bottom: 28px; }
  .biv-program-grid, .biv-two { grid-template-columns: 1fr; }
  .biv-program-grid article { min-height: 0; padding: 21px; }
  .biv-program-grid h3 { margin-top: 27px; }
  .biv-selection { padding-bottom: 34px; }
  .biv-dialog { width: 100%; max-width: 100%; max-height: 100vh; min-height: 100vh; }
  .biv-dialog-head { padding: 23px 19px 15px; }
  .biv-form-intro { margin: 18px 19px 16px; }
  .biv-form-commitment { margin: -4px 19px 17px; }
  .biv-form { gap: 14px; padding: 0 19px 28px; }
  .biv-error { margin: 0 19px 14px; }
}
