:root {
  --primary-color: #1e3a8a;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --light-color: #edf2f7;
  --dark-color: #1e293b;
  --gray-color: #94a3b8;
  --text-color: #333;
  --transition: all 0.3s ease;
  --shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --spacing: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--dark-color);
}

a {
  text-decoration: none;
  color: var(--secondary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--accent-color);
}

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

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--secondary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

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

.btn.secondary {
  background-color: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
}

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

.section {
  padding: 100px 0;
}

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

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

.separator {
  height: 4px;
  width: 100px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  margin: 0 auto;
  border-radius: 2px;
}

.bg-light {
  background-color: #f9f9f9;
}

.lead {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #f5f8fa;
  box-shadow: var(--shadow);
  padding: 0;
  transition: var(--transition);
}

header.scrolled {
  padding: 0;
  background-color: rgba(255, 255, 255, 0.98);
}

header .container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-social {
  display: flex;
  align-items: center;
}

.logo {
  max-width: 200px;
  height: 50px;
  display: flex;
  align-items: center;
}

.logo img {
  max-width: 100%;
  height: auto;
}

nav .menu {
  display: flex;
  list-style: none;
  white-space: nowrap;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

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

nav .menu li a {
  color: var(--dark-color);
  font-weight: 500;
  padding: 8px 12px;
  position: relative;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 0.95rem;
}

nav .menu li a:hover {
  color: var(--secondary-color);
  background-color: rgba(52, 152, 219, 0.1);
  transform: translateY(-2px);
}

nav .menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

nav .menu li a:hover::after {
  width: 50%;
}

.cta-button {
  background-color: var(--secondary-color);
  color: white !important;
  padding: 10px 20px !important;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  background-color: var(--primary-color);
  color: white !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.cta-button::after {
  display: none;
}

#menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
  position: relative;
}

#menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--dark-color);
  margin: 6px 0;
  transition: var(--transition);
}

/* Hero Slider */
.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin-top: 70px;
}

