:root {
  --bg: #08090b;
  --bg-soft: #0d0f12;
  --panel: #111318;
  --panel-2: #15181d;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f4f2ee;
  --muted: #a3a4a8;
  --muted-2: #74767d;
  --red: #d1222c;
  --red-bright: #f0353e;
  --red-dark: #8e1019;
  --silver: #c9cbd0;
  --success: #7ed69d;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 6%, rgba(209, 34, 44, 0.12), transparent 27rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid rgba(240, 53, 62, 0.9);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--red);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: 78px;
  padding: 10px max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(8, 9, 11, 0.82);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; width: fit-content; }
.brand-logo-crop {
  position: relative;
  display: inline-flex;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
}
.brand-logo-crop img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.68); }

.desktop-nav { display: flex; gap: 32px; }
.desktop-nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: color .2s ease;
}
.desktop-nav a:hover { color: var(--text); }

.header-cta { justify-self: end; }

.section-shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, .98fr);
  gap: clamp(46px, 7vw, 96px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding-block: 84px 96px;
}

.eyebrow, .step-kicker, .section-number {
  color: var(--silver);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow span { width: 28px; height: 2px; background: var(--red-bright); box-shadow: 0 0 18px var(--red); }

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 680px;
  margin: 24px 0 26px;
  font-size: clamp(48px, 6.2vw, 84px);
  font-weight: 850;
  letter-spacing: -.065em;
  line-height: .96;
  text-wrap: balance;
}

h1 em {
  display: block;
  color: var(--red-bright);
  font-style: normal;
}

.hero-lede {
  max-width: 610px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--red-bright), #a50e19); box-shadow: 0 16px 34px rgba(209,34,44,.24); }
.button-primary:hover { background: linear-gradient(135deg, #f94a52, #bb1420); }
.button-outline { border-color: var(--line-strong); background: rgba(255,255,255,.025); }
.button-outline:hover { border-color: rgba(240, 53, 62, .65); }
.button-small { min-height: 42px; padding: 0 18px; font-size: 12px; }
.button-block { width: 100%; }

.text-link {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-decoration-color: rgba(255,255,255,.35);
  text-underline-offset: 5px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin: 40px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  list-style: none;
}
.trust-list span { color: var(--success); margin-right: 6px; }

.diagnostic-card {
  position: relative;
  min-height: 540px;
  padding: clamp(24px, 3vw, 38px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(24,27,32,.96), rgba(12,14,17,.98));
  box-shadow: var(--shadow);
}

.diagnostic-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--red-bright), transparent);
}

.diagnostic-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.diagnostic-head h2 { margin: 8px 0 0; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.035em; }
.time-pill { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12px; white-space: nowrap; }

.progress { height: 2px; margin: 26px 0 30px; overflow: hidden; background: rgba(255,255,255,.08); }
.progress-fill { display: block; width: 50%; height: 100%; background: var(--red-bright); transition: width .35s ease; }

.question { display: none; min-width: 0; margin: 0; padding: 0; border: 0; }
.question.is-active { display: block; animation: slide-in .35s ease both; }
.question legend { width: 100%; margin-bottom: 20px; font-size: 15px; font-weight: 700; }

