/* ================================================================
   GenAlpha Labs — robotics lab solutions
   Deep navy · electric blue · sky accent · Sora + Inter
   ================================================================ */
:root {
  --navy: #0B2A6B;
  --navy-2: #0A2258;
  --ink: #0F1B33;
  --paper: #FFFFFF;
  --paper-2: #F1F5FC;
  --line: #DFE7F4;
  --line-dk: rgba(255,255,255,0.14);
  --muted: #52627C;
  --muted-dk: #9DB0CE;
  --blue: #2563EB;
  --blue-dk: #1D50C9;
  --sky: #38BDF8;
  --blue-soft: #E8F0FE;
  --wa: #1EA34B;
  --fd: "Sora", system-ui, sans-serif;
  --fb: "Inter", system-ui, sans-serif;
  --nav-h: 76px;
  --e: cubic-bezier(.22,1,.36,1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body { font-family: var(--fb); background: var(--paper); color: var(--ink); line-height: 1.6; font-size: 1rem; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
.wrap { width: min(1200px, 100% - 3rem); margin-inline: auto; }
::selection { background: var(--blue); color: #fff; }

.scroll-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 100; background: linear-gradient(90deg, var(--blue), var(--sky)); transition: width .1s linear; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--fd); font-weight: 600; font-size: .98rem; padding: .95rem 1.7rem; border-radius: 100px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .3s var(--e), background .25s, color .25s, border-color .25s, box-shadow .25s; }
.btn svg { transition: transform .3s var(--e); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 26px rgba(37,99,235,.3); }
.btn-primary:hover { background: var(--blue-dk); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(37,99,235,.42); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.22); border-color: #fff; }
.btn-block { width: 100%; justify-content: center; }
.btn:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 90; display: flex; align-items: center; transition: background .3s, box-shadow .3s, height .3s; }
.nav.scrolled { background: rgba(255,255,255,.9); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); height: 66px; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: #fff; font-family: var(--fd); font-weight: 800; font-size: 1.18rem; letter-spacing: -.01em; transition: color .3s; }
.nav.scrolled .brand { color: var(--ink); }
.brand-accent { color: var(--sky); }
.nav.scrolled .brand-accent { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-links a { color: #fff; opacity: .9; text-decoration: none; font-weight: 500; font-size: .95rem; transition: opacity .2s, color .2s; }
.nav.scrolled .nav-links a { color: var(--ink); opacity: .8; }
.nav-links a:not(.nav-cta):hover { opacity: 1; color: var(--sky); }
.nav.scrolled .nav-links a:not(.nav-cta):hover { color: var(--blue); }
.nav-cta { padding: .55rem 1.2rem; border-radius: 100px; background: var(--blue); color: #fff !important; opacity: 1 !important; font-family: var(--fd); font-weight: 600; box-shadow: 0 6px 18px rgba(37,99,235,.35); transition: background .2s, transform .2s; }
.nav-cta:hover { background: var(--blue-dk); transform: translateY(-1px); }
.nav-toggle { display: none; flex-direction: column; gap: 6px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: currentColor; color: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav.scrolled .nav-toggle span { color: var(--ink); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; padding-top: var(--nav-h); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(9,20,48,.94) 0%, rgba(9,20,48,.8) 42%, rgba(11,42,107,.5) 100%); }
.hero-inner { position: relative; z-index: 2; padding: 4rem 0; }
.hero-inner > * { max-width: 760px; }
.hero-tag { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--fd); font-size: .82rem; letter-spacing: .04em; color: #fff; background: rgba(56,189,248,.16); border: 1px solid rgba(56,189,248,.4); border-radius: 100px; padding: .5rem 1.05rem; margin-bottom: 1.8rem; }
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 0 rgba(56,189,248,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(56,189,248,.55);} 50% { box-shadow: 0 0 0 8px rgba(56,189,248,0);} }
.hero-title { font-family: var(--fd); font-weight: 800; letter-spacing: -.03em; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.02; margin-bottom: 1.5rem; }
.hero-title em { font-style: normal; color: var(--sky); }
.hero-lead { font-size: clamp(1.02rem, 1.7vw, 1.25rem); color: #D6E2F5; max-width: 58ch; margin-bottom: 2.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.6rem; }
.hero-badges { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; font-family: var(--fd); font-weight: 600; font-size: .9rem; color: #C6D6EE; }
.hero-badges i { width: 5px; height: 5px; border-radius: 50%; background: var(--sky); }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.section-tint { background: var(--paper-2); }
.section-dark { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.kicker { display: inline-block; font-family: var(--fd); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 1rem; }
.kicker.light { color: var(--sky); }
.sec-head { max-width: 44ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-title { font-family: var(--fd); font-weight: 800; letter-spacing: -.025em; font-size: clamp(1.9rem, 4.4vw, 3.1rem); line-height: 1.08; }
.sec-title.on-dark { color: #fff; }
.sec-sub { margin-top: 1.1rem; color: var(--muted); font-size: 1.06rem; max-width: 56ch; }
.section-dark .sec-sub { color: var(--muted-dk); }

/* ---------- What we do ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.svc { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 2rem 1.8rem; transition: transform .4s var(--e), box-shadow .4s var(--e), border-color .3s; }
.svc:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -26px rgba(15,27,51,.3); border-color: transparent; }
.svc-ic { width: 56px; height: 56px; border-radius: 15px; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 1.4rem; transition: background .3s, color .3s; }
.svc-ic svg { width: 27px; height: 27px; }
.svc:hover .svc-ic { background: var(--blue); color: #fff; }
.svc h3 { font-family: var(--fd); font-weight: 700; font-size: 1.2rem; margin-bottom: .6rem; letter-spacing: -.01em; }
.svc p { color: var(--muted); font-size: .97rem; }

/* ---------- Equipment ---------- */
.eq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.eq { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.9rem 1.7rem; display: flex; flex-direction: column; transition: transform .4s var(--e), box-shadow .4s var(--e); position: relative; overflow: hidden; }
.eq::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--blue), var(--sky)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--e); }
.eq:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -26px rgba(15,27,51,.3); }
.eq:hover::before { transform: scaleX(1); }
.eq h3 { font-family: var(--fd); font-weight: 700; font-size: 1.15rem; margin-bottom: 1rem; }
.eq ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.4rem; flex: 1; }
.eq li { position: relative; padding-left: 1.3rem; color: var(--muted); font-size: .95rem; }
.eq li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 2px; background: var(--sky); }
.eq-link { font-family: var(--fd); font-weight: 600; color: var(--blue); text-decoration: none; font-size: .95rem; transition: gap .2s; }
.eq-link:hover { color: var(--blue-dk); }

/* ---------- Lab setup ---------- */
.setup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.setup-steps { display: flex; flex-direction: column; }
.step { display: flex; gap: 1.3rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); position: relative; }
.step:last-child { border-bottom: none; }
.step-no { font-family: var(--fd); font-weight: 800; font-size: 1.05rem; color: #fff; background: var(--blue); width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step h3 { font-family: var(--fd); font-weight: 700; font-size: 1.1rem; margin-bottom: .25rem; }
.step p { color: var(--muted); font-size: .96rem; }
.setup-media { position: sticky; top: calc(var(--nav-h) + 20px); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(15,27,51,.4); }
.setup-media img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.setup-cap { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; background: rgba(11,20,40,.82); backdrop-filter: blur(6px); border-radius: 14px; padding: 1rem 1.2rem; color: #fff; }
.setup-cap b { font-family: var(--fd); display: block; }
.setup-cap span { color: #C6D6EE; font-size: .9rem; }

/* ---------- Custom robots ---------- */
.custom-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.custom-copy > p { color: var(--muted-dk); margin: 1.2rem 0 1.8rem; font-size: 1.06rem; max-width: 50ch; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem; margin-bottom: 1.8rem; }
.flow span { font-family: var(--fd); font-weight: 600; font-size: .9rem; background: rgba(56,189,248,.12); border: 1px solid rgba(56,189,248,.3); color: #fff; padding: .5rem .9rem; border-radius: 8px; }
.flow i { color: var(--sky); font-style: normal; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2rem; }
.chips span { font-size: .86rem; color: #C6D6EE; border: 1px solid var(--line-dk); border-radius: 100px; padding: .4rem .9rem; }
.custom-media { border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(0,0,0,.5); }
.custom-media img { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; }

/* ---------- Who we serve ---------- */
.serve-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.serve { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 14px; padding: 1.6rem 1.4rem; transition: transform .3s var(--e), box-shadow .3s; }
.serve:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -22px rgba(15,27,51,.28); }
.serve h3 { font-family: var(--fd); font-weight: 700; font-size: 1.02rem; margin-bottom: .5rem; }
.serve p { color: var(--muted); font-size: .92rem; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.why { padding-top: 1.4rem; border-top: 2px solid var(--ink); }
.why b { font-family: var(--fd); font-weight: 700; font-size: 1.05rem; display: block; margin-bottom: .5rem; }
.why p { color: var(--muted); font-size: .93rem; }

/* ---------- Projects ---------- */
.proj-grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, 262px); gap: 1.4rem; }
.proj { position: relative; border-radius: 20px; overflow: hidden; margin: 0; min-height: 0; }
.proj-lg { grid-row: span 2; }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--e); }
.proj:hover img { transform: scale(1.05); }
.proj figcaption { position: absolute; inset: auto 0 0 0; padding: 1.6rem 1.4rem 1.3rem; color: #fff; background: linear-gradient(transparent, rgba(9,18,40,.9)); }
.proj figcaption b { font-family: var(--fd); font-size: 1.1rem; display: block; }
.proj figcaption span { color: #C6D6EE; font-size: .9rem; }

/* ---------- About ---------- */
.about-inner > * { max-width: 800px; }
.about-lead { font-family: var(--fd); font-weight: 500; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.35; color: #fff; margin: .4rem 0 1.2rem; }
.about-inner > p:last-child { color: var(--muted-dk); font-size: 1.05rem; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, #fff, var(--paper-2)); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-points { list-style: none; margin-top: 1.6rem; display: flex; flex-direction: column; gap: .8rem; }
.contact-points li { position: relative; padding-left: 1.8rem; color: var(--ink); font-weight: 500; }
.contact-points li::before { content: "✓"; position: absolute; left: 0; color: #fff; background: var(--blue); width: 20px; height: 20px; border-radius: 50%; font-size: .7rem; display: flex; align-items: center; justify-content: center; top: .15em; }
.lead-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 2rem 1.9rem; box-shadow: 0 30px 60px -34px rgba(15,27,51,.3); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.field label { font-family: var(--fd); font-weight: 600; font-size: .82rem; color: var(--ink); }
.field input { font-family: var(--fb); font-size: 1rem; color: var(--ink); background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px; padding: .8rem 1rem; transition: border-color .2s, box-shadow .2s, background .2s; }
.field input::placeholder { color: #9AA8BF; }
.field input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(37,99,235,.14); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem .9rem; }
.chk { display: flex; align-items: center; gap: .5rem; font-size: .92rem; color: var(--muted); cursor: pointer; font-family: var(--fb); font-weight: 400; }
.chk input { width: 17px; height: 17px; accent-color: var(--blue); }
.form-status { margin-top: .9rem; font-size: .94rem; min-height: 1.3em; }
.form-status.ok { color: var(--wa); } .form-status.err { color: #DC2626; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-2); color: var(--muted-dk); padding: 4rem 0 2.2rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; padding-bottom: 2.4rem; border-bottom: 1px solid var(--line-dk); }
.footer-brand span { font-family: var(--fd); font-weight: 800; font-size: 1.3rem; color: #fff; }
.footer-brand p { margin-top: .6rem; font-size: .95rem; max-width: 42ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; }
.footer-links a { color: var(--muted-dk); text-decoration: none; font-size: .95rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; font-size: .85rem; }

/* ---------- Floating CTA ---------- */
.fab { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 80; background: var(--blue); color: #fff; text-decoration: none; font-family: var(--fd); font-weight: 600; font-size: .92rem; padding: .85rem 1.4rem; border-radius: 100px; box-shadow: 0 12px 30px rgba(37,99,235,.45); transform: translateY(120px); transition: transform .4s var(--e), background .2s; }
.fab.show { transform: none; }
.fab:hover { background: var(--blue-dk); }

/* ---------- Reveal ---------- */
body.js .reveal { opacity: 0; transform: translateY(30px); }
body.js .reveal.in { opacity: 1; transform: none; transition: opacity .8s var(--e), transform .8s var(--e); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1 !important; transform: none !important; } .hero-tag .dot, .proj img { animation: none; } }

/* ================================================================ Responsive */
@media (max-width: 980px) {
  .svc-grid, .eq-grid { grid-template-columns: repeat(2, 1fr); }
  .setup-grid, .custom-grid { grid-template-columns: 1fr; }
  .setup-media { position: relative; top: auto; }
  .serve-grid, .why-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .custom-grid .custom-media { order: -1; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-links { position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(255,255,255,.98); backdrop-filter: blur(20px); padding: .5rem 1.5rem 1.5rem; box-shadow: 0 20px 40px -20px rgba(0,0,0,.2); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .3s var(--e), opacity .3s, visibility .3s; }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { color: var(--ink) !important; opacity: 1; padding: 1rem .2rem; border-bottom: 1px solid var(--line); }
  .nav-links .nav-cta { margin-top: 1rem; text-align: center; border-bottom: none; }
  .proj-grid { grid-template-columns: 1fr; grid-template-rows: none; } .proj { grid-row: auto !important; height: 240px; }
  .fab { display: none; }
}
@media (max-width: 560px) {
  .svc-grid, .eq-grid, .serve-grid, .why-grid { grid-template-columns: 1fr; }
  .row, .checks { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- Contact quick-methods ---------- */
.contact-methods { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.cm { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--fd); font-weight: 600; font-size: .95rem; text-decoration: none; padding: .7rem 1.2rem; border-radius: 100px; border: 1.5px solid var(--line); background: #fff; transition: transform .25s var(--e), box-shadow .25s, border-color .2s, background .2s; }
.cm:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(15,27,51,.3); }
.cm-wa { color: var(--wa); border-color: rgba(30,163,75,.4); }
.cm-wa:hover { background: #EEFBF2; border-color: var(--wa); }
.cm-mail { color: var(--blue); border-color: rgba(37,99,235,.35); }
.cm-mail:hover { background: var(--blue-soft); border-color: var(--blue); }
.cm-call { color: var(--ink); }
.cm-call:hover { border-color: var(--ink); }

/* ---------- Brand logo (GA mark) ---------- */
.brand-logo { height: 40px; width: auto; display: block; }
.brand-logo-dark { display: none; }
.nav.scrolled .brand-logo-light { display: none; }
.nav.scrolled .brand-logo-dark { display: block; }
.footer-logo { height: 56px; width: auto; margin-bottom: .9rem; }
@media (max-width: 560px) { .brand-logo { height: 34px; } }

/* ================================================================
   Responsive polish — spacing, type and edges on every screen
   ================================================================ */
.nav-links a { white-space: nowrap; }
h1, h2, h3 { text-wrap: balance; overflow-wrap: break-word; }
p { overflow-wrap: break-word; }

/* tablet & small laptop: switch to menu button before links get cramped */
@media (max-width: 1020px) {
  .nav-toggle { display: flex; }
  .nav-links { position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(255,255,255,.98); backdrop-filter: blur(20px); padding: .5rem 1.5rem 1.5rem; box-shadow: 0 20px 40px -20px rgba(0,0,0,.2); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .3s var(--e), opacity .3s, visibility .3s; max-height: calc(100svh - var(--nav-h)); overflow-y: auto; }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { color: var(--ink) !important; opacity: 1; padding: 1rem .2rem; border-bottom: 1px solid var(--line); }
  .nav-links .nav-cta { margin-top: 1rem; text-align: center; border-bottom: none; color: #fff !important; }
  .nav.scrolled .nav-links { inset: 66px 0 auto 0; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 2.5rem); }
  .hero { min-height: auto; }
  .hero-inner { padding: 3.5rem 0 4rem; }
  .step { gap: 1rem; }
  .flow span { font-size: .82rem; padding: .45rem .7rem; }
  .lead-form { padding: 1.5rem 1.2rem; }
  .footer-inner { flex-direction: column; }
  .footer-base { flex-direction: column; gap: .4rem; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 2rem); }
  .section { padding: 3.6rem 0; }
  .hero-title { font-size: clamp(2rem, 9.5vw, 2.6rem); }
  .sec-title { font-size: clamp(1.6rem, 7.2vw, 2rem); }
  .brand { font-size: 1.05rem; }
  .hero-badges { gap: .55rem; font-size: .82rem; }
  .svc, .eq { padding: 1.5rem 1.3rem; }
  .contact-methods .cm { flex: 1 1 auto; justify-content: center; }
  .proj { height: 210px; }
}
@media (max-width: 360px) {
  .brand span { font-size: .95rem; }
  .brand-logo { height: 30px; }
}

/* ---------- Fluid card rows: never squeeze 5 cards into a narrow screen ---------- */
.serve-grid, .why-grid { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1199px) { .serve-grid, .why-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .serve-grid, .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .serve-grid, .why-grid { grid-template-columns: 1fr; } }

/* ---------- Large monitors: scale the whole layout up instead of leaving it tiny ---------- */
@media (min-width: 1600px) {
  html { font-size: 17.5px; }
  .wrap { width: min(1360px, 100% - 4rem); }
  .proj-grid { grid-template-rows: repeat(2, 310px); }
  .brand-logo { height: 46px; }
  .hero-inner > * { max-width: 860px; }
}
@media (min-width: 2200px) {
  html { font-size: 20px; }
  .wrap { width: min(1600px, 100% - 6rem); }
  .proj-grid { grid-template-rows: repeat(2, 370px); }
  .brand-logo { height: 54px; }
  .hero-inner > * { max-width: 1000px; }
  :root { --nav-h: 92px; }
}

/* ---------- Project photo lightbox ---------- */
.proj { cursor: zoom-in; }
.proj:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: #060c1c; display: none; flex-direction: column; }
.lightbox.open { display: flex; }
.lb-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: auto; -webkit-overflow-scrolling: touch; padding: 0; }
.lb-stage img { max-width: 100vw; max-height: 100vh; width: auto; height: auto; object-fit: contain; cursor: zoom-in; transition: transform .35s var(--e); user-select: none; -webkit-user-drag: none; }
.lb-stage img.zoomed { transform: scale(2.5); cursor: zoom-out; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 4.5rem 1.1rem 1.2rem; color: #fff; background: linear-gradient(transparent, rgba(6,12,28,.85)); font-family: var(--fd); pointer-events: none; }
.lb-cap b { display: block; font-size: 1.05rem; } .lb-cap span { color: #C6D6EE; font-size: .88rem; font-family: var(--fb); }
.lb-hint { position: absolute; top: .85rem; left: 50%; transform: translateX(-50%); color: #9DB0CE; font-size: .78rem; font-family: var(--fb); background: rgba(255,255,255,.08); padding: .3rem .8rem; border-radius: 100px; pointer-events: none; }
.lb-close, .lb-nav { position: absolute; z-index: 2; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2); width: 46px; height: 46px; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(6px); transition: background .2s; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.24); }
.lb-close { top: .8rem; right: .8rem; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: .8rem; } .lb-next { right: .8rem; }
@media (max-width: 560px) { .lb-hint { display: none; } .lb-nav { width: 40px; height: 40px; top: auto; bottom: 4.6rem; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lb-stage img { transition: none; } }

/* ---------- Form: WhatsApp submit ---------- */
.btn-wa { background: var(--wa); box-shadow: 0 10px 26px rgba(30,163,75,.32); }
.btn-wa:hover { background: #178A40; box-shadow: 0 16px 34px rgba(30,163,75,.42); }
.form-note { margin-top: .7rem; color: var(--muted); font-size: .86rem; text-align: center; }
