/* Reset y fuente base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /*font-family: 'Poppins', sans-serif;*/
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

/* Encabezado */
header {
  background-color:#e1cb67;
  color: white;
  padding: 2rem;
  text-align: center;
}

header .logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

header .logo-container img.logo {
  width: 150px;
  height: auto;
}

header .logo-container .titulo-header {
  flex: 1;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #222;
}

header p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #222;
}

nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

nav a {
  color: #222;
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border: 2px solid white;
  border-radius: 5px;
  transition: 0.3s;
}

nav a:hover {
  background-color: #222;
  color: #e1cb67;
}

/* Imagen a pantalla completa */
.full-map img {
  width: 100vw;
  max-height: 60vh;
  object-fit: cover;
  display: block;
}

/* Contenido */
main {
  padding: 2rem 1rem;
  max-width: 900px;
  margin: auto;
}

/* Info */
.info {
  margin-bottom: 2rem;
}

.info h2 {
  color: #222;
  margin-bottom: 1rem;
}

.info p {
  font-size: 1rem;
  color: #444;
  line-height: 1.8;
}

/* Proceso y Ventajas */
.proceso-ventajas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin: 3rem 0;
  padding: 2rem 1rem;
  background-color: #f4f4f4;
  border-top: 3px solid #e1cb67;
  border-bottom: 3px solid #e1cb67;
  border-radius: 10px;
}

.proceso, .ventajas {
  flex: 1 1 400px;
}

.proceso h2, .ventajas h2 {
  font-size: 1.8rem;
  color: #222;
  margin-bottom: 1rem;
}

.proceso p, .ventajas ul {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

.ventajas ul {
  padding-left: 1.5rem;
  list-style: disc;
}

/* Servicios / Cards */
.servicios {
  text-align: center;
  margin: 3rem auto;
  padding: 2rem 1rem;
  background-color: #f4f4f4;
  border-top: 3px solid #e1cb67;
  border-bottom: 3px solid #e1cb67;
}

.servicios h2 {
  color: #222;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  max-width: 300px;
  flex: 1 1 250px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #e1cb67;
}

.card h3 {
  margin-bottom: 0.5rem;
  color: #e65327;
  font-size: 1.2rem;
}

.card p {
  font-size: 0.95rem;
  color: #555;
}

.cta-formulario {
  margin: auto;
  align-items: center;
  text-align: center;
}


.cta {
  background-color: #e1cb67;
  color: #e1cb67;
  color: #222;
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border: 2px solid white;
  border-radius: 5px;
  transition: 0.3s;
}

.cta:hover {
  background-color: #222;
  color: #e1cb67;
}


/* Quiénes somos */
.quienes-somos {
  padding: 2rem 1rem;
  max-width: 900px;
  margin: auto;
}

.quienes-somos h2 {
  color: #222;
  text-align: center;
  margin-bottom: 1rem;
}

.quienes-somos p {
  font-size: 1rem;
  color: #444;
  text-align: justify;
  line-height: 1.8;
}

/* Testimonios */
.testimonios {
  padding: 40px 20px;
  background-color: #f5f5f5;
  text-align: center;
  margin: 3rem 0;
  border-top: 3px solid #e1cb67;
  border-bottom: 3px solid #e1cb67;
}

.testimonios h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

.testimonios-container {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  padding-left: 10px;
  -webkit-overflow-scrolling: touch;
}

.testimonios-container::-webkit-scrollbar {
  height: 8px;
}

.testimonios-container::-webkit-scrollbar-thumb {
  background-color: rgba(225, 203, 103, 0.5);
  border-radius: 4px;
}

.testimonios-container::-webkit-scrollbar-track {
  background: transparent;
}

.testimonio-card {
  flex: 0 0 300px;
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  scroll-snap-align: start;
  text-align: left;
  user-select: text;
}

.testimonio-card p {
  font-size: 1rem;
  color: #555;
}

.testimonio-card span {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color:#e65327;
;
}

/* Formulario */
.formulario {
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  margin-top: 3rem;
}

.formulario h2 {
  margin-bottom: 1rem;
  color: #222;
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form input,
form textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
}

form button {
  background-color: #222;
  color: #e1cb67;
  border: none;
  padding: 0.8rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

form button:hover {
  background-color: #e1cb67;
  color: #222;
}

/* Footer */
footer {
  background-color: #222;
  color: #eee;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

.redes {
  margin-bottom: 1rem;
}

.redes a {
  color: #e1cb67;
  text-decoration: none;
  font-weight: bold;
  margin: 0 0.5rem;
}

.redes a:hover {
  text-decoration: underline;
}

.p-footer {
  font-size: 8px;
}

.logo-footer {
  width: 100px;
}

/* Botón WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  font-size: 2rem;
  text-align: center;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 1000;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 768px) {
  .proceso-ventajas {
    flex-direction: column;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .testimonios-container {
    gap: 10px;
  }
}

@media (max-width: 600px) {
  header h1 {
    font-size: 2rem;
  }

  nav {
    flex-direction: column;
    align-items: center;
  }

  .formulario {
    padding: 1rem;
  }

  .full-map img {
    max-height: 40vh;
  }

  header .logo-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  header .logo-container img.logo {
    width: 150px;
    margin-bottom: 10px;
  }
}
