/* ═══════════════════════════════════════════════════════════
   index.css — Homepage-only styles
   ═══════════════════════════════════════════════════════════ */

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; background: var(--navy); overflow: hidden; }
.hero-video-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-video-wrap::before { content: ''; position: absolute; inset: 0; background-image: url('../img/hero1.png'); background-size: cover; background-position: center; z-index: 0; }
.hero-video-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; z-index: 1; }
.hero-bars { position: absolute; right: 0; top: 0; bottom: 0; width: 36%; z-index: 2; pointer-events: none; overflow: hidden; }
.hero-bar { position: absolute; top: 0; bottom: 0; width: 5px; opacity: 0; transform: scaleY(0); transform-origin: bottom; transition: transform 1.1s cubic-bezier(.16,1,.3,1), opacity .4s; }
.hero-bar:nth-child(1) { right: 24%; background: var(--green); transition-delay: .15s; }
.hero-bar:nth-child(2) { right: 21%; background: rgba(27,94,59,.55); transition-delay: .28s; }
.hero-bar:nth-child(3) { right: 18%; background: var(--green2); transition-delay: .42s; }
.hero-bar:nth-child(4) { right: 15%; background: rgba(27,94,59,.22); transition-delay: .56s; }
.hero-bar:nth-child(5) { right: 12%; background: rgba(27,94,59,.1); transition-delay: .7s; }
.hero.loaded .hero-bar { opacity: 1; transform: scaleY(1); }
.hero-overlay { position: absolute; inset: 0; z-index: 3; background: linear-gradient(108deg,rgba(11,30,61,.97) 0%,rgba(11,30,61,.9) 38%,rgba(11,30,61,.65) 65%,rgba(11,30,61,.2) 100%); }
.hero-content { position: relative; z-index: 5; flex: 1; display: flex; align-items: center; padding: 140px 0 0; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--green-pale); margin-bottom: 28px; opacity: 0; transform: translateY(18px); transition: all .7s ease .1s; }
.hero.loaded .hero-kicker { opacity: 1; transform: none; }
.hero-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-pale); animation: blink 2.2s infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.hero-h1 { font-family: var(--font-d); font-size: clamp(56px,9vw,124px); line-height: .88; letter-spacing: 2px; color: #fff; margin-bottom: 32px; opacity: 0; transform: translateY(32px); transition: all .85s cubic-bezier(.16,1,.3,1) .22s; }
.hero.loaded .hero-h1 { opacity: 1; transform: none; }
.hero-h1 .accent { color: var(--green-pale); }
.hero-lead { font-size: 16.5px; color: rgba(255,255,255,.65); max-width: 54ch; line-height: 1.78; margin-bottom: 44px; opacity: 0; transform: translateY(18px); transition: all .7s ease .4s; }
.hero.loaded .hero-lead { opacity: 1; transform: none; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; opacity: 0; transform: translateY(18px); transition: all .7s ease .54s; }
.hero.loaded .hero-actions { opacity: 1; transform: none; }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; opacity: 0; transition: opacity .7s ease .72s; }
.hero.loaded .hero-trust { opacity: 1; }
.trust-badge { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.38); letter-spacing: .6px; display: flex; align-items: center; gap: 7px; text-transform: uppercase; }
.trust-badge::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--green-pale); flex-shrink: 0; }

/* HERO PARTNERS BLOCK */
.hero-partners-block { border-top: 1px solid rgba(255,255,255,.1); padding: 28px 0 36px; }
.hpb-label { font-size: 9.5px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.28); margin-bottom: 18px; }
.hpb-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 10px; }
.hpb-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 18px 12px; display: flex; flex-direction: column; align-items: center; gap: 10px; transition: background .2s, border-color .2s; }
.hpb-card:hover { background: rgba(255,255,255,.12); border-color: rgba(127,212,164,.3); }
.hpb-logo-sq { width: 56px; height: 56px; background: #fff; border-radius: 6px; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.hpb-logo-sq img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.hpb-logo-txt { font-size: 8.5px; font-weight: 800; color: var(--navy); text-align: center; line-height: 1.3; padding: 4px; }
.hpb-name { font-size: 11.5px; font-weight: 700; color: rgba(255,255,255,.72); text-align: center; line-height: 1.3; }
.hpb-auth { font-size: 9px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--green-pale); text-align: center; line-height: 1.4; }

