/* ================================================================
   studio.css — Design system for studio1008.com
   SaaS/Creative Studio, 2025–2026
   Palette: White / #3B82F6 blue / #111827 dark
   Font: Inter
   Breakpoints: 480px (mobile), 1024px (desktop)
   ================================================================ */

/* ── Custom properties ─────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:          #FFFFFF;
  --bg-light:    #F8F9FA;
  --bg-lighter:  #F1F3F5;
  /* Text */
  --text:        #111827;
  --text-2:      #4B5563;
  --text-3:      #374151;
  /* Accent */
  --blue:        #3B82F6;
  --blue-hover:  #1D4ED8;
  --blue-light:  #EFF6FF;
  --blue-mid:    #DBEAFE;
  --grad:        linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
  /* Status */
  --green-bg:    #D1FAE5;
  --green-text:  #065F46;
  --red-bg:      #FEE2E2;
  --red-text:    #991B1B;
  /* Borders */
  --border:      #E5E7EB;
  --border-2:    #D1D5DB;
  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08);
  --shadow-md:   0 4px 12px rgba(0,0,0,.08);
  --shadow-blue: 0 4px 12px rgba(59,130,246,.3);
  /* Radii */
  --r:           8px;
  --r-lg:        12px;
  --r-xl:        16px;
  /* Spacing */
  --max-w:       1160px;
  --px:          24px;
  --section-py:  96px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul, ol { list-style: none; }

/* ── Typography ─────────────────────────────────────────────── */
h1 { font-size: 48px; font-weight: 700; line-height: 1.12; letter-spacing: 0.5px; color: var(--text); }
h2 { font-size: 32px; font-weight: 600; line-height: 1.25; letter-spacing: 0.5px; color: var(--text); }
h3 { font-size: 24px; font-weight: 600; line-height: 1.35; color: var(--text); }
h4 { font-size: 20px; font-weight: 600; line-height: 1.4; color: var(--text); }
p  { color: var(--text-2); line-height: 1.7; }
small { font-size: 14px; color: var(--text-3); }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}
.section {
  padding: var(--section-py) var(--px);
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-bg {
  background:
    radial-gradient(circle, rgba(59,130,246,.06) 1px, transparent 1px) center / 28px 28px,
    var(--bg-light);
}
.section-bg-lighter { background: var(--bg-lighter); }
.section-dark {
  background:
    radial-gradient(ellipse 65% 75% at 0% 100%, rgba(59,130,246,.1) 0%, transparent 50%),
    radial-gradient(ellipse 55% 65% at 100% 0%, rgba(139,92,246,.08) 0%, transparent 50%),
    var(--text);
}
.section-wrapper { width: 100%; }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.section-title { margin-bottom: 16px; }
.section-sub {
  font-size: 18px;
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 56px;
}
.section-center { text-align: center; }
.section-center .section-sub { margin-left: auto; margin-right: auto; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.4px;
  border-radius: var(--r);
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  transition: background .2s, box-shadow .2s, transform .15s, color .2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-hover);
  box-shadow: var(--shadow-blue);
}

.btn-secondary {
  background: var(--bg-light);
  color: var(--text-3);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--bg-lighter);
  border-color: var(--border-2);
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
  padding: 12px 0;
  border-radius: 0;
}
.btn-ghost:hover { text-decoration: underline; }

.btn-lg { font-size: 17px; padding: 14px 32px; border-radius: var(--r); }

.btn-group { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r);
  background: var(--blue-light);
  font-size: 22px;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--text-2); line-height: 1.6; margin-bottom: 16px; }
.card .btn-ghost { padding: 0; font-size: 14px; margin-top: auto; }

/* ── Forms ─────────────────────────────────────────────────── */
.form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 14px; font-weight: 500; color: var(--text-3); }
.form-input,
.form-textarea,
.form-select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 10px 14px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text);
  width: 100%;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.form-input.error,
