:root {
  /* Variables de color */
  --primary-2: rgba(19, 33, 185, 0.966);

  --primary: #2a5c8b;
  /* --primary:  background-position ; */
  /* --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); */
  /* --tw-gradient-to: #2563eb var(--tw-gradient-to-position); */

  --primary-light: #4a7cab;
  --secondary: #4caf50;
  --accent: #ff6d00;
  --accent-2: #8be614d0;

  --light: #fafafa;
  --light-gray: #eeeeee;
  --dark: #212121;
  --text: #333333;
  --text-light: #555555;
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset y estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: var(--light);
  overflow-x: hidden;
}




/* =======================
   Estilos Generales
======================= */
body {
  font-family: "Open Sans", sans-serif;
  /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
  margin: 0;
  padding: 0;
  background-color: #f8f9fb;
  color: #333;
}





h1 {
  font-family: "Montserrat", sans-serif;
  color: rgb(241, 227, 255);
  line-height: 1.2;
  margin-top: 40px;
}

h2,
h3,
h4 {
  font-family: "Montserrat", sans-serif;
  color: var(--dark);
    line-height: 1.2;




}

 

h5{
    font-family: "Montserrat", sans-serif;
  color: var(--dark);
  line-height: 1.2;
  font-size: 1.2rem;
  margin-top: 15px;


}

.timezone-info{
  font-size: 0.9rem;

}



a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

nav ul li a {
  white-space: nowrap; /* Evita que el texto se parta */
}


nav ul {
  display: flex;
  gap: 20px; /* Espacio entre elementos */
  align-items: center;
  flex-wrap: nowrap; /* Previene que se vayan a una nueva línea */
}

nav ul li {
  display: inline-block;
}



.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}



.img-01 img {
  height: 170px;
  width: 170px;
  max-width: 100%;
  border-radius: 50%;

  box-shadow: 10px 5px 20px #0000008c;
    background-color: #40a18c;
    background: linear-gradient(130deg, #3549be, #abb8bbfa);
    border: 3px solid #1d2425fa;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
}



.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--accent);
}


.section-title-2 {
  font-size: 1.8rem;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
}

.section-title-2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  /* background-color: var(--accent); */
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: rgb(12, 161, 57);
  /* background-image: linear-gradient(60deg, rgba(24, 16, 20, 0.021), rgba(17, 23, 24, 0), rgba(17, 17, 12, 0), rgb(255, 15, 15)); */

  /* background-color: var(--accent-2); */
  color: white;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid var(--accent);
  font-family: "Montserrat", sans-serif;
  margin-top: 80px;
  animation: animate 2.1s infinite;
}

.btn-pro {
  display: inline-block;
  padding: 12px 30px;
  background: rgb(12, 161, 57);
  /* background-image: linear-gradient(60deg, rgba(24, 16, 20, 0.021), rgba(17, 23, 24, 0), rgba(17, 17, 12, 0), rgb(255, 15, 15)); */

  /* background-color: var(--accent-2); */
  color: white;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid var(--accent);
  font-family: "Montserrat", sans-serif;
  margin-top: 80px;
  animation: animate 2.1s infinite;
  margin-left: 340px;
}


/* Animacion para cualquier scroll-item*/

.scroll-item {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

.scroll-item.visible {
  opacity: 1;
  transform: translateY(0px);
}


.ver-mas-proyectos {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.btn-pro {
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  text-align: center;
  border: 2px solid var(--primary);
  color: var(--primary);
  background-color: transparent;
  transition: all 0.3s ease;
  margin-top: 2px;
}

.btn-pro:hover {
  background-color: var(--primary);
  color: #fff;
}

#notes {
  width: 100%;
  padding: 1.7rem 0.8rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  resize: vertical;
}









/*btn-regresar*/


@media (min-width: 768px) {
  .form-actions {
    position: relative;
  }

  #backButton {
    position: absolute;
    top: -1.2rem;
    left: 0;
    z-index: 10;
    background-color: #f0f4f8;
    color: #057d86a9;
    border: none;
    padding: 0.6rem 0.8rem;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
  }

  #backButton:hover {
    background-color: #dbeafe;
    transform: translateY(-2px);
  }

  #backButton .back-icon {
    font-size: 1.2rem;
    color: inherit;
  }
}



/*Preguntas Frecuentes*/


.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 10px 0;
  color: var(--text-dark);
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
  margin-top: 10px;
}

