/* ============================================================================
   NetPro BD — components.css
   Buttons, cards, switchers, slider, accordion, forms, filters, stats
   -------------------------------------------------------------------------- */

/* ------------------------------ 1. BUTTONS -------------------------------- */
.btn {
  --btn-bg: transparent;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: .93rem;
  line-height: 1;
  letter-spacing: .01em;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  white-space: nowrap;
  transition: transform var(--t), box-shadow var(--t), color var(--t), background var(--t), border-color var(--t);
  will-change: transform;
}
.btn .icon { width: 18px; height: 18px; transition: transform var(--t); }
.btn:hover .icon { transform: translateX(3px) scale(1.06); }
.btn:active { transform: scale(.97); }

/* Sheen sweep on hover */
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.35) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
  z-index: -1;
}
.btn:hover::after { transform: translateX(120%); }

.btn--primary {
  background: var(--grad-brand);
  color: var(--on-brand);
  /* layered: ambient glow + top inner highlight + base contact shadow */
  box-shadow: var(--sh-brand),
              inset 0 1px 0 rgba(255, 255, 255, .32),
              inset 0 -2px 8px rgba(2, 6, 23, .22);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px color-mix(in srgb, var(--brand) 42%, transparent),
              inset 0 1px 0 rgba(255, 255, 255, .38),
              inset 0 -2px 8px rgba(2, 6, 23, .22);
}

.btn--orange {                 /* kept as an alias: one accent family site-wide */
  background: var(--grad-brand);
  color: var(--on-brand);
  box-shadow: var(--sh-brand), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.btn--orange:hover { transform: translateY(-3px); box-shadow: 0 20px 44px color-mix(in srgb, var(--brand) 42%, transparent); }

.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: color-mix(in srgb, var(--surface-2) 82%, transparent);
}
.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: rgba(34, 211, 238, .08);
  transform: translateY(-3px);
}

.btn--glass {
  background: var(--tint-d);
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(10px);
}
.btn--glass:hover { background: rgba(255,255,255,.22); transform: translateY(-3px); }

.btn--sm { padding: 11px 20px; font-size: .84rem; }
.btn--block { width: 100%; }

.btn[disabled] { opacity: .65; pointer-events: none; }
.btn__loader {
  position: absolute; inset: 0; margin: auto;
  width: 20px; height: 20px;
  border: 2.5px solid rgba(4, 18, 26, .25);
  border-top-color: var(--on-brand);
  border-radius: 50%;
  opacity: 0;
  animation: spin .7s linear infinite;
}
.btn.is-loading .btn__label { opacity: 0; }
.btn.is-loading .btn__loader { opacity: 1; }

/* ------------------------------ 2. LANGUAGE SWITCH ------------------------ */
.lang-switch {
  position: relative;
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px;
  border-radius: var(--r-pill);
  background: var(--tint-b);
  border: 1px solid var(--line);
}
.lang-switch__btn {
  position: relative; z-index: 2;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-mute);
  transition: color var(--t);
}
.lang-switch__btn:hover { color: var(--text); }
.lang-switch__btn.is-active { color: var(--on-brand); }
.lang-switch__thumb {
  position: absolute; top: 3px; left: 0; z-index: 1;
  height: calc(100% - 6px);
  width: 40px;
  border-radius: var(--r-pill);
  background: var(--grad-brand);
  box-shadow: 0 4px 12px rgba(34, 211, 238, .35);
  transition: transform var(--t) var(--ease-spring), width var(--t);
}
.lang-switch--compact .lang-switch__btn { padding: 5px 10px; font-size: .74rem; }

/* Mobile floating pill */
.lang-fab {
  position: fixed;
  bottom: 100px; right: 18px;
  z-index: 900;
  display: none;
  padding: 4px;
  border-radius: var(--r-pill);
  background: var(--float-bg);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px);
  box-shadow: var(--sh-2);
}
.lang-fab__btn {
  padding: 8px 12px;
  border-radius: var(--r-pill);
  font-size: .76rem; font-weight: 700;
  color: var(--text-mute);
  transition: var(--t-fast);
}
.lang-fab__btn.is-active { background: var(--grad-brand); color: var(--on-brand); }

/* ------------------------------ 3. CARDS (shared) ------------------------- */
.service-card,
.why-card,
.timeline__card,
.price-card,
.info-card {
  position: relative;
  background:
    linear-gradient(155deg, var(--tint-b), var(--tint-a)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t), background var(--t);
}

/* Cursor-follow spotlight (driven by --mx/--my from JS) */
[data-spotlight]::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 211, 238, .14), transparent 62%);
  opacity: 0;
  transition: opacity var(--t);
  pointer-events: none;
  z-index: 0;
}
[data-spotlight]:hover::before { opacity: 1; }
[data-spotlight] > * { position: relative; z-index: 1; }

