/* ============================================================
   Graphics Land — public site
   Light theme, blue palette taken from the logo
   ============================================================ */
:root {
  --ink: #0c2340;
  --ink-2: #2a4263;
  --muted: #5f7691;
  --line: #dbe9f6;
  --bg: #f6fbff;
  --card: #ffffff;
  --blue-900: #0a2f66;
  --blue-700: #0f5cb8;
  --blue-600: #1475c9;
  --blue-500: #1e90e3;
  --cyan-400: #4cc9ee;
  --cyan-200: #bff0fb;
  --sky-100: #e4f4ff;
  --grad: linear-gradient(135deg, #5fd0ee 0%, #1e90e3 52%, #0f5cb8 100%);
  --grad-soft: linear-gradient(135deg, #e9f9ff, #dcefff);
  --shadow-sm: 0 2px 10px rgba(15, 92, 184, .08);
  --shadow: 0 18px 50px -18px rgba(15, 92, 184, .28);
  --shadow-lg: 0 40px 90px -30px rgba(15, 92, 184, .38);
  --r: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 78px;
  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', 'Noto Sans Sinhala', 'Noto Sans Tamil', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.65; font-size: 16px; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--cyan-200); color: var(--blue-900); }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 8px; }
.ic { flex: none; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.center { text-align: center; }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Ambient background ---------- */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
.aurora::after { /* dotted grid */
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(30, 144, 227, .18) 1px, transparent 1.4px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 100%);
}
.aurora i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: drift 22s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; background: #9fe3f7; top: -14vw; left: -8vw; }
.aurora i:nth-child(2) { width: 38vw; height: 38vw; background: #a7cbff; top: 10vh; right: -12vw; animation-duration: 28s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 30vw; height: 30vw; background: #c8f3ff; bottom: -10vw; left: 30vw; animation-duration: 32s; animation-delay: -12s; }
@keyframes drift { to { transform: translate3d(6vw, 5vh, 0) scale(1.15); } }

.cursor-glow {
  position: fixed; width: 460px; height: 460px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(76, 201, 238, .22), transparent 65%);
  transform: translate(-50%, -50%); left: -999px; top: -999px; transition: opacity .3s; mix-blend-mode: multiply;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- Preloader / progress / transitions ---------- */
.preloader { position: fixed; inset: 0; z-index: 1000; background: #fff; display: grid; place-items: center; transition: opacity .6s var(--ease), visibility .6s; }
.preloader.done { opacity: 0; visibility: hidden; }
.preloader img { width: 96px; animation: pl 1.2s var(--ease) infinite alternate; }
.preloader .bar { position: absolute; bottom: 38%; width: 140px; height: 3px; background: var(--sky-100); border-radius: 3px; overflow: hidden; }
.preloader .bar::after { content: ''; position: absolute; inset: 0; width: 40%; background: var(--grad); border-radius: 3px; animation: plbar 1s ease-in-out infinite; }
@keyframes pl { from { transform: translateY(6px) scale(.96); } to { transform: translateY(-8px) scale(1.04); } }
@keyframes plbar { from { transform: translateX(-100%); } to { transform: translateX(350%); } }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 900; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }
.page-veil { position: fixed; inset: 0; background: #fff; z-index: 999; opacity: 0; pointer-events: none; transition: opacity .28s ease; }
.page-veil.on { opacity: 1; pointer-events: all; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 800; height: var(--nav-h); display: flex; align-items: center; transition: all .35s var(--ease); }
.header.scrolled { height: 64px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); box-shadow: 0 6px 30px -12px rgba(15, 92, 184, .25); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; object-fit: contain; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.brand b { font-size: 19px; letter-spacing: .02em; font-weight: 800; color: #2b2d31; line-height: 1; display: block; }
.brand b span { font-weight: 300; }
.brand small { display: block; font-size: 9.5px; letter-spacing: .22em; font-weight: 700; color: var(--blue-600); margin-top: 4px; text-transform: uppercase; }

.nav { position: relative; display: flex; gap: 4px; padding: 5px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); }
.nav a { position: relative; z-index: 1; padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); transition: color .25s; }
.nav a:hover, .nav a.active { color: #fff; }
.nav .pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--grad); box-shadow: 0 8px 20px -8px rgba(15, 92, 184, .7); transition: left .4s var(--ease), width .4s var(--ease), opacity .3s; opacity: 0; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.kbd-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 13px; font-weight: 600; transition: all .2s; }
.kbd-btn:hover { border-color: var(--blue-500); color: var(--blue-600); }
.kbd-btn kbd { font: 700 11px var(--font); background: var(--sky-100); border-radius: 6px; padding: 2px 6px; color: var(--blue-700); }
.burger { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff; place-items: center; color: var(--blue-700); }

.mobile-menu { position: fixed; inset: 0; z-index: 790; background: rgba(246, 251, 255, .97); backdrop-filter: blur(20px); padding: 110px 28px 40px; display: flex; flex-direction: column; gap: 6px; clip-path: circle(0 at calc(100% - 46px) 40px); transition: clip-path .6s var(--ease); }
.mobile-menu.open { clip-path: circle(150% at calc(100% - 46px) 40px); }
.mobile-menu a.m-link { font-size: clamp(28px, 8vw, 40px); font-weight: 800; padding: 8px 0; color: var(--ink); display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(18px); transition: all .5s var(--ease); }
.mobile-menu.open a.m-link { opacity: 1; transform: none; }
.mobile-menu.open a.m-link:nth-child(2) { transition-delay: .08s; } .mobile-menu.open a.m-link:nth-child(3) { transition-delay: .13s; }
.mobile-menu.open a.m-link:nth-child(4) { transition-delay: .18s; } .mobile-menu.open a.m-link:nth-child(5) { transition-delay: .23s; }
.mobile-menu a.m-link.active { color: var(--blue-600); }
.mobile-menu .btn { margin-top: 24px; justify-content: center; }
@media (max-width: 980px) { .nav, .kbd-btn, .header-cta .btn { display: none; } .burger { display: grid; } }

/* ---------- Buttons ---------- */
.btn { --h: 52px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 28px; border-radius: 16px; border: 0; font-weight: 700; font-size: 15px; transition: transform .25s var(--ease), box-shadow .25s; overflow: hidden; isolation: isolate; will-change: transform; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 14px 30px -10px rgba(15, 92, 184, .65); }
.btn-primary::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-primary:hover::before { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 20px 40px -12px rgba(15, 92, 184, .75); }
.btn-ghost { background: #fff; color: var(--blue-700); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--blue-500); box-shadow: var(--shadow-sm); }
.btn-white { background: #fff; color: var(--blue-700); }
.btn-sm { --h: 42px; padding: 0 20px; font-size: 14px; border-radius: 13px; }
.btn .ic { transition: transform .3s var(--ease); }
.btn:hover .ic-arrow { transform: translateX(4px); }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Typography blocks ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 13px; font-weight: 700; color: var(--blue-700); }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(30, 144, 227, .18); animation: ping 2s infinite; }
@keyframes ping { 50% { box-shadow: 0 0 0 8px rgba(30, 144, 227, 0); } }
.h2 { font-size: clamp(30px, 4.4vw, 52px); margin-top: 18px; }
.lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); max-width: 640px; }
.center .lead { margin-inline: auto; }
.sec-head { margin-bottom: clamp(36px, 5vw, 60px); }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal].in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.split.in .w > span { transform: none; }
.no-js [data-reveal], .no-js .split .w > span { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--nav-h) + clamp(36px, 6vw, 80px)) 0 clamp(60px, 7vw, 100px); position: relative; }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.greet { height: 30px; overflow: hidden; margin-bottom: 14px; font-weight: 700; color: var(--blue-600); font-size: 18px; }
.greet-track { transition: transform .7s var(--ease); }
.greet span { display: block; height: 30px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 72px); font-weight: 800; letter-spacing: -.035em; margin-bottom: 22px; }
.rotor { display: inline-block; position: relative; height: 1.12em; overflow: hidden; vertical-align: bottom; }
.rotor-track { display: flex; flex-direction: column; transition: transform .7s var(--ease); }
.rotor-track span { height: 1.12em; white-space: nowrap; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.trust { display: flex; align-items: center; gap: 14px; margin-top: 38px; color: var(--muted); font-size: 14px; font-weight: 600; }
.trust .dots { display: flex; }
.trust .dots i { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--bg); margin-left: -10px; background: var(--grad); display: grid; place-items: center; color: #fff; font-style: normal; font-size: 12px; font-weight: 800; }
.trust .dots i:first-child { margin-left: 0; }
.trust .dots i:nth-child(2) { background: linear-gradient(135deg, #7be0f8, #3aa7ec); } .trust .dots i:nth-child(3) { background: linear-gradient(135deg, #3aa7ec, #0f5cb8); }

.scene { position: relative; aspect-ratio: 1; width: min(100%, 560px); margin-inline: auto; perspective: 1100px; }
.scene .ring { position: absolute; inset: 6%; border-radius: 50%; border: 1.5px dashed rgba(30, 144, 227, .35); animation: spin 40s linear infinite; }
.scene .ring.r2 { inset: 20%; animation-direction: reverse; animation-duration: 28s; border-color: rgba(76, 201, 238, .5); }
.scene .ring.r3 { inset: -2%; border-style: solid; border-color: rgba(30, 144, 227, .12); animation: none; }
.scene .core { position: absolute; inset: 22%; display: grid; place-items: center; }
.scene .core::before { content: ''; position: absolute; inset: -12%; border-radius: 50%; background: radial-gradient(circle, rgba(95, 208, 238, .55), transparent 68%); animation: pulse 4s ease-in-out infinite; }
.scene .core img { position: relative; width: 100%; filter: drop-shadow(0 40px 40px rgba(15, 92, 184, .35)); animation: float 6s ease-in-out infinite; }
.glass { position: absolute; background: rgba(255, 255, 255, .72); border: 1px solid rgba(255, 255, 255, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 20px; box-shadow: var(--shadow); padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 14px; will-change: transform; }
.glass .gi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.glass small { display: block; font-weight: 600; color: var(--muted); font-size: 12px; line-height: 1.2; }
.glass b { display: block; line-height: 1.2; }
.g1 { top: 6%; left: -2%; animation: float 7s ease-in-out infinite; }
.g2 { top: 44%; right: -6%; animation: float 8s ease-in-out -2s infinite; }
.g3 { bottom: 4%; left: 8%; animation: float 9s ease-in-out -4s infinite; }
.g4 { top: 2%; right: 12%; padding: 10px 14px; animation: float 6s ease-in-out -1s infinite; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 28px; }
.bars i { width: 6px; border-radius: 3px; background: var(--grad); animation: bar 1.8s ease-in-out infinite alternate; }
.bars i:nth-child(1) { height: 40%; } .bars i:nth-child(2) { height: 70%; animation-delay: .2s; } .bars i:nth-child(3) { height: 55%; animation-delay: .4s; } .bars i:nth-child(4) { height: 100%; animation-delay: .6s; }
@keyframes bar { 50% { transform: scaleY(.55); transform-origin: bottom; } }
@keyframes float { 50% { transform: translateY(-16px); } }
@keyframes pulse { 50% { transform: scale(1.12); opacity: .75; } }
@keyframes spin { to { transform: rotate(360deg); } }
.scroll-cue { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--blue-500); border-radius: 14px; opacity: .6; }
.scroll-cue::after { content: ''; position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--blue-500); animation: cue 1.6s infinite; }
@keyframes cue { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 920px) {
  .hero .container { grid-template-columns: 1fr; }
  .scene { max-width: 420px; order: -1; }
  .scroll-cue { display: none; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .65); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 14px; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee.rev .marquee-track { animation-direction: reverse; animation-duration: 52s; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 22px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 15px; color: var(--ink-2); white-space: nowrap; box-shadow: var(--shadow-sm); }
.chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.card { --mx: 50%; --my: 50%; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; transform-style: preserve-3d; overflow: hidden; }
.card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(76, 201, 238, .22), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { box-shadow: var(--shadow); border-color: #b9dcf7; }
.card:hover::before { opacity: 1; }
.svc { grid-column: span 4; display: flex; flex-direction: column; gap: 6px; min-height: 280px; }
.svc:nth-child(1), .svc:nth-child(6) { grid-column: span 6; }
.svc .ico { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 18px; box-shadow: 0 14px 26px -12px rgba(15, 92, 184, .7); transition: transform .5s var(--ease); }
.svc:hover .ico { transform: rotate(-8deg) scale(1.1); }
.svc h3 { font-size: 21px; margin-bottom: 8px; }
.svc p { color: var(--muted); font-size: 15px; margin: 0; }
.svc .more { margin-top: auto; padding-top: 18px; display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--blue-600); font-size: 14px; }
.svc .more .ic { transition: transform .3s var(--ease); } .svc:hover .more .ic { transform: translateX(6px); }
.svc .num { position: absolute; top: 18px; right: 24px; font-size: 56px; font-weight: 800; color: var(--sky-100); line-height: 1; letter-spacing: -.04em; }
@media (max-width: 980px) { .svc, .svc:nth-child(1), .svc:nth-child(6) { grid-column: span 6; } }
@media (max-width: 640px) { .svc, .svc:nth-child(1), .svc:nth-child(6) { grid-column: span 12; min-height: 0; } }

/* ---------- Stats ---------- */
.stats-band { background: var(--grad); color: #fff; border-radius: 34px; padding: clamp(36px, 5vw, 64px); position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.stats-band::before, .stats-band::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.stats-band::before { width: 380px; height: 380px; right: -120px; top: -160px; } .stats-band::after { width: 260px; height: 260px; left: -90px; bottom: -130px; }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b { display: block; font-size: clamp(40px, 5.2vw, 68px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.stat span { display: block; margin-top: 10px; font-weight: 600; opacity: .9; font-size: 15px; }
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 16px; } }

/* ---------- Why / features ---------- */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
@media (max-width: 920px) { .split-2 { grid-template-columns: 1fr; } }
.check-list { display: grid; gap: 14px; margin-top: 26px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; color: var(--ink-2); }
.check-list .tick { width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; flex: none; margin-top: 1px; }
.check-list.small li { font-weight: 500; font-size: 15px; gap: 10px; } .check-list.small .tick { width: 22px; height: 22px; }

/* ---------- Process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.process::before, .process .fill { content: ''; position: absolute; top: 33px; left: 10%; right: 10%; height: 3px; background: var(--line); border-radius: 3px; }
.process .fill { background: var(--grad); right: auto; width: 0; transition: width .2s linear; }
.step { position: relative; text-align: center; padding: 0 8px; }
.step .dot { width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; color: var(--muted); position: relative; z-index: 1; transition: all .5s var(--ease); }
.step.on .dot { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 14px 30px -10px rgba(15, 92, 184, .7); transform: scale(1.1); }
.step h4 { font-size: 18px; margin-bottom: 6px; } .step p { color: var(--muted); font-size: 14.5px; margin: 0; }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; gap: 28px; padding-left: 10px; }
  .process::before, .process .fill { top: 20px; bottom: 20px; left: 42px; right: auto; width: 3px; height: auto; }
  .process .fill { height: 0; width: 3px; transition: height .2s linear; }
  .step { display: grid; grid-template-columns: 66px 1fr; gap: 18px; text-align: left; align-items: center; } .step .dot { margin: 0; }
}

/* ---------- Project cards & slider ---------- */
.slider { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px calc((100vw - min(1200px, 100vw - 40px)) / 2) 40px; scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch; }
.slider::-webkit-scrollbar { display: none; }
.slider.drag { cursor: grabbing; scroll-snap-type: none; }
.slider .proj { flex: 0 0 min(440px, 82vw); scroll-snap-align: center; }
.slider-nav { display: flex; gap: 10px; }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--blue-700); display: grid; place-items: center; transition: all .25s var(--ease); }
.round-btn:hover { background: var(--grad); color: #fff; border-color: transparent; transform: scale(1.08); }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }

.proj { display: block; position: relative; border-radius: 26px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s; }
.proj:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.proj .thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sky-100); }
.proj .thumb > img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.proj:hover .thumb > img, .proj:hover .ph { transform: scale(1.07); }
.proj .body { padding: 22px 24px 24px; }
.proj .cat { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-600); }
.proj h3 { font-size: 20px; margin: 6px 0 8px; }
.proj p { color: var(--muted); font-size: 14.5px; margin: 0; }
.proj .go { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; color: var(--blue-700); transform: scale(.6) rotate(-45deg); opacity: 0; transition: all .4s var(--ease); }
.proj:hover .go { opacity: 1; transform: none; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--sky-100); color: var(--blue-700); font-size: 12.5px; font-weight: 700; }

