
:root {
  --main: #3F64E7;
  --secondary: #2CBB7F;
  --gradient: radial-gradient(105.01% 508.87% at 0% 8.89%, var(--main) 16.15%, var(--secondary) 100%);
  --dark: #222;
  --light: #f9f9f9;
  --radius: 10px;
}
/* Fuente general */
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
  font-family: "abc diatype-regular-otf", sans-serif; 
}

body { color: var(--dark); background: white; }

/* Navbar */
.navbar {
  background: white;
  padding: 15px 0px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar .container { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
}
.logo img { 
  height: 40px; 
  max-width: 120px; 
  object-fit: contain; 
}


.nav-links { 
  list-style: none; 
  display: flex; 
  gap: 20px; 
}
.nav-links a { 
  text-decoration: none; 
  color: var(--dark); 
  font-weight: 500; 
  transition: color 0.3s; 
}
.nav-links a:hover { color: var(--main); }

/* Jerarquía de textos */
h1, h2, h3, h4 { 
  font-weight: 700; /* bold para títulos */
}
p { 
  font-weight: 400; 
  line-height: 1.6; 
}
p.italic { 
  font-style: italic; 
}


/* Navbar 
.navbar {
  background: white;
  padding: 15px 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 700; font-size: 1.2rem; color: var(--main); }
.nav-links { list-style: none; display: flex; gap: 20px; }
.nav-links a { text-decoration: none; color: var(--dark); transition: color 0.3s; }
.nav-links a:hover { color: var(--main); } */

/* Hero */
.hero {
  background: var(--gradient);
  color: white;
  text-align: center;
  padding: 80px 20px;
}
.hero h1 { font-size: 2.5rem; margin-bottom: 0.5em; }
.hero p { font-size: 1.2rem; margin-bottom: 2em; }
.badge { background: rgba(255,255,255,0.2); padding: 6px 12px; border-radius: 20px; font-size: 0.9rem; display: inline-block; margin-bottom: 15px; }
.hero-buttons { display: flex; gap: 15px; justify-content: center; margin-bottom: 2em; flex-wrap: wrap; }
.hero-meta { display: flex;flex-direction: row;  margin: auto; justify-content: center;}
.hero-meta span { margin: 0 10px; font-size: 1.2rem; }

/* Botones */
.btn { padding: 12px 25px; border-radius: 100px; font-weight: 100; text-decoration: none; transition: 0.3s; display: inline-block; border: none; }
.btn-main { background: var(--main); color: white; border: none; }
.btn-secondary { background: var(--secondary); color: white; border-radius: 100px; }
.btn-light { background: var(--main); color: white;}
.btn:hover { opacity: 0.9; }

/* About */
.container { width: 90%; max-width: 1100px; margin: auto; }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin: 80px auto; }
.about p { margin-top: 15px; line-height: 1.6; font-style: italic;}
.about-img { text-align: center; }
.about-img img { width: 80%; border-radius: var(--radius); box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.about h2 {color:#3F64E7;}

/* Temario */
.temario { background: var(--light); padding: 80px 20px; text-align: center; }
.temario-box {  width: fit-content; margin: auto; background: white; padding: 30px; border-radius: var(--radius); box-shadow: 0 5px 15px rgba(0,0,0,0.05); margin-top: 30px; }
.temario-grid { display: flex; flex-direction: column; gap: 20px; text-align: left; }
.temario-grid div p{ font-size: 1.1em; margin: 0.5em;} 
.temario h2 {color:#3F64E7;}

/* Testimonios */
.testimonios { margin: 80px auto; text-align: center; }
.cards { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-top: 2em;}
.card { background: white; padding: 20px; border-radius: var(--radius); box-shadow: 0 5px 15px rgba(0,0,0,0.05); max-width: 300px; }
.card h4 {margin-top: 1em;}
.testimonios h2 {color:#3F64E7;}

/* Oferta */
.oferta { background: var(--gradient); color: white; text-align: center; padding: 80px 20px; }
.discount { background: var(--secondary); color: white; padding: 5px 10px; border-radius: 20px; display: inline-block; margin-bottom: 10px; }

/* FAQs */
.faqs { margin: 80px auto; width: 50%;}
.faqs h2 {text-align: center; margin: 2em; color:#3F64E7;}
.faq-item { margin-bottom: 15px; }
.faq-question { width: 100%; text-align: left; padding: 15px; font-size: 1em; border: none; border-radius: var(--radius); background: var(--light); cursor: pointer; font-weight: 600; }
.faq-answer { display: none; padding: 15px; background: white; border-radius: var(--radius); margin-top: 5px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }


/* =================================================== */
/* ESTILOS DEL FORMULARIO             */
/* =================================================== */
.form-box {
  background: white;
  color: var(--dark);
  padding: 30px;
  border-radius: var(--radius);
  max-width: 450px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-shadow: var(--shadow);
}
.form-box input[type="text"],
.form-box input[type="email"] {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}
.form-box input:focus {
  outline: none;
  border-color: var(--main);
  box-shadow: 0 0 0 2px rgba(63, 100, 231, 0.2);
}

.checkbox-container {
  text-align: left;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
}
.checkbox-label input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 2px;
  flex-shrink: 0;
}
.checkbox-label a {
  color: var(--main);
  text-decoration: none;
}
.checkbox-label a:hover {
  text-decoration: underline;
}

/* Mensajes de Error y Éxito */
.hs-error-msg {
  color: var(--error);
  margin-top: 5px;
  font-size: 14px;
  display: none;
  animation: fadeIn 0.3s ease-in;
}
input.error {
  border-color: var(--error) !important;
}
.success-message {
  text-align: center;
  padding: 20px;
  background-color: white;
  color: var(--dark);
  border-radius: var(--radius);
  margin: 20px auto;
  max-width: 450px;
  box-shadow: var(--shadow);
  animation: slideIn 0.5s ease-out;
}

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =================================================== */
/* RESPONSIVE                      */
/* =================================================== */
@media (max-width: 768px) {
  .logo img { height: 32px; max-width: 100px; }
  .hero-meta {flex-direction: column;}
  .about { grid-template-columns: 1fr; text-align: center; }
  .temario-grid { grid-template-columns: 1fr; }
  .cards { flex-direction: column; align-items: center; }
  .faqs { width: 90%; }
}

/* Footer */
footer { background: var(--light); text-align: center; padding: 20px; margin-top: 50px; }


}