.slides {
  height: 100%;
  width: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.slide:nth-child(1) {
  background: linear-gradient(rgba(52, 152, 219, 0.7), rgba(44, 62, 80, 0.7)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
  background-size: cover;
  background-position: center;
}

.slide:nth-child(2) {
  background: linear-gradient(rgba(41, 128, 185, 0.7), rgba(44, 62, 80, 0.7)), url('https://images.unsplash.com/photo-1526406915894-7bcd65f60845?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
  background-size: cover;
  background-position: center;
}

.slide:nth-child(3) {
  background: linear-gradient(rgba(52, 152, 219, 0.7), rgba(44, 62, 80, 0.7)), url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
  background-size: cover;
  background-position: center;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-content {
  text-align: center;
  color: white;
  max-width: 800px;
  z-index: 2;
  padding: 0 20px;
}

.slide-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: white;
}

.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.slide .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}

.slider-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
}

.slider-nav button {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 10px;
  transition: var(--transition);
}

.slider-nav button:hover {
  color: var(--secondary-color);
}

.dots {
  display: flex;
  margin: 0 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  margin: 0 5px;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: white;
}

/* Two Column Layout */
.two-columns {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px 30px;
}

.column {
  flex: 1;
  padding: 0 15px;
  min-width: 300px;
  margin-bottom: 30px;
}

.info-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 30px;
  height: 100%;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.info-card .icon {
  margin-bottom: 20px;
  color: var(--secondary-color);
  font-size: 2.5rem;
}

.info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.service-card {
  background: linear-gradient(145deg, #ffffff, #f0f4f8);
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-bottom: 3px solid var(--secondary-color);
}

.service-card .icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.service-card:hover .icon {
  transform: scale(1.2);
  color: var(--accent-color);
}

.service-card h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

/* Content Block */
.content-block {
  margin-bottom: 60px;
}

.content-block h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

/* Contact Info */
.contact-info {
  background-color: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-top: 30px;
}

.contact-info p {
  margin-bottom: 10px;
}

.contact-info p i {
  color: var(--secondary-color);
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

/* Tools Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.tool-item {
  background: linear-gradient(145deg, #ffffff, #f0f4f8);
  padding: 20px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.tool-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-left: 3px solid var(--accent-color);
}

.tool-item .icon {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.tool-item:hover .icon {
  color: var(--accent-color);
  transform: rotate(10deg);
}

.tool-item h4 {
  font-size: 1rem;
  margin-bottom: 10px;
}

/* Info Box */
.info-box {
  background-color: var(--light-color);
  padding: 30px;
  border-radius: var(--border-radius);
  margin-top: 40px;
}

/* MUDA Grid */
.muda-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.muda-card {
  background: linear-gradient(145deg, #ffffff, #f0f4f8);
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 3px solid transparent;
}

.muda-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-top: 3px solid var(--secondary-color);
}

.muda-card .icon {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.muda-card:hover .icon {
  color: var(--accent-color);
  transform: scale(1.1);
}

.muda-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.benefit-card {
  background: linear-gradient(145deg, #ffffff, #f0f4f8);
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  border-right: 3px solid transparent;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-right: 3px solid var(--accent-color);
}

.benefit-card .icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.benefit-card:hover .icon {
  color: var(--accent-color);
  transform: translateY(-5px);
}

.benefit-card h3 {
  font-size: 1.2rem;
}

/* CTA Block */
.cta-block {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 60px;
  border-radius: var(--border-radius);
  text-align: center;
  margin-top: 50px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-block h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 20px;
}

.cta-block p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* Team Section */
.team-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

#equipo {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.85) 100%), 
              url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

#equipo .container {
  position: relative;
  z-index: 1;
}

#equipo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233498db' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2H6zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
  z-index: 0;
}

#equipo .section-header h2 {
  color: var(--primary-color);
  font-size: 2.8rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

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

.team-member {
  background: linear-gradient(145deg, #ffffff, #f0f4f8);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 3px solid var(--secondary-color);
}

.member-image {
  background-color: var(--light-color);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.profile-icon {
  font-size: 6rem;
  color: var(--gray-color);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.team-member:hover .profile-img {
  transform: scale(1.05);
}

.team-member h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
  padding: 20px 20px 0;
}

.team-member .position {
  color: var(--secondary-color);
  font-weight: 500;
  margin-bottom: 15px;
  padding: 0 20px;
}

.team-member p {
  padding: 0 20px 20px;
  font-size: 0.9rem;
}

/* Capacitaciones Section */
.capacitaciones-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.capacitacion-card {
  background: linear-gradient(145deg, #ffffff, #f0f4f8);
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.capacitacion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-left: 3px solid var(--accent-color);
}

.capacitacion-card .icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.capacitacion-card:hover .icon {
  color: var(--accent-color);
  transform: rotate(15deg);
}

.capacitacion-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.capacitacion-card p {
  margin-bottom: 20px;
}

/* Contact Section */
.contact-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background: linear-gradient(145deg, #ffffff, #f9f9f9);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--secondary-color);
  transition: var(--transition);
}

.contact-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-info {
  flex: 1;
  min-width: 300px;
  background: linear-gradient(145deg, #ffffff, #f9f9f9);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border-right: 4px solid var(--accent-color);
  transition: var(--transition);
  padding: 30px;
  margin-top: 0;
}

.contact-info:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--primary-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  background-color: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
  background-color: white;
}

.info-item {
  display: flex;
  margin-bottom: 25px;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-right: 20px;
  background-color: rgba(52, 152, 219, 0.1);
  padding: 12px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.info-item:hover i {
  background-color: var(--secondary-color);
  color: white;
  transform: scale(1.1);
}

.info-item h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.social-media {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-media a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--light-color);
  color: var(--secondary-color);
  border-radius: 50%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.social-media a i {
  position: relative;
  z-index: 2;
}

.social-media a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scale(0);
  transition: transform 0.3s ease;
  border-radius: 50%;
  z-index: 1;
}

.social-media a:hover::before {
  transform: scale(1);
}

.social-media a.facebook:hover::before {
  background-color: #3b5998;
}

.social-media a.instagram:hover::before {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-media a:hover {
  background-color: transparent;
  color: white;
  transform: translateY(-3px);
}

.map-container {
  margin-top: 40px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 400px;
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.map-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(30, 58, 138, 0.9) 100%);
  padding: 20px;
  color: white;
  font-weight: 500;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 70px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  flex: 2;
  min-width: 300px;
}

.footer-logo h2 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.footer-links {
  flex: 1;
  min-width: 200px;
}

.footer-links h4,
.footer-contact h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

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

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

.footer-links a {
  color: #ecf0f1;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-contact {
  flex: 1;
  min-width: 200px;
}

.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.footer-contact i {
  margin-right: 10px;
  color: var(--secondary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 100;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  cursor: pointer;
  transition: all 0.3s ease;
}

.whatsapp-btn i {
  font-size: 2rem;
}

.whatsapp-btn:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn .tooltip {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.whatsapp-btn:hover .tooltip {
  opacity: 1;
  visibility: visible;
}

/* Home Section Styling */
#home {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.85) 100%), 
              url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  position: relative;
  overflow: hidden;
}

#home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233498db' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

#home .container {
  position: relative;
  z-index: 1;
}

#home .section-header h2 {
  color: var(--primary-color);
  font-size: 2.8rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

#home .info-card {
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  overflow: hidden;
}

#home .info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(52, 152, 219, 0.2);
}

#home .info-card:first-child {
  border-left: 4px solid var(--secondary-color);
}

#home .info-card:nth-child(2) {
  border-right: 4px solid var(--accent-color);
}

#home .info-card .icon {
  font-size: 3rem;
  margin-bottom: 25px;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 3rem;
  display: inline-block;
}

/* Quienes Somos Section Styling */
#quienes-somos {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.85) 100%), 
              url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  position: relative;
  overflow: hidden;
}

