/* ============================================================
   KUZNETSOV.AI — Premium Redesign
   Inspired by thealien.design
   Cormorant Garamond (display) + Space Grotesk (UI)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Space+Grotesk:wght@300;400;500;600&family=Heebo:wght@300;400;500;600&display=swap');

/* --- Tokens (harmonised with the hub: cool neutrals + iOS-blue) --- */
:root {
  --bg:           #EDF0F7;
  --bg-dark:      #0C0F16;
  --surface:      #E3E8F2;
  --surface-dark: #161821;

  --text:         #1C1C1E;
  --text-2:       #6A7180;
  --text-3:       #A2A9B8;
  --text-inv:     #EDEDF2;
  --text-inv-2:   rgba(235, 235, 245, 0.6);

  --accent:       #007AFF;
  --accent-h:     #0062CC;
  --accent-light: rgba(0, 122, 255, 0.08);

  --border:       rgba(20, 30, 60, 0.10);
  --border-dark:  rgba(255, 255, 255, 0.10);

  --font-d:  'Instrument Sans', system-ui, sans-serif;
  --font:    'Space Grotesk', system-ui, sans-serif;
  --font-he: 'Heebo', 'Space Grotesk', sans-serif;

  --nav-h:  68px;
  --max-w:  1280px;
  --r:      4px;
  --ease:   cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}


/* --- Grain texture overlay --- */
body::after {
  content: '';
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.02;
  pointer-events: none;
  z-index: 9999;
  animation: grain 0.45s steps(2) infinite;
}

@keyframes grain {
  0%   { transform: translate(0,    0   ); }
  20%  { transform: translate(-3%,  2%  ); }
  40%  { transform: translate(2%,  -3%  ); }
  60%  { transform: translate(-1%,  3%  ); }
  80%  { transform: translate(3%,  -1%  ); }
  100% { transform: translate(0,    0   ); }
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Layout --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 768px) { .container { padding: 0 24px; } }

section { padding: 120px 0; }
@media (max-width: 768px) { section { padding: 72px 0; } }

.section-dark {
  background: var(--bg-dark);
  color: var(--text-inv);
}
.section-surface {
  background: var(--surface);
}

/* --- Reveal animation --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { 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; }

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 13px 24px;
  border-radius: var(--r);
  font-family: var(--font);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--accent-h);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  padding: 12px 24px;
  border-radius: var(--r);
  font-family: var(--font);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-ghost:hover {
  background: var(--surface);
  transform: translateY(-1px);
}

.btn-ghost-inv {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-inv);
  padding: 12px 24px;
  border-radius: var(--r);
  font-family: var(--font);
  font-weight: 500;
  font-size: 14px;
  border: 1px solid var(--border-dark);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn-ghost-inv:hover { background: rgba(255,255,255,0.05); transform: translateY(-1px); }

/* Nav-specific CTA button */
.btn-nav {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--r);
  font-family: var(--font);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-nav:hover { background: var(--accent-h); transform: translateY(-1px); }

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(237, 240, 247, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  gap: 24px;
}

.nav-logo {
  font-family: var(--font);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  justify-self: start;
}
.nav-logo .badge {
  font-size: 10px;
  font-weight: 500;
  color: var(--accent);
  border: 1px solid rgba(124, 58, 237, 0.25);
  padding: 2px 7px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  justify-self: center;
}
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-2);
  transition: color 0.15s;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-self: end;
}

/* --- Lang switcher --- */
.lang-switcher {
  display: flex;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px;
}
.lang-switcher button {
  background: none;
  border: none;
  color: var(--text-2);
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.15s;
}
.lang-switcher button:hover { color: var(--text); }
.lang-switcher button.active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* --- Hamburger --- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 0 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    width: 100%;
    padding: 13px 24px;
    font-size: 15px;
  }
}

/* --- HERO --- */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 1; }

.hero-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text-3);
}

