    :root {
      --rosa-palo: #f8d7e6;
      --rosa-medio: #f2b8d1;
      --rosa-oscuro: #e893b5;
      --verde-claro: #d5e8d4;
      --verde-medio: #a3c8a0;
      --verde-oscuro: #5a9e5a;
      --gris-claro: #f5f5f5;
      --gris-medio: #e0e0e0;
      --gris-oscuro: #333333;
      --blanco: #ffffff;
    }
    
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    
    body {
      background-color: var(--gris-claro);
      color: var(--gris-oscuro);
      line-height: 1.6;
    }
    
   /* Navbar styles */
nav {
  background-color: var(--blanco);
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--verde-oscuro);
  text-decoration: none;
  z-index: 101;
  transition: color 0.3s ease;
}

.logo:hover {
  color: var(--rosa-oscuro);
}

.logo span {
  color: var(--rosa-oscuro);
  transition: color 0.3s ease;
}

.logo:hover span {
  color: var(--verde-oscuro);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--gris-oscuro);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: var(--verde-oscuro);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--rosa-oscuro);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}
.nav-links {
      display: flex;
      gap: 1.5rem;
    }
    
    .nav-links a {
      text-decoration: none;
      color: var(--gris-oscuro);
      font-weight: 500;
      padding: 0.5rem 0;
      position: relative;
      transition: all 0.3s ease;
    }
    
    .nav-links a:hover {
      color: var(--verde-oscuro);
    }
    
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background-color: var(--rosa-oscuro);
      transition: width 0.3s ease;
    }
    
    .nav-links a:hover::after {
      width: 100%;
    }
    
    /* Menu toggle - hidden by default */
    .menu-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 0.5rem;
      z-index: 101;
      font-size: 1.5rem;
      color: var(--verde-oscuro);
      transition: transform 0.3s ease;
    }
    
    .menu-toggle.active {
      transform: rotate(180deg);
    }
    
    .links-project a {
      text-decoration: none;
      color: var(--gris-oscuro);
      font-weight: 500;
      padding: 0.5rem 0;
      position: relative;
      transition: color 0.3s;
    }
    
    .links-project a:hover {
      color: var(--verde-oscuro);
    }
    
    .links-project a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background-color: var(--rosa-oscuro);
      transition: width 0.3s;
    }
    
    .links-project a:hover::after {
      width: 100%;
    }

    .hero {
    display: flex
;
    align-items: center;
    min-height: 80vh;
    background: linear-gradient(135deg, var(--rosa-palo) 0%, var(--verde-claro) 100%);
}
    .hero-intro {
      background: linear-gradient(135deg, var(--rosa-palo) 0%, var(--verde-claro) 100%);
      padding: 1rem 1rem;
      text-align: center;
      border-radius: 20px;
    }
    .hero-text {
    flex: 1;
}
    
    .intro-grid {
      display: flex;
      justify-content: center;
      gap: 1rem;
      flex-wrap: wrap;
    }
    
    .intro-box {
      background-color: var(--blanco);
      padding: 0.5rem 1.5rem;
      border-radius: 20px;
      font-weight: 600;
      color: var(--verde-oscuro);
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    .intro-box:hover {
      background-color: var(--rosa-oscuro);
      color: var(--blanco);
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .intro-box-stack {
      background-color: var(--blanco);
      padding: 0.01rem 1.5rem;
      border-radius: 20px;
      font-weight: 600;
      color: var(--verde-oscuro);
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    .intro-box-stack:hover {
      background-color: var(--rosa-oscuro);
      color: var(--blanco);
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    section {
      padding: 4rem 5%;
    }
    
    section:nth-child(even) {
      background-color: var(--blanco);
    }
    
    h1, h2, h3 {
      color: var(--verde-oscuro);
      margin: 1rem;
      text-align: center;
    }
    
    h1 {
      font-size: 2.5rem;
      line-height: 1.2;
      padding: 3rem;
    }
    
    h2 {
      font-size: 2rem;
      text-align: center;
      position: relative;
      padding-bottom: 1rem;
      ;
    }
    
    h2::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 3px;
      background: linear-gradient(90deg, var(--rosa-oscuro) 0%, var(--verde-oscuro) 100%);
    }
    
   
    
    
    
    .technology-icons {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1rem;
      margin-top: 1rem;
    }
    
    .technology-icon {
      background-color: var(--verde-claro);
      color: var(--verde-oscuro);
      padding: 0.8rem 1.5rem;
      border-radius: 20px;
      font-weight: 600;
      transition: all 0.3s;
    }
    
    .technology-icon:hover {
      background-color: var(--rosa-palo);
      transform: translateY(-3px);
    }
    
    .benefits {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
      margin-top: 2rem;
    }
    
    .benefit-card {
      background-color: var(--gris-claro);
      padding: 2rem;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.05);
      transition: all 0.3s;
      border-left: 4px solid var(--rosa-oscuro);
    }
    
    .benefit-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .benefit-card strong {
      color: var(--verde-oscuro);
      font-size: 1.1rem;
      display: block;
      margin-bottom: 0.5rem;
    }
    
    .benefit-card span {
      color: var(--rosa-oscuro);
      font-weight: 500;
      display: block;
      margin-bottom: 1rem;
    }
    
    .carousel {
      display: flex;
      gap: 2rem;
      overflow-x: auto;
      padding: 0.5rem 0;
      scroll-snap-type: x mandatory;
      margin: -0.5 0rem;
      
    }
    
    .carousel-item {
      flex: 0 0 300px;
      background-color: var(--gris-claro);;
      padding: 2.5rem;
      border-radius: 10px;
      scroll-snap-align: start;
      box-shadow: 0 5px 15px rgba(0,0,0,0.05);
      transition: all 0.3s;
      
      
    }
    
    .carousel-item:hover {
      background-color: var(--rosa-palo);
      transform: translateY(-5px);
    }
    
    .carousel-item strong {
      color: var(--verde-oscuro);
      display: block;
      margin-bottom: 0.5rem;
    }
    
    .contact-form {
      max-width: 600px;
      margin: 2rem auto;
      display: grid;
      gap: 1rem;
    }
    
    .contact-form input,
    .contact-form textarea {
      padding: 1rem;
      border: 1px solid var(--gris-medio);
      border-radius: 5px;
      font-size: 1rem;
      transition: all 0.3s;
    }
    
    .contact-form input:focus,
    .contact-form textarea:focus {
      outline: none;
      border-color: var(--verde-medio);
      box-shadow: 0 0 0 2px var(--verde-claro);
    }
    
    .contact-form textarea {
      min-height: 150px;
      resize: vertical;
    }
    
    .contact-form button {
      justify-self: center;
    }
    
    footer {
      background-color: var(--gris-oscuro);
      color: var(--blanco);
      padding: 3rem 5%;
      text-align: center;
    }
    
    footer h2 {
      color: var(--blanco);
    }
    
    footer h2::after {
      background: linear-gradient(90deg, var(--rosa-palo) 0%, var(--verde-claro) 100%);
    }
    
    footer p {
      margin: 1rem 0;
    }
    
    .social-links {
      display: flex;
      justify-content: center;
      gap: 1.5rem;
      margin: 2rem 0;
    }
    
    .social-links a {
      color: var(--blanco);
      font-size: 1.5rem;
      transition: color 0.3s;
    }
    
    .social-links a:hover {
      color: var(--rosa-palo);
    }

    .span-space{
      
      margin: 0 0rem;
    }
    /* Estilos para la sección de perfil */
.profile-section {
  padding: 4rem 5%;
  background-color: var(--fondo-claro);
  color: var(--texto-oscuro);
}

.profile-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 3rem;
  align-items: center;
}

.profile-video {
  flex: 1;
  min-width: 300px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* Relación 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-caption {
  text-align: center;
  margin-top: 1rem;
  font-style: italic;
  color: var(--texto-medio);
}

.profile-info {
  flex: 1;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.highlight-text {
  color: var(--verde-medio);
}

.profile-description {
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.personal-info {
  margin: 2rem 0;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.info-icon {
  background-color: var(--verde-claro);
  color: var(--verde-medio);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.info-content h4 {
  margin: 0 0 0.3rem 0;
  font-size: 1rem;
  color: var(--texto-oscuro);
}

.info-content p, 
.info-content a {
  margin: 0;
  color: var(--texto-medio);
  text-decoration: none;
  transition: color 0.3s;
}

.info-content a:hover {
  color: var(--verde-medio);
}

.profile-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.cta-button {
  padding: 1.8rem 1rem;
  border-radius: 30px;
  background-color: var(--verde-medio);
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid var(--verde-medio);
}

.cta-button.secondary {
  background-color: transparent;
  color: var(--verde-medio);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


 
    /* Estilos para la barra de búsqueda */
.search-bar {
  padding: 12px 20px;
  width: 100%;
  max-width: 600px;
  border: 2px solid #e0e0e0;
  border-radius: 30px;
  font-size: 16px;
  margin: 20px auto;
  display: block;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-bar:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 2px 15px rgba(74, 144, 226, 0.3);
}

.highlight {
  background-color: #fff9c4;
  padding: 2px 4px;
  border-radius: 3px;
}

.no-results-message {
  text-align: center;
  padding: 30px;
  color: #666;
  font-size: 18px;
}

.no-results-message i {
  margin-right: 10px;
  color: #4a90e2;
}

/* Estilos para la sección de contacto */
.static-contact {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin-bottom: 30px;
}

.contact-title {
  text-align: start;
  color: #333;
  margin-bottom: 25px;
  font-size: 24px;
}
.contact-text {
  text-align: start;
  color: #666;
  margin-bottom: 20px;
  font-size: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.8rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  border: 1px solid rgba(232, 147, 181, 0.1);
}

.contact-method:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(232, 147, 181, 0.15);
  border-color: var(--gris-oscuro);
}

.contact-icon {
  font-size: 1.8rem;
  color: #E893B5;
  background-color: rgba(232, 147, 181, 0.1);
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-method:hover .contact-icon {
  background-color: rgba(232, 147, 181, 0.2);
  transform: scale(1.1);
}

.contact-info h4 {
  margin: 0 0 0 0;
  font-size: 1.3rem;
  color: var(--gris-oscuro);
  font-weight: 600;
}

.schedule-card h3 {
  margin: 0 0 0.7rem 0;
  font-size: 1.3rem;
  color: var(--gris-oscuro);
  font-weight: 600;
}

.contact-info a, .contact-info span {
  color: var(--gris-oscuro);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1.05rem;
}

.contact-info a:hover {
  color: #E893B5;
}

.contact-cta {
  max-width: 800px;
  margin: 3rem auto 4rem;
  padding: 2.5rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(232, 147, 181, 0.08) 0%, rgba(232, 147, 181, 0.02) 100%);
  border-radius: 20px;
  border-left: 4px solid #E893B5;
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(232, 147, 181, 0.05) 0%, transparent 70%);
  z-index: -1;
}

.contact-cta p {
  margin: 0;
  color: var(--gris-oscuro);
  line-height: 1.7;
  font-size: 1.15rem;
}

.contact-info h4 {
  color: var(--gris-oscuro);
}

.contact-cta p {
  color: var(--gris-oscuro);
}

/* Nuevo card para agendar charla */
.schedule-card {
  background: linear-gradient(145deg, rgba(232, 147, 181, 0.15) 0%, rgba(232, 147, 181, 0.05) 100%);
  border-radius: 18px;
  padding: 2.5rem;
  text-align: center;
  margin: 4rem auto;
  max-width: 600px;
  border: 1px solid rgba(232, 147, 181, 0.2);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--rosa-palo) 0%, var(--verde-claro) 100%);
}

.schedule-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
 background: linear-gradient(135deg, var(--rosa-palo) 0%, var(--verde-claro) 100%);
}

.schedule-card h3 {
  color: var(--gris-oscuro);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.schedule-card p {
  color: var(--gris-oscuro);
  margin-bottom: 2rem;
  line-height: 1.6;
  font-size: 1.1rem;
}

.schedule-btn {
  display: inline-block;
  background: linear-gradient(45deg, #E893B5, #d8739e);
  color: white !important;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(232, 147, 181, 0.3);
  border: none;
  cursor: pointer;
}

.schedule-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(232, 147, 181, 0.4);
  background: linear-gradient(45deg, #d8739e, #E893B5);
}
.schedule-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #E893B5, #d8739e);
}

.schedule-card h3 {
  color: #d8739e;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.schedule-card p {
  color: var(--gris-oscuro);
  margin-bottom: 2rem;
  line-height: 1.6;
  font-size: 1.1rem;
}

.schedule-btn {
  display: inline-block;
  background: linear-gradient(45deg, #E893B5, #d8739e);
  color: white !important;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(232, 147, 181, 0.3);
  border: none;
  cursor: pointer;
}

.schedule-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(232, 147, 181, 0.4);
  background: linear-gradient(45deg, #d8739e, #E893B5);
}



/* Estilos para los iconos sociales */
.social-title {
  text-align: center;
  color: #333;
  margin: 20px 0;
  font-size: 24px;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  margin: 0 0 0.3rem 0;
  font-size: 1rem;
  color: var(--texto-oscuro);
}


.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.social-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-icon.linkedin { background-color: #0077b5; }
.social-icon.github { background-color: #333; }
.social-icon.twitter { background-color: #1da1f2; }
.social-icon.instagram { 
  background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}



#proyectos {
  padding: 2rem 5%;
  background-color: var(--blanco);
}

#blog {
  padding: 2rem 5%;
  background-color: var(--blanco);
}

/* #proyectos h2 {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
} */

/* #proyectos {
  padding: 4rem 5%;
  background-color: var(--blanco);
} */

#proyectos h2 {
  text-align: center;
  margin: 1.5rem;
  position: relative;
    
}

#proyectos h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--rosa-oscuro) 0%, var(--verde-oscuro) 100%);
}

.benefits-horizontal {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
  overflow-x: auto;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
}

.benefit-card {
  flex: 0 0 calc(33.333% - 1.5rem);
  scroll-snap-align: start;
  background-color: var(--gris-claro);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s;
  border-left: 4px solid var(--rosa-oscuro);
  min-width: 300px;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.project-image {
  height: 180px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.benefit-card:hover .project-image img {
  transform: scale(1.05);
}

.benefit-card strong {
  color: var(--verde-oscuro);
  font-size: 1.2rem;
  display: block;
  margin: 0.5rem 0;
}

.benefit-card span {
  color: var(--rosa-oscuro);
  font-weight: 500;
  display: block;
  margin-bottom: 0.5rem;
}

.benefit-card p {
  margin: 1rem 0;
  color: var(--gris-oscuro);
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.project-tech span {
  background-color: var(--verde-claro);
  color: var(--verde-oscuro);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.links-project {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.links-project a {
  text-decoration: none;
  color: var(--verde-oscuro);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 2px solid var(--verde-oscuro);
  border-radius: 30px;
  transition: all 0.3s;
}

.links-project a:hover {
  background-color: var(--verde-oscuro);
  color: var(--blanco);
}

/* Estilos para el contenedor principal */
#inicio.hero {
  padding: 5rem 2rem;
  background-color: #f8fafc;
}

/* Contenedor de columnas */
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Dos columnas de igual tamaño */
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Columna de texto */
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--verde-oscuro);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-text h2 {
  font-size: 1.25rem;
  font-weight: 400;
  color: #475569;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.hero-text p {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Columna de la imagen */
.video-container {
  display: flex;
  justify-content: flex-end;
}

.video-container img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Estilos del botón */
.cta-button {
  display: inline-block;
  background: #A3C8A0;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.cta-button:hover {
  background: #A3C8A0;
  transform: translateY(-2px);
}




/* Responsive */
@media (max-width: 1024px) {
  .benefit-card {
    flex: 0 0 calc(50% - 1rem);
  }
}


/* Responsive */
@media (max-width: 768px) {
  .profile-container {
    flex-direction: column;
  }
  
  .profile-video {
    width: 100%;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    margin: 1rem;
  }
  
  .profile-cta {
    flex-direction: column;
  }
}
    
   @media (max-width: 768px) {
      nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
      }
       
   .hero-content{
    flex-direction: column;
    text-align: center;
   }

  .hero-intro {
    display: none; /* Opcional: puedes esconder la intro en móvil si ocupa mucho */
  }
  .menu-toggle {
        display: block;
      }
      
      .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--blanco);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.5s ease;
        z-index: 100;
      }
      
      .nav-links.active {
        transform: translateY(0);
        opacity: 1;
      }
      
      .nav-links a {
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
      }
      
      .hero-content {
        flex-direction: column;
        text-align: center;
      }
      
      .hero-text h2 {
       display: block;
    font-size: 1.5em;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: 400;
    unicode-bidi: isolate;
      }
      
      .hero-text h2::after {
        left: 50%;
        transform: translateX(-50%);
      }
    .benefits-horizontal {
    flex-direction: column;
    overflow-x: visible;
    gap: 2rem;
  }
  
  .benefit-card {
    flex: 1;
    min-width: auto;
  }
  
  .links-project {
    flex-direction: column;
  }
  
  .links-project a {
    text-align: center;
  }
 .menu-toggle {
    display: block;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--blanco);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    gap: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-150%);
    transition: transform 0.4s ease-out;
    z-index: 100;
  }
  
  .nav-links.active {
    transform: translateY(0);
  }
  
  .nav-links a {
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
  }
  
  /* Asegurar que el logo no se superponga */
  .logo {
    margin-right: auto;
    padding-left: 1rem;
  }
  
  /* Ajustes para el hero en móviles */
  .hero-content {
    flex-direction: column;
 
  }
  
  .video-container {
    margin-top: 2rem;
    justify-content: center;
  }
  .nav{
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;

  }

  .nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--verde-oscuro);
    cursor: pointer;
  }

  .video-container img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    object-fit: cover;
  }
  .img {
    overflow-clip-margin: content-box;
    overflow: clip;
}

