
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* Estilos globales para prevenir desbordamiento */
* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  margin: 0;
  padding: 0;
}

/* Navbar transparente que se vuelve azul oscuro */
.navbar {
  background-color: transparent;
  transition: background-color 0.3s ease;
}
.navbar.scrolled {
  background-color: #10174f !important;
}

/* Menú móvil con fondo azul */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: #10174f;
    margin-top: 10px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  
  .navbar-nav {
    margin-bottom: 15px;
  }
  
  .nav-link {
    color: white !important;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-link:hover {
    color: #A67F3E !important;
  }
  
  .cartel-prohibido {
    margin-top: 10px;
    text-align: center;
  }
}
.cartel-prohibido {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cartel-prohibido:hover {
    transform: scale(1.05);
}

.cartel-img {
    width: 88px;
    height: 40px;
    object-fit: cover;
    display: block;
    border: 3px solid #dc3545;
    border-radius: 25px;
}
/* Hero section */
.hero {
  height: 80vh;
  background: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') center center / cover no-repeat;
  position: relative;
  padding-top: 80px;
}
.hero::before {
  content: "";
  position: absolute;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(0, 0, 0, 0.6);
  z-index:1;
}
.hero .container {
  position: relative;
  z-index: 2;
}

.tituloHero{
    font-family:  "Playfair Display", serif;
    font-weight: 400;
    font-size: 52px;
}
.lead{
    margin-bottom: 5%;
}
.botonhero{
    background-color: #A67F3E;
    color: #ffff;
    padding: 15px 35px;
    border-radius: 28px;
    text-decoration: none;
}

/* carrusel logos */

.logo-carousel {
  background-color: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.logo-track {
  animation: scrollLogos 40s linear infinite;
  display: flex;
  gap: 80px;
  width: max-content;
}

.logo-item {
  flex: 0 0 auto;
  width: 150px;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.logo-item img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  transition: transform 0.3s;
}

.logo-item:hover img {
  transform: scale(1.05);
}


/*'Sobre Nosotros' */
.sobre{
    margin-top: 8%;
    margin-bottom: 10%;
}
.sobre-contenedor {
  max-width: 1140px;
}
.sobre h2 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  line-height: 1.3;
}
.textodorado{
  color: #A67F3E;
}
.tituloSobreNosotros{
  font-family: "Playfair Display", serif;
  color: #A67F3E;
}
.img-stack {
  position: relative;
  width: 100%;
  max-width: 500px;
  min-height: 280px;
}

.img1 {
  position: relative;
  z-index: 2;
  left: 200px;
  bottom: 20px;
  width: 50%;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.img2 {
  position: absolute;
  bottom: -100px;
  left: -10px;
  width: 60%;
  z-index: 1;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(185, 20, 20, 0.15);
}
.ultimonosotros{
    margin-bottom: 10%;
}

/* servicios */
.servicios {
  background-color: #f9f6f1; /* Color crema claro */
}

.servicios h2 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  line-height: 1.3;
}

.servicios .card h5 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
}

.textodorado {
  color: #A67F3E;
}

/* Diferencial */
.diferencial {
  background-color: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.diferencial h3 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: 1.8rem;
}

.diferencial .lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

.diferencial .btn-lg {
  font-weight: 500;
  padding: 12px 40px;
  font-size: 1rem;
  width: auto;
  display: inline-block;
}

/* Responsive para diferencial */
@media (max-width: 768px) {
  .diferencial h3 {
    font-size: 1.5rem;
  }
  
  .diferencial .lead {
    font-size: 1rem;
  }
  
  .diferencial .btn-lg {
    padding: 12px 30px;
    font-size: 1rem;
  }
}


/* Empresas con las que trabajamos */
.empresas {
  background-color: #f9f6f1;
  padding-top: 10%;
  padding-bottom: 10%;
}

.empresas h2 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  line-height: 1.3;
}

.empresa-card {
  background-color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.empresa-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

.empresa-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
}

.empresa-logo-pequeño {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 6px;
}