/* STATS BAR */
.stats-bar { background: var(--green2); padding: 72px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-block { padding: 0 40px; text-align: center; position: relative; }
.stat-block + .stat-block::before { content: ''; position: absolute; left: 0; top: 10%; height: 80%; width: 1px; background: rgba(255,255,255,.1); }
.stat-num { font-family: var(--font-d); font-size: clamp(56px,7vw,88px); color: #fff; line-height: 1; letter-spacing: 1px; display: block; margin-bottom: 10px; }
.stat-suffix { font-size: .55em; vertical-align: top; margin-top: 8px; display: inline-block; }
.stat-label { font-size: 12px; color: rgba(255,255,255,.42); font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; }

/* SERVICES GRID */
.services-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; background: var(--slate); }
.svc-card { background: var(--white); padding: 44px 32px 36px; transition: background .28s; position: relative; overflow: hidden; }
.svc-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .38s cubic-bezier(.16,1,.3,1); }
.svc-card:hover { background: var(--navy); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-card:hover .svc-icon-wrap { background: var(--green); border-color: transparent; }
.svc-card:hover .svc-icon-wrap svg { stroke: #fff; }
.svc-card:hover .svc-tag, .svc-card:hover .svc-title { color: #fff; }
.svc-card:hover .svc-text { color: rgba(255,255,255,.55); }
.svc-card:hover .svc-arrow { color: var(--green-pale); transform: translateX(6px); }
.svc-icon-wrap { width: 52px; height: 52px; border-radius: 12px; background: var(--off); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; margin-bottom: 28px; transition: all .28s; }
.svc-icon-wrap svg { width: 24px; height: 24px; stroke: var(--navy); fill: none; stroke-width: 1.6; transition: stroke .28s; }
.svc-tag { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--green); margin-bottom: 10px; transition: color .28s; display: block; }
.svc-title { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 12px; line-height: 1.3; transition: color .28s; }
.svc-text { font-size: 14px; color: var(--muted); line-height: 1.68; transition: color .28s; }
.svc-arrow { display: inline-flex; margin-top: 22px; font-size: 22px; color: var(--green); transition: transform .22s, color .28s; }
.svc-cta-card { background: var(--green2); padding: 44px 32px 36px; }

/* IMAGE STRIP */
.img-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; height: 420px; }
.img-strip-item { position: relative; overflow: hidden; background: var(--navy2); }
.img-strip-item img { width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: transform .6s ease, opacity .4s; }
.img-strip-item:hover img { transform: scale(1.05); opacity: .9; }
.img-strip-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 22px 24px; background: linear-gradient(to top, rgba(11,30,61,.88) 0%, transparent 100%); }
.isc-tag { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--green-pale); margin-bottom: 5px; }
.isc-title { font-size: 15px; font-weight: 700; color: #fff; }

/* ABOUT SPLIT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.about-text h2 { font-family: var(--font-d); font-size: clamp(36px,4.5vw,60px); line-height: .92; letter-spacing: 1.5px; color: var(--navy); margin-bottom: 28px; }
.about-text p { font-size: 15px; color: var(--muted); line-height: 1.82; margin-bottom: 18px; }
.about-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0; }
.abadge { padding: 9px 18px; background: var(--slate); border: 1px solid var(--border); border-radius: 6px; font-size: 12px; font-weight: 700; color: var(--navy); }
.about-visual { position: relative; border-radius: 4px; overflow: hidden; min-height: 540px; background: var(--navy2); }
.about-img { position: absolute; inset: 0; background-size: cover; background-position: center; background-image: url('../img/about-1.jpg'); }
.about-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,30,61,.92) 0%, rgba(11,30,61,.18) 60%); }
.about-stats-panel { position: absolute; bottom: 0; left: 0; right: 0; padding: 36px 40px; }
.about-bar { height: 2px; background: var(--green); width: 48px; margin-bottom: 24px; }
.about-stats-row { display: flex; gap: 40px; flex-wrap: wrap; }
.astat-num { font-family: var(--font-d); font-size: 52px; color: #fff; line-height: 1; margin-bottom: 4px; }
.astat-lbl { font-size: 11px; color: rgba(255,255,255,.42); letter-spacing: 1.5px; text-transform: uppercase; }
.about-quote-card { position: absolute; top: 32px; right: -24px; width: 260px; background: var(--white); border-radius: 12px; padding: 22px 24px; box-shadow: 0 20px 60px rgba(11,30,61,.22); border-left: 3px solid var(--green); }
.aqc-text { font-size: 13px; line-height: 1.7; color: var(--muted); font-style: italic; margin-bottom: 14px; }
.aqc-author { font-size: 12px; font-weight: 700; color: var(--navy); }
.aqc-role { font-size: 11px; color: var(--light); margin-top: 2px; }

/* MARQUEE */
.marquee-band { background: var(--navy); padding: 36px 0; overflow: hidden; border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); }
.marquee-wrap { overflow: hidden; position: relative; }
.marquee-wrap::before, .marquee-wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2; pointer-events: none; }
.marquee-wrap::before { left: 0; background: linear-gradient(90deg, var(--navy), transparent); }
.marquee-wrap::after { right: 0; background: linear-gradient(270deg, var(--navy), transparent); }
.marquee-track { display: flex; animation: mscroll 34s linear infinite; width: max-content; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 16px; padding: 8px 44px; border-right: 1px solid rgba(255,255,255,.07); white-space: nowrap; }
.marquee-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); opacity: .7; flex-shrink: 0; }
.marquee-label { font-family: var(--font-d); font-size: 22px; letter-spacing: 2px; color: rgba(255,255,255,.32); transition: color .3s; }
.marquee-item:hover .marquee-label { color: #fff; }
@keyframes mscroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* HOMEPAGE PARTNERS PREVIEW */
.partners-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; margin-bottom: 64px; }
.partners-intro h2 { font-family: var(--font-d); font-size: clamp(36px,4.5vw,60px); line-height: .92; letter-spacing: 1.5px; color: var(--navy); margin-bottom: 20px; }
.oem-logo-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 2px; background: var(--slate); margin-bottom: 24px; }
.oem-logo-card { background: #fff; padding: 36px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 180px; transition: box-shadow .25s, transform .25s; position: relative; }
.oem-logo-card:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); z-index: 2; }
.oem-logo-card:hover .oem-auth { opacity: 1; }
.oem-logo-sq { width: 80px; height: 80px; border-radius: 8px; background: var(--off); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.oem-logo-sq img { width: 100%; height: 100%; object-fit: contain; padding: 8px; filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s; }
.oem-logo-card:hover .oem-logo-sq img { filter: none; opacity: 1; }
.oem-logo-txt { font-size: 11px; font-weight: 800; color: var(--navy); text-align: center; line-height: 1.3; }
.oem-partner-name { font-size: 13px; font-weight: 700; color: var(--navy); text-align: center; }
.oem-auth { font-size: 9.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--green); opacity: 0; transition: opacity .25s; text-align: center; }
.partners-detail-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.pdc { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.pdc:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.pdc-top { background: var(--navy); padding: 28px; position: relative; overflow: hidden; }
.pdc-top::after { content: ''; position: absolute; top: -30px; right: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(27,94,59,.12); }
.pdc-auth { font-size: 9.5px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--green-pale); background: rgba(27,94,59,.2); border: 1px solid rgba(127,212,164,.18); padding: 4px 10px; border-radius: 3px; display: inline-block; margin-bottom: 14px; }
.pdc-name { font-family: var(--font-d); font-size: 26px; letter-spacing: 1px; color: #fff; margin-bottom: 4px; }
.pdc-origin { font-size: 12px; color: rgba(255,255,255,.38); }
.pdc-body { padding: 24px 28px; }
.pdc-body p { font-size: 13.5px; color: var(--muted); line-height: 1.72; margin-bottom: 16px; }
.pdc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.pdc-link { font-size: 12.5px; font-weight: 700; color: var(--green); display: inline-flex; align-items: center; gap: 6px; transition: gap .2s; }
.pdc-link:hover { gap: 10px; opacity: 1; }
.pdc-link::after { content: '→'; }

/* CLIENTS WALL */
.clients-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 56px; gap: 24px; flex-wrap: wrap; }
.clients-count { font-family: var(--font-d); font-size: 80px; color: var(--slate); line-height: 1; letter-spacing: 2px; flex-shrink: 0; }
.clients-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; background: var(--slate); }
.client-cell { background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 36px 24px; gap: 12px; min-height: 140px; position: relative; overflow: hidden; transition: box-shadow .25s; }
.client-cell::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.client-cell:hover { box-shadow: 0 8px 40px rgba(11,30,61,.1); }
.client-cell:hover::after { transform: scaleX(1); }
.client-logo-sq { width: 96px; height: 64px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.client-logo-sq img { max-width: 100%; max-height: 56px; object-fit: contain; filter: grayscale(1); opacity: .5; transition: filter .3s, opacity .3s; }
.client-cell:hover .client-logo-sq img { filter: none; opacity: 1; }
.client-name { font-size: 12px; font-weight: 600; color: rgba(11,30,61,.45); text-align: center; line-height: 1.3; transition: color .3s; }
.client-cell:hover .client-name { color: var(--navy); }
.client-cell-filler { background: var(--off); display: flex; align-items: center; justify-content: center; padding: 36px 24px; min-height: 140px; }
.client-cell-filler p { font-size: 12.5px; color: var(--light); text-align: center; line-height: 1.6; max-width: 20ch; }

/* CERTIFICATIONS */
.cert-band { background: var(--navy2); padding: 56px 0; border-top: 1px solid rgba(255,255,255,.06); }
.cert-row { display: grid; grid-template-columns: repeat(4,1fr); }
.cert-item { padding: 0 44px; text-align: center; position: relative; }
.cert-item + .cert-item::before { content: ''; position: absolute; left: 0; top: 15%; height: 70%; width: 1px; background: rgba(255,255,255,.1); }
.cert-lbl { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.32); margin-bottom: 10px; }
.cert-val { font-family: var(--font-d); font-size: clamp(18px,2.2vw,26px); letter-spacing: 1px; color: #fff; line-height: 1; margin-bottom: 5px; }
.cert-sub { font-size: 11.5px; color: rgba(255,255,255,.28); }

/* VIDEO FEATURE */
.video-feature { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.vf-media { position: relative; background: var(--navy2); overflow: hidden; }
.vf-media-poster { position: absolute; inset: 0; background-size: cover; background-position: center; background-image: url('../img/about-2.jpg'); }
.vf-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .65; z-index: 1; }
.vf-overlay { position: absolute; inset: 0; background: rgba(11,30,61,.38); z-index: 2; }
.vf-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 3; width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.4); display: flex; align-items: center; justify-content: center; backdrop-filter: blur(6px); }
.vf-play svg { width: 28px; height: 28px; fill: #fff; margin-left: 4px; }
.vf-text { background: var(--navy); padding: 80px 72px; display: flex; flex-direction: column; justify-content: center; }
.vf-text h2 { font-family: var(--font-d); font-size: clamp(32px,4vw,54px); line-height: .92; letter-spacing: 1.5px; color: #fff; margin-bottom: 22px; }
.vf-text p { font-size: 15px; color: rgba(255,255,255,.55); line-height: 1.8; margin-bottom: 16px; }
.vf-list { display: flex; flex-direction: column; gap: 12px; margin: 28px 0 36px; }
.vf-list-item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(255,255,255,.7); font-weight: 500; }
.vf-list-item::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green-pale); flex-shrink: 0; }

