/* =========================================================
   RENHACER EDUCATIVO - ESTILOS
   ========================================================= */

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

:root {
  --primary-edu: #0b5cff;
  --primary-dark: #0947cc;
  --secondary-edu: #00c2ff;
  --text: #2b2b2b;
  --text-light: #666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --success: #28a745;
  --warning: #ffc107;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container-header {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  z-index: 1000;
  padding: 15px 0;
}

.container-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-header {
  height: 75px;
}

.nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s;
}

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

.btn-contacto {
  background: var(--primary-edu);
  color: white !important;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
}

.btn-volver {
  background: var(--bg-light);
  padding: 10px 20px;
  border-radius: 20px;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* HERO EDUCATIVO */
.hero-educativo {
  margin-top: 105px;
  padding: 80px 0;
  background: linear-gradient(135deg, #e3f2ff 0%, #fff 100%);
}

.hero-educativo .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: var(--primary-edu);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-educativo h1 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 30px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 30px;
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 36px;
  color: var(--primary-edu);
  font-weight: 900;
  margin-bottom: 5px;
}

.stat span {
  font-size: 14px;
  color: var(--text-light);
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn-primary {
  display: inline-block;
  background: var(--primary-edu);
  color: white;
  padding: 16px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--primary-edu);
  padding: 16px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  border: 2px solid var(--primary-edu);
  transition: all 0.3s;
}

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

.hero-visual {
  display: grid;
  gap: 20px;
}

.visual-card {
  background: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  text-align: center;
}

.visual-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.visual-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--text);
}

.visual-card p {
  font-size: 14px;
  color: var(--text-light);
}

/* SECTIONS */
.section-tag {
  display: inline-block;
  color: var(--primary-edu);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 42px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 15px;
}

.section-description {
  font-size: 17px;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* PROBLEMAS */
.problemas-section {
  padding: 80px 0;
  background: white;
}

.problemas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.problema-card {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 20px;
  border-left: 4px solid var(--warning);
}

.problema-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.problema-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
  color: var(--text);
}

.problema-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

.solucion-cta {
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, var(--primary-edu), var(--secondary-edu));
  border-radius: 20px;
  color: white;
}

.solucion-cta h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

/* SOLUCIONES */
.soluciones-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.soluciones-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 30px;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--primary-edu);
  color: white;
  border-color: var(--primary-edu);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.servicio-detalle {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  background: white;
  padding: 50px;
  border-radius: 25px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.servicio-detalle.full-width {
  grid-template-columns: 1fr;
}

.servicio-info h3 {
  font-size: 32px;
  margin-bottom: 15px;
  color: var(--text);
}

.lead {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.8;
}

.servicio-info h4 {
  font-size: 22px;
  margin: 30px 0 15px;
  color: var(--text);
}

.lista-beneficios {
  list-style: none;
  margin-bottom: 30px;
}

.lista-beneficios li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
}

.lista-beneficios li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
  font-size: 18px;
}

.servicio-resultados {
  background: #e8f5e9;
  padding: 25px;
  border-radius: 15px;
  margin: 25px 0;
}

.resultado-item {
  padding: 8px 0;
  font-weight: 600;
  color: var(--success);
}

.servicio-modalidades {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}

.modalidad {
  background: var(--bg-light);
  padding: 8px 15px;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 600;
}

.servicio-duracion {
  background: var(--bg-light);
  padding: 15px;
  border-radius: 12px;
  margin: 20px 0;
  font-size: 15px;
}

.btn-servicio {
  display: inline-block;
  background: var(--primary-edu);
  color: white;
  padding: 15px 35px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.3s;
}

.btn-servicio:hover {
  background: var(--primary-dark);
}

.proceso-pasos {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.paso {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.paso-numero {
  width: 50px;
  height: 50px;
  background: var(--primary-edu);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  flex-shrink: 0;
}

.paso h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.paso p {
  font-size: 14px;
  color: var(--text-light);
}

.testimonial-box {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 15px;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.8;
}

.testimonial-box strong {
  display: block;
  margin-top: 15px;
  color: var(--primary-edu);
  font-style: normal;
}

/* DOCUMENTOS */
.doc-caracteristicas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 25px 0;
}

.caracteristica {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-light);
  padding: 15px;
  border-radius: 12px;
}

.caracteristica .icon {
  color: var(--success);
  font-size: 20px;
}

.precio-box {
  background: linear-gradient(135deg, var(--primary-edu), var(--secondary-edu));
  color: white;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  margin: 25px 0;
}

.precio-box strong {
  font-size: 32px;
}

.precio-box small {
  display: block;
  margin-top: 10px;
  opacity: 0.9;
}

.documentos-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.doc-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--bg-light);
  padding: 20px;
  border-radius: 15px;
  transition: transform 0.3s;
}

.doc-item:hover {
  transform: translateX(5px);
}

.doc-item.destacado {
  background: linear-gradient(135deg, var(--primary-edu), var(--secondary-edu));
  color: white;
}

.doc-icon {
  font-size: 32px;
}

.doc-item strong {
  display: block;
  font-size: 17px;
  margin-bottom: 3px;
}

.doc-item small {
  font-size: 13px;
  opacity: 0.8;
}

/* CAPACITACIONES */
.capacitaciones-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 40px 0;
}

.capacitacion-card {
  background: white;
  border: 2px solid #e0e0e0;
  padding: 30px;
  border-radius: 20px;
  transition: all 0.3s;
  position: relative;
}

