/* Estilos generales */
:root {
  --primary: #1a365d;
  --primary-dark: #0f2a4a;
  --secondary: #c53030;
  --accent: #dd6b20;
  --light: #f7fafc;
  --dark: #2d3748;
  --gray: #a0aec0;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #4a5568;
  background-color: #f7fafc;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Encabezado y navegación */
header {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 700;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 20px;
}

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

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

.nav-menu a.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: 80px;
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  z-index: 1;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 30px;
}

/* Botones */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
}

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

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

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

.btn-secondary:hover {
  background-color: #b02a2a;
}

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

.btn-white:hover {
  background-color: #f0f0f0;
}

/* Secciones */
section {
  padding: 80px 0;
}

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

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-title p {
  font-size: 1.2rem;
  color: #718096;
  max-width: 700px;
  margin: 0 auto;
}

/* Servicios */
.services {
  background-color: white;
}

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

.service-card {
  background-color: #f7fafc;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.service-img {
  height: 200px;
  background-color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-content {
  padding: 20px;
}

.service-content h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.service-content p {
  margin-bottom: 15px;
}

/* Por qué elegirnos */
.why-us {
  background-color: #f7fafc;
}

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

.feature-card {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 15px;
}

/* CTA Section */
.cta {
  background-color: var(--secondary);
  color: white;
  text-align: center;
  padding: 60px 0;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: white;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

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

.footer-col a:hover {
  color: white;
}

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

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: background-color 0.3s;
}

.social-links a:hover {
  background-color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #cbd5e0;
}

/* Quiénes Somos */
.about-section {
  background-color: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-img {
  height: 400px;
  background-color: #e2e8f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-content h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 15px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.team-member {
  text-align: center;
}

.team-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: #e2e8f0;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-member h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 5px;
}

.team-member p {
  color: #718096;
  margin-bottom: 15px;
}

/* Testimonios */
.testimonials {
  background-color: #f7fafc;
}

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

.testimonial-card {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
  position: relative;
  padding: 20px 0;
}

.testimonial-content::before {
  content: '"';
  font-size: 4rem;
  color: #e2e8f0;
  position: absolute;
  top: -20px;
  left: -10px;
  font-family: Georgia, serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #e2e8f0;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-info h4 {
  font-size: 1.1rem;
  color: var(--primary);
}

.author-info p {
  font-size: 0.9rem;
  color: #718096;
}

/* Contacto */
.contact {
  background-color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.contact-text h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 5px;
}

.contact-form {
  background-color: #f7fafc;
  padding: 30px;
  border-radius: 8px;
}

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

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  font-family: inherit;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Blog */
.blog {
  background-color: #f7fafc;
}

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

.blog-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.blog-img {
  height: 200px;
  background-color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-content {
  padding: 20px;
}

.blog-meta {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: #718096;
  margin-bottom: 10px;
}

.blog-meta span {
  margin-right: 15px;
  display: flex;
  align-items: center;
}

.blog-meta i {
  margin-right: 5px;
}

.blog-content h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.blog-content p {
  margin-bottom: 15px;
}

/* Galería */
.gallery {
  background-color: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  height: 250px;
  background-color: #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Requisitos */
.requirements {
  background-color: #f7fafc;
}

.requirements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.requirement-card {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.requirement-card h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.requirement-card h3 i {
  margin-right: 10px;
  color: var(--secondary);
}

.requirement-card ul {
  list-style: none;
  margin-top: 15px;
}

.requirement-card ul li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.requirement-card ul li::before {
  content: '✓';
  color: var(--secondary);
  position: absolute;
  left: 0;
}

/* Preparación Laboral */
.preparation {
  background-color: white;
}

.preparation-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.step-card {
  display: flex;
  gap: 20px;
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 10px;
}

/* Oportunidades */
.opportunities {
  background-color: #f7fafc;
}

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

.opportunity-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.opportunity-img {
  height: 200px;
  background-color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.opportunity-content {
  padding: 20px;
}

.opportunity-content h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.opportunity-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e2e8f0;
  font-size: 0.9rem;
}

.opportunity-meta span {
  display: flex;
  align-items: center;
}

.opportunity-meta i {
  margin-right: 5px;
  color: var(--primary);
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.chat-button {
  width: 60px;
  height: 60px;
  background-color: var(--secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background-color 0.3s;
}

.chat-button:hover {
  background-color: #b02a2a;
}

/* Responsive */
@media (max-width: 992px) {
  .about-grid,
  .contact-grid,
  .requirements-grid {
    grid-template-columns: 1fr;
  }
  
  .hero h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-menu li {
    margin: 10px 0;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .step-card {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 10px 20px;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
}
