/* ==========================================================================
   DigiAction Technology Solutions — Site Stylesheet
   Brand-derived palette (navy + brand blue from logo), connectivity motif.
   ========================================================================== */

/* ---- Tokens ------------------------------------------------------------- */
:root {
  --navy:      #0a2342;   /* deep navy from logo outline            */
  --navy-700:  #0f3460;   /* mid navy                               */
  --blue:      #1565c0;   /* brand blue                             */
  --blue-600:  #1e7ad6;   /* brighter brand blue                    */
  --azure:     #19a7ce;   /* cyan accent (the globe's bright mesh)  */
  --ink:       #0d1b2a;   /* primary text                           */
  --slate:     #51637a;   /* muted text                             */
  --mist:      #eef4fb;   /* light section background               */
  --mist-2:    #f7fafd;   /* alt light background                   */
  --line:      #dbe6f3;   /* hairline borders                       */
  --white:     #ffffff;

  --grad: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 45%, var(--blue) 100%);
  --grad-accent: linear-gradient(120deg, var(--blue) 0%, var(--azure) 100%);

  --shadow-sm: 0 2px 8px rgba(10, 35, 66, .06);
  --shadow:    0 10px 30px rgba(10, 35, 66, .10);
  --shadow-lg: 0 24px 60px rgba(10, 35, 66, .16);

  --radius:    14px;
  --radius-sm: 10px;
  --maxw:      1180px;

  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, sans-serif;
}

