/* 1. ESTILOS GENERALES (Móvil Primero / Base) */
* { 
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;}

body { 
  background-color: white;
  color: black;}

.content { 
  padding: 20px;
  text-align: center;}

.contentN { 
  width: 90%;
  padding-top: 20px;
  padding-bottom: 20px;
  gap: 20px;
  text-align: center;}

.SoyPContent {
  display: flex; 
  flex-direction: column-reverse;}

.SoyP {
  width: 100%;}
.SoyP img {
  width: 440px;
  margin-left: -45px;
  margin-top: -15px;}

.SoyPTexto {
  width: 100%;
  margin-top: 10px;}
.SoyPTexto h3 {
  font-size: 1.35em;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 20px;
  color: #1e547e;}
.SoyPTexto p {
  font-size: 1.1em;
  line-height: 1.7em;
  margin-left: 10px;
  margin-right: 10px;}
.SoyPTexto img {
  width: 360px;
  margin-top: 5px;}

.Boton {
  background-color: black;
  width: 100%;
  height: 28px;
  margin-top: 25px;
  margin-bottom: 10px;
  border-radius: 28px;}
.Boton p {
  color: white;
  letter-spacing: 0.3em;
  padding-top: -5px;}

.grid { 
  display: grid;  
  grid-template-columns: 1fr; /* 1 columna en celular */
  gap: 15px;
  width: 100%;
  margin-top: 50px;}

:root {
  --slide-speed: 1s; /* Tiempo que tarda en deslizarse */}
.Marcas {
  width: 100%;
  overflow: hidden;
  position: relative;
  background-color: black;  
  background-size: 100%;
  height: 180px;}
.Marcas h2 {
  padding-top: 20px;
  font-size: 1.1em;
  text-align: center;
  color: white;}
.slider-track {
  display: flex;
  /* El ancho se calcula para albergar las 19 imágenes cómodamente */
  width: calc((100% / 2) * 19); 
  animation: scrollInfinite 24s ease-in-out infinite;}
.slide {
  /* Cada bloque ocupa exactamente la cuarta parte del contenedor visible */
  width: calc(100% / 19); 
  box-sizing: border-box;
  padding: 25px;}
.slide img {
  margin-top: 10px;
  width: auto;
  height: 80px;
  display: block;
  object-fit: cover;}

@keyframes scrollInfinite {
  0%, 20.83% {
    transform: translateX(0);}
  25%, 45.83% {
    transform: translateX(-15%);}
  50%, 70.83% {
    transform: translateX(-30%);}
  75%, 95.83% {
    transform: translateX(-45%);}
  100% {
    transform: translateX(-60%); /* Avanza 3 posiciones finales para encajar el clon perfecto */}
}


.NumerosA {
  background-color: #1e547e;  
  background-size: 100%;
  height: 220px;
  padding-top: 10px;
  color: white;
  display: flex; 
  flex-direction: row;}
.NumerosA img {
  width: 80px;
  margin-bottom: 15PX;}
.NumerosA p {
  font-size: 1.2em;
  line-height: 1.5em;}

.FondoV {
  background-color: #9854a6;  
  background-size: 100%;
  height: 90px;
  color: white;}
.FondoV p {
  font-size: 1.1em;
  line-height: 1.5em;}

.GridPor {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Crea 3 columnas iguales */
  grid-template-rows: repeat(2, auto);    /* Crea 2 filas */
  gap: 10px;
  margin-bottom: 30px;}  
.CardPor img {
  width: 100%;        /* La imagen se ajusta al ancho de su celda */
  height: 200px;      /* Alto fijo opcional */
  object-fit: cover;  /* Evita que la imagen se deforme */}
.CardPor p{
  font-size: 1 em;
  color: #9854a6;
  text-align: center;}

.Mockup {
  margin-right: -30px;}  
.Mockup img {
  width: 100%;
  height: 220px;
  margin-top: -5px;
  object-fit: cover;  /* Evita que la imagen se deforme */}
.Especialidad {
  margin-top: 220px;}

.Proceso {
  margin-top: 10px;}
.gridP { 
  display: grid;  
  grid-template-columns: 1fr; /* 1 columna en celular */
  gap: 15px;
  width: 100%;}
.ProcesoContent {
  display: flex; 
  flex-direction: column;}
.TituloP img {
  width: 480px;
  margin-top: 20px;
  margin-bottom: 10px;
  margin-left: -45px;}
.Procesoico {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr; /* 1 columna en celular */}
.Procesocard {
  display: flex; 
  flex-direction: row;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  margin-top: 20px;}
.Procesocardico {
  width: 25%;}
.Procesocardico img {
  width: 55px;
  margin-top: -10px;
  margin-left: 15px;
  margin-right: 70px;}


.Titulos img {
  width: 440px;
  margin-top: 20px;
  margin-bottom: 10px;
  margin-left: -45px;}

.SoyDContent {
  display: flex; 
  flex-direction: column-reverse;}

.SoyD {
  width: 100%;}
.SoyD img {
  width: 480px;
  margin-left: -50px;
  margin-top: 40px;
  margin-bottom: -24px;}

.SoyDico {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr; /* 1 columna en celular */}

.Creacard {
  display: flex; 
  flex-direction: row;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding-top: -20px;}

.card {
  display: flex; 
  flex-direction: row;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  margin-top: 20px;}

.cardtext {
  width: 75%;
  margin-right: 4px;
  margin-bottom: 30px;}  
.cardtext h5 {
  text-align: left;
  margin-bottom: 15px;
  font-size: 1em;
  color: #1e547e;}
.cardtext p {
  text-align: left;}

.cardico {
  width: 25%;}
.cardico img {
  width: 60px;
  margin-top: -10px;
  margin-left: 15px;
  margin-right: 75px;}

footer {
  margin-left: -30px;}
.Copyright img {
  margin-left: 60px;}
.Copyright p {
  margin-left: 30px;}

/* 2. MENÚ HAMBURGUESA (Estilos para Celular < 768px) */
.navbar {
  background-image: url(../ico/FondoA-01.png); 
  background-repeat: no-repeat; 
  background-size: 100%;
  background-position: top;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: black;
  color: #fff;
  padding: 15px 20px;
  position: relative;
  height: 140px;}
.logo img{
  width: 330px;
  margin-left: -8px;}

  
.menu-checkbox {
  display: none; /* Oculta el checkbox real */}

/* Icono de barras */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-top:15px;}

.hamburger span {
  background-color: #fff;
  height: 3px;
  width: 25px;
  transition: 0.3s;}

Footer {
  background-color: black;  
  background-size: 100%;
  height: 950px;}
.FondoN {
  color: white;}

.NuevoT {
  margin-left: 28px;}
.NuevoT img {
  width: 450px;
  margin-top: 40px;
  margin-bottom: -70px;}


.PieV {
  display: flex;
  flex-direction: column;}
.PieH {
  display: flex;
  flex-direction: row;}
.PieCambia {
  display: flex;
  flex-direction: column;}

.PieF {
  width: 50%;
  margin-right: 10px;}
.PieT {
  margin-top: 20px;
  padding-left: 105px;
  padding-top: 20px;
  text-align: left;
  width: 100%;}
.PieT h2 {
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 1.1em;}
.PieIco img{
  width: 20px;
  margin-right: 20px;
  margin-bottom: 10px;}
.PieIco a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9em;}
.PieIco a:hover{
  color: #93c144;
  text-decoration: none;}

