
:root {
  /* Color: true black base with graduated near-black surfaces */
  --bg: #000000;
  --bg-alt: #060606;
  --surface: #0c0c0c;
  --surface-2: #101010;
  --surface-hover: #151515;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);

  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.75);
  --text-tertiary: rgba(255, 255, 255, 0.55);

  /* White is the only accent. Contrast does the work color did before. */
  --accent: #ffffff;
  --accent-hover: #e6e6e6;
  --accent-dim: rgba(255, 255, 255, 0.08);
  --accent-border: rgba(255, 255, 255, 0.24);

  /* Brand accent — electric blue, used sparingly across touchpoints */
  --brand: #3b82f6;
  --brand-hover: #2563eb;
  --brand-deep: #2f6fe0;
  --brand-dim: rgba(59, 130, 246, 0.14);
  --brand-glow: rgba(59, 130, 246, 0.45);
  --brand-border: rgba(59, 130, 246, 0.4);

  /* Reserved semantic colors — used only where meaning requires it
     (form errors, live-status), never for branding or decoration */
  --error: #ff6b6b;

  /* Type */
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-heading: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  /* Spacing scale */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;
  --radius-btn: 8px;
  --radius-btn-lg: 12px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur-med: 320ms;
  --dur-slow: 600ms;

  --container-w: 1250px;
  --nav-h: 76px;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(ellipse 80% 45% at 50% -10%, rgba(59, 130, 246, 0.08), transparent 65%),
    var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, select, textarea { font: inherit; }

.icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: currentColor;
  vertical-align: -2px;
}
.icon--lg { width: 20px; height: 20px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -48px; left: var(--sp-4);
  background: #fff; color: #000;
  padding: var(--sp-3) var(--sp-4); border-radius: var(--radius-sm);
  z-index: 999; transition: top var(--dur-fast) var(--ease);
  font-weight: 600;
}
.skip-link:focus { top: var(--sp-4); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============ TYPOGRAPHY ============ */
.section-head {
  max-width: 640px;
  margin: 0 0 var(--sp-6);
}
.section-head__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--sp-3);
}
.section-head__sub {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 560px;
}

/* ============ BUTTONS ============ */
.btn, .btn-primary, .btn-outline, .btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn:active, .btn-primary:active, .btn-outline:active, .btn-danger:active { transform: translateY(0); }

.btn--sm, .btn-sm { padding: 8px 18px; font-size: 13px; }
.btn--lg, .btn-lg { padding: 14px 28px; font-size: 15px; border-radius: var(--radius-btn-lg); }
.btn--full, .btn-full { width: 100%; justify-content: center; }

/* Primary — glossy 3D signature */
.btn--primary, .btn-primary {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0) 50%, rgba(0,0,0,0.08) 100%), var(--brand-deep);
  color: #fff;
  box-shadow: 0 4px 14px -2px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,0.22);
}
.btn--primary::after, .btn-primary::after {
  content: '';
  position: absolute;
  top: 1px; left: 6px; right: 6px;
  height: 45%;
  background: linear-gradient(180deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0) 100%);
  border-radius: inherit;
  pointer-events: none;
}
.btn--primary:hover, .btn-primary:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 50%, rgba(0,0,0,0.06) 100%), var(--brand-hover);
  box-shadow: 0 6px 20px -2px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,0.25);
  transform: translateY(-1px);
}
.btn--primary:active, .btn-primary:active {
  box-shadow: 0 1px 3px rgba(0,0,0,0.30), inset 0 2px 4px rgba(0,0,0,0.12);
}
.btn--primary .icon { stroke: #fff; }

/* Outline — dark landing theme */
.btn--secondary, .btn--ghost, .btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(255,255,255,0.15);
}
.btn--secondary:hover, .btn--ghost:hover, .btn-outline:hover {
  border-color: var(--brand);
  color: var(--text-primary);
  background: var(--brand-dim);
}

