/* Purpose-built homepage composition. Existing brand colors are retained. */
.mh-page { color: #242424; }
.mh-page * { box-sizing: border-box; }
.mh-container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.mh-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .97); border-bottom: 1px solid rgba(5, 2, 103, .1); }
.mh-header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.mh-brand img { display: block; width: auto; height: 64px; }
.mh-nav { display: flex; align-items: center; gap: 28px; }
.mh-nav a { color: #050267; font-family: Poppins, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.mh-nav a:hover, .mh-nav a[aria-current="page"] { color: #dc3d28; }
.mh-nav .mh-nav-cta { padding: 12px 17px; border: 1px solid #dc3d28; border-radius: 5px; color: #dc3d28; }
.mh-nav .mh-nav-cta:hover { background: #dc3d28; color: #fff; }

.mh-hero { position: relative; overflow: hidden; min-height: 650px; background: #050267; }
.mh-hero-track { position: absolute; inset: 0; z-index: 0; }
.mh-hero-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s linear .8s; }
.mh-hero-slide.is-active { z-index: 1; opacity: 1; visibility: visible; transition: opacity .8s ease; }
.mh-hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 2, 103, .96) 0%, rgba(5, 2, 103, .78) 43%, rgba(5, 2, 103, .14) 80%); z-index: 1; }
.mh-hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.mh-hero-content { position: relative; z-index: 2; max-width: 700px; padding: 92px 0; color: #fff; }
.mh-eyebrow { display: inline-flex; align-items: center; gap: 11px; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.mh-eyebrow:before { content: ''; width: 34px; height: 3px; background: #dc3d28; }
.mh-hero h1 { max-width: 650px; margin: 22px 0; color: #fff; font-size: clamp(45px, 6.1vw, 76px); font-weight: 800; letter-spacing: -.06em; line-height: .98; }
.mh-hero p { max-width: 555px; margin: 0; color: rgba(255,255,255,.9); font-size: 18px; line-height: 1.65; }
.mh-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 35px; }
.mh-button { display: inline-flex; align-items: center; justify-content: center; min-height: 51px; padding: 0 24px; border: 1px solid #dc3d28; border-radius: 5px; background: #dc3d28; color: #fff; font-family: Poppins, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; transition: transform .2s ease, background .2s ease; }
.mh-button:hover { color: #fff; background: #050267; border-color: #050267; transform: translateY(-2px); }
.mh-button--ghost { background: transparent; border-color: rgba(255,255,255,.6); }
.mh-button--ghost:hover { background: #fff; border-color: #fff; color: #050267; }
.mh-hero-badge { position: absolute; z-index: 2; right: max(24px, calc((100vw - 1180px) / 2)); bottom: 0; width: 238px; padding: 24px; background: #dc3d28; color: #fff; }
.mh-hero-badge strong { display: block; font: 800 35px/1 Nunito, sans-serif; }
.mh-hero-badge span { display: block; margin-top: 7px; font-size: 13px; font-weight: 700; line-height: 1.35; text-transform: uppercase; }
.mh-hero h1 span { color: #dc3d28; }
.mh-hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(5,2,103,.25); color: #fff; font-size: 15px; cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.mh-hero-arrow:hover { background: #dc3d28; border-color: #dc3d28; transform: translateY(-50%) scale(1.06); }
.mh-hero-arrow--prev { left: 26px; }
.mh-hero-arrow--next { right: 26px; }
.mh-hero-dots { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.mh-hero-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; transition: background .2s ease, transform .2s ease; }
.mh-hero-dots button.is-active, .mh-hero-dots button:hover { background: #dc3d28; transform: scale(1.18); }

.mh-proof { background: #fff; }
.mh-proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.mh-proof-item { display: flex; align-items: center; gap: 16px; min-height: 118px; padding: 24px 30px; border-right: 1px solid rgba(5, 2, 103, .12); }
.mh-proof-item:first-child { border-left: 1px solid rgba(5, 2, 103, .12); }
.mh-proof-icon { display: grid; width: 45px; height: 45px; flex: 0 0 45px; place-items: center; border-radius: 50%; background: #f8f8f8; color: #dc3d28; font-size: 20px; }
.mh-proof-item strong { display: block; color: #050267; font-family: Poppins, sans-serif; font-size: 15px; }
.mh-proof-item span { display: block; margin-top: 2px; color: #555; font-size: 13px; line-height: 1.4; }

.mh-section { padding: 110px 0; }
.mh-section--soft { background: #f8f8f8; }
.mh-kicker { margin: 0 0 13px; color: #dc3d28; font-family: Poppins, sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.mh-title { max-width: 730px; margin: 0; color: #050267; font-size: clamp(34px, 4.3vw, 52px); font-weight: 800; letter-spacing: -.045em; line-height: 1.07; }
.mh-title span { color: #dc3d28; }
.mh-copy { margin: 20px 0 0; color: #505050; font-size: 16px; line-height: 1.75; }
.mh-intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(45px, 8vw, 112px); }
.mh-photo-frame { position: relative; padding: 0 32px 32px 0; }
.mh-photo-frame:after { content: ''; position: absolute; z-index: 0; right: 0; bottom: 0; width: 76%; height: 75%; border: 3px solid #dc3d28; border-radius: 7px; }
.mh-photo-frame img { position: relative; z-index: 1; width: 100%; min-height: 410px; object-fit: cover; border-radius: 7px; box-shadow: 0 22px 50px rgba(5,2,103,.14); }
.mh-intro-content .mh-button { margin-top: 29px; }

.mh-section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.mh-section-head .mh-copy { max-width: 390px; margin-bottom: 0; }
.mh-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mh-service { position: relative; display: flex; min-height: 250px; flex-direction: column; padding: 30px; overflow: hidden; border: 1px solid rgba(5,2,103,.1); border-radius: 8px; background: #fff; color: #050267; transition: transform .25s ease, box-shadow .25s ease; }
.mh-service:hover { color: #fff; transform: translateY(-6px); box-shadow: 0 20px 38px rgba(5,2,103,.16); }
.mh-service:after { content: ''; position: absolute; inset: 0; z-index: 0; background: #050267; transform: translateY(101%); transition: transform .3s ease; }
.mh-service:hover:after { transform: translateY(0); }
.mh-service > * { position: relative; z-index: 1; }
.mh-service i { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 7px; background: #f8f8f8; color: #dc3d28; font-size: 22px; }
.mh-service h3 { max-width: 250px; margin: auto 0 7px; color: inherit; font-size: 22px; font-weight: 800; line-height: 1.16; }
.mh-service p { margin: 0; color: #666; font-size: 14px; line-height: 1.5; transition: color .25s ease; }
.mh-service:hover p { color: rgba(255,255,255,.8); }
.mh-service .mh-arrow { position: absolute; right: 26px; bottom: 25px; color: #dc3d28; font-size: 19px; }

.mh-solution { position: relative; overflow: hidden; background: #050267; color: #fff; }
.mh-solution:after { content: ''; position: absolute; z-index: 0; inset: 0; background: linear-gradient(90deg, rgba(5,2,103,.96), rgba(5,2,103,.55)), url('../img/service-bg-1.jpg') center/cover; opacity: .94; }
.mh-solution-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 70px 0; }
.mh-solution .mh-kicker { color: #fff; }
.mh-solution .mh-title { color: #fff; max-width: 690px; }
.mh-solution .mh-title span { color: #dc3d28; }
.mh-solution p { max-width: 650px; margin: 18px 0 0; color: rgba(255,255,255,.84); }

.mh-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.mh-feature { padding: 34px 29px; border-radius: 8px; background: #fff; box-shadow: 0 12px 28px rgba(5,2,103,.06); }
.mh-feature i { color: #dc3d28; font-size: 29px; }
.mh-feature h3 { margin: 20px 0 9px; color: #050267; font-size: 21px; font-weight: 800; }
.mh-feature p { margin: 0; color: #555; font-size: 15px; line-height: 1.65; }
.mh-gallery { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-template-rows: 210px 210px; gap: 16px; margin-top: 50px; }
.mh-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 7px; filter: saturate(.92); transition: filter .2s ease, transform .2s ease; }
.mh-gallery a { overflow: hidden; border-radius: 7px; }
.mh-gallery a:hover img { filter: saturate(1); transform: scale(1.035); }
.mh-gallery a:first-child { grid-row: 1 / span 2; }

.mh-footer { background: #181818; color: rgba(255,255,255,.72); }
.mh-footer-grid { display: grid; grid-template-columns: 1.1fr 1.25fr .75fr; gap: 54px; padding: 70px 0 50px; }
.mh-footer img { width: auto; height: 74px; margin-bottom: 20px; }
.mh-footer p { margin: 0; line-height: 1.7; }
.mh-footer h3 { margin: 4px 0 19px; color: #fff; font-family: Poppins, sans-serif; font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.mh-footer address { font-style: normal; line-height: 1.8; }
.mh-footer address + address { margin-top: 16px; }
.mh-footer a { color: rgba(255,255,255,.75); }
.mh-footer a:hover { color: #dc3d28; }
.mh-footer-links { display: grid; gap: 10px; }
.mh-footer-bottom { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.5); font-size: 13px; }

@media (max-width: 860px) {
  .mh-header-inner { min-height: 76px; }
  .mh-brand img { height: 52px; }
  .mh-nav { gap: 16px; }
  .mh-nav a { font-size: 11px; }
  .mh-hero { min-height: 590px; }
  .mh-hero-badge { display: none; }
  .mh-intro { grid-template-columns: 1fr; }
  .mh-intro-content { max-width: 680px; }
  .mh-services, .mh-features { grid-template-columns: repeat(2, 1fr); }
  .mh-footer-grid { grid-template-columns: 1fr 1fr; }
  .mh-footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .mh-container { width: min(100% - 32px, 1180px); }
  .mh-header-inner { min-height: 72px; align-items: center; gap: 12px; }
  .mh-brand img { height: 46px; }
  .mh-nav { flex: 1; justify-content: flex-end; flex-wrap: wrap; gap: 5px 11px; }
  .mh-nav a { font-size: 9px; letter-spacing: .04em; }
  .mh-nav .mh-nav-cta { padding: 8px 9px; font-size: 9px; }
  .mh-hero { min-height: 570px; }
  .mh-hero-slide::after { background: linear-gradient(90deg, rgba(5,2,103,.94), rgba(5,2,103,.6)); }
  .mh-hero-content { padding: 72px 0; }
  .mh-hero h1 { font-size: clamp(40px, 13vw, 59px); }
  .mh-hero p { font-size: 16px; }
  .mh-section { padding: 72px 0; }
  .mh-proof-grid, .mh-services, .mh-features, .mh-footer-grid { grid-template-columns: 1fr; }
  .mh-proof-item, .mh-proof-item:first-child { min-height: 96px; padding: 19px 2px; border-width: 0 0 1px; }
  .mh-section-head { display: block; margin-bottom: 34px; }
  .mh-section-head .mh-copy { margin-top: 15px; }
  .mh-photo-frame { padding-right: 18px; padding-bottom: 18px; }
  .mh-photo-frame img { min-height: 310px; }
  .mh-service { min-height: 215px; }
  .mh-solution-inner { grid-template-columns: 1fr; gap: 27px; padding: 62px 0; }
  .mh-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 190px 160px 160px; gap: 10px; }
  .mh-gallery a:first-child { grid-column: 1 / -1; grid-row: 1; }
  .mh-footer-grid { gap: 35px; padding: 58px 0 38px; }
  .mh-footer-grid > :first-child { grid-column: auto; }
}
/* Floating WhatsApp + back-to-top */
.mh-fab-stack { position: fixed; right: 24px; bottom: 24px; z-index: 999; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.mh-fab { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; padding: 0; border: 0; border-radius: 50%; color: #fff; font-size: 25px; text-decoration: none; box-shadow: 0 10px 24px rgba(5,2,103,.28); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.mh-fab:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(5,2,103,.34); }
.mh-fab--wa { background: #25d366; }
.mh-fab--wa:hover { background: #1eb857; }
.mh-fab--top { display: none; background: #050267; }
.mh-fab--top:hover { background: #dc3d28; }
.mh-fab--top.mh-fab--show { display: flex; animation: mh-fab-in .3s ease; }
@keyframes mh-fab-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 620px) {
  .mh-fab-stack { right: 16px; bottom: 16px; gap: 10px; }
  .mh-fab { width: 48px; height: 48px; font-size: 22px; }
}
/* Hero carousel controls (responsive) */
@media (max-width: 860px) {
  .mh-hero-arrow { width: 40px; height: 40px; font-size: 13px; }
  .mh-hero-arrow--prev { left: 14px; }
  .mh-hero-arrow--next { right: 14px; }
  .mh-hero-dots { bottom: 28px; }
}
@media (max-width: 620px) {
  .mh-hero-arrow { display: none; }
  .mh-hero-dots { bottom: 22px; }
}
