/* ==================== */
/* VARIABLES Y ESTILOS BASE */
/* ==================== */
:root {
  --color-primary: #a7441a;
  --color-secondary: #73300b;
  --color-light: #F6F3EF;
  --color-dark: #3d464c;
  --color-accent: #e86834;
  --text-light: #ffffff;
  --text-dark: #333333;
  --font-family: 'Satoshi', sans-serif;
  --border-radius: 12px;
  --box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}
#menu_movile { display: none; }

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


body {
  color: var(--text-dark);
  line-height: 1.6;
  background-color: #f6f3ef;
  overflow-x: hidden;
  font-family: var(--font-family);
}

h1, h2, h3, h4 {

  font-weight: 700;
  line-height: 1.2;
}

p {
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  letter-spacing: 0.3px;
  word-spacing: 1px;
}

a {
  text-decoration: none;
  color: inherit;
}


.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== */
/* HEADER Y NAVEGACIÓN */
/* ==================== */
.header {
  align-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px ;
  transition: var(--transition);
}

.logo {
  height: 90px;

  transition: opacity 1s ease, transform 2s ease;
}

.menu {
  background-color: var(--color-secondary);
  display: flex;
 font-weight: bold;
  padding: 5px;
  border-radius: 25px;
  gap: 5px;
}

.nav-btn {
  padding: 10px 20px;
  font-size: 1rem;
  color: var(--color-light);
  border-radius: 25px;
  transition: var(--transition);
}

.nav-btn:hover {
  color: var(--color-primary);
}

.nav-btn.activo {
  background-color: var(--color-primary);
  color: white;
}

/* ==================== */
/* SECCIÓN HERO/INICIO */
/* ==================== */
.hero {
  width: 100%;
  position: relative;
  height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
 
  overflow: hidden;  /* evita bordes feos del blur */
}

/* Imagen + blur */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('identidad/img_inicioCowork.jpeg') center/cover no-repeat;
  filter: blur(3px);
  transform: scale(1.05); /* evita ver los bordes del blur */
  z-index: 0;
}

/* Degradado encima de la imagen */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(198, 171, 130, 0.6), rgba(247, 140, 73, 0.3));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  justify-content: center;
  color: var(--text-light);
  padding: 0 20px;
}


.hero-title {
  font-size: clamp(8.5rem, 8vw, 5rem);
  
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.5rem);
}



.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.5rem);
}


.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 400;
  max-width: 800px;
  margin: 0 auto;
}

/* ==================== */
/* SECCIÓN ABOUT */
/* ==================== */
#about {
  width: 100%;
  padding: 80px 0;
  text-align: center;
  background-color: var(--color-light);
}

#about h2 {
  font-size: 2.2rem;
  color: var(--color-dark);
 
  margin: 0 auto;
}

/* ==================== */
/* SECCIÓN SERVICIOS */
/* ==================== */
#servicios-destacados {
  
  padding: 80px 0;
  padding-bottom: 10%;
  background: var(--color-primary)
}

#como-podemos-ayudarte {
  text-align: center;
  color: var(--text-light);
  font-size: 2.5rem;
  margin-top: 50px;
  margin-bottom: 20px;
}

.servicios-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 20px;
}

.servicio-card {
  flex: 1 1 305px;
  max-width: 350px;
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}


.servicio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.servicio-img {
  width: 500px;   /* ancho fijo */
  height: 240px;  /* alto fijo */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* evita que sobresalga */

}
#consultoria {
  width: 115%;
  height: 105%;
  object-fit: cover; 

}
#facilitacion img {
  width: 520px;  
  height: 265px; 
  object-fit: cover; 
}

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

.servicio-card h3 {
  padding: 20px;
  font-size: 1.3rem;
  color: var(--color-secondary);
}


/* ==================== */
/* SECCIÓN ALIANZAS */
/* ==================== */
#alianzas {
  padding: 80px 0;
  background-color: white;
  text-align: center;
}

#alianzas h2 {
  font-size: 2.5rem;
  color: var(--color-dark);
  margin-bottom: 50px;
}

.alianzas-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 20px;
}

.alianza-card {
  /*background-color: var(--color-dark);*/
  border-radius: var(--border-radius);
  transition: var(--transition);
   width: 300px;   /* ancho fijo */
  height: 200px;  /* alto fijo */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* evita que sobresalga */
}
#alianza-1{
   width: 230px;
  height: 230px;
  object-fit: cover;
}

#alianza-2{
  width: 350px;
  height: 350px;
  object-fit: cover;
}

