/* ============================================================
   JP Jesus — Diagnóstico · CSS COMPLETO
   ============================================================ */

/* --- RESET & VARS ------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:   #C85A1A;
  --orange-l: #E06820;
  --bg:       #0A0A0A;
  --bg-2:     #0f0f0f;
  --bg-card:  #111111;
  --border:   rgba(255,255,255,0.07);
  --text:     #FFFFFF;
  --muted:    rgba(255,255,255,0.45);
  --nav-h:    64px;
  --max:      1280px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter Tight', sans-serif;
}

/* --- SCROLLBAR --------------------------------------------- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 4px; }

/* --- CURSOR ------------------------------------------------ */
.cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, background .2s, border-color .2s;
  mix-blend-mode: difference;
}
.cursor.grow {
  width: 50px;
  height: 50px;
  background: rgba(200,90,26,.15);
}

/* --- UTILITY ----------------------------------------------- */
.accent { color: var(--orange); }
.italic { 
  font-family: 'Inter Tight', sans-serif;
  font-style: italic; 
  font-weight: 800; 
}
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity .8s ease, transform .8s ease;
}
.reveal-up    { transform: translateY(50px); }
.reveal-left  { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.in-view { opacity: 1 !important; transform: none !important; }

.delay-1 { transition-delay: .15s !important; }
.delay-2 { transition-delay: .3s !important; }
.delay-3 { transition-delay: .45s !important; }

/* --- BUTTONS ----------------------------------------------- */
.btn-orange {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  padding: 16px 32px;
  text-decoration: none;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background .25s, transform .2s;
}
.btn-orange::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.12);
  transform: translateX(-101%);
  transition: transform .35s ease;
}
.btn-orange:hover::before { transform: translateX(0); }
.btn-orange:hover { transform: translateY(-2px); }

/* --- NAVBAR ------------------------------------------------ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
#navbar.scrolled { background: rgba(10,10,10,.98); }

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-square {
  width: 14px; height: 14px;
  background: var(--orange);
  border-radius: 2px;
}
.logo-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
}
.logo-dot { color: var(--orange); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
  margin-left: auto;
}
.nav-links a {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--muted);
  text-decoration: none;
  position: relative;
  transition: color .2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--orange);
  transition: width .3s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.btn-nav {
  flex-shrink: 0;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.3);
  padding: 10px 20px;
  text-transform: uppercase;
  transition: border-color .2s, color .2s, background .2s;
}
.btn-nav:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(10,10,10,.98);
  border-top: 1px solid var(--border);
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  padding: 24px 40px 32px;
  z-index: 999;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform .3s, opacity .3s;
}
.mobile-menu.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}
.mobile-menu a {
  font-size: .9rem;
  color: var(--muted);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--text); }
.mobile-menu .btn-orange { margin-top: 20px; justify-content: center; }

/* --- SECTION LABELS ---------------------------------------- */
.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--muted);
  margin-bottom: 60px;
}
.section-label .line {
  display: block;
  width: 36px; height: 1px;
  background: var(--orange);
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 80px) 40px 100px;
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,90,26,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,90,26,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

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

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-title {
  font-size: clamp(3.5rem, 7vw, 8rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -.03em;
  margin-bottom: 48px;
}

.hero-bottom {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
}

.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 400px;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-scroll-line {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--orange), transparent);
  z-index: 1;
}
.hero-scroll-dot {
  width: 10px; height: 10px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { top: 0; opacity: 1; }
  100% { top: 180px; opacity: 0; }
}

/* ============================================================
   DOR
   ============================================================ */
#dor {
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px 40px;
  border-top: 1px solid var(--border);
}

.dor-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

.dor-img-wrapper {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}
.dor-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: #111;
  overflow: hidden;
}
.dor-img-placeholder svg { width: 100%; height: 100%; }

.dor-img-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px 20px;
  font-size: .65rem;
  letter-spacing: .2em;
  color: var(--muted);
  background: linear-gradient(transparent, rgba(0,0,0,.6));
}

