:root {
  --bg: #08080d;
  --bg-alt: #0e0e17;
  --card: #14141f;
  --card-border: #23233350;
  --text: #f2f2f5;
  --text-dim: #a7a7b8;
  --text-faint: #6f6f82;
  --accent: #e2231a;
  --accent-2: #0a0a0a;
  --accent-gradient: linear-gradient(135deg, #e2231a, #0a0a0a);
  --accent-gradient-text: linear-gradient(135deg, #e2231a, #f16a63);
  --radius: 20px;
  --max-width: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }

.highlight { color: var(--accent); background: var(--accent-gradient-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 8px 30px -8px rgba(226, 35, 26, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px -6px rgba(226, 35, 26, 0.75); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid #ffffff30;
  padding: 10px 20px;
  font-size: 14px;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Header / Hero ---------- */
.hero {
  position: relative;
  padding-bottom: 60px;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}
.glow-1 { width: 600px; height: 600px; background: #e2231a; top: -200px; right: -150px; }
.glow-2 { width: 500px; height: 500px; background: #0a0a0a; bottom: -150px; left: -150px; opacity: 0.16; }

.hero-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, transparent 48%, var(--bg-alt) 80%, var(--bg-alt) 100%);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 24px 0;
}

.logo {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.logo span { color: var(--accent); }
.logo small { font-size: 12px; font-weight: 700; color: var(--text-faint); vertical-align: middle; margin-left: 4px; }
.logo.small { font-size: 16px; margin-bottom: 24px; }

.nav-cta { white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 56px;
}

.hero-text h1 {
  font-size: clamp(32px, 4.2vw, 52px);
  margin-bottom: 20px;
}

.hero-sub {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 520px;
  margin-bottom: 20px;
}
.hero-punch {
  color: var(--text);
  font-weight: 700;
  font-size: 17px;
  max-width: 480px;
  margin-bottom: 32px;
  border-left: 2px solid var(--accent);
  padding-left: 14px;
}

.hero-photo {
  aspect-ratio: 4/5;
  width: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 14%, black 55%, transparent 94%),
                       linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-composite: source-in, source-in;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-image: linear-gradient(to bottom, transparent 0%, black 14%, black 55%, transparent 94%),
              linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-composite: intersect;
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}

.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #ffffff14;
  text-align: center;
}
.trust-label {
  display: block;
  color: var(--text-faint);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.trust-logos-wrap {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.trust-logos-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marquee 22s linear infinite;
}
@media (hover: hover) {
  .trust-logos-wrap:hover .trust-logos-track { animation-play-state: paused; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.client-logo {
  height: 64px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(1) invert(1) brightness(1.6);
  opacity: 0.75;
  transition: opacity 0.2s ease;
}
.client-logo:hover { opacity: 1; }

/* ---------- Diagnostic / Form ---------- */
.diagnostic {
  background: var(--bg-alt);
  padding: 100px 0;
  border-top: 1px solid #ffffff10;
  border-bottom: 1px solid #ffffff10;
}
.diagnostic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.analyst-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.analyst-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}
.analyst-caption {
  font-size: 13.5px;
  color: var(--text-dim);
  max-width: 320px;
}

.diagnostic-info h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 16px;
}
.diagnostic-info > p {
  color: var(--text-dim);
  font-size: 16px;
  margin-bottom: 40px;
  max-width: 480px;
}

.steps { list-style: none; display: flex; flex-direction: column; gap: 28px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent-gradient);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px;
}
.steps h3 { font-size: 17px; margin-bottom: 4px; }
.steps p { color: var(--text-dim); font-size: 14px; }

.lead-form {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px;
}
.lead-form h3 { font-size: 20px; margin-bottom: 6px; }
.form-note { color: var(--text-faint); font-size: 13px; margin-bottom: 14px; }
.form-intro { color: var(--text-dim); font-size: 14px; line-height: 1.5; margin-bottom: 24px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.field input[type="text"], .field input[type="email"], .field input[type="tel"] {
  width: 100%;
  background: #0c0c14;
  border: 1px solid #ffffff1c;
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
}
.field input:focus { outline: none; border-color: var(--accent); }

.radio-group { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-pill {
  position: relative;
  border: 1px solid #ffffff1c;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-dim);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.radio-pill input { position: absolute; opacity: 0; }
.radio-pill:has(input:checked) {
  border-color: var(--accent);
  color: var(--text);
  background: #e2231a1a;
}

.form-disclaimer { text-align: center; font-size: 12px; color: var(--text-faint); margin-top: 14px; }

/* ---------- Method / Pillars ---------- */
.method { padding: 110px 0; }
.method-banner { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.method-banner h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 14px; }
.method-banner p { color: var(--text-dim); font-size: 16px; }

.method-intro { max-width: 640px; margin-bottom: 64px; }
.method-intro h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.12; margin-bottom: 18px; }
.method-intro p { color: var(--text-dim); font-size: 16px; max-width: 520px; }

.pillars-timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.pillars-timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 15%, var(--accent) 85%, transparent);
  opacity: 0.5;
}
.pillar-node {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.pillar-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, #2a1010, #0a0a0a);
  border: 1px solid var(--accent);
  box-shadow: 0 0 0 6px #e2231a14, 0 0 32px #e2231a55;
  color: var(--accent);
  margin-bottom: 20px;
  flex-shrink: 0;
}
.pillar-icon svg { width: 26px; height: 26px; }
.pillar-node .pillar-tag { margin-bottom: 10px; }
.pillar-node h3 { font-size: 16px; margin-bottom: 8px; }
.pillar-node p { font-size: 13.5px; color: var(--text-dim); max-width: 190px; }

/* ---------- Cases ---------- */
.cases { background: var(--bg-alt); padding: 100px 0; border-top: 1px solid #ffffff10; border-bottom: 1px solid #ffffff10; }
.cases h2 { text-align: center; font-size: clamp(26px, 3.4vw, 38px); }
.section-sub { text-align: center; color: var(--text-faint); font-size: 14px; margin-top: 10px; margin-bottom: 48px; }

.proof-gallery-wrap {
  overflow: hidden;
  width: 100%;
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.proof-gallery-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  animation: marquee 60s linear infinite;
}
@media (hover: hover) {
  .proof-gallery-wrap:hover .proof-gallery-track { animation-play-state: paused; }
}
.proof-card {
  height: 420px;
  flex-shrink: 0;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.proof-card img { height: 100%; width: auto; object-fit: contain; display: block; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg-alt); padding: 100px 0 60px; border-bottom: 1px solid #ffffff10; }
.testimonials h2 { text-align: center; font-size: clamp(26px, 3.4vw, 38px); }

.testimonial-row-wrap {
  overflow: hidden;
  width: 100%;
  margin-top: 24px;
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.testimonial-track {
  display: flex;
  align-items: stretch;
  gap: 20px;
  width: max-content;
  animation: marquee 75s linear infinite;
}
.testimonial-track-reverse { animation: marquee-reverse 75s linear infinite; }
@media (hover: hover) {
  .testimonial-row-wrap:hover .testimonial-track { animation-play-state: paused; }
}

.testimonial-card {
  width: 340px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
}
.testimonial-quote { color: var(--text-dim); font-size: 13.5px; line-height: 1.6; }
.testimonial-author { order: -1; display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gradient);
  color: #1a0e00;
  font-weight: 800;
  font-size: 15px;
}
.testimonial-avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  object-position: top center;
}
.testimonial-author div { display: flex; flex-direction: column; }
.testimonial-author strong { font-size: 14px; }
.testimonial-author span { color: var(--text-faint); font-size: 12px; }

/* ---------- Benefits ---------- */
.benefits { padding: 110px 0; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}
.benefit-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
}
.benefit-card h3 { font-size: 18px; margin-bottom: 10px; }
.benefit-card p { color: var(--text-dim); font-size: 14px; }

.benefits-cta {
  text-align: center;
  background: linear-gradient(135deg, #241010, #0a0a0a);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 56px 24px;
}
.benefits-cta h3 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 8px; }
.benefits-cta p { color: var(--text-dim); margin-bottom: 28px; }

/* ---------- About ---------- */
.about { background: var(--bg-alt); padding: 100px 0; border-top: 1px solid #ffffff10; border-bottom: 1px solid #ffffff10; }
.about-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 48px;
  align-items: start;
}
.about-photo {
  aspect-ratio: 1/1;
  width: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  display: block;
  position: sticky;
  top: 110px;
}
.about-text h2 { font-size: clamp(24px, 3vw, 32px); margin: 10px 0 4px; }
.role { font-size: 12px; font-weight: 700; color: var(--text-faint); letter-spacing: 0.06em; }
.about-text p { color: var(--text-dim); margin-top: 18px; font-size: 15px; max-width: 560px; }

.gallery-wrap {
  overflow: hidden;
  width: 100%;
  margin-top: 64px;
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.gallery-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee-reverse 26s linear infinite;
}
@media (hover: hover) {
  .gallery-wrap:hover .gallery-track { animation-play-state: paused; }
}
.gallery-photo {
  height: 280px;
  width: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  flex-shrink: 0;
}

@keyframes marquee-reverse {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* ---------- FAQ ---------- */
.faq { padding: 110px 0; }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-icon { color: var(--accent); font-size: 20px; font-weight: 400; transition: transform 0.2s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 24px;
}
.faq-item.open .faq-answer { max-height: 220px; padding: 0 24px 20px; }
.faq-answer p { color: var(--text-dim); font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer { padding: 70px 0 40px; border-top: 1px solid #ffffff10; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
}
.footer-brand p { color: var(--text-dim); font-size: 14px; margin: 16px 0 20px; max-width: 380px; }
.social-links { display: flex; gap: 16px; }
.social-links a { color: var(--text-dim); font-size: 14px; text-decoration: none; }
.social-links a:hover { color: var(--accent); }

.footer-contact h4 { font-size: 12px; letter-spacing: 0.08em; color: var(--text-faint); margin-bottom: 14px; }
.whatsapp-link {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 18px;
}
.footer-fine { color: var(--text-faint); font-size: 12px; margin-bottom: 10px; }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { color: var(--text-faint); font-size: 12px; text-decoration: none; }
.footer-legal a:hover { color: var(--text-dim); }

/* ---------- Scroll reveal ---------- */
.reveal {
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pillars-timeline .reveal:nth-child(1) { transition-delay: 0ms; }
.pillars-timeline .reveal:nth-child(2) { transition-delay: 80ms; }
.pillars-timeline .reveal:nth-child(3) { transition-delay: 160ms; }
.pillars-timeline .reveal:nth-child(4) { transition-delay: 240ms; }
.pillars-timeline .reveal:nth-child(5) { transition-delay: 320ms; }

.benefits-grid .reveal:nth-child(1) { transition-delay: 0ms; }
.benefits-grid .reveal:nth-child(2) { transition-delay: 70ms; }
.benefits-grid .reveal:nth-child(3) { transition-delay: 140ms; }
.benefits-grid .reveal:nth-child(4) { transition-delay: 210ms; }
.benefits-grid .reveal:nth-child(5) { transition-delay: 280ms; }
.benefits-grid .reveal:nth-child(6) { transition-delay: 350ms; }

.faq-list .reveal:nth-child(1) { transition-delay: 0ms; }
.faq-list .reveal:nth-child(2) { transition-delay: 60ms; }
.faq-list .reveal:nth-child(3) { transition-delay: 120ms; }
.faq-list .reveal:nth-child(4) { transition-delay: 180ms; }
.faq-list .reveal:nth-child(5) { transition-delay: 240ms; }
.faq-list .reveal:nth-child(6) { transition-delay: 300ms; }

.steps .reveal:nth-child(2) { transition-delay: 120ms; }
.steps .reveal:nth-child(3) { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .js .reveal { opacity: 1; transform: none; transition: none; }
  .trust-logos-track { animation: none; }
  .gallery-track { animation: none; }
  .testimonial-track { animation: none; }
  .proof-gallery-track { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero-content { grid-template-columns: 1fr; gap: 0; }
  .hero-media { order: -1; margin-bottom: -32px; }
  .hero-photo { aspect-ratio: 4/5; }
  .diagnostic-grid { grid-template-columns: 1fr; }
  .pillars-timeline { flex-wrap: wrap; row-gap: 40px; }
  .pillars-timeline::before { display: none; }
  .pillar-node { flex: 0 0 calc(33.333% - 11px); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-photo { max-width: 260px; margin: 0 auto; position: static; }
  .analyst-row { justify-content: center; text-align: left; }
  .about-text p { margin-left: auto; margin-right: auto; }
  .gallery-photo { height: 200px; }
  .proof-card { height: 280px; }
  .proof-gallery-track { animation-duration: 34s; }
  .testimonial-card { width: 280px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .navbar { flex-wrap: wrap; gap: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .pillar-node { flex: 0 0 100%; }
  .benefits-grid { grid-template-columns: 1fr; }
  .proof-card { height: 220px; }
  .proof-gallery-track { animation-duration: 22s; }
}

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }

@media (max-width: 620px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 27px; height: 27px; }
}