#quienes-somos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233498db' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

#quienes-somos .container {
  position: relative;
  z-index: 1;
}

#quienes-somos .section-header h2 {
  color: var(--primary-color);
  font-size: 2.8rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

#quienes-somos .lead {
  font-size: 1.2rem;
  color: var(--dark-color);
  background-color: rgba(255, 255, 255, 0.7);
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--secondary-color);
  margin-bottom: 40px;
}

#quienes-somos .services-grid {
  margin-top: 50px;
}

#quienes-somos .service-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--border-radius);
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#quienes-somos .service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(52, 152, 219, 0.2);
  border-bottom: 3px solid var(--accent-color);
}

#quienes-somos .service-card .icon {
  font-size: 3rem;
  margin-bottom: 25px;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

#quienes-somos .contact-info {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--border-radius);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--accent-color);
  position: relative;
  z-index: 2;
  margin-top: 50px;
}

/* Tratamiento de Información Section Styling */
.info-block {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.85) 100%), 
              url('https://images.unsplash.com/photo-1507925921958-8a62f3d1a50d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
  background-size: cover;
  background-position: center;
  border-radius: var(--border-radius);
  padding: 40px;
  margin-top: 50px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  border-left: 5px solid var(--secondary-color);
}

.info-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233498db' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.7;
  z-index: 0;
}

.info-block h3 {
  color: var(--primary-color);
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
  font-size: 2rem;
  border-bottom: 3px solid var(--secondary-color);
  padding-bottom: 12px;
  display: inline-block;
}

.info-block h3::before {
  content: '\f05a';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right: 10px;
  color: var(--secondary-color);
}

.info-paragraph {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  line-height: 1.7;
  padding: 15px 15px 15px 50px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: var(--border-radius);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  border-right: 3px solid var(--secondary-color);
  position: relative;
  transition: all 0.3s ease;
}

.info-paragraph:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-paragraph::before {
  content: '\f023';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 15px;
  top: 15px;
  color: var(--secondary-color);
  font-size: 1.2rem;
}

.info-paragraph:nth-child(3)::before {
  content: '\f05e';
}

.info-paragraph:nth-child(4)::before {
  content: '\f084';
}

.info-block .contact-info {
  margin-top: 30px;
  background: linear-gradient(145deg, #ffffff, #f0f4f8);
  border-left: 4px solid var(--accent-color);
  padding: 25px;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.info-block .contact-info:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Video Section */
#video-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.85) 100%), 
              url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

#video-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233498db' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
  z-index: 0;
}

#video-section .container {
  position: relative;
  z-index: 1;
}

.video-container {
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin: 30px 0;
  border-left: 4px solid var(--secondary-color);
  transition: var(--transition);
}

.video-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-description {
  padding: 20px;
  margin: 20px 0;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-right: 4px solid var(--accent-color);
}

.video-related-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.related-video-card {
  background: linear-gradient(145deg, #ffffff, #f0f4f8);
  padding: 20px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  border-bottom: 3px solid transparent;
}

.related-video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-bottom: 3px solid var(--secondary-color);
}

.related-video-card .icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.related-video-card:hover .icon {
  color: var(--accent-color);
  transform: scale(1.1);
}

/* Map Container */
.map-container {
  margin-top: 40px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 400px;
  position: relative;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .section {
    padding: 80px 0;
  }
  
  .section-header h2 {
    font-size: 2.2rem;
  }
  
  .slide-content h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .header-top {
    padding: 5px 0;
  }
  
  .header-phone {
    display: none;
  }
  
  .header-social {
    margin-right: 0;
  }
  
  #menu-toggle {
    display: block;
  }
  
  nav .menu {
    position: fixed;
    top: 120px;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 999;
  }
  
  nav .menu.active {
    transform: translateY(0);
  }

  #menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  #menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  #menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .hero-slider {
    height: 90vh;
  }
  
  .slide-content h2 {
    font-size: 2rem;
  }
  
  .slide-content p {
    font-size: 1rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .contact-flex, 
  .footer-content {
    flex-direction: column;
  }
  
  .cta-block {
    padding: 40px 20px;
  }
  
  .cta-block h3 {
    font-size: 1.7rem;
  }
}

@media (max-width: 576px) {
  .hero-slider {
    margin-top: 65px;
    height: 80vh;
  }
  
  .slide-content h2 {
    font-size: 1.8rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .two-columns {
    flex-direction: column;
  }
  
  .column {
    min-width: 100%;
  }
  
  .benefits-grid,
  .tools-grid,
  .muda-grid {
    grid-template-columns: 1fr;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

@media (min-width: 1200px) {
  nav .menu {
    gap: 0;
  }
  
  nav .menu li a {
    font-size: 1rem;
    padding: 10px 15px;
  }
}

@media (max-width: 992px) {
  nav .menu li {
    margin-left: 10px;
  }
  
  nav .menu li a {
    padding: 8px 10px;
    font-size: 0.9rem;
  }
}