/* Danger */
.btn-danger {
  background: linear-gradient(180deg, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0) 50%, rgba(0,0,0,0.08) 100%), var(--error);
  color: #fff;
  box-shadow: 0 4px 14px -2px rgba(220, 38, 38, 0.30), inset 0 1px 0 rgba(255,255,255,0.20);
}
.btn-danger:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 50%, rgba(0,0,0,0.06) 100%), #b91c1c;
  box-shadow: 0 8px 24px -4px rgba(220, 38, 38, 0.35), inset 0 1px 0 rgba(255,255,255,0.22);
  transform: translateY(-1px);
}

/* ============ BADGES ============ */
.badge-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: var(--sp-4) 0; }
.badge {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  background: var(--surface-2);
}
.badge--accent { color: #fff; border-color: var(--brand-deep); background: var(--brand-deep); font-weight: 600; }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
}
.navbar[data-scrolled="true"] {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.navbar__brand { display: flex; align-items: center; gap: var(--sp-3); }
.navbar__logo {
  width: 34px; height: 34px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.navbar__mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid #fff;
  border-radius: var(--radius-sm);
  color: #000;
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 700;
}
.navbar__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--text-primary);
}
.navbar__name-accent { color: var(--brand); }

.navbar__nav { display: flex; align-items: center; gap: var(--sp-6); }
.navbar__link {
  font-size: 14.5px;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color var(--dur-fast) var(--ease);
}
.navbar__link::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--brand);
  transition: right var(--dur-med) var(--ease);
}
.navbar__link:hover { color: var(--text-primary); }
.navbar__link:hover::after { right: 0; }

.navbar__actions { display: flex; align-items: center; gap: var(--sp-4); }
.navbar__cta { display: inline-flex; padding-top: 11px; padding-bottom: 11px; }

.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
}
.navbar__toggle-line {
  width: 18px; height: 1.5px;
  background: var(--text-primary);
  margin: 0 auto;
  transition: transform var(--dur-med) var(--ease), opacity var(--dur-fast) var(--ease);
}
.navbar__toggle[aria-expanded="true"] .navbar__toggle-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.navbar__toggle[aria-expanded="true"] .navbar__toggle-line:nth-child(2) { opacity: 0; }
.navbar__toggle[aria-expanded="true"] .navbar__toggle-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav { display: none; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + var(--sp-9)) 0 var(--sp-9);
  overflow: hidden;
  background:
    radial-gradient(ellipse 65% 40% at 50% -5%, rgba(59, 130, 246, 0.14), transparent 65%),
    radial-gradient(ellipse 70% 55% at 50% 0%, #131313 0%, #000 60%),
    #000;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 55% at 50% 20%, black 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 20%, black 10%, transparent 75%);
  pointer-events: none;
}
.hero__container { position: relative; text-align: center; max-width: 820px; }
.hero__eyebrow { justify-content: center; }
.hero__headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 5.6vw, 62px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.hero__headline span { display: block; }
.hero__headline-accent {
  background: linear-gradient(100deg, #fff 15%, var(--brand) 45%, #9bc1ff 60%, var(--brand) 75%, #fff 90%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 6s ease-in-out infinite;
}
@keyframes sheen {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero__sub {
  margin: var(--sp-6) auto 0;
  max-width: 560px;
  font-size: 18px;
  color: var(--text-secondary);
}
.hero__actions {
  display: flex;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: var(--sp-7);
  flex-wrap: wrap;
}
.hero__price {
  margin-top: var(--sp-6);
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--text-tertiary);
}
.hero__price strong { color: var(--text-primary); }

/* Floating contact rail — bottom-left, visible before scrolling */
.hero__contacts {
  position: fixed;
  left: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease), visibility var(--dur-med) var(--ease);
}
.hero__contacts.is-hidden {
  opacity: 0;
  transform: translateY(12px);
  visibility: hidden;
  pointer-events: none;
}
.hero__contact {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-block;
  background: var(--surface-2);
  border-radius: 50%;
  color: var(--text-secondary);
  border: 1px solid rgba(59, 130, 246, 0.18);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.hero__contact .icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  margin: 0;
  stroke-width: 1.75;
  transition: transform var(--dur-med) var(--ease), color var(--dur-fast) var(--ease);
}
.hero__contact:hover { color: var(--brand); transform: translateY(-2px); }
.hero__contact:hover .icon { transform: translate(-50%, -50%) scale(1.4); }
.hero__contact .icon[fill="currentColor"] { stroke: none; }

