/* =========================================================
   S ART — main stylesheet  (v3: logo charcoal + brand green)
   ========================================================= */
:root {
  /* brand */
  --green: #63BC47;
  --green-deep: #3E9B2A;
  --lime: #A8DC7F;
  --forest: #1F5C17;
  --forest-2: #163F11;

  /* charcoal scale (from the logo's #333) */
  --ink-0: #1F2120;   /* footer / deepest */
  --ink-1: #262927;   /* page background */
  --ink-2: #2E312F;   /* raised surface */
  --ink-3: #363A37;   /* cards */
  --ink-4: #424743;   /* hover / inputs */

  --text: #E9EEE7;
  --heading: #F5F8F3;
  --muted: #A3AEA6;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --green-line: rgba(99, 188, 71, .35);

  --font-head: "Sora", "Hind Siliguri", system-ui, sans-serif;
  --font-body: "Manrope", "Hind Siliguri", system-ui, sans-serif;

  --wrap: 1200px;
  --pill: 999px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;
  --nav-h: 74px;
  --shadow: 0 24px 50px -24px rgba(0, 0, 0, .6);
  --glow: 0 18px 40px -16px rgba(99, 188, 71, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); background: var(--ink-1); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1100px 600px at 90% -5%, rgba(99,188,71,.16) 0%, transparent 60%),
    var(--ink-1);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; margin: 0; letter-spacing: -0.02em; color: var(--heading); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--green); color: #fff; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
main, .site-footer { position: relative; z-index: 1; }

/* ---------- Cursor glow ---------- */
.cursor-glow {
  position: fixed; left: 0; top: 0; z-index: 0; pointer-events: none;
  width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(99,188,71,.20) 0%, rgba(99,188,71,.07) 40%, transparent 70%);
  transform: translate3d(-999px, -999px, 0); will-change: transform;
}
.cursor-dot {
  position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--green);
  transform: translate3d(-99px, -99px, 0); transition: width .2s, height .2s, margin .2s, background .2s;
}
.cursor-dot.big { width: 42px; height: 42px; margin: -21px 0 0 -21px; background: rgba(99,188,71,.22); }
@media (hover: none), (pointer: coarse) { .cursor-glow, .cursor-dot { display: none; } }

