* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: #070505;
}


/*TIPOGRAFÍA*/
h1 {
  font-family: "Smooch Sans", sans-serif;
  font-weight: 700;
  color: #eedebd;
  font-size: 64px;
}

h2 {
  font-family: "Smooch Sans", sans-serif;
  font-weight: 700;
  color: #eedebd;
  font-size: 56px;
}

h3 {
  font-size: 48px;
  font-family: "Smooch Sans", sans-serif;
  font-weight: 700;
  color: #eedebd;
  margin-top: 16px;
}

h3 span {
  font-weight: 900;
}

h4 {
  font-family: "Manrope", sans-serif;
  font-size: 40px;
  font-weight: 400;
  color: #070505;
  margin-top: 16px;
}

p {
  font-size: 16px;
  font-family: "Manrope", sans-serif;
  font-weight: 200;
  color: #eedebd;
  margin-top: 16px;
}

p span {
  font-weight: 700;
}

/* --------------------------------------------- */

header {
  background-color: #070505;
  padding: 34px;
  text-align: center;
}

main {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px 40px 40px;
}

.logo {
  height: 200px;
  width: auto;
}

/*BARRA NAVEGACIÓN*/

.nav {
  background-color: #070505;
  padding: 45px 30px;
  position: sticky;
  top: 0;
  z-index: 100;
  font-family: "Smooch Sans", sans-serif;
}

nav ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 16px;
}

nav ul li {
  list-style-type: none;
  display: flex;
  align-items: center;
}

nav ul li::after {
  content: "";
  display: block;
  width: 2px;
  height: 1.5em;
  background-color: #c23018;
  margin-left: 16px;
}

nav ul li:last-child::after {
  display: none;
}

nav ul li a {
  text-decoration: none;
  font-weight: 700;
  font-size: 32px;
  color: #c23018;
  padding: 10px 16px;
}

nav ul li a:hover {
  color: #ececec;
  transition: 0.4s ease;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #070505a3;
  min-width: 180px;
  padding: 8px 0;
  list-style: none;
  border-radius: 16px;

}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 20px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.2s ease;
}

.dropdown-menu li::after {
  display: none;
}

.dropdown-menu li a:hover {
  color: #ececec;
}

.banner {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* FOOTER */

footer {
  background-color: #0f0f0f;
  margin-top: 80px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr 2fr;
  gap: 40px;
  padding: 60px 80px;
  border-top: 3px solid #c23018;
  align-items: center;
}

.footer-brand {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo {
  height: 80px;
  width: auto;
}

.footer-nav h4,
.footer-contacto h4 {
  color: #c23018;
  font-family: "Smooch Sans", sans-serif;
  font-size: 18px;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
}

.footer-nav ul li {
  margin-bottom: 8px;
}

.footer-nav ul li a {
  color: #eedebd;
  text-decoration: none;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-nav ul li a:hover {
  color: #c23018;
}

.footer-contacto p {
  color: #eedebd;
  font-size: 14px;
  margin-top: 8px;
  line-height: 1.6;
}

.footer-mapa iframe {
  border-radius: 8px;
  width: 100%;
}

.footer-bottom {
  background-color: #070505;
  text-align: center;
  padding: 20px;
  border-top: 1px solid #222;
}

.footer-bottom p {
  color: #c23018;
  font-size: 13px;
  margin: 0;
}

@media (max-width: 1024px) {
    .banner {
        background-attachment: scroll;
    }
}