/* =========================================================
   VIREKSA DIGITAL INOVASI — Stylesheet
   Editorial / studio aesthetic.
   Brand gradient (blue #0A2A6B -> teal #18C2A6) used as ACCENT.
   Base is a warm off-white with fine grid lines and big type.
   ========================================================= */

:root {
  --blue-900: #0A2A6B;
  --blue-700: #1340A8;
  --teal-500: #15B69B;
  --teal-400: #2DD4BF;
  --grad: linear-gradient(100deg, #0A2A6B 0%, #1340A8 50%, #15B69B 100%);

  --ink: #14171C;
  --ink-2: #3A424E;
  --muted: #757E8C;
  --faint: #A6ADB8;

  --paper: #FBFAF7;     /* warm off-white */
  --paper-2: #F4F2EC;   /* slightly deeper */
  --card: #FFFFFF;
  --ink-bg: #0D1117;    /* near-black sections */

  --line: #E7E4DB;      /* warm hairline */
  --line-2: #DCD8CD;

  --r: 14px;
  --r-lg: 22px;

  --shadow: 0 1px 2px rgba(20,23,28,.04), 0 12px 30px rgba(20,23,28,.06);
  --shadow-lg: 0 1px 2px rgba(20,23,28,.05), 0 30px 60px rgba(20,23,28,.10);

  --maxw: 1200px;
  --display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* fine film grain so flat color doesn't read as "stock template" */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.section { padding: 110px 0; }
.section--alt { background: var(--paper-2); }
.section--tight { padding: 80px 0; }

/* hairline divider that frames sections like a real grid layout */
.ruled { border-top: 1px solid var(--line); }

.text-grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.04;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 500; }
h3 { font-size: 1.18rem; font-weight: 600; letter-spacing: -.01em; }
p  { color: var(--ink-2); }

/* numbered mono micro-label — the "designed" signal, not an emoji pill */
.label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display);
  font-size: .74rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}
.label::before {
  content: ''; width: 26px; height: 1px; background: var(--ink); opacity: .5;
}
.label b { color: var(--ink); font-variant-numeric: tabular-nums; }

.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .label { justify-content: center; }
.section-head h2 { margin-top: 20px; }
.section-head p { margin-top: 20px; font-size: 1.12rem; color: var(--muted); max-width: 580px; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-weight: 500; font-size: .98rem;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), background .25s, color .25s, border-color .25s;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { transform: translateY(-2px); background: var(--blue-900); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); }
.btn--lined { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--lined:hover { background: rgba(255,255,255,.1); }

/* text link with animated arrow */
.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 600; font-size: .92rem;
  color: var(--ink);
}
.arrow-link svg { width: 16px; height: 16px; transition: transform .25s; }
.arrow-link:hover svg { transform: translateX(5px); }

/* =========================================================
   NAVBAR
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,250,247,.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
/* Solid fallback when backdrop-filter unsupported (older Firefox/IE) */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .nav { background: rgba(251,250,247,.98); }
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; }
.brand__logo { height: 38px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; }
.brand__tag { font-size: .58rem; letter-spacing: .28em; color: var(--muted); font-weight: 600; text-transform: uppercase; margin-top: 4px; }

.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a {
  font-family: var(--display);
  font-weight: 500; font-size: .94rem;
  color: var(--ink-2);
  padding: 9px 16px; border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a.active { color: var(--ink); }
.nav__links a.active::after {
  content: ''; display: block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--teal-500); margin: 3px auto 0;
}
.nav__cta {
  margin-left: 12px;
  position: relative;
  background: var(--grad);
  background-size: 160% 100%;
  background-position: 0% 50%;
  color: #fff;
  border: 0;
  padding-right: 20px;
  box-shadow: 0 6px 18px rgba(19, 64, 168, .22);
  overflow: hidden;
  transition: transform .25s cubic-bezier(.2,.7,.3,1),
              box-shadow .3s ease, background-position .5s ease;
}
/* subtle sheen that sweeps across on hover */
.nav__cta::before {
  content: '';
  position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-18deg);
  transition: left .6s ease;
}
.nav__cta:hover {
  transform: translateY(-2px);
  background: var(--grad);
  background-position: 100% 50%;
  box-shadow: 0 10px 26px rgba(21, 182, 155, .32);
}
.nav__cta:hover::before { left: 130%; }
.nav__cta-arrow {
  width: 16px; height: 16px;
  transition: transform .25s cubic-bezier(.2,.7,.3,1);
}
.nav__cta:hover .nav__cta-arrow { transform: translateX(4px); }
.nav__cta.active::after { display: none; }
/* keep label + arrow above the sheen overlay and force white text */
.nav__cta > span,
.nav__cta-arrow {
  position: relative;
  z-index: 1;
  color: #fff;
}

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO — editorial, asymmetric, no blurry blobs
   ========================================================= */
