* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background: #f5f5f5;
}

/* HEADER */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: white;
  border-bottom: 1px solid #e5e5e5;
  transition: 0.3s;
}

.header.scrolled {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.container {
  height: 80px;
  /* altura REAL del header */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  /* quitamos padding vertical */
  max-width: 1300px;
  margin: auto;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: black;
  font-weight: 600;
  font-size: 18px;
}

.logo img {
  height: 120px;
  /* controla el tamaño aquí */
  width: auto;
}

/* NAV */
.nav ul {
  display: flex;
  gap: 45px;
  list-style: none;
}

.nav a {
  text-decoration: none;
  color: #222;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  padding-bottom: 8px;
  transition: 0.25s;
}

/* línea base */
.nav a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #ccc;
}

/* línea animada */
.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: #111;
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.nav a:hover {
  transform: translateY(-1px);
}

/* BOTÓN */
.btn-contacto {
  padding: 9px 20px;
  border-radius: 20px;
  border: 1px solid black;
  color: black;
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.3s;
}

.btn-contacto:hover {
  background: black;
  color: white;
}

/* SIDEBAR (MOBILE) */
.nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 30px;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  transition: 0.35s ease;
}

.nav ul {
  flex-direction: column;
  gap: 35px;
  margin-top: 40px;
}

.nav.active {
  right: 0;
}

/* BOTÓN CERRAR */
.close-btn {
  align-self: flex-end;
  font-size: 20px;
  cursor: pointer;
  border: none;
  background: none;
}

.close-btn:hover {
  opacity: 0.6;
}

/* HAMBURGUESA */
.menu-toggle {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: black;
  margin: 4px;
}

/* DESKTOP */
@media (min-width: 901px) {
  .nav {
    position: static;
    height: auto;
    width: auto;
    flex-direction: row;
    padding: 0;
    box-shadow: none;
  }

  .nav ul {
    flex-direction: row;
    margin: 0;
  }

  .close-btn {
    display: none;
  }

  .menu-toggle {
    display: none;
  }
}


.footer {
  background: #eee;
  color: #111;
  padding: 60px 60px 20px;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.footer-col h4 {
  font-size: 14px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col p {
  font-size: 14px;
  color: #111;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
  font-size: 14px;
  color: #111;
}

.footer-col ul li a {
  text-decoration: none;
  color: #111;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #111;
}

/* línea inferior */
.footer-bottom {
  border-top: 1px solid #111;
  margin-top: 40px;
  padding-top: 15px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #111;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

/* ICONOS CONTACTO */
.footer-contacto li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contacto i {
  color: #111;
  font-size: 14px;
  min-width: 18px;
}