/* =====================
   Global
===================== */

html,
body {
  height: 100%;
  width: 100%;
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
}

.push50 {
  margin-top: 50px;
}

.filter {
  cursor: pointer;
}

/* =====================
   Vegas Slideshow
===================== */

.vegas-loading {
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.7) url(../img/loading.gif) no-repeat center;
  height: 32px;
  width: 32px;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 0;
}

.vegas-overlay {
  opacity: 0.5;
  z-index: -1;
}

.vegas-background {
  max-width: none !important;
  z-index: -2;
}

.vegas-overlay,
.vegas-background {
  user-select: none;
}

/* =====================
   Header
===================== */

.header {
  display: table;
  height: 100%;
  width: 100%;
  position: relative;
}

.vert-text {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  color: #f1f1f1;
  background: rgba(0, 0, 0, 0.6);
}

.vert-text h1,
.vert-text h2 {
  margin: 0;
  padding: 0;
  font-weight: 400;
}

/* =====================
   Header Contact (abajo)
===================== */

.header-contact {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  text-align: center;
}

.telefono {
  font-size: 1.15em;
  line-height: 1.4;
  margin-bottom: 10px;
}

.telefono a {
  font-size: inherit;
  font-weight: 400;
  text-decoration: none;
  color: inherit;
}

.telefono a:hover {
  font-weight: 700;
}

/* =====================
   Buttons
===================== */

.btn-top {
  color: #f1f1f1;
  background: rgba(20, 0, 0, 0.57);
  border-color: #cccccc;
  letter-spacing: 0.04em;
}

.btn-top:hover,
.btn-top:focus {
  color: #333;
  background-color: #ebebeb;
  border-color: #adadad;
}

/* =====================
   Navbar
===================== */

#nav {
  margin-bottom: -20px;
}

.navbar {
  border-radius: 0 !important;
}

.navbar-new {
  background-color: rgba(0, 0, 0, 0.6);
}

.navbar-new a,
.navbar-new .navbar-brand {
  color: #f1f1f1;
}

.navbar-new a:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* =====================
   Grid / Mixitup
===================== */

#Grid .mix {
  display: none;
  opacity: 0;
  max-height: 230px;
}

/* =====================
   Sections
===================== */

.about_us,
.services,
#contact,
#team {
  padding: 50px 0;
  border-bottom: 1px solid #d1d1d1;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
}

.about_us,
.portfolio {
  background: #f1f1f1;
}

.services {
  background: #4d4d4d;
  color: #eee;
}

/* =====================
   Gallery
===================== */

.gallery {
  overflow: hidden;
}

.gallery .mix {
  display: none;
  opacity: 0;
  text-align: center;
}

.gallery a.mix-cover {
  position: relative;
  display: block;
}

.gallery a.mix-cover img {
  width: 100%;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overlay:hover {
  opacity: 1;
}

/* =====================
   Footer
===================== */

footer {
  padding: 20px 0;
  background: #f1f1f1;
}

/* =====================
   Responsive
===================== */

@media (max-width: 768px) {
  .navbar-brand {
    margin-left: 20px;
  }

  .navbar-toggle {
    margin-right: 25px;
  }

  .header-contact {
    bottom: 20px;
  }
}

/* =====================
   Hero positioning
===================== */

.hero-content {
  transform: translateY(-180px);
}

.body,
h1, h2, h3, h4, h5, h6,
p, a, span, div, button {
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.header-contact,
.header-contact a {
  font-weight: 700;
}

.hero-content h2 {
  font-size: 4.0rem;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .vert-text {
    padding-top: 60px;
  }


.hero-content h2 {
  font-weight: 400;
}

/* Logo normal */
.hero-content img {
  width: 350px;
  height: 180px;
}

/* Logo en móviles */
@media (max-width: 768px) {
  .hero-content img {
    width: 250px;   /* un poco más chico */
    height: auto;   /* mantiene proporción */
  }
}