#alianza-3 {
  margin-top: 50px;
  width: 450px;
  height: 450px;
  object-fit: cover;       
  object-position: center;
  display: block;         
}



.alianza-card:hover {
  transform: scale(1.05);
}

/* ==================== */
/* SECCIÓN NOSOTROS/EQUIPO */
/* ==================== */
#nosotros {
  padding: 50px 0;
  background-color: var(--color-dark);
  color: var(--text-light);
}

.equipo-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin: 50px;

}

.equipo-miembro {
  margin-left: 80px;
  display: flex;
  align-items: center;
 
}

.equipo-miembro img {
  width: 350px;
  height: 350px;
  border-radius: 30px;
  object-fit: cover;
}

.equipo-miembro h4 {
  font-size: 2.0rem;
  margin-bottom: 5px;
  margin-left: 35px;
}

.equipo-miembro p {
  font-size: 1.5rem;
  margin-left: 35px;
  opacity: 0.8;
}

.equipo-redes {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  align-items: center;
 
}

.logo-equipo {
  height: 130px;
  width: 130px;
 margin-right: 40px;
   margin-top: 30px;
  
}

.redes-sociales {
 margin-right: 40px;
  margin-top: 30px;
  display: flex;
 
}

.redes-sociales img {
  width: 70px;
  height: 70px;
}



/* ==================== */
/* SECCIÓN QUIENES SOMOS */
/* ==================== */
.hero2 {
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('identidad/img_banerQuienesSomos.jpeg') center/cover no-repeat;
  position: relative;
  margin-top: -80px;
}

.hero2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
}

.logo-container {
  position: relative;
  z-index: 2;
}

.logo-container img {
  height: 100px;
}

.mision-vision {
  padding: 80px 0;
  text-align: justify;
  background: var(--color-light)
  
}

.mision-vision h2 {
  font-size: 2.5rem;
  margin-left: 10%;
  text-align: start;
  margin-bottom: 30px;
  color: var(--color-dark);
}

.mision-vision p {
  text-align: justify; 
  margin-left: 10%;
  margin-right: 10%;
  
  font-size: 1.2rem;
}
.card-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 0 20px;
}

.card {
  flex: 1 1 300px;
  max-width: 400px;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden; /* Asegura que la imagen no sobresalga de los bordes redondeados */
}

.card img {
  width: 100%; /* Ocupa todo el ancho de la tarjeta */
  height: 250px; /* Altura fija como en tu ejemplo */
  object-fit: cover; /* Mantiene la proporción y cubre el espacio */
  display: block; /* Elimina espacio extra debajo de la imagen */
}

.card h3 {
  margin-top: 10px;
  color: var(--color-accent);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.por-que {
  padding: 80px 20px;
  
  background-color: var(--color-primary)
}

.por-que h2 {
  margin-left: 10%;
  text-align: start;
  color: white;
  font-weight: 100;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 40px;
}

.columnas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: 10%;
  margin: 0 auto;
}

.columnas p {

  margin-right: 10%;
  color: white;
  flex: 1 1 250px;
  font-size: 1.1rem;
  line-height: 1.8;
}
#porqueP1{
   margin-left: 10%;
}

#porqueP2{
  margin-right: 10%;
}

.valor-imagen {
  height: 40vh;
  background: url('identidad/img_porque.JPG') center/cover no-repeat;
}

/* BLOQUE DOBLE */
.bloque-doble {
  padding: 80px 20px;
  background-color: #f6f3ef;
}

.bloque-texto {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 115px;
  margin-bottom: 60px;
}

.columna {
  flex: 1 1 400px;
  max-width: 500px;
}

.columna h3 {
  font-size: 1.8rem;
  color: var(--color-dark);
  margin-bottom: 20px;
}

.columna p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.diferencial {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 120px;
  align-items: center;
  margin-bottom: 40px;
}

.texto-diferencial {
  flex: 1 1 400px;
  max-width: 500px;
}

.texto-diferencial h3 {
  font-size: 2rem;
  color: var(--color-dark);
  margin-bottom: 20px;
}

.texto-diferencial ul {
  list-style: none;
}

.texto-diferencial li {
  margin-bottom: 15px;
  font-size: 1.1rem;
  line-height: 1.6;
  position: relative;
  padding-left: 25px;
  text-align: left;
}

.texto-diferencial li::before {
  content: '•';
  color: var(--color-primary);
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -3px;
}