.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice-card, .choice-row {
  position: relative;
  display: flex;
  gap: 14px;
  cursor: pointer;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.choice-card { min-height: 168px; flex-direction: column; justify-content: flex-end; padding: 20px; border-radius: 16px; }
.choice-row { align-items: center; min-height: 76px; margin-bottom: 9px; padding: 15px 16px; border-radius: 13px; }
.choice-card:hover, .choice-row:hover { border-color: rgba(240, 53, 62, .6); background: rgba(209,34,44,.07); transform: translateY(-1px); }
.choice-card input, .choice-row input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice-card:has(input:focus-visible), .choice-row:has(input:focus-visible) { outline: 3px solid rgba(240, 53, 62, .9); outline-offset: 3px; }
.choice-card:has(input:checked), .choice-row:has(input:checked) { border-color: var(--red-bright); background: rgba(209,34,44,.1); }
.choice-icon { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(240,53,62,.45); border-radius: 50%; color: var(--red-bright); font-size: 22px; }
.choice-card strong, .choice-row strong { display: block; margin-bottom: 6px; font-size: 16px; }
.choice-card small, .choice-row small { display: block; color: var(--muted); font-size: 13px; line-height: 1.55; }
.choice-row span { flex: 1; }
.choice-row i { color: var(--red-bright); font-style: normal; }

.back-button, .restart-button {
  margin-top: 14px;
  padding: 8px 0;
  border: 0;
  color: var(--muted);
  background: none;
  cursor: pointer;
  font-size: 14px;
}
.back-button:hover, .restart-button:hover { color: var(--text); }

.diagnostic-result { display: none; text-align: left; }
.diagnostic-result.is-active { display: block; animation: slide-in .35s ease both; }
.result-mark { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 22px; border-radius: 50%; color: #fff; background: var(--red); box-shadow: 0 0 30px rgba(209,34,44,.35); }
.diagnostic-result h3 { margin: 9px 0 10px; font-size: 30px; letter-spacing: -.04em; }
.diagnostic-result p { color: var(--muted); font-size: 16px; line-height: 1.65; }
.diagnostic-result ul { margin: 18px 0 26px; padding: 0; list-style: none; }
.diagnostic-result li { position: relative; margin: 9px 0; padding-left: 22px; color: var(--silver); font-size: 14px; }
.diagnostic-result li::before { position: absolute; left: 0; content: "✓"; color: var(--success); }
.restart-button { display: block; margin-inline: auto; }

.privacy-note { position: absolute; right: 38px; bottom: 18px; left: 38px; margin: 0; color: var(--muted-2); font-size: 11px; text-align: center; }

.solutions, .proof { padding-block: clamp(96px, 10vw, 150px); border-top: 1px solid var(--line); }
.solutions { background: linear-gradient(180deg, rgba(255,255,255,.012), transparent); }

.section-heading { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); gap: 60px; align-items: end; margin-bottom: 56px; }
.section-heading h2 { max-width: 830px; margin: 14px 0 0; font-size: clamp(38px, 5.2vw, 66px); letter-spacing: -.055em; line-height: 1.02; text-wrap: balance; }
.section-heading > p { margin-bottom: 3px; color: var(--muted); font-size: 19px; line-height: 1.7; }
.section-number { color: var(--red-bright); font-size: 16px; }

.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.service-card { min-height: 340px; padding: clamp(26px, 4vw, 42px); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--panel); }
.service-card:hover { border-color: rgba(255,255,255,.22); }
.service-featured { background: radial-gradient(circle at 95% 5%, rgba(209,34,44,.18), transparent 45%), var(--panel); }
.service-top { display: flex; justify-content: space-between; align-items: flex-start; color: var(--muted-2); }
.service-top span { color: var(--red-bright); font-size: clamp(32px, 4vw, 46px); font-weight: 850; letter-spacing: -.055em; line-height: .9; }
.service-top i { color: var(--red-bright); font-style: normal; font-size: 22px; }
.service-card h3 { max-width: 430px; margin: 46px 0 14px; font-size: clamp(25px, 3vw, 36px); letter-spacing: -.045em; }
.service-card p { max-width: 520px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.service-card ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 0; padding: 0; list-style: none; }
.service-card li { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--silver); font-size: 13px; }

.method-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.method-strip div { min-height: 150px; padding: 24px; border-right: 1px solid var(--line); background: rgba(255,255,255,.018); }
.method-strip div:last-child { border-right: 0; }
.method-strip span { display: block; margin-bottom: 22px; color: var(--red-bright); font-family: ui-monospace, monospace; font-size: 26px; font-weight: 850; letter-spacing: -.04em; line-height: 1; }
.method-strip strong { display: block; margin-bottom: 7px; font-size: 20px; }
.method-strip small { color: var(--muted); font-size: 15px; line-height: 1.55; }