/* Thin animated top border on hover */
.service-card::after,
.why-card::after,
.timeline__card::after {
  content: '';
  position: absolute; top: 0; left: 0;
  height: 2px; width: 100%;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.service-card:hover::after,
.why-card:hover::after,
.timeline__card:hover::after { transform: scaleX(1); }

/* ------------------------------ 4. SERVICE CARD --------------------------- */
.service-card { padding: 30px 26px 26px; }
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(34, 211, 238, .4);
  box-shadow: var(--sh-3);
}
.service-card__icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: rgba(34, 211, 238, .1);
  border: 1px solid rgba(34, 211, 238, .22);
  color: var(--brand);
  margin-bottom: 20px;
  transition: var(--t);
}
.service-card__icon .icon { width: 26px; height: 26px; }
.service-card:hover .service-card__icon {
  background: var(--grad-brand);
  color: var(--on-brand);
  border-color: transparent;
  transform: rotate(-6deg) scale(1.06);
  box-shadow: var(--sh-brand);
}
.service-card h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.service-card p { color: var(--text-dim); font-size: .9rem; line-height: 1.75; }
.service-card__link {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 18px;
  font-size: .84rem; font-weight: 600;
  color: var(--brand);
  opacity: .8;
  transition: var(--t);
}
.service-card__link .icon { transition: transform var(--t); }
.service-card:hover .service-card__link { opacity: 1; gap: 11px; }
.service-card:hover .service-card__link .icon { transform: translateX(3px); }

/* ------------------------------ 5. WHY CARD ------------------------------- */
.why-card { padding: 34px 24px; text-align: center; }
.why-card:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--brand) 38%, var(--line)); box-shadow: var(--sh-3); }
.why-card::after { background: var(--grad-brand); }
.why-card__icon {
  width: 66px; height: 66px; margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--accent);
  background: radial-gradient(circle at 30% 25%, rgba(255,138,31,.22), rgba(255,138,31,.05));
  border: 1px solid rgba(255, 138, 31, .28);
  transition: var(--t);
}
.why-card__icon .icon { width: 28px; height: 28px; }
.why-card:hover .why-card__icon { transform: translateY(-4px) rotate(8deg); box-shadow: var(--sh-brand); }
.why-card h4 { font-size: var(--fs-h4); margin-bottom: 8px; }
.why-card p { color: var(--text-dim); font-size: .87rem; }

/* ------------------------------ 6. STATS ---------------------------------- */
.stats {
  position: relative;
  border-radius: var(--r-xl);
  background:
    linear-gradient(150deg, rgba(34,211,238,.1), rgba(124,92,255,.06)),
    var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--sh-3);
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--tint-b) 1px, transparent 1px),
    linear-gradient(90deg, var(--tint-b) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 75%);
  pointer-events: none;
}
.stats__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: clamp(28px, 4vw, 44px) 16px;
}
.stat { text-align: center; padding: 8px 14px; position: relative; }
.stat + .stat::before {
  content: '';
  position: absolute; left: 0; top: 18%; bottom: 18%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-strong), transparent);
}
.stat__num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.stat__label { color: var(--text-dim); font-size: var(--fs-sm); }

/* ------------------------------ 7. SKILL BARS ----------------------------- */
.skill-bars { display: grid; gap: 18px; margin-bottom: 32px; }
.skill__top {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: .88rem; font-weight: 600; margin-bottom: 8px;
}
.skill__val { color: var(--brand); font-family: var(--font-mono); font-size: .82rem; }
.skill__track {
  height: 7px; border-radius: 99px;
  background: var(--tint-c);
  overflow: hidden;
}
.skill__fill {
  display: block; height: 100%; width: 100%;
  border-radius: 99px;
  background: var(--grad-brand);
  box-shadow: 0 0 12px color-mix(in srgb, var(--brand-1) 45%, transparent);
  transform: scaleX(0);                 /* GPU-composited fill, zero layout cost */
  transform-origin: left center;
  transition: transform 1.4s var(--ease-out);
  will-change: transform;
}

