
@font-face {
  /* 1. Define el nombre que usarás en CSS (¡Tú lo eliges!) */
  font-family: 'Geist'; 
  /* 2. Indica la ruta al archivo de la fuente */
  src: url('../../fonts/Geist-Light.woff2') format('woff2');

  
  font-weight: normal; 
  font-style: normal;
}

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

:root {
  --color-red: #cc343b;
  --color-red-light: #fde4e5;
  --color-blue: #3d648c;
  --color-light-blue: #eef2f7;
  --color-white: #ffffff;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-900: #111827;
}

html {
  scroll-behavior: smooth;
}

body {
    font-family: 'Geist';
    color: var(--color-gray-900);
    background: var(--color-white);
    line-height: 1.6;
}



/* Header Styles */
.header {
  position: sticky;
  top: 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-200);
  z-index: 1000;
}

.header-top {
  background: var(--color-red);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  font-size: 14px;
  font-weight: 300;
}

.header-top-content {
  width: 90%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}


.header-top-logo{
  height: 15px;
  padding-right: 8px;
  color: var(--color-white);
  filter: invert(1);
}


.header-main {
  width: 90%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--color-gray-900);
  height: 55px
}

.logo img{
  height: 100%;
}

.nav {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
  cursor: pointer;
}

.nav-link-btn {
  height: 100%;
  background-color: var(--color-red);
  color: var(--color-white);
  padding: 5px 15px;
  border: 1px solid var(--color-red);

  transition: all 0.2s ease-in-out;
}

.nav-link-btn:hover {
  background-color: var(--color-white);
  color: var(--color-red);
  border-color: var(--color-red);
}

.nav-link-btn-pago{
  height: 100%;
  background-color: var(--color-blue);
  color: var(--color-light-blue);
  padding: 5px 15px;
  border: 1px solid var(--color-blue);
  transition: all 0.2s ease-in-out;
}

.nav-link-btn-pago:hover {
  background-color: var(--color-light-blue);
  color: var(--color-blue);
  border-color: var(--color-blue);
}

.nav-link {
  all: unset;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
  cursor: pointer;
  font-weight: medium;
  font-size: .9rem;
}

.nav-link:hover {
  color: var(--color-red);
}

.nav-link-pago {
  all: unset;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
  cursor: pointer;
  font-weight: 150;
  font-size: .9rem;
}

.nav-link-pago:hover {
  color: var(--color-blue);
}

/* Container */
.container {
  width: 90%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 1rem;
  
}

/* Section */
.section {
  padding: 8rem 0;
  border-bottom: 1px solid var(--color-gray-300);

}

.section-title {
  font-size: 3rem;
  max-width: 1100px;
  margin: 0 auto 1rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: 2;
  color: var(--color-gray-900);
  line-height: 1.2;
}

.section-subtitle {
  text-align: center;
  color: var(--color-gray-600);
  font-weight: 300;
  max-width: 900px;
  margin: 0 auto 3rem;
  line-height: 1.4;
  letter-spacing: 1.5px;
  font-size: 1.2rem;
}


.hero-img {
  width: 100%;
  height: 100%;
  max-height: 450px;
  object-fit: cover;
  background-attachment: fixed;
}

/* Hero Section */
.hero {
  padding: 2.5rem;
  padding-bottom: 5rem;
  text-align: center;
  
}

.hero-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    align-items: space-between;
}


.hero-content-container {
    padding: 3rem 1rem;
    border: 1px solid var(--color-gray-200);
    border-left: 5px solid var(--color-blue);
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: left;
    text-align: start;
}

.hero-title{
  font-size: 1.1rem;
  color: var(--color-blue);
  font-weight: bolder;
  font-style: normal;
  margin: 0;
  padding: 0;
 
}

.hero-subtitle {
  font-size: 3.5rem;
  letter-spacing: 1px;
  font-weight: 500;
  color: var(--color-blue);
  margin: 0;
  padding: 0;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--color-gray-600);
  font-weight: 350;  
  text-align: left;
  margin-left: 5px;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex: 1;
  justify-content:end;
  align-items: end;
  flex-wrap: wrap;
}

.hero-grupoie {
  text-decoration: none;
  color: inherit;
  display: block;
}

.btn {
  padding: 0.4rem 1.2rem;
  font-size: 1rem;
  font-weight: 300;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  height: fit-content;
}

.btn-primary {
  background: var(--color-red);
  color: var(--color-white);
  border: 1px solid var(--color-red);
  
  transition: all 0.3s ease-in;

  &:hover {
    background-color: var(--color-white);
    border-color: var(--color-red);
    color: var(--color-red);
  }
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-gray-900);
  border: 1px solid var(--color-gray-700);
  
  transition: all 0.3s ease-in;

  &:hover {
    border-color: var(--color-red);
    color: var(--color-red);
  }
}

