/* ==== Reset ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background: rgba(245, 245, 245, 0);
  color: #333;
}

main {
  flex: 1;
}

/* ==== Header ==== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.01);
  color: white;
  padding: 15px 20px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(2px);
}

header img {
  height: 40px;
  margin-right: 10px;
}

.menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.bar {
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 5px;
  transition: all 0.3s ease;
}

/* Estado "X" */
.menu.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu.open .bar:nth-child(2) {
    opacity: 0;
}
.menu.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==== Nav Menu ==== */
.nav {
  display: flex;
  align-items: center;
}

.nav ul {
  display: flex;
  flex-direction: row;
  gap: 35px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav li a {
  text-decoration: none;
  color: rgb(0, 0, 0);
}

.nav li a:hover {
  color: #929292;
}

header h1 {
  font-size: 1.3rem;
}

.contact a {
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  border-style: solid;
  border-width: 2px;
  font-weight: bold;
  transition: background 0.3s;
  transition: all 0.5s ease;
}

.contact a:hover {
  color: white;
  box-shadow: rgb(148, 148, 148) 0px 7px 29px 0px;
}

/* ==== Contact Page Specific Styles ==== */

.contact-conteiner {
    align-items: center;
    max-width: 100vh;
    margin: 40px auto;
    padding: 0 20px;
}

section{
    margin-top: 100px;
    padding: 40px 20px 10em;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    justify-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
    color: #222;
}

section p {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #555;
}

.whatsapp-contact {
  text-align: center;
  margin-top: 30px;
}

.whatsapp-contact i {
  font-size: 90px;    /* tamaño del logo */
  color: #25D366;     /* verde WhatsApp */
  display: block;
  margin-bottom: 10px;
}

.whatsapp-contact span {
  display: block;
  font-size: 1.4rem;
  color: #333;
  font-weight: bold;
}

.whatsapp-contact a {
  text-decoration: none;
}

/* ==== Footer ==== */
footer {
  background: #0e0d0d;
  color: #bbb;
  padding: 40px 20px 20px;
  font-size: 0.95rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 20px;
}

.footer-col h3, 
.footer-col3 h4,
.footer-col h4 {
  color: #fff;
  margin-bottom: 15px;
}

.footer-col3 ul {
  display: grid;
}

.footer-col3 a {
  color: #b1b1b1;
  text-decoration: none;
  padding-bottom: 10px;
  line-height: 1.5;
}

.footer-col3 a:hover {
  color: white;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: white;
}

.socials a {
  display: inline-block;
  margin-right: 15px;
  color: #b1b1b1;
  font-size: 1.3rem;
  transition: color 0.3s, transform 0.2s;
}

.socials a:hover {
  color: white;
  transform: scale(1.2);
}

.footer-col p i {
  margin-right: 8px;
  color: #b1b1b1;
}

.footer-bottom {
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid #444;
  font-size: 0.85rem;
}

/* Responsive */

/* Tablets y pantallas medianas */
@media (max-width: 1024px) {
  header {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
  }

  .nav ul {
    gap: 20px;
    flex-wrap: wrap;
  }

  .contact-conteiner h2 {
    font-size: 3rem;
  }

  .btn {
    width: auto; /* evita que el botón se estire demasiado */
    padding: 12px 24px;
  }
}

/* Móviles */
@media (max-width: 768px) {
  header {
    align-items: center;
    flex-direction: row;
    text-align: center;
  }

  .nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: left 0.3s ease;
    z-index: 1000;
  }

  .menu.open .bar{
    background-color: white;
  }

  .nav ul {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  .nav ul li a {
    color: white;
  }

  .nav.active {
    left: 0;
  }
  
      .bar {
        background-color: black;
    }

    .contact a {
    background: rgba(0, 0, 0, 0);
    color: black;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    border-style: solid;
    border-width: 2px;
    font-weight: bold;
    transition: background 0.3s;
    animation:shadow-pop-br .3s cubic-bezier(.47,0.000,.745,.715) both;
    -webkit-animation: shadow-pop-br .3s cubic-bezier(.47,0.000,.745,.715) both;
    }

    .contact a:hover {
    color: white;
    }

  .menu {
    display: flex;
  }

  header {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .contact {
    margin-top: 10px;
    width: 100%;
    text-align: center;
  }

  .contact {
    margin-top: 10px;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    padding: 12px 20px;
  }

  .faq-container {
    padding: 40px 15px;
  }

  .faq-container h2 {
    font-size: 2rem;
  }

  footer {
    text-align: center;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .socials a {
    margin: 0 10px;
  }
}

/* Pantallas muy pequeñas (<=480px) */
@media (max-width: 480px) {
  header h1 {
    font-size: 1rem;
  }

  .faq-container h2 {
    font-size: 1.8rem;
  }

  .faq-container p {
    font-size: 0.95rem;
  }

  .btn {
    font-size: 0.9rem;
    padding: 10px 18px;
  }

  .footer-col h3, 
  .footer-col h4 {
    font-size: 1rem;
  }
}