.hero-headline {
  font-family: var(--font-d);
  font-weight: 300;
  font-size: clamp(52px, 7vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 900px;
  margin-bottom: 40px;
}
.hero-headline .normal {
  font-style: normal;
  font-weight: 300;
}
.hero-headline .accent { color: var(--accent); }

.hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-2);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 48px;
  letter-spacing: 0.01em;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 768px) {
  .hero { padding: 60px 0 60px; min-height: auto; }
}

/* --- MANIFESTO --- */
.manifesto { padding: 0; }

.manifesto-inner {
  border-top: 1px solid var(--border-dark);
  padding: 80px 0;
}

.manifesto-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-inv-2);
  margin-bottom: 64px;
}

.manifesto-lines { max-width: 960px; }

.manifesto-line {
  font-family: var(--font-d);
  font-weight: 300;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: rgba(237, 232, 220, 0.35);
  padding: 20px 0;
  border-bottom: 1px solid var(--border-dark);
  transition: color 0.3s;
  cursor: default;
}
.manifesto-line:hover { color: var(--text-inv); }
.manifesto-line:last-child {
  border-bottom: none;
  color: var(--text-inv);
  font-style: italic;
}

.manifesto-footnote {
  margin-top: 56px;
  font-size: 13px;
  font-weight: 300;
  color: var(--text-inv-2);
  font-style: italic;
  letter-spacing: 0.01em;
}

/* --- ABOUT --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }

.about-headline {
  font-family: var(--font-d);
  font-weight: 300;
  font-size: clamp(36px, 3.5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

.about-text p {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
.about-text p strong { color: var(--text); font-weight: 500; }

.about-meta {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-3);
  letter-spacing: 0.02em;
}

.principles-stack { display: flex; flex-direction: column; gap: 0; }
.principle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.principle-row:first-child { border-top: 1px solid var(--border); }
.principle-row span:first-child {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.04em;
  min-width: 28px;
}
.principle-row span:last-child {
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* --- SERVICES --- */
.services-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.services-headline {
  font-family: var(--font-d);
  font-weight: 300;
  font-size: clamp(36px, 3vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.services-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 520px;
  letter-spacing: 0.01em;
}

.service-row {
  display: grid;
  grid-template-columns: 60px 1fr 2fr;
  gap: 32px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
@media (max-width: 768px) {
  .service-row {
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto;
    gap: 8px;
  }
  .service-row .service-desc {
    grid-column: 2;
    grid-row: 2;
  }
}

.service-num {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-3);
  letter-spacing: 0.04em;
  padding-top: 2px;
}

.service-name {
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
}

.service-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.65;
  letter-spacing: 0.01em;
}

/* --- HOW WE WORK --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
@media (max-width: 768px) { .steps-grid { grid-template-columns: 1fr; } }

.step-item {
  padding: 48px 48px 48px 0;
  border-right: 1px solid var(--border);
}
.step-item:last-child { border-right: none; padding-right: 0; padding-left: 48px; }
.step-item:nth-child(2) { padding: 48px 48px; }
@media (max-width: 768px) {
  .step-item,
  .step-item:last-child,
  .step-item:nth-child(2) {
    padding: 32px 0;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .step-item:last-child { border-bottom: none; }
}

.step-num {
  font-family: var(--font-d);
  font-size: 64px;
  font-weight: 300;
  color: rgba(13,12,11,0.08);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.04em;
}

.step-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.step-body {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.7;
  letter-spacing: 0.01em;
}

/* --- PACKAGES --- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
@media (max-width: 960px) { .packages-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .packages-grid { grid-template-columns: 1fr; } }

.pkg {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background 0.2s;
}
.pkg:last-child { border-right: none; }
.pkg:hover { background: rgba(124,58,237,0.03); }
.pkg.featured { background: rgba(124,58,237,0.05); }
.pkg.featured::before {
  content: 'Recommended';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 0 0 6px 6px;
}

.pkg-num {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-3);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.pkg-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  line-height: 1.3;
}

.pkg-tag {
  font-size: 12px;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.pkg-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pkg-item {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-2);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}
.pkg-item::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--text-3);
}

/* --- TOOLKIT --- */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 48px;
}
@media (max-width: 960px) { .tools-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 580px)  { .tools-grid { grid-template-columns: repeat(3, 1fr); } }