.form-textarea.error { border-color: #EF4444; box-shadow: 0 0 0 3px rgba(239,68,68,.12); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234B5563' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }
.form-error { font-size: 13px; color: #EF4444; margin-top: 2px; display: none; }
.form-error.visible { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit:disabled { opacity: .5; cursor: not-allowed; }
.form-success {
  display: none;
  background: var(--green-bg);
  color: var(--green-text);
  border-radius: var(--r);
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 500;
}
.form-success.visible { display: block; }

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: 68px;
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.logo span { color: var(--blue); }
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  padding: 6px 12px;
  border-radius: var(--r);
  transition: color .2s, background .2s;
}
.site-nav a:hover { color: var(--text); background: var(--bg-light); }
.site-nav a.active { color: var(--blue); }
.header-cta { margin-left: auto; flex-shrink: 0; }
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 16px var(--px) 24px;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  padding: 10px 12px;
  border-radius: var(--r);
  transition: background .2s;
}
.mobile-menu a:hover { background: var(--bg-light); }
.mobile-menu .btn { margin-top: 8px; width: 100%; justify-content: center; }

/* Page top offset for fixed header */
.page-top { padding-top: 68px; }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding: 80px var(--px) 80px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero-content { }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  background: var(--blue-light);
  border: 1px solid var(--blue-mid);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 24px;
}
.hero-badge::before { content: '●'; font-size: 8px; }
.hero h1 { margin-bottom: 20px; max-width: 560px; }
.hero-sub {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-blob {
  width: 560px;
  height: 560px;
  border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%;
  background: var(--grad);
  opacity: .14;
  filter: blur(48px);
  position: absolute;
}
.hero-card-stack {
  position: relative;
  width: 360px;
}
.hero-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 20px;
  box-shadow: var(--shadow-md);
}
.hero-card + .hero-card {
  margin-top: 12px;
}
.hero-card-label { font-size: 12px; font-weight: 600; color: var(--blue); margin-bottom: 6px; }
.hero-card-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.hero-card-meta { font-size: 13px; color: var(--text-2); }
.hero-card-bar {
  height: 6px;
  background: var(--bg-lighter);
  border-radius: 3px;
  margin-top: 12px;
  overflow: hidden;
}
.hero-card-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--grad);
  animation: barGrow 1.8s ease-out both;
}
@keyframes barGrow { from { width: 0; } }
.hero-stat-row {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.hero-stat {
  flex: 1;
  background: var(--bg-light);
  border-radius: var(--r);
  padding: 10px 12px;
  text-align: center;
}
.hero-stat-num { font-size: 22px; font-weight: 700; color: var(--text); }
.hero-stat-lbl { font-size: 11px; color: var(--text-2); margin-top: 2px; line-height: 1.3; }

/* ================================================================
   WHO WE ARE
   ================================================================ */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.who-items { display: flex; flex-direction: column; gap: 16px; }
.who-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--bg-light);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
}
.who-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  margin-top: 8px;
  flex-shrink: 0;
}
.who-text { font-size: 15px; color: var(--text-2); line-height: 1.65; }

/* ================================================================
   SERVICES BENTO GRID
   ================================================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bento-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
}
.bento-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.bento-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-lg);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.bento-card h3 { font-size: 20px; margin-bottom: 10px; }
.bento-card p { font-size: 15px; color: var(--text-2); line-height: 1.6; flex: 1; margin-bottom: 20px; }

/* ================================================================
   WHY CHOOSE US
   ================================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit-card {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color .2s, box-shadow .2s;
}
.benefit-card:hover {
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px var(--blue-light);
}
.benefit-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}
.benefit-card h3 { font-size: 17px; margin-bottom: 8px; }
.benefit-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* ================================================================
   PORTFOLIO
   ================================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.portfolio-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.portfolio-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,.12);
  transform: translateY(-4px);
}
.portfolio-thumb {
  height: 180px;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  position: relative;
  overflow: hidden;
}
.portfolio-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.portfolio-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,.5));
}
.portfolio-demo-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.25);
  padding: 3px 9px;
  border-radius: 4px;
}
.portfolio-type {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.3);
  padding: 4px 10px;
  border-radius: 20px;
}
.portfolio-body { padding: 20px 22px 22px; }
.portfolio-name { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.portfolio-desc { font-size: 14px; color: var(--text-2); line-height: 1.55; margin-bottom: 14px; }
.portfolio-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
}
.portfolio-link:hover { gap: 10px; }
.portfolio-link::after { content: '→'; }

/* ================================================================
   CTA BLOCK
   ================================================================ */
