:root {
  --bg: #0b1220;
  --surface: #111827;
  --surface-2: #1f2937;
  --text: #f3f4f6;
  --muted: #cbd5e1;
  --primary: #821436;
  --primary-2: #821436;
  --accent: #f59e0b;
  --success: #10b981;
  --border: rgba(255, 255, 255, 0.047);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  
}

.bg-dynamic {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.topbar {
 
  top: 0;
  z-index: 50;
   /*position: sticky;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 1);
  color:  rgba(11, 18, 32, 0.88);
  border-bottom: 1px solid var(--border);
  */
  padding: 10px 20px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  color: var(--text);
}

.brand-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-weight: 600;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.25s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.hero {
  padding: 72px 0 36px;
  background: linear-gradient(180deg, #0b1220 0%, #111827 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 28px;
}

.hero-copy,
.form-card,
.glass-card,
.stat-card,
.footer {
  background: rgba(17, 24, 39, 0.9);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 34px;
  border-radius: 30px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.15);
  color: #ebb8bf;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
}



h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.25rem, 4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h1,
h2,
h3,
strong,
.stat-number,
.mini-value {
  color: var(--text);
}

.lead,
p,
small,
label,
.muted,
.mini-label,
.form-note {
  color: var(--muted);
}

.hero-iconlist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: 100%;
}

.features-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(31, 41, 55, 0.85);
  border: 1px solid var(--border);
}

.feature-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.feature-content {
  /* display: flex;
  flex-direction: row;
  */
  gap: 8px;
  align-items: center;
}

.glass-card {
  padding: 16px;
  border-radius: 20px;
  background: rgba(31, 41, 55, 0.85);
}

.form-card {
  border-radius: 28px;
}

#formulario {
  color: #0b1220;
  border-radius: 28px;
  
}

#formulario .dm-lead-widget{
  background: linear-gradient(160deg, rgba(255,255,255,1), rgb(255, 255, 255, 1));
  border: 0;
}

#formulario h2 {
  color: #0b1220;
}

#formulario p {
  color: #6b7280;
}

#formulario label {
  color: #0b1220;
}

#formulario input,
#formulario textarea,
#formulario select {
  background: rgb(240, 240, 240);
  color: #0b1220;
  border: 1px solid #f1f1f1;
}

#formulario input::placeholder,
#formulario textarea::placeholder {
  color: #9ca3af;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.input-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: #0f172a;
  color: var(--text);
  border-radius: 14px;
  padding: 14px 15px;
  outline: none;
}

.input::placeholder,
.textarea::placeholder {
  color: #94a3b8;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.dm-lead-btn{
  width: 100%;
}

section {
  padding: 34px 0;
}

.section-head h2 {
  color: var(--text);
}