.hero-cards {
  gap: 10px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.hero-card {
  background-color: var(--color-white);
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 1.2rem 2rem;
  border: 1px solid var(--color-gray-200);
  border-left: 2px solid var(--color-red);
  /* border-top-left-radius: 5px;
  border-bottom-left-radius: 5px; */
  border-radius: 5px 0 0 5px;
  text-align: center;
  gap: 30px;
}

.hero-cards-info-container{
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hero-grupoie {
  background-color: var(--color-red) !important;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  border-color: var(--color-red);
  border-radius: 0 0 0 0 !important;
  /* width: fit-content; */
  /* margin: 0 auto; */
}

.hero-grupoie h3 {
  font-size: .9em;
  text-transform: uppercase;
}

.hero-card-title-container {
  display: flex;
  flex-direction: column;
  width: fit-content;
  justify-content: left;
}

.hero-card-icon {
  font-size: 2.5rem;
  justify-content: center;
}

.hero-card-icon img{
  width: 30px;
  height: 30px;
}

.hero-card-title {
  text-align: start;
  font-size: 1.5rem;
  font-weight: 400;
}

.hero-card-description {
  color: var(--color-gray-600);
  font-weight: 300;
  font-size: 1rem;
  text-align: left;
  padding-right: 5px;
}

.main-contact-container{
  display: flex;
  flex-direction: column;
  margin-top: 4em;
  gap: 1rem;
}

.main-contact-card{
  margin: 0 auto;
  font-size: 1.3rem;
  width: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: var(--color-white);
  padding: 2rem 3rem;
  gap: 25px;
}

.main-contact-card h3{
  text-transform: uppercase;
  color: var(--color-gray-900);
  font-size: 1em;
}

.paid-btn{
  cursor: pointer;
  border: 1px solid var(--color-gray-200);
  border-radius: 20px 0 20px 0;
  transition: all 0.2s ease;
  overflow: hidden;

  &:hover{
    transform: translateY(5px);
  }
}
/* Trayectoria Section */
.trayectoria-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}


.trayectoria-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-logo{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  margin-bottom: 15px;
  
  transition: all 0.4s ease-in-out;

  &:hover {
    transform: scale(1.2);
  }
}

.stat-logo-img {
  width: 100%;
  height: 100%;
}

.stat-logo-img-blue{
  filter: invert(35%) sepia(7%) saturate(2024%) hue-rotate(175deg) brightness(95%) contrast(88%)
}

.stat-logo-img-red{
  filter: invert(35%) sepia(97%) saturate(1105%) hue-rotate(324deg) brightness(89%) contrast(102%);
}

.stat-number {
  font-size: 3rem;
  font-weight: 300;

  color: var(--color-gray-900);
}

.stat-label {
  color: var(--color-gray-600);
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 1.2px;
}

.trayectoria-text, .planes-text{
  display: flex;
  flex-direction: column;
}

.trayectoria-text-title, .planes-text-title{
  font-size: 2.5rem;
  text-align: center;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--color-gray-900);
}

.trayectoria-text p {
  color: var(--color-gray-600);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 1rem;
  text-align: center;
  max-width: 900px;
}

#certificaciones {
  margin-top: 6rem;
}

.cert-grid {
  margin: 0 auto;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.cert-card {
  background: var(--color-white);
  padding: 2.5rem 2rem;
  border: 1px solid var(--color-gray-200);
  border-radius: 3px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
 

  transition: all 0.3s ease-in-out;
}

.cert-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-red);
}

.cert-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  background: var(--color-gray-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.5rem;
}

.cert-icon img{
  width: 32px;
  filter: invert(24%) sepia(93%) saturate(7445%) hue-rotate(2deg) brightness(90%) contrast(110%);
}

.cert-bag{
  color: var(--color-blue);
  background-color: var(--color-light-blue);
  padding: 5px 10px;
  min-width: 45px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 30px;
  margin: 0 auto;
}

.cert-title {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-gray-900);
  margin-bottom: 0.3rem;
}

