/* ==================================================
   STYLE-BOARDING.CSS - Estilos completos
   ================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

body.boarding-page {
  font-family: 'Nunito', sans-serif;
  background: #ddc6fe !important;
  color: #333;
  line-height: 1.6;
  padding-top: 80px;
}

header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 12px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.main-nav ul { display: flex; list-style: none; }
.main-nav a {
  padding: 8px 20px;
  text-decoration: none;
  color: #000;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s;
}
.main-nav a:hover { color: #f8dea2; }

.arrow {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.85rem;
  transition: transform 0.3s;
}
.dropdown:hover .arrow { transform: rotate(180deg); }

.dropdown { position: relative; }
.dropdown-content {
  display: none;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  background: white;
  min-width: 210px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  top: 100%;
  left: 0;
  border-radius: 6px;
  overflow: hidden;
  z-index: 10;
  transition: opacity 0.25s, visibility 0.25s;
}
.dropdown:hover .dropdown-content {
  display: block;
  visibility: visible;
  opacity: 1;
}
.dropdown-content li { border-bottom: 1px solid #eee; }
.dropdown-content li:last-child { border-bottom: none; }
.dropdown-content a {
  display: block;
  padding: 14px 20px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  font-size: 0.98rem;
}
.dropdown-content a:hover { background: #f0f8ff; }

.header-logo img { max-height: 50px; width: auto; display: block; }
.header-right { display: flex; align-items: center; gap: 20px; }
.phone {
  font-weight: 700;
  font-size: 0.98rem;
  color: #444;
  white-space: nowrap;
}
.login-group { display: flex; align-items: center; gap: 8px; }
.login-icon { vertical-align: middle; }
.login, .login-btn {
  background: #4a90e2;
  color: white;
  padding: 6px 16px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.3s;
}
.login:hover, .login-btn:hover { background: #3a7bc8; }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #333;
}

.boarding-text {
  position: relative;
  z-index: 10;
}

.boarding-grid {
  position: relative;
  z-index: 5;
}

.circle-yellow {
  z-index: 1 !important;
}

.boarding-image {
  z-index: 2;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.boarding-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 60px 40px;
}

.boarding-text h2 {
  font-size: 2.8rem;
  color: #383838;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.boarding-text p {
  font-size: 1.18rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 0.8rem;
}

.boarding-image {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.circle-yellow {
  position: absolute;
  top: -30%;
  left: -95%;
  transform: translate(-50%, -50%);
  width: 1400px;
  height: 1400px;
  background-color: #FCDC99;
  border-radius: 50%;
  z-index: 0;
  opacity: 0.9;
  pointer-events: none;
}

.main-image {
  width: 110%;
  height: auto;
  display: block;
  border-radius: 7px;
  position: relative;
  z-index: 2;
}

.perrito-float {
  position: absolute;
  width: 200px;
  height: auto;
  z-index: 4;
}
.perrito-float.right {
  bottom: 7px;
  right: -127px;
}
.perrito-float.left {
  bottom: -25px;
  left: -750px;
  transform: scaleX(-1);
}

.cola-float {
  position: absolute;
  top: -80px;
  right: -200px;
  width: 180px;
  height: auto;
  z-index: 5;
  pointer-events: none;
  opacity: 0.95;
  transform: rotate(15deg);
}

.pata-float {
  position: absolute;
  top: -50px;
  left: -350px;
  width: 280px;
  height: auto;
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
  transform: rotate(-12deg);
}

.sombra-float {
  position: absolute;
  z-index: 3;
  top: 93%;
  left: 8%;
  width: 105%;
  height: auto;
  opacity: 0.8;
  pointer-events: none;
  filter: blur(2px) brightness(0.7);
}

/* El footer se maneja ahora desde css/footer.css para consistencia en todo el sitio */

@media (max-width: 1200px) {
  .circle-yellow {
    width: 1000px;
    height: 1000px;
    left: -70%;
  }
  .perrito-float.left { left: -500px; }
  .pata-float { left: -450px; }
  .cola-float { right: -150px; }
}

@media (max-width: 1024px) {
  .header-container { padding: 10px 20px; }
  .main-nav a { padding: 8px 15px; }
}

@media (max-width: 950px) {
  .boarding-grid {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 40px 20px;
    text-align: center;
  }
  
  .boarding-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .boarding-text h2 { font-size: 2.2rem; text-align: center; }
  .boarding-text p { font-size: 1.1rem; text-align: center; }
  
  .boarding-image {
    order: -1; /* Photo on top */
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    margin-bottom: 20px;
  }

  .main-image { 
    width: 100%;
    max-width: 380px; 
    margin: 0 auto;
  }
  
  .circle-yellow {
    width: 500px;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.6;
  }
  
  .perrito-float {
    width: 100px;
  }
  .perrito-float.right {
    bottom: 20px;
    right: 50%;
    transform: translateX(180px);
  }
  .perrito-float.left {
    bottom: 20px;
    left: 50%;
    transform: translateX(-180px) scaleX(-1);
  }
  
  .sombra-float {
    width: 100%;
    max-width: 400px;
    top: 90%;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .cola-float {
    width: 80px;
    top: -30px;
    right: 50%;
    transform: translateX(180px) rotate(10deg);
  }
  
  .pata-float {
    width: 130px;
    top: -40px;
    left: -80px;
    transform: rotate(-12deg);
  }
}

@media (max-width: 768px) {
  body.boarding-page { padding-top: 68px; }
  
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .main-nav.active { display: block; }
  .main-nav.active ul {
    flex-direction: column;
    align-items: center;
  }
  
  .header-right { gap: 10px; }
  .phone { font-size: 0.85rem; }
  
}

@media (max-width: 480px) {
  .boarding-text h2 { font-size: 2rem; }
  .boarding-text p { font-size: 1rem; }
  .circle-yellow {
    width: 600px;
    height: 600px;
    left: -20%;
  }
}