/* reveal-on-load (hero) */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: reveal-in var(--dur-slow) var(--ease) forwards;
}
.reveal--1 { animation-delay: .05s; }
.reveal--2 { animation-delay: .13s; }
.reveal--3 { animation-delay: .21s; }
.reveal--4 { animation-delay: .30s; }
.reveal--5 { animation-delay: .38s; }
.reveal--6 { animation-delay: .46s; }
@keyframes reveal-in { to { opacity: 1; transform: translateY(0); } }

/* reveal-on-scroll (rest of page) */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
/* No-JS fallback: never leave content invisible if animations.js fails to load */
.no-js .reveal-on-scroll { opacity: 1; transform: none; }

/* ============ FEATURED PROJECT ============ */
.featured { padding: var(--sp-8) 0; background: radial-gradient(ellipse 75% 60% at 50% -10%, rgba(59, 130, 246, 0.09), transparent 70%), linear-gradient(180deg, #000 0%, #070707 100%); }
.featured__card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
  background: linear-gradient(155deg, rgba(59,130,246,0.06), transparent 30%), linear-gradient(155deg, #0e0e0e 0%, #070707 100%);
  border: 1px solid rgba(59, 130, 246, 0.18);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
}
.featured__browser {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  background: linear-gradient(160deg, #111 0%, #020202 100%);
}
.featured__browser--image {
  position: relative;
  height: 360px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.featured__browser--image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.5) 100%);
}
.featured__browser-bar {
  display: flex; gap: 6px;
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--border);
}
.featured__browser-bar span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--border-strong);
}
.featured__browser-body { padding: var(--sp-6); }
.featured__mock-chart {
  display: flex; align-items: flex-end; gap: var(--sp-3);
  height: 120px; margin-bottom: var(--sp-6);
}
.featured__mock-chart .bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, #fff, rgba(255,255,255,0.15));
  border-radius: 4px 4px 0 0;
}
.featured__mock-lines span {
  display: block; height: 8px; border-radius: 4px;
  background: var(--border-strong);
  margin-bottom: var(--sp-3);
}
.featured__mock-lines span:nth-child(1) { width: 90%; }
.featured__mock-lines span:nth-child(2) { width: 65%; }
.featured__mock-lines span:nth-child(3) { width: 78%; }

.featured__title {
  font-family: var(--font-display);
  font-size: 30px; font-weight: 600;
  margin-bottom: var(--sp-2);
}
.featured__subtitle { color: var(--text-secondary); font-size: 15px; font-weight: 500; margin-bottom: var(--sp-4); }
.featured__desc { color: var(--text-secondary); font-size: 16px; max-width: 480px; }
.featured__actions { display: flex; gap: var(--sp-4); margin-top: var(--sp-5); flex-wrap: wrap; }