.faq-answer p {
  margin: 0;
  color: var(--text-light);
}



  .iti--allow-dropdown {
  width: 100%;
  padding: 0px;
   }




/*Estilo de Proyecto*/

.faq-answer .faq-intro {
  margin-bottom: 1rem;  /* aumenta el espacio inferior del <p> */
  line-height: 1.6;
}

.faq-answer ul.styled-list {
  list-style-type: disc;
  margin-left: 1.5rem;
  padding-left: 0;
}

.faq-answer ul.styled-list li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}










.hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 0;
}

.hero-content {
  flex: 1 1 500px;
  max-width: 600px;
}

.hero-image {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}







/*Seccion consult*/




.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
}

h1, h2, h3 {
  margin: 0;

}

/* =======================
   Hero Section
======================= */
.hero-section {
  background: linear-gradient(to right, #3b82f6, #6366f1);
  color: white;
  padding: 3rem 1rem 4rem;
  text-align: center;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero-text {
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  font-size: 1.1rem;
}

.hero-icons {
  margin-top: 1rem;
}

.hero-icons a {
  margin: 0 0.5rem;
  color: white;
  font-size: 1.5rem;
  transition: transform 0.2s;
}

.hero-icons a:hover {
  transform: scale(1.2);
}

.hero-divider {
  height: 2px;
  background-color: white;
  margin: 2rem auto;
  width: 80px;
  border-radius: 4px;
}

.hero-cta {
  font-size: 1.5rem;
  margin-top: 1rem;
}

/* =======================
   Booking Header
======================= */
.booking-header {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.header-pattern {
  height: 8px;
  width: 80px;
  background: linear-gradient(to right, #6366f1, #3b82f6);
  margin: 0 auto 1rem;
  border-radius: 8px;
}

/* =======================
   Calendar Section
======================= */
.booking-section {
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: 2rem;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;

  text-align: center;
  width: 100%;
  margin: 0 auto 2rem auto;
  font-size: 2.5rem;
  font-weight: 680;
  color: #222;
  display: block;
}



.section-title h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #374151;
  
}

.current-month {
  font-weight: bold;
  font-size: 1.1rem;
  color: #6366f1;
  margin-top: 20px;
}

.navigation-buttons {
  text-align: center;
  margin: 1rem 0;
}

.nav-button {
  border: none;
  background: #e5e7eb;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

.nav-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.calendar-grid {
  display: grid;
  gap: 0.25rem;
}

.calendar-header, .calendar-body {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  text-align: center;
}

.calendar-header div {
  font-weight: bold;
  padding-bottom: 0.5rem;
  color: #374151;
}

.calendar-day {
  padding: 0.75rem;
  background: #f3f4f6;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}

.calendar-day.today {
  border: 2px solid #6366f1;
}

.calendar-day.selected {
  background: #6366f1;
  color: white;
}

.calendar-day.disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
}

.calendar-day.other-month {
  background: transparent;
  color: #d1d5db;
}

/* =======================
   Time Slots
======================= */
.time-slots-title {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.5rem;
}

.time-slot {
  padding: 0.75rem;
  background: #f3f4f6;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
}

.time-slot.selected {
  background: #10b981;
  color: white;
}

.time-slot.disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
}

/* =======================
   Summary
======================= */
.booking-summary {
  margin-top: 2rem;
  padding: 1rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.summary-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0;
}

.detail-label {
  font-weight: bold;
}

.change-selection {
  color: #3b82f6;
  text-decoration: none;
  font-size: 0.9rem;
}

.change-selection:hover {
  text-decoration: underline;
}

/* =======================
   Formulario
======================= */
.booking-form {
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

input, select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
}

input:focus, select:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 80px;
  font-size: 1rem;
  cursor: pointer;
}

.btn-outline {
  background: white;
  border: 1px solid #3b82f6;
  color: #3b82f6;
}

.btn-primary {
  background: #3b82f6;
  color: white;
}

.btn-primary:hover {
  background: #2563eb;
}

/* =======================
   Footer
======================= */
.footer {
  margin-top: 3rem;
  padding: 2rem;
  background-color: #111827;
  color: white;
  text-align: center;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}

.footer-large {
  height: 6px;
  width: 80px;
  background: linear-gradient(to right, #6366f1, #3b82f6);
  margin: 0 auto 1rem;
  border-radius: 8px;
}

/* =======================
   Animaciones
======================= */
.fade-in {
  animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}



.section { padding: 40px 0; }
.hero-section { text-align: center; }
.form-group { margin-bottom: 20px; }
input, select { width: 100%; padding: 10px; }
.btn-primary { background-color: #007bff; color: white; }













.btn-enviar {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--accent);
  color: white;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid var(--accent);
  font-family: "Montserrat", sans-serif;
  margin-top: 80px;
}

.btn:hover {
  background-color: transparent;
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(189, 102, 36, 0.3);
}

@keyframes animate {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 5px 15px rgba(42, 92, 139, 0.3);
}

/* Navegación */
.navbar {


 background-color: #fff;
  padding: 10px 20px;
  position: sticky;
  
  
  




  /* position: fixed; */
  top: 0;
  left: 0;
  width: 100%;
  /* padding: 20px 0; */
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: var(--transition);
}



.navbar.scrolled {
  /* padding: 15px 0; */
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(5px);
}

.nav-container {
  display: flex;
  align-items: center;

  justify-content: space-between;
  flex-wrap: nowrap;

}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  
}




.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(42, 92, 139, 0.39), rgba(8, 8, 8, 0.363)),
    url("/fondo\ -MOBIL\ -\ Servicio.jpg")
      no-repeat center center/cover;
  color: white;
  text-align: center;
  padding-top: 80px;
}