.dor-text h2 {
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 32px;
}

.dor-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
}
.dor-desc strong { color: var(--text); }

.dor-stats {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 48px;
}

.dor-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 40px;
}

.stat-num {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 900;
  letter-spacing: -.04em;
  color: var(--text);
  line-height: 1;
}

.stat-label {
  font-size: .65rem;
  letter-spacing: .2em;
  color: var(--muted);
  text-transform: uppercase;
}

.dor-stat-sep {
  width: 1px; height: 80px;
  background: var(--border);
}

/* ============================================================
   DIAGNÓSTICO
   ============================================================ */
#diagnostico {
  background: var(--bg-2);
  padding: 120px 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
#diagnostico > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

.diag-title {
  margin-bottom: 80px;
}
.diag-title h2 {
  font-size: clamp(3rem, 5vw, 6rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -.03em;
}

.diag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  margin-bottom: 60px;
}

.diag-card {
  padding: 48px 40px;
  border-right: 1px solid var(--border);
  transition: background .3s;
}
.diag-card:last-child { border-right: none; }
.diag-card:hover { background: rgba(200,90,26,.04); }

.diag-num {
  font-size: 5rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px var(--orange);
  letter-spacing: -.06em;
  line-height: 1;
  margin-bottom: 24px;
  transition: color .3s;
}
.diag-card:hover .diag-num { color: var(--orange); -webkit-text-stroke: 0; }

.diag-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.diag-card p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.7;
}

.diag-footer {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-top: 1px solid var(--border);
  padding-top: 48px;
  flex-wrap: wrap;
}
.diag-footer p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
}
.diag-footer p strong { color: var(--text); }

/* ============================================================
   FILTRO
   ============================================================ */
#filtro {
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px 40px;
  border-bottom: 1px solid var(--border);
}

.filtro-title {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 60px;
}

.filtro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.filtro-card {
  border: 1px solid var(--border);
  padding: 40px;
  transition: border-color .3s;
}
.filtro-yes { border-color: rgba(200,90,26,.3); }
.filtro-no  { border-color: var(--border); }

.filtro-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.filtro-icon {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  border-radius: 2px;
}
.filtro-check { background: var(--orange); color: #fff; }
.filtro-x     { background: transparent; border: 1px solid var(--border); color: var(--muted); }

.filtro-tag {
  font-size: .65rem;
  letter-spacing: .2em;
  color: var(--muted);
  text-transform: uppercase;
}

.filtro-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.filtro-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--text);
}
.filtro-list-no li { color: var(--muted); text-decoration: line-through; }

.filtro-list .num {
  font-size: .7rem;
  color: var(--muted);
  letter-spacing: .05em;
  flex-shrink: 0;
  margin-top: 3px;
}

.filtro-footer {
  font-size: .85rem;
  color: var(--muted);
  text-align: center;
}

/* ============================================================
   CASES
   ============================================================ */
#cases {
  background: var(--bg-2);
  padding: 120px 40px;
  border-top: 1px solid var(--border);
}
#cases > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

.cases-title {
  margin-bottom: 60px;
}
.cases-title h2 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -.03em;
  margin-bottom: 16px;
}
.cases-title p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 64px;
}

.case-card {
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  transition: transform .3s, border-color .3s;
}
.case-card:hover { transform: translateY(-4px); border-color: rgba(200,90,26,.4); }

.case-img {
  height: 260px;
  position: relative;
  overflow: hidden;
}

.bestfit-bg {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a1a10 50%, #111 100%);
}
.bestfit-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 60% 40%, rgba(200,90,26,.15) 0%, transparent 60%),
    linear-gradient(135deg, #0f0f0f 0%, #1e1008 100%);
}

.tudolog-bg {
  background: linear-gradient(135deg, #1a1810 0%, #1a1a1a 50%, #0f1118 100%);
}
.tudolog-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 40% 50%, rgba(180,140,60,.1) 0%, transparent 60%),
    linear-gradient(135deg, #0e1015 0%, #181410 100%);
}