/* Featured carousel */
.featured-carousel { position: relative; }
.featured-carousel__viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  touch-action: pan-y;
}
.featured-carousel__track {
  display: flex;
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.featured-carousel__track > .featured__card {
  flex: 0 0 100%;
  min-width: 0;
  transition: opacity 0.6s ease;
}
.featured-carousel__track > .featured__card:not(.is-active) { opacity: 0.4; }
.featured-carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--sp-5);
}
.featured-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(12, 12, 12, 0.85);
  color: var(--text-primary);
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.8);
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.featured-carousel__arrow:hover { color: var(--brand); border-color: var(--brand-border); background: var(--brand-dim); }
.featured-carousel__arrow[data-dir="prev"] { left: var(--sp-4); }
.featured-carousel__arrow[data-dir="next"] { right: var(--sp-4); }
.featured-carousel__dots { display: flex; gap: var(--sp-2); }
.featured-carousel__dot {
  width: 8px; height: 8px;
  padding: 0;
  border-radius: var(--radius-full);
  background: var(--border-strong);
  transition: width var(--dur-med) var(--ease), background var(--dur-med) var(--ease);
}
.featured-carousel__dot.is-active { background: var(--brand); width: 24px; }
.featured-carousel__dot:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ============ SERVICES ============ */
.services { padding: var(--sp-9) 0; background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(59, 130, 246, 0.07), transparent 70%), #000; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.service-card {
  background: linear-gradient(160deg, #0d0d0d 0%, #050505 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition: transform var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease), background var(--dur-med) var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-border);
  background: linear-gradient(160deg, rgba(59,130,246,0.08), transparent 35%), linear-gradient(160deg, #141414 0%, #060606 100%);
}
.service-card--accent { border-color: var(--brand-border); }
.service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-4);
}
.service-card__icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--brand);
}
.service-card--accent .service-card__icon {
  background: var(--brand-dim);
  border-color: var(--brand-border);
  color: var(--brand);
}
.service-card__index {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-tertiary);
}
.service-card__title {
  font-family: var(--font-display);
  font-size: 21px; font-weight: 600;
  margin: 0 0 var(--sp-2);
}
.service-card__desc { color: var(--text-secondary); font-size: 15px; margin-bottom: var(--sp-5); }
.service-card__list {
  border-top: 1px solid var(--border);
  padding-top: var(--sp-4);
  margin-bottom: var(--sp-5);
}
.service-card__list li {
  color: var(--text-secondary);
  font-size: 14px;
  padding: 5px 0;
  position: relative;
  padding-left: 16px;
}
.service-card__list li::before {
  content: "";
  position: absolute; left: 0; top: 12px;
  width: 5px; height: 1px;
  background: var(--text-tertiary);
}
.service-card__cta {
  font-weight: 500; font-size: 14.5px;
  color: var(--text-primary);
  display: inline-flex; align-items: center; gap: 6px;
}
.service-card__cta:hover { color: var(--text-secondary); }

