/* ===========================================================
   Jimena Martinez — persona site
   =========================================================== */

:root {
  --bg: #0d0a1a;
  --bg-2: #0a0815;
  --ink: #f0ecfa;
  --ink-soft: #bdb3d4;
  --ink-mute: #7d749a;
  --ink-dim: #5b5476;
  --border: rgba(255, 255, 255, 0.08);
  --border-soft: rgba(255, 255, 255, 0.05);
  --glass: rgba(255, 255, 255, 0.035);
  --glass-hi: rgba(255, 255, 255, 0.06);
  --pink: #ff6ec7;
  --teal: #5eead4;
  --violet: #a78bfa;
  --amber: #f4c455;

  --hero-scale: 0.8;          /* baked from Tweaks */
  --section-pad: clamp(72px, 9vw, 120px) clamp(20px, 6vw, 72px);
  --maxw: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
button { font-family: inherit; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.08); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.16); }

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.65; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* -------- atoms -------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 99px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s cubic-bezier(.2, .7, .3, 1), background 0.15s, border-color 0.15s;
}
.btn:hover { border-color: rgba(255, 255, 255, 0.18); }
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border: none;
  padding: 14px 22px;
}
.btn-primary:hover { background: #fff; }

.magnetic-wrap { display: inline-block; }

/* -------- nav -------- */

.nav {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--pink), var(--teal));
}
.nav-pill {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 99px;
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav-pill a {
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}
.nav-pill a:hover { color: var(--ink); background: var(--glass-hi); }

.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(13, 10, 26, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 24px clamp(20px, 6vw, 40px);
  flex-direction: column;
  animation: fadeIn 0.2s ease;
  display: none;
}
.mobile-menu.open { display: flex; }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu-close {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--ink); cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.mobile-menu-links {
  margin: auto 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu-links a {
  font-size: clamp(32px, 8vw, 48px);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.025em;
  padding: 6px 0;
}
.mobile-menu-cta {
  padding: 16px 22px;
  border-radius: 99px;
  background: var(--ink);
  color: var(--bg);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}

/* -------- hero -------- */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 32px clamp(24px, 6vw, 72px) 80px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(13, 10, 26, 0.85) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  margin: auto;
  padding-top: 60px;
  width: 100%;
  max-width: var(--maxw);
}
.pills-row { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }

.hero h1 {
  margin: 0;
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 600;
  max-width: 1100px;
  padding-bottom: 0.08em;
  font-size: calc(clamp(36px, 8vw, 94px) * var(--hero-scale));
}
.gradient-text {
  background: linear-gradient(120deg, #ff6ec7, #5eead4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-weight: 500;
  padding-right: 13px;
}

.currently-line {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--ink-mute);
}
.currently-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 14px var(--teal);
  animation: pulse 2.4s ease-in-out infinite;
}
.currently-text { color: var(--ink-soft); }
.currently-cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: var(--ink-soft);
  margin-left: 3px;
  vertical-align: -2px;
  animation: blink 1s steps(2) infinite;
}

.hero-cta-row { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; }

/* -------- section header -------- */

section { position: relative; }
.section-pad { padding: var(--section-pad); }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 12px;
  max-width: var(--maxw);
  margin-inline: auto;
}
.kicker {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 10px;
}
.section-header h2 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  max-width: 800px;
  padding-bottom: 0.08em;
  font-size: clamp(28px, 4.6vw, 51px);
}

/* -------- process -------- */

