/* =====================================================================
   FRAMEWORKS — 2D/3D Animation Studio · Premium Multi-Page Template
   Plain HTML5 + CSS3. No frameworks. Offline-ready (no external images).
   ---------------------------------------------------------------------
   REBRAND TIP: Change the whole look by editing the CSS variables in
   :root below. Swap --accent / --accent2 / --accent3 for your colors,
   adjust --ink / --bg, and update --font-head / --font-body plus the
   Google Fonts <link> in each HTML file. Everything else cascades.
   ===================================================================== */

:root {
  /* --- Brand palette (edit these to rebrand) --- */
  --bg:       #fffdf7;   /* cream page background                    */
  --ink:      #221d33;   /* near-black ink (headings / text)         */
  --accent:   #ff5da2;   /* playful pink (primary)                   */
  --accent2:  #5ad1c9;   /* teal (secondary)                         */
  --accent3:  #ffb830;   /* warm yellow (tertiary)                   */
  --muted:    #877f8c;   /* muted text                               */
  --surface:  #ffffff;   /* cards / surfaces                         */
  --line:     #efe7ea;   /* borders / dividers                       */

  /* derived helpers */
  --accent-dark: #e63f88; /* darker pink for hovers                  */
  --soft:        #fef5f9; /* soft pink-tinted alt background         */

  /* --- Fonts --- */
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* --- Shape & motion --- */
  --radius:    20px;
  --radius-sm: 12px;
  --shadow:    0 12px 34px rgba(34, 29, 51, .08);
  --shadow-lg: 0 26px 64px rgba(34, 29, 51, .16);
  --ease:      .35s cubic-bezier(.4, 0, .2, 1);

  /* --- Layout --- */
  --maxw: 1180px;
  --gutter: 24px;
}