.case-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(10,10,10,.95) 100%);
  z-index: 1;
}

.case-info {
  padding: 24px 28px 28px;
}

.case-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 12px;
}

.case-name {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.case-type {
  font-size: .65rem;
  letter-spacing: .15em;
  color: var(--muted);
  text-transform: uppercase;
}

.case-badge {
  background: var(--orange);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 5px 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

.case-quote {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quote-mark {
  font-size: 1.8rem;
  color: var(--orange);
  line-height: 1;
}
.case-quote p {
  font-size: .92rem;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
}

/* --- STATS BAR --------------------------------------------- */
.stats-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  border: 1px solid var(--border);
  padding: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 40px;
  text-align: center;
  transition: background .3s;
}
.stat-item:hover { background: rgba(200,90,26,.04); }

.stat-big {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
}

.stat-desc {
  font-size: .62rem;
  letter-spacing: .18em;
  color: var(--muted);
  text-transform: uppercase;
}

.stat-sep {
  width: 1px; height: 80px;
  background: var(--border);
}

/* ============================================================
   FAQ
   ============================================================ */
#faq {
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px 40px;
  border-top: 1px solid var(--border);
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: flex-start;
}

.faq-left h2 {
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -.03em;
  position: sticky;
  top: 100px;
}

.faq-right {
  display: flex;
  flex-direction: column;
}

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 0;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: color .2s;
}
.faq-question:hover { color: var(--orange); }

.faq-num {
  font-size: .7rem;
  letter-spacing: .1em;
  color: var(--muted);
  flex-shrink: 0;
  width: 24px;
}

.faq-question span:nth-child(2) { flex: 1; }

.faq-arrow {
  flex-shrink: 0;
  font-size: .9rem;
  color: var(--muted);
  transition: transform .3s;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 28px; }

.faq-answer p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.75;
  padding-left: 44px;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
