/* Base resets */
* { margin: 0; padding: 0; box-sizing: border-box;}
body {font-family: 'Arial', sans-serif; color: #333; background: #fff;}
a {text-decoration: none; color: inherit;}

/* Top bar */
.top-bar {
  background: #f7921e;
  color: #fff;
  overflow: hidden;
  position: sticky;
  top: 0;
  z-index: 200;
  height: 25px;
  display: flex;
  align-items: center;
}
.marquee {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker 12s linear infinite;
  font-size: 1.1rem;
  letter-spacing: 1.5px;
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Header */
header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #fff;
  z-index:100;
  border-bottom:1px solid #eee;
}
.logo {font-size:3.4rem; font-weight:bold;}
.logo span {color:#f7921e;}

.logo-sub {
  font-size: 1.6rem;
  color: #b25c1e;  /* Un naranja marrón que combina */
  letter-spacing: 2px;
  font-weight: 500;
  margin-top: 2px;
  margin-bottom: 12px;
  text-align: center;
  text-transform: lowercase;  /* O usa capitalize si lo prefieres */
  font-family: 'Arial', sans-serif;
  /* Sombra muy sutil para destacar sobre fondo blanco */
  text-shadow: 0 1px 0 #fff, 0 2px 10px rgba(0,0,0,0.05);
}

/* Hero Grid */
.hero-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  margin: 20px auto;
  max-width: 1200px;
}
.hero-column {
  position: relative;
  flex: 1;
  overflow: hidden;
  border: 5px solid black;
}
.hero-column:nth-child(2) { border-color: #f7921e; }
.hero-column img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s, filter 0.6s;
  border-radius: 0;
}
.hero-column:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}


.hero-btn {
  width: 240px;
  height: 90px;         /* MISMO ANCHO PARA TODOS */
  min-width: 200px;
  max-width: 100%;
  text-align: center;
  padding: 14px 0;
  border-radius: 8px;
  font-size: 1.4rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  position: absolute;
  bottom: 75px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}


.hero-column:nth-child(1) .hero-btn,
.hero-column:nth-child(2) .hero-btn,
.hero-column:nth-child(3) .hero-btn {
  background: linear-gradient(145deg, rgba(243, 189, 125, 0.85), rgba(236, 153, 55, 0.9));
  border: 4px solid #462d0f;
  color: #000;
}
.hero-btn:hover, .hero-btn:active {
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  filter: brightness(1.1);
}

/* Nosotros */
.about-content {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: flex-start; /* Alinea a lo alto ambas columnas */
  max-width: 1200px;
  margin: auto;
  
  /* padding: 0 24px; opcional si quieres aún más aire lateral */
}
.about-text {
  font-size:1.3rem;
  flex: 1 1 520px;
  max-width: 520px;
  line-height: 1.5rem;
  color: #333;
  text-align: left;           /* Alineación a la izquierda */
  display: flex;
  flex-direction: column;
  justify-content: center;    /* Centra verticalmente el texto respecto a las imágenes */
}
.about-text p { margin-bottom: 40px;
  text-align: center;          /* Garantiza alineación izquierda de los párrafos */ }
