* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Montserrat, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
  color: #171717;
  overflow-x: hidden;
}

.loader {
  position: fixed;
  inset: 0;
  background: #111;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .8s ease;
}

.loader img {
  width: 230px;
  animation: logoIn 1.4s ease;
}

.loader.hide {
  opacity: 0;
  visibility: hidden;
}

@keyframes logoIn {
  from { transform: scale(.55) rotate(-8deg); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 92px;
  padding: 0 7%;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
  transition: .3s;
}

header.scrolled {
  height: 76px;
}

.logo img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

nav {
  display: flex;
  gap: 22px;
}

nav a {
  color: #171717;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  transition: .3s;
}

nav a:hover {
  color: #d9a928;
}

.social {
  display: flex;
  gap: 12px;
}

.social a {
  width: 44px;
  height: 44px;
  background: #171717;
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: .3s;
}

.social a:hover {
  background: #d9a928;
  transform: translateY(-4px);
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 150px 7% 90px;
  overflow: hidden;
  color: white;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.50), rgba(0,0,0,.18));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 840px;
  animation: heroUp 1s ease;
}

.hero-content span,
.nosotros-text span,
.titulo span,
.frase span,
.publicidad-info span,
.galeria-hero span,
.contact-info span {
  color: #f5c629;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 3px;
}

.hero-content h1 {
  font-size: clamp(42px, 6.5vw, 82px);
  line-height: 1;
  margin: 18px 0;
  letter-spacing: -2px;
}

.hero-content p {
  color: #f4f4f4;
  max-width: 720px;
  font-size: 20px;
  line-height: 1.65;
}