.empresa-item {
  background-color: white;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.empresa-item:hover {
  transform: translateY(-3px);
}

.btn-outline-dorado {
  color: #A67F3E;
  border: 2px solid #A67F3E;
  background-color: transparent;
  transition: all 0.3s ease;
}

.btn-outline-dorado:hover {
  color: white;
  background-color: #A67F3E;
  border-color: #A67F3E;
}

/* Responsive para empresas */
@media (max-width: 768px) {
  .empresa-logo {
    width: 60px;
    height: 60px;
  }
  
  .empresa-logo-pequeño {
    width: 50px;
    height: 50px;
  }
  
  .empresa-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .empresa-logo {
    width: 50px;
    height: 50px;
  }
  
  .empresa-logo-pequeño {
    width: 40px;
    height: 40px;
  }
  
  .cartel-img {
    width: 65px;
    height: 40px;
  }
  
  .cartel-prohibido {
    padding: 5px 10px;
    border-width: 2px;
  }
}


/* Propuesta de valor */
.descarga-guia {
  background-color: #fef8f1; /* cremita */
}

.descarga-guia h2 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  color: #10174f;
  line-height: 1.3;
}

.descarga-guia .textodorado {
  color: #A67F3E;
}

.guia-form input {
  border-radius: 8px;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
}

.guia-form input:focus {
  border-color: #A67F3E;
  box-shadow: 0 0 0 0.15rem rgba(166, 127, 62, 0.25);
}

.guia-form button {
  font-weight: 500;
}





/* Contacto */
.contacto h2 {
  color: #000;
  font-weight: 650;
  font-family:"Playfair Display", serif;

}

.contacto p {
  margin-bottom: 0.5rem;
}

.contacto i {
  display: block;
  margin-bottom: 0.5rem;
  color: #A67F3E;
}


.btn-dorado {
  background-color: #A67F3E;
  color: #fff;
  border: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-dorado:hover {
  background-color: #8e6b34; /* tono más oscuro para hover */
  color: #fff;
}

.btn-dorado:active {
  background-color: #72562a; /* aún más oscuro al hacer clic */
  transform: scale(0.98);
}


.contacto form .btn {
  border-radius: 28px;
}


.contacto .form-control {
  border-radius: 6px;
  border-color: #ddd;
}

.contacto .form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(166, 127, 62, 0.25);
  border-color: #A67F3E;
}

.textoiconos{
    font-family:"Playfair Display", serif;
}


/* Footer */
.footer {
  background-color: #10174f;
  color: white;
  font-size: 0.95rem;
}

.footer-link {
  color: #bbb;
  text-decoration: none;
}

.footer-link:hover {
  color: #fff;
  text-decoration: underline;
}

.textodorado {
  color: #A67F3E;
}

.footer i {
  font-size: 1rem;
}
.footer li{
    color: #bbb;
}

.footer .social-icons i {
  font-size: 1.25rem;
  transition: color 0.3s ease;
}

.footer .social-icons i:hover {
  color: #ffffff;
}














@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Responsive para el carrusel de logos */
@media (max-width: 768px) {
  .logo-carousel {
    padding: 0;
  }
  
  .logo-track {
    gap: 40px;
  }
  
  .logo-item {
    width: 120px;
  }
  
  .logo-item img {
    max-height: 50px;
  }
}

@media (max-width: 576px) {
  .logo-track {
    gap: 30px;
  }
  
  .logo-item {
    width: 100px;
  }
  
  .logo-item img {
    max-height: 40px;
  }
}

/* Responsive para las imágenes de la sección Sobre Nosotros */
@media (max-width: 768px) {
  .img-stack {
    max-width: 100%;
    min-height: 200px;
    margin: 0 auto;
    position: relative;
    display: block;
    text-align: center;
  }
  
  .img1 {
    position: relative;
    width: 50%;
    max-width: 160px;
    left: 50px;
    bottom: 15px;
    z-index: 2;
    order: unset;
  }
  
  .img2 {
    position: absolute;
    width: 65%;
    max-width: 200px;
    left: 20px;
    bottom: -50px;
    z-index: 1;
    order: unset;
  }
  
  .sobre .col-lg-6:first-child {
    margin-bottom: 30px;
  }
  
  .tituloSobreNosotros {
    margin-top: 20px;
  }
}

@media (max-width: 576px) {
  .img-stack {
    min-height: 150px;
  }
  
  .img1 {
    width: 45%;
    max-width: 130px;
    left: 80px;
    bottom: 6px;
  }
  
  .img2 {
    width: 60%;
    max-width: 160px;
    left: 15px;
    bottom: -40px;
  }
  
  .sobre h2 {
    font-size: 1.5rem;
  }
  
  .tituloSobreNosotros {
    font-size: 1.3rem;
  }
}
