/* ===== VARIABLES Y ESTILOS BASE ===== */
:root {
  --primary-color: #005f73;
  --primary-dark: #00455a;
  --accent-color: #94d2bd;
  --secondary-color: #001219;
  --text-color: #001219;
  --light-text: #666666;
  --lighter-text: #bdc3c7;
  --bg-light: #f8f9fa;
  --bg-lighter: #e9ecef;
  --white: #ffffff;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

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

.section {
  padding: 80px 0;
  position: relative;
}

.section-title {
  font-size: 2.3rem;
  text-align: center;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.section-subtitle {
  font-size: 1.1rem;
  text-align: center;
  color: var(--light-text);
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.text-primary {
  color: var(--primary-color);
}

/* ===== HEADER ===== */
.navbar {
position: fixed;
top: 0;
left: 0;
width: 100%;
padding: 1rem 5%;
display: flex;
justify-content: space-between;
align-items: center;
transition: all 0.5s ease;
z-index: 1000;
background-color: rgba(80, 58, 58, 0);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(160, 156, 156, 0.1);
border-radius: 0 0 70px 70px;
animation: slideFromTop 1s ease-out;
}

.navbar.scrolled {
background-color: rgba(255, 255, 255, 0.8);
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
padding: 0.8rem 5%;
}

.logo-container {
display: flex;
align-items: center;
text-decoration: none;
}

.logo-img {
width: 150px;
height: auto;
transition: all 0.3s ease;
}

.logo-img:hover {
transform: scale(1.05);
}

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

.nav-links li {
margin-left: 1.5rem;
}

.nav-links a {
color: rgb(51, 50, 50);
text-decoration: none;
font-weight: 500;
font-size: 1rem;
transition: all 0.3s ease;
position: relative;
padding: 0.5rem 0;
text-shadow: 1px 1px 3px rgba(250, 247, 247, 0.5);
}

.nav-links a::after {
content: "";
position: absolute;
width: 0;
height: 2px;
background: rgb(14, 12, 12);
bottom: 0;
left: 0;
transition: width 0.3s ease;
}

.nav-links a:hover::after {
width: 100%;
}

/* Menú hamburguesa */
.hamburger-menu {
display: none;
flex-direction: column;
justify-content: space-between;
width: 30px;
height: 21px;
cursor: pointer;
z-index: 1000;
}

.hamburger-menu .bar {
height: 3px;
width: 100%;
background-color: #333;
border-radius: 10px;
transition: all 0.3s ease;
}

.btn-info {
display: inline-block;
background: #03505f;
color: #b7d6df;
padding: 12px 30px;
border-radius: 50px;
text-decoration: none;
font-weight: bold;
margin: 10px;
position: relative;
overflow: hidden;
transition: all 0.4s;
box-shadow: 0 4px 15px rgba(5, 90, 107, 0.3);
border: none;
cursor: pointer;
font-family: var(--main-font);
}

.btn-info:hover {
transform: translateY(-3px) scale(1.05);
box-shadow: 0 6px 20px rgba(7, 83, 99, 0.4);
}

.btn-info::before {
content: "";
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(150deg, transparent, #9de3ad, transparent);
transition: 0.5s;
}

.btn-info:hover::before {
left: 100%;
}

/* ===== BARRA SOCIAL ===== */
.social-bar-container {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%) translateX(-30px);
    z-index: 2000;
    opacity: 0;
    animation: fadeSlideInLeft 1s ease-out forwards;
    animation-delay: 0.4s;
}

@keyframes fadeSlideInLeft {
    from {
        transform: translateY(-50%) translateX(-40px);
        opacity: 0;
        filter: blur(5px);
    }

    to {
        transform: translateY(-50%) translateX(0);
        opacity: 1;
        filter: blur(0);
    }
}



.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    position: relative;
    transition: all 0.4s ease;
    text-decoration: none;
}

.social-link i {
    font-size: 20px;
    color: #fff;
    transition: transform 0.3s ease;
}

.social-text {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);

    padding: 5px 10px;
    border-radius: 0 4px 4px 0;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    margin-left: 55px;
}

.social-link:hover {
    width: 60px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.social-link:hover i {
    transform: scale(1.2);
}

.social-link:hover .social-text {
    opacity: 1;
    margin-left: 10px;
}

/* Colores específicos para cada red social */
.social-facebook {
    background-color: #1877f2;
}

.social-tiktok {
    background-color: #000000;
}

.social-twitter {
    background-color: #1da1f2;
}

.social-youtube {
    background-color: #ff0000;
}

.social-web {
    background-color: #21b9a0;
}


/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ed 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url(img/fondo2.jpg) center no-repeat;
  background-size: cover;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 3.2rem;
  line-height: 1.3;
  margin-bottom: 25px;
}

.hero-content h1 span.text-primary {
  color: var(--primary-color);
}

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




.hero-cta {
  margin: 40px 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}

.stat-text {
  font-size: 1rem;
  color: var(--light-text);
  margin-top: 8px;
}

.hero-image {
  flex: 1;
  max-width: 600px;
}

.hero-image img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  animation: float 6s ease-in-out infinite;
}

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

