/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* FUENTE Y FONDO */
body {
  font-family: 'Outfit', sans-serif;
  background: linear-gradient(to right, #a9acac, #93d5e0);
  color: #222;
  -webkit-font-smoothing: antialiased;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 28px;
  background: rgba(237, 249, 252, 0.85);
  backdrop-filter: blur(6px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* LOGO */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: #0a2e36;
}

/* NAV */
nav#nav {
  display: flex;
  gap: 22px;
}

nav#nav a {
  text-decoration: none;
  color: #0a2e36;
  font-weight: 600;
  transition: color .2s ease;
}

nav#nav a:hover {
  color: #00796b;
}

/* MENÚ MÓVIL */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: #0a2e36;
  border-radius: 3px;
}

/* MAIN */
main {
  padding-top: 100px;
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px 0px;
}

.hero h1 {
  font-size: 38px;
  color: #000;
  font-weight: 700;
}

.hero p {
  max-width: 720px;
  color: #333;
  font-size: 18px;
}

.hero-img {
  width: 550px;
  max-width: 90%;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* SECCIONES */
section {
  padding: 80px 20px;
}

.content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.content.reverse {
  flex-direction: row-reverse;
}

.section-img {
  width: 500px;
  max-width: 100%;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.text {
  max-width: 560px;
}

.text h2 {
  color: #000;
  margin-bottom: 12px;
  font-size: 28px;
}

.text p {
  color: #333;
  line-height: 1.6;
  font-size: 16px;
}

/* COLORES DE SECCIONES */
.section1 {
  background: rgba(255,255,255,0.25);
}

.section2 {
  background: rgba(255,255,255,0.40);
}

/* FOOTER */
footer {
  background: #000000;
  color: #fff;
  padding: 0 20px;
  height: 80px;
  display: flex;
  align-items: center;
}

.footer-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.footer-copy {
  font-size: 14px;
  opacity: 0.95;
}

.footer-nav {
  display: flex;
  gap: 18px;
}

.footer-nav a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* BOTÓN WHATSAPP */
.whatsapp-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 10px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
  z-index: 2000;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
}

.whatsapp-btn img {
  width: 35px;
  height: 35px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  nav#nav {
    display: none;
    position: absolute;
    top: 80px;
    right: 16px;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 20px;
    border-radius: 10px;
    flex-direction: column;
    gap: 12px;
    min-width: 200px;
  }

  nav#nav.active {
    display: flex;
  }

  .content {
    flex-direction: column;
    gap: 20px;
    padding: 0 12px;
  }

  .hero {
    height: auto;
    padding: 100px 20px;
  }

  .text h2 {
    font-size: 22px;
  }

  footer .footer-inner {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    padding: 12px 0;
  }
}
