* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #fff;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #f77f0b, #f4a42c);
  padding: 35px 30px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo img {
  height: 80px;
  width: 180px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: border-bottom 0.3s;
  padding-bottom: 3px;
}

.nav-links li a.active,
.nav-links li a:hover {
  border-top: 2px solid white;
  border-bottom: 2px solid white;
  padding-top: 3px;
}
.menu-close {
  display: none;
}

.call-button a {
  background-color: transparent;
  border: 2px solid white;
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}

.call-button a:hover {
  background-color: white;
  color: #f77f0b;
}

.mobile-call {
  display: none;
}


.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
}


.hero {
  background-image: url('images/fondoinicio.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 120px;
}

.hero-content h1 {
  font-size: 5rem;
  margin-bottom: 20px;
  font-weight: 700;
  color: #fff;


  text-shadow:
    -2px -2px 0 #f77f0b,
     2px -2px 0 #f77f0b,
    -2px  2px 0 #f77f0b,
     2px  2px 0 #f77f0b,
    -2px  0 0 #f77f0b,
     2px  0 0 #f77f0b,
     0 -2px 0 #f77f0b,
     0  2px 0 #f77f0b,
     2px 2px 4px rgba(0,0,0,0.5);
  
  animation: aparecerZoom 1s ease-out forwards;
}

.hero-content p {
  font-size: 2rem;
  font-weight: 500;
  color: #fff;

  text-shadow:
    -1px -1px 0 #f77f0b,
     1px -1px 0 #f77f0b,
    -1px  1px 0 #f77f0b,
     1px  1px 0 #f77f0b,
     1px 1px 3px rgba(0,0,0,0.5);

  animation: aparecerZoom 1s ease-out forwards;
  animation-delay: 0.4s;
  opacity: 0;
}


.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #111;
  color: #fff;
  padding: 15px 20px;
  display: none;
  justify-content: space-between;
  align-items: center;
  z-index: 50;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
  font-size: 0.95rem;
}

.cookie-banner p {
  margin: 0;
}

.cookie-banner a {
  color: #f77f0b;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  margin-left: 20px;
}

.cookie-buttons button {
  padding: 6px 14px;
  border-radius: 25px;
  border: 2px solid #f77f0b;
  background-color: transparent;
  color: #f77f0b;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.cookie-buttons button:hover {
  background-color: #f77f0b;
  color: #000;
}

.cookie-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  z-index: 100;
  justify-content: center;
  align-items: center;
}

.cookie-modal .modal-content {
  background-color: #111;
  padding: 30px 25px;
  border-radius: 15px;
  border: 2px solid #f77f0b;
  max-width: 600px;
  width: 90%;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0,0,0,0.5);
  color: #fff;
}

.cookie-modal .modal-content h2 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.cookie-modal .modal-content p {
  margin-bottom: 25px;
  line-height: 1.6;
  font-size: 0.95rem;
}

.cookie-modal .modal-content a {
  color: #f77f0b;
  text-decoration: underline;
}

.cookie-modal .modal-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.cookie-modal .modal-buttons button {
  padding: 8px 20px;
  border-radius: 25px;
  border: 2px solid #f77f0b;
  background-color: transparent;
  color: #f77f0b;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.cookie-modal .modal-buttons button:hover {
  background-color: #f77f0b;
  color: #000;
}

@keyframes aparecerZoom {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(30px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@media (max-width: 768px) {

  header {
    padding: 20px 20px;
  }

  .logo img {
    height: 60px;
    width: 140px;
  }

  .hero-content h1 {
    font-size: 3rem;
    text-shadow:
      -1.5px -1.5px 0 #f77f0b,
       1.5px -1.5px 0 #f77f0b,
      -1.5px  1.5px 0 #f77f0b,
       1.5px  1.5px 0 #f77f0b,
       1.5px 1.5px 3px rgba(0,0,0,0.5);
  }

  .hero-content p {
    font-size: 1.2rem;
    text-shadow:
      -1px -1px 0 #f77f0b,
       1px -1px 0 #f77f0b,
      -1px  1px 0 #f77f0b,
       1px  1px 0 #f77f0b,
       1px 1px 2px rgba(0,0,0,0.5);
  }

  .menu-toggle {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
  }

  nav.active {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    gap: 30px;
  }

  .call-button {
    display: none;
  }

  .mobile-call {
    display: block;
  }

  .cookie-modal .modal-content {
    width: 95%;
    padding: 20px 15px;
  }

  .cookie-modal .modal-buttons {
    flex-direction: column;
    gap: 10px;
  }

.menu-close {
  position: absolute;
  display: block;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: #f77f0b;
  cursor: pointer;
  z-index: 105;
  user-select: none;
  transition: transform 0.2s;
}

.menu-close:hover {
  transform: scale(1.2);
}
}