#cta {
  background: linear-gradient(135deg, #0a0a0a 0%, #150a04 50%, #0a0a0a 100%);
  padding: 160px 40px;
  text-align: center;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(200,90,26,.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-label {
  font-size: .65rem;
  letter-spacing: .25em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cta-title {
  font-size: clamp(3.5rem, 7vw, 9rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -.03em;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn-cta { padding: 20px 48px; font-size: .85rem; }

.cta-fine {
  font-size: .65rem;
  letter-spacing: .2em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: #070707;
  border-top: 1px solid var(--border);
  padding: 80px 40px 60px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
}

.footer-brand .logo { margin-bottom: 20px; }
.footer-brand p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 320px;
}

.footer-nav, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav h4, .footer-contact h4 {
  font-size: .65rem;
  letter-spacing: .2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-nav a {
  font-size: .95rem;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color .2s;
}
.footer-nav a:hover { color: var(--text); }

.footer-contact p {
  font-size: .9rem;
  color: rgba(255,255,255,.5);
}

.footer-copy {
  font-size: .6rem !important;
  letter-spacing: .1em;
  color: rgba(255,255,255,.25) !important;
  margin-top: 24px;
  text-transform: uppercase;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  :root { --max: 100%; }

  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }
  
  .hero-title { font-size: clamp(2.5rem, 10vw, 5rem); }
  .hero-bottom { flex-direction: column; gap: 32px; }
  .hero-scroll-line { display: none; }
  
  .dor-layout { grid-template-columns: 1fr; gap: 48px; }
  .dor-stats { grid-template-columns: 1fr; gap: 24px; }
  .dor-stat-sep { display: none; }
  .dor-stat { padding: 0; }

  .diag-grid { grid-template-columns: 1fr; }
  .diag-card { border-right: none; border-bottom: 1px solid var(--border); }
  .diag-footer { flex-direction: column; }

  .filtro-grid { grid-template-columns: 1fr; }
  .cases-grid  { grid-template-columns: 1fr; }
  
  .stats-bar {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .stat-sep { display: none; }
  .stat-item { border-bottom: 1px solid var(--border); }
  
  .faq-layout { grid-template-columns: 1fr; gap: 48px; }
  .faq-left h2 { position: static; }
  
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  
  #hero, #dor, #diagnostico, #filtro, #cases, #faq, #cta { padding-left: 24px; padding-right: 24px; }
  .nav-inner { padding: 0 24px; }
}

/* ============================================================
   ANIMATED GRADIENT ORB (background decoration)
   ============================================================ */
.hero-orb {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,90,26,.12) 0%, transparent 70%);
  top: 50%; right: -200px;
  transform: translateY(-50%);
  pointer-events: none;
  animation: orbPulse 6s ease-in-out infinite;
}
@keyframes orbPulse {
  0%, 100% { transform: translateY(-50%) scale(1); opacity: .6; }
  50%       { transform: translateY(-50%) scale(1.15); opacity: 1; }
}

/* ============================================================
   DIAGNOSIS MODAL (POP-UP)
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: #0D0D0D;
  border: 1px solid var(--border);
  width: 100%;
  max-width: 520px;
  padding: 40px;
  border-radius: 4px;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.modal-overlay.open .modal-content {
  transform: translateY(0);
}

/* Close Button */
.modal-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover {
  color: var(--text);
  transform: scale(1.1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-progress-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--orange);
  font-weight: 700;
}

.modal-progress-bar {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 32px;
  border-radius: 2px;
  overflow: hidden;
}

.modal-progress-inner {
  height: 100%;
  width: 20%;
  background: var(--orange);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Step Panes */
.modal-step-pane {
  display: none;
  animation: fadeInStep 0.35s ease forwards;
}

.modal-step-pane.active {
  display: block;
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-step-pane h2 {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.step-sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 28px;
}

/* Input Fields */
.input-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  font-weight: 700;
}

.input-group input {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 16px 20px;
  font-size: 0.95rem;
  font-family: inherit;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.25s, background-color 0.25s;
}

.input-group input:focus {
  border-color: var(--orange);
  background: #181818;
}

/* Radio Cards (Segment / Revenue / Pain / Invest) */
.option-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.custom-option {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px 20px;
  cursor: pointer;
  transition: border-color 0.25s, background-color 0.25s;
  position: relative;
  user-select: none;
}

.custom-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}

.option-box {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  transition: background-color 0.25s, border-color 0.25s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-option:hover {
  background: #181818;
  border-color: rgba(255, 255, 255, 0.15);
}

/* Radio Checked States */
.custom-option input[type="radio"]:checked ~ .option-box {
  border-color: var(--orange);
  background-color: var(--orange);
  transform: scale(1.08);
}

.custom-option input[type="radio"]:checked ~ .option-box::after {
  content: '✓';
  color: #fff;
  font-size: 0.65rem;
  font-weight: bold;
}

.custom-option input[type="radio"]:checked {
  background: rgba(200, 90, 26, 0.05);
}

.custom-option:has(input[type="radio"]:checked) {
  border-color: var(--orange);
  background: rgba(200, 90, 26, 0.04);
}

.option-text {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}

.custom-option:has(input[type="radio"]:checked) .option-text {
  color: #fff;
}

/* Modal Actions (Back & Next Buttons) */
.modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 20px;
}

.btn-modal-back {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: color 0.25s;
}

.btn-modal-back:hover:not(:disabled) {
  color: #fff;
}

.btn-modal-back:disabled {
  color: rgba(255,255,255,0.12);
  cursor: not-allowed;
}

.btn-modal-next {
  width: auto;
  min-width: 140px;
  justify-content: center;
}

.btn-modal-next:disabled {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.02);
  cursor: not-allowed;
  transform: none !important;
}

.btn-modal-next:disabled::before {
  display: none;
}

/* Responsive modal modifications */
@media (max-width: 600px) {
  .modal-content {
    padding: 30px 20px;
    height: 100vh;
    max-height: 100%;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: none;
  }
}