/* ============ PORTFOLIO ============ */
.portfolio { padding: var(--sp-9) 0; background: #000; }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.project-card {
  background: linear-gradient(160deg, #0d0d0d 0%, #050505 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
}
.project-card:hover { transform: translateY(-4px); border-color: var(--brand-border); }
.project-card__visual {
  height: 160px;
  background: radial-gradient(ellipse at center, #161616 0%, #030303 100%);
  display: grid; place-items: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.project-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-med) var(--ease);
}
.project-card:hover .project-card__img { transform: scale(1.06); }
.project-card__glyph {
  font-family: var(--font-mono);
  font-size: 36px;
  color: var(--text-tertiary);
  transition: color var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
}
.project-card:hover .project-card__glyph { color: #fff; transform: scale(1.08); }
.project-card__body { padding: var(--sp-5); }
.project-card__title { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin-bottom: var(--sp-2); }
.project-card__desc { color: var(--text-secondary); font-size: 14.5px; }
.project-card__actions { display: flex; gap: var(--sp-3); margin-top: var(--sp-4); flex-wrap: wrap; }

/* ============ IDEAS ============ */
.ideas { padding: var(--sp-9) 0; background: radial-gradient(ellipse 55% 40% at 15% 0%, rgba(59, 130, 246, 0.08), transparent 70%), radial-gradient(ellipse 60% 50% at 20% 0%, #0d0d0d 0%, #000 60%), #000; }
.ideas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}
.idea-card {
  display: block;
  background: linear-gradient(160deg, #0c0c0c 0%, #050505 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  transition: border-color var(--dur-med) var(--ease), transform var(--dur-med) var(--ease), background var(--dur-med) var(--ease);
}
.idea-card:hover { border-color: var(--brand-border); transform: translateY(-3px); background: linear-gradient(160deg, rgba(59,130,246,0.08), transparent 35%), linear-gradient(160deg, #141414 0%, #060606 100%); }
.idea-card__title { font-family: var(--font-display); font-size: 16.5px; font-weight: 600; margin-bottom: var(--sp-2); }
.idea-card__desc { color: var(--text-secondary); font-size: 13.5px; }
.ideas__cta { text-align: center; margin-top: var(--sp-7); }

/* ============ PRICING ============ */
.pricing { padding: var(--sp-9) 0; background: radial-gradient(ellipse 55% 45% at 85% 0%, rgba(59, 130, 246, 0.06), transparent 70%), radial-gradient(ellipse 50% 40% at 10% 100%, rgba(59, 130, 246, 0.05), transparent 70%), #000; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  align-items: stretch;
}
.price-card {
  position: relative;
  background: linear-gradient(160deg, #0d0d0d 0%, #050505 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
}
.price-card--featured {
  border-color: var(--brand-border);
  background: linear-gradient(165deg, rgba(59,130,246,0.10), transparent 40%), linear-gradient(165deg, #161616 0%, #050505 55%);
}
.price-card__tag {
  position: absolute; top: -13px; left: var(--sp-6);
  background: #fff; color: #000;
  font-size: 11.5px; font-weight: 700;
  padding: 4px 12px; border-radius: var(--radius-full);
}
.price-card__tier { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text-secondary); }
.price-card__amount { font-family: var(--font-display); font-size: 34px; font-weight: 600; margin: var(--sp-2) 0 var(--sp-3); }
.price-card__desc { color: var(--text-secondary); font-size: 14.5px; margin-bottom: var(--sp-5); min-height: 44px; }
.price-card__list { margin-bottom: var(--sp-6); flex-grow: 1; }
.price-card__list li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 14px; color: var(--text-secondary);
  padding: 9px 0;
  border-top: 1px solid var(--border);
}
.price-card__list li:first-child { border-top: none; }
.price-card__list .icon { stroke: #fff; }
.price-card__cta { justify-content: center; width: 100%; }
.pricing__note { text-align: center; color: var(--text-tertiary); font-size: 13.5px; margin-top: var(--sp-6); }

/* ============ VALUES ============ */
.values { padding: var(--sp-9) 0; background: radial-gradient(ellipse 55% 40% at 50% 0%, rgba(59, 130, 246, 0.05), transparent 70%), #000; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}
.value-card {
  padding: var(--sp-5) 0;
  border-top: 1px solid var(--border);
}
.value-card__title { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin-bottom: var(--sp-2); }
.value-card__desc { color: var(--text-secondary); font-size: 14.5px; }

/* ============ ABOUT ============ */
.about { padding: var(--sp-9) 0; background: radial-gradient(ellipse 45% 40% at 50% 0%, rgba(59, 130, 246, 0.06), transparent 70%), radial-gradient(ellipse 55% 60% at 50% 50%, #0d0d0d 0%, #000 70%), #000; }
.about__container { display: flex; justify-content: center; }
.about__content { max-width: 640px; text-align: center; }
.about__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-5);
}
.about__text { color: var(--text-secondary); font-size: 16px; margin-bottom: var(--sp-4); }
.about__location {
  margin-top: var(--sp-5);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-tertiary);
  display: inline-flex; align-items: center; gap: var(--sp-2);
}
.about__location-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; }

/* ============ CONTACT ============ */
.contact { padding: var(--sp-9) 0; background: radial-gradient(ellipse 65% 50% at 50% 110%, rgba(59, 130, 246, 0.08), transparent 70%), #000; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-7);
  align-items: start;
}
.contact-form {
  background: linear-gradient(160deg, #0d0d0d 0%, #050505 100%);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.form-field { margin-bottom: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); }
.form-field label { font-size: 13.5px; font-weight: 500; color: var(--text-secondary); }
.form-field input, .form-field select, .form-field textarea {
  background: #050505;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text-primary);
  transition: border-color var(--dur-fast) var(--ease);
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: #fff;
}
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: var(--error); }
.form-error {
  font-size: 12.5px; color: var(--error);
  min-height: 15px;
}
.contact-form__submit { width: 100%; justify-content: center; margin-top: var(--sp-3); }
.contact-form__note {
  text-align: center; font-size: 14px; margin-top: var(--sp-4);
  min-height: 20px; color: var(--text-primary);
}

/* Narrow, compact contact form (contact page) */
.contact-page__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: start;
}
.contact-form--compact { padding: var(--sp-5); }
.contact-form--compact .form-field { margin-bottom: var(--sp-3); }
.contact-form--compact .form-field input,
.contact-form--compact .form-field select,
.contact-form--compact .form-field textarea {
  padding: 8px 10px;
  font-size: 14px;
}
.contact-form--compact textarea { min-height: 80px; }
.contact-aside--center { width: 100%; }

.contact-aside { display: flex; flex-direction: column; gap: var(--sp-5); }
.contact-aside--single { width: 100%; max-width: 480px; }
.whatsapp-cta {
  display: flex; align-items: center; gap: var(--sp-4);
  background: linear-gradient(160deg, #0d0d0d 0%, #050505 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.whatsapp-cta:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.whatsapp-cta__icon {
  width: 42px; height: 42px; flex-shrink: 0;
  display: grid; place-items: center;
  background: #fff;
  border-radius: 50%;
  color: #000;
}
.whatsapp-cta__icon .icon { fill: currentColor; stroke: none; }
.whatsapp-cta strong { display: block; font-size: 15px; }
.whatsapp-cta small { color: var(--text-tertiary); font-size: 13px; }

.contact-aside__info {
  background: linear-gradient(160deg, #0d0d0d 0%, #050505 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
}
.contact-aside__info p { font-size: 14px; color: var(--text-secondary); margin-bottom: var(--sp-4); display: flex; gap: var(--sp-3); align-items: flex-start; }
.contact-aside__info p:last-child { margin-bottom: 0; }
.contact-aside__info strong { color: var(--text-primary); display: block; margin-bottom: 2px; font-size: 13px; }
.contact-aside__info a { color: var(--text-secondary); transition: color var(--dur-fast) var(--ease); }
.contact-aside__info a:hover { color: var(--brand); }
.contact-aside__info .icon { margin-top: 2px; stroke: var(--text-tertiary); }

/* ============ CTA BANNER ============ */
.cta-banner {
  position: relative;
  padding: var(--sp-9) 0;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(59, 130, 246, 0.18), transparent 60%) fixed,
    linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.82)) fixed,
    url("../assets/images/burner.png") center / cover no-repeat fixed;
}
.cta-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-banner .section-head { margin: 0 0 var(--sp-6); }
.cta-banner__btn { margin-top: 0; }

/* ============ FAQ ============ */
.faq { padding: var(--sp-9) 0; background: #000; }
.faq .section-head { text-align: center; margin: 0 auto var(--sp-6); }
.faq .section-head__sub { margin: 0 auto; }
.faq__list { max-width: 720px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:first-child { border-top: 1px solid var(--border); }
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  color: var(--text-primary);
  transition: color var(--dur-fast) var(--ease);
}
.faq__question:hover { color: var(--brand); }
.faq__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  padding: 4px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text-secondary);
  transition: transform var(--dur-med) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.faq__question:hover .faq__icon,
.faq__item.is-open .faq__icon {
  color: var(--brand);
  border-color: var(--brand-border);
}
.faq__item.is-open .faq__icon { transform: rotate(180deg); background: var(--brand-dim); }
.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-med) var(--ease);
}
.faq__item.is-open .faq__answer { grid-template-rows: 1fr; }
.faq__answer-inner { overflow: hidden; }
.faq__answer-inner p {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 640px;
  padding-bottom: var(--sp-4);
}

/* ============ PROCESS (contact page) ============ */
.process { padding: var(--sp-9) 0; background: #000; }
.process .section-head { text-align: center; margin: 0 auto var(--sp-7); }
.process .section-head__sub { margin: 0 auto; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}
.process-card {
  position: relative;
  padding: var(--sp-6) var(--sp-5);
  background:
    linear-gradient(160deg, rgba(59, 130, 246, 0.06), transparent 35%),
    linear-gradient(160deg, #0e0e0e 0%, #050505 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.process-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-border);
}
.process-card__num {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--brand-border);
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: var(--sp-4);
}
.process-card__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: var(--sp-2);
}
.process-card__desc { color: var(--text-secondary); font-size: 14.5px; }

/* ============ FOOTER ============ */
.footer { padding: var(--sp-8) 0 var(--sp-6); background: radial-gradient(ellipse 60% 45% at 15% 0%, rgba(59, 130, 246, 0.08), transparent 70%), radial-gradient(ellipse 55% 45% at 90% 20%, rgba(59, 130, 246, 0.05), transparent 70%), linear-gradient(180deg, #000 0%, #070707 100%); }
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: var(--sp-6);
}
.footer__about { color: var(--text-secondary); font-size: 14px; line-height: 1.6; max-width: 34ch; margin-top: var(--sp-3); }
.footer__social { display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-4); }
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 400;
  color: var(--text-tertiary); margin-bottom: var(--sp-4);
}
.footer__col a, .footer__col .footer__placeholder {
  display: block;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 400;
  padding: 5px 0;
  transition: color var(--dur-fast) var(--ease);
}
.footer__col a:hover { color: var(--brand); }
.footer__col .footer__contact {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  word-break: break-word;
}
.footer__contact .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke-width: 1.75;
}
.footer__contact .icon[fill="currentColor"] { stroke: none; }
.footer__contact span { min-width: 0; }
.footer__social-link {
  position: relative;
  width: 38px; height: 38px;
  display: inline-block;
  background: var(--surface-2);
  border-radius: 50%;
  color: var(--text-secondary);
  border: 1px solid rgba(59, 130, 246, 0.18);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.footer__social-link .icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  margin: 0;
  stroke-width: 1.75;
  transition: transform var(--dur-med) var(--ease), color var(--dur-fast) var(--ease);
}
.footer__social-link:hover { color: var(--brand); transform: translateY(-2px); }
.footer__social-link:hover .icon { transform: translate(-50%, -50%) scale(1.4); }
.footer__social-link .icon[fill="currentColor"] { stroke: none; }
.footer__brand .navbar__name-accent { color: var(--brand); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--text-tertiary);
  font-size: 13px;
}
.footer__location { color: var(--text-secondary); }

