/* ==========================================================================
   Consultoria LP — Main Styles
   ========================================================================== */

:root {
  --bg: #0a0d16;
  --bg-2: #0f1424;
  --bg-3: #141b2e;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --text: #eef1f8;
  --muted: rgba(238, 241, 248, 0.72);
  --muted-2: rgba(238, 241, 248, 0.52);
  --gold: #d4a853;
  --gold-2: #f0c96a;
  --blue: #4a7cff;
  --green: #25d366;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --font-body: "Inter", system-ui, sans-serif;
  --font-display: "Sora", system-ui, sans-serif;
  --container: 1140px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.container.narrow { max-width: 760px; }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 0.9rem 1.5rem; font-size: 1rem; }
.btn-xl { padding: 1.1rem 2rem; font-size: 1.05rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1205;
  box-shadow: 0 8px 28px rgba(212, 168, 83, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 12px 36px rgba(212, 168, 83, 0.38);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.16);
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.18), rgba(74, 124, 255, 0.12));
  border: 1px solid rgba(212, 168, 83, 0.25);
  color: var(--gold);
}

.brand-accent { color: var(--gold); }

/* Navbar */
.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(10, 13, 22, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  background: rgba(10, 13, 22, 0.94);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--nav-h);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-cta { margin-left: 0.5rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  margin-left: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.glow-gold {
  width: 420px;
  height: 420px;
  top: -80px;
  right: -60px;
  background: rgba(212, 168, 83, 0.35);
}

.glow-blue {
  width: 360px;
  height: 360px;
  bottom: 10%;
  left: -80px;
  background: rgba(74, 124, 255, 0.28);
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}

.road {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(212, 168, 83, 0.06), transparent);
}

.road::before {
  content: "";
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    rgba(212, 168, 83, 0.5) 0 40px,
    transparent 40px 80px
  );
  opacity: 0.35;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  margin-bottom: 1.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.grad {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 1.8rem;
  margin-bottom: 1.6rem;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-trust svg { color: var(--gold); flex-shrink: 0; }

.hero-disclaimer {
  font-size: 0.82rem;
  color: var(--muted-2);
  max-width: 620px;
}

/* Disclaimer banner */
.disclaimer-section {
  padding: 0 0 1rem;
  margin-top: -1rem;
}

.disclaimer-banner {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  background: rgba(212, 168, 83, 0.08);
  border: 1px solid rgba(212, 168, 83, 0.22);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.92rem;
}

.disclaimer-banner svg {
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 2px;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-head h2,
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-head p,
.section-lead {
  color: var(--muted);
  font-size: 1.02rem;
}

.section-lead { max-width: 620px; margin-inline: auto; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 168, 83, 0.25);
  background: var(--surface-2);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: rgba(212, 168, 83, 0.12);
  color: var(--gold);
}

.card-icon svg { width: 22px; height: 22px; }

.card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.92rem;
  color: var(--muted);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin-bottom: 2.5rem;
}

.step {
  text-align: center;
  padding: 0 1rem;
}

.step-num {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(212, 168, 83, 0.12);
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: 50%;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--muted);
}

.step-line {
  width: 60px;
  height: 2px;
  margin-top: 26px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 83, 0.4), transparent);
}

/* Authority */
.authority {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.authority-text p {
  color: var(--muted);
  margin: 1rem 0 1.5rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.check-list svg { color: var(--gold); flex-shrink: 0; }

.authority-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--muted-2);
}

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq-ic {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}

.faq-ic::before,
.faq-ic::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--gold);
  border-radius: 1px;
  transition: transform 0.25s;
}

.faq-ic::before { width: 12px; height: 2px; transform: translate(-50%, -50%); }
.faq-ic::after { width: 2px; height: 12px; transform: translate(-50%, -50%); }

.faq details[open] .faq-ic::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq details p {
  padding: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.94rem;
}

/* CTA Final */
.cta-final {
  position: relative;
  padding: 5.5rem 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-3));
}

.cta-final .container { position: relative; z-index: 1; }

.cta-final h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-final p { color: var(--muted); margin-bottom: 1.8rem; }

.form-privacy-note {
  max-width: 560px;
  margin: 22px auto 0;
  color: var(--muted-2);
  font-size: 0.88rem;
}

/* Footer */
.footer {
  padding: 4rem 0 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.footer-col a,
.footer-phone {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.55rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--gold); }

.footer-desc {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--muted-2);
  max-width: 340px;
}

.footer-company {
  padding: 1.8rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--muted-2);
}

.company-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.company-block { margin-top: 0.5rem; }

.footer-company a { color: var(--gold); }
.footer-company a:hover { text-decoration: underline; }

.footer-bottom {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--muted-2);
}

.footer-legal {
  margin-top: 0.6rem;
  max-width: 900px;
  line-height: 1.55;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.5);
}

/* Reveal animations */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .authority { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta { display: none; }

  .nav-toggle { display: flex; }

  .navbar.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    padding: 1.2rem 1rem 1.5rem;
    background: rgba(10, 13, 22, 0.98);
    border-bottom: 1px solid var(--border);
    gap: 0.2rem;
  }

  .navbar.menu-open .nav-links a {
    padding: 0.65rem 0.5rem;
    width: 100%;
  }

  .navbar.menu-open .nav-cta {
    display: inline-flex;
    position: absolute;
    top: calc(var(--nav-h) + 280px);
    left: 1rem;
    right: 1rem;
    justify-content: center;
  }

  .cards { grid-template-columns: 1fr; }

  .steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .step-line { display: none; }

  .authority-stats { grid-template-columns: 1fr 1fr; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
}

@media (max-width: 480px) {
  .authority-stats { grid-template-columns: 1fr; }
}
