html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 88px;
}

body {
  margin: 0;
  color: #202020;
  font-family: "Roboto", sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  background: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

::selection {
  background: #fbc407;
  color: #202020;
}

:focus-visible {
  outline: 2px solid #f46110;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.cabecera {
  background: #fbc407;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  transition: box-shadow 0.2s ease;
}
.cabecera--sombra {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.cabecera__marca {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.cabecera__logo {
  width: 46px;
  height: 40px;
  display: block;
}
.cabecera__nombre {
  font-family: "Montserrat", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #202020;
}
.cabecera__boton {
  border: 0;
  box-shadow: none;
}
.cabecera__enlace {
  position: relative;
  margin-left: 0.35rem;
  padding: 0.4rem 0.7rem;
  color: #202020;
  font-size: 1.05rem;
}
.cabecera__enlace::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.15rem;
  height: 2px;
  background: #f46110;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.cabecera__enlace:hover, .cabecera__enlace:focus-visible, .cabecera__enlace.active {
  color: #f46110;
}
.cabecera__enlace.active::after, .cabecera__enlace:hover::after {
  transform: scaleX(1);
}

@media (max-width: 991.98px) {
  .cabecera__menu {
    padding-top: 0.75rem;
  }
  .cabecera__enlace {
    margin-left: 0;
  }
}
.hero {
  position: relative;
  min-height: 100vh;
  padding: 8.5rem 0 2rem;
  background: #fbc407;
  overflow: hidden;
}
.hero__kicker {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  font-weight: 500;
}
.hero__titulo {
  margin-bottom: 1.5rem;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(3.2rem, 6.4vw, 5.4rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
}
.hero__marca {
  display: block;
  color: #f46110;
}
.hero__texto {
  max-width: 34rem;
  margin-bottom: 2rem;
  font-size: 1.15rem;
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: #202020;
  font-size: 1.15rem;
  text-decoration: none;
}
.hero__cta:hover .hero__cta-icono {
  background: #202020;
  color: #fbc407;
}
.hero__cta-icono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid #202020;
  border-radius: 50%;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.hero__figura {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  overflow: hidden;
}
.hero__foto {
  width: min(100%, 520px);
  background: #fbc407;
  object-fit: contain;
  transform: scale(1.06);
  transform-origin: center center;
}
.hero__redes {
  position: absolute;
  top: 54%;
  right: 1.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero__red {
  color: #202020;
  font-size: 1.15rem;
  text-decoration: none;
}
.hero__red:hover {
  color: #f46110;
}

@media (max-width: 991.98px) {
  .hero {
    text-align: center;
    padding-top: 7.5rem;
  }
  .hero__texto {
    margin-right: auto;
    margin-left: auto;
  }
  .hero__figura {
    justify-content: center;
    margin-top: 1.5rem;
  }
  .hero__redes {
    position: static;
    flex-direction: row;
    justify-content: center;
    margin-top: 1.75rem;
    transform: none;
  }
}
.nosotros {
  padding: 6.5rem 0 5rem;
  background: #ffffff;
}
.nosotros__kicker {
  margin-bottom: 0.75rem;
  color: #f46110;
  font-family: "Montserrat", sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
}
.nosotros__titulo {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #202020;
  margin-bottom: 2rem;
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
}
.nosotros__foto {
  width: 100%;
  margin-bottom: 4.5rem;
  object-fit: cover;
  aspect-ratio: 16/10;
}
.nosotros__numero {
  display: block;
  margin-bottom: 0.75rem;
  color: #b9b9b9;
  font-family: "Montserrat", sans-serif;
  font-size: 2.4rem;
  font-weight: 500;
}
.nosotros__nombre {
  margin-bottom: 0.85rem;
  font-family: "Montserrat", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
}
.nosotros__texto {
  color: #5e5e5e;
}

.clientes {
  position: relative;
  padding: 6.5rem 0;
  background: #1b1b1b center/cover no-repeat;
  color: #ffffff;
}
.clientes__velo {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 12, 0.62);
}
.clientes__kicker {
  margin-bottom: 0.35rem;
  font-size: 1.2rem;
}
.clientes__titulo {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #202020;
  margin-bottom: 1.75rem;
  color: #ffffff;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
}
.clientes__cita {
  max-width: 46rem;
  margin-left: auto;
  font-size: 1.15rem;
}
.clientes__autor {
  margin: 1.5rem 0 0.35rem;
}
.clientes__estrellas {
  color: #fbc407;
  letter-spacing: 0.15em;
}
.clientes__control {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid #ffffff;
  border-radius: 50%;
  background: transparent;
  color: #ffffff;
  transform: translateY(-50%);
}
.clientes__control--anterior {
  left: 1.25rem;
}
.clientes__control--siguiente {
  left: 5rem;
}
.clientes__control:hover {
  background: #ffffff;
  color: #202020;
}

@media (max-width: 991.98px) {
  .clientes {
    text-align: center;
  }
  .clientes__cita {
    margin-right: auto;
  }
  .clientes__control {
    position: static;
    transform: none;
    margin: 1.5rem 0.4rem 0;
  }
}
.proyectos {
  padding: 6.5rem 0 4rem;
}
.proyectos__titulo {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #202020;
  margin-bottom: 2rem;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
}
.proyectos__filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
  margin-bottom: 2rem;
}
.proyectos__filtro {
  padding: 0.2rem 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #202020;
  font-size: 1.05rem;
  cursor: pointer;
}
.proyectos__filtro--activo, .proyectos__filtro:hover {
  color: #f46110;
  border-bottom-color: #f46110;
}
.proyectos__tarjeta {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #f6f6f6;
  text-align: left;
  cursor: pointer;
}
.proyectos__foto {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.proyectos__info {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 3.5rem 1.4rem 1.3rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent);
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.proyectos__nombre {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
}
.proyectos__lugar {
  margin: 0.2rem 0 0;
}
.proyectos__tarjeta:hover .proyectos__foto, .proyectos__tarjeta:focus-visible .proyectos__foto {
  transform: scale(1.05);
}
.proyectos__tarjeta:hover .proyectos__info, .proyectos__tarjeta:focus-visible .proyectos__info {
  opacity: 1;
}

@media (hover: none), (max-width: 767.98px) {
  .proyectos__info {
    opacity: 1;
  }
}
.contador__imagen {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}
.contador__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 420px;
  padding: 3.5rem 8vw;
  background: #fbc407;
}
.contador__texto {
  margin-bottom: 0.4rem;
  font-size: 1.35rem;
}
.contador__cifra {
  margin-bottom: 0.2rem;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(4.5rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.contador__boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.75rem 1.75rem;
  border: 2px solid #202020;
  border-radius: 999px;
  background: transparent;
  color: #202020;
  font-family: "Roboto", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.contador__boton:hover, .contador__boton:focus-visible {
  background: #202020;
  color: #ffffff;
}
.contador__boton {
  align-self: flex-start;
  margin-top: 1.5rem;
}

.noticias {
  padding: 6.5rem 0;
  background: #fbc407;
}
.noticias__kicker {
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
}
.noticias__titulo {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #202020;
  margin-bottom: 1rem;
  font-size: clamp(2.6rem, 4vw, 3.8rem);
}
.noticias__bajada {
  margin-bottom: 1.75rem;
}
.noticias__boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.75rem 1.75rem;
  border: 2px solid #202020;
  border-radius: 999px;
  background: transparent;
  color: #202020;
  font-family: "Roboto", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.noticias__boton:hover, .noticias__boton:focus-visible {
  background: #202020;
  color: #ffffff;
}
.noticias__tarjeta {
  height: 100%;
  padding: 2rem 1.6rem 1.4rem;
  background: #ffffff;
}
.noticias__nombre {
  margin-bottom: 0.8rem;
  font-family: "Montserrat", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.2;
}
.noticias__texto {
  color: #5e5e5e;
}
.noticias__enlace {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.4rem 0 1rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #202020;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}
.noticias__enlace:hover {
  color: #f46110;
}
.noticias__autor {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid #ececec;
}
.noticias__avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}
.noticias__firma {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}
.noticias__fecha {
  margin: 0;
  color: #5e5e5e;
  font-size: 0.95rem;
}

.contacto {
  padding: 6rem 0;
}
.contacto__marco {
  width: 100%;
  min-height: 430px;
  height: 100%;
  border: 0;
  filter: grayscale(0.25);
}
.contacto__kicker {
  display: block;
  margin-bottom: 0.6rem;
  color: #f46110;
  font-size: 1.05rem;
}
.contacto__titulo {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #202020;
  margin-bottom: 0.8rem;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}
.contacto__direccion {
  margin-bottom: 1.5rem;
  color: #5e5e5e;
}
.contacto__datos {
  margin: 0;
  padding: 0;
  list-style: none;
}
.contacto__dato {
  margin-bottom: 0.45rem;
}
.contacto__etiqueta {
  font-weight: 700;
}

.formulario {
  padding: 4.5rem 0;
  background: #141414;
  color: #ffffff;
}
.formulario__imagen {
  width: min(100%, 280px);
  background: #141414;
  object-fit: cover;
}
.formulario__campo {
  width: 100%;
  margin-bottom: 0.35rem;
  padding: 0.95rem 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  box-shadow: none;
}
.formulario__campo::placeholder {
  color: rgba(255, 255, 255, 0.62);
}
.formulario__campo:focus {
  background: transparent;
  color: #ffffff;
  border-bottom-color: #fbc407;
  box-shadow: none;
}
.formulario__area {
  min-height: 168px;
  resize: vertical;
}
.formulario__boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.75rem 1.75rem;
  border: 2px solid #202020;
  border-radius: 999px;
  background: transparent;
  color: #202020;
  font-family: "Roboto", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.formulario__boton:hover, .formulario__boton:focus-visible {
  background: #202020;
  color: #ffffff;
}
.formulario__boton {
  width: 100%;
  margin-top: 1rem;
  border-color: #fbc407;
  background: #fbc407;
}
.formulario__boton:hover, .formulario__boton:focus-visible {
  background: #ffffff;
  border-color: #ffffff;
  color: #202020;
}
.formulario__aviso {
  margin-top: 1rem;
  color: #fbc407;
}
.formulario__aviso--error {
  color: #ffb4a2;
}

.visor {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 0;
}
.visor__cerrar {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
  background-color: #ffffff;
  opacity: 1;
}
.visor__imagen {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}
.visor__lugar {
  margin-bottom: 0.25rem;
  color: #f46110;
}
.visor__titulo {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #202020;
  margin-bottom: 0.75rem;
  font-size: 1.8rem;
}

.pie {
  padding: 1.4rem 0;
  background: #202020;
  color: #ffffff;
  font-size: 0.95rem;
}
.pie__texto {
  margin: 0;
}

.subir {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #fbc407;
  color: #202020;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}
.subir[hidden] {
  display: none;
}
.subir:hover {
  background: #f46110;
  color: #ffffff;
}