.hero { position: relative; padding: 80px 0 0; border-bottom: 1px solid var(--line); }
.hero__intro { display: grid; grid-template-columns: 1.6fr 1fr; gap: 50px; align-items: end; padding-bottom: 56px; }
.hero h1 { margin: 26px 0 0; }
.hero h1 em { font-style: normal; }
.hero__aside { padding-bottom: 8px; }
.hero__aside p { font-size: 1.06rem; color: var(--ink-2); margin-bottom: 26px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* lower band: stats + product panel sitting on a ruled grid */
.hero__band { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; border-top: 1px solid var(--line); }
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); border-right: 1px solid var(--line); }
.hero__stat { padding: 34px 26px 34px 0; }
.hero__stat:not(:last-child) { border-right: 1px solid var(--line); padding-left: 0; }
.hero__stat { padding-left: 26px; }
.hero__stat:first-child { padding-left: 0; }
.hero__stat .num { font-family: var(--display); font-size: 2.4rem; font-weight: 500; letter-spacing: -.02em; }
.hero__stat .lbl { font-size: .82rem; color: var(--muted); margin-top: 6px; }

.hero__panel { padding: 40px 0 40px 50px; }
.window {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.window__bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
.window__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); display: block; }
.window__bar i:nth-child(1) { background: #E5806B; }
.window__bar i:nth-child(2) { background: #E7C26B; }
.window__bar i:nth-child(3) { background: #7FC8A0; }
.window__bar span { margin-left: 8px; font-family: var(--display); font-size: .76rem; color: var(--muted); }
.window__body { padding: 8px 18px; }
.win-row { display: flex; align-items: center; gap: 14px; padding: 16px 4px; }
.win-row + .win-row { border-top: 1px solid var(--line); }
.win-row .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; background: var(--paper-2); color: var(--blue-900); }
.win-row .ic svg { width: 20px; height: 20px; }
.win-row b { font-family: var(--display); font-weight: 600; font-size: .96rem; }
.win-row small { display: block; color: var(--muted); font-size: .82rem; }
.win-row .pct { margin-left: auto; font-family: var(--display); font-weight: 600; font-size: .9rem; color: var(--teal-500); }

/* =========================================================
   MARQUEE TRUST STRIP
   ========================================================= */
.marquee { border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--paper); }
.marquee__track { display: flex; gap: 60px; white-space: nowrap; width: -webkit-max-content; width: max-content; animation: slide 28s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-family: var(--display); font-weight: 500; font-size: 1.05rem; color: var(--faint); letter-spacing: .01em; }
@keyframes slide { to { transform: translateX(-50%); } }

/* =========================================================
   SERVICES — numbered list rows (not generic 3-card grid)
   ========================================================= */
.svc-list { border-top: 1px solid var(--line); }
.svc-row {
  display: grid; grid-template-columns: 90px 1fr 1.4fr auto;
  gap: 30px; align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .3s, background .3s;
}
.svc-row:hover { padding-left: 16px; padding-right: 16px; background: var(--card); }
.svc-row__no { font-family: var(--display); font-size: .9rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.svc-row__title { font-family: var(--display); font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em; display: flex; align-items: center; gap: 14px; }
.svc-row__title .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--grad); }
.svc-row__desc { color: var(--muted); font-size: .98rem; }
.svc-row__go { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink); transition: .25s; }
.svc-row__go svg { width: 18px; height: 18px; transition: transform .25s; }
.svc-row:hover .svc-row__go { background: var(--ink); color: #fff; border-color: var(--ink); }
.svc-row:hover .svc-row__go svg { transform: rotate(-45deg); }

/* generic card (used on services/about/portfolio detail) */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
/* gap-grid variant (cards detached) */
.grid.detached { background: transparent; border: 0; gap: 24px; border-radius: 0; overflow: visible; }

.card { background: var(--card); padding: 38px 32px; transition: background .25s, transform .25s; position: relative; }
.grid:not(.detached) .card:hover { background: var(--paper); }
.grid.detached .card { border: 1px solid var(--line); border-radius: var(--r); }
.grid.detached .card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card__no { position: absolute; top: 30px; right: 32px; font-family: var(--display); font-size: .82rem; color: var(--faint); }
.card__icon { width: 50px; height: 50px; border-radius: 12px; background: var(--paper-2); color: var(--blue-900); display: grid; place-items: center; margin-bottom: 26px; }
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 12px; }
.card p { font-size: .96rem; color: var(--muted); }
.card__link { margin-top: 20px; }

