/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: linear-gradient(to right, #f0b1ac, #f11717);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  font-weight: bold;
  font-size: 1.1rem;
  margin-right: 10px;
}
.logo img{
  width: 40px;
  height: 40px;
  border-radius: 50%;

}

.empresa {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav {
  display: flex;
  gap: 1rem;
}

.nav a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
}

.nav a:hover {
  opacity: 0.8;
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.overlay2 {
  position: absolute;
  inset: 0;
  background: rgba(48, 48, 47, 0.4);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h2{
  font-size: 35px;
}

.hero-content p{
  margin: 10px;
}

.hero2-content2 {
  position: relative;
  z-index: 1;
  text-align: center;
  color: rgb(8, 8, 8);
  max-width: 800px;
  padding: 0 20px;
}

.hero2-content2 h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 
  -1px -1px 0 white,
  -1px 1px 0 white,
  1px 1px 0 white,
  1px -1px 0 white;
}

.hero2-content2 p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: white;
}

.btn {
  background: #facc15;
  color: #1f2937;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #eab308;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

/* Services */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  background: #f3f4f6;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* partner*/

.productos{
    width: 95%;
    display: flex; 
    text-align: center;

}
.productos a{
  color: white;
  text-decoration: none;
}
.grid-layout3{
	margin: auto;
	display: grid;
	grid-template-columns: auto auto auto auto;
	grid-template-rows: auto auto auto auto;
}
.caja2{
    height: 110px;
	  width: 110px;
	  align-items: center;
    display: flex;
    position: relative;
    margin: 15px;
}
.productos .caja{
    position: relative;
}
.productos img{
    height: 110px;
    width: 110px;
    margin-bottom: 15px;
    position: relative;
}
.info img{
    height: 110px;
    width: 110px;
    margin-bottom: 0px;
    margin-left: 5%;
}
.tex{
    position: absolute;
    background-color: black;
    color: aliceblue;

}
.caja2 .info{
    display: flex;
    position: absolute;
    height: 100%;
    width: 100%; 
    align-items: center; 
    font-size: 9px; 
    opacity: 0;
    margin-bottom: 10px;
    border-radius: 10px;
    transition: 1s;
}
.caja2 .info:hover {
    position: absolute;
    opacity: 90%;
    cursor: pointer;
    background: hsla(0, 1%, 25%, 0.9);
}
.caja2 p{
    color: white;
    text-align: center;
    margin-left: 10px;
    padding: 5px;
}
.titulo{
  display: flex;
}
.titulo3{
  margin: auto;
  text-align: center;
  align-items: center;
  color: #0f0f0f;
}

/* Gallery  de comentarios*/
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item .description {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .description {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.1);
}
/*testimonios*/
.testimonio{
  padding: 10px;
}
/* Padding interno ampliado */
.p-8 {
  padding: 2rem;
}

/* Texto centrado */
.text-center {
  text-align: center;
  padding: 5px;
}

/* Espaciado entre elementos */
.mb-4 {
  margin-bottom: 1rem;
  margin-top: 2rem;

}

.mb-4 img{
  height: 100px;
  width: 100px;

}

/* Contact */
.contact-form {
  display: grid;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
  font-size: 1rem;
}

.contact-form button {
  padding: 1rem;
  background: #ee2020;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #0a0a0a;
}

/* Map */
.map-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Footer */
.contenedor-footer {
    display: flex;
    width: 90%;
    justify-content: space-evenly;
    margin: auto;
    padding-bottom: 40px;
    border-bottom: 1px solid #ccc;
}

.content-foo {
    text-align: center;
    text-decoration: none;
}

.content-foo img {
    height: 40px;
    width: 40px;
    text-decoration: none;
}

.content-foo h4 {
    color: #fff;
    border-bottom: 3px solid #6d6d6a;
    padding-bottom: 5px;
    margin-bottom: 10px;
}
.contenedor-footer li{
  text-decoration: none;
}

.content-foo p {
    color: #a7a3a3;
    font-size: 15px;
}

.footer {
  background: #1f2937;
  color: white;
  text-align: center;
  padding: 2rem 0;
  font-size: 14px;
}
.footer img{
  height: 25px;
  width: 25px;
}
.carri{
  font-size: 10px;
}
.carri a{
  text-decoration: none;
  color: white;
}


/* Ajuste opcional: márgenes internos responsivos */
@media (max-width: 640px) {
  .p-8 {
    padding: 1.5rem;
  }

  .grid-layout3{
        margin: auto;
        display: grid;
        grid-template-columns: auto auto;
        grid-template-rows: auto auto;
    }

    .contenedor-footer{
        flex-direction: column;
        border: none;
    }

    .content-foo{
        margin-bottom: 20px;
        text-align: center;
    }

    .content-foo h4{
        border: none;
    }

    .content-foo p{
        color: #ccc;
        border-bottom: 1px solid #f2f2f2;
        padding-bottom: 20px;
    }
}