.hero-buttons {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-primary,
.btn-secondary,
.frase a {
  padding: 17px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 900;
  transition: .3s;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.btn-primary {
  background: #f5c629;
  color: #111;
}

.btn-secondary {
  color: white;
  border: 1px solid white;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-5px);
}

.btn-secondary:hover {
  background: white;
  color: #111;
}

.btn-ver-proyectos {
  background: rgba(245,198,41,.18);
  border: 2px solid #f5c629;
  color: #fff;
  padding: 18px 34px;
  box-shadow: 0 0 0 rgba(245,198,41,.55);
  animation: pulsoDorado 1.8s infinite;
}

.btn-ver-proyectos i {
  color: #f5c629;
  transition: .3s;
}

.btn-ver-proyectos:hover {
  background: #f5c629;
  color: #111;
  border-color: #f5c629;
  transform: translateY(-6px) scale(1.05);
}

.btn-ver-proyectos:hover i {
  color: #111;
  transform: translateX(7px);
}

@keyframes pulsoDorado {
  0% { box-shadow: 0 0 0 0 rgba(245,198,41,.55); }
  70% { box-shadow: 0 0 0 18px rgba(245,198,41,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,198,41,0); }
}

@keyframes heroUp {
  from { transform: translateY(45px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

section {
  padding: 115px 7%;
}

.nosotros {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 60px;
  align-items: center;
  background: #ffffff;
}

.nosotros-slider {
  width: 100%;
  height: 620px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 25px 70px rgba(0,0,0,.15);
}

.nosotros-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .9s ease;
}

.nosotros-slide.active {
  opacity: 1;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 25px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.dot {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.65);
  cursor: pointer;
}

.dot.active {
  background: #f5c629;
}

.nosotros-text h2,
.titulo h2,
.publicidad-info h2 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.04;
  margin-top: 14px;
  letter-spacing: -1.5px;
}

.nosotros-text p,
.publicidad-info p {
  margin-top: 22px;
  color: #555;
  font-size: 19px;
  line-height: 1.75;
}

.stats {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.stats div {
  padding: 22px;
  border-radius: 10px;
  background: #f6f4ef;
}

.stats strong {
  display: block;
  font-size: 22px;
  color: #d9a928;
}

.stats small {
  color: #555;
  font-weight: 700;
}

.titulo {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 65px;
}

.servicios {
  background: #f8f8f8;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.servicios-grid article {
  padding: 34px;
  border-radius: 8px;
  background: white;
  border: 1px solid #ececec;
  box-shadow: 0 10px 35px rgba(0,0,0,.04);
  transition: .35s;
  min-height: 210px;
}

.servicios-grid article:hover {
  transform: translateY(-10px);
  background: #111;
  color: white;
}

.servicios-grid article:hover p {
  color: #e6e6e6;
}

.servicios-grid i {
  color: #d9a928;
  font-size: 34px;
  margin-bottom: 20px;
}

.servicios-grid h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.servicios-grid p {
  color: #5f5f5f;
  line-height: 1.65;
}

.publicidad {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 55px;
  align-items: center;
  background: #111;
  color: white;
}

.publicidad-img img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 25px 70px rgba(0,0,0,.35);
}

.publicidad-info h2 {
  color: white;
}

.publicidad-info p {
  color: #e1e1e1;
}

.publicidad-info a {
  margin-top: 30px;
  display: inline-block;
  background: #f5c629;
  color: #111;
  padding: 17px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 900;
}

.frase {
  min-height: 620px;
  background:
    linear-gradient(rgba(0,0,0,.74), rgba(0,0,0,.74)),
    url("imageenes/imageprincipal2.jpeg") center/cover no-repeat;
  color: white;
  display: flex;
  align-items: center;
  text-align: center;
}

.frase div {
  max-width: 1100px;
  margin: auto;
}

.frase h2 {
  font-size: clamp(46px, 7vw, 88px);
  line-height: .98;
  margin: 18px 0;
  letter-spacing: -2px;
}

.frase p {
  font-size: 21px;
  color: #f1f1f1;
  margin-bottom: 38px;
  line-height: 1.6;
}

.btn-proyectos {
  background: #f5c629;
  color: #111;
  width: min(760px, 100%);
  padding: 24px 30px;
  border-radius: 95px;
  box-shadow: 0 18px 60px rgba(0,0,0,.38);
  justify-content: space-between;
  text-align: left;
  animation: botonFlota 2s infinite ease-in-out;
  border: 3px solid rgba(255,255,255,.25);
}

.btn-proyectos:hover {
  background: white;
  color: #111;
  transform: translateY(-10px) scale(1.03);
}

.btn-proyectos-texto {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.btn-proyectos-texto small {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #7b5d00;
  font-weight: 900;
}

.btn-proyectos-texto strong {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
}

.btn-proyectos-icono {
  min-width: 85px;
  height: 85px;
  background: #111;
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 34px;
  animation: clickIcon 1.2s infinite;
}

@keyframes botonFlota {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes clickIcon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.16); }
}

.galeria-hero {
  min-height: 75vh;
  background:
    linear-gradient(rgba(0,0,0,.64), rgba(0,0,0,.64)),
    url("imageenes/imageprincipal3.jpeg") center/cover no-repeat;
  color: white;
  display: flex;
  align-items: center;
  padding-top: 150px;
}

.galeria-hero div {
  max-width: 950px;
  animation: galleryIntro 1s ease;
}

@keyframes galleryIntro {
  from { transform: translateY(45px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.galeria-hero h1 {
  font-size: clamp(48px, 7vw, 86px);
  line-height: 1;
  margin: 18px 0;
  letter-spacing: -2px;
}

.galeria-hero p {
  font-size: 21px;
  color: #f1f1f1;
  max-width: 760px;
  line-height: 1.6;
}

.galeria-section {
  background: white;
}

.page-galeria .galeria-section {
  padding-top: 80px;
}

.galeria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.page-galeria .item {
  animation: itemIn .75s ease both;
}

.page-galeria .item:nth-child(2n) {
  animation-delay: .08s;
}

.page-galeria .item:nth-child(3n) {
  animation-delay: .16s;
}

.page-galeria .item:nth-child(4n) {
  animation-delay: .24s;
}

@keyframes itemIn {
  from { transform: translateY(35px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.item {
  height: 360px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #eee;
  display: block;
}

.item img,
.item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .35s;
}

.item:hover img,
.item:hover video {
  transform: scale(1.06);
}

.video-item span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.22);
  color: white;
  font-size: 46px;
}

.cotizar-section {
  background: #111;
  color: white;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
  align-items: start;
  position: relative;
  overflow: hidden;
}

.cotizar-section::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -130px;
  top: -130px;
  background: #f5c629;
  border-radius: 50%;
  opacity: .15;
}

.cotizar-section::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  left: -90px;
  bottom: -90px;
  border: 2px solid rgba(245,198,41,.35);
  border-radius: 50%;
}

.contact-info,
.contact-form {
  position: relative;
  z-index: 2;
}

.contact-info h2 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
  margin: 16px 0 45px;
  color: white;
}

.contact-info h3 {
  font-size: 22px;
  margin: 28px 0 12px;
  color: #f5c629;
}

.contact-info p {
  font-size: 18px;
  line-height: 1.7;
  color: #e5e5e5;
}

.contact-form {
  background: white;
  padding: 42px;
  border-radius: 18px;
  display: grid;
  gap: 18px;
  box-shadow: 0 25px 80px rgba(0,0,0,.35);
}

.fila {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 18px;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  background: #f8f8f8;
  font-size: 16px;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #f5c629;
  background: white;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  width: fit-content;
  padding: 17px 32px;
  border: none;
  background: #f5c629;
  color: #111;
  border-radius: 50px;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  transition: .3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-form button:hover {
  background: #111;
  color: white;
  transform: translateY(-3px);
}

footer {
  background: #141414;
  color: white;
  text-align: center;
  padding: 58px 7%;
}

footer img {
  width: 115px;
  margin-bottom: 18px;
}

.redes {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.redes a {
  color: #f5c629;
  text-decoration: none;
  font-weight: 900;
}

.whatsapp {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 32px;
  z-index: 999;
  box-shadow: 0 12px 35px rgba(0,0,0,.25);
  animation: pulso 1.8s infinite;
}

@keyframes pulso {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.94);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
}

.lightbox img,
.lightbox video {
  max-width: 92%;
  max-height: 92%;
  border-radius: 8px;
}

@media(max-width: 1100px) {
  nav {
    display: none;
  }

  .nosotros,
  .publicidad,
  .cotizar-section {
    grid-template-columns: 1fr;
  }

  .servicios-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .galeria {
    grid-template-columns: repeat(2, 1fr);
  }

  .nosotros-slider,
  .publicidad-img img {
    height: 430px;
  }
}

@media(max-width: 650px) {
  header {
    padding: 0 5%;
  }

  section {
    padding: 85px 5%;
  }

  .hero {
    padding: 140px 5% 70px;
  }

  .hero-content h1,
  .galeria-hero h1 {
    letter-spacing: -1px;
  }

  .stats,
  .servicios-grid,
  .galeria,
  .fila {
    grid-template-columns: 1fr;
  }

  .item {
    height: 330px;
  }

  .contact-form {
    padding: 28px;
  }

  .contact-info h2 {
    margin-bottom: 35px;
  }

  .btn-proyectos {
    flex-direction: column;
    text-align: center;
    border-radius: 35px;
  }

  .btn-proyectos-texto {
    text-align: center;
  }
}