.tool-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: default;
}
.tool-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.tool-logo-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tool-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  filter: grayscale(0.3) opacity(0.85);
  transition: filter 0.2s;
}
.tool-card:hover .tool-logo {
  filter: grayscale(0) opacity(1);
}
.tool-logo-fb {
  display: none;
  width: 44px;
  height: 44px;
  background: var(--surface);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-2);
}
.tool-card.no-logo .tool-logo { display: none; }
.tool-card.no-logo .tool-logo-fb { display: flex; }
.tool-name {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-2);
  text-align: center;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

/* --- RESULTS --- */
.results-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}
@media (max-width: 768px) { .results-row { grid-template-columns: 1fr; } }

.result-stat {
  padding: 56px 48px 56px 0;
  border-right: 1px solid var(--border);
}
.result-stat:last-child { border-right: none; padding-right: 0; padding-left: 48px; }
.result-stat:nth-child(2) { padding: 56px 48px; }
@media (max-width: 768px) {
  .result-stat,
  .result-stat:last-child,
  .result-stat:nth-child(2) {
    padding: 32px 0;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .result-stat:last-child { border-bottom: none; }
}

.result-number {
  font-family: var(--font-d);
  font-size: clamp(52px, 5vw, 80px);
  font-weight: 300;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.result-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.result-body {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.65;
  letter-spacing: 0.01em;
}

/* --- FAQ --- */
.faq-list {
  max-width: 760px;
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  text-align: left;
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  letter-spacing: -0.01em;
  transition: color 0.15s;
}
.faq-question:hover { color: var(--accent); }

.faq-arrow {
  color: var(--text-3);
  font-size: 20px;
  flex-shrink: 0;
  transition: transform 0.2s, color 0.15s;
  line-height: 1;
}
.faq-item.open .faq-arrow { transform: rotate(45deg); color: var(--accent); }
.faq-item.open .faq-question { color: var(--accent); }

.faq-answer {
  display: none;
  padding: 0 48px 22px 0;
  font-size: 15px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.75;
  letter-spacing: 0.01em;
}
.faq-item.open .faq-answer { display: block; }

/* --- CONTACT --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }

.contact-headline {
  font-family: var(--font-d);
  font-weight: 300;
  font-size: clamp(36px, 3vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.contact-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 32px;
  letter-spacing: 0.01em;
}

.contact-note {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-3);
  margin-top: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.form-field input,
.form-field textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 300;
  padding: 12px 16px;
  outline: none;
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
  letter-spacing: 0.01em;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.08);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-3); }
.form-field textarea { min-height: 120px; }

.form-message {
  display: none;
  padding: 12px 16px;
  border-radius: var(--r);
  font-size: 13px;
  font-weight: 400;
}
.form-message.success {
  display: block;
  background: rgba(39, 166, 68, 0.06);
  border: 1px solid rgba(39, 166, 68, 0.2);
  color: #27a644;
}
.form-message.error {
  display: block;
  background: rgba(220,38,38,0.05);
  border: 1px solid rgba(220,38,38,0.15);
  color: #dc2626;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  padding: 12px 20px;
  border-radius: var(--r);
  font-weight: 500;
  font-size: 14px;
  border: 1px solid var(--border);
  transition: border-color 0.15s, transform 0.15s, background 0.15s;
}
.whatsapp-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* --- SECTION HEADING pattern --- */
.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-3);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--text-3);
}

.section-title {
  font-family: var(--font-d);
  font-weight: 300;
  font-size: clamp(36px, 3vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 520px;
  letter-spacing: 0.01em;
}

/* --- FOOTER --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

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

.footer-copy {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-3);
  letter-spacing: 0.01em;
}

.footer-tagline {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-3);
  font-style: italic;
  letter-spacing: 0.01em;
}

.footer-langs {
  display: flex;
  gap: 6px;
}
.footer-langs a {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 100px;
  letter-spacing: 0.04em;
  transition: all 0.15s;
}
.footer-langs a:hover { border-color: var(--accent); color: var(--accent); }

/* --- Footer social --- */
.footer-social {
  display: flex;
  align-items: center;
  gap: 8px;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-3);
  background: transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}
