/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #faf5f0;
  --text: #1a1a1a;
  --text-secondary: #6b6b6b;
  /* Service colors */
  --b2b: #ff6b35;
  --b2b-soft: rgba(255, 107, 53, 0.12);
  --social: #a855f7;
  --social-soft: rgba(168, 85, 247, 0.12);
  --web: #06b6d4;
  --web-soft: rgba(6, 182, 212, 0.12);
  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-full: 100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== AURA CANVAS ===== */
.aura-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.aura {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  will-change: transform, opacity;
  /* colors set by JS via CSS custom properties */
  background: radial-gradient(circle, var(--aura-c, rgba(255,107,53,0.3)) 0%, transparent 70%);
  transition: background 1.5s ease;
}

.aura:nth-child(1) { width: 55vw; height: 55vw; max-width: 700px; max-height: 700px; top: -10%; right: -5%; }
.aura:nth-child(2) { width: 50vw; height: 50vw; max-width: 600px; max-height: 600px; top: 25%; left: -10%; }
.aura:nth-child(3) { width: 45vw; height: 45vw; max-width: 550px; max-height: 550px; top: 50%; right: -5%; }
.aura:nth-child(4) { width: 40vw; height: 40vw; max-width: 500px; max-height: 500px; top: 70%; left: 5%; }
.aura:nth-child(5) { width: 35vw; height: 35vw; max-width: 450px; max-height: 450px; top: 10%; left: 35%; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--text);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--text);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  font-family: inherit;
}

.btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.7);
}

.btn-sm { padding: 10px 24px; font-size: 0.88rem; }
.modal-trigger { cursor: pointer; }
.btn-full { width: 100%; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: clamp(8px, 2vw, 16px);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - clamp(24px, 4vw, 48px));
  max-width: 1200px;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  transition: background 0.3s, box-shadow 0.3s;
}

.header.scrolled {
  background: rgba(255,255,255,0.65);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: clamp(52px, 8vw, 60px);
  padding: 0 clamp(16px, 3vw, 24px);
}