.case-layout { display: grid; gap: 18px; }
.case-card { padding: clamp(24px, 4vw, 46px); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--panel); }
.case-study { overflow: hidden; background: radial-gradient(circle at 0% 100%, rgba(209,34,44,.12), transparent 36%), var(--panel); }
.case-story { display: flex; flex-direction: column; min-width: 0; }
.case-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.case-heading { display: flex; gap: 22px; align-items: center; margin: clamp(34px, 5vw, 58px) 0 20px; }
.case-card h3 { max-width: 690px; margin: 0; font-size: clamp(38px, 5vw, 62px); letter-spacing: -.055em; line-height: 1; }
.client-logo {
  position: relative;
  display: grid;
  width: 108px;
  height: 78px;
  flex: 0 0 108px;
  place-items: center;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.client-logo img { width: 100%; height: 100%; object-fit: contain; }
.client-logo-amoterapia img { padding: 5px; }
.client-logo-valentina { background: #f8f2f5; }
.client-logo-valentina img { transform: scale(1.66) translateY(-11px); }
.client-logo-profeed { background: #000; }
.client-logo-profeed img { padding: 9px 7px; }
.case-intro { max-width: 650px; color: var(--muted); font-size: 19px; line-height: 1.7; }
.case-flow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: center; margin-top: 30px; padding: 0 0 4px; }
.case-flow small { color: var(--red-bright); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.case-flow p { margin: 10px 0 0; color: var(--silver); font-size: 16px; line-height: 1.6; }
.case-flow > span { color: var(--muted-2); }
.professional-role { margin: -5px 0 16px; color: var(--red-bright); font-size: 17px; font-weight: 800; letter-spacing: .01em; }

.metric-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-top: clamp(42px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--line); }
.metric-head div { display: flex; flex-direction: column; gap: 6px; }
.metric-head span { color: var(--text); font-size: 18px; font-weight: 750; }
.metric-head strong, .metric-head small { color: var(--muted); font-size: 14px; font-weight: 550; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-top: 18px; }
.metric-grid > div { min-height: 170px; padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.024); }
.metric-grid strong { display: block; color: var(--text); font-size: clamp(38px, 4.5vw, 58px); font-weight: 820; letter-spacing: -.055em; line-height: 1; }
.metric-grid span { display: block; margin-top: 18px; color: var(--muted); font-size: 16px; font-weight: 650; line-height: 1.4; }
.metric-grid > div:first-child strong { color: var(--red-bright); }

.case-proof-line { display: flex; gap: 12px; align-items: center; margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: 14px; color: var(--success); background: rgba(255,255,255,.018); }
.case-proof-after-metrics { margin-top: 18px; }
.case-proof-line p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.case-proof-line p strong { color: var(--text); }
.case-proof-line.is-neutral { color: #d8b26d; }
.case-b2b { min-height: 360px; }
.case-b2b-copy { width: 100%; }
.case-b2b h3 { font-size: clamp(32px, 4vw, 48px); }
.case-b2b .case-intro { margin: 0; font-size: 17px; }
.case-b2b .case-flow { display: block; margin: 0; padding: 0; }
.case-b2b .case-proof-line { margin-top: 18px; padding: 0; border: 0; background: transparent; }

.founder-panel { display: grid; grid-template-columns: minmax(220px,.62fr) minmax(0,1.25fr) minmax(280px,.72fr); gap: clamp(30px, 4vw, 56px); align-items: center; margin-top: 70px; padding: clamp(26px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(130deg, #15171b, #0c0e11); }
.founder-photo { aspect-ratio: 4 / 5; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #08090b; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-copy h2 { margin: 16px 0 24px; font-size: clamp(35px, 5vw, 60px); letter-spacing: -.055em; line-height: 1.05; }
.founder-copy > p { max-width: 680px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.founder-links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; }
.founder-links a { color: var(--silver); font-size: 14px; font-weight: 700; text-underline-offset: 4px; }

.availability-card { padding: 28px; border: 1px solid var(--line-strong); border-radius: 20px; background: #0b0c0f; box-shadow: var(--shadow); }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 16px var(--success); }
.availability-card > small { color: var(--muted); font-size: 11px; letter-spacing: .12em; }
.availability-card strong { display: block; margin: 28px 0 8px; font-size: 30px; letter-spacing: -.04em; }
.availability-card p { margin-bottom: 26px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.availability-card .response-note { display: block; margin-top: 13px; letter-spacing: 0; text-align: center; }

footer { border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: center; width: min(calc(100% - 48px), var(--max)); min-height: 150px; margin: auto; color: var(--muted-2); font-size: 13px; }
.footer-logo-crop { width: 66px; height: 66px; flex-basis: 66px; }
.footer-inner p { margin: 0; color: var(--muted); }

.mobile-whatsapp { display: none; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay { transition-delay: .12s; }

@keyframes slide-in {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-block: 84px 110px; }
  .hero-copy { max-width: 780px; }
  .diagnostic-card { width: min(100%, 680px); }
  .case-layout { grid-template-columns: 1fr; }
  .founder-panel { grid-template-columns: 1fr; gap: 44px; }
  .founder-photo { width: min(100%, 390px); }
  .availability-card { width: min(100%, 440px); }
}

@media (max-width: 760px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 68px; padding-inline: 18px; }
  .brand-logo-crop { width: 48px; height: 48px; flex-basis: 48px; }
  .desktop-nav { display: none; }
  .header-cta { min-height: 38px; padding-inline: 14px; }
  .section-shell { width: min(calc(100% - 32px), var(--max)); }
  .hero { gap: 48px; padding-block: 60px 86px; }
  h1 { margin-top: 18px; font-size: clamp(45px, 14vw, 67px); }
  .hero-lede { font-size: 18px; }
  .trust-list { display: grid; gap: 10px; }
  .diagnostic-card { min-height: 640px; padding: 24px 18px 52px; border-radius: 22px; }
  .diagnostic-head h2 { font-size: 24px; }
  .option-grid { grid-template-columns: 1fr; }
  .choice-card { min-height: 138px; }
  .choice-row { min-height: 96px; }
  .privacy-note { right: 18px; left: 18px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  .section-heading > p { max-width: 580px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 315px; }
  .method-strip { grid-template-columns: 1fr 1fr; }
  .method-strip div:nth-child(2) { border-right: 0; }
  .method-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .case-heading { margin-top: 38px; }
  .case-flow { grid-template-columns: 1fr; gap: 18px; margin-top: 42px; }
  .case-flow > span { transform: rotate(90deg); width: fit-content; }
  .metric-head { align-items: flex-start; flex-direction: column; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric-grid > div { min-height: 150px; }
  .founder-panel { margin-top: 46px; padding: 30px 22px; border-radius: 22px; }
  .footer-inner { grid-template-columns: 1fr; gap: 12px; padding-block: 32px 90px; }
  .footer-logo-crop { width: 62px; height: 62px; flex-basis: 62px; }
  .mobile-whatsapp { position: fixed; right: 16px; bottom: 14px; z-index: 90; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: #fff; background: linear-gradient(135deg, var(--red-bright), #9e0c16); box-shadow: 0 14px 38px rgba(0,0,0,.5); font-size: 13px; font-weight: 750; text-decoration: none; }
  .mobile-whatsapp span { color: #fff; font-size: 9px; }
}

@media (max-width: 430px) {
  .header-cta span { display: none; }
  .button { width: 100%; }
  .hero-actions { align-items: stretch; }
  .text-link { padding-block: 6px; text-align: center; }
  .method-strip { grid-template-columns: 1fr; }
  .method-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
  .method-strip div:last-child { border-bottom: 0; }
  .case-meta { flex-direction: column; }
  .case-heading { align-items: flex-start; gap: 14px; }
  .client-logo { width: 78px; height: 60px; flex-basis: 78px; border-radius: 11px; }
  .client-logo-valentina img { transform: scale(1.66) translateY(-8px); }
  .metric-grid { grid-template-columns: 1fr; }
  .metric-grid > div { min-height: 132px; }
  .metric-grid strong { font-size: 46px; }
}

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