.cta-block {
  background:
    radial-gradient(ellipse 65% 75% at 0% 100%, rgba(59,130,246,.12) 0%, transparent 50%),
    radial-gradient(ellipse 55% 65% at 100% 0%, rgba(139,92,246,.1) 0%, transparent 50%),
    #111827;
  border-radius: var(--r-xl);
  padding: 72px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
}
.cta-block::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.cta-block h2 { color: #fff; margin-bottom: 16px; position: relative; z-index: 1; }
.cta-block p  { color: rgba(255,255,255,.85); max-width: 520px; margin: 0 auto 36px; position: relative; z-index: 1; font-size: 17px; }
.cta-block .btn-group { justify-content: center; position: relative; z-index: 1; }
.btn-white { background: #fff; color: var(--blue); font-weight: 700; }
.btn-white:hover { background: var(--bg-light); box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.btn-outline-white { border: 2px solid rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ================================================================
   FAQ
   ================================================================ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
  transition: background .2s;
}
.faq-question:hover { background: var(--bg-light); }
.faq-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 16px;
  flex-shrink: 0;
  transition: transform .3s, background .2s, border-color .2s;
}
.faq-item.is-open .faq-arrow {
  transform: rotate(45deg);
  background: var(--blue-light);
  border-color: var(--blue-mid);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.faq-item.is-open .faq-answer { max-height: 300px; }
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,.75);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px var(--px) 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo { color: #fff; margin-bottom: 10px; display: block; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.5; }
.footer-nav h4, .footer-contacts h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  transition: color .2s;
}
.footer-nav a:hover { color: #fff; }
.footer-contacts ul { display: flex; flex-direction: column; gap: 10px; }
.footer-contacts li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.footer-contacts a { color: rgba(255,255,255,.7); transition: color .2s; }
.footer-contacts a:hover { color: #fff; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,.35); }
.footer-policy { font-size: 13px; color: rgba(255,255,255,.4); transition: color .2s; }
.footer-policy:hover { color: rgba(255,255,255,.7); }

/* ================================================================
   PAGE-SPECIFIC: SERVICES
   ================================================================ */
.services-categories { display: flex; flex-direction: column; gap: 64px; }
.service-category {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
  padding: 40px;
  background: var(--bg-light);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
}
.service-category:nth-child(even) { grid-template-columns: 2fr 1fr; }
.service-category:nth-child(even) .service-cat-info { order: 2; }
.service-cat-info h2 { margin-bottom: 12px; font-size: 26px; }
.service-cat-info p { font-size: 15px; color: var(--text-2); margin-bottom: 20px; }
.service-items { display: flex; flex-direction: column; gap: 10px; }
.service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: 15px;
  color: var(--text);
}
.service-item::before {
  content: '✓';
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--blue);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 26px;
  left: 13%;
  right: 13%;
  height: 2px;
  background: var(--blue-mid);
  z-index: 0;
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 4px solid var(--bg);
  box-shadow: var(--shadow-blue);
}
.process-step h3 { font-size: 15px; margin-bottom: 6px; }
.process-step p { font-size: 13px; color: var(--text-2); }

/* ================================================================
   PAGE-SPECIFIC: PORTFOLIO PAGE
   ================================================================ */
.portfolio-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  transition: all .2s;
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* ================================================================
   PAGE-SPECIFIC: ABOUT
   ================================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.approach-list { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.approach-item { display: flex; gap: 16px; align-items: flex-start; }
.approach-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.approach-item p { font-size: 15px; color: var(--text-2); line-height: 1.65; padding-top: 7px; }

.team-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-lighter);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--text-2);
  font-size: 14px;
}
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--grad);
  opacity: .3;
}

/* ================================================================
   PAGE-SPECIFIC: CONTACT
   ================================================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.contact-info { padding-top: 8px; }
.contact-detail {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-detail-text h4 { font-size: 14px; font-weight: 600; color: var(--text-3); margin-bottom: 2px; }
.contact-detail-text a, .contact-detail-text span { font-size: 16px; color: var(--text); }
.contact-detail-text a:hover { color: var(--blue); }

/* ================================================================
   PAGE-SPECIFIC: PRIVACY
   ================================================================ */
.privacy-content { max-width: 720px; }
.privacy-content h2 { font-size: 22px; margin: 40px 0 12px; }
.privacy-content p { font-size: 15px; color: var(--text-2); line-height: 1.75; margin-bottom: 14px; }
.privacy-content ul { padding-left: 20px; list-style: disc; margin-bottom: 14px; }
.privacy-content li { font-size: 15px; color: var(--text-2); line-height: 1.7; margin-bottom: 6px; }

/* ================================================================
   PAGE HERO (non-index)
   ================================================================ */