.logo {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo span {
  background: linear-gradient(135deg, var(--b2b), var(--social));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav a:hover { color: var(--text); }

.nav-cta {
  padding: 8px 20px !important;
  background: var(--text);
  color: #fff !important;
  border-radius: var(--radius-full);
  font-weight: 600 !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  padding: 4px;
}

/* ===== HERO ===== */
.hero {
  padding: clamp(120px, 20vw, 180px) 0 clamp(60px, 10vw, 100px);
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: clamp(16px, 3vw, 24px);
}

.gradient-text {
  background: linear-gradient(135deg, var(--b2b), var(--social), var(--web));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: clamp(24px, 5vw, 40px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: clamp(32px, 6vw, 48px);
  flex-wrap: wrap;
  justify-content: center;
}

.hero-glass {
  width: 100%;
  max-width: 560px;
  margin-bottom: 24px;
}

.hero-glass-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: clamp(14px, 2.5vw, 18px) clamp(16px, 3vw, 24px);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  box-shadow: var(--glass-shadow);
}

.hero-glass-icon { display: flex; color: var(--b2b); }

/* Hero prompt — expandable input */
.hero-prompt-placeholder { cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.hero-prompt-placeholder:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.hero-prompt-form {
  display: none;
  width: 100%;
}

.hero-glass.open .hero-prompt-placeholder { display: none; }
.hero-glass.open .hero-prompt-form { display: block; }

.hero-prompt-input-wrap {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  padding: clamp(12px, 2.5vw, 16px);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  animation: promptSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes promptSlideIn {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-prompt-input-wrap textarea {
  flex: 1;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  color: var(--text);
  resize: none;
  outline: none;
  line-height: 1.5;
  min-height: 60px;
}

.hero-prompt-input-wrap textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.7;
}

.hero-prompt-send {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--b2b), var(--social));
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}

.hero-prompt-send:hover { transform: scale(1.08); }
.hero-prompt-send:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.hero-prompt-status {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 10px;
  font-weight: 500;
  min-height: 1.3em;
}

.hero-prompt-status.success { color: #16a34a; }
.hero-prompt-status.error { color: #dc2626; }
.hero-prompt-status.loading { color: var(--text-secondary); }

.hero-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== PILLS (color-coded) ===== */
.pill {
  padding: 8px 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-size: clamp(0.78rem, 1.8vw, 0.85rem);
  font-weight: 500;
  color: var(--text-secondary);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.pill--b2b:hover { border-color: var(--b2b); color: var(--b2b); }
.pill--social:hover { border-color: var(--social); color: var(--social); }
.pill--web:hover { border-color: var(--web); color: var(--web); }

/* ===== SECTIONS ===== */
.section {
  padding: clamp(60px, 12vw, 100px) 0;
  position: relative;
  z-index: 1;
}

.section--compact { padding-bottom: 0; }

.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 8vw, 64px);
}

.section-title {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 440px;
  margin: 0 auto;
}

/* ===== GLASS CARDS (color per service) ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
}

.glass-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s;
}

.glass-card:hover { transform: translateY(-6px); }

.glass-card-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  filter: blur(40px);
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.3s;
  border-radius: 50%;
}

.glass-card:hover .glass-card-glow { opacity: 1; }

.glass-card--b2b .glass-card-glow { background: var(--b2b); }
.glass-card--social .glass-card-glow { background: var(--social); }
.glass-card--web .glass-card-glow { background: var(--web); }

.glass-card-content {
  position: relative;
  padding: clamp(24px, 4vw, 36px) clamp(20px, 3vw, 28px);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.glass-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 20px;
}

.glass-card-icon--b2b { background: var(--b2b-soft); color: var(--b2b); }
.glass-card-icon--social { background: var(--social-soft); color: var(--social); }
.glass-card-icon--web { background: var(--web-soft); color: var(--web); }

.glass-card-content h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 700;
  margin-bottom: 10px;
}

.glass-card-content > p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  margin-bottom: 18px;
  line-height: 1.6;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.feature-list li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding-left: 22px;
  position: relative;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.glass-card--b2b .feature-list li::before { background: var(--b2b); }
.glass-card--social .feature-list li::before { background: var(--social); }
.glass-card--web .feature-list li::before { background: var(--web); }

.card-link { font-size: 0.88rem; font-weight: 600; transition: color 0.2s; }
.card-link--b2b { color: var(--b2b); }
.card-link--social { color: var(--social); }
.card-link--web { color: var(--web); }
.card-link:hover { opacity: 0.7; }

/* ===== STEPS ===== */
.steps-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 20px;
}

.step-card {
  text-align: center;
  padding: clamp(28px, 4vw, 40px) clamp(16px, 2vw, 20px);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  transition: transform 0.3s;
}

.step-card:hover { transform: translateY(-4px); }

.step-number {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--b2b), var(--social));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.step-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }

/* ===== FULLSCREEN PROJECTS ===== */
.fs-projects { position: relative; z-index: 1; }

/* Group wrapper — tinted background per service */
.fs-group { position: relative; }

.fs-group--b2b {
  background: linear-gradient(180deg,
    var(--bg) 0%,
    rgba(255,107,53,0.08) 8%,
    rgba(255,107,53,0.12) 50%,
    rgba(255,107,53,0.08) 92%,
    var(--bg) 100%
  );
}

.fs-group--social {
  background: linear-gradient(180deg,
    var(--bg) 0%,
    rgba(168,85,247,0.08) 8%,
    rgba(168,85,247,0.12) 50%,
    rgba(168,85,247,0.08) 92%,
    var(--bg) 100%
  );
}

.fs-group--web {
  background: linear-gradient(180deg,
    var(--bg) 0%,
    rgba(6,182,212,0.08) 8%,
    rgba(6,182,212,0.12) 50%,
    rgba(6,182,212,0.08) 92%,
    var(--bg) 100%
  );
}

/* Group header label */
.fs-group-header {
  text-align: center;
  padding: clamp(32px, 5vw, 48px) 24px clamp(8px, 2vw, 16px);
}