.hero-2 {
  background: linear-gradient(to bottom right, #f0f4ff, #e8f0ff);
  padding: 100px 20px;
}

.hero-3 {
  background: linear-gradient(to bottom right, #f0f4ff, #e8f0ff);
  padding: 80px 20px;
}


.hero-2 .hero-image img {
  width: 130%;
  max-width: 720px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-left: 50px;

}




.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 50px;


  flex-wrap: wrap;
  gap: 2rem;
}







.hero-text {
  flex: 1;
  max-width: 550px;
}

.hero-2 h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 20px;
  line-height: 1.4;
}

.hero-3 h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #3062b3;
  margin-bottom: 20px;
  line-height: 1.4;
}

.hero-3 h1 strong {
  font-size: 2rem;
  font-weight: 800;
  color: #33145c;
  margin-bottom: 20px;
  line-height: 1.4;
}


.hero-2 .highlight {
  display: block;
  color: #2563eb;
  font-weight: 800;
}

.hero-3 .highlight {
  display: block;
  color: #2563eb;
  font-weight: 800;
}



.hero-2 p {
  color: #64748b;
  font-size: 1rem;
  margin-bottom: 40px;
  line-height: 1.6;
}


.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  margin-left: 120px;
}

.btn.filled {
  background-color: #2563eb;
  color: white;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 30px;
  border: none;
  transition: all 0.3s ease;
}

.btn.filled:hover {
  background-color: #1d4ed8;
}

.btn.bordered {
  background-color: white;
  color: #2563eb;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 30px;
  border: 2px solid #2563eb;
  transition: all 0.3s ease;
}

.btn.bordered:hover {
  background-color: #2563eb;
  color: white;
}

.hero-image {
  flex: 1 1 100px;
  text-align: center;
}


.hero-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

  height: auto;
  object-fit: cover;
}













/* Estilos para el modal general */
.modal-servicio {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  z-index: 9999;
  box-sizing: border-box;
}

.modal-servicio.activo {
  display: flex;
}

.modal-contenido {
  background: white;
  width: 100%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  box-sizing: border-box;
}

/* Estilos específicos para móviles pequeños */
@media screen and (max-width: 480px) {
  .modal-contenido {
    padding: 1rem;
    margin: 0 auto;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  .modal-contenido h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .modal-contenido ul {
    padding-left: 1.2rem;
    list-style-type: none;
  }

  .modal-contenido li {
    margin-bottom: 0.8rem;
    line-height: 1.4;
    position: relative;
    padding-left: 1.2rem;
  }

  .modal-contenido li::before {
    content: "✓";
    color: orangered;
    position: absolute;
    left: 0;
    font-weight: bold;
  }

  .btn-modal-action {
    width: 100%;
    font-size: 1rem;
    margin-top: 1.5rem;
  }
}








/* Responsive */
@media (max-width: 768px) {

  .hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 50px;
}




  .hero-image {
  flex: 1;
  text-align: center;
}

  .hero-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-buttons {
    align-items: center;
    margin-left: 0;
  }

  .hero-text {
    max-width: 100%;
  }
}

.hero-text-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden; /* 👈 Evita desborde */
}

.typing-wrapper {
  position: relative;
  display: inline-block;
  min-width: 340px; /* Se ajusta dinámicamente con JS */
  max-width: 100%;
  overflow: hidden; /* 👈 clave para que nunca desborde */
}