#inicio.hero {
    padding: 5rem 2rem;
    background-color: #f8fafc;
}

.hero {
    display: flex
;
    align-items: center;
    min-height: 80vh;
    background: linear-gradient(135deg, var(--rosa-palo) 0%, var(--verde-claro) 100%);
}

section:nth-child(even) {
    background-color: var(--blanco);
}

    .hero-content {
        flex-direction: column !important;
      
    }

    .hero-text h2::after {
        left: 50%;
        transform: translateX(-50%) !important;
    }

    h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--rosa-oscuro) 0%, var(--verde-oscuro) 100%) !important;
}

.cta-button {
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    background-color: var(--verde-medio);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--verde-medio)
}

.video-container img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
img {
    overflow-clip-margin: content-box !important;
    overflow: clip !important;
}
/* Hero section responsive styles */
@media (max-width: 768px) {
  .hero {
    padding: 2rem 1rem;
    min-height: auto;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  .hero-text {
    order: 2;
    text-align: center;
    padding: 0 1rem;
  }
  
  .hero-text h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .hero-text h2 {
    font-size: 1.1rem;
    line-height: 1.4;
  }
  
  .hero-text p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .video-container {
    order: 1;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  
  .video-container img {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
  }
  
  .cta-button {
    align-self: center;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}
 .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    color: var(--gris-oscuro);
  }
  
  .contact-method {
    padding: 1.5rem;
        color: var(--gris-oscuro);
  }
  
  .contact-cta, .schedule-card {
    padding: 1.8rem;
    margin: 2.5rem auto;
  }
  
  .schedule-card h3 {
    font-size: 1.5rem;
  }
}

   

   
  



 