/* ==========================================================================
   Madkam Electrical Contractors — main stylesheet (mobile-first)
   ========================================================================== */
:root {
  --navy-950: #040f2b;
  --navy-900: #071a45;
  --navy-800: #0a2a6b;
  --blue-700: #0a47d1;
  --blue-600: #0b5cff;
  --blue-500: #2f7bff;
  --blue-300: #8fb8ff;
  --cyan-400: #1ad1ff;
  --cyan-300: #7de6ff;
  --sky-100: #e8f1ff;
  --sky-50: #f4f8ff;
  --amber-400: #ffc53d;
  --amber-500: #ffab00;
  --green-500: #22c55e;
  --wa: #25d366;
  --ink: #0b1b3f;
  --ink-2: #3b4a6b;
  --ink-3: #6b7a99;
  --line: #e2e9f7;
  --white: #fff;

  --grad-brand: linear-gradient(135deg, var(--blue-600) 0%, var(--cyan-400) 100%);
  --grad-dark: radial-gradient(1200px 600px at 80% -10%, #1646b8 0%, transparent 60%),
               radial-gradient(900px 500px at -10% 110%, #0b6bd6 0%, transparent 55%),
               linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 50%, var(--navy-800) 100%);
  --grad-accent: linear-gradient(135deg, var(--amber-400), var(--amber-500));

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(10, 42, 107, .06);
  --shadow: 0 10px 30px -10px rgba(10, 42, 107, .18);
  --shadow-lg: 0 30px 60px -20px rgba(10, 42, 107, .30);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 72px;
}

/* Service colour themes */
.c-blue   { --c1: #2563eb; --c2: #60a5fa; }
.c-indigo { --c1: #4f46e5; --c2: #818cf8; }
.c-amber  { --c1: #f59e0b; --c2: #fcd34d; }
.c-cyan   { --c1: #0891b2; --c2: #22d3ee; }
.c-teal   { --c1: #0d9488; --c2: #2dd4bf; }
.c-violet { --c1: #7c3aed; --c2: #a78bfa; }
.c-green  { --c1: #16a34a; --c2: #4ade80; }
.c-sky    { --c1: #0284c7; --c2: #38bdf8; }
.c-rose   { --c1: #e11d48; --c2: #fb7185; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--ink-2);
  background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -0.18em; }
.icon-sm { width: .9em; height: .9em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; justify-content: center; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 1000; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.text-grad {
  background: linear-gradient(90deg, var(--cyan-300), var(--cyan-400) 40%, var(--blue-300));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.2; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 42px; padding: .55em 1.1em; font-size: .92rem; }
.btn-lg { min-height: 54px; padding: .9em 1.7em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad-brand); color: var(--white); box-shadow: 0 10px 24px -8px rgba(11, 92, 255, .55); }
.btn-primary:hover { color: var(--white); box-shadow: 0 16px 30px -10px rgba(11, 92, 255, .65); }
.btn-accent { background: var(--grad-accent); color: var(--navy-900); box-shadow: 0 10px 28px -8px rgba(255, 171, 0, .6); }
.btn-accent:hover { color: var(--navy-900); }
.btn-glass { background: rgba(255, 255, 255, .08); color: var(--white); border-color: rgba(255, 255, 255, .25); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .16); color: var(--white); }
.btn-white { background: var(--white); color: var(--blue-700); }
.btn-white:hover { color: var(--navy-900); }
.btn-whatsapp { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px rgba(37, 211, 102, .7); }
.btn-whatsapp:hover { color: #fff; background: #1ebe5a; }
.btn-outline { border-color: var(--blue-600); color: var(--blue-600); background: transparent; }
.btn-outline:hover { background: var(--blue-600); color: var(--white); }
.btn-ghost { background: var(--sky-100); color: var(--blue-700); }

/* ---------- Top bar & header ---------- */
.topbar { background: linear-gradient(90deg, var(--navy-950), var(--navy-800) 50%, var(--navy-950)); color: #b9c8ea; font-size: .85rem; }
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: 20px; min-height: 36px; }
.topbar .slogan { font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .78rem; color: #fff; }
.topbar .slogan .icon { color: var(--amber-400); fill: var(--amber-400); }
.topbar-loc, .topbar-links { display: none !important; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar a { color: #dbe6ff; }
.topbar a:hover { color: var(--cyan-300); }
.topbar-links { gap: 20px !important; }
.topbar .icon { color: var(--cyan-400); }

.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
.site-header.scrolled { box-shadow: 0 8px 30px -12px rgba(10, 42, 107, .25); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--white);
  background: var(--grad-brand); box-shadow: 0 8px 20px -6px rgba(11, 92, 255, .6); position: relative;
}
.logo-mark .icon { width: 24px; height: 24px; fill: var(--amber-400); stroke: var(--amber-400); }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong { font-size: 1.25rem; letter-spacing: .04em; font-weight: 800; }
.logo-text small { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-3); font-weight: 600; }
.logo-img { height: 44px; width: auto; }
.logo-light, .logo-light:hover { color: var(--white); }
.logo-light .logo-text small { color: #9fb3dd; }

.nav { position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); background: var(--white); z-index: 120;
  padding: calc(var(--header-h) + 8px) 20px 24px; clip-path: inset(0 0 0 100%); visibility: hidden;
  transition: clip-path .35s cubic-bezier(.2,.8,.2,1), visibility 0s linear .35s;
  overflow-y: auto; box-shadow: -20px 0 60px rgba(4, 15, 43, .25); display: flex; flex-direction: column; gap: 24px; }
.nav.open { clip-path: inset(0 0 0 -100px); visibility: visible; transition: clip-path .35s cubic-bezier(.2,.8,.2,1), visibility 0s; }
.nav-list > li > a { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.nav-list > li > a:hover { color: var(--blue-600); }
.dropdown { padding: 6px 0 10px; }
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 9px 4px; color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.dropdown a:hover { color: var(--blue-600); }
.dd-icon { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); flex-shrink: 0; }
.dd-icon .icon { width: 17px; height: 17px; }
.nav-mobile-cta { display: grid; gap: 10px; margin-top: auto; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(4, 15, 43, .5); z-index: 110; opacity: 0; pointer-events: none; transition: opacity .3s; backdrop-filter: blur(2px); }
.nav-backdrop.show { opacity: 1; pointer-events: auto; }
body.nav-open { overflow: hidden; }
body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-call span { display: none; }
.header-call { padding: 0; width: 44px; min-height: 44px; }
.nav-toggle { width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--sky-100); display: grid; place-content: center; gap: 5px; position: relative; z-index: 130; }
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: var(--navy-800); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero, .page-hero { position: relative; background: var(--grad-dark); color: #c9d6f5; overflow: hidden; isolation: isolate; }
.hero { padding: 48px 0 120px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: float 16s ease-in-out infinite; }
.blob.b1 { width: 420px; height: 420px; background: #1ad1ff; top: -140px; right: -80px; opacity: .35; }
.blob.b2 { width: 360px; height: 360px; background: #2f5bff; bottom: -120px; left: -100px; animation-delay: -5s; }
.blob.b3 { width: 240px; height: 240px; background: #7c5cff; top: 40%; left: 45%; opacity: .25; animation-delay: -9s; }
.grid-lines { position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%); }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, -30px) scale(1.08); } }

.hero-inner { display: grid; gap: 40px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); color: #e2ebff; backdrop-filter: blur(6px); }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 0 rgba(34, 197, 94, .7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); } 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

.hero h1, .page-hero h1 { color: var(--white); font-size: clamp(2.1rem, 6.2vw, 3.7rem); margin: 18px 0 18px; }
.h1-kicker { display: block; font-size: clamp(.8rem, 2vw, .95rem); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan-300); font-weight: 700; margin-bottom: 12px; }
.lead { font-size: clamp(1.02rem, 2.2vw, 1.18rem); color: #c3d1f0; max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-contacts { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.hero-contacts a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: #e2ebff; font-weight: 600; font-size: .95rem; }
.hero-contacts a .icon { color: var(--cyan-400); }
.hero-contacts a.wa .icon { color: var(--wa); }
.hero-contacts a:hover { color: var(--white); }

.hero-visual { position: relative; min-height: 340px; display: grid; place-items: center; }
.hero-photo { width: 100%; max-width: 480px; aspect-ratio: 8 / 9; border-radius: 28px; overflow: hidden; border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), 0 0 0 10px rgba(255,255,255,.04); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero-slider { position: relative; width: 100%; max-width: 460px; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: var(--navy-900);
  border: 1px solid rgba(255,255,255,.2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65), 0 0 0 10px rgba(255,255,255,.04); outline: none; }
.hero-slider:focus-visible { box-shadow: 0 0 0 3px var(--cyan-400), 0 40px 80px -30px rgba(0, 0, 0, .65); }
.hero-slider .slides, .hero-slider .slide { position: absolute; inset: 0; margin: 0; }
.hero-slider .slide { opacity: 0; transition: opacity 1s ease; }
.hero-slider .slide.active { opacity: 1; z-index: 1; }
.hero-slider .slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero-slider .slide.active img { animation: kenburns 7s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.hero-slider figcaption { position: absolute; inset: auto 0 0; padding: 70px 20px 50px; color: #fff;
  background: linear-gradient(transparent, rgba(4, 15, 43, .92)); transform: translateY(12px); opacity: 0; transition: transform .7s .3s, opacity .7s .3s; }
.hero-slider .slide.active figcaption { transform: none; opacity: 1; }
.hero-slider figcaption strong { display: block; font-size: 1.05rem; line-height: 1.3; }
.hero-slider .tag { display: inline-block; margin-bottom: 8px; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: var(--grad-accent); color: var(--navy-900); }
.slider-btn { position: absolute; top: 16px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; padding: 0; cursor: pointer;
  color: #fff; background: rgba(4, 15, 43, .45); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(6px); transition: background .2s; }
.slider-btn:hover { background: var(--blue-600); }
.slider-btn .icon { width: 20px; height: 20px; }
.slider-btn.prev { right: 66px; }
.slider-btn.prev .icon { transform: rotate(180deg); }
.slider-btn.next { right: 16px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 3; display: flex; justify-content: center; gap: 2px; }
.slider-dots button { padding: 14px 5px; border: 0; background: none; cursor: pointer; }
.slider-dots span { display: block; width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.5); transition: width .3s, background .3s; }
.slider-dots button.active span { width: 26px; background: var(--amber-400); }
.hero-slider ~ .float-card { z-index: 4; }
.hero-slider ~ .fc1 { top: 10%; left: -6px; }
.hero-slider ~ .fc3 { top: auto; bottom: 22%; right: -6px; }
@media (max-width: 559px) { .hero-slider ~ .float-card { display: none; } }
.orb { position: relative; width: 260px; height: 260px; display: grid; place-items: center; }
.orb-core { width: 120px; height: 120px; border-radius: 36px; display: grid; place-items: center; background: var(--grad-brand); transform: rotate(-8deg);
  box-shadow: 0 0 60px rgba(26, 209, 255, .6), 0 20px 50px -10px rgba(11, 92, 255, .8), inset 0 2px 0 rgba(255,255,255,.35); animation: glow 3s ease-in-out infinite; }
.orb-core .icon { width: 64px; height: 64px; color: var(--amber-400); fill: var(--amber-400); transform: rotate(8deg); filter: drop-shadow(0 0 12px rgba(255, 197, 61, .8)); }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(125, 230, 255, .35); animation: spin 18s linear infinite; }
.ring::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 14px var(--cyan-400); }
.ring.r2 { inset: -40px; border-style: dashed; border-color: rgba(143, 184, 255, .25); animation-duration: 28s; animation-direction: reverse; }
.ring.r2::before { background: var(--amber-400); box-shadow: 0 0 14px var(--amber-400); }
.ring.r3 { inset: 40px; border-color: rgba(255, 255, 255, .15); animation-duration: 12s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 50px rgba(26, 209, 255, .5), 0 20px 50px -10px rgba(11, 92, 255, .8); } 50% { box-shadow: 0 0 90px rgba(26, 209, 255, .8), 0 20px 50px -10px rgba(11, 92, 255, .9); } }

.float-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px;
  background: rgba(255, 255, 255, .95); box-shadow: var(--shadow-lg); color: var(--ink); animation: bob 6s ease-in-out infinite; }
.float-card strong { display: block; font-size: .88rem; line-height: 1.2; }
.float-card small { font-size: .74rem; color: var(--ink-3); }
.fc-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.fc-icon .icon { width: 20px; height: 20px; }
.fc1 { top: 4%; left: 0; }
.fc2 { bottom: 10%; left: 4%; animation-delay: -2s; }
.fc3 { top: 38%; right: 0; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Stats ---------- */
.stats-wrap { position: relative; z-index: 2; margin-top: -72px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); background: var(--white); border-radius: 24px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.stat { padding: 22px 16px; text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat:nth-child(2n) { border-right: 0; }
.stat strong { display: block; font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 800; line-height: 1.1;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat strong em { font-style: normal; }
.stat > span { font-size: .88rem; font-weight: 600; color: var(--ink-3); }

/* ---------- Clients ---------- */
.clients { padding: 48px 0 8px; }
.clients-title { text-align: center; font-size: clamp(.95rem, 2.4vw, 1.1rem); font-weight: 700; color: var(--ink-3); letter-spacing: 0; margin-bottom: 22px; }
.clients-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.clients-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.clients-marquee:hover .clients-track { animation-play-state: paused; }
.clients-list { display: flex; gap: 14px; padding: 6px 7px 14px; }
.client { display: flex; align-items: center; gap: 12px; padding: 12px 20px 12px 12px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); white-space: nowrap; }
.client img { width: 48px; height: 48px; object-fit: contain; border-radius: 10px; }
.client-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-100); color: var(--blue-600); }
.client strong { display: block; color: var(--ink); font-size: .98rem; line-height: 1.2; }
.client small { color: var(--ink-3); font-size: .8rem; font-weight: 600; }
@keyframes marquee { to { transform: translateX(-50%); } }
.areas li.areas-more { background: var(--grad-brand); color: #fff; border-color: transparent; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-tint { background: linear-gradient(180deg, var(--sky-50), #fff 90%); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head p { color: var(--ink-3); font-size: 1.05rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--grad-brand); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.service-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 28px 24px 24px; overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s; box-shadow: var(--shadow-sm); }
.service-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--c1), var(--c2)); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.service-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 50%; background: radial-gradient(circle, var(--c2), transparent 70%); opacity: .12; transition: opacity .3s, transform .4s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: .25; transform: scale(1.2); }
.service-img { margin: -28px -24px 20px; aspect-ratio: 16 / 10; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service-card:hover .service-img img { transform: scale(1.06); }
.service-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; color: #fff; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 12px 24px -10px var(--c1); position: relative; z-index: 1; }
.service-icon .icon { width: 28px; height: 28px; }
.service-card h3 a { color: var(--ink); }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.service-card p { color: var(--ink-3); margin-bottom: 18px; }
.service-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--c1); font-size: .95rem; }
.service-link .icon { transition: transform .25s; }
.service-card:hover .service-link .icon { transform: translateX(5px); }

/* ---------- About & why ---------- */
.about-grid { display: grid; gap: 40px; align-items: center; }
.about-media { position: relative; }
.about-media > img { border-radius: 28px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 15 / 14; object-fit: cover; }
.about-art { aspect-ratio: 15 / 13; border-radius: 28px; background: var(--grad-dark); position: relative; overflow: hidden; display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.art-circuit { position: absolute; inset: 0; opacity: .5;
  background:
    radial-gradient(circle at 20% 30%, var(--cyan-400) 0 4px, transparent 5px),
    radial-gradient(circle at 75% 25%, var(--amber-400) 0 4px, transparent 5px),
    radial-gradient(circle at 70% 75%, var(--cyan-400) 0 4px, transparent 5px),
    radial-gradient(circle at 25% 80%, var(--blue-300) 0 4px, transparent 5px),
    linear-gradient(rgba(125,230,255,.18) 2px, transparent 2px) 0 0 / 60px 60px,
    linear-gradient(90deg, rgba(125,230,255,.18) 2px, transparent 2px) 0 0 / 60px 60px; }
.art-bolt { width: 42%; height: 42%; color: var(--amber-400); fill: rgba(255, 197, 61, .25); position: relative; z-index: 1; filter: drop-shadow(0 0 30px rgba(255, 197, 61, .6)); animation: glowbolt 3s ease-in-out infinite; }
@keyframes glowbolt { 50% { filter: drop-shadow(0 0 50px rgba(255, 197, 61, .9)); } }
.about-badge { position: absolute; right: 16px; bottom: -20px; background: var(--grad-brand); color: #fff; border-radius: 20px; padding: 16px 20px; box-shadow: var(--shadow-lg); max-width: 190px; }
.about-badge strong { display: block; font-size: 2rem; line-height: 1; }
.about-badge span { font-size: .82rem; font-weight: 600; opacity: .9; }
.check-list { display: grid; gap: 12px; margin: 22px 0 28px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.check-list .icon { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--sky-100); color: var(--blue-600); stroke-width: 3; }
.license-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff7e0; color: #8a5a00; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: .9rem; }

.why-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 56px; }
.why-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .3s, box-shadow .3s; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--sky-100); color: var(--blue-600); margin-bottom: 14px; transition: background .3s, color .3s; }
.why-card:hover .why-icon { background: var(--grad-brand); color: #fff; }
.why-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.why-card p { font-size: .95rem; color: var(--ink-3); margin: 0; }

/* ---------- Process ---------- */
.process { display: grid; gap: 18px; counter-reset: step; }
.process li { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px 22px 84px; }
.step-num { position: absolute; left: 22px; top: 22px; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; color: #fff; background: var(--grad-brand); box-shadow: 0 10px 20px -8px rgba(11, 92, 255, .6); }
.process h3 { font-size: 1.08rem; margin-bottom: 4px; }
.process p { margin: 0; color: var(--ink-3); font-size: .95rem; }

/* ---------- Projects ---------- */
.filters { display: flex; gap: 8px; justify-content: flex-start; overflow-x: auto; padding: 4px 2px 12px; margin-bottom: 16px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; border: 1px solid var(--line); background: var(--white); color: var(--ink-2); padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: .9rem; transition: all .2s; min-height: 42px; }
.chip:hover { border-color: var(--blue-500); color: var(--blue-600); }
.chip.active { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: 0 8px 20px -8px rgba(11, 92, 255, .6); }
.projects-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.project { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.project.hide, .projects-grid:not(.show-all) .project.extra { display: none; }
.projects-more { margin-top: 28px; text-align: center; }
.projects-more .icon { width: 18px; height: 18px; }
.project-open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--navy-900); text-align: left; }
.project img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.project-open:hover img { transform: scale(1.07); }
.project figcaption { position: absolute; inset: auto 0 0; padding: 40px 18px 16px; color: #fff; background: linear-gradient(transparent, rgba(4, 15, 43, .9)); }
.project figcaption strong { display: block; font-size: 1rem; line-height: 1.3; }
.tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: rgba(26, 209, 255, .2); color: var(--cyan-300); padding: 3px 10px; border-radius: 999px; margin-bottom: 6px; border: 1px solid rgba(125, 230, 255, .35); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding: 56px 0; color: #eaf2ff;
  background: radial-gradient(600px 300px at 90% 0%, rgba(125, 230, 255, .45), transparent 60%), linear-gradient(120deg, var(--blue-700), var(--blue-600) 45%, #08a9e6); }
.cta-band::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.15) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.cta-inner { position: relative; z-index: 1; display: grid; gap: 22px; }
.cta-band h2 { color: #fff; margin-bottom: 6px; font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
.cta-band p { margin: 0; color: #d7e6ff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; margin: 0 -4px; scrollbar-width: thin; }
.testimonial { scroll-snap-align: start; margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; position: relative; }
.testimonial::before { content: "“"; position: absolute; right: 20px; top: 0; font-size: 6rem; line-height: 1; color: var(--sky-100); font-family: Georgia, serif; }
.stars { display: flex; gap: 3px; color: var(--amber-500); margin-bottom: 14px; }
.stars .icon { width: 18px; height: 18px; }
.testimonial p { color: var(--ink-2); flex: 1; position: relative; }
.testimonial footer { display: flex; align-items: center; gap: 12px; }
.testimonial footer strong { display: block; color: var(--ink); font-size: .95rem; }
.testimonial footer small { color: var(--ink-3); font-size: .82rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-brand); color: #fff; font-weight: 800; flex-shrink: 0; }

/* ---------- Areas & FAQ ---------- */
.faq-grid { display: grid; gap: 48px; }
.areas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.areas li { display: inline-flex; align-items: center; gap: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.areas .icon { color: var(--blue-500); width: 15px; height: 15px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; font-weight: 700; color: var(--ink); cursor: pointer; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--blue-600); transition: transform .3s; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq-answer { padding: 0 20px 16px; color: var(--ink-3); }
.faq-answer p:last-child { margin: 0; }

/* ---------- Contact ---------- */
.contact-section { background: linear-gradient(180deg, #fff, var(--sky-50)); }
.contact-grid { display: grid; gap: 36px; align-items: start; }
.info-cards { display: grid; gap: 12px; margin-top: 22px; }
.info-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); transition: transform .2s, box-shadow .2s; }
a.info-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.info-card small { display: block; color: var(--ink-3); font-size: .8rem; font-weight: 600; }
.info-card strong { font-size: .98rem; word-break: break-word; }
.ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); flex-shrink: 0; }

.contact-form { background: var(--white); border-radius: 24px; padding: 24px 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-weight: 700; font-size: .88rem; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font: inherit; font-size: 16px; font-weight: 500; color: var(--ink); background: var(--sky-50);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 50px; transition: border-color .2s, box-shadow .2s, background .2s; }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(47, 123, 255, .15); }
.form-row { display: grid; gap: 14px; }
.form-note { font-size: .88rem; text-align: center; color: var(--ink-3); margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: .95rem; }
.alert-success { background: #e8faf0; color: #146c3a; border: 1px solid #b7ebcd; }
.alert-error { background: #fff0f0; color: #a61b1b; border: 1px solid #f5c2c2; }
.form-status:empty { display: none; }
.map { margin-top: 48px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--sky-100); }
.map iframe { display: block; width: 100%; height: 340px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--navy-950); color: #9fb0d4; padding: 64px 0 0; }
.footer-glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(11, 92, 255, .3), transparent 65%); top: -300px; right: -200px; pointer-events: none; }
.footer-grid { position: relative; display: grid; gap: 36px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.site-footer p { margin: 16px 0; font-size: .95rem; }
.site-footer a { color: #c9d6f5; }
.site-footer a:hover { color: var(--cyan-300); }
.footer-links { display: grid; gap: 0; font-size: .95rem; }
.footer-links a { display: inline-block; padding: 7px 0; }
.footer-contact a { display: inline-block; padding: 4px 0; }
.footer-bottom a { display: inline-block; padding: 8px 0; }
.form-note a { display: inline-block; padding: 6px 0; }
.footer-areas { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-areas li { font-size: .82rem; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.footer-contact { display: grid; gap: 14px; font-size: .95rem; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--cyan-400); margin-top: 3px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--grad-brand); color: #fff; transform: translateY(-2px); }
.footer-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 22px 20px; margin-top: 48px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; }

/* ---------- Floating & mobile bar ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: none; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 700; box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .7); transition: transform .2s; }
.wa-float:hover { color: #fff; transform: translateY(-3px) scale(1.03); }
.wa-float .icon { width: 26px; height: 26px; }
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); box-shadow: 0 -8px 30px -10px rgba(10, 42, 107, .3); border-top: 1px solid var(--line); }
.mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 54px; border-radius: 14px; font-size: .78rem; font-weight: 700; color: #fff; }
.mobile-bar .icon { width: 22px; height: 22px; }
.mb-call { background: var(--grad-brand); }
.mb-wa { background: var(--wa); }
.mb-quote { background: var(--navy-800); }
body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(4, 15, 43, .92); display: grid; place-items: center; padding: 20px; backdrop-filter: blur(6px); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1000px; width: 100%; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 14px; font-weight: 600; }
.lightbox-close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
.lightbox-close .icon { width: 24px; height: 24px; }

/* ---------- Service page ---------- */
.page-hero { padding: 28px 0 64px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; margin-bottom: 28px; color: #9fb3dd; }
.breadcrumbs a { color: #dbe6ff; display: inline-block; padding: 8px 0; margin: -8px 0; }
.breadcrumbs a:hover { color: var(--cyan-300); }
.page-hero-inner { display: grid; gap: 24px; align-items: start; }
.page-hero-icon { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--c1, var(--blue-600)), var(--c2, var(--cyan-400))); box-shadow: 0 20px 40px -12px var(--c1, var(--blue-600)); }
.page-hero-icon .icon { width: 38px; height: 38px; }
.page-hero h1 { margin-top: 0; }
.service-detail { display: grid; gap: 40px; align-items: start; }
.service-body h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); margin-top: 36px; }
.service-body h2:first-of-type { margin-top: 0; }
.service-body p { font-size: 1.04rem; }
.service-hero-img { border-radius: 22px; box-shadow: var(--shadow-lg); margin-bottom: 32px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.feature-grid { display: grid; gap: 12px; }
.feature-grid li { display: flex; gap: 12px; align-items: flex-start; background: var(--sky-50); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-weight: 600; color: var(--ink); }
.feature-grid .icon { color: var(--green-500); width: 22px; height: 22px; margin-top: 1px; }
.why-inline { margin-top: 0; }
.projects-grid.compact { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.projects-grid.compact figcaption { padding: 34px 12px 12px; }
.projects-grid.compact figcaption strong { font-size: .9rem; overflow-wrap: anywhere; }
.service-aside { display: grid; gap: 20px; }
.aside-card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: var(--shadow-sm); }
.aside-quote { background: var(--grad-dark); color: #c9d6f5; border: 0; box-shadow: var(--shadow-lg); display: grid; gap: 10px; }
.aside-quote h3 { color: #fff; margin: 0; }
.aside-quote p { margin: 0 0 6px; }
.aside-links { display: grid; gap: 4px; }
.aside-links a { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 12px; color: var(--ink); font-weight: 600; font-size: .95rem; }
.aside-links a .icon-sm { margin-left: auto; color: var(--ink-3); transition: transform .2s; }
.aside-links a:hover { background: var(--sky-50); color: var(--blue-600); }
.aside-links a:hover .icon-sm { transform: translateX(4px); color: var(--blue-600); }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 560px) {
  .services-grid, .projects-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .info-cards { grid-template-columns: 1fr 1fr; }
  .testimonials { grid-auto-columns: 60%; }
  .contact-form { padding: 32px; }
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .wa-float { display: inline-flex; }
  .header-call { width: auto; padding: .55em 1.1em; }
  .header-call span { display: inline; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { border-bottom: 0; padding: 30px 16px; }
  .stat:nth-child(2n) { border-right: 1px solid var(--line); }
  .stat:last-child { border-right: 0; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero-inner { grid-template-columns: auto 1fr; }
  .page-hero { padding: 32px 0 80px; }
  .map iframe { height: 400px; }
}

@media (min-width: 900px) {
  .topbar-inner { justify-content: space-between; min-height: 40px; }
  .topbar-loc, .topbar-links { display: inline-flex !important; }
  .section { padding: 100px 0; }
  .hero { padding: 80px 0 150px; }
  .hero-inner { grid-template-columns: 1.1fr .9fr; }
  .hero-visual { min-height: 460px; }
  .orb { width: 300px; height: 300px; }
  .about-grid { grid-template-columns: 1fr 1.05fr; gap: 64px; }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .faq-grid { grid-template-columns: .9fr 1.1fr; gap: 64px; }
  .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 56px; }
  .testimonials { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .service-detail { grid-template-columns: 1fr 340px; gap: 56px; }
  .service-aside { position: sticky; top: calc(var(--header-h) + 20px); }
  .why-inline { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .services-grid, .projects-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .process { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .process li { padding: 88px 22px 24px; text-align: left; }
  .process li:not(:last-child)::after { content: ""; position: absolute; top: 45px; left: 84px; right: -20px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-300) 0 6px, transparent 6px 12px); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
}

@media (min-width: 1080px) {
  .nav { position: static; width: auto; transform: none; clip-path: none; visibility: visible; transition: none; padding: 0; background: none; box-shadow: none; overflow: visible; flex-direction: row; }
  .nav-list { display: flex; align-items: center; gap: 4px; }
  .nav-list > li { position: relative; }
  .nav-list > li > a { border: 0; padding: 10px 14px; font-size: .96rem; border-radius: 10px; gap: 4px; }
  .nav-list > li > a:hover { background: var(--sky-50); }
  .dropdown { position: absolute; top: calc(100% + 10px); left: 50%; width: 330px; padding: 10px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .2s, visibility .2s; }
  .dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .dropdown a { padding: 9px 10px; border-radius: 12px; }
  .dropdown a:hover { background: var(--sky-50); }
  .nav-mobile-cta, .nav-toggle, .nav-backdrop { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .clients-marquee { mask-image: none; -webkit-mask-image: none; }
  .clients-track { width: auto; }
  .clients-list { flex-wrap: wrap; justify-content: center; }
  .clients-list[aria-hidden] { display: none; }
  .hero-slider figcaption { transform: none; opacity: 1; }
}