/* ------------------------------ 8. TIMELINE ------------------------------- */
.timeline { position: relative; display: grid; gap: 26px; padding-left: 8px; }
.timeline__line {
  position: absolute; left: 33px; top: 12px; bottom: 12px;
  width: 2px; border-radius: 2px;
  background: var(--tint-c);
  overflow: hidden;
}
.timeline__progress {
  display: block; width: 100%; height: 0%;
  background: var(--grad-brand);
  box-shadow: 0 0 14px rgba(34, 211, 238, .6);
}
.timeline__item { position: relative; display: grid; grid-template-columns: 68px 1fr; gap: 20px; align-items: start; }
.timeline__dot {
  width: 52px; height: 52px; margin-left: 8px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid rgba(34, 211, 238, .35);
  color: var(--brand);
  font-family: var(--font-mono); font-weight: 700; font-size: .92rem;
  z-index: 2;
  transition: var(--t);
}
.timeline__item:hover .timeline__dot {
  background: var(--grad-brand); color: var(--on-brand);
  transform: scale(1.08);
  box-shadow: var(--sh-brand);
}
.timeline__card { padding: 26px 28px; }
.timeline__card:hover { transform: translateX(6px); border-color: rgba(34, 211, 238, .35); box-shadow: var(--sh-2); }
.timeline__ico { color: var(--brand); margin-bottom: 12px; }
.timeline__card h4 { font-size: 1.06rem; margin-bottom: 7px; }
.timeline__card p { color: var(--text-dim); font-size: .9rem; }

/* ------------------------------ 9. PRICING -------------------------------- */
.price-card { padding: 34px 30px; display: flex; flex-direction: column; }
.price-card:hover { transform: translateY(-10px); border-color: rgba(34,211,238,.35); box-shadow: var(--sh-3); }
.price-card--featured {
  /* gradient RING: colour border without an extra element */
  border-color: transparent;
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--brand) 12%, var(--surface-2)), var(--surface-2)) padding-box,
    linear-gradient(150deg, var(--brand), var(--brand-3) 55%, var(--accent)) border-box;
  box-shadow: var(--sh-2), 0 0 44px -12px color-mix(in srgb, var(--brand) 45%, transparent);
}
.price-card__badge {
  position: absolute; top: 18px; right: -34px;
  transform: rotate(45deg);
  padding: 6px 40px;
  background: var(--grad-brand);
  color: var(--on-brand); font-size: .7rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  box-shadow: var(--sh-accent);
}
html[data-lang="bn"] .price-card__badge { letter-spacing: 0; text-transform: none; font-size: .76rem; }

.price-card__head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 22px; }
.price-card__icon {
  width: 46px; height: 46px; margin-bottom: 12px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  color: var(--brand);
  background: rgba(34,211,238,.1);
  border: 1px solid rgba(34,211,238,.22);
}
.price-card__head h3 { font-size: 1.3rem; }
.price-card__sub { color: var(--text-mute); font-size: .84rem; }

.price-card__amount {
  display: flex; align-items: baseline; gap: 6px;
  padding-bottom: 22px; margin-bottom: 22px;
  border-bottom: 1px dashed var(--line-strong);
}
.price-card__currency { color: var(--brand); font-size: 1.2rem; font-weight: 700; }
.price-card__num {
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 4vw, 2.7rem);
  font-weight: 800; line-height: 1;
  color: var(--heading);
}
.price-card__num--text { font-size: 2rem; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price-card__per { color: var(--text-mute); font-size: .88rem; }

.price-card__list { display: grid; gap: 13px; margin-bottom: 28px; flex: 1; }
.price-card__list li { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; color: var(--text); }
.price-card__list .icon { color: var(--success); margin-top: 4px; }
.price-card__list li.is-off { color: var(--text-mute); text-decoration: line-through; opacity: .6; }
.price-card__list li.is-off .icon { color: var(--text-mute); }

.pricing-note {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 38px; padding: 16px 22px;
  border-radius: var(--r-md);
  background: rgba(52, 211, 153, .07);
  border: 1px solid rgba(52, 211, 153, .2);
  color: var(--text-dim); font-size: .88rem;
  text-align: center;
}
.pricing-note .icon { color: var(--success); flex-shrink: 0; }

/* ------------------------------ 10. PORTFOLIO ----------------------------- */
.filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-bottom: 40px;
}
.filter {
  position: relative; overflow: hidden;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: var(--tint-b);
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-size: .85rem; font-weight: 600;
  transition: var(--t);
}
.filter:hover { color: var(--heading); border-color: var(--line-strong); transform: translateY(-2px); }
.filter.is-active {
  background: var(--grad-brand);
  border-color: transparent;
  color: var(--on-brand);
  box-shadow: var(--sh-brand);
}

.project {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform var(--t), box-shadow var(--t), opacity .35s var(--ease), border-color var(--t);
}
.project:hover { box-shadow: var(--sh-3); border-color: rgba(34,211,238,.35); }
.project.is-hidden { display: none; }
.project.is-animating { animation: popIn .45s var(--ease) both; }