.section-head p {
  color: var(--muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stat-card {
  border-radius: 24px;
  padding: 22px;
}

.stat-card .tag {
  display: inline-block;
  padding: 6px 10px;
  background: rgba(59, 130, 246, 0.14);
  color: #ebb8bf;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stat-number {
  margin: 14px 0 6px;
  font-size: 2rem;
  font-weight: 900;
}

.footer {
  margin: 34px auto 28px;
  border-radius: 26px;
  padding: 22px;
  color: var(--text);
}

.footer small {
  color: var(--muted);
}

.sticky-mobile-cta {
  display: block;
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (max-width: 1080px) {
  .hero-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .nav-links, .hide-in-movile {
    display: none;
  }
}

@media (max-width: 720px) {
  .sticky-mobile-cta {
    display: block;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 60;
    padding: 10px;
    border-radius: 18px;
    /*background: rgba(17, 24, 39, 0.95);*/
    border: 1px solid var(--border);
  }

  .sticky-mobile-cta .btn {
    width: 100%;
  }

  .hero-copySSS .eyebrow {
    display: block;
    text-align: center;
    margin-bottom: 8px;
  }

  .hero-copySSS small {
    display: block;
    text-align: center;
    margin-bottom: 16px;
  }

  body {
    padding-bottom: 88px;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }
}

/* Menú Hamburguesa */
.nav-cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

.hamburger-menu {
  position: relative;
  z-index: 100;
  width: 50px;
  height: 50px;
  background: rgba(130, 20, 54, 0);
  border: 1px solid  rgba(212, 212, 212, 0.9);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.hamburger-menu:hover {
  background: rgba(130, 20, 54, 1);
  transform: scale(1.05);
}

.hamburger-menu span {
  width: 24px;
  height: 2.5px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Panel de Menú */
.menu-panel {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 18, 32, 0.88);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 80px 32px 32px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-16px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
  backdrop-filter: blur(12px);
}

.thankyou-view {
  display: none;
  min-height: 100vh;
  padding: 96px 0 48px;
  background: linear-gradient(160deg, rgba(11, 18, 32, 0.96), rgba(130, 20, 54, 0.9));
}

.thankyou-wrap {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.thankyou-wrap h2 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  line-height: 1.1;
  color: #ffffff;
}

.thankyou-wrap p {
  margin: 0 auto 22px;
  max-width: 640px;
  color: #f6dce3;
}

.thankyou-menu-content .menu-links {
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

body.thankyou-active .topbar,
body.thankyou-active main,
body.thankyou-active .sticky-mobile-cta,
body.thankyou-active #menuPanel {
  display: none !important;
}

body.thankyou-active .thankyou-view {
  display: block;
}

body.thankyou-active {
  padding-bottom: 0;
}

@media (max-width: 720px) {
  .thankyou-view {
    padding-top: 72px;
  }

  .thankyou-wrap {
    text-align: left;
  }

  .thankyou-wrap h2,
  .thankyou-wrap p {
    text-align: left;
  }

  .mobile-center{
    text-align: center;
    display: block;
    margin: auto;
  }


}

.menu-panel.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(130, 20, 54, 0.9);
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1001;
}

.menu-close:hover {
  background: rgba(130, 20, 54, 1);
}

.menu-links {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.menu-social {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 20px;
  justify-content: center;
}

.social-btn {
  display: inline-block;
  width: 70px;
  height: 70px;
  border-radius: 10px;
  color: white;
  text-decoration: none;
  font-size: 20px;
  text-align: center;
  line-height: 50px;
  transition: background 0.3s ease;
}

.social-btn:nth-child(1) {
  background: #25D366; /* WhatsApp */
}

.social-btn:nth-child(2) {
  background: #E4405F; /* Instagram */
}

.social-btn:nth-child(3) {
  background: #0077B5; /* LinkedIn */
}

.social-btn:hover {
  opacity: 0.8;
}

.menu-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.menu-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(31, 41, 55, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  animation: slideInUp 0.5s ease forwards;
  opacity: 0;
}

.menu-link:nth-child(1) { animation-delay: 0.1s; }
.menu-link:nth-child(2) { animation-delay: 0.2s; }
.menu-link:nth-child(3) { animation-delay: 0.3s; }

.menu-link:hover {
  background: rgba(130, 20, 54, 0.8);
  border-color: var(--primary);
  transform: translateX(8px);
}

.menu-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 8px 0;
  animation: slideInUp 0.5s ease forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

.menu-subtitle {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  margin: 16px 20px 12px;
  animation: slideInUp 0.5s ease forwards;
  animation-delay: 0.5s;
  opacity: 0;
}

.menu-social {
  display: flex;
  flex-direction: row;
  gap: 12px;
  animation: slideInUp 0.5s ease forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 26px;
  background: rgba(31, 41, 55, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: rgba(130, 20, 54, 0.8);
  border-color: var(--primary);
  transform: translateY(-2px);
}

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

.menu-panel.active .menu-link,
.menu-panel.active .menu-divider,
.menu-panel.active .menu-subtitle,
.menu-panel.active .menu-social {
  opacity: 1;
}