:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #eef2ff;
  --accent: #10b981;
  --accent-light: #d1fae5;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --border: #e5e7eb;
  --bg-light: #f9fafb;
  --bg-lighter: #f5f7fb;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background: var(--bg-lighter);
  color: var(--text-primary);
  line-height: 1.6;
}

/* ==================== */
/* Header Navigation    */
/* ==================== */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  animation: slideDown 0.6s ease-out;
}

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

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  font-size: 24px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

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

/* ==================== */
/* Hero Section         */
/* ==================== */

.hero {
  background: linear-gradient(135deg, #f5f7fb 0%, #e0e7ff 100%);
  padding: 60px 20px;
  min-height: auto;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-left h1 {
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease-out both;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* ==================== */
/* Beneficios Grid      */
/* ==================== */

.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 40px 0;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.benefit {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  border: 1px solid rgba(79, 70, 229, 0.1);
  transition: all 0.3s ease;
}

.benefit:hover {
  background: white;
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.benefit-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==================== */
/* Steps Section        */
/* ==================== */

.steps-section {
  margin-top: 50px;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.steps-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 20px;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  border-left: 3px solid var(--primary);
  transition: all 0.3s ease;
}

.step-item:hover {
  background: white;
  border-left-color: var(--accent);
  transform: translateX(8px);
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 16px;
}

.step-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.step-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.step-description {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 500;
  margin-top: 4px;
}

/* ==================== */
/* Form Card            */
/* ==================== */

.form-section {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.form-header {
  margin-bottom: 32px;
}

.form-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

input,
select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
  background: white;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
  transform: translateY(-1px);
}

input::placeholder {
  color: #d1d5db;
}

/* ==================== */
/* Checkbox custom      */
/* ==================== */

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0;
  padding: 16px;
  background: var(--primary-light);
  border-radius: 10px;
  border: 1px solid rgba(79, 70, 229, 0.2);
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--primary);
}

.checkbox-label {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  cursor: pointer;
}

/* ==================== */
/* Button               */
/* ==================== */

.cta-button {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
  transition: all 0.3s ease;
  margin-top: 20px;
}

.cta-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(79, 70, 229, 0.4);
}

.cta-button:active:not(:disabled) {
  transform: translateY(0);
}

.cta-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.button-icon {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.cta-button:hover .button-icon {
  transform: translateX(4px);
}

/* ==================== */
/* Status Messages      */
/* ==================== */

.status-message {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  display: none;
  animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.status-success {
  background: var(--accent-light);
  color: #047857;
  border: 1px solid var(--accent);
}

.status-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.form-footer {
  margin-top: 12px;
  font-size: 12px;
  color: #9ca3af;
  text-align: center;
}

.whatsapp-direct {
  margin-top: 20px;
  padding: 16px;
  background: #f0fdf4;
  border: 1.5px solid var(--accent);
  border-radius: 10px;
  text-align: center;
}

.whatsapp-direct-text {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #25d366 0%, #20ba5c 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.whatsapp-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* ==================== */
/* Trust Section        */
/* ==================== */

.trust-section {
  background: white;
  padding: 60px 20px;
  margin-top: 60px;
}

.trust-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-primary);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.trust-card {
  background: var(--bg-light);
  padding: 32px;
  border-radius: 14px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
}

.trust-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.trust-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.trust-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.trust-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==================== */
/* Testimonios          */
/* ==================== */

.testimonials-section {
  background: linear-gradient(135deg, #f5f7fb 0%, #e0e7ff 100%);
  padding: 60px 20px;
}

.testimonials-container {
  max-width: 1000px;
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial {
  background: white;
  padding: 28px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.testimonial-stars {
  font-size: 18px;
  margin-bottom: 12px;
  color: #fbbf24;
}

.testimonial-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-style: italic;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.testimonial-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-info p {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ==================== */
/* Footer               */
/* ==================== */

footer {
  background: var(--text-primary);
  color: #d1d5db;
  padding: 40px 20px;
  text-align: center;
  font-size: 13px;
}

footer a {
  color: var(--primary-light);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ==================== */
/* Responsive Design    */
/* ==================== */

@media (max-width: 768px) {
  header {
    padding: 12px 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .hero {
    padding: 40px 20px;
  }

  .form-section {
    padding: 24px;
    margin: 20px;
  }

  .form-title {
    font-size: 24px;
  }

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

  .nav-links {
    display: none;
  }

  .step-item {
    padding: 12px;
  }

  .step-number {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .hero-left h1 {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .form-title {
    font-size: 20px;
  }

  .section-title {
    font-size: 24px;
  }

  .steps-container {
    gap: 12px;
  }

  .step-description {
    font-size: 13px;
  }
}