.page-hero {
  padding: 72px var(--px) 64px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.page-hero h1 { font-size: 40px; margin-bottom: 16px; }
.page-hero p { font-size: 18px; color: var(--text-2); max-width: 560px; line-height: 1.65; }

/* ================================================================
   RESPONSIVE — Tablet (max 1024px)
   ================================================================ */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
  h3 { font-size: 22px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 56px var(--px); gap: 40px; }
  .hero h1 { font-size: 36px; }
  .hero-visual { display: none; }
  .who-grid { grid-template-columns: 1fr; gap: 40px; }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .service-category { grid-template-columns: 1fr; gap: 32px; }
  .service-category:nth-child(even) { grid-template-columns: 1fr; }
  .service-category:nth-child(even) .service-cat-info { order: 0; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-steps::before { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .cta-block { padding: 56px 36px; }
}

/* ================================================================
   RESPONSIVE — Mobile (max 480px)
   ================================================================ */
@media (max-width: 480px) {
  :root { --px: 16px; --section-py: 56px; }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
  .hero { padding: 40px var(--px) 48px; }
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 16px; }
  .hero-badge { font-size: 12px; }
  .btn-lg { font-size: 16px; padding: 13px 24px; }
  .bento-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .process-steps { grid-template-columns: 1fr; }
  .section-title { font-size: 24px; }
  .section-sub { font-size: 15px; margin-bottom: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-block { padding: 40px 24px; }
  .cta-block h2 { font-size: 24px; }
  .who-grid { gap: 28px; }
  .site-nav, .header-cta { display: none; }
  .burger { display: flex; }
  .page-hero h1 { font-size: 30px; }
}

@media (min-width: 481px) and (max-width: 1024px) {
  .site-nav, .header-cta { display: none; }
  .burger { display: flex; }
}

/* ═══════════════════════════════════════════════
   LANG SWITCHER
═══════════════════════════════════════════════ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
}
.lang-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-2, #6b7280);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 3px 7px;
  border-radius: 5px;
  cursor: pointer;
  line-height: 1;
  transition: all .15s;
}
.lang-btn:hover {
  color: var(--accent, #3B82F6);
  background: rgba(59,130,246,.08);
}
.lang-btn.active {
  color: var(--accent, #3B82F6);
  border-color: var(--accent, #3B82F6);
  background: rgba(59,130,246,.07);
}
/* hide from mobile hamburger area */
@media (max-width: 700px) {
  .lang-switcher { margin-left: 0; margin-right: 6px; }
  .lang-btn { padding: 3px 5px; font-size: 10px; }
}

/* ═══════════════════════════════════════════════
   TEAM SECTION
═══════════════════════════════════════════════ */
.team-intro {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text, #111);
  max-width: 680px;
  margin-bottom: 36px;
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.team-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.team-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
}
.team-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text, #111);
  margin-bottom: 3px;
}
.team-role {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--accent, #3B82F6);
  margin-bottom: 10px;
}
.team-bio {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2, #6b7280);
}
@media (max-width: 700px) {
  .team-grid { grid-template-columns: 1fr; }
}


/* ================================================================
   DEPTH SYSTEM — gradient mesh, grain, visual atmosphere
   ================================================================ */

/* Hero section (index.njk) — full-bleed gradient mesh */
.hero-section {
  background:
    radial-gradient(ellipse 65% 80% at 2% 70%, rgba(59,130,246,.065) 0%, transparent 55%),
    radial-gradient(ellipse 55% 65% at 98% 5%, rgba(139,92,246,.05) 0%, transparent 50%),
    radial-gradient(ellipse 40% 50% at 55% 105%, rgba(59,130,246,.04) 0%, transparent 45%);
  overflow: hidden;
}

/* Inner page heroes — gradient mesh */
.page-hero-wrap {
  background:
    radial-gradient(ellipse 60% 90% at -5% 55%, rgba(59,130,246,.055) 0%, transparent 50%),
    radial-gradient(ellipse 45% 70% at 108% -5%, rgba(139,92,246,.04) 0%, transparent 50%);
  overflow: hidden;
}

/* Accent bottom border on hero section */
.hero-section {
  border-bottom: 1px solid rgba(59,130,246,.1);
}

/* Hero visual area — subtle glow behind cards */
.hero-visual::before {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(59,130,246,.07) 0%, transparent 70%);
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}
.hero-card-stack { position: relative; z-index: 1; }

/* Section accent: thin left border on who-item */
.who-item {
  border-left: 2px solid rgba(59,130,246,.15);
  padding-left: 16px;
}

/* Dark section — top accent line */
.section-dark {
  border-top: 1px solid rgba(255,255,255,.06);
}

/* Subtle gradient transition: white sections → feel connected */
.section-wrapper + section.section,
section.section + .section-wrapper {
  position: relative;
}
.section-wrapper + section.section::before,
section.section + .section-wrapper::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(59,130,246,.12) 30%, rgba(139,92,246,.1) 70%, transparent 100%);
}

.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