#typing-text {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(3rem, 4vw, 3.5rem);
  line-height: 1.4;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  min-height: 1.4em;
  padding-right: 15px;
  margin-top: 90px;
  position: relative;
  white-space: nowrap;
  overflow: hidden; /* clave */
  text-overflow: ellipsis; /* por si acaso */
}

#typing-text::after {
  content: "|";
  position: absolute;
  right: -10px;
  animation: blink 0.7s infinite;
  color: var(--accent);
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.navbar-brand {
  color: var(--white-color);
  font-size: var(--h3-font-size);
  font-weight: var(--font-weight-bold);
  line-height: normal;
  padding-top: 0;
}

.navbar-brand img {
  width: 190px;
  margin-left: -50px;
}


.hero-content {
  flex: 1 1 390px;
  max-width: 600px;

  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}



.scroll-top-btn {
  position: fixed;
  bottom: 40px;
  right: 30px;
  background-color: #2b7c94;
  color: white;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
}











#typing-text {
  font-size: clamp(2.5rem, 5vw, 2rem);
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  min-height: 1.9em;
  display: inline-block;
  position: relative;
  text-align: center;
  line-height: 1.4;
  margin-top: 90px;
}

#typing-subtext {
  margin: 5px;

  margin-top: 0px;
  display: inline-block;
  position: relative;

}

#typing-text::after {
  content: "|";
  position: absolute;
  right: -10px;
  animation: blink 0.7s infinite;
  color: var(--accent);
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .hero-text-container {
    min-height: 100px;
  }
  #typing-text {
    font-size: 2rem;
  }
}

/* .hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
} */




.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 0px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 0px;
  opacity: 0.9;
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sobre Mí */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  margin-bottom: 20px;
  font-size: 1.2rem;
  text-align: left;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-item div:first-child {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.stat-item div:last-child {
  font-size: 1rem;
  color: var(--text-light);
}

/* Áreas de Expertise */
.expertise {
  background-color: var(--light-gray);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.expertise-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  text-align: center;
}

.expertise-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.expertise-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.expertise-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

/* =========================================================
   HARD SKILLS – DISEÑO ORIGINAL MEJORADO (estable + responsive)
   ========================================================= */

.skills-section {
  padding: 80px 0;
}

.skills-wrapper {
  max-width: 900px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* Cada grupo */
.skill-group {
  background: #fff;
  padding: 25px 20px;
  border-radius: 14px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* Título del grupo */
.skill-group-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--primary);
}

/* CONTENEDOR DE LISTAS */
.skills-container {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;

  background-color: white;
  padding: 20px 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* Ítems */
.skill-item {
  width: 100%;
}

/* Texto */
.skill-name {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}

/* Barra exterior */
.skill-bar {
  height: 8px;
  background-color: var(--light-gray);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

/* Barra interior animada */
.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 4px;
  width: 0;
  transition: width 7s cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative;
}

/* Destello */
.skill-progress::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.1) 100%
  );
  animation: shine 2s infinite;
}

/* Animación brillo */
@keyframes shine {
  0%   { background-position: -100px 0; }
  100% { background-position: 100px 0; }
}

/* ==========================
   RESPONSIVE
   ========================== */

@media (max-width: 768px) {
  .skill-group {
    padding: 12px 10px;
  }

  .skills-container {
    padding: 10px;
  }

  .skill-group-title {
    font-size: 20px;
  }
}


/* Soft Skills */
.soft-skills {
  background-color: var(--light-gray);
  text-align: center;
}

.soft-skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.soft-skill {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.soft-skill:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.soft-skill i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.soft-skill h3 {
  margin-bottom: 15px;
}

/* Experiencia */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 50px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  height: 100%;
  width: 2px;
  background-color: var(--primary);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  left: -38px;
  top: 0px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--accent);
  border: 3px solid var(--primary);
}

.timeline-date {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 5px;
}