.social-link svg { width: 15px; height: 15px; flex-shrink: 0; }
.social-link:hover { transform: translateY(-2px); border-color: transparent; color: #fff; }
.social-link[data-p="fb"]:hover   { background: #1877F2; }
.social-link[data-p="ig"]:hover   { background: #E1306C; }
.social-link[data-p="tg"]:hover   { background: #26A5E4; }

/* --- Scroll margin --- */
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* ============================================================
   PORTRAIT PHOTOS
   ============================================================ */

/* Hero — seated B&W photo bleeds from right */
.hero-photo-col {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 46%;
  pointer-events: none;
  z-index: 0;
}
.hero-photo-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% top;
  display: block;
  filter: grayscale(12%) contrast(1.04);
}
.hero-photo-col::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, var(--bg) 0%, rgba(242,239,232,0.6) 30%, rgba(242,239,232,0) 55%),
    linear-gradient(to bottom, transparent 55%, var(--bg) 100%);
}
@media (max-width: 960px) { .hero-photo-col { display: none; } }

/* About — color portrait in right column */
.about-right-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.about-portrait {
  overflow: hidden;
  margin-bottom: 0;
}
.about-portrait img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 12%;
  display: block;
  filter: grayscale(6%) contrast(1.04) saturate(0.9);
  transition: filter 0.8s var(--ease);
}
.about-portrait:hover img {
  filter: grayscale(0%) contrast(1.0) saturate(1.1);
}
.about-portrait::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--border);
  margin-top: 0;
}

/* Contact — B&W close-up ghost on right */
#contact { position: relative; overflow: hidden; }
#contact .container { position: relative; z-index: 1; }

.contact-photo-bg {
  position: absolute;
  right: -2%;
  top: 0;
  bottom: 0;
  width: 38%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.contact-photo-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  mix-blend-mode: multiply;
  opacity: 0.18;
  filter: grayscale(100%) contrast(1.2);
}
.contact-photo-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, var(--surface) 0%, transparent 50%);
}
@media (max-width: 960px) { .contact-photo-bg { display: none; } }

/* ============================================================
   CV — Stats + Domain Blocks
   ============================================================ */

.cv-intro { max-width: 760px; margin-bottom: 48px; }

.cv-lead {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.7;
  letter-spacing: 0.01em;
  margin-top: 16px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 48px 0 64px;
}
@media (max-width: 768px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }

.stat-cell {
  padding: 28px 24px 28px 0;
  border-right: 1px solid var(--border);
}
.stat-cell + .stat-cell { padding-left: 24px; }
.stat-cell:last-child { border-right: none; }
@media (max-width: 768px) {
  .stat-cell:nth-child(2) { border-right: none; padding-right: 0; }
  .stat-cell:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .stat-cell:nth-child(3) { padding-left: 0; }
}

.stat-number {
  font-family: var(--font-d);
  font-size: clamp(36px, 3.5vw, 52px);
  font-weight: 300;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-2);
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.cv-blocks { display: flex; flex-direction: column; }

.cv-block {
  display: grid;
  grid-template-columns: 60px 200px 1fr;
  gap: 32px;
  align-items: baseline;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.cv-block:first-child { border-top: 1px solid var(--border); }
@media (max-width: 768px) {
  .cv-block {
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto;
    gap: 6px 16px;
  }
  .cv-block-body { grid-column: 1 / -1; grid-row: 2; padding-left: 56px; margin-top: 12px; }
}

.cv-block-num {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-3);
  letter-spacing: 0.04em;
  padding-top: 2px;
}