/* ---------------------------------------------------------------------
   RESET / BASE
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: #4a4452;
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -.025em;
}

h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1rem; }

a { color: var(--accent); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--accent-dark); }

img, svg { max-width: 100%; display: block; }

ul { margin: 0; padding: 0; list-style: none; }

/* ---------------------------------------------------------------------
   LAYOUT HELPERS
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 92px 0; }
.section--soft { background: var(--soft); }
.section--tight { padding: 64px 0; }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: rgba(255, 93, 162, .12);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.lead { font-size: 1.12rem; color: #4a4452; }
.muted { color: var(--muted); }

/* ---------------------------------------------------------------------
   BUTTONS
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .98rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease), border-color var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 93, 162, .34);
}
.btn-primary:hover { background: var(--accent-dark); color: #fff; box-shadow: 0 14px 32px rgba(255, 93, 162, .46); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }

.btn-light {
  background: rgba(255,255,255,.16);
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-light:hover { background: #fff; color: var(--ink); }

/* ---------------------------------------------------------------------
   HEADER / NAV  (shared, identical IDs on every page)
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 247, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.26rem;
  color: var(--ink);
  letter-spacing: -.03em;
}
.brand:hover { color: var(--ink); }
.brand .logo-mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  display: grid; place-items: center;
  box-shadow: 0 8px 18px rgba(255, 93, 162, .4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .96rem;
  color: #4a4452;
  padding: 9px 15px;
  border-radius: 10px;
  transition: background var(--ease), color var(--ease);
}
.nav-links a:hover { background: rgba(255, 93, 162, .1); color: var(--accent-dark); }
.nav-links a.active { color: var(--accent-dark); }

.nav-cta { margin-left: 8px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  background: rgba(255, 93, 162, .1);
  border: none;
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------------
   HERO (home)
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(820px 520px at 88% -10%, rgba(90,209,201,.28), transparent 60%),
    radial-gradient(680px 520px at -5% 110%, rgba(255,184,48,.24), transparent 58%),
    radial-gradient(560px 460px at 50% 120%, rgba(255,93,162,.12), transparent 60%),
    var(--bg);
  padding: 84px 0 92px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 .pink { color: var(--accent); }
.hero h1 .teal { color: var(--accent2); }
.hero .lead { max-width: 540px; margin-bottom: 30px; color: #4a4452; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-meta { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-meta div strong {
  font-family: var(--font-head);
  font-size: 1.9rem;
  color: var(--ink);
  display: block;
  line-height: 1;
}
.hero-meta div span { font-size: .9rem; color: var(--muted); }

/* Hero visual — pure CSS playful character + shapes */
.hero-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}
/* bouncing geometric shapes */
.hv-shape {
  position: absolute;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.hv-shape.circle {
  width: 92px; height: 92px; border-radius: 50%;
  top: 6%; left: 8%;
  background: linear-gradient(140deg, var(--accent3), #ff9f1c);
  animation: floatY 5s ease-in-out infinite;
}
.hv-shape.square {
  width: 72px; height: 72px;
  bottom: 10%; left: 2%;
  background: linear-gradient(140deg, var(--accent2), #3bb8b0);
  transform: rotate(12deg);
  animation: floatY 6s ease-in-out infinite .8s;
}
.hv-shape.tri {
  top: 12%; right: 6%;
  width: 0; height: 0; border-radius: 0;
  border-left: 42px solid transparent;
  border-right: 42px solid transparent;
  border-bottom: 70px solid var(--accent);
  box-shadow: none;
  filter: drop-shadow(0 12px 22px rgba(255,93,162,.4));
  animation: spinSlow 9s linear infinite;
}
.hv-shape.ring {
  width: 78px; height: 78px; border-radius: 50%;
  bottom: 8%; right: 4%;
  background: transparent;
  border: 12px solid var(--accent);
  box-shadow: none;
  animation: floatY 5.5s ease-in-out infinite .4s;
}
/* the smiley character at center */
.hv-char {
  position: relative;
  width: 230px; height: 230px;
  border-radius: 38% 62% 58% 42% / 48% 44% 56% 52%;
  background: linear-gradient(150deg, var(--accent), #ff86bd);
  box-shadow: var(--shadow-lg);
  animation: morph 8s ease-in-out infinite, floatY 4.5s ease-in-out infinite;
  display: grid;
  place-items: center;
}
.hv-char .eye {
  position: absolute;
  width: 26px; height: 34px;
  background: #fff;
  border-radius: 50%;
  top: 38%;
}
.hv-char .eye::after {
  content: "";
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--ink);
  left: 50%; top: 52%;
  transform: translate(-50%, -50%);
}
.hv-char .eye.l { left: 30%; }
.hv-char .eye.r { right: 30%; }
.hv-char .mouth {
  position: absolute;
  width: 56px; height: 28px;
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;
  background: var(--ink);
  bottom: 30%;
}
.hv-char .cheek {
  position: absolute;
  width: 22px; height: 14px;
  border-radius: 50%;
  background: rgba(255,184,48,.7);
  bottom: 33%;
}
.hv-char .cheek.l { left: 20%; }
.hv-char .cheek.r { right: 20%; }
.hv-tag {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  color: var(--ink);
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.hv-tag .dot { color: var(--accent2); }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes morph {
  0%, 100% { border-radius: 38% 62% 58% 42% / 48% 44% 56% 52%; }
  50% { border-radius: 56% 44% 42% 58% / 56% 58% 42% 44%; }
}
@media (prefers-reduced-motion: reduce) {
  .hv-char, .hv-shape { animation: none !important; }
}

/* ---------------------------------------------------------------------
   CLIENT STRIP
   --------------------------------------------------------------------- */
.trusted { padding: 40px 0; border-bottom: 1px solid var(--line); }
.trusted p { text-align: center; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 46px;
}
.logo-strip span {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--muted);
  opacity: .7;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity var(--ease), color var(--ease);
}
.logo-strip span:hover { opacity: 1; color: var(--accent); }

/* ---------------------------------------------------------------------
   CARDS / GRIDS
   --------------------------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(255,93,162,.3); }

.card .icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: rgba(90,209,201,.16);
  display: grid; place-items: center;
  font-size: 1.7rem;
  margin-bottom: 18px;
}
.card:nth-child(3n+2) .icon { background: rgba(255,184,48,.18); }
.card:nth-child(3n) .icon { background: rgba(255,93,162,.14); }
.card h3 { margin-bottom: 8px; }
.card p { color: #4a4452; margin-bottom: 0; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
}
.card-link span { transition: transform var(--ease); }
.card-link:hover span { transform: translateX(4px); }

/* Feature list */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .tick {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(255,93,162,.32);
}
.feature h3 { font-size: 1.12rem; margin-bottom: 4px; }
.feature p { margin-bottom: 0; font-size: .98rem; }

/* Split section */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split--reverse .split-media { order: 2; }
.split-media {
  border-radius: 24px;
  min-height: 380px;
  background: linear-gradient(150deg, var(--accent2), #3bb8b0);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  padding: 32px;
}
.split-media::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(380px 300px at 80% 18%, rgba(255,184,48,.4), transparent 60%);
}

/* ---------------------------------------------------------------------
   WORK GRID (index + work page)
   --------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
  justify-content: center;
}
.filter-bar button {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.filter-bar button:hover { color: var(--ink); border-color: var(--ink); }
.filter-bar button.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.work-card {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease);
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work-thumb {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.work-thumb span.tag {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.8rem;
  color: rgba(255,255,255,.95);
  letter-spacing: -.03em;
}
.work-thumb::after {
  content: "";
  position: absolute;
  width: 52%; aspect-ratio: 1;
  border: 1.6px solid rgba(255,255,255,.4);
  border-radius: 50%;
  bottom: -20%; right: -12%;
}
.work-g1 { background: linear-gradient(150deg, var(--accent), #ff9f1c); }
.work-g2 { background: linear-gradient(150deg, var(--accent2), #2f9d96); }
.work-g3 { background: linear-gradient(150deg, var(--accent3), #ff7a5c); }
.work-g4 { background: linear-gradient(150deg, #6c5ce7, var(--accent)); }
.work-g5 { background: linear-gradient(150deg, var(--accent), var(--accent2)); }
.work-g6 { background: linear-gradient(150deg, #ff7a9d, #ff5da2); }
.work-g7 { background: linear-gradient(150deg, var(--accent2), var(--accent3)); }
.work-g8 { background: linear-gradient(150deg, #4834d4, #686de0); }
.work-g9 { background: linear-gradient(150deg, var(--accent3), var(--accent)); }
.work-meta {
  padding: 18px 20px 20px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.work-meta h3 { margin: 0; font-size: 1.12rem; }
.work-meta .cat {
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}
/* Play overlay */
.work-card .overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(34,29,51,.32);
  opacity: 0;
  transition: opacity var(--ease);
}
.work-thumb { position: relative; }
.work-card:hover .overlay { opacity: 1; }
.work-card .overlay .play {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  color: var(--accent);
  padding-left: 4px;
  box-shadow: var(--shadow-lg);
  transform: scale(.85);
  transition: transform var(--ease);
}
.work-card:hover .overlay .play { transform: scale(1); }
/* always-visible small play badge on thumb corner */
.work-thumb .badge {
  position: absolute;
  top: 14px; left: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  display: grid; place-items: center;
  font-size: .8rem;
  padding-left: 2px;
  z-index: 2;
}

/* ---------------------------------------------------------------------
   STATS BAND
   --------------------------------------------------------------------- */
.stats-band {
  background: linear-gradient(135deg, var(--ink), #352c4d);
  color: #fff;
}
.stats-band .section-head h2 { color: #fff; }
.stats-band .section-head .lead,
.stats-band .section-head p { color: rgba(255,255,255,.8); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.stat strong {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3rem);
  display: block;
  line-height: 1;
  background: linear-gradient(120deg, var(--accent3), var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat span { color: rgba(255,255,255,.8); font-size: .95rem; }

/* ---------------------------------------------------------------------
   PROCESS STEPS
   --------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.step .num {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent3));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.step:nth-child(2) .num { background: linear-gradient(135deg, var(--accent2), #3bb8b0); }
.step:nth-child(3) .num { background: linear-gradient(135deg, var(--accent3), #ff9f1c); }
.step:nth-child(4) .num { background: linear-gradient(135deg, #6c5ce7, var(--accent)); }
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { margin-bottom: 0; font-size: .95rem; }

/* ---------------------------------------------------------------------
   TESTIMONIALS
   --------------------------------------------------------------------- */
.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 34px;
  box-shadow: var(--shadow);
}
.quote-card .stars { color: var(--accent3); margin-bottom: 14px; letter-spacing: 2px; }
.quote-card blockquote {
  margin: 0 0 22px;
  font-size: 1.12rem;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.5;
}
.quote-author { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}
.quote-author b { display: block; font-family: var(--font-head); color: var(--ink); }
.quote-author span { font-size: .88rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   CTA BAND
   --------------------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(560px 380px at 88% 8%, rgba(90,209,201,.45), transparent 60%),
    radial-gradient(480px 360px at 8% 100%, rgba(255,184,48,.4), transparent 60%),
    linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  border-radius: 30px;
  padding: 62px 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 560px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
   PAGE BANNER (inner pages)
   --------------------------------------------------------------------- */
.page-banner {
  background:
    radial-gradient(640px 380px at 86% -20%, rgba(90,209,201,.28), transparent 60%),
    radial-gradient(520px 360px at 0% 120%, rgba(255,184,48,.22), transparent 60%),
    var(--soft);
  padding: 66px 0 58px;
  border-bottom: 1px solid var(--line);
}
.page-banner h1 { margin-bottom: 10px; }
.page-banner p { max-width: 640px; color: #4a4452; margin-bottom: 0; }
.breadcrumb {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--accent-dark); }
.breadcrumb span { margin: 0 6px; }

/* ---------------------------------------------------------------------
   SERVICES PAGE — detailed blocks
   --------------------------------------------------------------------- */
.service-block {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 24px;
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease);
}
.service-block:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-block .s-icon {
  width: 66px; height: 66px;
  border-radius: 18px;
  background: rgba(90,209,201,.16);
  display: grid; place-items: center;
  font-size: 2rem;
}
.service-block:nth-child(3n+2) .s-icon { background: rgba(255,184,48,.18); }
.service-block:nth-child(3n) .s-icon { background: rgba(255,93,162,.14); }
.service-block h3 { margin-bottom: 8px; }
.deliverables { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.deliverables li {
  font-size: .85rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--accent-dark);
  background: rgba(255,93,162,.1);
  padding: 6px 14px;
  border-radius: 999px;
}

/* ---------------------------------------------------------------------
   ABOUT — values + team
   --------------------------------------------------------------------- */
.value-card .icon { background: linear-gradient(135deg, rgba(255,93,162,.14), rgba(255,184,48,.2)); }

.team-card { text-align: center; }
.team-card .team-photo {
  width: 110px; height: 110px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: var(--shadow);
}
.team-card:nth-child(2) .team-photo { background: linear-gradient(135deg, var(--accent2), var(--accent3)); }
.team-card:nth-child(3) .team-photo { background: linear-gradient(135deg, var(--accent3), var(--accent)); }
.team-card:nth-child(4) .team-photo { background: linear-gradient(135deg, #6c5ce7, var(--accent)); }
.team-card h3 { font-size: 1.15rem; margin-bottom: 2px; }
.team-card .role { color: var(--accent-dark); font-family: var(--font-head); font-weight: 700; font-size: .9rem; margin-bottom: 10px; }
.team-card p { font-size: .92rem; color: var(--muted); margin-bottom: 0; }

/* ---------------------------------------------------------------------
   CONTACT
   --------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,93,162,.14);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .error-msg { color: #dc2626; font-size: .82rem; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #dc2626; }
.field.invalid .error-msg { display: block; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(90,209,201,.16);
  border: 1px solid var(--accent2);
  color: #1f8a82;
  font-weight: 600;
}
.form-status.show { display: block; }

.info-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 22px;
}
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.info-row:last-child { margin-bottom: 0; }
.info-row .info-ic {
  width: 46px; height: 46px; flex: 0 0 auto;
  border-radius: 12px; background: #fff;
  display: grid; place-items: center; font-size: 1.3rem;
  box-shadow: var(--shadow);
}
.info-row b { font-family: var(--font-head); color: var(--ink); display: block; }
.info-row span { font-size: .94rem; }

/* Map placeholder */
.map-placeholder {
  border-radius: var(--radius);
  min-height: 240px;
  background:
    linear-gradient(rgba(255,93,162,.05), rgba(255,93,162,.05)),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 42px),
    var(--soft);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  text-align: center;
  color: var(--muted);
}
.map-placeholder .pin { font-size: 2.4rem; }
.map-placeholder b { font-family: var(--font-head); color: var(--ink); display: block; }

/* ---------------------------------------------------------------------
   FOOTER (shared)
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.75);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand:hover { color: #fff; }
.footer-about p { font-size: .95rem; color: rgba(255,255,255,.7); max-width: 320px; }
.footer-col h4 {
  color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a { display: block; color: rgba(255,255,255,.72); padding: 5px 0; font-size: .95rem; }
.footer-col a:hover { color: var(--accent3); }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  display: grid; place-items: center;
  font-size: 1rem;
  color: #fff;
}
.social a:hover { background: var(--accent); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .88rem;
  color: rgba(255,255,255,.6);
}
.footer-bottom a { color: rgba(255,255,255,.75); }

/* ---------------------------------------------------------------------
   SCROLL-REVEAL
   --------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.no-io .reveal { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 14px var(--gutter) 22px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ease), transform var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split-media { order: 0; }
  .service-block { grid-template-columns: 1fr; gap: 18px; }
  .stats-grid, .steps { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 48px 26px; }
}

@media (max-width: 460px) {
  .stats-grid, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
