/* Boda Miriam y Amador — estilo invitación (tipo web amigos) */

:root{
  --bg: #efe6db;               /* beige suave */
  --card: rgba(255,255,255,.55);
  --text: rgba(20, 25, 28, .92);
  --muted: rgba(50, 60, 66, .75);
  --line: rgba(0,0,0,.18);
  --radius: 18px;

  --link: rgba(20,25,28,.85);
  --shadow: 0 18px 50px rgba(10,10,10,.10);
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  color: var(--text);
  background: var(--bg);
  font-family: "Cormorant Garamond", serif;
}

/* Papel: que se ajuste al ancho/alto */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  background-image: url("./assets/paper.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  opacity: .55;
  pointer-events:none;
}

/* Layout */
.wrap{
  width: min(980px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 24px 0 70px;
  position: relative;
  z-index: 1;
}

/* Botón compartir */
.sharePill{
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 10;
  border: 1px solid rgba(0,0,0,.18);
  background: rgba(255,255,255,.75);
  color: rgba(20,25,28,.88);
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(10,10,10,.10);
}
.sharePill:hover{ background: rgba(255,255,255,.9); }

/* HERO */
.hero{
  margin-top: 54px;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,.45);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.12);
}

/* Imagen principal */
.heroImg{
  height: 360px;
  background-size: cover;
  background-position: center 35%;
  filter: saturate(1.02);
}

/* Contenido hero */
.heroContent{
  padding: 18px 18px 16px;
  text-align: center;
}

.names{
  font-family: "Allura", cursive;
  font-size: 62px;
  line-height: 1.05;
  margin-top: 2px;
  margin-bottom: 6px;
}

.dateLine{
  font-size: 20px;
  letter-spacing: .5px;
  color: var(--muted);
  margin-bottom: 10px;
}

.heroText{
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(40,48,52,.85);
}
.heroText strong{
  font-weight: 700;
  color: rgba(20,25,28,.92);
}

/* Botones en filas, muy limpios */
.ctaGrid{
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 760px){
  .ctaGrid{ grid-template-columns: 1fr 1fr; }
}

.cta{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.14);
  background: rgba(255,255,255,.70);
  cursor: pointer;
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
}
.cta:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.84);
  border-color: rgba(0,0,0,.22);
}

.ctaIcon{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.10);
  font-size: 18px;
}

.ctaTitle{
  display:block;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: rgba(20,25,28,.92);
}
.ctaSub{
  display:block;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 12.5px;
  color: rgba(50,60,66,.75);
  margin-top: 2px;
}

/* Separador tipo web amigos */
.divider{
  margin: 26px auto;
  height: 1px;
  width: min(760px, 92%);
  background: rgba(0,0,0,.18);
}

/* BLOQUES “CEREMONIA / CELEBRACIÓN” */
.sectionBlock{
  width: min(920px, 100%);
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,.45);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.12);
}

.sectionImg{
  height: 320px;
  background-size: cover;
  background-position: center;
}

.sectionBody{
  padding: 18px 18px 16px;
  text-align: center;
}

.sectionTitle{
  font-size: 20px;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 6px;
}

.sectionText{
  font-size: 18px;
  line-height: 1.55;
  color: rgba(40,48,52,.82);
}

.sectionLink{
  display: inline-block;
  margin-top: 10px;
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 16px;
}

/* CARDS “texto” (Itinerario / Autobuses / Asistencia / Tip) */
.card{
  width: min(920px, 100%);
  margin: 0 auto;
  border-radius: var(--radius);
  background: rgba(255,255,255,.45);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.12);
  padding: 18px 18px 16px;
}

.card + .card{ margin-top: 14px; }

.cardTitle{
  text-align:center;
  font-size: 20px;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cardBody{
  font-size: 18px;
  line-height: 1.6;
  color: rgba(40,48,52,.82);
}

/* ITINERARIO (vertical simple) */
.timeline{
  width: min(520px, 100%);
  margin: 10px auto 0;
  position: relative;
  padding-left: 10px;
}

.timelineRow{
  display: grid;
  grid-template-columns: 16px 70px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
}

.timelineDot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(0,0,0,.45);
  margin-left: 4px;
}

.timelineTime{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: rgba(20,25,28,.92);
}
.timelineText{
  font-size: 18px;
  color: rgba(40,48,52,.82);
}

/* Form */
.formWrap{
  margin-top: 12px;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.70);
}

.formFrame{
  width: 100%;
  height: 1180px;
  border: 0;
}
@media (min-width: 760px){
  .formFrame{ height: 980px; }
}

.formFallback{
  padding: 14px;
  color: rgba(50,60,66,.78);
}

/* Footer */
.foot{
  margin-top: 18px;
  text-align: center;
  color: rgba(50,60,66,.76);
  display: grid;
  gap: 6px;
}
.muted{
  font-size: 13px;
  color: rgba(50,60,66,.60);
}

/* Modal (mantenemos simple, por si lo usas) */
.modal::backdrop{ background: rgba(0,0,0,.45); }
.modal{ border:none; padding:0; background:transparent; }
.modalBox{
  width: min(520px, calc(100vw - 28px));
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.14);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.modalHead{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
  padding:16px 16px 10px;
  border-bottom:1px solid rgba(0,0,0,.12);
}
.modalTitle{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  font-size: 16px;
}
.modalSub{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 12.5px;
  color: rgba(50,60,66,.75);
  margin-top: 3px;
}
.iconBtn{
  border:1px solid rgba(0,0,0,.14);
  background: rgba(255,255,255,.85);
  color: rgba(20,25,28,.88);
  width:40px;height:40px;border-radius:14px;
  cursor:pointer;
}
.modalText{ padding: 14px 16px; font-size: 16px; color: rgba(40,48,52,.82); }
.modalFoot{ padding: 12px 16px 16px; display:flex; justify-content:flex-end; }
.ghost{
  border:1px solid rgba(0,0,0,.14);
  background: rgba(255,255,255,.85);
  color: rgba(20,25,28,.88);
  padding:10px 14px;
  border-radius:14px;
  cursor:pointer;
}