.cv-block-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cv-block-body {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.7;
  letter-spacing: 0.01em;
}
.cv-block-body strong { color: var(--text); font-weight: 500; }
.cv-block-body p + p { margin-top: 12px; }
.cv-block-body ul { list-style: none; padding-left: 0; margin-top: 10px; }
.cv-block-body ul li {
  padding-left: 16px;
  position: relative;
  margin-bottom: 6px;
}
.cv-block-body ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--text-3);
}

/* "Now" dark block */
.now-block {
  background: var(--bg-dark);
  color: var(--text-inv);
  padding: 96px 0;
  margin-top: 80px;
}
@media (max-width: 768px) { .now-block { padding: 64px 0; margin-top: 56px; } }

.now-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-inv-2);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.now-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--text-inv-2);
}

.now-lead {
  font-family: var(--font-d);
  font-weight: 300;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text-inv);
  max-width: 880px;
  margin-bottom: 56px;
}

.now-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(237, 232, 220, 0.18);
}
.now-row {
  display: grid;
  grid-template-columns: 220px 1fr 70px;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-dark);
  align-items: baseline;
}
.now-role {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-inv-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.now-company {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-inv);
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.now-company strong { color: #fff; font-weight: 500; }
.now-year {
  font-size: 13px;
  color: var(--text-inv-2);
  text-align: right;
  letter-spacing: 0.02em;
}
@media (max-width: 700px) {
  .now-row {
    grid-template-columns: 1fr 60px;
    grid-template-rows: auto auto;
    gap: 4px 16px;
  }
  .now-role { grid-row: 1; grid-column: 1; }
  .now-year { grid-row: 1; grid-column: 2; }
  .now-company { grid-column: 1 / -1; grid-row: 2; }
}

.now-meta {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  font-size: 12px;
  color: var(--text-inv-2);
  letter-spacing: 0.02em;
  line-height: 1.6;
}

/* ============================================================
   MEDIA — Publication rows
   ============================================================ */

.media-group { margin-bottom: 56px; }
.media-group:last-child { margin-bottom: 0; }

.media-group-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.media-list { display: flex; flex-direction: column; }

.media-row {
  display: grid;
  grid-template-columns: 220px 1fr 70px;
  gap: 32px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  transition: background 0.15s, padding-left 0.15s;
}
.media-row:hover { background: rgba(124, 58, 237, 0.025); padding-left: 12px; }
.media-row:hover .media-title { color: var(--accent); }

@media (max-width: 720px) {
  .media-row {
    grid-template-columns: 1fr 60px;
    grid-template-rows: auto auto;
    gap: 4px 16px;
    padding: 16px 0;
  }
  .media-row:hover { padding-left: 8px; }
  .media-publisher { grid-row: 1; grid-column: 1; }
  .media-year { grid-row: 1; grid-column: 2; text-align: right; }
  .media-title { grid-column: 1 / -1; grid-row: 2; }
}

.media-publisher {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}

.media-title {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.5;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}

.media-year {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-3);
  letter-spacing: 0.02em;
  text-align: right;
}

/* Link-style CTA used in section teasers */
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s, gap 0.15s;
  margin-top: 40px;
}
.btn-link:hover { border-color: var(--accent); gap: 10px; }

/* ============================================================
   SUB-PAGE HEADER (CV, Media full pages)
   ============================================================ */
.page-head {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 768px) { .page-head { padding: 48px 0 40px; } }

.page-head-title {
  font-family: var(--font-d);
  font-weight: 300;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.page-head-title em { font-style: italic; }

.page-head-lead {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 720px;
  letter-spacing: 0.01em;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-3);
  font-size: 13px;
  letter-spacing: 0.02em;
  margin-top: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  transition: color 0.15s, gap 0.15s;
}
.back-link:hover { color: var(--accent); gap: 12px; }



/* --- AUDIT REQUEST FORM --- */
.audit-form { display: flex; flex-direction: column; gap: 16px; }
.audit-form .af-opt { text-transform: none; letter-spacing: 0; color: var(--text-3); font-weight: 400; }
.af-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; align-items: center; }
.af-actions button { cursor: pointer; }