.fs-group-label {
  display: inline-block;
  padding: 10px 28px;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: var(--radius-full);
  border: 1.5px solid;
}

.fs-group-label--b2b { background: var(--b2b-soft); color: var(--b2b); border-color: var(--b2b); }
.fs-group-label--social { background: var(--social-soft); color: var(--social); border-color: var(--social); }
.fs-group-label--web { background: var(--web-soft); color: var(--web); border-color: var(--web); }

.fs-project {
  min-height: 70vh;
  min-height: 70dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 5vw, 60px) clamp(16px, 4vw, 24px);
}

.fs-project-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  max-width: 1100px;
  width: 100%;
}

/* Alternate layout within each group */
.fs-project:nth-child(odd) .fs-project-inner { direction: rtl; }
.fs-project:nth-child(odd) .fs-project-inner > * { direction: ltr; }

.fs-visual-glass {
  width: 100%;
  aspect-ratio: 4/3;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,0.08);
}

/* Tinted glass per service */
.fs-visual-glass--b2b { background: rgba(255,107,53,0.06); border-color: rgba(255,107,53,0.15); }
.fs-visual-glass--social { background: rgba(168,85,247,0.06); border-color: rgba(168,85,247,0.15); }
.fs-visual-glass--web { background: rgba(6,182,212,0.06); border-color: rgba(6,182,212,0.15); }

.fs-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pill-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid;
}

.pill-tag--b2b { background: var(--b2b-soft); color: var(--b2b); border-color: var(--b2b); }
.pill-tag--social { background: var(--social-soft); color: var(--social); border-color: var(--social); }
.pill-tag--web { background: var(--web-soft); color: var(--web); border-color: var(--web); }

.fs-content h3 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.fs-client { font-size: 0.9rem; font-weight: 600; margin-top: -6px; }
.fs-client--b2b { color: var(--b2b); }
.fs-client--social { color: var(--social); }
.fs-client--web { color: var(--web); }

.fs-content > p:last-of-type {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 24px;
}

.testimonial {
  padding: clamp(24px, 4vw, 32px);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s;
  position: relative;
  overflow: hidden;
}

.testimonial:hover { transform: translateY(-4px); }

/* Subtle top border glow */
.testimonial--b2b { border-top: 2px solid var(--b2b); }
.testimonial--social { border-top: 2px solid var(--social); }
.testimonial--web { border-top: 2px solid var(--web); }

.testimonial-quote {
  font-size: clamp(0.9rem, 2vw, 0.98rem);
  line-height: 1.7;
  color: var(--text);
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-avatar--b2b { background: var(--b2b); }
.testimonial-avatar--social { background: var(--social); }
.testimonial-avatar--web { background: var(--web); }

.testimonial-name { font-size: 0.9rem; font-weight: 700; }
.testimonial-role { font-size: 0.8rem; color: var(--text-secondary); }

.testimonial-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.testimonial-tag--b2b { background: var(--b2b-soft); color: var(--b2b); }
.testimonial-tag--social { background: var(--social-soft); color: var(--social); }
.testimonial-tag--web { background: var(--web-soft); color: var(--web); }

/* ===== CTA ===== */
.cta-section { padding: clamp(40px, 8vw, 60px) 0; }

.cta-glass {
  text-align: center;
  padding: clamp(48px, 10vw, 80px) clamp(24px, 5vw, 40px);
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

.cta-glass::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255,107,53,0.18) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.cta-glass h2 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  position: relative;
}

.cta-glass p {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-secondary);
  margin-bottom: 32px;
  position: relative;
}

.cta-glass .btn-primary { position: relative; }

/* ===== CONTACT FORM ===== */
.glass-form {
  max-width: 600px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 40px);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--b2b);
  box-shadow: 0 0 0 3px var(--b2b-soft);
}

.form-success {
  text-align: center;
  padding: 40px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 500;
}