.cert-description {
  color: var(--color-gray-600);
  font-weight: 300;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Servicios Section */
.servicios-grid {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  align-items: center;

  gap: 3rem;
  margin-bottom: 5rem;
}

.plan-card-secondary, .plan-card {
  display: flex;
  flex-direction: column;
  align-items: space-between;
}
.plan-card {
  border: 1px solid var(--color-gray-200);
  padding: 2rem;
  max-width: 600px;
  transition: all 0.3s ease-in-out;
  height: 100%;

  &:hover{
    transform: scale(1.02);
    border-color: var(--color-red);
  }
}

.plan-card-secondary {
  background-color: var(--color-red-light);
  border: 1px solid var(--color-red);
  padding: 2rem;
  max-width: 600px;

  transition: all 0.3s ease-in-out;

  &:hover{
    transform: scale(1.02);
  }
}


.plan-icon {
  width: 100%;
  height: 50px;
  margin-bottom: 1.2rem;
}

.plan-icon img{
  height: 100%;
}

.plan-icon-red{
  filter: invert(24%) sepia(93%) saturate(7445%) hue-rotate(2deg) brightness(90%) contrast(110%);
}

.plan-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: .5rem;
}

.plan-description {
  color: var(--color-gray-600);
  font-weight: 300;
  margin-bottom: 1rem;
}

.plan-features {
  list-style: none;
  text-align: left;
  margin-bottom: 1rem;
  flex: 1 1 auto;
}

.plan-features li {
  padding: 0.3rem 0;
  color: var(--color-gray-700);
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features li::before {
  content: "✔";
  color: var(--color-gray-700);
  font-weight: bold;
}

.plan-btn-container {
  width: 100%;
  display: flex;
}

.plan-btn-container .btn {
  width: 100%;
  text-align: center;

  transition: all 0.3s ease;

  &:hover{
    transform: translate(4px, -4px);
  }
}

/* Oculta el contenido por defecto */
/* Estilos básicos para el contenedor */
.accordion-container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
}

/* Estilo para la sección de cada pregunta */
.accordion {
    margin-bottom: 1rem;
    border: 1px solid var(--color-gray-200);
    border-radius: 5px;
    background-color: var(--color-white);
}

/* Oculta los inputs de radio, su función es para el estado */
.accordion input[type="radio"] {
    display: none;
}

/* Estilo para la etiqueta (pregunta) */
.accordion label {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    background-color: var(--color-blue);
    color: var(--color-white);
    transition: all 0.3s ease;
    border-radius: 5px 5px 0 0; /* Esquina superior redondeada */
}

.accordion label img{
  height: 40px;
  filter: invert(1);
}

.accordion label:hover {
  background-color: var(--color-red);
}

/* Estilo para el contenido (respuesta) */
.content {
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
    padding: 0 1rem;
    background-color: var(--color-gray-50);
    border-radius: 0 0 5px 5px; /* Esquina inferior redondeada */
}

.content p {
    padding: 1rem 1rem .5rem;
    line-height: 1.6;
    margin: 0;
    text-align: justify;
}

/* Selector ~ : el ~ es un selector de hermanos general.
   Selecciona el div .content que sigue inmediatamente a un .accordion .
   Si el input tiene el atributo 'checked', el contenido se mostrará. */
.accordion input[type="radio"]:checked ~ .content {
    max-height: 600px; /* Ajusta este valor según el contenido máximo que necesites */
    padding: 1rem;
}

.acordeon-contenido {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out; /* Para la animación de plegado */
}

.acordeon-btn-container {
  display: flex;
  width: 100%;
  justify-content: end;
  padding: 1rem 8px 0 0;

}

.acordeon-btn{
  text-decoration: none;
  cursor: pointer;
  
  transition: all 0.3s ease-in-out;

  &:hover{
    transform: translateX(5px);
  }
}


/* Cuando el checkbox está marcado, muestra el contenido */
.acordeon-checkbox:checked ~ .acordeon-contenido {
  max-height: 500px; /* Un valor lo suficientemente grande */
}


/* Testimonios Section */
.testimonios {
  background: var(--color-gray-50);
}

.testimonios-container {
  max-width: 1300px;
}

.testimonios-scroll {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 0 2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--color-gray-300) transparent;
}

.testimonios-scroll::-webkit-scrollbar {
  height: 8px;
}

.testimonios-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.testimonios-scroll::-webkit-scrollbar-thumb {
  background: var(--color-gray-300);
  border-radius: 4px;
}

.testimonial-card {
  min-width: 350px;
  background: var(--color-white);
  padding: 2rem;
  border: 1px solid var(--color-gray-200);
  scroll-snap-align: start;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-gray-200);
  overflow: hidden;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info h4 {
  font-weight: 400;
}

.testimonial-info p {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  font-weight: 300;
}

.testimonial-text {
  color: var(--color-gray-700);
  font-weight: 300;
  line-height: 1.6;
  font-style: italic;
}

.testimonial-rating {
  color: var(--color-red);
}