/* feature mini */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature__ic { flex-shrink: 0; width: 42px; height: 42px; border-radius: 11px; background: var(--paper-2); color: var(--blue-900); display: grid; place-items: center; }
.feature__ic svg { width: 20px; height: 20px; }
.feature h3 { font-size: 1.04rem; margin-bottom: 6px; }
.feature p { font-size: .92rem; color: var(--muted); }

/* =========================================================
   SPLIT
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split__visual {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  min-height: 460px; background: var(--ink-bg);
  border: 1px solid var(--line);
}
.split__visual .mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(19,64,168,.6), transparent 55%),
    radial-gradient(120% 120% at 100% 100%, rgba(21,182,155,.55), transparent 55%);
}
.split__visual .grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 44px 44px;
}
.split__visual .glass {
  position: absolute; inset: auto 26px 26px 26px;
  background: rgba(255,255,255,.97); border-radius: var(--r); padding: 24px;
}
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-weight: 500; color: var(--ink); font-size: .96rem; }
.checklist .tick { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.checklist .tick svg { width: 12px; height: 12px; }

/* =========================================================
   STEPS
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.step { padding: 36px 28px; border-right: 1px solid var(--line); background: var(--card); transition: background .25s; }
.step:last-child { border-right: 0; }
.step:hover { background: var(--paper); }
.step__no { font-family: var(--display); font-size: .9rem; color: var(--teal-500); font-weight: 600; margin-bottom: 28px; letter-spacing: .1em; }
.step h3 { font-size: 1.12rem; margin-bottom: 10px; }
.step p { font-size: .92rem; color: var(--muted); }

/* =========================================================
   STATS BAND (dark)
   ========================================================= */