/* WHY US */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: rgba(255,255,255,.06); }
.why-item { padding: 52px 44px; background: var(--navy); transition: background .25s; position: relative; overflow: hidden; }
.why-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .38s; }
.why-item:hover { background: var(--navy2); }
.why-item:hover::before { transform: scaleX(1); }
.why-num { font-family: var(--font-d); font-size: 56px; color: rgba(255,255,255,.07); line-height: 1; margin-bottom: 20px; }
.why-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.why-text { font-size: 14px; color: rgba(255,255,255,.48); line-height: 1.72; }

/* ══════════ RESPONSIVE — index-specific ══════════ */
@media (max-width: 1180px) {
  .hero-h1 { font-size: clamp(48px,8vw,90px); }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-quote-card { display: none; }
  .partners-intro { grid-template-columns: 1fr; gap: 32px; }
  .oem-logo-grid { grid-template-columns: repeat(3,1fr); }
  .partners-detail-grid { grid-template-columns: 1fr 1fr; }
  .clients-grid { grid-template-columns: repeat(3,1fr); }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .video-feature { grid-template-columns: 1fr; }
  .vf-media { min-height: 360px; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-block + .stat-block::before { display: none; }
  .cert-row { grid-template-columns: repeat(2,1fr); gap: 40px; }
  .cert-item + .cert-item::before { display: none; }
  .hpb-grid { grid-template-columns: repeat(3,1fr); }
  .img-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .hero-content { padding: 120px 0 60px; }
  .hero-bars { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2,1fr); }
  .oem-logo-grid { grid-template-columns: repeat(2,1fr); }
  .partners-detail-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hpb-grid { grid-template-columns: repeat(2,1fr); }
  .img-strip { grid-template-columns: 1fr; height: auto; }
  .img-strip-item { height: 220px; }
  .vf-text { padding: 52px 32px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
@media (max-width: 540px) {
  .hero-h1 { font-size: clamp(40px,11vw,64px); letter-spacing: 1px; }
  .hero-lead { font-size: 14.5px; }
  .clients-grid { grid-template-columns: 1fr 1fr; }
  .clients-count { font-size: 56px; }
  .hpb-grid { grid-template-columns: repeat(2,1fr); }
}