.Copyright {
  text-align: center;}
.Copyright img {
  width: 33px;
  margin-right: 15px;
  margin-top: 25px;}
.Copyright p {
  margin-top: 8px;
  margin-bottom: 10px;}

/* Lista de enlaces oculta por defecto en celular */
.nav-links {
  display: none; 
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: black;
  text-align: center;
  padding: 10px 0;
  margin-right: 20px;}

.nav-links li {
  list-style: none;
  padding: 15px 0;}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;}
.nav-links a:hover{
  color: #93c144;
  text-decoration: none;}

/* Mostrar menú al marcar el checkbox */
.menu-checkbox:checked ~ .nav-links {
  display: flex;}

/* Animación básica del icono al abrir */
.menu-checkbox:checked ~ .hamburger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);}
.menu-checkbox:checked ~ .hamburger span:nth-child(2) {
  opacity: 0;}
.menu-checkbox:checked ~ .hamburger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);}





/* 3. MEDIDA TABLET (Desde 768px hasta 1023px) */
@media (min-width: 768px) {
    /* Ocultar botón hamburguesa */
.hamburger {
  display: none;}

/* Mostrar menú en línea horizontal */
.navbar {
  height: 180px;}
.nav-links {
  display: flex !important; /* Fuerza a mostrarse */
  flex-direction: row;
  position: static;
  width: auto;
  padding: 0;
  gap: 20px;
  margin-right: 50px;}
.nav-links li {
  padding: 0;}
.nav-links a {
  font-size: 1rem;}

/* Cambiar contenido a 2 columnas */
.grid {
  grid-template-columns: repeat(2, 1fr);}
.Mockup img{
  height: 480px;}
.Especialidad {
  margin-top: 480px;}

.SoyDContent {
  display: flex; 
  flex-direction: row;}
.SoyD img {
  width: 550px;
  margin-left: -100px;
  margin-right: -90px;
  margin-top: 130px;}  

.cardtext{
  margin-right: 6px;
  margin-bottom: 15px;} 
.cardico img {
  width: 60px;
  margin-top: -10px;
  margin-left: 55;
  margin-right: 5%;}

Footer {
  height: 620px;}
.NuevoT {
  margin-left: 30px;}
.NuevoT img {
  width: 560px;
  margin-top: 50px;
  margin-bottom: -90px;}

.PieCambia {
  display: flex;
  flex-direction: row;}

.PieT {
  margin-left: -30px;
  margin-top: 10px;}



}