.timeline-content {
  background-color: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.timeline-content:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.timeline-content h3 {
  margin-bottom: 10px;
  color: var(--primary);
}

.timeline-content p {
  margin-bottom: 10px;
  color: var(--text-light);
}

.timeline-content ul {
  padding-left: 20px;
  margin-top: 10px;
}

.timeline-content li {
  margin-top: 10px;
}



/* Mercado Objetivo */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.market-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.market-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.market-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

/* Propuesta de Valor */
.value-proposition {
  background-color: var(--primary);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.value-proposition::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.value-proposition::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.value-proposition .section-title {
  color: white;
  position: relative;
  z-index: 1;
}

.value-proposition .section-title::after {
  background-color: var(--accent);
}

.value-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* Value Proposition Section */
.value-proposition {
  background-color: var(--primary);
  color: white;
  position: relative;
  overflow: hidden;
}

.value-proposition::before,
.value-proposition::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.value-proposition::before {
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
}

.value-proposition::after {
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
}

.value-proposition .section-title {
  color: white;
  position: relative;
  z-index: 1;
}

.value-proposition .section-title::after {
  background-color: var(--accent);
}

.value-content {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.2rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
  text-align: center;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.value-card {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.value-icon {
  font-size: 2rem;
  color: white;
  margin-bottom: 20px;
}

.value-card h3 {
  margin-bottom: 15px;
  color: white;
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.project-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.project-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.project-image i {
  font-size: 4rem;
  opacity: 0.9;
}

.project-content {
  padding: 25px;
}

.project-content h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.project-content p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-tags span {
  background-color: var(--light-gray);
  color: var(--primary);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  transition: all 0.3s ease-in-out;
}

/* Typing Animation Styles */
#typing-text {
  min-height: 1.5em; /* Mantiene el espacio mientras se escribe */
}

#typing-text::after {
  content: "|";
  animation: blink 0.7s infinite;
  opacity: 1;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 768px) {

  
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

    .hero-2 .hero-image img {
    max-width: 100%;
    margin-left: 0;
  }




  
  .project-image i {
    font-size: 3rem;
    opacity: 0.9;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }


.hero-content {
    flex:   0px;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}



}

@media (max-width: 576px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-image {
    height: 180px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .value-grid {
    grid-template-columns: 1fr;
  }

  .value-content {
    font-size: 1.1rem;
  }
}

/* Contacto */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--primary);
  font-weight: bold;
}


.form-group label strong{
    font-weight: 700;

  font-weight: bold;
}
/* Reforzar el grosor solo a los labels dentro del formulario de reserva */
#booking label,
#booking .form-group label {
  font-weight: 800 !important;
}




#booking label,
#booking .form-group label {
  font-weight: 900 !important;
  font-size: 16.7px; /* Ajusta a gusto */
}






.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: "Open Sans", sans-serif;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(42, 92, 139, 0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  margin-top: 10px;
}

/* Footer Styles */
footer {
  background-color: var(--dark);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-brand {
  text-align: center;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
}

.footer-tagline {
  font-size: 1.1rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 30px;
}

.footer-section {
  text-align: center;
}

.footer-title {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: white;
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center; /* ✅ */
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}



.footer-links a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
.social-links-inicio {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transition: var(--transition);
}

.social-links-inicio a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--accent);
  transform: translateY(-3px);
}

.copyright {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Animaciones */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 1s ease-out forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}






.skill-group-title {
  font-size: 1.5rem;
  margin-top: 50px;
  margin-bottom: 20px;
  color: var(--primary);
  font-weight: 700;
  border-left: 5px solid var(--secondary);
  padding-left: 15px;
}






/* ... (mantén el resto del CSS igual) ... */

/* Responsive */
@media (max-width: 992px) {
  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .skills-container {
    padding: 30px;
  }
}

