* { margin: 0; padding: 0; box-sizing: border-box;}

body { font-family: "Inter", sans-serif; overflow-x: hidden;}


.intro { position: fixed; inset: 0; background: radial-gradient(circle at center, #019199 0%, #15596e 80%); display: flex; justify-content: center; align-items: center;
  z-index: 9999; overflow: hidden; text-align: center;}

/* ==== NAVBAR ==== */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  background: linear-gradient( 44deg, #019199 0%, #15596e 80%);
  backdrop-filter: blur(6px);
  z-index: 1000;
}

.nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 15px 40px;
  
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.header-logo {
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 0 10px rgba(1, 145, 153, 0.7));
  animation: spinLogo 20s linear infinite, glow 3s ease-in-out infinite alternate;
}


.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #ffffff;
}

.logo-light {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: #ffffff;
}

/* ==== EFECTOS DEL LOGO ==== */
@keyframes spinLogo {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes glow {
  0% {
    filter: drop-shadow(0 0 6px #4ebdc6);
  }
  100% {
    filter: drop-shadow(0 0 16px #019199);
  }
}

/* ==== MENÚ ==== */
.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-item {
  position: relative;
}

.nav-item a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-item a:hover {
  color: #019199;
}

.submenu {
  position: absolute;
  top: 110%;
  left: 0;
  background: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  min-width: 180px;
  border-radius: 8px;
  overflow: hidden;
  z-index: 100;
}

.nav-item:hover .submenu {
  display: flex;
}

.submenu a {
  padding: 10px;
  color: #15596e;
  transition: background 0.3s, color 0.3s;
}

.submenu a:hover {
  background: #e9f8f7;
  color: #019199;
}



/* === HERO CON VIDEO === */
.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at left, #019199 50%, #15596e 80%);
 
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: scale-down;
  z-index: 0;
 
}

/* === NUEVA SECCIÓN DE TEXTO HERO === */
.hero-text-section {
  background: linear-gradient(180deg, #f8fdfd 0%, #e8f7fa 100%);
  padding: 100px 20px;
  text-align: center;
}

.hero-text-content h1 {
  font-size: 2.8rem;
  color: #15596e;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero-text-content h1 span {
  color: #019199;
}

.hero-text-content .lead {
  max-width: 700px;
  margin: 0 auto 30px;
  color: #3b6f7b;
  font-size: 1.1rem;
  line-height: 1.6;
}


.hero-text-content .btn.primary{background:linear-gradient(135deg,#019199,#4ebdc6);color:#fff;border:none;border-radius:50px;padding:.7rem 1.4rem;font-size:.95rem;cursor:pointer;transition:all .4s ease;text-decoration:none;display:inline-block;position:relative;overflow:hidden;}
.hero-text-content .btn.primary::after{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(120deg,transparent,rgba(255,255,255,0.4),transparent);transition:all .6s ease;}
.hero-text-content .btn.primary:hover::after{left:100%;}
.hero-text-content .btn.primary:hover{background:linear-gradient(135deg,#15596e,#019199);box-shadow:0 0 12px rgba(78,189,198,0.6);transform:translateY(-2px);}


.trust {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  color: #15596e;
  font-weight: 500;
}

.trust i {
  color: #019199;
  margin-right: 8px;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .hero-text-content h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 60vh;
  }

  .hero-video{
    object-fit: scale-down;
  }

  .hero-text-section {
    padding: 70px 20px;
  }

  .hero-text-content h1 {
    font-size: 1.9rem;
  }

  .hero-text-content .lead {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .hero-text-content .btn.primary {
    padding: 10px 24px;
  }

  .trust {
    flex-direction: column;
    gap: 10px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 28vh;
    margin-top: 87px;
  }

  .hero-text-content h1 {
    font-size: 1.6rem;
  }

  .hero-text-content .lead {
    font-size: 0.9rem;
  }
}


/* ==== STATS ==== */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  text-align: center;
  margin: 60px auto;
  max-width: 900px;
}

.stat-ic {
  font-size: 2rem;
  color: #019199;
}

.stat-num {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 10px;
}

/* ==== SECCIONES ==== */
.section {
  padding: 80px 20px;
  text-align: center;
}

.section h2 {
  color: #15596e;
  font-size: 2rem;
  margin-bottom: 20px;
}

.section p {
  color: #3b6f7b;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.7;
  font-size: 1.1rem;
}

/* ==== NOSOTROS (en index) ==== */
#nosotros {
  
  height: 93vh;
  
}

#nosotros .cards-grid {
  margin-top: 50px;
}

#nosotros p {
  max-width: 900px;
}

/* ==== INFO CARDS 3D ==== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
  perspective: 1200px;
}

.info-card {
  background: radial-gradient(circle at top left, #ffffff 0%, #f6f9fc 100%);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1),
              inset 0 0 20px rgba(255, 255, 255, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(1,145,153,0.15), rgba(78,189,198,0.15));
  opacity: 0;
  transition: opacity 0.5s ease;
}

.info-card:hover::before {
  opacity: 1;
}

.info-card:hover {
  transform: rotateY(12deg) rotateX(6deg) scale(1.04);
  box-shadow: 0 25px 35px rgba(0, 0, 0, 0.18);
}

.icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #019199, #4ebdc6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(1, 145, 153, 0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.info-card:hover .icon-circle {
  transform: rotate(15deg) scale(1.15);
  box-shadow: 0 12px 30px rgba(1, 145, 153, 0.6);
}

.info-card h3 {
  color: #15596e;
  font-weight: 700;
  margin-top: 0.5rem;
  margin-bottom: 0.8rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.08);
  transform: translateZ(30px);
}

.info-card p {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
  transform: translateZ(25px);
}

/* Brillo diagonal */
.info-card::after {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.25) 50%, transparent 60%);
  opacity: 0;
  transform: rotate(25deg);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.info-card:hover::after {
  opacity: 1;
  transform: translate(50%, 50%) rotate(25deg);
}

/* ==== BLOG SECTION MODERNA ==== */
.section.alt.container {
  background: linear-gradient(180deg, #e8f7fa 0%, #ffffff 100%);
  border-radius: 20px;
  padding: 60px 40px;
  margin-top: -31px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.split-left {
  flex: 1 1 300px;
  max-width: 400px;
}

.split-left .section-title {
  font-size: 2rem;
  color: #15596e;
  margin-bottom: 10px;
}

.split-left .lead {
  color: #333;
  margin-bottom: 20px;
}

.split-right {
  flex: 2 1 600px;
}


.split-left .btn-small{background:linear-gradient(135deg,#019199,#4ebdc6);color:#fff;border:none;border-radius:50px;padding:.7rem 1.4rem;font-size:.95rem;cursor:pointer;transition:all .4s ease;text-decoration:none;display:inline-block;position:relative;overflow:hidden;}
.split-left .btn-small::after{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(120deg,transparent,rgba(255,255,255,0.4),transparent);transition:all .6s ease;}
.split-left .btn-small:hover::after{left:100%;}
.split-left .btn-small:hover{background:linear-gradient(135deg,#15596e,#019199);box-shadow:0 0 12px rgba(78,189,198,0.6);transform:translateY(-2px);}


.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  animation: fadeInUp 0.8s ease both;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.blog-card:hover img {
  transform: scale(1.08);
}

.blog-body {
  padding: 1.4rem;
}

.blog-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: #15596e;
  font-weight: 600;
}

.blog-body p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

.blog-body .link{background:linear-gradient(135deg,#019199,#4ebdc6);color:#fff;border:none;border-radius:50px;padding:.7rem 1.4rem;font-size:.95rem;cursor:pointer;transition:all .4s ease;text-decoration:none;display:inline-block;position:relative;overflow:hidden;}
.blog-body .link::after{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(120deg,transparent,rgba(255,255,255,0.4),transparent);transition:all .6s ease;}
.blog-body .link:hover::after{left:100%;}
.blog-body .link:hover{background:linear-gradient(135deg,#15596e,#019199);box-shadow:0 0 12px rgba(78,189,198,0.6);transform:translateY(-2px);}


/* Animación de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .section.alt.container{
    margin-top: 132px;
  }

  .split {
    flex-direction: column;
    text-align: center;
    gap: 0rem
  }

  .split-left {
    max-width: 100%;
    flex: 1 1 224px;
  }
}


/* ==== CTA (sección específica que pediste) ==== */
.cta.container {
  /* mantiene la clase container pero aplicamos layout específico para CTA */
  padding: 56px 20px;
}

.cta .cta-card {
  max-width: 980px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border-radius: 14px;
  padding: 36px 28px;
  box-shadow: 0 8px 30px rgba(1,89,110,0.08);
  text-align: center;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.06);
}

/* Titular y texto */
.cta .cta-card h2 {
  color: #019199;            /* texto claro sobre fondo oscuro del gradiente */
  font-size: 1.9rem;
  margin-bottom: 12px;
}

.cta .cta-card p.lead {
  color: #019199;
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.6;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* Botones: primary y ghost (usa tus clases existentes) */
.cta .btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 28px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  margin: 0 8px;
}

/* Primary: destacado */

.cta .btn.primary {background:linear-gradient(135deg,#019199,#4ebdc6);color:#fff;border:none;border-radius:50px;padding:.7rem 1.4rem;font-size:.95rem;cursor:pointer;transition:all .4s ease;text-decoration:none;display:inline-block;position:relative;overflow:hidden;}
.cta .btn.primary::after{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(120deg,transparent,rgba(255,255,255,0.4),transparent);transition:all .6s ease;}
.cta .btn.primary:hover::after{left:100%;}
.cta .btn.primary:hover{background:linear-gradient(135deg,#15596e,#019199);box-shadow:0 0 12px rgba(78,189,198,0.6);transform:translateY(-2px);}



/* Ghost: outline */
.cta .btn.ghost {
  background: transparent;
  color: #dff6f0;
  border: 2px solid rgba(223,246,240,0.18);
}
.cta .btn.ghost:hover {
  background: rgba(223,246,240,0.06);
  transform: translateY(-3px);
}

/* Centrado vertical y pequeño detalle visual */
.cta .cta-card::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg,#91c998,#019199);
  border-radius: 4px;
  margin: 18px auto 0;
  opacity: 0.12;
}


/* === FOOTER 3 COLUMNAS UNIFORME === */
.site-footer {
  background: #0d3e50;
  color: #ffffff;
  padding: 50px 20px 30px;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: flex-start;
  text-align: center;
}

.footer-col h4 {
  font-weight: 600;
  margin-bottom: 12px;
  color: #91c998;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-logo {
  width: 90px;
  height: auto;
  margin-bottom: 10px;
}

.footer-col strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: -19px;
}

.thin {
  font-weight: 300;
}

.muted {
  color: #4ebdc6;
  font-size: 0.95rem;
  margin-top: 16px;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 36px;
  line-height: 1.8;
  font-size: 0.95rem;
  color: #4ebdc6;
}

.footer-contact li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.footer-contact i {
  color: #4ebdc6;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-contact li:hover i {
  color: #91c998;
  filter: drop-shadow(0 0 10px rgb(145, 201, 152));
}

/* Redes sociales */
.footer-social {
  margin-top: 38px;
  display: flex;
  justify-content: center;
  gap: 35px;
}

.footer-social a {
  color: #4ebdc6;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

/* Hover colores oficiales */
.footer-social a:hover i.fa-facebook-f {
  color: #1877f2;
  transform: scale(1.25);
  filter: drop-shadow(0 0 10px rgb(145, 201, 152));

}

.footer-social a:hover i.fa-instagram {
  color: #e1306c;
  transform: scale(1.25);
  filter: drop-shadow(0 0 10px rgb(145, 201, 152));
}

.footer-social a:hover i.fa-linkedin-in {
  color: #0077b5;
  transform: scale(1.25);
  filter: drop-shadow(0 0 10px rgb(145, 201, 152));
}

/* Copybar */
.copy-bar {
  text-align: center;
  padding: 12px 8px;
  background: #082a39;
  color: #bce4e1;
  font-size: 0.9rem;
}

/* === BOTÓN WHATSAPP FLOTANTE === */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  color: #fff;
  font-size: 1.9rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 999;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #1ebc5d;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.8);
}

.whatsapp-float i {
  margin-top: 1px;
}


/* === RESPONSIVE === */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;

  }

}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* CONTACTO: centrado y en línea */
  .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center; /* centra horizontalmente */
    gap: 8px;
    margin: 0 auto;
    width: 100%;
  }

  .footer-contact li {
    display: flex;
    align-items: center;
    justify-content: center; /* ícono + texto centrados */
    gap: 8px;
    text-align: center;
    width: auto;
  }

  .footer-contact i {
    flex-shrink: 0;
    font-size: 1.1rem;
    color: #91c998;
  }
}

.copy-bar {
  text-align: center;
  padding: 12px 8px;
  background: #082a39;
  color: #bce4e1;
  font-size: 0.9rem;
}



/* === RESPONSIVE === */
@media (max-width: 768px) {
  .footer-content {
    
    align-items: center;
    text-align: center;
  }
}


/* ==== COPYRIGHT BAR ==== */
.copy-bar {
  background-color: #0d3e50;
  color: #bce4e1;
  font-size: 0.85rem;
  text-align: center;
  padding: 12px 10px;
  letter-spacing: 0.3px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  .nav-links {
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
  }


  .cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ==== CURSOR ==== */
.cursor-particle {
  position: fixed;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, #4ebdc6, transparent);
  border-radius: 50%;
  pointer-events: none;
  animation: fadeParticle 1s forwards;
  z-index: 999;
}

@keyframes fadeParticle {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(3);
  }
}

/* ==== INTRO LOGO ANIMADO ==== */
.intro-logo {
  position: absolute;
  width: 180px;
  height: 180px;
  transform: scale(0);
  opacity: 0;
  transition: all 1s ease-in-out;
  animation: spinLogo 10s linear infinite;
}

.intro-text {
  position: absolute;
  bottom: 20%;
  font-size: 1.4rem;
  color: white;
  opacity: 0;
  animation: fadeInText 1.5s ease forwards 1s;
}

@keyframes fadeInText {
  to {
    opacity: 1;
  }
}

.hidden {
  display: none;
}

/* === ANIMACIÓN DE APARICIÓN SUAVE AL SCROLL === */
.fade-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   CONTACTO | Creative Medical Health
   =============================== */

.contact-section {
  
  background: #e9f8f75b;
  color: #0a2e36;
  padding: 156px   50px 50px 50px;
}

.contact-title {
  text-align: center;
  font-size: 2.5rem;
  color: #15596e;
  margin-bottom: 10px;
}

.contact-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  font-size: 1.1rem;
  color: #15596e;
  opacity: 0.85;
  line-height: 1.6;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 25px;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #15596e;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #b4d8dd;
  border-radius: 10px;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #019199;
  box-shadow: 0 0 5px rgba(1, 145, 153, 0.3);
}

.btn-submit {
  display: inline-block;
  background: #019199;
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
  background: #026b74;
  transform: translateY(-2px);
}

/* ===== MENSAJES ===== */
.form-success,
.form-error {
  display: none;
  margin-top: 20px;
  text-align: center;
  font-weight: 600;
}

.form-success {
  color: #027c65;
}

.form-error {
  color: #b41e1e;
}



/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {

  .site-footer{
    padding: 40px  0px;
  }
  .contact-form {
    padding: 25px;
  }

  .contact-title {
    font-size: 2rem;
  }

  .btn-submit {
    width: 100%;
  }

  #nosotros{
    height: 181vh;
  }
  
  .liquid-bg{
    height: 189vh;
  }


}

/* === HAMBURGUESA === */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #91c998; /* color verde claro */
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* ===== EFECTO X ===== */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === MÓVIL === */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: linear-gradient(171deg, #019199 0%, #15596e 80%);
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 20px;
    padding: 20px 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }

  .nav-item a {
    font-size: 1.2rem;
  }
}