.project__thumb {
  position: relative;
  height: 178px;
  display: grid; place-items: center;
  overflow: hidden;
}
.project__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
}
.project:hover .project__img,
.project:focus-within .project__img { transform: scale(1.06); }
.project__ico {
  position: absolute; z-index: 2;
  width: 32px; height: 32px; padding: 7px;
  margin: 0;                       /* overrides grid centring */
  left: 12px; top: 12px;
  border-radius: 10px;
  background: rgb(255 255 255 / .94);
  color: var(--brand);
  box-shadow: var(--sh-1);
}
html[data-theme="dark"] .project__ico { background: rgb(10 16 32 / .82); color: var(--brand-3, #7c9dff); }
.project__thumb::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--tint-c) 1px, transparent 1px),
    linear-gradient(90deg, var(--tint-c) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .5;
  transition: transform .8s var(--ease);
}
.project:hover .project__thumb::after { transform: scale(1.18) rotate(2deg); }
.project__thumb--1 { background: linear-gradient(135deg, #0b3b6f, #22d3ee); }
.project__thumb--2 { background: linear-gradient(135deg, #7a3b06, #ff8a1f); }
.project__thumb--3 { background: linear-gradient(135deg, #3b1d78, #7c5cff); }
.project__thumb--4 { background: linear-gradient(135deg, #064e3b, #34d399); }
.project__thumb--5 { background: linear-gradient(135deg, #7f1d3a, #fb7185); }
.project__thumb--6 { background: linear-gradient(135deg, #1e293b, #3b82f6); }
.project__ico { transition: transform .5s var(--ease-spring); }
.project:hover .project__ico { transform: scale(1.14) rotate(-6deg); }

.project__body { padding: 20px 22px 22px; }
.project__cat {
  display: inline-block;
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}
html[data-lang="bn"] .project__cat { letter-spacing: 0; text-transform: none; font-size: .78rem; }
.project__body h4 { font-size: 1.02rem; margin-bottom: 8px; }
.project__meta {
  display: flex; align-items: center; gap: 6px;
  color: var(--text-mute); font-size: .82rem;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
/* the meta hands its slot to the overlay — they never paint at once */
.project:hover .project__meta,
.project:focus-within .project__meta { opacity: 0; transform: translateY(6px); }

.project__overlay {
  position: absolute; inset: auto 0 0 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  /* opaque card colour instead of a dark scrim: reads as a footer bar,
     never as an unwanted overlay on top of the content */
  background: var(--surface);
  border-top: 1px solid var(--line);
  color: var(--brand); font-size: .84rem; font-weight: 600;
  transform: translateY(100%);
  transition: transform .4s var(--ease);
}
.project:hover .project__overlay,
.project:focus-within .project__overlay { transform: translateY(0); }

/* ------------------------------ 11. SLIDER -------------------------------- */
.slider { position: relative; max-width: 860px; margin-inline: auto; }
.slider__viewport { overflow: hidden; border-radius: var(--r-xl); }
.slider__track { display: flex; transition: transform .6s var(--ease); will-change: transform; }
.slide {
  flex: 0 0 100%;
  position: relative;
  padding: clamp(30px, 5vw, 52px) clamp(24px, 5vw, 58px);
  text-align: center;
  background:
    radial-gradient(600px 220px at 50% 0%, rgba(34,211,238,.09), transparent 70%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
}
.slide__qico { width: 44px; height: 44px; margin: 0 auto 18px; color: rgba(34, 211, 238, .28); }
.slide__stars { display: flex; justify-content: center; gap: 4px; color: var(--warning); margin-bottom: 20px; }
.slide blockquote {
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.85;
  color: var(--text);
  font-weight: 500;
  max-width: 640px;
  margin: 0 auto 28px;
  text-wrap: pretty;
}
.slide__user { display: flex; align-items: center; justify-content: center; gap: 14px; }
.avatar {
  position: relative; overflow: hidden;
  width: 52px; height: 52px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-brand);
  color: var(--on-brand); font-weight: 800; font-size: .92rem;
  font-family: var(--font-head);
  box-shadow: var(--sh-brand);
}
.slide__user b { display: block; color: var(--heading); font-size: .98rem; }
.slide__user i { display: block; font-style: normal; color: var(--text-mute); font-size: .82rem; }

.slider__controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 28px; }
.slider__btn {
  position: relative; overflow: hidden;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--tint-b);
  border: 1px solid var(--line);
  color: var(--text-dim);
  transition: var(--t);
}
.slider__btn:hover { background: var(--grad-brand); color: var(--on-brand); border-color: transparent; transform: scale(1.08); }
.slider__dots { display: flex; gap: 8px; }
.slider__dot {
  width: 9px; height: 9px; padding: 0;
  border-radius: 99px;
  background: var(--tint-d);
  transition: var(--t);
}
.slider__dot.is-active { width: 28px; background: var(--grad-brand); }

/* ------------------------------ 12. ACCORDION ----------------------------- */
.accordion { display: grid; gap: 14px; }
.accordion__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t), background var(--t);
}
.accordion__item.is-open { border-color: rgba(34,211,238,.4); background: var(--surface-2); }
.accordion__head {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-head);
  font-size: 1rem; font-weight: 600;
  color: var(--heading);
  transition: color var(--t);
}
.accordion__head:hover { color: var(--brand); }
.accordion__ico {
  flex-shrink: 0;
  width: 30px; height: 30px; padding: 7px;
  border-radius: 50%;
  background: rgba(34,211,238,.1);
  color: var(--brand);
  transition: transform .4s var(--ease), background var(--t);
}
.accordion__item.is-open .accordion__ico { transform: rotate(180deg); background: var(--grad-brand); color: var(--on-brand); }
.accordion__panel {
  height: 0;
  overflow: hidden;
  transition: height .45s var(--ease);
}
.accordion__panel p {
  padding: 0 24px 22px;
  color: var(--text-dim);
  font-size: .92rem;
  line-height: 1.85;
}

/* ------------------------------ 13. FORMS --------------------------------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; display: flex; flex-direction: column; }
.form-group label {
  font-size: .82rem; font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 8px;
  letter-spacing: .02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--tint-b);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: .92rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.form-group textarea { resize: vertical; min-height: 132px; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322d3ee' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 42px;
  cursor: pointer;
}
.form-group select option { background: var(--surface-2); color: var(--text); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-mute); opacity: .75; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  background: rgba(34, 211, 238, .06);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, .12);
}
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(251, 113, 133, .12);
  animation: shake .4s var(--ease);
}
.form-error {
  min-height: 0;
  font-size: .76rem;
  color: var(--danger);
  margin-top: 6px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--t), transform var(--t);
}
.form-group.has-error .form-error { opacity: 1; transform: translateY(0); }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  margin-top: 16px;
  padding: 0;
  font-size: .88rem;
  border-radius: var(--r-sm);
  text-align: center;
  transition: var(--t);
}
.form-status.is-success { padding: 14px 18px; background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .3); color: var(--success); }
.form-status.is-error { padding: 14px 18px; background: rgba(251, 113, 133, .1); border: 1px solid rgba(251, 113, 133, .3); color: var(--danger); }

/* Newsletter */
.newsletter {
  position: relative;
  display: flex; align-items: center;
  background: var(--tint-b);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 5px 5px 5px 18px;
  transition: border-color var(--t);
}
.newsletter:focus-within { border-color: var(--brand); }
.newsletter input {
  flex: 1; min-width: 0;
  background: none; border: 0; outline: none;
  color: var(--text); font-size: .86rem;
  padding: 8px 0;
}
.newsletter input::placeholder { color: var(--text-mute); }
.newsletter__btn {
  width: 38px; height: 38px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad-brand);
  color: var(--on-brand);
  transition: transform var(--t), box-shadow var(--t);
}
.newsletter__btn:hover { transform: scale(1.08); box-shadow: var(--sh-brand); }
.newsletter__msg { font-size: .78rem; margin-top: 10px; min-height: 18px; color: var(--success); }
.newsletter__msg.is-error { color: var(--danger); }

/* ============================================================================
   14. THEME TOGGLE (dark ⇄ light) — animated sun/moon pill
   -------------------------------------------------------------------------- */
.theme-toggle {
  position: relative; overflow: hidden;
  width: 62px; height: 31px;
  border-radius: var(--r-pill);
  background: var(--tint-b);
  border: 1px solid var(--line);
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: color-mix(in srgb, var(--brand) 45%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 10%, transparent); }
.theme-toggle .icon {
  position: absolute; top: 50%; translate: 0 -50%;
  width: 15px; height: 15px;
  color: var(--text-mute);
  transition: color .4s var(--ease), transform .6s var(--ease-spring), opacity .4s var(--ease);
  z-index: 2;
}
.theme-toggle__sun { left: 8px; }
.theme-toggle__moon { right: 8px; }
.theme-toggle:hover .theme-toggle__sun { transform: rotate(120deg); }
.theme-toggle:hover .theme-toggle__moon { transform: rotate(-25deg) scale(1.1); }
.theme-toggle__knob {
  position: absolute; top: 3px; left: 3px; z-index: 1;
  width: 23px; height: 23px;
  border-radius: 50%;
  background: var(--grad-brand);
  box-shadow: 0 3px 10px color-mix(in srgb, var(--brand) 45%, transparent);
  transform: translateX(31px);                 /* dark = moon side */
  transition: transform .5s var(--ease-spring), background .4s var(--ease);
}
html[data-theme="light"] .theme-toggle__knob { transform: translateX(0); background: var(--grad-accent); box-shadow: 0 3px 10px color-mix(in srgb, var(--accent) 45%, transparent); }
html:not([data-theme="light"]) .theme-toggle__moon,
html[data-theme="light"] .theme-toggle__sun { color: var(--on-brand); }

/* ============================================================================
   15. BUTTON RIPPLE (material-luxe press feedback)
   -------------------------------------------------------------------------- */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, currentColor 34%, transparent), transparent 62%);
  transform: scale(0);
  animation: ripple .7s var(--ease-out) forwards;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================================
   16. ORBIT GLOW BORDER — rotating conic ring on signature cards
   -------------------------------------------------------------------------- */
@property --orbit-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

.glow-orbit { position: relative; }
.glow-orbit::after {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--orbit-angle),
              transparent 0 32%, var(--brand-1) 46%, var(--brand-3) 52%, transparent 66% 100%);
  -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, linear-gradient(#000 0 0);
          mask-composite: exclude;
  animation: orbitSpin 5.5s linear infinite;
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
  z-index: 3;
}
.glow-orbit:hover::after,
.price-card--featured.glow-orbit::after { opacity: 1; }

/* ============================================================================
   17. PARALLAX LAYERS
   -------------------------------------------------------------------------- */
[data-parallax] { will-change: translate; }


/* ============================================================================
   12 — LEGAL MODAL (privacy / terms)
   ============================================================================ */
body.is-locked { overflow: hidden; }

.modal {
  position: fixed; inset: 0; z-index: 1400;
  display: grid; place-items: center; padding: 18px;
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgb(4 10 24 / .55);
  opacity: 0; transition: opacity .22s ease;
}
.modal__card {
  position: relative; width: min(680px, 100%); max-height: min(78svh, 720px);
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; box-shadow: var(--sh-3);
  opacity: 0; transform: translateY(14px) scale(.985);
  transition: opacity .22s ease, transform .22s cubic-bezier(.22,.61,.36,1);
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__card { opacity: 1; transform: none; }
.modal__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line);
}
.modal__title { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.modal__close {
  display: grid; place-items: center; width: 36px; height: 36px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg); color: var(--text-dim); cursor: pointer;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.modal__close:hover { color: var(--brand); border-color: var(--brand); transform: rotate(90deg); }
.modal__body { padding: 20px 22px 26px; overflow-y: auto; overscroll-behavior: contain; }
.legal-doc p { color: var(--text-dim); font-size: 14.5px; line-height: 1.75; margin-bottom: 14px; }
.legal-doc p:last-child { margin-bottom: 0; }

.linkbtn {
  border: 0; background: none; padding: 0; cursor: pointer;
  color: inherit; font: inherit;
}
.linkbtn:hover { color: var(--brand); text-decoration: underline; }

.btn--sm { padding: 9px 16px; font-size: 13px; }
.footer__profile { margin: 14px 0 4px; width: fit-content; }

/* ============================================================================
   13 — COVERAGE RADAR (inside NOC)
   ============================================================================ */
.noc__cov {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: minmax(220px, 340px) 1fr;
  gap: clamp(24px, 4vw, 56px); align-items: center;
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: clamp(32px, 5vw, 56px);
  border-top: 1px solid var(--line);
}
.cov-radar { color: var(--brand); }
.cov-radar svg { width: 100%; height: auto; display: block; }
.cov-radar__ring { fill: none; stroke: var(--line); stroke-width: 1; }
.cov-radar__cross { stroke: var(--line); stroke-width: .6; opacity: .7; }
.cov-radar__sweep {
  transform-origin: 100px 100px;
  animation: cov-sweep 7s linear infinite;
  fill: color-mix(in srgb, var(--brand) 14%, transparent);
}
@keyframes cov-sweep { to { transform: rotate(360deg); } }
.cov-dot { fill: var(--brand); }
.cov-dot:first-of-type { fill: var(--brand-3, var(--brand)); }
.cov__title { font-size: clamp(19px, 2.4vw, 24px); font-weight: 700; letter-spacing: -.015em; margin-bottom: 10px; }
.cov__desc { color: var(--text-dim); font-size: 14.5px; line-height: 1.7; margin-bottom: 18px; }
.cov__areas {
  list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px 18px; margin-bottom: 16px;
}
.cov__areas li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: var(--text);
}
.cov__note { color: var(--text-mute); font-size: 13px; opacity: .85; }

@media (max-width: 860px) {
  .noc__cov { grid-template-columns: 1fr; }
  .cov-radar { max-width: 300px; margin-inline: auto; }
}

.avatar__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
/* If any photo ever fails to load, hide it silently — the gradient /
   initials placeholder underneath keeps the layout intact (no broken
   glyph, no white hole). */
img.is-broken { opacity: 0; visibility: hidden; }


/* ============================================================================
   14 — TEAM GRID
   ============================================================================ */
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}
.team-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 14px 14px 18px; text-align: center;
  box-shadow: var(--sh-1);
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
.team-card__photo {
  position: relative; border-radius: 14px; overflow: hidden;
  aspect-ratio: 1 / 1; background: var(--surface-3);
}
.team-card__photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(28%);
  transition: filter .45s ease, transform .55s cubic-bezier(.22,.61,.36,1);
}
.team-card:hover .team-card__photo img { filter: grayscale(0); transform: scale(1.05); }
.team-card h3 { font-size: 16px; font-weight: 700; margin: 13px 0 3px; letter-spacing: -.01em; }
.team-card__role { color: var(--text-dim); font-size: 12.5px; line-height: 1.5; margin-bottom: 10px; }
.team-card__cert {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--brand) 40%, transparent);
  color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, transparent);
  font-size: 10.5px; font-weight: 800; letter-spacing: .08em;
}
html[data-theme="dark"] .team-card__cert { color: var(--brand-3, #7c9dff); }

/* ============================================================================
   15 — FEATURED CASE BAND
   ============================================================================ */
.caseband {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(24px, 4vw, 52px); align-items: stretch;
  margin-top: clamp(36px, 5vw, 64px);
  padding: clamp(16px, 2.6vw, 30px);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 24px; box-shadow: var(--sh-2);
}
.caseband__media {
  position: relative; border-radius: 18px; overflow: hidden;
  background: var(--surface-3); min-height: 320px;
}
.caseband__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.caseband__kicker {
  display: inline-block; margin-bottom: 10px;
  color: var(--brand); font-size: 11.5px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
}
html[data-theme="dark"] .caseband__kicker { color: var(--brand-3, #7c9dff); }
.caseband__title { font-size: clamp(19px, 2.5vw, 26px); font-weight: 800; letter-spacing: -.02em; line-height: 1.3; margin-bottom: 10px; }
.caseband__desc { color: var(--text-dim); font-size: 14.5px; line-height: 1.7; margin-bottom: 18px; }
.caseband__metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  padding: 14px 0; margin-bottom: 16px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.caseband__metrics b {
  display: block; font-size: clamp(20px, 2.4vw, 26px); font-weight: 800;
  color: var(--brand); letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.caseband__metrics b small { font-size: .55em; }
html[data-theme="dark"] .caseband__metrics b { color: var(--brand-3, #7c9dff); }
.caseband__metrics span { color: var(--text-dim); font-size: 11.5px; line-height: 1.45; display: block; margin-top: 3px; }
.caseband__quote p { color: var(--text-dim); font-style: italic; font-size: 14.5px; line-height: 1.7;
  border-left: 3px solid var(--brand); padding-left: 14px; margin-bottom: 8px; }
.caseband__quote cite { color: var(--text-mute); font-style: normal; font-size: 12.5px; padding-left: 17px; display: inline-block; }
@media (max-width: 900px) {
  .caseband { grid-template-columns: 1fr; }
  .caseband__media { min-height: 200px; aspect-ratio: 16 / 9; }
}

/* ============================================================================
   16 — ABOUT COLLAGE PHOTO + CERTIFICATION CHIPS
   ============================================================================ */
.about__photo2 {
  position: absolute; right: -14px; bottom: -30px; width: 46%;
  border: 6px solid var(--bg); border-radius: 16px; overflow: hidden;
  box-shadow: var(--sh-2); transform: rotate(2.5deg);
  background: var(--surface-3);
}
.about__photo2 img { width: 100%; height: auto; display: block; }
.certs { margin-top: clamp(22px, 3vw, 34px); }
.certs__title { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-mute); margin-bottom: 12px; }
.certs__list {
  list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}
.certs__list li {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface);
}
.certs__list b { color: var(--brand); font-size: 12.5px; letter-spacing: .1em; }
html[data-theme="dark"] .certs__list b { color: var(--brand-3, #7c9dff); }
.certs__list span { color: var(--text-dim); font-size: 12px; line-height: 1.45; }
@media (max-width: 700px) {
  .about__photo2 { position: static; width: 78%; margin: 14px auto 0; transform: none; }
}


/* ============================================================================
   17 — PHOTO CAPTION CHIPS + HOVER ZOOM
   ============================================================================ */
.about__photo, .noc__photo, .caseband__media { position: relative; overflow: hidden; }
.photo-cap {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px; border-radius: 999px;
  background: rgb(5 10 22 / .68); color: #e8eefb;
  font-size: 11px; font-weight: 700;
  backdrop-filter: blur(6px);
}
.photo-cap--in { left: 14px; bottom: 14px; }
.about__photo img, .noc__photo img, .caseband__media img {
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
}
.about__photo:hover img, .noc__photo:hover img, .caseband__media:hover img { transform: scale(1.045); }
[data-zoom] { cursor: zoom-in; }

/* ============================================================================
   18 — FIELD GALLERY STRIP
   ============================================================================ */
.strip { margin-top: clamp(30px, 4vw, 52px); }
.strip__title {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-mute); margin-bottom: 14px;
}
.strip__title .icon { color: var(--brand); }
html[data-theme="dark"] .strip__title .icon { color: var(--brand-3, #7c9dff); }
.strip__track {
  display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.strip__track::-webkit-scrollbar { height: 6px; }
.strip__track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }
.strip__item { flex: 0 0 250px; scroll-snap-align: start; margin: 0; }
.strip__item img {
  width: 100%; height: 160px; object-fit: cover; display: block;
  border-radius: 14px; border: 1px solid var(--line);
  background: var(--surface-3);
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.strip__item:hover img { transform: scale(1.03); }
.strip__item figcaption { color: var(--text-dim); font-size: 11.5px; line-height: 1.5; margin-top: 7px; }

/* ============================================================================
   19 — LIGHTBOX PHOTO VIEWER
   ============================================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 1500;
  display: grid; place-items: center;
  background: rgb(3 6 12 / .9);
  opacity: 0; transition: opacity .22s ease;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__fig { margin: 0; text-align: center; max-width: min(1100px, 92vw); }
.lightbox__fig img {
  max-width: 92vw; max-height: 80svh;
  border-radius: 16px; box-shadow: var(--sh-3);
  background: var(--surface-3);
  transform: scale(.96); transition: transform .24s cubic-bezier(.22,.61,.36,1);
}
.lightbox.is-open .lightbox__fig img { transform: scale(1); }
.lightbox__fig figcaption { color: #cbd7ec; font-size: 13px; margin-top: 12px; }
.lightbox__x,
.lightbox__nav {
  position: absolute; z-index: 2;
  display: grid; place-items: center;
  border: 1px solid rgb(255 255 255 / .18); border-radius: 50%;
  background: rgb(255 255 255 / .08); color: #e8eefb; cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.lightbox__x { top: 18px; right: 18px; width: 42px; height: 42px; }
.lightbox__nav { top: 50%; translate: 0 -50%; width: 48px; height: 48px; }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
.lightbox__x:hover, .lightbox__nav:hover { background: rgb(255 255 255 / .18); transform: scale(1.06); }
@media (max-width: 640px) {
  .lightbox__nav { width: 40px; height: 40px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}


/* ============================================================================
   20 — FIELD ICONS, STAT ICONS, MISC ICON POLISH
   ============================================================================ */
.form-group { position: relative; }
.field-ico {
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  position: absolute; left: 14px; top: 40px;
  width: 17px; height: 17px; color: var(--text-mute);
  pointer-events: none;
}
.form-group input, .form-group select { padding-left: 41px; }
.form-group textarea { padding-left: 41px; }
.form-group input:focus ~ .field-ico,
.form-group textarea:focus ~ .field-ico { color: var(--brand); }
html { scrollbar-gutter: stable; }
@media (max-width: 640px) {
  .form-group input, .form-group select, .form-group textarea { font-size: 16px; }  /* no iOS focus-zoom */
}
.stat { display: flex; flex-direction: column; align-items: center; }
.stat__ico { color: var(--brand); margin-bottom: 8px; }
html[data-theme="dark"] .stat__ico { color: var(--brand-3, #7c9dff); }
.price-card__badge { display: inline-flex; align-items: center; gap: 6px; }
.team-card__cert { display: inline-flex; align-items: center; gap: 6px; }
.caseband__kicker { display: inline-flex; align-items: center; gap: 7px; }
.modal__ico { color: var(--brand); flex-shrink: 0; }
html[data-theme="dark"] .modal__ico { color: var(--brand-3, #7c9dff); }
/* footer links: chevron appears on hover */
.footer__col ul li a { position: relative; transition: color .2s ease, padding-left .2s ease; }
.footer__col ul li a::before {
  content: ''; position: absolute; left: 0; top: 50%; translate: 0 -50%;
  width: 12px; height: 12px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0; transition: opacity .2s ease;
}
.footer__col ul li a:hover { padding-left: 18px; }
.footer__col ul li a:hover::before { opacity: 1; }
