.hero-section {
  position: relative;
  width: 100%;
  min-height: 60vh;
  background: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1300&q=80') center center no-repeat;
  background-size: cover;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
  overflow: hidden;
}

.hero-section.hidden {
  display: none !important;
  margin: 0;
  padding: 0;
  min-height: 0;
  height: 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,42,92,0.85), rgba(220,76,65,0.8));
  z-index: 0;
}

.hero-section > * {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.logo-center {
  margin-bottom: 30px;
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.logo-center > div:first-child {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.logo-center .rightworks {
  font-weight: 700;
  font-size: 3rem;
  color: #ff9da1;
  animation: glowText 3s ease-in-out infinite alternate;
  letter-spacing: 0.1em;
}

.logo-center .consulting {
  font-weight: 700;
  font-size: 3rem;
  color: #dc4c41;
  letter-spacing: 0.15em;
  display: inline-block;
}

.logo-center .subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.3em;
  font-weight: 600;
  margin-top: 6px;
}

.hero-section h1 {
  font-weight: 700;
  font-size: 2.8rem;
  margin-bottom: 20px;
  margin-top: 0;
}

.hero-section p {
  font-weight: 300;
  font-size: 1.2rem;
  margin-bottom: 0;
}

.btn-descubre {
  font-weight: 700;
  font-size: 1.2rem;
  padding: 14px 36px;
  background-color: white;
  color: #142a5c;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  user-select: none;
  box-shadow: 0 4px 10px rgb(0 0 0 / 0.1);
  transition: background-color 0.3s ease, color 0.3s ease;
  display: inline-block;
}

.btn-descubre:hover {
  background-color: #f0f0f0;
  color: #dc4c41;
  box-shadow: 0 0 10px #dc4c41;
}

/* Clases de visibilidad para controlar secciones */
.visible {
  display: block !important;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease-in-out;
}

.hidden {
  display: none !important;
  opacity: 0;
  visibility: hidden;
}

/* Estilos para las secciones de página */
.page-section {
  min-height: 400px;
  padding: 40px 20px;
}

.page-section:empty {
  display: none !important;
  min-height: 0;
  padding: 0;
  margin: 0;
  height: 0;
}

/* Asegurar que las secciones ocultas no ocupen espacio */
.page-section.hidden {
  display: none !important;
  min-height: 0;
  height: 0;
  padding: 0;
  margin: 0;
}

.page-section h2 {
  color: #142a5c;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-section p {
  color: #333;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.section-image {
  max-width: 100%;
  height: auto;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Estilos para tarjetas de Misión y Visión */
.detalle-vision-mision {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.mv-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  max-width: 400px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.mv-icon-container {
  text-align: center;
  margin-bottom: 20px;
}

.mv-icon {
  font-size: 3rem;
  color: #dc4c41;
}

.mv-subtitle {
  color: #142a5c;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-align: center;
}

.mv-text {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 20px;
}

.mv-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 15px;
}

/* Estilos para enlaces de servicios */
.service-link {
  display: inline-block;
  color: #142a5c;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 20px;
  margin: 10px 0;
  border: 2px solid #142a5c;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.service-link:hover {
  background-color: #142a5c;
  color: white;
  transform: scale(1.05);
}

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

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

/* Estilos del Header */
.header-main {
  background: linear-gradient(90deg, #142a5c, #dc4c41);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Navegación superior */
.top-nav {
  flex: 1;
}

.menu-main {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.menu-item {
  position: relative;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 15px;
  display: block;
  transition: all 0.3s ease;
  border-radius: 5px;
}

.nav-link:hover {
  background-color: transparent;
  color: white;
  border-bottom: 2px solid white;
  transform: translateY(-2px);
}

.nav-link.active {
  background-color: transparent;
  color: white;
  border-bottom: 3px solid white;
  pointer-events: none;
}

/* Submenú */
.has-submenu {
  position: relative;
}

.submenu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  padding: 10px 0;
  z-index: 100;
}

.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu-item {
  color: #142a5c;
  text-decoration: none;
  padding: 10px 20px;
  display: block;
  transition: all 0.3s ease;
  font-weight: 500;
}

.submenu-item:hover {
  background-color: transparent;
  color: #dc4c41;
  transform: translateX(5px);
  font-weight: 600;
}

.submenu-item.active {
  background-color: #e8f4f8;
  color: #dc4c41;
  font-weight: 600;
}

/* Botón Solicitar Consulta */
.btn-consulta {
  background-color: white;
  color: #142a5c;
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-consulta:hover {
  background-color: white;
  color: #dc4c41;
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(220, 76, 65, 0.6), 0 0 40px rgba(220, 76, 65, 0.3);
}

/* Footer */
.footer {
  background: linear-gradient(90deg, #142a5c, #1a3a6e);
  color: white;
  margin-top: 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-title {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #ff9da1;
}

.consulting-text {
  color: #dc4c41;
}

.footer-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.footer-list {
  list-style: none;
  padding: 0;
}

.footer-list li {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.social-media {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.social-icon {
  color: white;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: #dc4c41;
  transform: scale(1.2);
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  margin-top: 30px;
}

.footer-bottom small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

/* Animaciones */
@keyframes glowText {
  from {
    text-shadow: 0 0 10px #ff9da1, 0 0 20px #ff9da1, 0 0 30px #ff9da1;
  }
  to {
    text-shadow: 0 0 20px #ff9da1, 0 0 30px #ff9da1, 0 0 40px #ff9da1;
  }
}

/* Estilos para página Acerca de Nosotros */
.about-hero {
  background: linear-gradient(135deg, #142a5c 0%, #dc4c41 100%);
  color: white;
  padding: 80px 0;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  display: flex;
  overflow: hidden;
}

.floating-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-shrink: 0;
  animation: filmStripContinuous 35s linear infinite;
  opacity: 0.25;
}

.floating-image::before,
.floating-image::after {
  content: '';
  flex: 0 0 100vw;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.floating-image:nth-child(1)::before {
  background-image: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&w=1400&q=80');
}

.floating-image:nth-child(1)::after {
  background-image: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1400&q=80');
}

.floating-image:nth-child(2) {
  animation-delay: -17.5s;
}

.floating-image:nth-child(2)::before {
  background-image: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=1400&q=80');
}

.floating-image:nth-child(2)::after {
  background-image: url('https://images.unsplash.com/photo-1581091870620-9b9eeb541a01?auto=format&fit=crop&w=1400&q=80');
}

@keyframes filmStripContinuous {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-200vw);
  }
}

.about-hero .container {
  position: relative;
  z-index: 1;
}

.about-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.8);
}

/* Hero sections para servicios */
.service-hero {
  background: linear-gradient(135deg, #142a5c 0%, #dc4c41 100%);
  color: white;
  padding: 80px 0;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

.service-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  display: flex;
  overflow: hidden;
}

.service-hero .container {
  position: relative;
  z-index: 1;
}

.service-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.8);
}

.section-title {
  color: #142a5c;
  font-weight: 700;
  font-size: 2.2rem;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: #dc4c41;
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Tarjetas mejoradas de Misión y Visión */
.mv-card-enhanced {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  height: 100%;
  border: 2px solid transparent;
}

.mv-card-enhanced:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(220, 76, 65, 0.2);
  border-color: #dc4c41;
}

.mv-card-enhanced .mv-icon {
  font-size: 4rem;
  color: #dc4c41;
  margin-bottom: 20px;
}

.mv-card-enhanced .mv-subtitle {
  color: #142a5c;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.mv-card-enhanced .mv-text {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 25px;
  text-align: left;
}

.mv-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.mv-list li {
  padding: 10px 0;
  color: #666;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mv-list i {
  color: #28a745;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Tarjetas de Objetivos */
.objective-card {
  background: white;
  padding: 35px 25px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.objective-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #142a5c, #dc4c41);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.objective-card:hover::before {
  transform: scaleX(1);
}

.objective-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.objective-number {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(220, 76, 65, 0.1);
}

.objective-icon {
  font-size: 3rem;
  color: #dc4c41;
  margin-bottom: 20px;
  display: block;
}

.objective-card h4 {
  color: #142a5c;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.objective-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.text-justify {
  text-align: justify;
  line-height: 1.8;
  font-size: 1.05rem;
  color: #555;
}

/* Tarjetas de Servicios */
.service-card {
  background: white;
  padding: 35px 25px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  text-align: center;
  height: 100%;
  border-top: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-top-color: #dc4c41;
}

.service-card-icon {
  font-size: 3.5rem;
  color: #142a5c;
  margin-bottom: 20px;
  display: block;
  transition: all 0.4s ease;
}

.service-card:hover .service-card-icon {
  color: #dc4c41;
  transform: scale(1.1);
}

.service-card h4 {
  color: #142a5c;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.service-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Pasos del Proceso */
.process-step {
  background: white;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  transition: all 0.4s ease;
  height: 100%;
}

.process-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.process-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #142a5c, #dc4c41);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.process-icon {
  font-size: 2.5rem;
  color: #dc4c41;
  margin: 20px 0 15px 0;
  display: block;
}

.process-step h5 {
  color: #142a5c;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.process-step p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* Tarjetas de Normativas */
.norm-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
  border-left: 4px solid #142a5c;
}

.norm-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-left-color: #dc4c41;
}

.norm-icon {
  font-size: 2.5rem;
  color: #142a5c;
  margin-bottom: 15px;
  display: block;
}

.norm-card h5 {
  color: #142a5c;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.norm-card p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

/* Tarjetas de Cursos */
.course-card {
  background: white;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  text-align: center;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #142a5c, #dc4c41);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.course-card:hover::before {
  transform: scaleX(1);
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.course-icon {
  font-size: 3rem;
  color: #dc4c41;
  margin-bottom: 15px;
  display: block;
  transition: all 0.4s ease;
}

.course-card:hover .course-icon {
  transform: scale(1.1);
  color: #142a5c;
}

.course-card h4 {
  color: #142a5c;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.course-duration {
  color: #dc4c41;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.course-duration i {
  margin-right: 5px;
}

.course-card p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Tarjetas de Metodología */
.method-card {
  background: linear-gradient(135deg, #142a5c, #1a3a6e);
  color: white;
  padding: 35px 25px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.4s ease;
  height: 100%;
}

.method-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(220, 76, 65, 0.3);
}

.method-icon {
  font-size: 3rem;
  color: #dc4c41;
  margin-bottom: 20px;
  display: block;
  transition: all 0.4s ease;
}

.method-card:hover .method-icon {
  transform: scale(1.2) rotate(5deg);
  color: #ff9da1;
}

.method-card h5 {
  color: white;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.method-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Tarjetas de Valores */
.value-card {
  background: white;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.value-icon {
  font-size: 3.5rem;
  color: #dc4c41;
  margin-bottom: 20px;
}

.value-card h4 {
  color: #142a5c;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.value-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Tarjetas de Experiencia */
.experience-card {
  background: white;
  padding: 35px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.experience-card h3 {
  color: #142a5c;
  font-weight: 700;
  font-size: 1.5rem;
}

.experience-list {
  list-style: none;
  padding: 0;
}

.experience-list li {
  padding: 12px 0;
  font-size: 1.05rem;
  color: #555;
  border-bottom: 1px solid #f0f0f0;
}

.experience-list li:last-child {
  border-bottom: none;
}

.experience-list i {
  margin-right: 10px;
  font-size: 1.2rem;
}

/* Badges de Sectores */
.sector-badge {
  background: linear-gradient(135deg, #142a5c, #1a3a6e);
  color: white;
  padding: 0;
  border-radius: 15px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.sector-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 0;
}

.sector-badge:nth-child(1)::before {
  background-image: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=400&q=80');
}

.sector-badge:nth-child(2)::before {
  background-image: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&w=400&q=80');
}

.sector-badge:nth-child(3)::before {
  background-image: url('https://images.unsplash.com/photo-1611273426858-450d8e3c9fce?auto=format&fit=crop&w=400&q=80');
}

.sector-badge:nth-child(4)::before {
  background-image: url('https://images.unsplash.com/photo-1518709268805-4e9042af9f23?auto=format&fit=crop&w=400&q=80');
}

.sector-badge:nth-child(5)::before {
  background-image: url('https://images.unsplash.com/photo-1441986300917-64674bd600d8?auto=format&fit=crop&w=400&q=80');
}

.sector-badge:nth-child(6)::before {
  background-image: url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&w=400&q=80');
}

.sector-badge:hover::before {
  opacity: 0.3;
}

.sector-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(220, 76, 65, 0.5);
}

.sector-badge-content {
  position: relative;
  z-index: 1;
  padding: 15px;
  transition: all 0.5s ease;
}

.sector-badge i {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 10px;
  transition: all 0.5s ease;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

.sector-badge:hover i {
  transform: scale(1.3) translateY(-10px);
  color: #ffd700;
}

.sector-badge .sector-name {
  transition: all 0.5s ease;
  font-size: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.sector-badge:hover .sector-name {
  transform: translateY(-5px);
  font-size: 1.1rem;
}

.sector-badge .sector-info {
  position: absolute;
  bottom: -100%;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.85));
  padding: 15px 10px;
  font-size: 0.8rem;
  line-height: 1.5;
  transition: all 0.5s ease;
  opacity: 0;
  z-index: 2;
  backdrop-filter: blur(5px);
}

.sector-badge:hover .sector-info {
  bottom: 0;
  opacity: 1;
}

/* Sección Por Qué Elegirnos */
.why-choose-us {
  background: linear-gradient(135deg, #142a5c 0%, #1a3a6e 100%);
  position: relative;
  overflow: hidden;
}

.why-choose-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
  opacity: 0.1;
}

.why-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 35px 25px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.why-number {
  font-size: 3rem;
  font-weight: 700;
  color: #dc4c41;
  opacity: 0.3;
  position: absolute;
  top: 20px;
  right: 20px;
}

.why-card h4 {
  color: white;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.why-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
}

/* Sección CTA */
.cta-section {
  background: linear-gradient(135deg, #dc4c41 0%, #ff6b6b 100%);
  color: white;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-section .lead {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  font-weight: 500;
}

.cta-section .btn-light {
  background: white;
  color: #dc4c41;
  font-weight: 700;
  border: none;
  transition: all 0.3s ease;
}

.cta-section .btn-light:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Enlaces del footer */
.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: pointer;
}

.footer-link:hover {
  color: #dc4c41;
}

.footer-policy-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: pointer;
}

.footer-policy-link:hover {
  color: #dc4c41;
  text-decoration: underline;
}

/* Banner de Cookies */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #142a5c 0%, #1a3a6e 100%);
  color: white;
  padding: 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-text {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  min-width: 300px;
}

.cookie-text i {
  font-size: 2.5rem;
  color: #dc4c41;
  flex-shrink: 0;
}

.cookie-text p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.cookie-link {
  color: #ff9da1;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.cookie-link:hover {
  color: #dc4c41;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-accept {
  background: #dc4c41;
  color: white;
}

.cookie-accept:hover {
  background: #ff6b6b;
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(220, 76, 65, 0.4);
}

.cookie-reject {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cookie-reject:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-text {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }

  .cookie-btn {
    flex: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .header-main {
    flex-direction: column;
    gap: 15px;
  }

  .menu-main {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .menu-item {
    width: 100%;
  }

  .nav-link {
    text-align: center;
  }

  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 5px;
  }

  .submenu-item {
    color: white;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .logo-center .rightworks,
  .logo-center .consulting {
    font-size: 2rem;
  }
}