.imagen-diferencial {
  flex: 1 1 400px;
  max-width: 500px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.imagen-diferencial img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==================== */
/* SECCIÓN CONTACTO */
/* ==================== */
.contacto-section {
  padding: 80px 0;
  background-color: var(--color-primary);
  color: var(--text-light);
  text-align: center;
}

.contacto-section h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.contacto-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.info-contacto {
  flex: 1 1 400px;
  text-align: left;
  padding: 30px;
}

.info-contacto img {
  height: 120px;
  margin-bottom: 20px;
  margin-left: 50px;
}

.info-contacto p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.formulario-contacto {
  flex: 1 1 400px;
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  margin-bottom: 25px;
}

.formulario-contacto input,
.formulario-contacto textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  
  font-size: 1rem;
}

.formulario-contacto textarea {
  min-height: 150px;
  resize: vertical;
}

.formulario-contacto button {
  background-color: var(--color-secondary);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: var(--border-radius);
  
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.formulario-contacto button:hover {
  background-color: #7a360c;
}

/* ==================== */
/* SECCIÓN SERVICIOS DETALLADOS */
/* ==================== */
.servicios-hero {
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('identidad/img_comoPodemosAyudarte.png') center/cover no-repeat;
  position: relative;
  margin-top: -80px;
}

.servicios-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(225, 126, 69, 0.3);
}

.servicios-hero h2 {
  position: relative;
  z-index: 2;
  color: white;
  font-size: 3rem;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.servicio-detalle {
  padding: 80px 20px;
  background-color: #f6f3ef;
}

.servicio-detalle.alternado {
  background-color: white;
}

.servicio-contenido {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.servicio-imagen {
  flex: 1 1 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}
.servicio-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* recorta la imagen sin deformarla */
}


.servicio-descripcion {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.servicio-descripcion h2 {
  font-size: 2.2rem;
  color: var(--color-dark);
  margin-bottom: 20px;
}

.servicio-descripcion p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

/* ==================== */
/* AJUSTES RESPONSIVOS EXTRA */
/* ==================== */

/* Ajustes generales */
img {
  max-width: 100%;
  height: auto;
}

/* Servicios */
.servicio-img {
  width: 100%;     /* ahora ocupa el ancho del contenedor */
  max-width: 500px; /* límite en desktop */
  height: auto;    /* altura flexible */
}

.servicio-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Equipo */
.equipo-miembro img {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 15px;
}

/* Tipografías más fluidas */
h1, h2, h3, h4 {
  font-size: clamp(1.2rem, 2vw, 2.5rem);
}


/* ============================= */
/* RESPONSIVE: TABLETS y MÓVILES */
/* ============================= */

/* Tablets (hasta 992px) */
@media (max-width: 992px) {
  .equipo-container, 
  .columnas,
  .bloque-texto,
  .diferencial,
  .contacto-container,
  .servicio-contenido,
  .equipo-miembro {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .texto-diferencial, 
  .imagen-diferencial, 
  .columna {
    max-width: 90%;
  }

  .imagen-diferencial,
  .servicio-img {
    flex: 1 1 100%;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .menu {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }

  .nav-btn {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .hero2 { margin-top: 10px; }
  .hero { height: 70vh; }

  #como-podemos-ayudarte, 
  #alianzas h2, 
  .mision-vision h2, 
  .por-que h2, 
  .contacto-section h2 {
    font-size: 1.8rem;
  }
    .alianza-card {
    padding: 1000px;
  }
  .hero-content p {display: none;}
  .hero-title
  #porqueP2{
   margin-left: 10%;
   letter-spacing: 0px;
  }
  #porqueP1{
   letter-spacing: 0px;
  }



  .logo-equipo{display: none;}
  .equipo-miembro{
    justify-content: center;
    margin: 0%;
  }
  .infoEquipo{
    text-align: left;
  }
  .equipo-miembro p {
    text-align: left;
    font-size: 1.2rem;
  }
  .redes-sociales{
    align-items: center;
  }

  #menu_PC{
     display: none;
  }

  #menu_movile{
    display: block;
  }
}

/* Móviles (hasta 600px) */
@media (max-width: 600px) {
  .logo {
    display: none; /* Oculta el logo */
  }

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



  #porqueP2{
   margin-left: 10%;
   letter-spacing: 0px;
  }
  #porqueP1{
   letter-spacing: 0px;
  }

  .alianza-card {
    padding: 20px;
  }
  .servicios-hero h2 {
  text-align: center;
  }

  

  .whatsapp-button {
    width: 55px;
    height: 55px;
    font-size: 22px;
    bottom: 15px;
    right: 15px;
  }
}

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  font-size: 28px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: transform 0.2s;
}

.whatsapp-button:hover {
  transform: scale(1.5);
}


body.scrolled .logo {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none; /* opcional, para que no ocupe espacio */
}