:root{
  --bg:#ffffff;
  --text:#111;
  --muted:#555;
  --line:#e9e9e9;
  --soft:#f6f6f6;
  --primary:#111;
  --radius:14px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Arial, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background:
    linear-gradient(
      rgba(255,255,255,0.85),
      rgba(255,255,255,0.85)
    ),
    url("img/bg-celestial.jpg") center / cover no-repeat fixed;
  color:var(--text);
  line-height:1.45;
}
.container{width:min(1100px, 92%); margin:0 auto;}

.header{
  position:sticky; top:0; background:#fff;
  border-bottom:1px solid var(--line);
  z-index:50;
}
.nav{
  display:flex;
  align-items:center;
  gap:14px;
  padding:12px 0;
  flex-wrap:wrap;
}

.menu{
  display:flex;
  gap:18px;
  justify-content:center;
  align-items:center;
  flex:1 1 auto; /* esto ayuda a centrar el menu */
}
}

.menu a{color:var(--muted); text-decoration:none; font-size:16px;}
.menu a:hover{color:var(--text);}

.btn{
  display:inline-block; padding:12px 16px; border-radius:999px;
  text-decoration:none; border:1px solid var(--line); color:var(--text); font-weight:600;
}
.btn.primary{background:var(--primary); color:#fff; border-color:var(--primary);}
.btn.ghost{background:transparent;}
.btn.small{padding:10px 14px; font-size:14px;}

.menu::after{
  content:"▾";
  font-size:14px;
  margin-left:8px;
  color:var(--muted);
}

.hero{padding:46px 0 28px;}
.hero-grid{
  display:flex;
  justify-content:center;
  align-items:center;
}
.hero .container{
  display:flex;
  justify-content:center;
}
.hero-card{
  max-width:720px;
  margin:0 auto;
}

.hero-card{border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:var(--soft);}
.hero-card img{
  width:100%;
  height:auto;
  object-fit:contain;
  display:block;
}


h1{font-size:40px; margin:0 0 10px}
h2{font-size:30px; margin:0 0 10px}
h3{margin:14px 0 8px}
p{margin:0 0 12px; color:var(--muted)}

.cta-row{display:flex; gap:10px; flex-wrap:wrap; margin-top:10px}

.chips{display:flex; gap:8px; flex-wrap:wrap; margin-top:14px}
.chip{
  display:inline-block; padding:8px 10px; border:1px solid var(--line);
  border-radius:999px; background:#fff; color:var(--muted); font-size:13px;
}

.section{padding:38px 0}
.section.alt{background:var(--soft); border-top:1px solid var(--line); border-bottom:1px solid var(--line)}

.split{display:grid; grid-template-columns: 1fr 1fr; gap:22px; align-items:center;}
.media{border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:#fff;}
.media img{width:100%; height:260px; object-fit:cover; display:block;}

.facts{display:grid; gap:8px; margin:12px 0}
.fact{border:1px solid var(--line); border-radius:12px; padding:10px 12px; background:#fff; color:var(--muted);}

.grid2{display:grid; grid-template-columns: 1fr 1fr; gap:14px; margin-top:14px;}
.box{border:1px solid var(--line); border-radius:var(--radius); padding:14px; background:#fff;}
ul{margin:8px 0 0; padding-left:18px; color:var(--muted)}

.gallery{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
  margin-top:14px;
}

.gallery img{
  width:100%;
  height:240px;
  object-fit:cover;
  object-position:center top;
  border-radius:12px;
  border:1px solid var(--line);
  display:block;
}


.footer{padding:22px 0; border-top:1px solid var(--line);}
.footer-grid{display:flex; justify-content:space-between; gap:14px; align-items:flex-start;}
.right{text-align:right;}

@media (max-width: 900px){
  .hero-grid, .split{grid-template-columns:1fr}
  .gallery{grid-template-columns:1fr 1fr}
  .footer-grid{flex-direction:column}
  .right{text-align:left}
}
@media (max-width: 520px){
  .gallery{grid-template-columns:1fr}
}
.hero-card{
  max-width:720px;
  margin:0 auto;
}

@media (max-width: 900px){
  .hero-card{
    max-width:92%;
  }
}
.stars{
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 80% 40%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,.4), transparent);
  animation: twinkle 12s linear infinite;
  z-index:-1;
}

@keyframes twinkle{
  from{opacity:.6}
  50%{opacity:.9}
  to{opacity:.6}
}

.top-contact{
  display:flex;
  align-items:center;
  gap:12px;
}

.top-contact .email{
  font-size:15px;
  color:var(--text);
  text-decoration:none;
  font-weight:500;
}

.top-contact .email:hover{
  text-decoration:underline;
}

.top-contact .whatsapp img{
  width:42px;
  height:42px;
  display:block;
}

/* ====== Header responsive (móvil) ====== */
@media (max-width: 768px){

  /* Permite que la barra se parta en 2–3 renglones */
  .nav{
    flex-wrap: wrap;
    gap: 10px;
  }

  /* Marca a la izquierda, primera fila */
  .brand{
    flex: 1 1 auto;
  }

  /* Menú pasa a segunda fila y ocupa todo el ancho */
  .menu{
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 10px;
  }

  .menu a{
    font-size: 15px;
  }

  /* Contacto (correo + WhatsApp) queda a la derecha de la marca */
  .top-contact{
    order: 2;
    flex: 0 0 auto;
    gap: 10px;
  }

  /* En móvil el correo largo suele desbordar: lo ocultamos */
  .top-contact .email{
    display: none;
  }

  /* WhatsApp un poco más grande y siempre visible */
  .top-contact .whatsapp img,
  .top-contact .whatsapp svg{
    width: 34px;
    height: 34px;
  }
}

/* Tarjeta/burbuja universal */
.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
}

.card.center{
  text-align:center;
}

.subtitle{
  margin-top:6px;
  color:var(--muted);
  font-size:16px;
}

.lead{
  font-weight:600;
  color:#222;
}

/* burbuja destacada */
.card.highlight{
  background: rgba(255,255,255,0.92);
  border-color: rgba(233,233,233,0.9);
}
.bullets{ padding-left: 18px; }
.bullets li{ margin: 8px 0; line-height: 1.55; }

.bullets-strong li strong{ font-weight: 700; }

.more{
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.85);
}
.more summary{
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}
.more summary::marker{ color: var(--muted); }