.blob { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--pill);
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn i { font-size: 17px; }
.btn-primary { background: var(--green); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { background: #57AC3D; transform: translateY(-2px); }
.btn-ghost { border-color: var(--line-2); color: var(--heading); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-dark { background: var(--ink-4); color: #fff; }
.btn-dark:hover { background: #4D524E; }
.btn-outline { border-color: var(--line-2); color: var(--heading); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-light { background: #fff; color: var(--forest); }
.btn-light:hover { background: #EAF7E2; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); display: flex; align-items: center; transition: background .25s, box-shadow .25s; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 30px; width: auto; }
.site-header.scrolled { background: rgba(38,41,39,.86); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: var(--pill); background: rgba(255,255,255,.04); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.nav a { font-size: 14px; font-weight: 600; color: var(--muted); padding: 8px 14px; border-radius: var(--pill); transition: color .2s, background .2s; }
.nav a:hover { color: var(--heading); }
.nav a.active { color: #fff; background: var(--green); }
.header-cta { padding: 10px 20px; font-size: 13.5px; }
.menu-toggle { display: none; background: var(--ink-3); border: 1px solid var(--line-2); color: var(--heading); font-size: 22px; cursor: pointer; width: 46px; height: 46px; border-radius: 50%; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: calc(var(--nav-h) + 56px) 0 0; }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 65% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 70% at 65% 35%, #000 20%, transparent 75%);
}
.hero .blob.b1 { width: 460px; height: 460px; background: rgba(99,188,71,.28); right: 2%; top: 4%; }
.hero .blob.b2 { width: 300px; height: 300px; background: rgba(99,188,71,.12); left: -6%; bottom: 10%; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.02fr; gap: 64px; align-items: center; }
.hero-inner > * { min-width: 0; }
.hero-meta { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--lime); margin-bottom: 24px; padding: 7px 15px 7px 11px; border-radius: var(--pill); background: rgba(99,188,71,.1); border: 1px solid var(--green-line); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2.4s infinite; flex-shrink: 0; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(99,188,71,.6); } 70% { box-shadow: 0 0 0 10px rgba(99,188,71,0); } 100% { box-shadow: 0 0 0 0 rgba(99,188,71,0); } }
.hero h1 { font-size: clamp(34px, 4vw, 54px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; }
.hero h1 span {
  display: block;
  background: linear-gradient(90deg, var(--green) 0%, var(--lime) 50%, var(--green) 100%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 7s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.hero-lead { margin-top: 22px; font-size: 17px; color: var(--muted); max-width: 31em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-services { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-services a { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: var(--pill); background: var(--ink-2); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--text); transition: border-color .2s, color .2s; }
.hero-services a i { color: var(--green); }
.hero-services a:hover { border-color: var(--green); color: var(--green); }

/* project console */
.console-wrap { position: relative; padding: 26px 10px 56px 26px; }
.console { position: relative; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(54,58,55,.92), rgba(46,49,47,.92)); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0,0,0,.75), 0 0 0 1px rgba(99,188,71,.08); overflow: hidden; backdrop-filter: blur(8px); }
.console::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--green), transparent); }
.console-bar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: rgba(0,0,0,.12); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-4); }
.dots i:first-child { background: var(--green); }
.console-title { font-size: 12.5px; color: var(--muted); flex: 1; }
.console-live { display: inline-flex; gap: 7px; align-items: center; font-size: 12px; font-weight: 700; color: var(--lime); }
.console-body { padding: 22px 22px 18px; }
.console-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.console-head small { display: block; font-size: 12px; color: var(--muted); }
.console-head b { font-family: var(--font-head); font-size: 16px; color: var(--heading); }
.console-pct { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--green); }
.console-progress { height: 6px; border-radius: 6px; background: var(--ink-4); margin: 14px 0 18px; overflow: hidden; }
.console-progress span { display: block; height: 100%; width: 8%; border-radius: inherit; background: linear-gradient(90deg, var(--green-deep), var(--green), var(--lime)); transition: width .8s cubic-bezier(.2,.8,.2,1); }
.flow { display: grid; gap: 6px; }
.flow li { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 9px 10px; border-radius: 12px; border: 1px solid transparent; transition: background .4s, border-color .4s, opacity .4s; opacity: .55; }
.flow li > i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--ink-4); color: var(--muted); font-size: 15px; transition: background .4s, color .4s; }
.flow li b { display: block; font-size: 14px; font-weight: 700; color: var(--heading); }
.flow li small { font-size: 12px; color: var(--muted); }
.flow li em { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: var(--pill); }
.flow li.done { opacity: .9; }
.flow li.done > i { background: rgba(99,188,71,.15); color: var(--green); }
.flow li.done em { color: var(--green); background: rgba(99,188,71,.12); }
.flow li.now { opacity: 1; background: rgba(99,188,71,.08); border-color: var(--green-line); }
.flow li.now > i { background: var(--green); color: #fff; box-shadow: 0 0 0 4px rgba(99,188,71,.18); }
.flow li.now em { color: #fff; background: var(--green); }
.float-card { position: absolute; z-index: 2; display: flex; gap: 11px; align-items: center; padding: 11px 15px; border-radius: 14px; background: var(--ink-3); border: 1px solid var(--line-2); box-shadow: 0 20px 40px -18px rgba(0,0,0,.7); animation: float 6s ease-in-out infinite; }
.float-card b { display: block; font-size: 13px; color: var(--heading); }
.float-card small { font-size: 11.5px; color: var(--muted); }
.float-card > i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-size: 16px; }
.float-card .mark { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: #fff; padding: 5px; }
.fc-1 { right: -8px; top: 0; }
.fc-2 { left: -6px; bottom: 0; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }

.hero-strip { position: relative; z-index: 1; margin-top: 70px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-strip div { padding: 24px 24px 26px; border-left: 1px solid var(--line); }
.hero-strip div:first-child { border-left: 0; padding-left: 0; }
.hero-strip strong { display: block; font-family: var(--font-head); font-size: 26px; color: var(--green); letter-spacing: -0.03em; }
.hero-strip span { font-size: 13.5px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { position: relative; padding: 110px 0; }
.section.tint { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.deep { background: radial-gradient(900px 500px at 85% 0%, rgba(168,220,127,.25) 0%, transparent 60%), linear-gradient(150deg, var(--green-deep) 0%, var(--forest) 55%, var(--forest-2) 100%); overflow: hidden; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; position: relative; z-index: 1; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; }
.section-head p { color: var(--muted); font-size: 17px; max-width: 34em; }
.deep .section-head p { color: #D6EDCB; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.about-text p + p { margin-top: 18px; }
.about-text p { color: var(--muted); }
.about-text p:first-child { font-size: 20px; line-height: 1.55; color: var(--heading); font-family: var(--font-head); font-weight: 500; letter-spacing: -0.01em; }
.purpose { background: linear-gradient(145deg, var(--green) 0%, var(--forest) 100%); border-radius: var(--r-lg); padding: 40px 36px; position: relative; overflow: hidden; box-shadow: var(--glow); }
.purpose::after { content: ""; position: absolute; right: -50px; bottom: -50px; width: 190px; height: 190px; border-radius: 50%; background: rgba(255,255,255,.12); }
.purpose h3 { font-size: 15px; color: #E3F5D8; margin-bottom: 14px; }
.purpose p { font-family: var(--font-head); font-size: 22px; line-height: 1.42; color: #fff; position: relative; z-index: 1; max-width: 15em; }
.about-photo { margin-top: 22px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/10; background: var(--ink-3); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo.missing { display: none; }

/* ---------- Services (compact links) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.svc { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 26px 22px 24px; border-radius: var(--r-lg); background: var(--ink-3); border: 1px solid var(--line); isolation: isolate; transition: transform .3s, border-color .3s, box-shadow .3s; }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(150deg, var(--green), var(--forest)); opacity: 0; transition: opacity .35s; }
.svc:hover { transform: translateY(-6px); border-color: var(--green); box-shadow: var(--glow); }
.svc:hover::before { opacity: 1; }
.svc-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 23px; color: var(--green); background: rgba(99,188,71,.12); border: 1px solid var(--green-line); transition: background .3s, color .3s, transform .4s; }
.svc:hover .svc-icon { background: #fff; color: var(--green-deep); border-color: #fff; transform: rotate(-8deg); }
.svc h3 { font-size: 17px; line-height: 1.3; }
.svc p { font-size: 14px; color: var(--muted); line-height: 1.55; transition: color .3s; }
.svc-more { margin-top: auto; padding-top: 4px; font-weight: 700; font-size: 14px; color: var(--green); display: inline-flex; gap: 8px; align-items: center; transition: color .3s; }
.svc-more i { transition: transform .25s; }
.svc:hover .svc-more { color: #fff; }
.svc:hover p { color: #DDF3CF; }
.svc:hover .svc-more i { transform: translateX(5px); }

/* ---------- Doctors ---------- */
.doctors { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.doctors-visual { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; background: radial-gradient(circle at 50% 35%, rgba(255,255,255,.18), transparent 60%), rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.15); display: grid; place-items: center; }
.doctors-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.doctors-visual .fallback { font-size: 110px; color: #fff; opacity: .55; display: none; }
.doctors-visual.missing .fallback { display: block; }
.doctors-visual .badge { position: absolute; left: 18px; right: 18px; bottom: 18px; background: rgba(31,33,32,.85); backdrop-filter: blur(8px); border-radius: var(--r-md); padding: 16px 18px; display: flex; gap: 12px; align-items: center; font-size: 14.5px; font-weight: 600; color: #fff; }
.doctors-visual .badge i { color: var(--green); font-size: 22px; }
.doctors h2 { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 20px; }
.doctors-lead { color: #D6EDCB; font-size: 17px; margin-bottom: 30px; max-width: 34em; }
.support-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.support-list li { display: flex; gap: 12px; padding: 13px 15px; border-radius: var(--r-sm); background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.12); font-weight: 500; font-size: 15px; color: #fff; }
.support-list i { color: var(--lime); font-size: 17px; }

/* ---------- Clients (compact logo wall) ---------- */
.marquee { position: relative; overflow: hidden; padding: 8px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 40s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }

.clients-sec { padding: 84px 0 76px; }
.clients-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 34px; }
.clients-head h2 { font-size: clamp(26px, 3vw, 38px); }
.clients-head p { color: var(--muted); font-size: 15.5px; margin-top: 8px; }
.clients-stats { display: flex; gap: 8px; }
.clients-stats li { padding: 10px 16px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--line); min-width: 92px; }
.clients-stats strong { display: block; font-family: var(--font-head); font-size: 22px; color: var(--green); line-height: 1.1; }
.clients-stats span { font-size: 12px; color: var(--muted); }

.logo-wall { position: relative; display: grid; gap: 4px; }
.logo-wall::before { content: ""; position: absolute; left: 50%; top: 50%; width: 60%; height: 140%; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(99,188,71,.14), transparent 65%); pointer-events: none; }
.logo-tile {
  position: relative; flex: 0 0 auto; width: 150px; height: 70px; border-radius: 14px; overflow: hidden;
  background: linear-gradient(160deg, #FFFFFF, #E9F1E5); display: grid; place-items: center; padding: 12px 16px;
  box-shadow: 0 8px 20px -14px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.6);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.logo-tile::after { /* shine sweep */
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent);
  transform: skewX(-18deg); animation: shine-sweep 6s ease-in-out infinite; pointer-events: none;
}
.marquee.reverse .logo-tile::after { animation-delay: -3s; }
@keyframes shine-sweep { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.logo-tile:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 0 0 2px var(--green), 0 16px 30px -14px rgba(99,188,71,.7); }
.logo-tile img { max-height: 40px; max-width: 100%; width: auto; object-fit: contain; transition: transform .3s; }
.logo-tile:hover img { transform: scale(1.06); }
.logo-tile .name { display: none; font-family: var(--font-head); font-weight: 600; font-size: 13px; text-align: center; color: var(--forest); }
.logo-tile.missing img { display: none; }
.logo-tile.missing .name { display: block; }
.web-badge { position: absolute; top: 5px; right: 5px; display: inline-flex; gap: 4px; align-items: center; font-size: 9.5px; font-weight: 700; color: #fff; background: var(--green); padding: 2px 7px; border-radius: var(--pill); }
.web-badge i { font-size: 9px; }
.client-labels { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.client-labels span { display: inline-flex; gap: 7px; align-items: center; padding: 7px 14px; border-radius: var(--pill); background: var(--ink-2); border: 1px solid var(--line); color: var(--text); font-size: 13px; font-weight: 600; }
.client-labels span i { color: var(--green); }
.client-labels span.web { border-color: var(--green-line); background: rgba(99,188,71,.08); }
@media (max-width: 600px) {
  .clients-sec { padding: 64px 0 56px; }
  .clients-head { margin-bottom: 24px; }
  .clients-stats { width: 100%; }
  .clients-stats li { flex: 1; min-width: 0; padding: 8px 10px; }
  .clients-stats strong { font-size: 18px; }
  .clients-stats span { font-size: 11px; }
  .logo-wall .marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
  .logo-wall .marquee-track { gap: 6px; }
  .logo-tile { width: 68px; height: 40px; border-radius: 9px; padding: 6px 7px; }
  .logo-tile img { max-height: 24px; }
  .web-badge { top: 2px; right: 2px; padding: 1px 4px; font-size: 0; gap: 0; }
  .web-badge i { font-size: 8px; }
  .client-labels span { font-size: 12px; padding: 6px 11px; }
}

/* ---------- Work cards: case-study fan ---------- */
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.case { --c: var(--green); position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-3); border: 1px solid var(--line); transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .35s; }
.case:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c) 70%, transparent); box-shadow: 0 30px 50px -28px var(--c); }
.case-stage {
  position: relative; aspect-ratio: 1 / .9; overflow: hidden;
  background:
    radial-gradient(circle at 50% 110%, color-mix(in srgb, var(--c) 75%, transparent) 0%, transparent 62%),
    radial-gradient(circle at 15% 0%, color-mix(in srgb, var(--c) 30%, transparent), transparent 50%),
    var(--ink-2);
}
.case-stage::before { content: ""; 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: 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.case-logo { position: absolute; z-index: 5; left: 14px; top: 14px; height: 40px; max-width: 58%; padding: 7px 12px; border-radius: 12px; background: #F4F7F2; display: grid; place-items: center; box-shadow: 0 8px 18px -10px rgba(0,0,0,.6); }
.case-logo img { max-height: 26px; max-width: 100%; object-fit: contain; }
.case-stats { position: absolute; z-index: 5; right: 14px; top: 14px; display: flex; gap: 6px; }
.case-stats span { display: inline-flex; gap: 5px; align-items: center; font-size: 12px; font-weight: 700; color: #fff; padding: 5px 9px; border-radius: var(--pill); background: rgba(20,22,21,.55); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.14); }
.fan { position: absolute; left: 50%; bottom: -14%; width: 52%; aspect-ratio: 1; transform: translateX(-50%); }
.fan img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 12px; border: 3px solid rgba(255,255,255,.9); box-shadow: 0 18px 30px -12px rgba(0,0,0,.7); transition: transform .55s cubic-bezier(.2,.9,.25,1.15); }
.fan .fan-0 { z-index: 3; transform: translateY(0) rotate(0deg); }
.fan .fan-1 { z-index: 2; transform: translateX(-46%) translateY(10%) rotate(-14deg) scale(.9); }
.fan .fan-2 { z-index: 1; transform: translateX(46%) translateY(10%) rotate(14deg) scale(.9); }
.case:hover .fan .fan-0 { transform: translateY(-14%) scale(1.06); }
.case:hover .fan .fan-1 { transform: translateX(-70%) translateY(2%) rotate(-20deg) scale(.92); }
.case:hover .fan .fan-2 { transform: translateX(70%) translateY(2%) rotate(20deg) scale(.92); }
.fan-empty { position: absolute; inset: 0; display: grid; place-items: center; font-size: 40px; color: var(--muted); }
.case-body { position: relative; z-index: 6; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 18px 20px; background: var(--ink-3); border-top: 1px solid var(--line); }
.case-body small { display: block; font-size: 12px; font-weight: 700; color: var(--c); filter: brightness(1.35); margin-bottom: 3px; }
.case-body h3 { font-size: 17px; }
.case-go { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--ink-4); color: #fff; font-size: 16px; transition: background .3s, transform .3s; }
.case:hover .case-go { background: var(--c); transform: rotate(45deg); }

/* staggered reveal */
.pre-reveal .case { opacity: 0; transform: translateY(40px); }
.pre-reveal.revealed .case { opacity: 1; transform: none; transition: opacity .7s ease var(--d), transform .8s cubic-bezier(.2,.8,.2,1) var(--d), border-color .3s, box-shadow .35s; }
.pre-reveal.revealed .case:hover { transform: translateY(-6px); transition-delay: 0s; }

@media (max-width: 1100px) { .work-grid { grid-template-columns: repeat(2, 1fr); } .case-stage { aspect-ratio: 16 / 9; } .fan { width: 40%; bottom: -18%; } }
@media (max-width: 600px) {
  .work-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -16px; padding: 4px 16px 14px; scrollbar-width: none; }
  .work-grid::-webkit-scrollbar { display: none; }
  .case { flex: 0 0 78%; scroll-snap-align: center; }
  .case-stage { aspect-ratio: 1 / .85; }
  .fan { width: 50%; }
}

/* ---------- Why (corporate hover) ---------- */
.why { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative; z-index: 1; }
.why-item {
  --mx: 50%; --my: 0%;
  position: relative; overflow: hidden; isolation: isolate;
  grid-column: span 2; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px 34px;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), border-color .35s, box-shadow .45s;
}
.why-item:nth-child(4), .why-item:nth-child(5) { grid-column: span 3; }
/* spotlight that follows the mouse */
.why-item::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(99,188,71,.18), transparent 45%); }
/* bottom accent line */
.why-item::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--green), var(--lime)); transform: scaleX(0); transform-origin: left; transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.why-item > i:not(.why-mark) { position: relative; width: 50px; height: 50px; border-radius: 14px; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 22px; margin-bottom: 20px; box-shadow: var(--glow); transition: transform .5s cubic-bezier(.2,.8,.2,1.3), box-shadow .4s, background .4s; }
.why-item > i:not(.why-mark)::after { content: ""; position: absolute; inset: -6px; border-radius: 18px; border: 1px solid rgba(99,188,71,.5); opacity: 0; transform: scale(.8); transition: opacity .4s, transform .5s; }
.why-item h3 { font-size: 18.5px; margin-bottom: 10px; transition: color .35s, transform .45s cubic-bezier(.2,.8,.2,1); }
.why-item p { color: var(--muted); font-size: 15px; transition: color .35s, transform .45s cubic-bezier(.2,.8,.2,1) .03s; }
.why-mark { position: absolute; right: -18px; bottom: -26px; z-index: -1; font-size: 130px; line-height: 1; color: rgba(99,188,71,.07); transform: translate(30px, 30px) rotate(-12deg); opacity: 0; transition: transform .7s cubic-bezier(.2,.8,.2,1), opacity .5s; pointer-events: none; }
.why-item:hover { transform: translateY(-6px); border-color: var(--green-line); box-shadow: 0 30px 50px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(99,188,71,.15); }
.why-item:hover::before { opacity: 1; }
.why-item:hover::after { transform: scaleX(1); }
.why-item:hover > i:not(.why-mark) { transform: translateY(-3px) rotate(-8deg) scale(1.06); box-shadow: 0 14px 30px -8px rgba(99,188,71,.8); }
.why-item:hover > i:not(.why-mark)::after { opacity: 1; transform: scale(1); }
.why-item:hover h3 { color: #fff; transform: translateX(4px); }
.why-item:hover p { color: var(--text); transform: translateX(4px); }
.why-item:hover .why-mark { transform: none; opacity: 1; }
/* staggered reveal */
.why.pre-reveal .why-item { opacity: 0; transform: translateY(36px); }
.why.pre-reveal.revealed .why-item { opacity: 1; transform: none; transition: opacity .7s ease var(--d), transform .8s cubic-bezier(.2,.8,.2,1) var(--d), border-color .35s, box-shadow .45s; }
.why.pre-reveal.revealed .why-item:hover { transform: translateY(-6px); transition-delay: 0s; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; position: relative; }
.process::before { content: ""; position: absolute; top: 29px; left: 30px; right: 30px; height: 2px; background: linear-gradient(90deg, var(--green-line), var(--green), var(--green-line)); }
.step-num { width: 60px; height: 60px; border-radius: 50%; background: var(--ink-1); border: 2px solid var(--green); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--green); margin-bottom: 20px; position: relative; }
.step:last-child .step-num { background: var(--green); color: #fff; box-shadow: var(--glow); }
.step h3 { font-size: 16.5px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ---------- Packages ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 30px; display: flex; flex-direction: column; position: relative; }
.plan h3 { font-size: 18px; }
.plan .price { font-family: var(--font-head); font-size: 40px; font-weight: 700; letter-spacing: -0.04em; margin: 14px 0 4px; color: var(--heading); }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .for { color: var(--muted); font-size: 14.5px; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.plan ul { display: grid; gap: 11px; margin-bottom: 30px; }
.plan li { display: flex; gap: 12px; font-size: 14.5px; font-weight: 500; }
.plan li i { color: var(--green); font-size: 17px; }
.plan li.no { color: #6F7871; }
.plan li.no i { color: #5C645E; }
.plan .btn { margin-top: auto; justify-content: center; }
.plan.featured { background: linear-gradient(160deg, var(--green) 0%, var(--forest) 100%); border-color: transparent; transform: scale(1.03); box-shadow: 0 30px 60px -30px rgba(99,188,71,.7); }
.plan.featured .price, .plan.featured li i { color: #fff; }
.plan.featured .for, .plan.featured .price small { color: #DDF3CF; }
.plan.featured .for { border-color: rgba(255,255,255,.25); }
.plan.featured .btn-primary { background: #fff; color: var(--green-deep); box-shadow: none; }
.plan .flag { position: absolute; top: 22px; right: 22px; background: rgba(255,255,255,.95); color: var(--green-deep); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: var(--pill); }
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 26px; }
.way { display: flex; gap: 18px; align-items: flex-start; padding: 26px 28px; border-radius: var(--r-lg); background: var(--ink-3); border: 1px solid var(--line); }
.way > i { width: 48px; height: 48px; border-radius: 14px; background: rgba(99,188,71,.12); color: var(--green); display: grid; place-items: center; font-size: 22px; flex-shrink: 0; }
.way h3 { font-size: 17px; margin-bottom: 6px; }
.way p { color: var(--muted); font-size: 14.5px; }

/* ---------- Custom package builder ---------- */
.builder { margin-top: 26px; display: grid; grid-template-columns: 1.5fr 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-3); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.builder-main { padding: 38px 38px 32px; }
.builder-flag { display: inline-flex; gap: 8px; align-items: center; font-size: 12.5px; font-weight: 700; color: var(--lime); background: rgba(99,188,71,.12); border: 1px solid var(--green-line); padding: 5px 13px; border-radius: var(--pill); }
.builder h3 { font-size: clamp(22px, 2.4vw, 30px); margin-top: 14px; }
.builder-lead { color: var(--muted); margin: 10px 0 24px; max-width: 36em; font-size: 15.5px; }
.opt { padding: 20px 0; border-top: 1px solid var(--line); }
.opt-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.opt h4 { font-size: 16px; }
.opt small { color: var(--muted); font-size: 13.5px; }
.opt small span { color: var(--green); font-weight: 700; }
.stepper { display: inline-flex; align-items: center; background: var(--ink-1); border: 1px solid var(--line-2); border-radius: var(--pill); padding: 4px; }
.stepper button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--ink-4); color: var(--heading); font-size: 19px; font-weight: 700; cursor: pointer; }
.stepper button:hover { background: var(--green); color: #fff; }
.stepper output { min-width: 46px; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--heading); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; margin-top: 18px; background: linear-gradient(90deg, var(--green) var(--p, 0%), var(--ink-4) var(--p, 0%)); cursor: pointer; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ink-1); border: 5px solid var(--green); box-shadow: 0 0 0 4px rgba(99,188,71,.18); }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--ink-1); border: 5px solid var(--green); }
.len { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.len span { font-size: 13.5px; color: var(--muted); margin-right: 6px; }
.len button { border: 1px solid var(--line-2); background: transparent; border-radius: var(--pill); padding: 6px 14px; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--text); cursor: pointer; }
.len button[aria-checked="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.toggles { display: grid; gap: 10px; }
.toggle { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 15px 17px; border-radius: var(--r-md); border: 1px solid var(--line-2); cursor: pointer; transition: border-color .2s, background .2s; }
.toggle:has(input:checked) { border-color: var(--green); background: rgba(99,188,71,.07); }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.sw { width: 46px; height: 26px; border-radius: 26px; background: var(--ink-4); position: relative; transition: background .2s; }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.toggle input:checked + .sw { background: var(--green); }
.toggle input:checked + .sw::after { transform: translateX(20px); }
.toggle input:focus-visible + .sw { outline: 3px solid var(--green); outline-offset: 3px; }
.tg-text b { display: block; font-family: var(--font-head); font-size: 15px; color: var(--heading); }
.tg-text small { color: var(--muted); font-size: 13.5px; }
.tg-price { font-weight: 700; font-size: 13.5px; color: var(--green); text-align: right; }
.builder-sum { background: linear-gradient(165deg, var(--green-deep), var(--forest) 55%, var(--forest-2)); padding: 38px 32px; display: flex; flex-direction: column; }
.builder-sum h4 { color: #fff; font-size: 19px; margin-bottom: 18px; }
#sumList { display: grid; gap: 11px; }
#sumList li { display: flex; justify-content: space-between; gap: 14px; font-size: 14.5px; padding-bottom: 11px; border-bottom: 1px dashed rgba(255,255,255,.2); color: #E3F5D8; }
#sumList li span:last-child { font-weight: 700; color: #fff; white-space: nowrap; }
#sumList li.off { opacity: .45; }
.sum-total { margin: 22px 0 18px; }
.sum-total span { display: block; font-size: 13.5px; color: #D6EDCB; }
.sum-total strong { display: block; font-family: var(--font-head); font-size: 40px; letter-spacing: -0.04em; color: #fff; line-height: 1.1; margin: 4px 0; }
.sum-total small { color: var(--lime); font-size: 13px; font-weight: 600; }
.sum-name { display: grid; gap: 6px; margin-bottom: 14px; font-size: 13px; color: #D6EDCB; }
.sum-name input { font: inherit; font-size: 15px; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,.2); background: rgba(0,0,0,.18); color: #fff; }
.sum-name input::placeholder { color: rgba(255,255,255,.45); }
.builder-sum .btn { width: 100%; justify-content: center; margin-top: auto; background: #fff; color: var(--forest); box-shadow: none; }
.builder-sum .btn:hover { background: #EAF7E2; }
.sum-fine { font-size: 12px; color: #D6EDCB; margin-top: 12px; text-align: center; }

/* ---------- Motion: process, packages, builder ---------- */
/* generic staggered reveal for .reveal-group children */
.reveal-group.pre-reveal > * { opacity: 0; transform: translateY(30px); }
.reveal-group.pre-reveal.revealed > * { opacity: 1; transform: none; transition: opacity .7s ease var(--d, 0ms), transform .8s cubic-bezier(.2,.8,.2,1) var(--d, 0ms), border-color .35s, box-shadow .45s, background .35s; }

/* process: line draws in, circles light up, hover */
.process::before { transform-origin: left; transition: transform 1.6s cubic-bezier(.65,0,.35,1) .1s; }
.process.pre-reveal::before { transform: scaleX(0); }
.process.pre-reveal.revealed::before { transform: scaleX(1); }
.process .step { cursor: default; }
.step-num { transition: background .35s, color .35s, transform .45s cubic-bezier(.2,.8,.2,1.4), box-shadow .35s; }
.step-num::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid var(--green); opacity: 0; transform: scale(.8); transition: opacity .35s, transform .45s; }
.step h3, .step p { transition: color .3s, transform .4s cubic-bezier(.2,.8,.2,1); }
.step:hover .step-num { background: var(--green); color: #fff; transform: translateY(-4px) scale(1.08); box-shadow: var(--glow); }
.step:hover .step-num::after { opacity: .7; transform: scale(1); animation: ring 1.6s ease-out infinite; }
.step:hover h3 { color: var(--green); transform: translateY(-2px); }
.step:hover p { color: var(--text); }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.35); opacity: 0; } }

/* package cards */
.plan { --mx: 50%; --my: 0%; overflow: hidden; isolation: isolate; transition: transform .45s cubic-bezier(.2,.8,.2,1), border-color .35s, box-shadow .45s; }
.plan::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(99,188,71,.16), transparent 45%); }
.plan::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--green), var(--lime)); transform: scaleX(0); transform-origin: left; transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.plan:not(.featured):hover { transform: translateY(-8px); border-color: var(--green-line); box-shadow: 0 34px 60px -34px rgba(0,0,0,.95); }
.plan:not(.featured):hover::before { opacity: 1; }
.plan:not(.featured):hover::after { transform: scaleX(1); }
.plan li { transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.plan:hover li:not(.no) { transform: translateX(4px); }
.plan:hover li:nth-child(2) { transition-delay: .04s; } .plan:hover li:nth-child(3) { transition-delay: .08s; } .plan:hover li:nth-child(4) { transition-delay: .12s; } .plan:hover li:nth-child(5) { transition-delay: .16s; } .plan:hover li:nth-child(6) { transition-delay: .2s; }
.plan .btn { transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s; }
.plan:not(.featured):hover .btn { border-color: var(--green); color: #fff; background: var(--green); }
/* featured: glowing border that circles the card */
.plan.featured { overflow: visible; }
.plan.featured::after { display: none; }
.plan.featured::before {
  inset: -2px; z-index: 1; opacity: 1; border-radius: calc(var(--r-lg) + 2px); padding: 2px; pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  background: conic-gradient(from var(--ang, 0deg), transparent 0deg, var(--lime) 40deg, transparent 90deg, transparent 180deg, rgba(255,255,255,.7) 220deg, transparent 270deg);
  animation: spinBorder 5s linear infinite;
}
.plan.featured { background-clip: padding-box; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spinBorder { to { --ang: 360deg; } }
.plan.featured:hover { transform: scale(1.03) translateY(-8px); box-shadow: 0 40px 70px -30px rgba(99,188,71,.85); }
.reveal-group.pre-reveal.revealed > .plan.featured { transform: scale(1.03); }
.reveal-group.pre-reveal.revealed > .plan.featured:hover { transform: scale(1.03) translateY(-8px); transition-delay: 0s; }
.reveal-group.pre-reveal.revealed > .plan:not(.featured):hover { transform: translateY(-8px); transition-delay: 0s; }
.plan .flag { animation: flagPulse 2.6s ease-in-out infinite; }
@keyframes flagPulse { 50% { box-shadow: 0 0 0 6px rgba(255,255,255,.18); } }

/* ways */
.way { transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .3s, background .3s; }
.way > i { transition: transform .45s cubic-bezier(.2,.8,.2,1.4), background .3s, color .3s; }
.way:hover { transform: translateY(-4px); border-color: var(--green-line); background: linear-gradient(135deg, rgba(99,188,71,.08), var(--ink-3) 60%); }
.way:hover > i { transform: rotate(-8deg) scale(1.08); background: var(--green); color: #fff; }
.reveal-group.pre-reveal.revealed > .way:hover { transform: translateY(-4px); transition-delay: 0s; }

/* builder */
.builder { transition: box-shadow .5s; }
.builder:hover { box-shadow: 0 40px 80px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(99,188,71,.18); }
.opt { transition: background .3s; }
.stepper button { transition: background .2s, color .2s, transform .15s; }
.stepper button:active { transform: scale(.88); }
.stepper output.bump { animation: bump .35s ease; }
#sumTotal.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.12); color: var(--lime); } }
#sumList li { transition: opacity .3s, transform .3s; }
.builder-sum .btn { position: relative; overflow: hidden; }
.builder-sum .btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(99,188,71,.35), transparent); transform: skewX(-18deg); animation: shine-sweep 4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .process.pre-reveal::before { transform: none; } .plan.featured::before { animation: none; } }

/* ---------- Team ---------- */
.team-label { display: flex; align-items: center; gap: 18px; margin: 0 0 24px; flex-wrap: wrap; }
.team-label span { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--heading); display: inline-flex; align-items: center; gap: 12px; }
.team-label span::before { content: ""; width: 30px; height: 4px; border-radius: 4px; background: var(--green); }
.team-label::after { content: ""; flex: 1; height: 1px; background: var(--line); min-width: 40px; order: 1; }
.team-label p { order: 2; color: var(--muted); font-size: 14.5px; }
.leaders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 68px; }
.leader { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; background: var(--ink-3); border: 1px solid var(--line); box-shadow: var(--shadow); isolation: isolate; }
.leader img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s ease; z-index: -2; }
.leader::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(31,33,32,.6) 68%, rgba(31,33,32,.97) 100%); }
.leader:hover img { transform: scale(1.05); }
.leader::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; z-index: 1; }
.leader:hover::before { transform: scaleX(1); }
.leader-code { position: absolute; top: 16px; left: 16px; padding: 5px 13px; border-radius: var(--pill); background: rgba(31,33,32,.8); backdrop-filter: blur(6px); color: var(--lime); border: 1px solid var(--green-line); font-family: var(--font-head); font-weight: 700; font-size: 12.5px; }
.leader-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; }
.leader-info h3 { color: #fff; font-size: 20px; }
.leader-info p { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--green); }
.crew { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.member { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: var(--r-md); background: var(--ink-3); border: 1px solid var(--line); transition: transform .25s, border-color .25s; }
.member:hover { transform: translateY(-4px); border-color: var(--green); }
.member img { width: 86px; height: 100px; flex-shrink: 0; border-radius: 12px; object-fit: cover; object-position: top center; background: var(--ink-4); }
.member h3 { font-size: 16px; }
.member p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.dept { display: inline-flex; gap: 7px; align-items: center; margin-top: 9px; font-size: 12px; font-weight: 700; color: var(--green); background: rgba(99,188,71,.12); padding: 3px 10px; border-radius: var(--pill); }

/* ---------- Testimonials (auto-sliding) ---------- */
.reviews-marquee { position: relative; z-index: 1; padding: 16px 0 26px; margin-inline: calc((100vw - min(var(--wrap), 100vw - 40px)) / -2); }
.reviews-marquee .marquee-track { gap: 22px; align-items: stretch; }
.review { position: relative; margin: 0; flex: 0 0 auto; width: 410px; display: flex; flex-direction: column; gap: 16px; padding: 30px 30px 26px; border-radius: var(--r-lg); background: rgba(31,33,32,.72); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); overflow: hidden; transition: transform .3s, border-color .3s; }
.review:hover { transform: translateY(-6px); border-color: var(--lime); }
.review-mark { position: absolute; right: 14px; bottom: -24px; font-size: 120px; line-height: 1; color: rgba(99,188,71,.14); pointer-events: none; }
.review-who { display: flex; align-items: center; gap: 14px; position: relative; }
.review-who img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 3px solid var(--ink-1); box-shadow: 0 0 0 2px var(--green); flex-shrink: 0; }
.review-who strong { display: block; font-family: var(--font-head); font-size: 15.5px; color: #fff; line-height: 1.3; }
.review-who span { font-size: 13px; color: var(--lime); font-weight: 600; }
.review blockquote { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--text); flex: 1; position: relative; }
.review .stars { position: relative; display: flex; gap: 4px; color: #F5B731; font-size: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; }
.contact h2 { font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -0.04em; }
.contact h2 span { display: block; color: var(--green); }
.contact-lead { color: var(--muted); font-size: 17px; margin: 20px 0 30px; max-width: 30em; }
.contact-list { display: grid; gap: 10px; }
.contact-list li { display: flex; gap: 16px; align-items: center; padding: 13px 15px; border-radius: var(--r-md); background: var(--ink-3); border: 1px solid var(--line); }
.contact-list i { width: 44px; height: 44px; border-radius: 13px; background: rgba(99,188,71,.12); color: var(--green); display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.contact-list small { display: block; font-size: 12.5px; color: var(--muted); }
.contact-list a, .contact-list b { font-weight: 700; font-size: 15.5px; color: var(--heading); }
.contact-list a:hover { color: var(--green); }
.form-card { background: var(--ink-3); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 38px; box-shadow: var(--shadow); }
.form-card h3 { font-size: 21px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; padding: 13px 15px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--ink-1); color: var(--heading); width: 100%; }
.field input::placeholder, .field textarea::placeholder { color: #6F7871; }
.field select option { background: var(--ink-2); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(99,188,71,.2); }
.form-card .btn { width: 100%; justify-content: center; }
.map { margin-top: 50px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); height: 340px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.4) contrast(1.05); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-0); color: var(--muted); padding: 76px 0 28px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid var(--line); }
.footer-brand img { height: 30px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-family: var(--font-head); font-size: 18px; color: var(--heading); line-height: 1.45; }
.site-footer h4 { color: var(--heading); font-size: 15px; margin-bottom: 16px; }
.site-footer li + li { margin-top: 10px; }
.site-footer a:hover { color: var(--green); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: var(--ink-3); border: 1px solid var(--line); display: grid; place-items: center; color: var(--heading); transition: background .2s; }
.socials a:hover { background: var(--green); color: #fff; border-color: var(--green); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; font-size: 13.5px; flex-wrap: wrap; }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; font-size: 27px; box-shadow: 0 10px 30px rgba(37,211,102,.35); }

/* =========================================================
   Service detail page
   ========================================================= */
.svc-hero { position: relative; padding: calc(var(--nav-h) + 36px) 0 64px; overflow: hidden; }
.svc-hero .blob.b1 { width: 420px; height: 420px; background: rgba(99,188,71,.25); right: 4%; top: 8%; }
.svc-hero > .wrap { position: relative; z-index: 1; }
.svc-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.back { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: 14px; color: var(--muted); }
.back:hover { color: var(--green); }
.svc-switch { position: relative; display: flex; gap: 6px; flex-wrap: wrap; margin: 20px 0 32px; }
.svc-switch a { padding: 8px 15px; border-radius: var(--pill); font-size: 13.5px; font-weight: 600; color: var(--muted); background: var(--ink-2); border: 1px solid var(--line); }
.svc-switch a:hover { color: var(--heading); }
.svc-switch a.current { background: var(--green); color: #fff; border-color: var(--green); }
.svc-hero h1 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.035em; }
.svc-hero .lead { margin-top: 18px; font-size: 17px; color: var(--muted); max-width: 34em; }
.svc-hero .hero-actions { margin-top: 28px; }
.svc-emblem { position: relative; aspect-ratio: 1; max-width: 380px; justify-self: center; width: 100%; display: grid; place-items: center; }
.svc-emblem::before, .svc-emblem::after { content: ""; position: absolute; border-radius: 50%; }
.svc-emblem::before { inset: 0; background: conic-gradient(from 0deg, var(--green), transparent 40%, var(--lime), transparent 80%, var(--green)); animation: emblemSpin 12s linear infinite; opacity: .6; }
.svc-emblem::after { inset: 3px; background: var(--ink-1); }
@keyframes emblemSpin { to { transform: rotate(360deg); } }
.svc-emblem .core { position: relative; z-index: 1; width: 50%; aspect-ratio: 1; border-radius: 30%; background: linear-gradient(145deg, var(--green), var(--forest)); display: grid; place-items: center; color: #fff; font-size: clamp(56px, 7vw, 88px); box-shadow: var(--glow); transform: rotate(-6deg); }
.svc-emblem .chip { position: absolute; z-index: 2; background: var(--ink-3); border: 1px solid var(--line-2); border-radius: var(--pill); padding: 8px 15px; font-size: 13px; font-weight: 700; color: var(--heading); box-shadow: 0 12px 30px -14px rgba(0,0,0,.6); display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; animation: float 5s ease-in-out infinite; }
.svc-emblem .chip i { color: var(--green); }
.svc-emblem .chip:nth-of-type(1) { left: -4%; top: 16%; }
.svc-emblem .chip:nth-of-type(2) { right: -6%; top: 46%; animation-delay: -1.6s; }
.svc-emblem .chip:nth-of-type(3) { left: 6%; bottom: 8%; animation-delay: -3.2s; }
.incl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.incl { background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px; transition: transform .25s, border-color .25s; }
.incl:hover { transform: translateY(-4px); border-color: var(--green-line); }
.incl i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 21px; background: rgba(99,188,71,.12); color: var(--green); margin-bottom: 18px; }
.incl h3 { font-size: 17px; margin-bottom: 8px; }
.incl p { font-size: 14.5px; color: var(--muted); }
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; z-index: 1; }
.step4 { background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: 28px 24px; }
.step4 b { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--green-deep); font-family: var(--font-head); font-size: 18px; margin-bottom: 16px; }
.step4 h3 { font-size: 17px; margin-bottom: 8px; }
.step4 p { font-size: 14.5px; color: #D6EDCB; }
.approval-note { margin-top: 24px; display: inline-flex; gap: 10px; align-items: center; color: #fff; font-weight: 600; position: relative; z-index: 1; }
.approval-note i { color: var(--lime); font-size: 20px; }
.fit-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; align-items: center; }
.fit-row h2 { font-size: clamp(26px, 3vw, 38px); }
.fit-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.fit-chips span { padding: 11px 18px; border-radius: var(--pill); background: var(--ink-3); border: 1px solid var(--line); font-weight: 600; color: var(--heading); display: inline-flex; gap: 10px; align-items: center; font-size: 14.5px; }
.fit-chips span i { color: var(--green); }
.svc-cta { border-radius: var(--r-lg); padding: 46px; background: linear-gradient(140deg, var(--green), var(--forest)); display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; box-shadow: var(--glow); position: relative; overflow: hidden; }
.svc-cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.1); }
.svc-cta h2 { font-size: clamp(24px, 2.8vw, 34px); max-width: 18em; }
.svc-cta p { color: #E3F5D8; margin-top: 8px; }
.svc-cta .btn-light { position: relative; z-index: 1; }
.related { display: flex; gap: 16px; flex-wrap: wrap; }

/* =========================================================
   Work detail page — 3D carousel
   ========================================================= */
body.work-page { --c: var(--green); }
.work-page .cursor-glow { background: radial-gradient(circle, color-mix(in srgb, var(--c) 24%, transparent) 0%, transparent 70%); }
.work-hero { position: relative; padding: calc(var(--nav-h) + 30px) 0 0; text-align: center; background: radial-gradient(800px 420px at 50% 0%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%); }
.client-switch { display: inline-flex; gap: 4px; flex-wrap: wrap; justify-content: center; padding: 5px; border-radius: var(--pill); background: var(--ink-2); border: 1px solid var(--line); margin: 16px 0 24px; }
.client-switch a { padding: 9px 17px; border-radius: var(--pill); font-size: 14px; font-weight: 600; color: var(--muted); }
.client-switch a:hover { color: var(--heading); }
.client-switch a.current { background: var(--c); color: #fff; }
.work-page .back:hover { color: var(--c); }
.client-badge { width: 104px; height: 104px; margin: 0 auto 16px; border-radius: 26px; background: #F4F7F2; display: grid; place-items: center; padding: 15px; box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 30%, transparent), 0 18px 40px -18px var(--c); }
.client-badge img { max-width: 100%; max-height: 100%; object-fit: contain; }
.work-hero .type { display: inline-block; font-size: 12.5px; font-weight: 700; color: #fff; background: color-mix(in srgb, var(--c) 35%, transparent); border: 1px solid color-mix(in srgb, var(--c) 60%, transparent); padding: 5px 13px; border-radius: var(--pill); }
.work-hero h1 { font-size: clamp(30px, 4.4vw, 50px); letter-spacing: -0.035em; margin-top: 12px; }
.work-hero .summary { color: var(--muted); max-width: 36em; margin: 10px auto 0; font-size: 16.5px; }
.stage { position: relative; height: 520px; margin-top: 6px; perspective: 1500px; perspective-origin: 50% 40%; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; overflow: hidden; }
.stage.dragging { cursor: grabbing; }
.stage::before { content: ""; position: absolute; left: 50%; bottom: 40px; width: 70%; height: 120px; transform: translateX(-50%); background: radial-gradient(ellipse at center, color-mix(in srgb, var(--c) 35%, transparent) 0%, transparent 70%); filter: blur(10px); }
.drum { position: absolute; left: 50%; top: 46%; width: 0; height: 0; transform-style: preserve-3d; }
.card3d { position: absolute; width: var(--card); height: var(--card); left: calc(var(--card) / -2); top: calc(var(--card) / -2); border-radius: 20px; overflow: hidden; padding: 0; border: 0; background: var(--ink-3); cursor: pointer; box-shadow: 0 30px 60px -28px rgba(0,0,0,.8); backface-visibility: hidden; -webkit-backface-visibility: hidden; -webkit-box-reflect: below 10px linear-gradient(transparent 72%, rgba(255,255,255,.14)); }
.card3d img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; display: block; }
.card3d::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(135deg, rgba(255,255,255,.22) 0%, transparent 35%); pointer-events: none; }
.card3d.front { box-shadow: 0 0 0 3px var(--c), 0 40px 70px -26px var(--c); }
.card3d .zoom { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(31,33,32,.85); color: #fff; display: grid; place-items: center; font-size: 17px; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s; }
.card3d.front .zoom { opacity: 1; transform: none; }
.card3d.placeholder { cursor: default; background: var(--ink-2); border: 2px dashed var(--line-2); display: grid; place-items: center; color: var(--muted); font-size: 28px; -webkit-box-reflect: none; }
.deck-bar { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: -10px; flex-wrap: wrap; }
.deck-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--ink-3); color: var(--heading); font-size: 19px; cursor: pointer; transition: background .2s, border-color .2s; }
.deck-btn:hover { background: var(--c); border-color: var(--c); }
.thumbs-strip { display: flex; gap: 7px; padding: 6px; border-radius: var(--pill); background: var(--ink-2); border: 1px solid var(--line); }
.thumbs-strip button { width: 38px; height: 38px; border-radius: 11px; overflow: hidden; padding: 0; border: 0; cursor: pointer; opacity: .45; transition: opacity .2s, transform .2s, box-shadow .2s; background: var(--ink-4); }
.thumbs-strip button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumbs-strip button.on { opacity: 1; transform: translateY(-3px); box-shadow: 0 0 0 2px var(--c); }
.deck-count { font-family: var(--font-head); font-weight: 700; color: var(--heading); min-width: 64px; text-align: center; }
.deck-count span { color: var(--c); filter: brightness(1.3); }
.orbit-hint { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 14px; }
.orbit-hint.empty { color: var(--heading); font-weight: 600; }
.videos-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.videos-head h2 { font-size: clamp(26px, 3vw, 36px); }
.videos-head p { color: var(--muted); }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.video { border-radius: var(--r-md); overflow: hidden; background: #000; aspect-ratio: 9/16; max-height: 560px; border: 1px solid var(--line-2); box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 60%, transparent), var(--shadow); }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.empty-box { border: 2px dashed var(--line-2); border-radius: var(--r-lg); padding: 54px 30px; text-align: center; color: var(--muted); background: var(--ink-2); }
.empty-box i { font-size: 34px; color: var(--c); display: block; margin-bottom: 10px; }
.empty-box strong { display: block; font-family: var(--font-head); color: var(--heading); font-size: 18px; margin-bottom: 4px; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20,22,21,.94); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox.open { display: flex; animation: lbIn .25s ease; }
@keyframes lbIn { from { opacity: 0; } }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: var(--r-sm); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 50px; height: 50px; border-radius: 50%; font-size: 21px; cursor: pointer; }
.lightbox button:hover { background: var(--green); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 13.5px; font-weight: 600; background: rgba(255,255,255,.1); padding: 6px 14px; border-radius: var(--pill); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { position: fixed; top: calc(var(--nav-h) - 6px); left: 16px; right: 16px; background: var(--ink-2); flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; border-radius: var(--r-md); border: 1px solid var(--line-2); box-shadow: var(--shadow); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 16px; }
  .menu-toggle { display: grid; place-items: center; }
  .header-cta { display: none; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .process::before { display: none; }
  .crew { grid-template-columns: repeat(2, 1fr); }
  .plan.featured { transform: none; }
  .steps4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .hero-inner, .about-grid, .doctors, .contact, .section-head, .svc-hero-inner, .fit-row { grid-template-columns: 1fr; }
  .hero-inner { gap: 40px; }
  .section-head { gap: 14px; margin-bottom: 40px; }
  .hero-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-strip div:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero-strip div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .plans, .ways, .builder { grid-template-columns: 1fr; }
  .doctors-visual.missing { display: none; }
  .why-item, .why-item:nth-child(4), .why-item:nth-child(5) { grid-column: span 6; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .doctors-visual { max-width: 440px; }
  .svc-emblem { max-width: 300px; }
}
@media (max-width: 720px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .leaders { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .crew { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .console-wrap { padding: 20px 0 26px; }
  .fc-1 { right: 0; }
  .flow li small { display: none; }
  .svc-grid, .crew, .leaders, .steps4 { grid-template-columns: 1fr; }
  .leaders { max-width: 380px; margin-inline: auto; }
  .support-list, .field-row { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .review { width: 300px; padding: 24px 22px 20px; }
  .reviews-marquee { margin-inline: -16px; }
  .form-card { padding: 26px 20px; }
  .footer-top { grid-template-columns: 1fr; }
  .builder-main, .builder-sum { padding: 26px 20px; }
  .opt-head { flex-wrap: wrap; }
  .toggle { grid-template-columns: auto 1fr; }
  .tg-price { grid-column: 2; text-align: left; }
  .svc-switch { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .svc-switch a { white-space: nowrap; flex-shrink: 0; }
  .svc-cta { padding: 32px 24px; }
  .svc-emblem .chip { font-size: 12px; padding: 6px 11px; }
  .stage { height: 360px; perspective: 1000px; }
  .thumbs-strip { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; border-radius: var(--r-md); }
  .thumbs-strip button { width: 34px; height: 34px; }
  .lightbox { padding: 70px 12px; }
}

/* ---------- Office link: login chooser + package request (js/office.js) ---------- */
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-login { padding: 10px 18px; font-size: 13.5px; }
.office-dialog {
  width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow: auto;
  padding: 34px; border: 1px solid var(--line-2); border-radius: var(--r-lg);
  background: var(--ink-3); color: var(--text); box-shadow: var(--shadow);
}
.office-dialog[open] { animation: officeIn .35s cubic-bezier(.2,.8,.2,1); }
.office-dialog::backdrop { background: rgba(15,17,16,.7); backdrop-filter: blur(6px); }
@keyframes officeIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.office-dialog h3 { font-size: 21px; margin-bottom: 6px; padding-right: 36px; }
.office-lead { color: var(--muted); font-size: 14.5px; margin-bottom: 22px; }
.office-close { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--ink-2); color: var(--heading); cursor: pointer; display: grid; place-items: center; }
.office-close:hover { border-color: var(--green); color: var(--green); }
.login-choices { display: grid; gap: 12px; }
.login-choice {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r-md);
  background: var(--ink-2); border: 1px solid var(--line); color: var(--heading);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, background .3s;
}
.login-choice > i:first-child { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 21px; color: var(--green); background: rgba(99,188,71,.12); flex-shrink: 0; transition: background .3s, color .3s; }
.login-choice span { display: grid; gap: 2px; flex: 1; }
.login-choice b { font-family: var(--font-head); font-size: 16px; }
.login-choice small { color: var(--muted); font-size: 13.5px; }
.login-choice .go { color: var(--muted); transition: transform .3s, color .3s; }
.login-choice:hover { transform: translateY(-3px); border-color: var(--green-line); background: linear-gradient(135deg, rgba(99,188,71,.08), var(--ink-2) 60%); }
.login-choice:hover > i:first-child { background: var(--green); color: #fff; }
.login-choice:hover .go { color: var(--green); transform: translateX(4px); }
.login-office { margin-top: 12px; text-align: center; font-size: 13px; color: var(--muted); }
.login-office a { color: var(--green); }
.login-signup { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.login-signup span { color: var(--muted); font-size: 14.5px; }
.req-summary { margin: 4px 0 20px; color: var(--muted); font-size: 14px; }
.req-summary strong { display: block; font-family: var(--font-head); font-size: 24px; color: var(--green); }
.req-summary pre { margin-top: 8px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--ink-2); font: inherit; font-size: 13.5px; white-space: pre-wrap; }
.office-dialog .btn[type="submit"] { width: 100%; justify-content: center; }
.office-dialog .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.req-error { min-height: 1em; color: #FF8A80; font-size: 13.5px; margin-bottom: 10px; }
.req-error a, .req-alt a { color: var(--green); }
.req-alt { margin-top: 14px; text-align: center; color: var(--muted); font-size: 13.5px; }
.req-done { text-align: center; padding: 10px 0; }
.req-done > i { font-size: 54px; color: var(--green); }
.req-done p { color: var(--muted); margin: 6px 0 20px; }
@media (max-width: 1100px) {
  .header-login { padding: 0; width: 46px; height: 46px; justify-content: center; border-radius: 50%; }
  .header-login span { display: none; }
}
@media (max-width: 720px) {
  .office-dialog { padding: 26px 20px; }
  .office-dialog .field-row { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
  .lane, .marquee-track { animation: none !important; }
  html { scroll-behavior: auto; }
}