/* ---- Reset / base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--azure); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 500; font-size: 1rem;
  padding: .85rem 1.6rem; border-radius: 50px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn-primary { background: var(--grad-accent); color: #fff; box-shadow: 0 8px 22px rgba(21, 101, 192, .30); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(21, 101, 192, .40); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; transform: translateY(-2px); }
.btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---- Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: .65rem; }
.brand img { height: 48px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  font-family: var(--font-display); font-weight: 500; font-size: .98rem;
  color: var(--navy); padding: .55rem .9rem; border-radius: 8px;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: var(--mist); }
.nav-cta { margin-left: .8rem; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---- Hero (slider) ------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad); color: #fff; padding: 0;
}
.hero::after { /* soft glow */
  content: ""; position: absolute; right: -10%; top: -20%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(25,167,206,.35), transparent 65%);
  pointer-events: none; z-index: 1;
}
.hero-slider { overflow: hidden; }
.hero-track { display: flex; transition: transform .7s cubic-bezier(.65,.05,.36,1); }
.hero-slide { flex: 0 0 100%; min-width: 100%; padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(5rem, 9vw, 7.5rem); }
.hero-slide .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero h1 { color: #fff; }
.hero .eyebrow {
  display: inline-block; font-family: var(--font-display); font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--azure);
  background: rgba(25,167,206,.12); border: 1px solid rgba(25,167,206,.35);
  padding: .4rem .9rem; border-radius: 50px; margin-bottom: 1.4rem;
}
.hero p.lead { font-size: 1.18rem; color: #cdddf0; max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-mesh { position: relative; min-height: 340px; }
.hero-mesh svg { width: 100%; height: auto; }
/* industries tile grid (slide 3 visual) */
.hero-ind { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.hero-ind .tile { display: flex; flex-direction: column; align-items: center; gap: .55rem; padding: 1.1rem .5rem; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); text-align: center; transition: background .25s ease, transform .25s ease; }
.hero-ind .tile:hover { background: rgba(25,167,206,.18); transform: translateY(-2px); }
.hero-ind .tile svg { width: 28px; height: 28px; color: #cde9f5; }
.hero-ind .tile span { font-family: var(--font-display); font-size: .72rem; color: #cdddf0; letter-spacing: .02em; }
/* dots */
.hero-dots { position: absolute; bottom: 1.6rem; left: 0; right: 0; display: flex; gap: .55rem; justify-content: center; z-index: 5; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,.35); transition: width .25s ease, background .25s ease, border-radius .25s ease; }
.hero-dot:hover { background: rgba(255,255,255,.6); }
.hero-dot.active { background: var(--azure); width: 28px; border-radius: 6px; }
.hero-dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ---- Section scaffolding ------------------------------------------------ */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section.alt { background: var(--mist); }
.section.navy { background: var(--navy); color: #fff; }
.section.navy h2, .section.navy h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow-d {
  display: inline-block; font-family: var(--font-display); font-weight: 600;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .8rem;
}
.section.navy .eyebrow-d { color: var(--azure); }
.section-head p { color: var(--slate); font-size: 1.08rem; margin: 0; }
.section.navy .section-head p { color: #bcd0e8; }

/* ---- Cards / grids ------------------------------------------------------ */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .ic {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(21,101,192,.12), rgba(25,167,206,.14));
  color: var(--blue); margin-bottom: 1.2rem;
  box-shadow: inset 0 0 0 1px rgba(21,101,192,.14);
  transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.card:hover .ic {
  background: var(--grad-accent); color: #fff; transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(21,101,192,.32);
}
.card .ic svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--slate); font-size: .98rem; margin: 0; }
.card ul.ticks { list-style: none; margin: .7rem 0 0; }
.card ul.ticks li { position: relative; padding-left: 1.5rem; color: var(--slate); font-size: .95rem; margin-bottom: .5rem; }
.card ul.ticks li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px;
  border-radius: 50%; background: var(--grad-accent);
}

/* ---- Value prop / feature rows ----------------------------------------- */
.feature { display: flex; gap: 1.1rem; align-items: flex-start; }
.feature .ic {
  flex: 0 0 auto; width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
  background: var(--grad-accent); color: #fff; box-shadow: 0 10px 22px rgba(21,101,192,.28);
}
.feature .ic svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.feature p { color: var(--slate); font-size: .96rem; margin: 0; }
.section.navy .feature p { color: #bcd0e8; }
.section.navy .feature h3 { color: #fff; }

/* ---- Stats -------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; color: #fff; line-height: 1; }
.stat .num .accent { color: var(--azure); }
.stat .label { color: #bcd0e8; font-size: .95rem; margin-top: .5rem; }

/* ---- Industries pills/grid --------------------------------------------- */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.industry {
  display: flex; align-items: center; gap: .9rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 1.15rem 1.3rem; font-family: var(--font-display);
  font-weight: 500; color: var(--navy); transition: .25s ease;
}
.industry:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.industry .ic { width: 48px; height: 48px; border-radius: 13px; background: linear-gradient(135deg, rgba(21,101,192,.12), rgba(25,167,206,.14)); color: var(--blue); display: grid; place-items: center; flex: 0 0 auto; box-shadow: inset 0 0 0 1px rgba(21,101,192,.14); transition: background .25s ease, color .25s ease; }
.industry:hover .ic { background: var(--grad-accent); color: #fff; }
.industry .ic svg { width: 25px; height: 25px; }

/* ---- Process / timeline ------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.6rem 1.2rem; }
.step .n { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--azure); display: block; margin-bottom: .4rem; }
.step h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.step p { font-size: .9rem; color: var(--slate); margin: 0; }

/* ---- Case studies ------------------------------------------------------- */
.case {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.case:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.case .case-top { background: var(--grad); color: #fff; padding: 1.4rem 1.6rem; }
.case .tag { font-family: var(--font-display); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--azure); }
.case .case-top h3 { color: #fff; margin: .35rem 0 0; font-size: 1.2rem; }
.case .case-body { padding: 1.5rem 1.6rem; }
.case .case-body p { color: var(--slate); font-size: .96rem; margin: 0; }

/* ---- CTA band ----------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: var(--grad); color: #fff; border-radius: 22px; padding: clamp(2.5rem, 5vw, 4rem); text-align: center; }
.cta-band::after { content: ""; position: absolute; left: -10%; bottom: -40%; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(25,167,206,.3), transparent 65%); }
.cta-band h2 { color: #fff; position: relative; z-index: 2; }
.cta-band p { color: #cdddf0; position: relative; z-index: 2; max-width: 52ch; margin: 0 auto 1.8rem; }
.cta-band .hero-actions { justify-content: center; position: relative; z-index: 2; }

/* ---- Page hero (inner pages) ------------------------------------------- */
.page-hero { background: var(--grad); color: #fff; padding: clamp(3rem, 6vw, 5rem) 0; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -8%; top: -30%; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(25,167,206,.3), transparent 65%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero p { color: #cdddf0; max-width: 60ch; font-size: 1.1rem; margin: 0; }
.crumb { font-size: .85rem; color: var(--azure); font-family: var(--font-display); letter-spacing: .04em; margin-bottom: 1rem; }
.crumb a { color: #cdddf0; }
.crumb a:hover { color: #fff; }

/* ---- Contact ------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.contact-info .info-row { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.6rem; }
.contact-info .ic { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px; background: var(--grad-accent); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 22px rgba(21,101,192,.26); }
.contact-info .ic svg { width: 26px; height: 26px; }
.contact-info h3 { font-size: 1rem; margin: 0 0 .2rem; }
.contact-info p { color: var(--slate); margin: 0; }
form .field { margin-bottom: 1.2rem; }
form label { display: block; font-family: var(--font-display); font-weight: 500; font-size: .92rem; color: var(--navy); margin-bottom: .4rem; }
form input, form textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: #fff; transition: border-color .2s;
}
form input:focus, form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,101,192,.12); }
form textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .85rem; color: var(--slate); margin-top: .8rem; }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #c6d6ea; padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; margin-bottom: 2.5rem; }
.site-footer .f-logo { background:#fff; padding:.5rem .7rem; border-radius:10px; display:inline-block; margin-bottom:1rem; }
.site-footer .f-logo img { height: 42px; }
.site-footer h4 { color: #fff; font-size: 1rem; letter-spacing: .03em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: .6rem; }
.site-footer a { color: #c6d6ea; font-size: .95rem; }
.site-footer a:hover { color: var(--azure); }
.site-footer p { color: #9fb6d4; font-size: .95rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .88rem; color: #9fb6d4; }

/* ---- Reveal animation --------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---- Mesh node pulse ---------------------------------------------------- */
.mesh-node { animation: pulse 3.5s ease-in-out infinite; transform-origin: center; }
.mesh-node:nth-child(2n) { animation-delay: 1.2s; }
.mesh-node:nth-child(3n) { animation-delay: 2.1s; }
@keyframes pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.mesh-line { stroke-dasharray: 6 6; animation: dash 14s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -120; } }

/* ---- Flashy animated icons (Services & Industries) --------------------- */
.card .ic.ic-flash {
  width: 74px; height: 74px; border-radius: 20px; margin-bottom: 1.3rem; color: #fff;
  background: linear-gradient(140deg, var(--navy) 0%, var(--blue) 72%, var(--azure) 128%);
  box-shadow: 0 12px 26px rgba(21,101,192,.30);
}
.card:hover .ic.ic-flash { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(21,101,192,.42);
  background: linear-gradient(140deg, var(--blue), var(--azure)); }
.card .ic.ic-flash svg { width: 46px; height: 46px; }
.industry .ic.ic-flash { width: 56px; height: 56px; border-radius: 15px; color: #fff;
  background: linear-gradient(140deg, var(--navy) 0%, var(--blue) 75%, var(--azure) 130%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.industry:hover .ic.ic-flash { background: linear-gradient(140deg, var(--blue), var(--azure)); }
.industry .ic.ic-flash svg { width: 34px; height: 34px; }

/* animation origins */
.ic-anim [class*="ic-"] { transform-box: fill-box; transform-origin: center; }
.ic-anim .ic-orbit { transform-box: view-box; transform-origin: 24px 24px; }
.ic-anim .ic-grow  { transform-origin: center bottom; }
.g2 { animation-delay: .25s; } .g3 { animation-delay: .5s; }
.w2 { animation-delay: .45s; } .w3 { animation-delay: .9s; }
.s2 { animation-delay: 1.2s; }

.ic-spin   { animation: ic-spin 7s linear infinite; }
.ic-pulse  { animation: ic-pulse 2.4s ease-in-out infinite; }
.ic-float  { animation: ic-float 3s ease-in-out infinite; }
.ic-beat   { animation: ic-beat 1.8s ease-in-out infinite; }
.ic-flow   { animation: ic-flow 1.3s linear infinite; }
.ic-blink  { animation: ic-blink 1.1s steps(1) infinite; }
.ic-ripple { animation: ic-ripple 2.2s ease-in-out infinite; }
.ic-drip   { animation: ic-drip 2.4s ease-in infinite; }
.ic-smoke  { animation: ic-smoke 2.6s ease-out infinite; }
.ic-truck  { animation: ic-float 2.6s ease-in-out infinite; }
.ic-orbit  { animation: ic-spin 5s linear infinite; }
.ic-scan   { animation: ic-scan 2.6s ease-in-out infinite; }
.ic-grow   { animation: ic-grow 2.4s ease-in-out infinite; }
.ic-fly    { animation: ic-fly 3s ease-in-out infinite; }
.ic-tilt   { animation: ic-tilt 2.8s ease-in-out infinite; }
.ic-shine  { animation: ic-shine 2.8s ease-in-out infinite; }

@keyframes ic-spin  { to { transform: rotate(360deg); } }
@keyframes ic-pulse { 0%,100%{ transform: scale(1); opacity:1 } 50%{ transform: scale(1.16); opacity:.65 } }
@keyframes ic-float { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-3px) } }
@keyframes ic-beat  { 0%,100%{ transform: scale(1) } 12%{ transform: scale(1.18) } 24%{ transform: scale(1) } 36%{ transform: scale(1.12) } 50%{ transform: scale(1) } }
@keyframes ic-flow  { to { stroke-dashoffset: -28; } }
@keyframes ic-blink { 0%,49%{ opacity:1 } 50%,100%{ opacity:0 } }
@keyframes ic-ripple{ 0%,100%{ opacity:.25 } 50%{ opacity:1 } }
@keyframes ic-drip  { 0%{ transform: translateY(-4px); opacity:0 } 25%{ opacity:1 } 100%{ transform: translateY(8px); opacity:0 } }
@keyframes ic-smoke { 0%{ transform: translateY(0) scale(.8); opacity:0 } 25%{ opacity:.85 } 100%{ transform: translateY(-10px) scale(1.5); opacity:0 } }
@keyframes ic-scan  { 0%{ transform: translateY(0); opacity:0 } 15%{ opacity:1 } 85%{ opacity:1 } 100%{ transform: translateY(22px); opacity:0 } }
@keyframes ic-grow  { 0%,100%{ transform: scaleY(.55) } 50%{ transform: scaleY(1) } }
@keyframes ic-fly   { 0%,100%{ transform: translate(0,0) } 50%{ transform: translate(3px,-3px) } }
@keyframes ic-tilt  { 0%,100%{ transform: rotate(-7deg) } 50%{ transform: rotate(7deg) } }
@keyframes ic-shine { 0%{ transform: translateX(-4px); opacity:0 } 30%{ opacity:.9 } 70%{ opacity:.9 } 100%{ transform: translateX(24px); opacity:0 } }

/* ---- Showcase marquee (right-to-left scrolling frames) ----------------- */
.showcase { overflow: hidden; background: var(--mist-2); padding: clamp(2.5rem, 5vw, 3.5rem) 0; border-bottom: 1px solid var(--line); }
.showcase-head { text-align: center; max-width: 640px; margin: 0 auto 2rem; }
.showcase-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.showcase-head p { color: var(--slate); margin: 0; }
.marquee { position: relative; width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 1.5rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.frame { position: relative; flex: 0 0 auto; width: 380px; height: 300px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.frame-scene { position: absolute; inset: 0; }
.frame-scene svg { width: 100%; height: 100%; display: block; }
.frame-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.6rem;
  background: linear-gradient(to top, rgba(10,35,66,.94) 0%, rgba(10,35,66,.5) 42%, rgba(10,35,66,0) 72%); color: #fff; }
.frame-tag { font-family: var(--font-display); font-weight: 600; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--azure); margin-bottom: .45rem; }
.frame-overlay h3 { color: #fff; margin: 0 0 .35rem; font-size: 1.35rem; }
.frame-overlay p { color: #cdddf0; margin: 0; font-size: .95rem; line-height: 1.45; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 720px) { .frame { width: 300px; height: 260px; } }


@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-slide .container { grid-template-columns: 1fr; }
  .hero-mesh, .hero-ind { order: -1; min-height: auto; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 1rem 24px 1.5rem; gap: 4px;
    transform: translateY(-130%); transition: transform .3s ease; box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: .8rem .6rem; }
  .nav-cta { margin: .5rem 0 0; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4, .industry-grid, .steps, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
}
