/* =========================================================
   iivo — Design System
   ========================================================= */

/* ---------- Brand typeface: Helvetica Neue ---------- */
@font-face {
  font-family: 'Helvetica Neue';
  src: url('fonts/HelveticaNeueUltraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Neue';
  src: url('fonts/HelveticaNeueUltraLightItal.ttf') format('truetype');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Neue';
  src: url('fonts/HelveticaNeueLight.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Neue';
  src: url('fonts/HelveticaNeueLightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Neue';
  src: url('fonts/HelveticaNeueItalic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Neue';
  src: url('fonts/HelveticaNeueMedium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Neue';
  src: url('fonts/HelveticaNeueBold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Neue';
  src: url('fonts/HelveticaNeueBoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Neue Condensed';
  src: url('fonts/HelveticaNeueCondensedBold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Neue Condensed';
  src: url('fonts/HelveticaNeueCondensedBlack.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0A0A0A;
  --surface: #111111;
  --surface-2: #161616;
  --accent: #6FE8C9;
  --accent-dim: rgba(111, 232, 201, 0.12);
  --accent-border: rgba(111, 232, 201, 0.3);
  --text: #FFFFFF;
  --text-muted: rgba(255, 255, 255, 0.42);
  --text-dim: rgba(255, 255, 255, 0.26);
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.15);
  --max: 1280px;
  --pad: clamp(20px, 4vw, 64px);
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Helvetica Neue', 'Helvetica', 'Arial', system-ui, sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

::selection { background: var(--accent); color: var(--bg); }

/* =========================================================
   Layout helpers
   ========================================================= */

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.section {
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
}

.section-head { margin-bottom: clamp(40px, 6vw, 80px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 8px 14px;
  border: 1px solid var(--accent-border);
  border-radius: 100px;
  background: var(--accent-dim);
}

.eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.h1 {
  font-size: clamp(36px, 5.2vw, 72px);
  font-weight: 200;
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.h2 {
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 200;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.h3 {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.005em;
}

.lead {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--text-muted);
  font-weight: 300;
  max-width: 56ch;
  line-height: 1.6;
}

.accent { color: var(--accent); }
.muted  { color: var(--text-muted); }

.label {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: 6px;
  transition: all 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover {
  background: #8FF0D5;
  transform: translateY(-1px);
  box-shadow: 0 10px 40px -10px rgba(111, 232, 201, 0.5);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: rgba(255,255,255,0.7);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}
.btn:hover .arrow { transform: translateX(4px); }

/* =========================================================
   Navbar
   ========================================================= */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(0);
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text);
}
.logo .dot { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  padding: 11px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  transition: all 0.25s ease;
  color: rgba(255,255,255,0.75);
}
.nav-cta:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lang-toggle {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.5);
  padding: 7px 13px;
  font-size: 11px;
  font-family: inherit;
  letter-spacing: 0.12em;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s;
  line-height: 1;
}
.lang-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Big background wordmark */
.hero-wordmark {
  position: absolute;
  left: 50%;
  top: 24%;
  transform: translate(-50%, -50%);
  font-size: clamp(120px, 22vw, 320px);
  font-weight: 200;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.025);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  line-height: 1;
}

/* Decorative grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

/* Soft accent glow bottom */
.hero-glow {
  position: absolute;
  bottom: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 110%;
  height: 80%;
  background: radial-gradient(ellipse at center top,
    rgba(111, 232, 201, 0.08) 0%,
    transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 820px;
}

.hero h1 { font-weight: 200; }
.hero h1 .line-accent { color: var(--accent); font-style: italic; font-weight: 200; }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.scroll-hint .line {
  width: 1px; height: 50px;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  animation: lineMove 2.4s ease-in-out infinite;
}
@keyframes lineMove {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* =========================================================
   Stats strip
   ========================================================= */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat {
  padding: 40px 28px;
  border-right: 1px solid var(--border);
  position: relative;
}
.stat:last-child { border-right: none; }

.stat-value {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat-value .unit { color: var(--accent); font-size: 0.6em; }
.stat-label {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
}

/* =========================================================
   Case cards
   ========================================================= */

.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.5s ease, border-color 0.3s ease;
  cursor: pointer;
}

.case:hover {
  border-color: rgba(111, 232, 201, 0.3);
  transform: translateY(-4px);
}

.case-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Real photo layer — removed; using CSS backgrounds */

/* Fallback backgrounds — elegant CSS per card */
.viz-v1 {
  background:
    radial-gradient(circle at 60% 40%, rgba(111,232,201,0.12) 0%, transparent 55%),
    linear-gradient(140deg, #0d1a18 0%, #0a0a0a 70%);
}
.viz-v2 {
  background:
    radial-gradient(circle at 30% 65%, rgba(111,232,201,0.08) 0%, transparent 55%),
    linear-gradient(165deg, #0c1416 0%, #0a0a0a 75%);
}
.viz-v3 {
  background:
    radial-gradient(ellipse at 50% 48%, rgba(75,38,15,0.55) 0%, transparent 60%),
    linear-gradient(160deg, #140e06 0%, #0a0a0a 75%);
}

/* Gradient overlay for readability */
.case-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(10,10,10,0.5) 55%,
    rgba(10,10,10,0.92) 100%);
  z-index: 1;
  pointer-events: none;
}

/* SVG inside viz fills the card */
.case-visual svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.case-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.case-index {
  font-size: 10.5px;
  color: var(--text-dim);
  letter-spacing: 0.16em;
}

.case-body { display: flex; flex-direction: column; gap: 14px; }
.case-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.case-title {
  font-size: clamp(18px, 1.4vw, 22px);
  font-weight: 300;
  line-height: 1.25;
  color: var(--text);
  letter-spacing: -0.01em;
}

@media (max-width: 600px) {
  .cases { grid-template-columns: 1fr; }
  .case { aspect-ratio: 16/10; }
}

/* =========================================================
   Logos strip
   ========================================================= */

.logos {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.logos-label {
  text-align: center;
  font-size: 10.5px;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.logos-track {
  display: flex;
  gap: 80px;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  opacity: 0.55;
}
.logo-item {
  font-size: 19px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--text);
  font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  white-space: nowrap;
}
.logo-item i { font-style: italic; font-weight: 200; }
.logo-item b { font-weight: 500; }

/* =========================================================
   Services
   ========================================================= */

.services-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: flex-start;
  border-top: 1px solid var(--border);
}

.services-tabs {
  display: flex;
  flex-direction: column;
  padding-top: 20px;
}
.service-tab {
  text-align: left;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 300;
  transition: color 0.25s ease, padding-left 0.25s ease;
  position: relative;
}
.service-tab:first-child { border-top: 1px solid var(--border); }
.service-tab .num {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  width: 24px;
}
.service-tab .chev {
  margin-left: auto;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.25s ease;
  color: var(--accent);
}
.service-tab:hover { color: var(--text); }
.service-tab.active {
  color: var(--text);
  padding-left: 8px;
}
.service-tab.active .chev { opacity: 1; transform: translateX(0); }
.service-tab.active::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 2px; height: 20px;
  background: var(--accent);
}

.services-panel {
  padding: 40px 0;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.services-panel .label { margin-bottom: 8px; }
.services-panel h3 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 200;
  letter-spacing: -0.01em;
  line-height: 1.1;
  max-width: 22ch;
}
.services-panel p {
  color: var(--text-muted);
  max-width: 58ch;
  line-height: 1.7;
}
.services-panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.chip {
  font-size: 11px;
  padding: 7px 13px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .services-panel { padding-top: 20px; min-height: auto; }
}

/* =========================================================
   Value props
   ========================================================= */

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.value {
  background: var(--bg);
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 260px;
  transition: background 0.3s ease;
  position: relative;
}
.value:hover { background: var(--surface); }

.value-icon {
  width: 44px; height: 44px;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-icon svg { width: 100%; height: 100%; }

.value h4 {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--text);
}
.value p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}
.value-num {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 10.5px;
  color: var(--text-dim);
  letter-spacing: 0.16em;
}

@media (max-width: 900px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* =========================================================
   How it works
   ========================================================= */

.how {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.how::before {
  content: '';
  position: absolute;
  top: 18px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  z-index: 0;
}

.step { position: relative; display: flex; flex-direction: column; gap: 14px; }
.step-num {
  width: 36px; height: 36px;
  border: 1px solid var(--accent-border);
  background: var(--bg);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.05em;
  z-index: 1;
}
.step h4 {
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.005em;
  margin-top: 10px;
}
.step p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }

@media (max-width: 900px) {
  .how { grid-template-columns: 1fr; gap: 32px; }
  .how::before { display: none; }
}

/* =========================================================
   Consulting banner
   ========================================================= */

.consult {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  padding: clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.consult::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 20%, rgba(111,232,201,0.12), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(111,232,201,0.06), transparent 50%);
  pointer-events: none;
}
.consult > * { position: relative; z-index: 1; }

.consult-left { display: flex; flex-direction: column; gap: 22px; }
.consult-left h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 200;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.consult-left p { color: var(--text-muted); max-width: 52ch; }

.consult-right h2 {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 200;
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.consult-right h2 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 200;
}

@media (max-width: 900px) { .consult { grid-template-columns: 1fr; } }

/* =========================================================
   FAQ
   ========================================================= */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}
.faq-left h2 { margin-bottom: 20px; }
.faq-left p { color: var(--text-muted); margin-bottom: 28px; }

.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  cursor: pointer;
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }

.faq-q {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 17px;
  font-weight: 300;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.faq-q .plus {
  margin-left: auto;
  width: 14px; height: 14px;
  position: relative;
  flex-shrink: 0;
}
.faq-q .plus::before,
.faq-q .plus::after {
  content: '';
  position: absolute;
  background: var(--accent);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.faq-q .plus::before {
  left: 0; right: 0; top: 50%;
  height: 1px;
  transform: translateY(-50%);
}
.faq-q .plus::after {
  top: 0; bottom: 0; left: 50%;
  width: 1px;
  transform: translateX(-50%);
}
.faq-item.open .faq-q .plus::after { opacity: 0; transform: translateX(-50%) rotate(90deg); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.faq-a-inner {
  overflow: hidden;
  color: var(--text-muted);
  max-width: 70ch;
  line-height: 1.7;
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner-pad { padding-top: 14px; }

@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 40px; } }

/* =========================================================
   Contact
   ========================================================= */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-left h2 { margin-bottom: 24px; }
.contact-left p { color: var(--text-muted); margin-bottom: 36px; max-width: 48ch; }

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.meta-row { display: flex; gap: 18px; align-items: baseline; }
.meta-key {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  min-width: 100px;
}
.meta-val { font-size: 14.5px; color: var(--text); }
.meta-val small { display: block; color: var(--text-muted); font-size: 12px; margin-top: 2px; }

.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.field input,
.field select,
.field textarea {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  background: rgba(111, 232, 201, 0.04);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-dim); }

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%236FE8C9' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: var(--surface-2);
  padding-right: 36px;
  cursor: pointer;
}
.field select option { background: var(--surface); color: var(--text); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .btn-primary { margin-top: 20px; align-self: flex-start; }

.form-note {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 12px;
  line-height: 1.6;
  max-width: 48ch;
}

@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
}

/* =========================================================
   Footer
   ========================================================= */

.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 36px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand p { color: var(--text-muted); font-size: 13.5px; max-width: 34ch; }
.footer-col h5 {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--text-muted); font-size: 13.5px; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: var(--text-dim); transition: color 0.2s ease; }
.footer-bottom-links a:hover { color: var(--text-muted); }

@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* =========================================================
   Reveal animation
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
/* No-JS fallback — if script fails, content stays visible */
.no-js .reveal { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-glow, .scroll-hint .line { animation: none; }
}