/* generated cover when no image is uploaded */
.ph { position: absolute; inset: 0; background: linear-gradient(140deg, color-mix(in srgb, var(--a) 40%, #fff), var(--a)); transition: transform .9s var(--ease); display: grid; place-items: center; overflow: hidden; }
.ph::before, .ph::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.ph::before { width: 70%; aspect-ratio: 1; right: -18%; top: -30%; } .ph::after { width: 45%; aspect-ratio: 1; left: -10%; bottom: -22%; }
.ph .win { position: relative; width: 66%; aspect-ratio: 16 / 10; background: rgba(255, 255, 255, .94); border-radius: 14px; box-shadow: 0 26px 50px -18px rgba(0, 20, 60, .5); padding: 9px 11px; z-index: 1; }
.ph .win i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #cbd9e8; margin-right: 4px; }
.ph .win em { display: block; height: 8px; border-radius: 4px; background: var(--sky-100); margin-top: 9px; } .ph .win em:nth-of-type(1) { width: 60%; background: color-mix(in srgb, var(--a) 55%, #fff); height: 12px; } .ph .win em:nth-of-type(3) { width: 80%; } .ph .win em:nth-of-type(4) { width: 45%; }
.ph .win .blk { display: flex; gap: 6px; margin-top: 10px; } .ph .win .blk u { flex: 1; height: 26px; border-radius: 7px; background: var(--sky-100); } .ph .win .blk u:first-child { background: color-mix(in srgb, var(--a) 30%, #fff); }

/* Portfolio page */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.filters button { padding: 11px 22px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-weight: 700; color: var(--ink-2); font-size: 14.5px; transition: all .25s var(--ease); }
.filters button:hover { border-color: var(--blue-500); }
.filters button.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 12px 26px -10px rgba(15, 92, 184, .7); transform: translateY(-2px); }
.grid-proj { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-proj .proj { transition: transform .45s var(--ease), box-shadow .45s, opacity .4s; }
.grid-proj .proj.hide { display: none; }
.grid-proj .proj.pop { animation: pop .55s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes pop { from { opacity: 0; transform: scale(.9) translateY(20px); } }
@media (max-width: 980px) { .grid-proj { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 620px) { .grid-proj { grid-template-columns: 1fr; } }

/* Project detail */
.page-hero { padding: calc(var(--nav-h) + clamp(40px, 6vw, 80px)) 0 clamp(30px, 4vw, 50px); text-align: center; position: relative; }
.page-hero h1 { font-size: clamp(36px, 5.4vw, 66px); letter-spacing: -.035em; margin: 18px auto 18px; max-width: 900px; }
.crumbs { display: inline-flex; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.crumbs a:hover { color: var(--blue-600); }
.meta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.detail { display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; align-items: start; }
.detail .hero-img { border-radius: 28px; overflow: hidden; aspect-ratio: 16/10; position: relative; box-shadow: var(--shadow-lg); margin-bottom: 36px; }
.detail .hero-img img { width: 100%; height: 100%; object-fit: cover; }
.prose p { color: var(--ink-2); font-size: 17px; }
.side-card { position: sticky; top: 90px; }
.side-card dl { margin: 0; display: grid; gap: 16px; } .side-card dt { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); } .side-card dd { margin: 2px 0 0; font-weight: 700; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 30px; }
.gallery button { border: 0; padding: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; background: var(--sky-100); cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); } .gallery button:hover img { transform: scale(1.06); }
.lightbox { position: fixed; inset: 0; z-index: 1100; background: rgba(6, 25, 55, .88); backdrop-filter: blur(8px); display: none; place-items: center; padding: 30px; }
.lightbox.open { display: grid; animation: fade .3s; } .lightbox img { max-height: 88vh; border-radius: 18px; box-shadow: 0 40px 100px rgba(0, 0, 0, .5); animation: zoomin .45s var(--ease); }
.lightbox .x { position: absolute; top: 22px; right: 22px; color: #fff; background: rgba(255, 255, 255, .15); border: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; }
@keyframes fade { from { opacity: 0; } } @keyframes zoomin { from { transform: scale(.85); opacity: 0; } }
.next-proj { display: block; border-radius: 30px; padding: clamp(30px, 5vw, 56px); background: var(--grad); color: #fff; position: relative; overflow: hidden; transition: transform .4s var(--ease); }
.next-proj:hover { transform: scale(1.01); } .next-proj small { opacity: .85; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; } .next-proj h3 { font-size: clamp(26px, 4vw, 44px); margin: 8px 0 0; display: flex; align-items: center; gap: 16px; }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } .side-card { position: static; } }

/* ---------- Estimator ---------- */
.est { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; align-items: start; }
.est-panel { background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--shadow); }
.est h4 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-bottom: 30px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; z-index: 1; }
.opt span { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--bg); font-weight: 700; font-size: 14.5px; line-height: 1.3; transition: all .25s var(--ease); height: 100%; }
.opt span::before { content: ''; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #b6cbe0; flex: none; transition: all .25s; }
.opt.chk span::before { border-radius: 7px; }
.opt input:checked + span { border-color: var(--blue-500); background: #fff; box-shadow: 0 10px 24px -12px rgba(15, 92, 184, .6); transform: translateY(-2px); }
.opt input:checked + span::before { background: var(--grad) center/12px no-repeat; border-color: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.opt input:focus-visible + span { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.est-sum { position: sticky; top: 90px; background: linear-gradient(160deg, #0f5cb8, #1e90e3 70%, #4cc9ee); color: #fff; border-radius: 30px; padding: 34px; box-shadow: var(--shadow-lg); overflow: hidden; }
.est-sum::before { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255, 255, 255, .12); right: -100px; top: -110px; }
.est-sum small { opacity: .85; font-weight: 600; } .est-sum .price { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.03em; margin: 6px 0 4px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.est-sum ul { margin: 18px 0 22px; display: grid; gap: 8px; font-size: 14px; font-weight: 600; opacity: .95; } .est-sum li { display: flex; gap: 8px; align-items: flex-start; } .est-sum li::before { content: '✓'; font-weight: 800; }
.est-sum .note { font-size: 12.5px; opacity: .8; margin-top: 14px; line-height: 1.5; }
.rush { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; border: 1.5px dashed #b6cbe0; border-radius: 16px; margin-bottom: 8px; font-weight: 700; font-size: 14.5px; }
.sw { position: relative; width: 52px; height: 30px; flex: none; } .sw input { position: absolute; opacity: 0; inset: 0; z-index: 1; cursor: pointer; } .sw i { position: absolute; inset: 0; border-radius: 30px; background: #cadbeb; transition: .3s; } .sw i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: .3s var(--ease); } .sw input:checked + i { background: var(--blue-500); } .sw input:checked + i::after { transform: translateX(22px); }
.quote-form { display: none; margin-top: 8px; } .quote-form.open { display: grid; gap: 10px; animation: fade .4s; }
.est-sum .quote-form input { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .4); color: #fff; } .est-sum .quote-form input::placeholder { color: rgba(255, 255, 255, .75); }
@media (max-width: 900px) { .est { grid-template-columns: 1fr; } .est-sum { position: static; } }

/* ---------- Forms ---------- */
.field { display: grid; gap: 7px; } .field label { font-weight: 700; font-size: 13.5px; color: var(--ink-2); }
input[type=text], input[type=email], input[type=tel], select, textarea { width: 100%; font: inherit; font-size: 15px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(30, 144, 227, .15); }
.err { color: #d33; font-size: 13px; font-weight: 600; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: start; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card { display: flex; gap: 16px; align-items: center; padding: 20px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: all .3s var(--ease); margin-bottom: 14px; }
a.info-card:hover { transform: translateX(6px); border-color: #b9dcf7; box-shadow: var(--shadow); }
.info-card .ico { width: 52px; height: 52px; border-radius: 16px; background: var(--grad); color: #fff; display: grid; place-items: center; flex: none; }
.info-card small { display: block; color: var(--muted); font-weight: 600; font-size: 12.5px; } .info-card b { display: block; font-size: 16px; word-break: break-word; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.map { border-radius: 26px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); height: 280px; margin-top: 8px; } .map iframe { width: 100%; height: 100%; border: 0; }
.success { display: none; text-align: center; padding: 40px 10px; } .success.show { display: block; animation: fade .5s; }
.success .big { width: 90px; height: 90px; margin: 0 auto 20px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; animation: pop .7s var(--ease); }

/* ---------- Testimonials / FAQ / team ---------- */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; } @media (max-width: 980px) { .t-grid { grid-template-columns: 1fr; } }
.t-card { display: flex; flex-direction: column; gap: 18px; } .t-card .stars { color: #f5a524; letter-spacing: 3px; } .t-card blockquote { margin: 0; font-size: 16.5px; color: var(--ink-2); font-weight: 500; }
.who { display: flex; align-items: center; gap: 14px; margin-top: auto; } .who img, .who .av { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; } .who small { color: var(--muted); display: block; font-weight: 600; }
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: #b9dcf7; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; } .faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 32px; height: 32px; border-radius: 50%; background: var(--sky-100); color: var(--blue-700); display: grid; place-items: center; transition: transform .4s var(--ease), background .3s; flex: none; }
.faq details[open] .pm { transform: rotate(135deg); background: var(--grad); color: #fff; }
.faq .ans { padding: 0 24px 22px; color: var(--muted); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.member { text-align: center; padding: 22px 22px 28px; } .member .ph-wrap { aspect-ratio: 1; border-radius: 24px; overflow: hidden; margin-bottom: 18px; background: var(--grad-soft); display: grid; place-items: center; } .member img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); } .member:hover img { transform: scale(1.06); } .member .initial { font-size: 64px; font-weight: 800; color: var(--blue-500); } .member h4 { margin: 0; font-size: 19px; } .member small { color: var(--blue-600); font-weight: 700; } .member p { color: var(--muted); font-size: 14.5px; margin: 10px 0 0; }

/* About bits */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; } @media (max-width: 760px) { .mv { grid-template-columns: 1fr; } }
.mv .card .ico { width: 54px; height: 54px; border-radius: 16px; background: var(--grad); color: #fff; display: grid; place-items: center; margin-bottom: 18px; } .mv h3 { font-size: 24px; } .mv p { color: var(--muted); margin: 0; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } @media (max-width: 980px) { .values { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 560px) { .values { grid-template-columns: 1fr; } }
.values .card { padding: 26px; } .values .n { font-size: 14px; font-weight: 800; color: var(--blue-500); letter-spacing: .1em; } .values h4 { font-size: 19px; margin: 10px 0 8px; } .values p { color: var(--muted); font-size: 14.5px; margin: 0; }
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 0; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; background: var(--line); transform: translateX(-50%); }
.timeline .fill { position: absolute; left: 50%; top: 0; width: 3px; background: var(--grad); transform: translateX(-50%); height: 0; }
.tl { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 34px; } .tl .card { padding: 24px 26px; } .tl:nth-child(even) .card { grid-column: 2; } .tl:nth-child(odd) .card { grid-column: 1; text-align: right; }
.tl .yr { position: absolute; left: 50%; top: 22px; transform: translateX(-50%); z-index: 1; background: var(--grad); color: #fff; padding: 6px 16px; border-radius: 999px; font-weight: 800; font-size: 13.5px; box-shadow: 0 10px 24px -8px rgba(15, 92, 184, .7); }
.tl h4 { margin-bottom: 6px; font-size: 19px; } .tl p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 720px) { .timeline::before, .timeline .fill { left: 20px; } .tl { grid-template-columns: 1fr; gap: 0; padding-left: 52px; } .tl .yr { left: 20px; top: -10px; } .tl:nth-child(n) .card { grid-column: 1; text-align: left; margin-top: 18px; } }
.about-img { border-radius: 34px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5/4; position: relative; background: var(--grad); display: grid; place-items: center; } .about-img img.cover { width: 100%; height: 100%; object-fit: cover; } .about-img .lg { width: 52%; filter: drop-shadow(0 30px 30px rgba(0, 30, 80, .4)); animation: float 6s ease-in-out infinite; }
.about-img::before { content: ''; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .15); right: -20%; top: -20%; }

/* service detail */
.svc-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; padding: 34px; margin-bottom: 24px; } .svc-row:nth-child(even) .svc-media { order: 2; }
.svc-media { aspect-ratio: 5/4; border-radius: 26px; background: var(--grad); display: grid; place-items: center; color: #fff; position: relative; overflow: hidden; } .svc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .svc-media .ic { width: 38%; height: 38%; stroke-width: 1.1; filter: drop-shadow(0 20px 30px rgba(0, 30, 90, .35)); animation: float 6s ease-in-out infinite; } .svc-media::before { content: ''; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .14); right: -26%; top: -30%; }
.svc-row h3 { font-size: clamp(24px, 3vw, 34px); } .price-tag { display: inline-flex; gap: 8px; align-items: center; margin: 4px 0 18px; padding: 6px 14px; border-radius: 999px; background: var(--sky-100); color: var(--blue-700); font-weight: 800; font-size: 13.5px; }
@media (max-width: 860px) { .svc-row { grid-template-columns: 1fr; padding: 22px; } .svc-row:nth-child(even) .svc-media { order: 0; } }

/* ---------- CTA + Footer ---------- */
.cta { position: relative; overflow: hidden; border-radius: 40px; padding: clamp(40px, 7vw, 90px) clamp(24px, 6vw, 80px); background: linear-gradient(135deg, #0f5cb8 0%, #1e90e3 60%, #4cc9ee 100%); color: #fff; text-align: center; box-shadow: var(--shadow-lg); }
.cta h2 { font-size: clamp(30px, 4.6vw, 54px); max-width: 800px; margin: 0 auto 16px; } .cta p { max-width: 600px; margin: 0 auto 32px; opacity: .92; font-size: 18px; }
.cta .blob { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .13); animation: float 9s ease-in-out infinite; } .cta .b1 { width: 300px; height: 300px; left: -80px; top: -100px; } .cta .b2 { width: 220px; height: 220px; right: -50px; bottom: -80px; animation-delay: -3s; } .cta .b3 { width: 90px; height: 90px; right: 18%; top: 14%; animation-delay: -5s; }
.cta .row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

.footer { background: #fff; border-top: 1px solid var(--line); padding: 80px 0 0; margin-top: 40px; position: relative; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h5 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.footer li { margin-bottom: 11px; } .footer li a { color: var(--ink-2); font-weight: 600; font-size: 15px; transition: color .2s, padding .3s var(--ease); } .footer li a:hover { color: var(--blue-600); padding-left: 6px; }
.footer p.about { color: var(--muted); font-size: 15px; max-width: 340px; margin: 18px 0 20px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; } .socials a { width: 44px; height: 44px; border-radius: 14px; background: var(--sky-100); color: var(--blue-700); display: grid; place-items: center; transition: all .3s var(--ease); } .socials a:hover { background: var(--grad); color: #fff; transform: translateY(-4px) rotate(-6deg); }
.footer .contact li { display: flex; gap: 12px; color: var(--ink-2); font-weight: 600; font-size: 15px; } .footer .contact .ic { color: var(--blue-500); margin-top: 3px; }
.foot-bottom { margin-top: 56px; padding: 22px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 14px; font-weight: 500; }
.giant { font-size: clamp(60px, 15.5vw, 230px); font-weight: 800; letter-spacing: -.05em; line-height: .8; text-align: center; background: linear-gradient(180deg, #d4ecfb, #f1f9ff); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; user-select: none; margin: 30px 0 -.12em; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Floating widgets ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 700; display: grid; gap: 12px; }
.fab a, .fab button { width: 56px; height: 56px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .35); transition: transform .3s var(--ease); }
.fab a:hover, .fab button:hover { transform: scale(1.1) translateY(-3px); }
.fab .wa { background: #25d366; position: relative; } .fab .wa::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ripple 2.2s infinite; }
@keyframes ripple { to { transform: scale(1.7); opacity: 0; } }
.fab .up { background: var(--grad); opacity: 0; visibility: hidden; transform: translateY(16px); } .fab .up.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Command palette ---------- */
.cmdk { position: fixed; inset: 0; z-index: 1200; background: rgba(8, 30, 66, .35); backdrop-filter: blur(6px); display: none; align-items: flex-start; justify-content: center; padding: 14vh 18px 0; }
.cmdk.open { display: flex; animation: fade .2s; }
.cmdk-box { width: min(620px, 100%); background: #fff; border-radius: 24px; box-shadow: 0 50px 120px -20px rgba(8, 30, 66, .55); overflow: hidden; animation: zoomin .35s var(--ease); }
.cmdk-in { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); color: var(--muted); } .cmdk-in input { border: 0; padding: 0; box-shadow: none; font-size: 17px; background: transparent; } .cmdk-in input:focus { box-shadow: none; }
.cmdk-list { max-height: 50vh; overflow: auto; padding: 10px; } .cmdk-list .grp { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 10px 14px 6px; }
.cmdk-item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; font-weight: 600; cursor: pointer; } .cmdk-item .ic { color: var(--blue-500); } .cmdk-item.sel { background: var(--sky-100); color: var(--blue-700); } .cmdk-item small { margin-left: auto; color: var(--muted); font-weight: 600; }
.cmdk-foot { padding: 12px 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); display: flex; gap: 18px; } .cmdk-foot kbd { background: var(--sky-100); padding: 2px 7px; border-radius: 6px; font: 700 11px var(--font); color: var(--blue-700); }

.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 30px); opacity: 0; z-index: 1300; background: var(--blue-900); color: #fff; padding: 14px 24px; border-radius: 16px; font-weight: 600; box-shadow: var(--shadow-lg); transition: all .5s var(--ease); max-width: 92vw; } .toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; } .split .w > span { transform: none; }
}