.stats-band { background: var(--ink-bg); color: #fff; }
.stats-band .label { color: #8B93A1; }
.stats-band .label::before { background: #fff; }
.stats-band .label b { color: #fff; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; }
.stat-box { padding: 40px 24px 0 0; border-right: 1px solid rgba(255,255,255,.12); }
.stat-box:last-child { border-right: 0; }
.stat-box:not(:first-child) { padding-left: 24px; }
.stat-box .num { font-family: var(--display); font-size: 3rem; font-weight: 500; letter-spacing: -.03em; }
.stat-box .num em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-box .lbl { color: #9AA2B0; font-size: .92rem; margin-top: 8px; }

/* =========================================================
   PRICING
   ========================================================= */
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 38px 32px; position: relative; transition: transform .25s, box-shadow .25s; }
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.price-card.featured { background: var(--ink-bg); color: #fff; border-color: var(--ink-bg); }
.price-card.featured .plan { color: var(--teal-400); }
.price-card.featured p { color: #9AA2B0; }
.price-card.featured li { color: #C7CCD4; }
.price-card .tag-pop { position: absolute; top: 32px; right: 32px; font-family: var(--display); font-size: .68rem; font-weight: 600; letter-spacing: .14em; color: var(--teal-400); }
.price-card .plan { font-family: var(--display); font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.price-card .amount { font-family: var(--display); font-size: 2.6rem; font-weight: 500; letter-spacing: -.03em; margin: 16px 0 4px; }
.price-card .amount span { font-size: .9rem; color: var(--muted); font-weight: 400; }
.price-card ul { margin: 26px 0; }
.price-card li { display: flex; gap: 11px; align-items: flex-start; padding: 9px 0; font-size: .92rem; color: var(--ink-2); }
.price-card li svg { width: 17px; height: 17px; color: var(--teal-500); flex-shrink: 0; margin-top: 3px; }
.price-card.featured li svg { color: var(--teal-400); }

/* =========================================================
   TESTIMONIAL
   ========================================================= */
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; display: flex; flex-direction: column; }
.quote__stars { color: var(--ink); margin-bottom: 18px; letter-spacing: 3px; font-size: .9rem; }
.quote p { font-family: var(--display); font-size: 1.14rem; line-height: 1.5; color: var(--ink); font-weight: 400; letter-spacing: -.01em; }
.quote__who { display: flex; align-items: center; gap: 13px; margin-top: auto; padding-top: 26px; }
.quote__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--paper-2); color: var(--blue-900); display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: .9rem; border: 1px solid var(--line); }
.quote__who b { display: block; font-size: .94rem; font-family: var(--display); }
.quote__who small { color: var(--muted); }

/* =========================================================
   CTA
   ========================================================= */
.cta { position: relative; overflow: hidden; background: var(--ink-bg); border-radius: var(--r-lg); padding: 80px; text-align: center; color: #fff; }
.cta .mesh { position: absolute; inset: 0; background: radial-gradient(100% 140% at 50% 0%, rgba(19,64,168,.45), transparent 60%), radial-gradient(80% 120% at 50% 100%, rgba(21,182,155,.4), transparent 60%); }
.cta > * { position: relative; }
.cta h2 { color: #fff; max-width: 640px; margin: 18px auto 0; }
.cta p { color: #9AA2B0; max-width: 520px; margin: 20px auto 32px; }
.cta .hero__actions { justify-content: center; }
.cta .label { color: #8B93A1; justify-content: center; }
.cta .label::before { background: #fff; }
.cta .label b { color: #fff; }

/* =========================================================
   PAGE HEAD (inner)
   ========================================================= */
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding: 64px 0 72px; }
.breadcrumb { font-family: var(--display); font-size: .82rem; color: var(--muted); margin-bottom: 30px; }
.breadcrumb a:hover { color: var(--ink); }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); max-width: 880px; margin-top: 22px; }
.page-head p { color: var(--muted); max-width: 600px; margin-top: 22px; font-size: 1.12rem; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; }
.info-item { display: flex; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.info-item:last-child { border-bottom: 1px solid var(--line); }
.info-item .ic { width: 44px; height: 44px; border-radius: 11px; background: var(--paper-2); color: var(--blue-900); display: grid; place-items: center; flex-shrink: 0; }
.info-item .ic svg { width: 20px; height: 20px; }
.info-item b { display: block; margin-bottom: 3px; font-family: var(--display); }
.info-item p { font-size: .95rem; color: var(--muted); }

.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 38px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--display); font-weight: 500; font-size: .86rem; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--line-2); border-radius: 11px;
  font-family: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); background: #fff;
}
.field textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__note { font-size: .82rem; color: var(--muted); margin-top: 8px; }
.form-success { background: var(--paper-2); border: 1px solid var(--line-2); border-radius: 11px; padding: 14px 16px; color: var(--blue-900); font-weight: 500; font-size: .9rem; margin-top: 16px; display: none; }
.form-success.show { display: block; }

/* =========================================================
   TEAM / VALUES / PORTFOLIO
   ========================================================= */
.member { text-align: left; }
.member__avatar { width: 100%; aspect-ratio: 1/1; border-radius: var(--r); margin-bottom: 18px; background: var(--ink-bg); color: #fff; display: grid; place-items: center; font-family: var(--display); font-size: 2.2rem; font-weight: 500; position: relative; overflow: hidden; }
/* aspect-ratio fallback for older Safari (<15) */
@supports not (aspect-ratio: 1/1) {
  .member__avatar::before { content: ''; display: block; padding-top: 100%; }
  .member__avatar > * { position: absolute; }
}
.member__avatar .mesh { position: absolute; inset: 0; background: radial-gradient(120% 120% at 30% 20%, rgba(19,64,168,.6), transparent 55%), radial-gradient(120% 120% at 80% 90%, rgba(21,182,155,.5), transparent 55%); }
.member__avatar span { position: relative; }
.member b { display: block; font-family: var(--display); font-size: 1.05rem; }
.member small { color: var(--muted); }

.work { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--card); transition: transform .25s, box-shadow .25s; }
.work:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.work__thumb { height: 220px; background: var(--ink-bg); position: relative; display: grid; place-items: center; color: #fff; font-family: var(--display); font-weight: 500; font-size: 1.5rem; letter-spacing: -.01em; }
.work__thumb .mesh { position: absolute; inset: 0; background: radial-gradient(120% 120% at 20% 10%, rgba(19,64,168,.6), transparent 55%), radial-gradient(120% 120% at 90% 90%, rgba(21,182,155,.5), transparent 55%); }
.work__thumb .grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 36px 36px; }
.work__thumb span { position: relative; }
.work__body { padding: 24px; }
.work__cat { font-family: var(--display); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-500); }
.work__body h3 { margin: 10px 0 8px; font-size: 1.14rem; }
.work__body p { font-size: .92rem; color: var(--muted); }

.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 44px; }
.chip { border: 1px solid var(--line-2); background: transparent; padding: 9px 18px; border-radius: 999px; font-family: var(--display); font-weight: 500; font-size: .9rem; color: var(--ink-2); cursor: pointer; transition: .2s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 26px 0; font-family: var(--display); font-weight: 500; font-size: 1.12rem; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .pm { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink); display: grid; place-items: center; font-size: 1.1rem; transition: transform .25s, background .25s, color .25s; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 0 26px; font-size: 1rem; color: var(--muted); max-width: 680px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink-bg); color: #C7CCD4; padding: 80px 0 32px; }
.footer__top { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand__name { color: #fff; }
.footer p { color: #8B93A1; font-size: .95rem; margin-top: 18px; max-width: 320px; }
.footer h4 { color: #fff; font-family: var(--display); font-weight: 500; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; }
.footer__col a { display: block; color: #8B93A1; font-size: .94rem; padding: 7px 0; transition: color .2s; }
.footer__col a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: #C7CCD4; transition: .2s; }
.socials a:hover { background: #fff; color: var(--ink); border-color: #fff; }
.socials svg { width: 17px; height: 17px; }
.footer__bottom { padding-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .86rem; color: #6B7382; font-family: var(--display); }

/* =========================================================
   PROSE — rich article/service body content (Summernote output)
   ========================================================= */
.prose { color: var(--ink-2); font-size: 1.06rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; color: var(--ink); letter-spacing: -.02em; margin-top: 1.8em; line-height: 1.2; }
.prose h3 { font-family: var(--display); font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 600; color: var(--ink); margin-top: 1.6em; line-height: 1.25; }
.prose h4 { font-family: var(--display); font-size: 1.1rem; font-weight: 600; color: var(--ink); margin-top: 1.4em; }
.prose p { color: var(--ink-2); }
.prose a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .2s; }
.prose a:hover { color: var(--teal-500); }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-top: .5em; padding-left: .2em; }
.prose li::marker { color: var(--teal-500); }
.prose blockquote {
  border-left: 3px solid var(--teal-500);
  padding: 4px 0 4px 22px; margin-left: 0;
  font-family: var(--display); font-size: 1.2rem; font-style: italic; color: var(--ink);
}
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em; background: var(--paper-2); padding: 2px 7px; border-radius: 6px; color: var(--blue-900); }
.prose pre { background: var(--ink-bg); color: #E6EAF0; padding: 20px 22px; border-radius: var(--r); overflow-x: auto; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9rem; line-height: 1.6; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose img { border-radius: var(--r); margin: 1.4em 0; max-width: 100%; height: auto; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: .86rem; color: var(--muted); text-align: center; margin-top: 8px; }
.prose :first-child { margin-top: 0; }

/* =========================================================
   HERO CAROUSEL (premium)
   ========================================================= */
.carousel { position: relative; outline: none; overflow: hidden; border-bottom: 1px solid var(--line); }
.carousel__viewport { position: relative; min-height: 600px; }
.carousel__slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity .9s cubic-bezier(.4,0,.2,1), visibility .9s;
}
.carousel__slide.is-active { opacity: 1; visibility: visible; z-index: 2; }

/* SLIDE transition variant */
.carousel--slide .carousel__slide { transform: translateX(40px); transition: opacity .8s cubic-bezier(.4,0,.2,1), transform .8s cubic-bezier(.4,0,.2,1), visibility .8s; }
.carousel--slide .carousel__slide.is-prev { transform: translateX(-40px); }
.carousel--slide .carousel__slide.is-active { transform: translateX(0); }

/* themes */
.carousel__slide.theme-dark { background: var(--ink-bg); color: #fff; }
.carousel__slide.theme-gradient { background: var(--grad); color: #fff; }
.carousel__slide.theme-light { background: var(--paper-2); color: var(--ink); }
.carousel__slide.theme-light .carousel__sub { color: var(--ink-2); }
.carousel__slide.theme-light .btn--light { background: var(--ink); color: #fff; }
.carousel__slide.theme-light .btn--lined { color: var(--ink); border-color: var(--line-2); }

.carousel__bg { position: absolute; inset: 0; overflow: hidden; }
.carousel__bg .orb {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5;
  animation: orbFloat 14s ease-in-out infinite;
}
.carousel__bg .orb--1 { width: 420px; height: 420px; top: -120px; right: -60px; background: rgba(21,182,155,.5); }
.carousel__bg .orb--2 { width: 360px; height: 360px; bottom: -120px; left: -40px; background: rgba(19,64,168,.55); animation-delay: -7s; }
.theme-gradient .carousel__bg .orb { opacity: .3; }
.carousel__bg .grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.theme-light .carousel__bg .grid-lines {
  background-image: linear-gradient(rgba(20,23,28,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(20,23,28,.04) 1px, transparent 1px);
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-26px, 26px) scale(1.08); }
}

.carousel__inner { position: relative; z-index: 2; max-width: 860px; padding-top: 40px; padding-bottom: 40px; }
.carousel__inner .label { color: rgba(255,255,255,.7); margin-bottom: 22px; }
.carousel__inner .label::before { background: rgba(255,255,255,.7); }
.carousel__inner .label b { color: #fff; }
.theme-light .carousel__inner .label { color: var(--muted); }
.theme-light .carousel__inner .label::before { background: var(--muted); }
.theme-light .carousel__inner .label b { color: var(--ink); }
.carousel__inner h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
.carousel__sub { font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 560px; margin-top: 22px; color: rgba(255,255,255,.85); }
.carousel__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

/* entrance animation for slide content (only on active slide) */
.carousel__slide .anim { opacity: 0; transform: translateY(28px); }
.carousel__slide.is-active .anim {
  animation: slideUp .8s cubic-bezier(.2,.7,.3,1) forwards;
}
.carousel__slide.is-active .anim-d1 { animation-delay: .12s; }
.carousel__slide.is-active .anim-d2 { animation-delay: .24s; }
.carousel__slide.is-active .anim-d3 { animation-delay: .36s; }
@keyframes slideUp { to { opacity: 1; transform: none; } }

/* arrows */
.carousel__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  color: #fff; cursor: pointer; display: grid; place-items: center;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background .25s, transform .25s;
}
.carousel__arrow svg { width: 22px; height: 22px; }
.carousel__arrow:hover { background: rgba(255,255,255,.25); }
.carousel__arrow--prev { left: 28px; }
.carousel__arrow--next { right: 28px; }
.carousel__arrow--prev:hover { transform: translateY(-50%) translateX(-3px); }
.carousel__arrow--next:hover { transform: translateY(-50%) translateX(3px); }

/* dots with autoplay progress */
.carousel__dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 10px; }
.carousel__dot {
  position: relative; width: 36px; height: 5px; border-radius: 999px;
  background: rgba(255,255,255,.3); border: 0; cursor: pointer; overflow: hidden; padding: 0;
}
.carousel__dot.is-active { background: rgba(255,255,255,.35); }
.carousel__dot-fill { position: absolute; inset: 0; width: 0; background: #fff; border-radius: 999px; }
.carousel__dot.is-active .carousel__dot-fill { animation: dotFill linear forwards; }
@keyframes dotFill { from { width: 0; } to { width: 100%; } }

@media (max-width: 760px) {
  .carousel__viewport { min-height: 520px; }
  .carousel__arrow { display: none; }
  .carousel__actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .carousel__slide, .carousel--slide .carousel__slide { transition: opacity .2s linear; transform: none !important; }
  .carousel__bg .orb { animation: none; }
  .carousel__slide.is-active .anim { animation: none; opacity: 1; transform: none; }
  .carousel__dot-fill { animation: none !important; }
}

/* =========================================================
   PREMIUM CONTAINER ANIMATIONS (reveal variants)
   ========================================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }

/* directional + effect variants (use via v-reveal:variant) */
.reveal-left  { opacity: 0; transform: translateX(-40px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal-right { opacity: 0; transform: translateX(40px);  transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal-scale { opacity: 0; transform: scale(.94);        transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal-blur  { opacity: 0; transform: translateY(24px); filter: blur(8px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.3,1), filter .8s ease; }
.reveal-left.in, .reveal-right.in, .reveal-scale.in, .reveal-blur.in { opacity: 1; transform: none; filter: none; }

/* staggered children: each child animates slightly later */
.stagger > * { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(1) { transition-delay: .05s; }
.stagger.in > *:nth-child(2) { transition-delay: .12s; }
.stagger.in > *:nth-child(3) { transition-delay: .19s; }
.stagger.in > *:nth-child(4) { transition-delay: .26s; }
.stagger.in > *:nth-child(5) { transition-delay: .33s; }
.stagger.in > *:nth-child(6) { transition-delay: .40s; }
.stagger.in > *:nth-child(7) { transition-delay: .47s; }
.stagger.in > *:nth-child(8) { transition-delay: .54s; }

/* subtle lift on hover for interactive containers */
.hover-lift { transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s; }
.hover-lift:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1000px) {
  .hero__intro { grid-template-columns: 1fr; gap: 32px; }
  .hero__band { grid-template-columns: 1fr; }
  .hero__stats { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero__panel { padding: 40px 0; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat-box { padding-bottom: 32px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 760px) {
  .section, .section--tight { padding: 72px 0; }
  .nav__links {
    position: fixed; top: 78px; left: 0; right: 0;
    background: var(--paper); flex-direction: column; align-items: stretch;
    padding: 18px 28px 28px; gap: 2px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .35s cubic-bezier(.2,.7,.3,1);
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 14px 14px; }
  .nav__links a.active::after { display: none; }
  .nav__cta { margin: 10px 0 0; }
  .nav__toggle { display: flex; }
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .stat-row { grid-template-columns: 1fr; }
  .stat-box { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); padding-left: 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .cta { padding: 50px 26px; }
  .svc-row { grid-template-columns: 40px 1fr; gap: 14px 18px; }
  .svc-row__desc { grid-column: 2; }
  .svc-row__go { display: none; }
  .hero__stats { grid-template-columns: 1fr; }
  .hero__stat { border-right: 0 !important; border-bottom: 1px solid var(--line); padding: 22px 0 !important; }
}

/* ---- Small phones (≤480px) ---- */
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .section, .section--tight { padding: 56px 0; }
  h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero { padding: 48px 0 0; }
  .hero__intro { padding-bottom: 40px; }
  .hero h1 { margin-top: 18px; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .btn { padding: 13px 20px; font-size: .95rem; }
  .card { padding: 28px 22px; }
  .quote, .price-card, .form { padding: 26px 22px; }
  .cta { padding: 40px 20px; }
  .cta h2 { font-size: 1.6rem; }
  .section-head { margin-bottom: 40px; }
  .svc-row__title { font-size: 1.2rem; }
  .stat-box .num { font-size: 2.4rem; }
  .work__thumb { height: 170px; font-size: 1.2rem; }
  .page-head { padding: 44px 0 48px; }
  .footer { padding: 56px 0 28px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}

/* ---- Landscape phones: keep nav usable ---- */
@media (max-width: 760px) and (orientation: landscape) {
  .nav__links { max-height: calc(100vh - 78px); overflow-y: auto; }
}

/* ---- Respect reduced-motion preference (accessibility) ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .reveal-left, .reveal-right, .reveal-scale, .reveal-blur, .stagger > * { opacity: 1 !important; transform: none !important; filter: none !important; }
  .marquee__track { animation: none !important; }
}
