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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: #2d2d2d;
  background: #f8f9fb;
  line-height: 1.6;
}

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

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: 'Nunito', sans-serif; line-height: 1.2; }

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; color: #1a1a2e; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; color: #1a1a2e; }
h3 { font-size: 1.1rem; font-weight: 700; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #e67e22;
  margin-bottom: 10px;
}
.eyebrow--green { color: #27ae60; }
.eyebrow--blue  { color: #2980b9; }

.highlight       { color: #f39c12; }
.highlight-blue  { color: #2980b9; }
.highlight-yellow{ color: #f39c12; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-header p {
  color: #666;
  margin-top: 12px;
  font-size: 1rem;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #eee;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo { height: 48px; width: auto; }

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: #444;
  transition: color 0.2s;
}
.nav-links a:hover { color: #f39c12; }

.btn-nav {
  background: #f39c12;
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 22px;
  border-radius: 30px;
  transition: background 0.2s, transform 0.1s;
}
.btn-nav:hover { background: #e67e22; transform: scale(1.03); }

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #444;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid #eee;
  padding: 16px 24px;
  gap: 14px;
}
.mobile-menu a {
  font-size: 0.95rem;
  font-weight: 600;
  color: #444;
}
.btn-mobile {
  background: #f39c12;
  color: #fff !important;
  text-align: center;
  padding: 10px 0;
  border-radius: 30px;
  font-weight: 700;
}
.hidden { display: none !important; }

.hero {
  background: linear-gradient(135deg, #1a9e8f 0%, #2bc0b4 40%, #1d8fa0 100%);
  padding: 90px 0 0;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 60px;
}

.hero-text .eyebrow { color: #ffffffcc; }

.hero-text h1 { color: #fff; }

.hero-text p {
  color: #ffffffcc;
  font-size: 1.05rem;
  margin: 16px 0 28px;
  max-width: 480px;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  background: #f39c12;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 30px;
  transition: background 0.2s, transform 0.1s;
  display: inline-block;
}
.btn-primary:hover { background: #e67e22; transform: translateY(-2px); }

.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: 30px;
  transition: background 0.2s;
  display: inline-block;
}
.btn-secondary:hover { background: rgba(255,255,255,0.25); }

.hero-image {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero-image img {
  width: 100%;
  max-width: 420px;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,0.2));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.hero-wave {
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; }

.stats {
  background: #f8f9fb;
  padding: 48px 0;
}

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

.stat-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border-top: 4px solid #f39c12;
}

.stat-num {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #1a1a2e;
}
.stat-label {
  display: block;
  font-size: 0.85rem;
  color: #888;
  margin-top: 4px;
  font-weight: 500;
}

.nosotros {
  padding: 80px 0;
  background: #fff;
}

.nosotros-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.nosotros-text h2 { margin-bottom: 16px; }
.nosotros-text p  { color: #555; font-size: 0.97rem; margin-bottom: 28px; }

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
}
.feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.feat-yellow { background: #fff3cd; }
.feat-blue   { background: #d6eaf8; }
.feat-green  { background: #d5f5e3; }
.feat-pink   { background: #fde8f0; }

.nosotros-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.info-card {
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.2s;
}
.info-card:hover { transform: translateY(-4px); }

.card-yellow { background: #fff8e1; border: 1.5px solid #ffe082; }
.card-blue   { background: #e3f2fd; border: 1.5px solid #90caf9; }
.card-green  { background: #e8f5e9; border: 1.5px solid #a5d6a7; }
.card-coral  { background: #fce4ec; border: 1.5px solid #f48fb1; }

.card-icon { font-size: 1.8rem; margin-bottom: 10px; }
.info-card h3 { font-size: 0.95rem; margin-bottom: 6px; color: #1a1a2e; }
.info-card p  { font-size: 0.83rem; color: #666; }

.cursos {
  padding: 80px 0;
  background: #f8f9fb;
}

.cursos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.curso-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.curso-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.curso-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.badge-blue   { background: #d6eaf8; color: #1a6fa0; }
.badge-green  { background: #d5f5e3; color: #1a7a40; }
.badge-yellow { background: #fff3cd; color: #8a6500; }

.curso-icon { font-size: 2rem; }

.curso-card h3 { font-size: 1rem; color: #1a1a2e; }
.curso-card p  { font-size: 0.85rem; color: #666; flex: 1; }

.curso-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: #888;
  font-weight: 600;
}

.btn-curso {
  display: inline-block;
  margin-top: 6px;
  background: #f39c12;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 30px;
  text-align: center;
  transition: background 0.2s;
  align-self: flex-start;
}
.btn-curso:hover { background: #e67e22; }

.testimonios {
  padding: 80px 0;
  background: #fff;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.testi-card {
  background: #f8f9fb;
  border-radius: 20px;
  padding: 28px 24px;
  border: 1.5px solid #eee;
}
.testi-featured {
  background: linear-gradient(135deg, #1a9e8f, #2bc0b4);
  border-color: transparent;
  transform: scale(1.04);
}
.testi-featured p, .testi-featured strong { color: #fff; }
.testi-featured span { color: rgba(255,255,255,0.75) !important; }

.stars { color: #f39c12; font-size: 1.1rem; margin-bottom: 12px; }
.testi-featured .stars { color: #ffe082; }

.testi-card p { font-size: 0.9rem; color: #555; font-style: italic; margin-bottom: 20px; }

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.av-blue   { background: #d6eaf8; color: #1a6fa0; }
.av-green  { background: #d5f5e3; color: #1a7a40; }
.av-yellow { background: #fff3cd; color: #8a6500; }

.testi-author strong { display: block; font-size: 0.9rem; color: #1a1a2e; }
.testi-author span   { font-size: 0.78rem; color: #888; }

.cta-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-inner h2 { color: #fff; margin-bottom: 12px; }
.cta-inner p  { color: rgba(255,255,255,0.65); font-size: 1rem; margin-bottom: 32px; }

.btn-cta {
  display: inline-block;
  background: #f39c12;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: 40px;
  transition: background 0.2s, transform 0.15s;
}
.btn-cta:hover { background: #e67e22; transform: translateY(-3px); }

.contacto {
  padding: 80px 0;
  background: #f8f9fb;
}

.contacto-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contacto-text h2 { margin-bottom: 12px; }
.contacto-text p  { color: #666; margin-bottom: 28px; font-size: 0.95rem; }

.contact-info { display: flex; flex-direction: column; gap: 12px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #444;
  font-weight: 500;
}

.contact-form {
  background: #fff;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #444;
}
.form-group input,
.form-group textarea {
  border: 1.5px solid #ddd;
  border-radius: 10px;
  padding: 12px 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: #333;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { border-color: #2bc0b4; }

.btn-submit {
  background: #2bc0b4;
  color: #fff;
  border: none;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  letter-spacing: 0.5px;
}
.btn-submit:hover { background: #24a99e; transform: translateY(-2px); }

.form-success {
  font-size: 0.9rem;
  color: #27ae60;
  font-weight: 600;
  text-align: center;
}

.footer {
  background: #1a1a2e;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo { height: 56px; margin-bottom: 12px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; }

.footer-links h4 {
  font-family: 'Nunito', sans-serif;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: #f39c12; }

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

@media (max-width: 960px) {
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: block; }

  .hero-inner      { grid-template-columns: 1fr; text-align: center; }
  .hero-text p     { margin: 16px auto 28px; }
  .hero-btns       { justify-content: center; }
  .hero-image      { order: -1; }
  .hero-image img  { max-width: 280px; margin: 0 auto; }

  .stats-grid      { grid-template-columns: repeat(2, 1fr); }
  .nosotros-inner  { grid-template-columns: 1fr; }
  .cursos-grid     { grid-template-columns: repeat(2, 1fr); }
  .testi-grid      { grid-template-columns: 1fr; }
  .testi-featured  { transform: none; }
  .contacto-inner  { grid-template-columns: 1fr; }
  .footer-inner    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .stats-grid      { grid-template-columns: repeat(2, 1fr); }
  .cursos-grid     { grid-template-columns: 1fr; }
  .nosotros-cards  { grid-template-columns: 1fr; }
  .footer-inner    { grid-template-columns: 1fr; }
}
