/* ============================================================
   PITTURA GROUP — Design System
   Dark canvas, liquid-paint gradient accents
   ============================================================ */

:root {
  --bg: #050507;
  --bg-2: #0a0a10;
  --surface: #101016;
  --surface-2: #16161f;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f3f0;
  --muted: #9a9aa6;
  --violet: #7c3aed;
  --magenta: #ec4899;
  --amber: #f59e0b;
  --paint: linear-gradient(120deg, #7c3aed 0%, #ec4899 50%, #f59e0b 100%);
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --nav-h: 84px;
  --radius: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--magenta); color: #fff; }

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

.container { width: min(1240px, 92%); margin-inline: auto; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }

.display-xl { font-size: clamp(3rem, 9vw, 8rem); font-weight: 700; text-transform: uppercase; }
.display-lg { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 700; }
.display-md { font-size: clamp(1.8rem, 4vw, 3.2rem); }
.display-sm { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

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

.text-outline {
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.35);
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--paint);
  border-radius: 2px;
}

.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 640px; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1.5rem;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-logo {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--paint);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulse 1.4s ease-in-out infinite;
}
.preloader-bar {
  width: 180px; height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.preloader-bar span {
  display: block; height: 100%; width: 0;
  background: var(--paint);
  transition: width 0.3s ease;
}
@keyframes pulse { 50% { opacity: 0.55; } }

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--paint);
}
.cursor-ring {
  width: 40px; height: 40px;
  border: 1.5px solid rgba(236, 72, 153, 0.55);
  transition: width 0.3s var(--ease), height 0.3s var(--ease),
              border-color 0.3s, background 0.3s;
}
.cursor-ring.hovering {
  width: 72px; height: 72px;
  background: rgba(236, 72, 153, 0.08);
  border-color: rgba(245, 158, 11, 0.7);
}
@media (hover: none), (max-width: 820px) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.4s, backdrop-filter 0.4s, height 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  height: 68px;
  background: rgba(5, 5, 7, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.nav-inner {
  width: min(1240px, 92%); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.25rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  display: flex; align-items: center; gap: 0.55rem;
}
.nav-logo .dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--paint);
  box-shadow: 0 0 18px rgba(236, 72, 153, 0.8);
}
.nav-links { display: flex; gap: 2.2rem; align-items: center; }
.nav-links a:not(.btn) {
  font-size: 0.9rem; font-weight: 500;
  color: var(--muted);
  position: relative;
  transition: color 0.3s;
  padding: 0.4rem 0;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--paint); border-radius: 2px;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav-links a:not(.btn):hover, .nav-links a:not(.btn).active { color: var(--text); }