@media (max-width: 768px) {

  .navbar{
     padding: 0px 0px;
  }

  .navbar-brand img {
  width: 160px;
  margin-left: 0px;
}

  

#typing-subtext {
  margin: 0;

  margin-top: 80px;
  display: inline-block;
  position: relative;
  
}
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 15px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .social-links-inicio {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 120px;
  }

  .hero {
    padding-top: 120px;
    height: auto;
    padding-bottom: 200px;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  .hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .btn-regresar {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
}


  .btn-pro {
    width: 100%;
    max-width: 300px;
    margin-left: 40px;
    align-items: center;

  }

  .timeline {
    padding-left: 30px;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-dot {
    left: -28px;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item {
    padding: 15px;
  }
  .img-01 img {
    height: 160px;
    width: 160px;
    max-width: 100%;
    border-radius: 50%;
    box-shadow: 10px 5px 20px #0000008c;
    background-color: #40a18c;
    background: linear-gradient(130deg, #3549be, #abb8bbfa);
    border: 3px solid #1d2425fa;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-section {
    text-align: center;
  }

  .footer-links {
    align-items: center;
  }

  
.modal-body h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  margin-left: -20px;
}

.calendar-day {
  padding: 0.72rem;
  background: #f3f4f6;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}


.back-icon {
  color: #2b7c94;
  font-size: 16px;
  transition: color 0.3s ease;
}

.btn-back:hover .back-icon {
  color: #ffffff; /* cambia el color del ícono al pasar el mouse */
}

  .section-title {
    font-size: 1.8rem;
    
  }


.section-title {
  text-align: center;
  display: block;
  width: 100%;
  margin: 0 auto 2rem auto;
  font-size: 2.5rem;
  font-weight: 850;
  color: #222;
}



/* Centrado del título Sobre Mí */
#about .section-title {
  text-align: center;
  display: block;
  width: 100%;
  margin: 0 auto 2rem auto;
  font-size: 2.3rem; /* Puedes ajustar */
  font-weight: 700;
  color: #222;
}




/* Centrado del título Soft Skills */
.soft-skills .section-title {
  text-align: center;
  display: block;
  width: 100%;
  margin: 0 auto 2rem auto;
  font-size: 2.2rem; /* Ajusta si es necesario */
  font-weight: 700;
  color: #222;
}




/* Centrado del título Soft Skills */
.Hard-skills-grid .section-title {
  text-align: center;
  display: block;
  width: 100%;
  margin: 0 auto 2rem auto;
  font-size: 2.5rem; /* Ajusta si es necesario */
  font-weight: 700;
  color: #222;
}



}

@media (max-width: 576px) {
  .section {
    padding: 50px 0;
  }

  .section-title {
    /* font-size: 1.9rem; */
    font-size: 32px;
        line-height: 2.4rem;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10px, 1fr));
    gap: 4px;
    margin: 5px 0;
  }

  .skills-container {
    padding: 25px 20px;
  }
  .stats-container {
    gap: 10px;
  }
  .stat-item div:first-child {
    font-size: 1.5rem;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }

    .btn-2 {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 20px;
}







}

.interes-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.interes-btn {
  border: 2px solid #2b7c94;
  background: transparent;
  padding: 10px 20px;
  border-radius: 25px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  color: #2b7c94;
  transition: all 0.3s ease;
}

.interes-btn.selected {
  background-color: #2b7c94;
  color: #fff;
}








/* Modal base */
/* .modal-servicio {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
} */
/* 
.modal-servicio.activo {
  display: flex;
} */

.modal-inner {
  background: #fff;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  padding: 30px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.cerrar-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

/* Adaptación para pantallas pequeñas */
@media (max-width: 480px) {
  .modal-inner {
    padding: 20px 15px;
    max-height: 80vh;
    font-size: 0.95rem;
  }

  .cerrar-modal {
    top: 10px;
    right: 15px;
    font-size: 1.3rem;
  }

  .modal-inner h2 {
    font-size: 1.2rem;
  }

  .modal-inner ul {
    padding-left: 18px;
  }

  .modal-inner li {
    margin-bottom: 8px;
  }

  .btn-modal-action {
    width: 100%;
    font-size: 1rem;
    padding: 12px;
  }
}


/* -----------------SERVICIOS---------------- */

.modal-servicio {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  z-index: 9999;
}




.modal-servicio.activo {
  display: flex;
  animation: fadeIn 0.3s ease-out;

}

.modal-inner {
  background: white;
  max-width: 800px;
  width: 100%;
  padding: 60px 40px;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  font-family: "Montserrat", sans-serif;
  text-align: center;
  animation: slideUp 0.4s ease;
}

.cerrar-modal {
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #ccc;
  cursor: pointer;
  transition: 0.3s ease;
}

.cerrar-modal:hover {
  color: var(--accent);
}

.modal-body h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.modal-body p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 20px;
}

.modal-body ul {
  text-align: left;
  list-style: none;
  padding-left: 0;
  margin: 30px 0;
}

.modal-body li {
  padding-left: 30px;
  margin-bottom: 15px;
  position: relative;
  color: #333;
  font-size: 1rem;
}

.modal-body li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent);
}




.btn-modal-action {
  display: inline-block;
  margin-top: 30px;
  background-color: var(--accent);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-modal-action:hover {
  background-color: #e65c00;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* 
.link-programas {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
} */

.badge-nuevo {
    background: linear-gradient(135deg, #3dff7a, #1fd65f);
    color: #0b2e16;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    white-space: nowrap;
}


@media (max-width: 480px) {
    .footer-links a {
        justify-content: flex-start;
    }

    .badge-nuevo {
        margin-left: 6px;
    }
}