.capacitacion-card:hover {
  border-color: var(--primary-edu);
  box-shadow: 0 10px 30px rgba(11, 92, 255, 0.15);
}

.capacitacion-card.destacada {
  border-color: var(--primary-edu);
  box-shadow: 0 5px 25px rgba(11, 92, 255, 0.2);
}

.badge-destacado {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--warning);
  color: #333;
  padding: 5px 15px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 700;
}

.cap-header {
  margin-bottom: 15px;
}

.cap-header h4 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--text);
}

.cap-duracion {
  display: inline-block;
  background: var(--bg-light);
  padding: 5px 12px;
  border-radius: 12px;
  font-size: 13px;
  color: var(--text-light);
}

.capacitacion-card > p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.cap-dirigido {
  background: var(--bg-light);
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 15px;
  font-size: 14px;
}

.cap-precio {
  font-size: 22px;
  font-weight: 900;
  color: var(--primary-edu);
  margin-bottom: 15px;
}

.btn-cap {
  width: 100%;
  padding: 12px;
  background: var(--primary-edu);
  color: white;
  border: none;
  border-radius: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-cap:hover {
  background: var(--primary-dark);
}

.cap-nota {
  background: #fff3cd;
  padding: 20px;
  border-radius: 15px;
  margin-top: 30px;
}

.cap-nota p {
  margin-bottom: 10px;
  line-height: 1.7;
}

/* WHY SECTION */
.why-section {
  padding: 80px 0;
  background: white;
}

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

.why-card {
  background: var(--bg-light);
  padding: 35px;
  border-radius: 20px;
  text-align: center;
}

.why-icon {
  font-size: 56px;
  margin-bottom: 20px;
}

.why-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text);
}

.why-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

/* CASOS */
.casos-section {
  padding: 80px 0;
  background: var(--bg-light);
}

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

.caso-card {
  background: white;
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.caso-tipo {
  display: inline-block;
  background: var(--primary-edu);
  color: white;
  padding: 5px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 15px;
}

.caso-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--text);
}

.caso-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 15px;
}

.caso-resultados {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0;
}

.resultado {
  font-weight: 600;
  color: var(--success);
  font-size: 14px;
}

.caso-tiempo {
  display: block;
  font-size: 13px;
  color: var(--text-light);
  font-style: italic;
  margin-top: 15px;
}

/* EQUIPO */
.equipo-section {
  padding: 80px 0;
  background: white;
}

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

.miembro-card {
  text-align: center;
}

.miembro-foto {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-edu), var(--secondary-edu));
}

.foto-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: white;
}

.miembro-card h3 {
  font-size: 22px;
  margin-bottom: 5px;
  color: var(--text);
}

.cargo {
  color: var(--primary-edu);
  font-weight: 600;
  margin-bottom: 15px;
}

.bio {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 15px;
}

.especialidades {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.especialidades span {
  background: var(--bg-light);
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
}

/* CONTACTO EDUCATIVO */
.contacto-educativo {
  padding: 80px 0;
  background: var(--bg-light);
}

.contacto-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
}

.contacto-info h2 {
  font-size: 38px;
  margin-bottom: 15px;
}

.contacto-info > p {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 35px;
  line-height: 1.8;
}

.contacto-metodos {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
}

.metodo {
  display: flex;
  gap: 15px;
}

.metodo .icon {
  font-size: 28px;
}

.metodo strong {
  display: block;
  margin-bottom: 5px;
}

.metodo a {
  color: var(--primary-edu);
  text-decoration: none;
}

.proceso-cotizacion {
  background: white;
  padding: 25px;
  border-radius: 15px;
}

.proceso-cotizacion h4 {
  margin-bottom: 15px;
  color: var(--text);
}

.paso-cotiza {
  padding: 10px 0;
  font-size: 15px;
}

.form-cotizacion {
  background: white;
  padding: 40px;
  border-radius: 25px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.form-cotizacion h3 {
  font-size: 28px;
  margin-bottom: 25px;
}

.form-cotizacion input,
.form-cotizacion select,
.form-cotizacion textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  margin-bottom: 18px;
  transition: border-color 0.3s;
}

.form-cotizacion input:focus,
.form-cotizacion select:focus,
.form-cotizacion textarea:focus {
  outline: none;
  border-color: var(--primary-edu);
}

.checkbox-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 14px;
}

.btn-enviar {
  width: 100%;
  padding: 16px;
  background: var(--primary-edu);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-enviar:hover {
  background: var(--primary-dark);
}

.form-nota {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin-top: 15px;
}

/* FOOTER */
.footer-educativo {
  background: #1a1a1a;
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-logo {
  height: 70px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-col p {
  color: #aaa;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: var(--primary-edu);
}

.footer-col h4 {
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-col a {
  display: block;
  color: #aaa;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--primary-edu);
}

.footer-cta {
  display: inline-block;
  background: var(--primary-edu);
  color: white !important;
  padding: 10px 20px;
  border-radius: 20px;
  margin-top: 10px;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.footer-bottom p {
  color: #888;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #888;
  text-decoration: none;
}

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

/* WHATSAPP */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 65px;
  height: 65px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.3s;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-educativo .container,
  .servicio-detalle,
  .contacto-layout {
    grid-template-columns: 1fr;
  }

  .problemas-grid,
  .why-grid,
  .casos-grid,
  .equipo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .menu-toggle {
    display: block;
  }

  .problemas-grid,
  .why-grid,
  .casos-grid,
  .equipo-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}