/* ============ LEGAL PAGE ============ */
.legal { padding: calc(var(--nav-h) + var(--sp-8)) 0 var(--sp-9); }
.legal__meta { color: var(--text-tertiary); font-family: var(--font-mono); font-size: 13px; margin-bottom: var(--sp-7); }
.legal__section { padding: var(--sp-6) 0; border-top: 1px solid var(--border); }
.legal__section h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-4);
}
.legal__section h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin: var(--sp-5) 0 var(--sp-2);
  color: var(--text-primary);
}
.legal__section p {
  color: var(--text-secondary);
  font-size: 15.5px;
  margin-bottom: var(--sp-3);
  max-width: 720px;
}
.legal__section ul {
  margin: 0 0 var(--sp-4);
  padding-left: 18px;
  list-style: disc;
}
.legal__section ul li {
  color: var(--text-secondary);
  font-size: 15px;
  padding: 3px 0;
}
.legal__section a { color: var(--brand); }
.legal__section a:hover { text-decoration: underline; }

/* ============ SUBPAGE HERO (About / Contact) ============ */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + var(--sp-8)) 0 var(--sp-9);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -14px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 50% -5%, rgba(59, 130, 246, 0.12), transparent 65%),
    linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.82)),
    url("../assets/images/burner.png") center / cover no-repeat;
  filter: blur(2px);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .section-head { max-width: 760px; margin-bottom: 0; }
.page-hero .section-head__title { font-size: clamp(30px, 4.2vw, 48px); }
.page-hero .section-head__sub { max-width: 640px; margin-top: var(--sp-3); }

.about-cta {
  padding: var(--sp-9) 0;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(59, 130, 246, 0.08), transparent 70%),
    #000;
}
.about-cta .section-head { margin: 0 auto; }
.about-cta__actions {
  display: flex;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
  flex-wrap: wrap;
}