.about-images-vertical {
  flex: 1 1 520px;
  max-width: 520px; 
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1 1 430px;            /* Puedes ajustar esto para igualar mejor las proporciones */
  justify-content: center;   /* Centrado vertical si hay altura */
}
.about-images-vertical img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  object-fit: cover;
  border: 5px solid #f7921e;
}
.about-images-vertical img:nth-child(1) { border: 5px solid #f7921e; }
.about-images-vertical img:nth-child(2) { border: 5px solid #f7921e; }

.about {padding:60px 20px;}
.about h2 {
  font-size:3.5rem;
  margin-bottom:20px;
  color: black;
  -webkit-text-stroke: 0.6px #f7921e;
  text-align: center;    /* Solo el título centrado */
}

/* Contacto */
.contact-title {
  text-align: center;
  -webkit-text-stroke: 0.5px #f7921e;
  font-size: 3.5rem;
  margin: 0px 0 20px;
  color: #333;
}
.contact {
  padding: 60px 20px;
  background: url('images/banner02.png') center/cover no-repeat;
  color: #fff;
  position: relative;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.contact-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}
.contact-info {
  flex: 1 1 300px;
  line-height: 1.8rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 12px;
  max-width: 400px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
}
.contact-info p { margin: 0 0 10px 0; }
.contact-info span {
  display: block;
  margin-left: 1.8em;
}
.contact-info strong {
  display: block;
  margin-bottom: 10px;
  color: #f7921e;
  font-weight: bold;
}
.map-container {
  flex: 1 1 400px;
  max-width: 500px;
  margin-top: 50px;
}
.map-container iframe {
  width: 100%;
  height: 300px;
  border: 4px solid #cb8444;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Instagram float */
.ig-float {
  position:fixed;
  bottom:20px;
  right:20px;
  background:#fff;
  border-radius:50%;
  padding:10px;
  box-shadow:0 2px 6px rgba(0,0,0,0.2);
  transition:transform 0.3s;
  z-index: 3;
}
.ig-float:hover {transform:scale(1.1);}
.ig-float img {width:30px; height:30px;}

/* Footer */
footer {text-align:center; padding:20px; background:#eee; font-size:0.9rem;}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.5s;
}
.modal.show { display: block; opacity: 1; }
.modal-content {
  background: #1e1e1e;
  color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  position: relative;
}
.modal-content h2 { margin-bottom: 15px; }
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}
.close:hover { color: #f7921e; }
.btn-accept {
  margin-top: 20px;
  background-color: #f7921e;
  color: white;
  padding: 12px 24px;
  border: none;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
}
.btn-accept:hover { background-color: #e57d00; }

/* Responsive */
@media (max-width: 990px) {
  .hero-grid { flex-direction: column; }
  .hero-btn { width: 95%; }
  .contact-wrapper { flex-direction: column; align-items: center; }
  .contact-info { max-width: 90%; }
  .map-container { width: 95vw; max-width: 390px; margin-top: 20px; }
  .about-content { flex-direction: column; }
}
@media (max-width: 600px) {

    .logo-sub {
    font-size: 1.16rem;
    margin-bottom: 7px;
  }


  .about h2 {
  font-size:3.6rem;
}
.contact-title {
font-size: 3.6rem;
}

  .map-container {
    width: 80vw !important;     /* Ocupa el 100% del viewport */
    max-width: 100vw !important; /* No permite margen */
    margin: 0 auto 25px auto !important; /* Centrado y espacio abajo */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
  }
  .map-container iframe {
    width: 96vw !important;      /* Casi todo el ancho, con márgenes suaves */
    min-width: 200px;
    max-width: 450px;
    border-radius: 12px;
    margin: 0 auto;
    display: block;
  }
  .modal-content {
    margin: 20% auto;
    padding: 15px;
    width: 95%;
    font-size: 0.9rem;
  }
  .modal-content h2 { font-size: 1.4rem; }
  .marquee {
    animation: ticker 6s linear infinite;
    font-size: 1rem;
    letter-spacing: 0.5px;
  }
  .logo {font-size:3rem;}
  .btn-accept {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
  }
  .close {
    font-size: 24px;
    top: 8px;
    right: 10px;
  }
  .about-images-vertical img { max-width: 98vw; }
}

/* Fade in effect for hero images on mobile */
@media (max-width: 768px) {
  @keyframes fadeInZoom {
    from {
      opacity: 0;
      transform: scale(1.05) translateY(30px);
    }
    to {
      opacity: 1;
      transform: scale(1) translateY(0);
    }
  }
  .hero-column img {
    opacity: 0;
    animation: fadeInZoom 1s ease-out forwards;
  }
  .hero-column:nth-child(1) img { animation-delay: 0.2s; }
  .hero-column:nth-child(2) img { animation-delay: 0.4s; }
  .hero-column:nth-child(3) img { animation-delay: 0.6s; }

  .hero-btn {

    max-width: 380px;
    width: 70%;
    padding: 12px 10px;
    font-size: 26px;
    display: block;
    margin: 10px auto;
    bottom: 60px;
    border-radius: 30px;
  }

  /* Parallax efecto en columnas hero */
.hero-column {
  perspective: 1000px;
  /* position: relative; ya lo tienes */
}
.hero-column img {
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), filter 0.4s;
  will-change: transform;
}


}
