/* Fix: hide menu by default on mobile if open by mistake */
/* Design System Variables */
:root {
  /* Colors - Dark theme with blue-lime accents and glass-like panels */
  --color-bg: #0a0e1a;
  --color-surface: #151b2e;
  --color-surface-glass: rgba(21, 27, 46, 0.7);
  --color-primary: #3b82f6;
  --color-accent: #84cc16;
  --color-text-main: #f8fafc;
  --color-text-muted: #94a3b8;
  --color-border: #1e293b;
  --color-success: #10b981;
  --color-error: #ef4444;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  --gradient-accent: linear-gradient(135deg, #84cc16 0%, #65a30d 100%);
  --gradient-hero: linear-gradient(135deg, #0a0e1a 0%, #151b2e 50%, #1e293b 100%);

  /* Fonts */
  --font-heading: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Spacing */
  --section-padding: 80px 0;
  --section-padding-sm: 60px 0;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);

  /* Glass effect */
  --glass-bg: rgba(21, 27, 46, 0.6);
  --glass-border: rgba(59, 130, 246, 0.2);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}
h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}
h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

a {
  color: var(--color-text-main);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-accent);
}

/* Header */
.site-header {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-main) !important;
}

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

.nav-link {
  color: var(--color-text-muted) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary) !important;
}


/* Bootstrap burger icon override for dark bg */
.navbar-toggler {
  border: none;
  padding: 0.5rem 0.75rem;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
  padding: 150px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
  z-index: -1;
}

.hero-background::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
}

.hero-background::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(132, 204, 22, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
}

.hero-title {
  color: var(--color-text-main);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.hero-cta {
  margin-bottom: 3rem;
}

.hero-benefits {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.benefits-title {
  font-size: 1.125rem;
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

.benefits-list {
  list-style: none;
  padding: 0;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-muted);
}

.benefits-list i {
  color: var(--color-accent);
  margin-top: 0.25rem;
}

.hero-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Buttons */
.btn {
  padding: 0.75rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--gradient-primary);
  color: white;
}

.btn-outline-light {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--color-primary);
  color: white;
}

.btn-outline-primary {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--color-primary);
  color: white;
}

.btn-light {
  background: white;
  color: var(--color-bg);
}

.btn-light:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

/* Sections */
section {
  padding: var(--section-padding);
}

.section-header {
  margin-bottom: 4rem;
}

.section-title {
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* Program Section */
.section-programa {
  background: var(--color-surface);
}

.module-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
}

.module-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.module-number {
  display: inline-block;
  background: var(--gradient-accent);
  color: var(--color-bg);
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.module-title {
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

.module-goal {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.module-outcomes h4 {
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.module-outcomes ul {
  list-style: none;
  padding-left: 0;
}

.module-outcomes li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: var(--color-text-muted);
}

.module-outcomes li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

.module-practice {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.module-practice i {
  color: var(--color-accent);
}

/* Audience Section */
.section-audiencia {
  background: var(--color-bg);
}

.audience-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
}

.audience-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.audience-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.audience-icon i {
  font-size: 1.75rem;
  color: white;
}

.audience-card h3 {
  color: var(--color-text-main);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.audience-card p {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* Process Section */
.section-proceso {
  background: var(--color-surface);
}

.proceso-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.proceso-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.proceso-icon i {
  font-size: 1.5rem;
  color: var(--color-bg);
}

.proceso-content h4 {
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
}

.proceso-content p {
  margin-bottom: 0;
}

/* Tools Section */
.section-herramientas {
  background: var(--color-bg);
}

.tool-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  height: 100%;
  text-align: center;
  transition: all 0.3s ease;
}

.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.tool-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.tool-icon i {
  font-size: 2rem;
  color: white;
}

.tool-card h3 {
  color: var(--color-text-main);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.tool-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Results Section */
.section-resultados {
  background: var(--color-surface);
}

.result-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
}

.result-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.result-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.result-header i {
  font-size: 2rem;
  color: var(--color-accent);
}

.result-header h3 {
  color: var(--color-text-main);
  font-size: 1.25rem;
  margin-bottom: 0;
}

.result-card p {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.case-study-section {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 3rem;
}

.case-phase {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  height: 100%;
}

.case-phase h4 {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.case-phase p {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* Registration Section */
.section-registro {
  background: var(--color-bg);
}

.registro-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
}

/* Forms */
.contact-form .form-label {
  color: var(--color-text-main);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  background: var(--color-surface);
  border-color: var(--color-primary);
  color: var(--color-text-main);
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.contact-form .form-control::placeholder {
  color: var(--color-text-muted);
}

.form-check-input {
  background-color: var(--color-surface);
  border-color: var(--color-border);
}

.form-check-input:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.form-check-label {
  color: var(--color-text-muted);
}

.form-note {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* FAQ Section */
.section-faq {
  background: var(--color-surface);
}

.accordion-item {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  margin-bottom: 1rem;
  border-radius: var(--radius-md) !important;
  overflow: hidden;
}

.accordion-button {
  background: transparent;
  color: var(--color-text-main);
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  border: none;
}

.accordion-button:not(.collapsed) {
  background: transparent;
  color: var(--color-primary);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.accordion-button::after {
  filter: brightness(0) invert(1);
}

.accordion-body {
  color: var(--color-text-muted);
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
}

/* Final CTA Section */
.section-final-cta {
  background: var(--gradient-primary);
  padding: 100px 0;
}

.cta-title {
  color: white;
  margin-bottom: 1.5rem;
}

.cta-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* Footer */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 60px 0 30px;
}

.footer-column {
  margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.5rem;
    color: var(--color-text-);
}



@media (max-width: 1200px) {
  .btn-primary{
    margin-bottom: 15px;
  }
  
}