/* ===== PROJECT MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.12);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  position: relative;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
  cursor: pointer;
  color: var(--text);
  transition: background 0.2s;
}

.modal-close:hover { background: rgba(255,255,255,0.95); }

/* Carousel */
.modal-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  background: var(--bg);
}

.modal-slides {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Colored placeholder slides */
.modal-slide--b2b { background: linear-gradient(135deg, rgba(255,107,53,0.08), rgba(255,107,53,0.18)); }
.modal-slide--social { background: linear-gradient(135deg, rgba(168,85,247,0.08), rgba(168,85,247,0.18)); }
.modal-slide--web { background: linear-gradient(135deg, rgba(6,182,212,0.08), rgba(6,182,212,0.18)); }

.modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  cursor: pointer;
  color: var(--text);
  transition: background 0.2s, transform 0.2s;
}

.modal-arrow:hover { background: rgba(255,255,255,0.95); }
.modal-arrow--prev { left: 12px; }
.modal-arrow--next { right: 12px; }

.modal-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.modal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}

.modal-dot.active {
  background: #fff;
  transform: scale(1.25);
}

/* Body */
.modal-body {
  padding: clamp(24px, 5vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-body .pill-tag { align-self: flex-start; }

.modal-body h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.modal-client {
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: -8px;
}

.modal-client--b2b { color: var(--b2b); }
.modal-client--social { color: var(--social); }
.modal-client--web { color: var(--web); }

/* Stats row */
.modal-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 8px 0;
}

.modal-stat {
  padding: 20px;
  background: rgba(255,255,255,0.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  text-align: center;
}

.modal-stat-value {
  font-size: clamp(1.4rem, 3.5vw, 1.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.modal-stat-value--b2b { color: var(--b2b); }
.modal-stat-value--social { color: var(--social); }
.modal-stat-value--web { color: var(--web); }

.modal-stat-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.modal-section h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.modal-section p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.modal-actions .btn-primary,
.modal-actions .btn-ghost { flex: 1; min-width: 180px; text-align: center; }

.modal-visit {
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.modal-visit--web {
  border: 1.5px solid var(--web);
  color: var(--web);
}
.modal-visit--web:hover {
  background: var(--web);
  color: #fff;
}

.modal-visit--social {
  border: 1.5px solid var(--social);
  color: var(--social);
}
.modal-visit--social:hover {
  background: var(--social);
  color: #fff;
}

.modal-visit--b2b {
  border: 1.5px solid var(--b2b);
  color: var(--b2b);
}
.modal-visit--b2b:hover {
  background: var(--b2b);
  color: #fff;
}

/* Lock body scroll when modal open */
body.modal-open { overflow: hidden; }

/* ===== FOOTER ===== */
.footer {
  padding: clamp(32px, 6vw, 48px) 0;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.logo-footer { font-size: 1rem; }

.footer-links {
  display: flex;
  gap: clamp(16px, 3vw, 28px);
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 0.8rem; color: var(--text-secondary); }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.cards-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.cards-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.steps-row .reveal:nth-child(2) { transition-delay: 0.1s; }
.steps-row .reveal:nth-child(3) { transition-delay: 0.2s; }
.steps-row .reveal:nth-child(4) { transition-delay: 0.3s; }
.testimonials-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.testimonials-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.testimonials-grid .reveal:nth-child(4) { transition-delay: 0.15s; }
.testimonials-grid .reveal:nth-child(5) { transition-delay: 0.25s; }
.testimonials-grid .reveal:nth-child(6) { transition-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .menu-toggle { display: block; }

  .nav {
    position: fixed;
    top: calc(clamp(8px, 2vw, 16px) + clamp(52px, 8vw, 60px) + 8px);
    left: 12px;
    right: 12px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow);
    flex-direction: column;
    padding: 20px;
    gap: 12px;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-cta { text-align: center; display: block !important; }

  .fs-project-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .fs-project:nth-child(odd) .fs-project-inner { direction: ltr; }
  .fs-content h3 { font-size: clamp(1.6rem, 5vw, 2rem); }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-glass-inner span:last-child {
    font-size: 0.82rem;
  }
}