#proceso .step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: var(--maxw);
  margin-inline: auto;
}
.step-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.25s, border-color 0.25s;
}
.step-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}
.step-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.32;
  pointer-events: none;
}
.step-num {
  position: relative;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.16em;
  margin-bottom: 20px;
}
.step-kicker {
  position: relative;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.step-card h3 {
  position: relative;
  margin: 0;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.step-card p {
  position: relative;
  margin-top: 14px;
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* -------- skills -------- */

#skills {
  border-top: 1px solid var(--border-soft);
  background: var(--bg-2);
}
.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.skill-card {
  padding: 28px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.skill-head { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.skill-head .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.skill-card h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.skill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.skill-list li {
  font-size: 13px;
  padding: 7px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-soft);
  border: 1px solid var(--border-soft);
}

/* -------- about -------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 48px;
  align-items: start;
}
.about-photo {
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 110, 199, 0.18), rgba(94, 234, 212, 0.18) 60%, rgba(167, 139, 250, 0.18));
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.about-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 16px);
  pointer-events: none;
}
.about-photo-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-soft);
  background: rgba(13, 10, 26, 0.55);
  padding: 8px 12px;
  border-radius: 8px;
  backdrop-filter: blur(6px);
  position: relative;
}
.about-chapters { display: flex; flex-direction: column; gap: 28px; }
.about-chapter {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-soft);
}
.about-chapter:last-child { padding-bottom: 0; border-bottom: none; }
.about-chapter-k {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 6px;
}
.about-chapter-v { font-size: 17px; line-height: 1.55; color: var(--ink); }

/* -------- FAQ -------- */

#faq { border-top: 1px solid var(--border-soft); }
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 920px; }
.faq-item {
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: rgba(255, 255, 255, 0.16); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 26px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--ink);
  text-align: left;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.faq-icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  transition: background 0.2s, color 0.2s, transform 0.25s;
}
.faq-item.open .faq-icon {
  background: var(--ink);
  color: var(--bg);
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.25s ease;
}
.faq-item.open .faq-a { max-height: 400px; opacity: 1; }
.faq-a-inner {
  padding: 0 26px 26px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 720px;
}

/* -------- contact -------- */

#contacto {
  border-top: 1px solid var(--border-soft);
  background: var(--bg-2);
  padding: 140px clamp(24px, 6vw, 72px) 80px;
  overflow: hidden;
}
.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  max-width: var(--maxw);
  margin-inline: auto;
}
.contact-grid h2 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  padding-bottom: 0.08em;
  font-size: clamp(28px, 5vw, 56px);
}
.contact-blurb {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 520px;
}
.email-chip {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}
.email-chip a { text-decoration: none; }
.email-chip .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal);
}

/* form */
.form-card {
  padding: 32px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; }