/* 4. MEDIDA PC / ESCRITORIO (Desde 1024px en adelante) */
@media (min-width: 1024px) {
.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;}
.SoyPContent {
  display: flex; 
  flex-direction: row;}

.SoyP img {
  width: 790px;
  margin-top: -30px;
  margin-right: -100px;}

.SoyPTexto h3{
  margin-top: 50px;}
.SoyPTexto p{
  margin-left: 2px;
  margin-right: 2px;}
.SoyPTexto img {
  width: 460px;
  margin-top: 20px;}

.Boton {
  background-color: black;
  width: 100%;
  height: 28px;
  margin-top: 25px;
  border-radius: 28px;}
.Boton p{
  color: white;
  letter-spacing: 0.3em;
  padding-top: -5px;}


.SoyDContent {
  display: flex; 
  flex-direction: row;}
.SoyD {
  width: 30%;}
.SoyD img {
  width: 520px;
  margin-top: 120px;}

 
.SoyDico {
  width: 70%;
  display: grid;
  grid-template-columns: 1fr; /* 1 columna en celular */}


/* Cambiar contenido a 3 columnas */
.navbar {
  height: 210px;}
.logo img{
  width: 340px;
  margin-left: 280px;}

.grid {
  grid-template-columns: repeat(3, 1fr);}
.slider-track {
  width: calc((100% / 6) * 19); 
  animation: scrollInfinite 24s ease-in-out infinite;}

.Titulos img {
  width: 650px;
  margin-bottom: 20px;}
  
.FondoV {
  height: 50px;
  color: white;
  margin-top: -15px;}
.FondoV p{
  font-size: 1.1em;
  letter-spacing: 0.2em;
  margin-top: -25px;}

.Mockup {
  margin-right: -30px;}  
.Mockup img {
  margin-top: -30px;
  width: 100%;
  height: 650px;
  object-fit: cover;  /* Evita que la imagen se deforme */}
.Especialidad {
  margin-top: 650px;}

.SoyDContent {
  display: flex; 
  flex-direction: row;}

.SoyD {
  width: 45%;}
.SoyD img {
  width: 650px;
  margin-left: -110px;
  margin-top: 45px;
  margin-bottom: -30px;}

.SoyDico {
  width: 55%;
  display: flex;
  flex-wrap: wrap;}

.Creacard {
  width: 100%;
  display: flex; 
  flex-direction: column;
  padding-left: 25px;
  gap: 20px;}

.card {
  width: 50%;
  display: flex; 
  flex-direction: column;
  padding-left: 35px;
  gap: 20px;}
.cardico{
  margin-top: 10px;
  margin-left: 25%;
  margin-right: 25%;}
.cardico img {
  width: 70px;
  margin-top: -10px;
  margin-right: 200px;}

.cardtext{
  width: 75%;}  
.cardtext h5{
  text-align: left;
  margin-bottom: 15px;
  font-size: 1em;}
.cardtext p{
  text-align: left;}

.NuevoT {
  width: 45%;}
.NuevoT img {
  width: 650px;
  margin-left: -110px;
  margin-top: 45px;
  margin-bottom: -30px;}


Footer {
  height: 720px;}

.NuevoT {
  margin-left: 250px;}
.NuevoT img {
  width: 650px;
  margin-top: 70px;
  padding-bottom: -50px;}

.PieCambia {
  display: flex;
  flex-direction: row;}

.PieF {
  width: 50%;
  margin-right: 60px;
  margin-bottom: -50PX;}
.PieT {
  margin-top: 20px;
  text-align: left;
  width: 100%;
  margin-left: -100px;}
.PieT h2 {
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 1.1em;}
.PieIco img{
  width: 20px;
  margin-right: 20px;
  margin-bottom: 10px;}




}