/* ============================================================
   HPE ProLiant Compute landing (prototipo) - scoped a .hpe-proto
   Variables redefinidas dentro de .hpe-proto para no pisar las
   del layout oscuro (_ServerLayout / server-layout.css).
   ============================================================ */

.hpe-proto {
    --ink: #262c3a;
    --muted: #59616e;
    --dark: #1c1f27;
    --dark2: #272d3a;
    --green: #00a982;
    --line: #cfd5da;
    --max: 1500px;

    margin: -27px;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: #fff;
}

.hpe-proto * { box-sizing: border-box; }
.hpe-proto a { text-decoration: none; color: inherit; }
.hpe-proto button { font: inherit; cursor: pointer; }

.hpe-proto .utility { height: 78px; background: #1c1f27; color: #fff; display: flex; align-items: center; padding: 0 20px; gap: 22px; }
.hpe-proto .logo { font-size: 40px; font-weight: 700; }
.hpe-proto .logo span { color: var(--green); }
.hpe-proto .search { width: 430px; height: 42px; border: 1px solid #3b4150; border-radius: 7px; padding: 0 14px; color: #aaa; display: flex; align-items: center; }
.hpe-proto .spacer { flex: 1; }
.hpe-proto .demo { background: #fff; color: #2d3240; padding: 12px 22px; border-radius: 999px; font-weight: 700; }

.hpe-proto .subnav { height: 73px; background: #272d3a; color: #fff; display: flex; align-items: center; padding: 0 70px; position: sticky; top: var(--header-height, 70px); z-index: 30; }
.hpe-proto .subnav .title { font-size: 22px; font-weight: 700; }
.hpe-proto .links { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.hpe-proto .pill { padding: 12px 20px; border-radius: 999px; background: #1f2430; }
.hpe-proto .outline { border: 2px solid #00e1b2; padding: 11px 20px; border-radius: 999px; font-weight: 700; }

.hpe-proto .hero { min-height: 760px; background: #1b1e26; color: #fff; display: grid; grid-template-columns: 46% 54%; position: relative; overflow: hidden; }
.hpe-proto .hero:after { content: ""; position: absolute; right: 0; bottom: 0; width: 72%; height: 48%; background: linear-gradient(90deg,#2a313b,#3f5c62 45%,#00a982); opacity: .88; }
.hpe-proto .hero-copy { padding: 105px 70px; z-index: 2; }
.hpe-proto .hero-copy .kicker { font-size: 27px; font-weight: 700; margin-bottom: 28px; }
.hpe-proto .hero-copy h1 { font-size: 70px; line-height: .98; margin: 0 0 35px; max-width: 520px; }
.hpe-proto .hero-copy p { font-size: 23px; line-height: 1.48; max-width: 650px; }
.hpe-proto .white-btn { display: inline-flex; padding: 18px 34px; border-radius: 999px; background: #fff; color: #2c3140; font-weight: 700; border: 0; }
.hpe-proto .hero-media { z-index: 2; display: flex; align-items: center; justify-content: center; padding-top: 120px; }
.hpe-proto .hero-media img { width: 95%; height: 72%; object-fit: contain; }

.hpe-proto .section { padding: 55px 36px; }
.hpe-proto .inner { max-width: var(--max); margin: auto; }
.hpe-proto .section h2 { font-size: 46px; margin: 0 0 50px; }
.hpe-proto .benefits { display: grid; grid-template-columns: repeat(3,1fr); gap: 36px; }
.hpe-proto .benefit { background: #f4f4f4; padding: 30px 28px; min-height: 222px; }
.hpe-proto .benefit h3 { font-size: 26px; margin: 0 0 14px; }
.hpe-proto .benefit p { font-size: 18px; line-height: 1.45; color: #525a67; }
.hpe-proto .text-link { color: #007f68; font-weight: 700; margin-top: 22px; display: inline-block; }
.hpe-proto .center { text-align: center; margin-top: 55px; }
.hpe-proto .dark-btn { background: #262c3a; color: #fff; border: 0; padding: 17px 34px; border-radius: 999px; font-weight: 700; }

.hpe-proto .customers { padding: 30px 0 20px; }
.hpe-proto .customers h2 { max-width: var(--max); margin: 0 auto 30px; padding: 0 36px; font-size: 46px; }
.hpe-proto .customer-stage { position: relative; height: 585px; background: #111; color: #fff; overflow: hidden; }
.hpe-proto .customer-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hpe-proto .customer-stage:after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(0,0,0,.82),rgba(0,0,0,.35) 43%,transparent 73%); }
.hpe-proto .customer-copy { position: relative; z-index: 3; padding: 170px 36px; max-width: 650px; }
.hpe-proto .customer-copy h3 { font-size: 31px; line-height: 1.14; margin: 0 0 12px; }
.hpe-proto .customer-copy p { font-size: 18px; line-height: 1.45; }
.hpe-proto .cust-nav { position: absolute; z-index: 5; left: 36px; bottom: 28px; display: flex; gap: 14px; }
.hpe-proto .cust-nav button { width: 50px; height: 50px; border-radius: 50%; border: 0; font-size: 25px; }

.hpe-proto .modern { display: grid; grid-template-columns: 46% 54%; gap: 55px; }
.hpe-proto .modern-left h2 { font-size: 44px; margin-bottom: 22px; }
.hpe-proto .modern-left p { font-size: 17px; line-height: 1.55; color: #58616e; }
.hpe-proto .modern-right { display: grid; gap: 36px; }
.hpe-proto .modern-card { background: #f3f3f3; padding: 28px; }
.hpe-proto .modern-card h3 { font-size: 24px; margin: 0 0 12px; }
.hpe-proto .modern-card p { font-size: 16px; line-height: 1.5; color: #58616e; }

.hpe-proto .finance { background: #1b1e26; color: #fff; padding: 55px 80px; }
.hpe-proto .finance-wrap { max-width: 1350px; margin: auto; display: grid; grid-template-columns: 58% 42%; align-items: center; }
.hpe-proto .finance h2 { font-size: 43px; line-height: 1.05; }
.hpe-proto .finance p { font-size: 17px; line-height: 1.55; max-width: 640px; }
.hpe-proto .finance img { justify-self: end; width: 90%; max-height: 330px; object-fit: contain; }

.hpe-proto .portfolio { padding: 26px 30px 55px; }
.hpe-proto .portfolio h2 { font-size: 30px; margin: 0 0 8px; }
.hpe-proto .tabs { display: flex; gap: 34px; margin: 28px 0 22px; }
.hpe-proto .tab { padding: 12px 0; border: 0; background: none; font-weight: 700; color: #4d5561; }
.hpe-proto .tab.active { border-bottom: 3px solid var(--green); color: #202633; }
.hpe-proto .table-wrap { overflow: auto; }
.hpe-proto .compare { width: 100%; border-collapse: collapse; table-layout: fixed; min-width: 1100px; font-size: 14px; color: var(--ink); }
.hpe-proto .compare th, .hpe-proto .compare td { border: 1px solid #cbd1d6; padding: 18px 13px; vertical-align: top; }
.hpe-proto .compare thead th { background: #e4e7e9; }
.hpe-proto .compare thead th:first-child { width: 15%; }
.hpe-proto .compare thead img { height: 70px; object-fit: contain; margin: 0 auto 10px; display: block; }
.hpe-proto .compare tbody th { background: #f4f4f4; text-align: left; }
.hpe-proto .learn { color: #007f68; font-weight: 700; }
.hpe-proto .configure { margin-top: 10px; background: #262c3a; color: #fff; border: 0; border-radius: 999px; padding: 10px 15px; font-weight: 700; font-size: 12px; }

.hpe-proto .partners { padding: 35px 55px; }
.hpe-proto .partner-row { display: flex; gap: 34px; flex-wrap: wrap; font-size: 26px; font-weight: 800; margin-bottom: 75px; }
.hpe-proto .savings { display: grid; grid-template-columns: 45% 55%; gap: 40px; align-items: center; }
.hpe-proto .save-art { display: flex; align-items: center; justify-content: center; gap: 20px; }
.hpe-proto .save-art img { max-width: 100%; max-height: 320px; height: auto; object-fit: contain; }
.hpe-proto .stack { display: grid; gap: 4px; }
.hpe-proto .mini { width: 115px; height: 24px; border-radius: 4px; background: #252b36; box-shadow: inset 0 0 0 2px #3f4857; }
.hpe-proto .single { width: 170px; height: 60px; border-radius: 7px; background: #252b36; box-shadow: inset 0 0 0 2px #3f4857; }
.hpe-proto .savings h3 { font-size: 32px; }
.hpe-proto .savings p { color: #59616e; line-height: 1.55; }

.hpe-proto .faqres { padding: 30px 42px 60px; }
.hpe-proto .faqres h2 { font-size: 31px; }
.hpe-proto .faq { border-top: 1px solid #aeb6be; }
.hpe-proto .faq:last-child { border-bottom: 1px solid #aeb6be; }
.hpe-proto .faq button { width: 100%; text-align: left; background: none; border: 0; padding: 18px 10px; font-weight: 700; display: flex; justify-content: space-between; }
.hpe-proto .answer { display: none; padding: 0 10px 18px; color: #59616e; }
.hpe-proto .faq.open .answer { display: block; }
.hpe-proto .resources { display: grid; grid-template-columns: repeat(5,1fr); gap: 18px; }
.hpe-proto .resource { background: #f4f4f4; }
.hpe-proto .resource img { width: 100%; height: 105px; object-fit: cover; }
.hpe-proto .resource-body { padding: 15px; }
.hpe-proto .resource h3 { font-size: 14px; }
.hpe-proto .resource p { font-size: 11px; color: #666d78; }
.hpe-proto .resource a { font-size: 12px; color: #007f68; font-weight: 700; }

.hpe-proto .proto-footer { background: #1c1f27; color: #c7ccd4; padding: 35px 50px; font-size: 12px; }

/* ---------- Video modal (Brightcove) ---------- */

.hpe-video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,.82);
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.hpe-video-modal.open { display: flex; }

.hpe-video-dialog {
    position: relative;
    width: 88%;
    max-width: 1200px;
    background: #1c1f27;
    border: 1px solid #3b4150;
    border-radius: 10px;
    padding: 22px 26px 26px;
    box-shadow: 0 30px 80px rgba(0,0,0,.6);
}

.hpe-video-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.hpe-video-title {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.hpe-video-close {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border: 1px solid #3b4150;
    border-radius: 50%;
    background: #272d3a;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s ease;
}

.hpe-video-close:hover { background: #00a982; border-color: #00a982; }

.hpe-video-frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background: #000;
    border-radius: 6px;
    overflow: hidden;
}

.hpe-video-frame .video-js,
.hpe-video-frame video-js,
.hpe-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Controles del player Brightcove/video.js siempre accesibles en el modal */
.hpe-video-frame .video-js .vjs-control-bar {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10;
}

.hpe-video-frame .video-js .vjs-big-play-button {
    display: block;
    z-index: 10;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

.hpe-video-frame .video-js.vjs-playing .vjs-big-play-button,
.hpe-video-frame .video-js.vjs-error .vjs-big-play-button { display: none; }

.hpe-video-frame .video-js.vjs-paused .vjs-big-play-button,
.hpe-video-frame .video-js.vjs-ended .vjs-big-play-button { display: block; }

.hpe-video-footer {
    display: none;
    margin-top: 12px;
    text-align: right;
}

.hpe-video-footer a {
    color: #00a982;
    font-size: 13px;
    font-weight: 700;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
}

.hpe-video-footer a:hover { text-decoration: underline; }

/* Selector de videos dentro del modal */
.hpe-video-list {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.hpe-video-item {
    flex: 1 1 0;
    min-width: 150px;
    background: #272d3a;
    border: 1px solid #3b4150;
    border-radius: 7px;
    padding: 10px 12px;
    cursor: pointer;
    text-align: left;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    transition: border-color .15s ease, background .15s ease;
}

.hpe-video-item:hover { border-color: #00a982; }

.hpe-video-item.active {
    border-color: #00a982;
    background: #1f2c29;
}

.hpe-video-item .hpe-video-item-label {
    font-size: 13px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.hpe-video-item .hpe-video-item-meta {
    font-size: 11px;
    color: #9aa3b0;
}

.hpe-video-item.active .hpe-video-item-meta { color: #00a982; }

@media (max-width: 720px) {
    .hpe-video-list { gap: 6px; }
    .hpe-video-item { min-width: calc(50% - 6px); padding: 8px 10px; }
}

@media (max-width: 720px) {
    .hpe-video-modal { padding: 10px; }
    .hpe-video-dialog { width: 100%; padding: 14px; }
    .hpe-video-title { font-size: 16px; }
    .hpe-video-close { width: 36px; height: 36px; font-size: 17px; }
}

@media (max-width: 1000px) {
    .hpe-proto .search, .hpe-proto .demo { display: none; }
    .hpe-proto .subnav { padding: 0 20px; }
    .hpe-proto .hero { grid-template-columns: 1fr; }
    .hpe-proto .hero-copy { padding: 70px 30px 30px; }
    .hpe-proto .hero-copy h1 { font-size: 55px; }
    .hpe-proto .hero-media { height: 390px; padding: 0 20px 40px; }
    .hpe-proto .benefits, .hpe-proto .modern, .hpe-proto .finance-wrap, .hpe-proto .savings { grid-template-columns: 1fr; }
    .hpe-proto .resources { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 720px) {
    .hpe-proto { margin: -18px -13px -100px; }
}