.field-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.field-optional {
  color: var(--ink-dim);
  letter-spacing: 0.04em;
  text-transform: none;
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
}
.field.error input,
.field.error textarea { border-color: rgba(255, 110, 199, 0.6); }
.field-error { margin-top: 6px; font-size: 12px; color: #ff8fc4; }

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  flex-wrap: wrap;
  gap: 12px;
}
.form-footer-note { font-size: 12px; color: var(--ink-mute); }
.form-footer-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.btn-submit {
  padding: 13px 22px;
  border-radius: 99px;
  background: var(--ink);
  color: var(--bg);
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.btn-submit:disabled { opacity: 0.6; cursor: progress; }

.success-card {
  padding: 32px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.success-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--teal);
  filter: blur(60px);
  opacity: 0.35;
}
.success-card > * { position: relative; }
.success-kicker {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.success-card h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.success-card p {
  margin-top: 12px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.success-card a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.btn-send-another {
  margin-top: 24px;
  padding: 10px 16px;
  border-radius: 99px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.footer {
  position: relative;
  margin: 120px auto 0;
  width: 100%;
  max-width: var(--maxw);
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 12px;
}

/* -------- mouse blobs -------- */

.blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  filter: blur(130px);
}
.blob {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: left 0.2s linear, top 0.2s linear;
}

/* -------- responsive -------- */

@media (max-width: 900px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
}
@media (max-width: 720px) {
  .nav-pill { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta-wrap { display: none; }
  .currently-line { display: none; }
  :root { --section-pad: 88px clamp(20px, 5vw, 56px); }
  #contacto { padding: 96px clamp(20px, 5vw, 56px) 64px; }
}
@media (min-width: 721px) {
  .nav-cta-short { display: none; }
}
@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ===========================================================
   ADDED — bilingual build (language switch + new sections)
   =========================================================== */

/* -------- language switch -------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lang-opt {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--ink-mute);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 7px 11px;
  border-radius: 99px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.lang-opt:hover { color: var(--ink-soft); }
.lang-opt.active {
  color: var(--bg);
  background: var(--ink);
}

/* -------- hero supporting copy -------- */
.hero-subhero {
  margin: 24px 0 0;
  max-width: 760px;
  font-size: clamp(19px, 2.4vw, 26px);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.hero-subtitle {
  margin: 18px 0 0;
  max-width: 580px;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.6;
  color: var(--ink-soft);
}

/* -------- problem grid -------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: var(--maxw);
  margin-inline: auto;
}
.problem-card {
  position: relative;
  padding: 30px 32px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.25s, border-color 0.25s;
}
.problem-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}
.problem-num {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.16em;
  margin-bottom: 16px;
}
.problem-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}

/* -------- statement sections -------- */
.statement-section.alt {
  border-top: 1px solid var(--border-soft);
  background: var(--bg-2);
}
.statement {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: start;
  max-width: var(--maxw);
  margin-inline: auto;
}
.statement-aside .kicker { margin-bottom: 14px; }
.statement-aside h2 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  max-width: 480px;
  padding-bottom: 0.08em;
  font-size: clamp(26px, 3.6vw, 42px);
}
.statement-body { padding-top: 6px; }
.statement-lead {
  margin: 0;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 600px;
  text-wrap: pretty;
}
.statement-tagline {
  margin: 28px 0 0;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.statement-tagline .gradient-text { font-style: normal; font-weight: 600; padding-right: 4px; }

/* -------- 4-up step grid -------- */
.step-grid-4 {
  grid-template-columns: repeat(4, 1fr) !important;
}
.step-grid-4 .step-card h3 { font-size: 22px; }
@media (max-width: 1200px) {
  .step-grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
  .step-grid-4 { grid-template-columns: 1fr !important; }
}

/* -------- case cards -------- */
.case-list { display: flex; flex-direction: column; gap: 20px; max-width: var(--maxw); margin-inline: auto; }
.case-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 44px;
  padding: 40px;
  border-radius: 24px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.25s;
}
.case-card:hover { border-color: rgba(255, 255, 255, 0.16); }
.case-glow {
  position: absolute;
  top: -60px;
  left: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.28;
  pointer-events: none;
}
.case-main { position: relative; }
.case-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 16px;
}
.case-main h3 {
  margin: 0 0 18px;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.case-main p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 560px;
}
.case-main p:last-of-type { margin-bottom: 0; }
.case-quote {
  margin: 24px 0 0;
  padding: 20px 22px;
  border-left: 2px solid var(--pink);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 255, 255, 0.025);
}
.case-quote p {
  margin: 0 0 10px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink);
  font-style: italic;
  max-width: none;
}
.case-quote cite {
  font-style: normal;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
}

.case-side {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-self: stretch;
}
.case-metric-row { display: flex; gap: 14px; flex-wrap: wrap; }
.case-metric {
  flex: 1 1 0;
  min-width: 120px;
  padding: 22px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}
.case-metric-num {
  display: block;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
}
.case-metric-label {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--ink-mute);
}
.case-result {
  margin-top: auto;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.case-result-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

/* -------- misc additions -------- */
.faq-hint { font-size: 13px; color: var(--ink-mute); }
.form-disclaimer {
  margin-top: 2px;
  font-size: 12px;
  color: var(--ink-mute);
  text-align: right;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.03em;
}

/* -------- responsive for added blocks -------- */
@media (max-width: 980px) {
  .case-card { grid-template-columns: 1fr; gap: 28px; padding: 34px; }
  .case-side { flex-direction: column; gap: 18px; align-items: stretch; }
  .case-metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .case-metric { width: auto; min-width: 0; flex: initial; }
  .case-result { margin-top: 0; }
}
@media (max-width: 860px) {
  .statement { grid-template-columns: 1fr; gap: 24px; }
  .statement-aside h2 { max-width: none; }
}
@media (max-width: 720px) {
  .problem-grid { grid-template-columns: 1fr; }
  .lang-switch { order: -1; }
  .case-metric-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .problem-card { padding: 26px 24px; }
  .case-card { padding: 26px 22px; gap: 24px; }
  .step-card { padding: 28px 24px; }
  .form-card, .success-card { padding: 26px 22px; }
  .faq-q { padding: 18px 20px; font-size: 16px; gap: 16px; }
  .faq-a-inner { padding: 0 20px 22px; }
}