/* Contacto Section */
.contacto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contacto-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.contacto-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contacto-details{
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: justify;
}

.contacto-details h3 {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.contacto-details p {
  color: var(--color-gray-900);
  font-weight: 500;
  padding: .2rem;
}

.contacto-details p span{
  color: var(--color-gray-700);
}

.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contacto-form .btn {
  padding-top: 15px;
  padding-bottom: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 300;
  color: var(--color-gray-700);
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid var(--color-gray-300);
  border-radius: 0.375rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 300;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-blue);
}

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

/* Footer */
.footer {
  background: var(--color-gray-50);
  color: var(--color-white);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-weight: 400;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  color: var(--color-gray-900);
}

.footer-description {
  color: var(--color-gray-700);
  font-weight: 300;
  font-size: 0.875rem;
  line-height: 1.8;
  letter-spacing: 1.2px;
}

.footer-section p,
.footer-section a {
  color: var(--color-gray-600);
  font-weight: 300;
  font-size: 0.875rem;
  line-height: 1.8;
  text-decoration: none;
}

.footer-section a {
  transition: all 0.2s ease-in-out;
}

.footer-section a:hover {
  color: var(--color-red);
}

.footer-img-logo-container {
  display: flex;
  flex: 1;
  padding: 30px 5px;
  align-items: center;
}

.footer-img-logo-container img {
  width: 130px;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--color-blue);
  font-size: 1rem;
  letter-spacing: 1.2px;
  font-weight: 300;
}

.footer-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

a.footer-icons p {
  color: var(--color-blue);
}

.footer-icons svg {
  width: 20px;
  height: 20px;
}

.grupo-ie-footer{
    color: var(--color-red) !important;
    font-weight: 600 !important;
    transition: all 0.2s ease;

    &:hover{
        color: var(--color-blue) !important;
    }
}

/* ---------------------------------- */
/* ESTILO DEL BOTÓN DE WHATSAPP FLOTANTE */
/* ---------------------------------- */

.whatsapp-flotante {
    /* Fija la posición en la ventana de visualización */
    position: fixed; 
    
    /* Posición abajo a la izquierda */
    bottom: 20px; 
    right: 20px;
    
    /* Tamaño y forma circular */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    
    /* Color de WhatsApp */
    background-color: var(--color-red); 
    
    /* Sombra para que destaque un poco */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    
    /* Centra el icono dentro del círculo */
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Asegura que esté por encima de otros elementos */
    z-index: 1000; 
    
    /* Transición suave al pasar el ratón */
    transition: transform 0.3s ease;
}

/* Estilo al pasar el ratón (efecto de "rebote" o elevación) */
.whatsapp-flotante:hover {
    transform: scale(1.05);
}

/* Estilo de la imagen del icono dentro del círculo */
.whatsapp-flotante img {
    /* Ajusta el tamaño del icono dentro del botón */
    width: 35px; 
    height: 35px;
    /* Asegura que la imagen sea blanca si usas el color de fondo de WhatsApp */
    filter: brightness(0) invert(1);
}

/* ---------------------------------- */
/* ESTILO DEL BOTÓN INSTAGRAM FLOTANTE */
/* ---------------------------------- */
.instagram-flotante {
    /* Mismas propiedades de posición fija */
    position: fixed; 
    z-index: 1000;
    
    /* Posición calculada (Encima del FAQ) */
    bottom: 80px; /* 90px (FAQ) + 60px (tamaño) + 10px (espacio) */
    right: 20px;
    
    /* Tamaño y forma circular (igual que los otros) */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    
    /* Color de contraste (usaremos el color morado/rosa de Instagram) */
    background: var(--color-red);
    color: var(--color-white);
    
    /* Efectos visuales */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none; /* Asegura que no tenga subrayado */
    
    transition: transform 0.3s ease;
}

.instagram-flotante:hover {
    transform: scale(1.05);
}

/* Estilo de la imagen dentro del círculo */
.instagram-flotante img {
    width: 35px;
    height: 35px;
    /* Si el icono es SVG, a veces es mejor no aplicar filtros para mantener el color */
}

/* ---------------------------------- */
/* ESTILO DEL BOTÓN FAQ FLOTANTE */
/* ---------------------------------- */
.faq-flotante {
    /* Mismas propiedades de posición fija */
    display: none;
    z-index: 1000;
    width: 0;
    
    /* Posición: Mismo 'left', pero más arriba que WhatsApp (60px + 20px + espacio) */
    bottom: 140px; /* 20px (del borde) + 60px (tamaño WhatsApp) + 10px (separación) = 90px */
    right: 20px;
    
    /* Tamaño y forma circular */
    width: 50px;
    height: 50px;
    border-radius: 50%;
   
    /* Color de contraste (usaremos un color azul) */
    background-color: var(--color-blue);
    color: var(--color-white);
    
    /* Reset de estilos de botón */
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  
    
    transition: all 0.3s ease;
}

