/* NOVOTECH SI NOW Los Cabos · Landing · paleta: crema #F1ECDF · arena #DAC4A7 · terracota #B56A3D · olivo #545E47 */
:root {
  --crema: #f1ecdf;
  --arena: #dac4a7;
  --terracota: #b56a3d;
  --olivo: #545e47;
  --olivo-claro: #6b7560;
  --tinta: #3d4433;
  --tinta-suave: #6b6f62;
  --blanco: #ffffff;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --radio: 22px;
  --ancho: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--tinta); background: var(--crema); line-height: 1.5; }
img { max-width: 100%; height: auto; display: inline-block; }
a { color: var(--terracota); }
.serif { font-family: var(--serif); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.contenedor { width: min(var(--ancho), 92vw); margin: 0 auto; }
.contenedor.estrecho { width: min(720px, 92vw); }
.seccion { padding: 72px 0; }
.titulo-seccion { font-family: var(--sans); font-weight: 700; font-size: clamp(30px, 3.4vw, 46px); text-align: center; color: var(--olivo); margin: 0 0 32px; letter-spacing: -0.3px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 34px; border-radius: 40px; font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; font-family: var(--sans); line-height: 1.2; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(61,68,51,.18); }
.btn:active { transform: translateY(0); }
.btn-lleno { background: var(--terracota); color: var(--blanco); }
.btn-borde { background: transparent; color: var(--terracota); border-color: var(--terracota); }
.btn-verde { background: var(--olivo); color: var(--blanco); padding: 10px 28px; font-size: 13px; }
.btn img { width: 15px; height: auto; }
.btn-borde img { filter: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 1220px; background: var(--crema) url("../img/back_01.jpg") no-repeat center bottom / 100% auto; text-align: center; padding-top: 34px; }
.hero-contenido { position: relative; z-index: 1; width: min(860px, 92vw); margin: 0 auto; }
.hero .logo { width: 200px; height: auto; }
.hero h1 { font-size: clamp(24px, 3vw, 40px); font-weight: 600; color: var(--olivo); margin: 22px auto 0; max-width: 820px; line-height: 1.25; }
.linea { width: 90px; height: 2px; background: var(--arena); margin: 22px auto 14px; }
.fecha { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--terracota); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); margin: 0 0 24px; letter-spacing: .5px; }
.hero-botones { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ---------- WhatsApp flotante ---------- */
.whatsapp { position: fixed; right: 24px; bottom: 24px; z-index: 50; width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 8px 22px rgba(0,0,0,.22); transition: transform .15s ease; }
.whatsapp:hover { transform: scale(1.06); }
.whatsapp img { width: 64px; height: 64px; }

/* ---------- Programa ---------- */
.programa { background: var(--crema) url("../img/back_00.jpg") no-repeat center top / cover; padding-top: 40px; }
.tarjeta-dia { display: grid; grid-template-columns: 1.05fr 1.2fr; gap: 0 36px; background: var(--olivo) url("../img/back_03.jpg") no-repeat center / cover; color: var(--blanco); border-radius: var(--radio); padding: 30px; margin: 0 auto 34px; max-width: 1180px; box-shadow: 0 14px 36px rgba(61,68,51,.18); }
.tarjeta-dia-img img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; border-radius: 16px; display: block; }
.tarjeta-dia-info { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: 8px 0; }
.chip { background: var(--terracota); color: var(--blanco); font-weight: 700; font-size: 13px; letter-spacing: 1px; padding: 8px 26px; border-radius: 30px; align-self: flex-end; }
.tarjeta-dia h3 { font-size: clamp(22px, 2.3vw, 30px); font-weight: 600; margin: 0; line-height: 1.2; }
.tarjeta-dia h3 strong { font-weight: 700; }
.dato { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-size: 15px; }
.dato img { flex: none; margin-top: 2px; }
.dato a { color: var(--arena); font-weight: 700; text-decoration: underline; }
.dato small { display: block; font-size: 12px; opacity: .85; line-height: 1.4; }
.descripcion { font-size: 14px; margin: 4px 0 0; opacity: .95; }
.agenda { grid-column: 1 / -1; list-style: none; margin: 24px 0 0; padding: 22px 0 0; display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid rgba(255,255,255,.18); }
.agenda li { padding: 0 14px; border-left: 1px solid rgba(255,255,255,.25); font-size: 12px; line-height: 1.35; }
.agenda li:first-child { border-left: 0; padding-left: 4px; }
.agenda b { display: block; font-size: 15px; font-weight: 400; margin-bottom: 8px; }
.agenda span strong { display: block; font-weight: 700; }

