/* MVX brand sites — same layout tokens, proportions and components as MVX Solutions. */
html { scroll-padding-top: 78px; }

.brand-identity { display: inline-flex; align-items: center; gap: 12px; }
.brand-identity img { width: 174px; }
.brand-identity > span { width: 1px; height: 27px; background: rgba(255, 255, 255, .23); }
.brand-identity strong { color: #eef0f1; font-size: 9px; font-weight: 600; letter-spacing: .25em; }
.nav-portal-mobile { display: none; }

.hero { height: 100vh; height: 100svh; min-height: 720px; }
.hero-media img { object-position: center; }
.brand-hero-scan {
    position: absolute;
    inset: -15% auto -15% -24%;
    width: 18%;
    background: linear-gradient(90deg, transparent, rgba(255, 31, 45, .16), rgba(255, 255, 255, .08), transparent);
    filter: blur(10px);
    mix-blend-mode: screen;
    transform: skewX(-12deg);
    animation: brand-hero-scan 8s cubic-bezier(.45, 0, .3, 1) infinite;
}
.hero-shade { background: linear-gradient(90deg, rgba(4, 5, 6, .98) 0%, rgba(4, 5, 6, .83) 38%, rgba(4, 5, 6, .12) 73%, rgba(4, 5, 6, .42) 100%), linear-gradient(0deg, rgba(4, 5, 6, .62), transparent 48%); }
.hero-content { width: min(700px, 48vw); max-width: none; }
.hero h1 { max-width: 760px; margin: 0 0 24px; font-size: clamp(42px, 4.2vw, 66px); font-weight: 300; line-height: 1.02; letter-spacing: -.052em; }
.hero-content > p { max-width: 610px; color: #d0d4d5; font-size: clamp(16px, 1.15vw, 19px); line-height: 1.65; }

.brand-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr); gap: clamp(65px, 9vw, 150px); align-items: center; }
.brand-intro-copy h2 { max-width: 830px; margin-bottom: 29px; font-size: clamp(42px, 4.3vw, 69px); font-weight: 300; line-height: 1.06; letter-spacing: -.045em; }
.brand-intro-copy > p { max-width: 690px; margin: 0; color: var(--light-muted); font-size: 16px; line-height: 1.8; }
.brand-pillars { border-top: 1px solid var(--light-line); }
.brand-pillars article { display: grid; grid-template-columns: 43px 1fr; gap: 18px; padding: 27px 0; border-bottom: 1px solid var(--light-line); }
.brand-pillars article > span { color: #dc1623; font-size: 9px; letter-spacing: .15em; }
.brand-pillars strong { display: block; margin-bottom: 7px; font-size: 12px; letter-spacing: .13em; }
.brand-pillars p { margin: 0; color: var(--light-muted); font-size: 13px; line-height: 1.65; }

.brand-services { border-top: 1px solid var(--light-line); }
.brand-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--light-line); border-left: 1px solid var(--light-line); }
.brand-service-card { position: relative; min-height: 395px; display: flex; flex-direction: column; padding: clamp(27px, 3vw, 45px); border-right: 1px solid var(--light-line); border-bottom: 1px solid var(--light-line); background: var(--light-surface); transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.brand-service-card:hover { z-index: 1; background: #fff; transform: translateY(-4px); box-shadow: 0 24px 55px rgba(20, 23, 24, .1); }
.brand-service-card header { display: flex; justify-content: space-between; color: #a4a7a5; font-size: 9px; letter-spacing: .15em; }
.brand-service-card header i { color: #dc1623; font-style: normal; }
.brand-service-icon { width: 55px; height: 55px; display: grid; place-items: center; margin: 56px 0 30px; border-radius: 6px; background: #e71725; color: #fff; box-shadow: 0 10px 25px rgba(231, 23, 37, .16); }
.brand-service-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.brand-service-card h3 { margin: 0 0 12px; color: var(--light-text); font-size: clamp(21px, 1.75vw, 27px); font-weight: 500; letter-spacing: -.03em; }
.brand-service-card p { margin: 0 0 25px; color: var(--light-muted); font-size: 14px; line-height: 1.7; }
.brand-service-card > a { display: flex; justify-content: space-between; margin-top: auto; padding-top: 17px; border-top: 1px solid var(--light-line); color: #34393a; font-size: 11px; font-weight: 600; }
.brand-service-card > a b { color: #dc1623; }

.brand-capabilities { background: radial-gradient(circle at 8% 0%, rgba(255, 31, 45, .1), transparent 26%), #080a0b; }
.brand-capability-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brand-capability-grid article { min-height: 285px; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(25px, 3vw, 42px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brand-capability-grid article > span { color: var(--red); font-size: 9px; letter-spacing: .16em; }
.brand-capability-grid h3 { margin: 0 0 10px; font-size: 17px; font-weight: 500; letter-spacing: .08em; }
.brand-capability-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.brand-audience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--light-line); border: 1px solid var(--light-line); }
.brand-audience-grid article { min-height: 270px; display: flex; flex-direction: column; padding: clamp(25px, 3vw, 42px); background: var(--light-surface); }
.brand-audience-grid span { color: #dc1623; font-size: 9px; letter-spacing: .16em; }
.brand-audience-grid h3 { margin: 58px 0 12px; font-size: clamp(18px, 1.5vw, 23px); font-weight: 500; letter-spacing: -.025em; }
.brand-audience-grid p { margin: 0; color: var(--light-muted); font-size: 13px; line-height: 1.7; }
.brand-audience-grid a { display: flex; justify-content: space-between; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--light-line); color: #34393a; font-size: 11px; font-weight: 600; }
.brand-audience-grid a b { color: #dc1623; }

.brand-outcomes { background: #0b0e0f; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brand-outcome-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.brand-outcome-grid article { min-height: 255px; padding: 12px clamp(22px, 2.4vw, 38px); border-left: 1px solid var(--line); }
.brand-outcome-grid article:first-child { border-left: 0; padding-left: 0; }
.brand-outcome-grid span { color: var(--red); font-size: 9px; letter-spacing: .16em; }
.brand-outcome-grid h3 { margin: 75px 0 13px; font-size: 20px; font-weight: 500; }
.brand-outcome-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.brand-process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.brand-process-grid article { position: relative; min-height: 285px; padding: 0 clamp(22px, 2.6vw, 42px); border-left: 1px solid var(--light-line); }
.brand-process-grid article:first-child { padding-left: 0; border-left: 0; }
.brand-process-grid span { color: #dc1623; font-size: 9px; letter-spacing: .16em; }
.brand-process-grid i { display: block; width: 8px; height: 8px; margin: 33px 0 57px; border-radius: 50%; background: #dc1623; box-shadow: 0 0 0 6px rgba(220, 22, 35, .08); }
.brand-process-grid h3 { margin: 0 0 13px; font-size: 21px; font-weight: 500; }
.brand-process-grid p { margin: 0; color: var(--light-muted); font-size: 13px; line-height: 1.7; }

.contact-section .contact-form select { width: 100%; min-height: 51px; padding: 0 14px; border: 1px solid #cfccc5; border-radius: 3px; background: #fff; color: #15191a; outline: 0; }
.contact-section .contact-form select:focus { border-color: #d31622; box-shadow: 0 0 0 3px rgba(211, 22, 34, .09); }
.contact-section .contact-form > label { display: grid; gap: 8px; color: #3d4243; font-size: 11px; font-weight: 600; }
.closing-cta { background: linear-gradient(105deg, rgba(4, 5, 6, .97), rgba(4, 5, 6, .72)), url('/assets/images/hero-datacenter.png') center 68%/cover; }

.site-footer-brand-lockup { display: flex; align-items: center; gap: 15px; margin: 30px 0 42px; }
.site-footer-brand-lockup .site-footer-logo { margin: 0; }
.site-footer-brand-lockup strong { padding-left: 15px; border-left: 1px solid rgba(255, 255, 255, .2); color: #eef0f1; font-size: 9px; font-weight: 600; letter-spacing: .25em; }

.legal-page { min-height: 100vh; padding: 180px var(--page-gutter) 100px; }
.legal-page > * { max-width: 900px; }
.legal-page h1 { margin: 0 0 25px; font-size: clamp(45px, 5vw, 72px); font-weight: 300; letter-spacing: -.045em; }
.legal-page .legal-lead { font-size: 19px; line-height: 1.7; }
.legal-page section { margin-top: 42px; padding-top: 30px; border-top: 1px solid var(--light-line); }
.legal-page section h2 { margin-bottom: 13px; font-size: 25px; }
.legal-page section p { color: var(--light-muted); line-height: 1.75; }
.legal-page section a { color: #c9121e; }
.legal-back { margin-top: 45px; color: var(--light-text); }

@keyframes brand-hero-scan {
    0%, 16% { left: -24%; opacity: 0; }
    23% { opacity: .72; }
    58% { left: 112%; opacity: .28; }
    65%, 100% { left: 112%; opacity: 0; }
}

@media (max-width: 1050px) {
    .nav .nav-portal-mobile { display: grid; }
    .brand-intro { grid-template-columns: 1fr; }
    .brand-service-grid, .brand-audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .brand-capability-grid, .brand-outcome-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .brand-outcome-grid article:nth-child(3) { border-left: 0; }
    .brand-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 45px 0; }
    .brand-process-grid article:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 700px) {
    .brand-identity img { width: 137px; }
    .brand-identity > span { height: 22px; }
    .brand-identity strong { font-size: 8px; letter-spacing: .18em; }
    .header-actions { margin-left: auto; }
    .hero-content { width: auto; }
    .hero h1 { font-size: clamp(30px, 8.6vw, 38px); }
    .hero-media img { object-position: 62% center; }
    .brand-intro-copy h2 { font-size: 38px; }
    .brand-service-grid, .brand-audience-grid, .brand-capability-grid, .brand-outcome-grid, .brand-process-grid { grid-template-columns: 1fr; }
    .brand-service-card { min-height: 350px; }
    .brand-capability-grid article { min-height: 225px; }
    .brand-outcome-grid article, .brand-outcome-grid article:first-child { min-height: 220px; padding: 30px 0; border-left: 0; border-top: 1px solid var(--line); }
    .brand-outcome-grid article:first-child { border-top: 0; }
    .brand-outcome-grid h3 { margin-top: 42px; }
    .brand-process-grid { gap: 0; }
    .brand-process-grid article, .brand-process-grid article:first-child, .brand-process-grid article:nth-child(3) { min-height: 245px; padding: 32px 0; border-left: 0; border-top: 1px solid var(--light-line); }
    .brand-process-grid article:first-child { border-top: 0; }
    .brand-process-grid i { margin: 25px 0 35px; }
    .site-footer-brand-lockup { margin: 25px 0 34px; }
    .legal-page { padding-top: 130px; }
}

@media (prefers-reduced-motion: reduce) {
    .brand-service-card { transition: none; }
    .brand-hero-scan { display: none; animation: none; }
}