/* ===== CARACTERÍSTICAS ===== */
.section.gradient-bg {
  background-color: var(--bg-light);
}

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

.solution-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid #e9ecef;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.solution-header {
  padding: 20px;
  background-color: #f1f8ff;
  border-bottom: 1px solid #dee2e6;
  display: flex;
  align-items: center;
}

.solution-icon {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--white);
  font-size: 1.1rem;
}

.solution-card h3 {
  font-size: 1.3rem;
  margin: 0;
  color: var(--secondary-color);
  font-weight: 600;
}

.solution-card ul {
  padding: 20px;
  margin: 0;
  list-style: none;
}

.solution-card li {
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
  line-height: 1.5;
  color: var(--text-color);
  font-size: 0.95rem;
  text-align: left;
}

.solution-card li:before {
  content: "•";
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: 10px;
}

.solution-link {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  margin: 0 20px 20px;
  background-color: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 4px;
  transition: var(--transition);
}

.solution-link i {
  margin-left: 8px;
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

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

.solution-link:hover i {
  transform: translateX(3px);
}

/* Colores específicos para tarjetas de solución */
.solution-card:nth-child(1) .solution-icon { background-color: var(--primary-color); }
.solution-card:nth-child(2) .solution-icon { background-color: var(--accent-color); }
.solution-card:nth-child(3) .solution-icon { background-color: #e74c3c; }
.solution-card:nth-child(4) .solution-icon { background-color: #9b59b6; }

/* ===== PESTAÑAS DE BENEFICIOS ===== */
.tabs-container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-top: 40px;
}

.tabs-header {
  display: flex;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.tab-button {
  flex: 1;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.tab-button:hover {
  background: #e9ecef;
}

.tab-button.active {
  border-bottom: 3px solid #4e6ef2;
  background: white;
  color: #4e6ef2;
}

.tab-button i {
  font-size: 24px;
  margin-bottom: 5px;
}

.tab-button span {
  font-weight: 600;
  font-size: 14px;
}

.tabs-content {
  padding: 0;
}

.tab-pane {
  display: none;
}

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

.tab-content-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px;
}

.tab-text h3 {
  color: #2c3e50;
  margin-bottom: 20px;
  font-size: 24px;
}

.tab-text ul {
  margin: 20px 0;
  padding-left: 20px;
}

.tab-text li {
  margin-bottom: 10px;
  line-height: 1.6;
  text-align: left;
}

.tab-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ===== TESTIMONIOS ===== */
#testimonios.section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

#testimonios .section-title {
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#testimonios .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

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

.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.testimonial-header img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 3px solid var(--primary-color);
}

.testimonial-header h4 {
  color: var(--secondary-color);
  margin: 0 0 5px 0;
  font-size: 1.2rem;
}

.testimonial-header span {
  color: var(--light-text);
  font-size: 0.9rem;
}

.testimonial-card p {
  color: #555;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
}

.testimonial-card p:before {
  content: '"';
  font-size: 3rem;
  color: var(--primary-color);
  opacity: 0.2;
  position: absolute;
  left: -10px;
  top: -15px;
}

.rating {
  color: #f39c12;
  font-size: 0.9rem;
}

/* ===== CARRUSEL 3D ===== */
.carousel-container {
  width: 100%;
  height: 600px;
  margin: 0 auto 60px;
  position: relative;
  overflow: visible;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-item {
  position: absolute;
  width: 600px;
  height: 500px;
  background: rgb(0, 0, 0);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0.7;
  border: 1px solid rgba(0, 0, 0, 0.06);
  cursor: pointer;
  left: 50%;
  transform: translateX(-50%);
}

.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.carousel-item:hover .carousel-img {
  transform: scale(1.05);
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 70px;
  height: 70px;
  background: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  color: #000000;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control:hover {
  background: #3b82f6;
  color: white;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev { left: 50px; }
.carousel-control.next { right: 50px; }

.carousel-indicators {
  display: flex;
  justify-content: center;
  margin: 40px 0;
  gap: 15px;
}

.indicator {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e2e8f0;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.indicator.active {
  background: #3b82f6;
  transform: scale(1.3);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.cta-button {
  display: inline-block;
  padding: 18px 50px;
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.15rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

.cta-button:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.4);
}

.cta-button:hover:before {
  left: 100%;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

.overlay-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.overlay.active .overlay-img {
  transform: scale(1);
}

.close-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  color: #1e293b;
  font-size: 2.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 101;
}

.close-btn:hover {
  color: #3b82f6;
  transform: rotate(90deg);
}

.carousel-item::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #3b82f6, #6366f1, #3b82f6);
  border-radius: 18px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel-item.active::after {
  opacity: 1;
  animation: borderGlow 2s infinite;
}

@keyframes borderGlow {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* ===== FORMULARIO DE CONTACTO ===== */
:root {
  --primary: #005f73;
  --secondary: #0a9396;
  --red-accent: #ae2012;
  --white: #ffffff;
  --bg-color: #f8f9fa;
  --text-color: #333333;
  --main-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.section.contact {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 80px 0;
}

.section-title2 {
  text-align: center;
  width: 100%;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section.contact .section-title2 h2 {
  display: block;
  width: 100%;
  text-align: center;
  margin: 0 auto 15px;
  color: white;
  font-size: 2.2rem;
  position: relative;
}

.section.contact .section-title2 p {
  display: block;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  font-size: 1.1rem;
}

.section.contact .section-title2 h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: white;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 50px auto 0;
  padding: 0 20px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: white;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 10px;
}

.contact-info > p {
  margin-bottom: 30px;
  line-height: 1.6;
  font-size: 1.1rem;
}

.contact-details {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  font-size: 1.2rem;
  color: white;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 1rem;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.contact-text a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.contact-text a:hover {
  color: #94d2bd;
  text-decoration: underline;
}

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

.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  background-color: rgba(29, 201, 231, 0.2);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-links a:hover {
  background-color: rgb(59, 53, 53);
  color: var(--primary);
  transform: translateY(-3px);
}

.form-container {
  flex: 1;
  background-color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

#contactForm {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  margin-bottom: 0;
}

.form-group:nth-child(5),
.form-group:nth-child(6) {
  grid-column: span 2;
}

.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  background-color: white;
  font-family: var(--main-font);
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 1em;
}

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

.required::after {
  content: " *";
  color: var(--red-accent);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
  background-color: var(--bg-color);
  font-family: var(--main-font);
}

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

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

.btn-submit {
  background-color: var(--red-accent);
  color: var(--white);
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  width: 100%;
  transition: background-color 0.3s;
  margin-top: 10px;
}

.btn-submit:hover {
  background-color: #9de3ad;
}

.confirmation-message {
  display: none;
  background-color: #d4edda;
  color: #155724;
  padding: 15px;
  border-radius: 5px;
  margin-top: 20px;
  text-align: center;
}

/* ===== FOOTER ===== */
footer {
  background: black;
  color: white;
  padding: 60px 0 30px;
}

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

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-column h3 {
  color: white;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

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

/* ===== ANIMACIONES ===== */
[data-animate] {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fadeIn"] { transform: translateY(30px); }
[data-animate="slideInLeft"] { transform: translateX(-100px); }
[data-animate="slideInRight"] { transform: translateX(100px); }
[data-animate="zoomIn"] { transform: scale(0.9); }
[data-animate="zoomIn"].animated { transform: scale(1); }
[data-animate="rotateIn"] { transform: rotate(-5deg) scale(0.95); }
[data-animate="rotateIn"].animated { transform: rotate(0) scale(1); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

.solution-card {
  transition: transform 0.5s ease, box-shadow 0.3s ease;
}

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

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 1600px) {
  .carousel-item {
    width: 500px;
    height: 450px;
  }
  
  .carousel-control.prev { left: 30px; }
  .carousel-control.next { right: 30px; }
}

@media (max-width: 1200px) {
  .carousel-container { height: 500px; }
  .carousel-item {
    width: 400px;
    height: 350px;
  }
  
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .title { font-size: 2.5rem; }
  .carousel-container { height: 450px; }
  .carousel-item {
    width: 350px;
    height: 300px;
  }
  
  .carousel-control {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
  }
  
  .carousel-control.prev { left: 20px; }
  .carousel-control.next { right: 20px; }
  
  .hero-container,
  .benefit-content {
    flex-direction: column;
  }
  
  .hero-content,
  .benefit-text {
    padding-right: 0;
    margin-bottom: 50px;
    max-width: 100%;
    text-align: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-image,
  .benefit-image {
    max-width: 100%;
  }
  
  .tab-buttons {
    flex-wrap: wrap;
  }
  
  .tab-button {
    flex: 1 1 50%;
    padding: 15px;
    font-size: 0.95rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .tabs-header {
    flex-direction: column;
  }
  
  .tab-content-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-title { font-size: 1.9rem; }
  
  .header-area { padding: 8px 0; }
  
  .nav-list {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 15px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 999;
  }
  
  .nav-list.active { transform: translateY(0); }
  
  .menu-toggle { display: block; }
  
  .hero-content h1 { font-size: 2.4rem; }
  
  .hero-stats {
    flex-wrap: wrap;
    gap: 25px;
  }
  
  .stat-item { flex: 1 1 120px; }
  .stat-number { font-size: 1.8rem; }
  
  .tab-button { flex: 1 1 100%; }
  
  .benefit-text h3 { font-size: 1.4rem; }
  .benefit-content { padding: 25px; }
  
  .title { font-size: 2.2rem; }
  .carousel-container { height: 380px; }
  .carousel-item {
    width: 280px;
    height: 250px;
  }
  
  .carousel-control {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .carousel-control.prev { left: 10px; }
  .carousel-control.next { right: 10px; }
  
  .contact-container { flex-direction: column; }
  
  .footer-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .social-bar-container {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
  }
  
  .social-bar-left {
    flex-direction: row;
    width: 100%;
    border-radius: 12px 12px 0 0;
    justify-content: center;
  }
  
  .social-bar-link {
    width: 45px;
    height: 45px;
  }
  
  .social-bar-link:hover { width: 45px; }
  .social-bar-text { display: none; }
  
  .tab-content-inner { padding: 20px; }
  .tab-button { padding: 15px 10px; }
  .tab-button span { font-size: 12px; }
  
  #contactForm { grid-template-columns: 1fr; }
  .form-group:nth-child(5),
  .form-group:nth-child(6) { grid-column: span 1; }
}

@media (max-width: 576px) {
  .title { font-size: 2rem; }
  .carousel-container { height: 300px; }
  .carousel-item {
    width: 220px;
    height: 200px;
  }
  
  .carousel-control {
    display: flex;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .carousel-control.prev { left: 5px; }
  .carousel-control.next { right: 5px; }
  
  .solutions-grid { grid-template-columns: 1fr; }
}

/* Utilidades para mostrar/ocultar elementos */
.hidden { display: none !important; }
.visible { display: block !important; }