.nav-links a:not(.btn):hover::after, .nav-links a:not(.btn).active::after {
  transform: scaleX(1); transform-origin: left;
}
.nav-cta { margin-left: 0.8rem; padding: 0.7rem 1.5rem; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  background: none; border: none;
  width: 44px; height: 44px;
  position: relative; z-index: 102;
}
.nav-toggle span {
  display: block; width: 26px; height: 2px;
  background: var(--text); margin: 6px auto;
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0; z-index: 101;
    background: rgba(5, 5, 7, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center;
    gap: 2rem;
    opacity: 0; visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
  }
  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-links a:not(.btn) { font-size: 1.6rem; font-family: var(--font-display); font-weight: 700; }
  .nav-cta { margin-left: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 1rem 2.1rem;
  border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  border: none;
  position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  will-change: transform;
}
.btn-paint {
  background: var(--paint);
  color: #fff;
  box-shadow: 0 8px 32px rgba(236, 72, 153, 0.35);
}
.btn-paint:hover { box-shadow: 0 12px 44px rgba(236, 72, 153, 0.55); }
.btn-paint::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn-paint:hover::before { transform: translateX(120%); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: rgba(236, 72, 153, 0.6); background: rgba(236, 72, 153, 0.06); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; }
#aurora {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
}
.hero-grain, .grain {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  backdrop-filter: blur(8px);
  margin-bottom: 2rem;
}
.hero-tag .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: ping 2s infinite;
}
@keyframes ping {
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.hero h1 { margin-bottom: 2rem; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line span {
  display: block;
  transform: translateY(110%);
  animation: rise 1s var(--ease) forwards;
}
.hero h1 .line:nth-child(2) span { animation-delay: 0.12s; }
.hero h1 .line:nth-child(3) span { animation-delay: 0.24s; }
@keyframes rise { to { transform: translateY(0); } }
.hero-actions { display: flex; gap: 1.1rem; flex-wrap: wrap; margin-top: 2.6rem; }
.hero-scroll {
  position: absolute; bottom: 2.2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  color: var(--muted); font-size: 0.72rem;
  letter-spacing: 0.25em; text-transform: uppercase;
}
.hero-scroll .wheel {
  width: 24px; height: 40px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  position: relative;
}
.hero-scroll .wheel::after {
  content: ""; position: absolute; top: 7px; left: 50%;
  width: 3px; height: 8px;
  background: var(--paint); border-radius: 3px;
  transform: translateX(-50%);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel {
  50% { transform: translate(-50%, 12px); opacity: 0; }
  51% { transform: translate(-50%, 0); opacity: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  padding: 1.4rem 0;
  overflow: hidden;
  background: var(--bg-2);
  position: relative;
}
.marquee-track {
  display: flex; gap: 3rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: var(--text);
  display: flex; align-items: center; gap: 3rem;
}
.marquee-track span::after {
  content: "✦";
  background: var(--paint);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.2rem;
}
.marquee-track.outline span { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.3); }
.marquee-track.outline span::after { -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(5rem, 10vw, 9rem) 0; position: relative; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
.section-glow {
  position: absolute;
  width: 60vw; height: 60vw;
  max-width: 800px; max-height: 800px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}
.glow-violet { background: var(--violet); }
.glow-magenta { background: var(--magenta); }
.glow-amber { background: var(--amber); }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
  transform-style: preserve-3d;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%),
              rgba(236, 72, 153, 0.12), transparent 45%);
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card:hover {
  border-color: rgba(236, 72, 153, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.card-icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(236, 72, 153, 0.18));
  border: 1px solid rgba(236, 72, 153, 0.25);
  color: var(--amber);
  margin-bottom: 1.6rem;
}
.card h3 { font-size: 1.35rem; margin-bottom: 0.9rem; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1.5rem;
  font-weight: 600; font-size: 0.9rem;
  background: var(--paint);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.card-link .arrow { -webkit-text-fill-color: var(--amber); transition: transform 0.3s var(--ease); }
.card:hover .card-link .arrow { transform: translateX(5px); }
.card-num {
  position: absolute; top: 1.4rem; right: 1.6rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: 2.6rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
}

/* ---------- Work / portfolio ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (max-width: 820px) { .work-grid { grid-template-columns: 1fr; } }
.work-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.45s var(--ease), border-color 0.4s;
}
.work-card:hover { transform: translateY(-8px); border-color: rgba(245, 158, 11, 0.4); }
.work-thumb {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
}
.work-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5, 5, 7, 0.85));
}
.work-thumb .thumb-art {
  position: absolute; inset: 0;
  transition: transform 0.7s var(--ease);
}
.work-card:hover .thumb-art { transform: scale(1.06) rotate(0.5deg); }
.work-thumb .thumb-word {
  position: relative; z-index: 1;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-transform: uppercase; letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
}
.work-meta { padding: 1.5rem 1.7rem 1.8rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.work-meta h3 { font-size: 1.2rem; }
.work-meta p { color: var(--muted); font-size: 0.85rem; margin-top: 0.25rem; }
.work-tag {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted); white-space: nowrap;
}

/* thumb art gradients */
.art-1 { background: conic-gradient(from 210deg at 60% 40%, #1e1b4b, #7c3aed, #0a0a10 70%); }
.art-2 { background: conic-gradient(from 30deg at 30% 60%, #431407, #f59e0b, #0a0a10 65%); }
.art-3 { background: conic-gradient(from 120deg at 70% 70%, #500724, #ec4899, #0a0a10 70%); }
.art-4 { background: conic-gradient(from 300deg at 40% 30%, #042f2e, #14b8a6, #0a0a10 68%); }
.art-5 { background: conic-gradient(from 80deg at 60% 60%, #172554, #3b82f6, #0a0a10 70%); }
.art-6 { background: conic-gradient(from 180deg at 35% 45%, #3b0764, #a855f7, #0a0a10 66%); }
.art-7 { background: conic-gradient(from 250deg at 65% 35%, #450a0a, #ef4444, #0a0a10 70%); }
.art-8 { background: conic-gradient(from 150deg at 50% 70%, #052e16, #22c55e, #0a0a10 68%); }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  border-block: 1px solid var(--line);
  padding: 3.5rem 0;
}
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; }
.stat-value {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 4rem);
  background: var(--paint);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { color: var(--muted); font-size: 0.88rem; margin-top: 0.4rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Process ---------- */
.process-list { display: grid; gap: 0; counter-reset: step; }
.process-item {
  display: grid; grid-template-columns: 90px 1fr 2fr;
  gap: 2rem; align-items: center;
  padding: 2.4rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.4s var(--ease), background 0.4s;
}
.process-item:first-child { border-top: 1px solid var(--line); }
.process-item:hover { padding-left: 1.2rem; background: rgba(255, 255, 255, 0.015); }
.process-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: 2.2rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 72, 153, 0.6);
}
.process-item h3 { font-size: 1.5rem; }
.process-item p { color: var(--muted); }
@media (max-width: 820px) {
  .process-item { grid-template-columns: 60px 1fr; }
  .process-item p { grid-column: 2; }
}

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  display: flex; flex-direction: column; gap: 1.4rem;
}
.testimonial .quote-mark {
  font-family: var(--font-display); font-size: 3rem; line-height: 1;
  background: var(--paint);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.testimonial p { color: var(--text); font-size: 1rem; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; margin-top: auto; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  background: linear-gradient(135deg, var(--violet), var(--magenta));
  color: #fff;
  flex-shrink: 0;
}
.testimonial-author strong { font-size: 0.95rem; display: block; }
.testimonial-author small { color: var(--muted); font-size: 0.8rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: calc(var(--radius) * 1.5);
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(2rem, 6vw, 5rem);
  text-align: center;
  background:
    radial-gradient(800px circle at 20% 0%, rgba(124, 58, 237, 0.35), transparent 55%),
    radial-gradient(800px circle at 80% 100%, rgba(245, 158, 11, 0.28), transparent 55%),
    radial-gradient(600px circle at 60% 40%, rgba(236, 72, 153, 0.25), transparent 60%),
    var(--surface);
  border: 1px solid rgba(236, 72, 153, 0.25);
}
.cta-band h2 { margin-bottom: 1.2rem; }
.cta-band .lead { margin-inline: auto; margin-bottom: 2.4rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(4rem, 10vw, 7rem)) 0 clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px circle at 85% -10%, rgba(124, 58, 237, 0.18), transparent 60%),
    radial-gradient(700px circle at 5% 110%, rgba(245, 158, 11, 0.1), transparent 55%),
    var(--bg);
}
.breadcrumb {
  display: flex; gap: 0.6rem; align-items: center;
  font-size: 0.82rem; color: var(--muted);
  margin-bottom: 1.8rem;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.breadcrumb a:hover { color: var(--text); }
.breadcrumb .sep { opacity: 0.4; }

/* ---------- Tech pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.pill {
  padding: 0.55rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem; font-weight: 500;
  color: var(--muted);
  background: var(--surface);
  transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.pill:hover { border-color: rgba(236, 72, 153, 0.5); color: var(--text); transform: translateY(-2px); }

/* ---------- Feature rows ---------- */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.feature-row.reverse > :first-child { order: 2; }
@media (max-width: 820px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.reverse > :first-child { order: 0; }
}
.feature-visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.feature-visual .big-icon {
  color: rgba(255, 255, 255, 0.92);
  filter: drop-shadow(0 10px 40px rgba(236, 72, 153, 0.4));
  position: relative; z-index: 1;
  display: grid; place-items: center;
}
.feature-visual .big-icon svg { width: clamp(64px, 9vw, 100px); height: auto; }
.checklist { display: grid; gap: 0.9rem; margin-top: 1.6rem; }
.checklist li {
  display: flex; gap: 0.9rem; align-items: flex-start;
  color: var(--muted);
}
.checklist li::before {
  content: "✓";
  flex-shrink: 0;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124,58,237,0.25), rgba(236,72,153,0.25));
  border: 1px solid rgba(236, 72, 153, 0.4);
  color: var(--amber);
  font-size: 0.75rem; font-weight: 700;
  margin-top: 2px;
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none; border: none;
  color: var(--text);
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  text-align: left;
  padding: 1.6rem 3rem 1.6rem 0;
  position: relative;
}
.faq-q::after {
  content: "+";
  position: absolute; right: 0.4rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 400;
  background: var(--paint);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.35s var(--ease);
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.45s var(--ease);
  color: var(--muted);
}
.faq-a p { padding-bottom: 1.6rem; max-width: 720px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.form-field input, .form-field textarea, .form-field select {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  color: var(--text);
  font: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-field select { appearance: none; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: rgba(236, 72, 153, 0.6);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-success {
  display: none;
  padding: 1.2rem 1.5rem;
  border: 1px solid rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.08);
  border-radius: 12px;
  color: #86efac;
}
.form-success.show { display: block; }

/* ---------- Contact info ---------- */
.contact-item { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: none; }
.contact-item .card-icon { margin-bottom: 0; width: 50px; height: 50px; font-size: 1.2rem; flex-shrink: 0; }
.contact-item h4 { font-size: 1rem; margin-bottom: 0.2rem; }
.contact-item p, .contact-item a { color: var(--muted); font-size: 0.95rem; }
.contact-item a:hover { color: var(--text); }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-avatar {
  width: 110px; height: 110px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.8rem;
  color: #fff;
  position: relative;
}
.team-avatar img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
}
.team-avatar::after {
  content: ""; position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1.5px dashed rgba(236, 72, 153, 0.4);
  animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.team-card h3 { font-size: 1.15rem; }
.team-card small { color: var(--muted); display: block; margin-top: 0.3rem; }
.team-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; margin: 1rem auto 0; max-width: 34ch; }

/* ---------- Values ---------- */
.value-item { padding: 2rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 70px 1fr; gap: 1.6rem; }
.value-item:first-child { border-top: 1px solid var(--line); }
.value-item .value-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.9rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 72, 153, 0.6);
}
.value-item h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.value-item p { color: var(--muted); max-width: 640px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem;
  position: relative; overflow: hidden;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { color: var(--muted); margin-top: 1rem; max-width: 320px; font-size: 0.95rem; }
.footer h4 {
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.3rem;
}
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: var(--text); font-size: 0.95rem; opacity: 0.85; transition: opacity 0.3s, padding-left 0.3s var(--ease); }
.footer-links a:hover { opacity: 1; padding-left: 6px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  color: var(--muted); font-size: 0.85rem;
}
.footer-big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 14vw, 12rem);
  text-transform: uppercase;
  line-height: 0.9;
  text-align: center;
  margin: 2rem 0 3rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  user-select: none;
  transition: color 1s var(--ease);
}
.footer-big:hover {
  background: var(--paint);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-stroke: transparent;
}
.socials { display: flex; gap: 0.8rem; margin-top: 1.4rem; }
.socials a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--muted); font-size: 0.85rem; font-weight: 600;
  transition: all 0.3s var(--ease);
}
.socials a:hover {
  border-color: transparent;
  background: var(--paint);
  color: #fff;
  transform: translateY(-4px);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