.faq-flotante:hover {
    transform: scale(1.05);
    background-color: var(--color-red);
}

.faq-flotante .faq-icon {
    font-size: 25px;
    font-weight: 300;
    filter: brightness(0) invert(1);
    line-height: 1;
}


/* Responsive */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }
  
  .container{
    padding: 0 10px;
  }

  .hero-container {
    margin-top: -5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: space-between;
  }

  .hero-content-container {
    gap: 1rem;
    display: flex;
    width: 100%;
    border-left: 1px solid var(--color-gray-200);
    border-top: 4px solid var(--color-blue);
    border-radius: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }

  .hero-title{
    font-size: .9rem;
  }

  .hero-subtitle{
    font-size: 2rem;
    font-weight: bolder;
    margin-bottom: 0;
  }

  .hero-description{
    font-size: .85rem;
    font-weight: 300;
    margin: 0;
    max-width: 100%;
  }

  .hero-buttons{
    width: 100%;
  }

  .hero-cards,
  .servicios-grid {
    display: flex;
    flex-direction: column;
    justify-content: center;

  }

  .hero-cards{
    justify-content: center;
    gap: 1.5rem;
  }

  .hero-card-description {
    text-align: start;
  }

  .trayectoria-stats{
    grid-template-columns: 1fr;
  }


  .testimonial-card {
    min-width: 300px;
  }

}

@media screen and (max-width: 900px) {
  .nav {
    display: none;
  }
  .header-main {
    justify-content: center;
  }

  .footer {
    padding-bottom: 6rem !important;
    display: flex;
    flex-direction: column;
    gap: 1rem;

    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .footer-img-logo-container{
    margin-top: 10px;
    width: 100%;
    justify-content: center;
  }

  .footer-section{
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    
  }

  .footer-icons {
    display: flex;
    margin: 10px auto;
  }
  
  .faq-flotante {
    bottom: 15px; /* Ajuste para el tamaño reducido de móvil (50px + 10px + 15px) */
    right: 135px;
    position: fixed;
        /* Centrado del ícono */
    display: flex;
    justify-content: center;
    align-items: center;

  }



  .whatsapp-flotante {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }
  .whatsapp-flotante img {
    width: 30px; 
    height: 30px;
  }

  .instagram-flotante {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 75px;
  }
  .instagram-flotante img {
    width: 30px; 
    height: 30px;
  }

  .accordion-container {
        margin: 1rem auto;
  }

  .accordion label {
      font-size: 1.1rem;
  }

}

@media screen and (max-width: 600px) {
  .hero {
    padding: 2.5em 0;
  }

  .hero-container {
    width: 100%;
  }
}


/* ---------------------------------- */
/* ESTILO DEL MODAL (VENTANA EMERGENTE) */
/* ---------------------------------- */

/* Fondo oscurecido */
.modal {
    display: none; /* Oculto por defecto */
    position: fixed; 
    z-index: 2000; /* MUY ALTO para asegurar que cubre todo */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7); /* Fondo semi-transparente */
}

/* Contenido del modal */
.modal-content {
    background-color: var(--color-gray-100);
    margin: 15% auto; /* 15% arriba y centrado */
    padding: 30px;
    border: 1px solid var(--color-gray-300);
    width: 80%;
    max-width: 900px;
    border-radius: 3px;
    position: relative;
    box-shadow: 3px 3px 5px #3a3a3a5e,
                -3px -3px 5px #1f1e1e5e;

    animation: fadeIn 0.5s;
}

/* Botón de cerrar */
.cerrar-modal {
    color: var(--color-gray-600);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
}

.cerrar-modal:hover,
.cerrar-modal:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Animación simple de aparición */
@keyframes fadeIn {
    from {opacity: 0} 
    to {opacity: 1}
}

.pagar-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 800px;
  margin: 4em auto;
  margin-top: 5em;
}

.pagar-section div {
  text-align: left;
  max-width: 400px;

  & p { opacity: .7; margin-top: 5px; }
}

.pagar-section img {
  display: block;
  border: 2px solid var(--color-gray-200); /* azul macro */
  border-radius: 12px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(47, 51, 54, 0.2);
  cursor: pointer;
  width: 160px;
}

.pagar-section img:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(50, 57, 63, 0.35);
  background: #f8fbff;
}