/* ---------- Ubicaciones ---------- */
.ubicaciones { background: var(--crema) url("../img/back_02.jpg") no-repeat center / cover; }
.subtitulo { display: flex; justify-content: center; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; color: var(--olivo); margin: -18px 0 30px; }
.lugares { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.lugar { background: var(--blanco); border-radius: var(--radio); overflow: hidden; box-shadow: 0 14px 36px rgba(61,68,51,.14); display: flex; flex-direction: column; }
.lugar > img { width: 100%; height: 230px; object-fit: cover; display: block; }
.lugar-info { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.lugar-info h3 { font-size: 24px; font-weight: 600; color: var(--olivo); margin: 0; line-height: 1.2; }
.lugar-info .dato { color: var(--tinta); }
.lugar-info .dato strong { color: var(--terracota); font-size: 15px; }
.lugar-info .dato small { color: var(--tinta-suave); }
.lugar-info .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Información importante ---------- */
.informacion { background: var(--crema); padding-top: 56px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.info { display: grid; grid-template-columns: 110px 1fr; gap: 22px; align-items: center; background: var(--arena); border-radius: var(--radio); padding: 26px 30px; }
.info img { width: 110px; height: 110px; }
.info h3 { color: var(--terracota); font-size: 24px; font-weight: 600; margin: 0 0 8px; }
.info p, .info ul { margin: 0; font-size: 13px; color: var(--tinta); line-height: 1.6; }
.info ul { padding-left: 16px; }

/* ---------- Registro ---------- */
.registro { background: var(--crema) url("../img/back_04.svg") no-repeat center bottom / cover; padding-bottom: 60px; text-align: center; }
.nos-vemos { font-size: 16px; color: var(--terracota); margin: -6px 0 26px; line-height: 1.3; }
.nos-vemos .serif { font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; }
.lema { font-size: 12px; letter-spacing: 1px; color: var(--tinta-suave); margin: 0 0 30px; line-height: 1.6; }
.formulario { width: min(420px, 100%); margin: 0 auto; text-align: left; }
.campo { margin-bottom: 14px; }
.campo input[type=text], .campo input[type=email], .campo input[type=tel], .campo select { width: 100%; background: var(--crema); border: 1.5px solid var(--olivo); border-radius: 30px; padding: 12px 22px; font: 700 13px var(--sans); color: var(--tinta); outline: none; transition: box-shadow .15s ease; }
.campo input::placeholder { color: var(--tinta); opacity: .9; font-weight: 700; }
.campo input:focus, .campo select:focus { box-shadow: 0 0 0 3px rgba(84,94,71,.22); }
.campo.invalido input { border-color: #b3261e; }
.error { display: block; color: #b3261e; font-size: 12px; margin: 5px 0 0 18px; min-height: 0; }
.error:empty { display: none; }
.campo-select label { display: block; font-size: 12px; font-weight: 700; margin: 0 0 6px 18px; color: var(--olivo); }
.opciones { border: 0; padding: 0; margin: 6px 0 14px; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; font-size: 13px; font-weight: 700; }
.opciones legend { width: 100%; text-align: center; font-size: 12px; color: var(--olivo); margin-bottom: 6px; letter-spacing: .5px; }
.radio { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.radio input { accent-color: var(--olivo); width: 16px; height: 16px; margin: 0; }
.bloque-acomp { background: rgba(218,196,167,.35); border-radius: 18px; padding: 14px 14px 4px; margin-bottom: 14px; }
.bloque-acomp .campo input { background: var(--blanco); border-color: var(--arena); }
.bloque-acomp .campo input::placeholder { opacity: .55; }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.privacidad { font-size: 11px; color: var(--tinta-suave); text-align: center; margin: 4px 0 14px; }
.error-general { background: #fbe9e7; color: #8a1c12; border-radius: 14px; padding: 10px 16px; font-size: 13px; margin-bottom: 14px; text-align: center; }
.btn-enviar { width: 100%; padding: 13px; font-size: 14px; }
.btn-enviar[disabled] { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
.exito { background: var(--blanco); border-radius: var(--radio); padding: 36px 30px; box-shadow: 0 14px 36px rgba(61,68,51,.14); max-width: 520px; margin: 0 auto; }
.exito h3 { color: var(--terracota); font-size: 26px; margin: 0 0 14px; }
.exito p { margin: 6px 0; font-size: 15px; }
.exito .grande { font-size: 22px; color: var(--olivo); margin-top: 18px; }
.aviso-cerrado { background: var(--arena); border-radius: 18px; padding: 22px; font-weight: 700; color: var(--olivo); max-width: 520px; margin: 0 auto; }

/* ---------- Pie ---------- */
.pie { position: relative; line-height: 0; background: var(--olivo); }
.pie img { width: 100%; display: block; }
.pie-texto { line-height: 1.4; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 4vw; background: var(--olivo); color: rgba(255,255,255,.85); font-size: 12px; }
.pie-texto a { color: var(--arena); font-weight: 700; text-decoration: none; }

/* ---------- Páginas simples (verificación / invitado) ---------- */
.pagina-simple { background: var(--crema) url("../img/back_02.jpg") no-repeat center top / cover; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 30px 16px; text-align: center; }
.tarjeta-simple { background: var(--blanco); border-radius: var(--radio); box-shadow: 0 14px 36px rgba(61,68,51,.14); padding: 36px 30px; max-width: 520px; width: 100%; }
.tarjeta-simple .logo { width: 170px; }
.tarjeta-simple h1 { color: var(--olivo); font-size: 26px; margin: 18px 0 12px; }
.tarjeta-simple p { font-size: 15px; margin: 8px 0; }
.tarjeta-simple .qr { width: 240px; height: 240px; border: 8px solid var(--crema); border-radius: 14px; margin: 12px auto 0; display: block; }
.tarjeta-simple .codigo { font-family: monospace; font-size: 20px; letter-spacing: 3px; color: var(--olivo); font-weight: 700; margin: 8px 0 12px; }
.tarjeta-simple .folio { color: var(--tinta-suave); font-size: 13px; }
.tarjeta-simple .ok { color: #2e7d32; font-weight: 700; }
.tarjeta-simple .nota { font-size: 12px; color: var(--tinta-suave); }
.tarjeta-simple .btn { margin: 4px 0; }
.datos { text-align: left; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; background: var(--crema); border-radius: 14px; padding: 14px 18px; margin: 14px 0; }
.datos dt { color: var(--tinta-suave); font-weight: 700; }
.datos dd { margin: 0; }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .hero { min-height: 0; padding-bottom: 46vw; background-size: 130% auto; }
  .lugares { grid-template-columns: 1fr 1fr; }
  .agenda { grid-template-columns: repeat(4, 1fr); gap: 18px 0; }
  .agenda li:nth-child(5) { border-left: 0; padding-left: 4px; }
}
@media (max-width: 820px) {
  .seccion { padding: 52px 0; }
  .tarjeta-dia { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .tarjeta-dia-img img { min-height: 220px; max-height: 300px; }
  .chip { align-self: flex-start; }
  .agenda { grid-template-columns: 1fr; gap: 10px; padding-top: 16px; }
  .agenda li { border-left: 0; padding: 0; display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: start; }
  .agenda b { margin: 0; font-size: 14px; }
  .lugares { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .info { grid-template-columns: 96px 1fr; padding: 22px; }
  .info img { width: 96px; height: 96px; }
}
@media (max-width: 560px) {
  .hero { padding-top: 26px; padding-bottom: 60vw; background-size: 170% auto; }
  .hero .logo { width: 150px; }
  .hero h1 { font-size: 22px; }
  .hero-botones { flex-direction: column; align-items: stretch; width: min(320px, 100%); margin: 0 auto; }
  .hero-botones .btn { width: 100%; }
  .whatsapp, .whatsapp img { width: 54px; height: 54px; }
  .whatsapp { right: 14px; bottom: 14px; }
  .info { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .info ul { text-align: left; }
  .opciones { flex-direction: column; align-items: center; gap: 10px; }
  .pie-texto { justify-content: center; text-align: center; }
}
@media print { .whatsapp { display: none; } }

[hidden] { display: none !important; }