/* HERO full width */
.hero{
  width:100vw;
  margin-left:calc(50% - 50vw);
  padding:0;
}

.hero .container{
  max-width:none;
  padding:0;
}

.hero-card{
  border:none;
  border-radius:0;
}

.hero-card img{
  width:100%;
  height:520px;
  object-fit:cover;
  display:block;
}

@media (max-width:768px){
  .hero-card img{
    height:360px;
  }
}
/* Banda visual full width */
.banda{
  width:100vw;
  margin-left:calc(50% - 50vw);
  height:260px;
  background-size:cover;
  background-position:center top;
  position:relative;
}


@media (max-width:768px){
  .banda{
    height:180px;
    background-position:center 20%;
  }
}

/* ===== Registro layout 2 columnas (desktop) / 1 columna (móvil) ===== */
.registro-body{
  min-height:100vh;
  background:
    linear-gradient(rgba(255,255,255,0.82), rgba(255,255,255,0.82)),
    url("img/bg-celestial.jpg") center/cover no-repeat fixed;
}

.registro-layout{
  max-width:1100px;
  margin:0 auto;
  padding:28px 16px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
  align-items:start;
}

.registro-card{
  background:rgba(255,255,255,0.96);
  border:1px solid rgba(230,230,230,0.95);
  border-radius:20px;
  padding:22px;
  box-shadow:0 16px 32px rgba(0,0,0,0.10);
}

.registro-card.highlight{
  background:rgba(255,255,255,0.92);
}

.registro-card h1{ margin:0 0 6px; }
.registro-card h2{ margin:0 0 6px; }
.registro-card .subtitle{ margin:0 0 14px; color:var(--muted); }

.registro-card form{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.registro-card label{
  font-weight:700;
  font-size:14px;
}

.registro-card input{
  padding:12px 12px;
  border:1px solid var(--line);
  border-radius:12px;
  font-size:15px;
  background:#fff;
}

.small{
  font-size:13px;
  color:var(--muted);
  margin-top:10px;
}

/* “Dejar en blanco” el panel izquierdo al ir a pago */
/* En PC: deja el espacio, pero “vacío” */
.registro-left.hide{
  visibility:hidden;
  pointer-events:none;
}
}

/* Placeholder a la derecha antes del pago */
.registro-placeholder{
  display:block;
}

/* Móvil: 1 columna; primero formulario; al ir a pago se oculta y se ve el pago */
@media (max-width: 768px){
  .registro-layout{
    grid-template-columns: 1fr;
  }
}

.phone-row{
  display:flex;
  gap:10px;
}

.phone-row select{
  width: 48%;
  padding:12px 12px;
  border:1px solid var(--line);
  border-radius:12px;
  font-size:15px;
  background:#fff;
}

.phone-row input{
  width: 52%;
}

@media (max-width: 768px){
  .phone-row{
    flex-direction:column;
  }
  .phone-row select,
  .phone-row input{
    width:100%;
  }
}

@media (max-width:768px){
  /* En celular: sí lo quitamos para que se vea el pago */
  .registro-left.hide{
    display:none;
  }
}

