/* =========================================================
   Landing Día de las Madres | Consorcio Santa Clara
   Proyecto estático listo para IIS
   ========================================================= */

:root {
  --pink: #c94f75;
  --pink-dark: #a93f61;
  --pink-soft: #fae7ec;
  --cream: #fff8f2;
  --cream-2: #fff1e9;
  --gold: #c99b45;
  --navy: #17304a;
  --text: #27384a;
  --muted: #657285;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(117, 52, 70, 0.16);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 25%, rgba(255,255,255,.95), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(255,227,235,.65), transparent 26%),
    linear-gradient(135deg, var(--cream), var(--cream-2));
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }

.ambient {
  position: fixed;
  z-index: -2;
  border-radius: 999px;
  filter: blur(4px);
  pointer-events: none;
}
.ambient-one {
  width: 310px; height: 310px; left: -80px; top: 120px;
  background: rgba(252, 202, 213, .55);
}
.ambient-two {
  width: 420px; height: 420px; right: -160px; bottom: -160px;
  background: rgba(255, 230, 190, .72);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  height: 82px;
  display: grid;
  grid-template-columns: 245px 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 12px clamp(22px, 5vw, 74px);
  background: rgba(255, 248, 242, .82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(201, 155, 69, .12);
}

.brand { display: inline-flex; align-items: center; min-width: 0; }
.brand img { width: 205px; max-height: 58px; object-fit: contain; object-position: left center; }

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3.2vw, 48px);
  font-size: .94rem;
  color: #23374d;
}
.nav a { position: relative; padding: 12px 0; transition: color .25s ease; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px;
  background: var(--pink); transform: scaleX(0); transform-origin: center; transition: transform .25s ease;
}
.nav a:hover, .nav a.active { color: var(--pink); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

.dedication-btn, .btn {
  border: 0; cursor: pointer; user-select: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.dedication-btn {
  min-height: 46px; padding: 0 22px; color: #fff; font-weight: 800;
  background: linear-gradient(135deg, #d85c82, #bd4269);
  box-shadow: 0 12px 30px rgba(189, 66, 105, .28);
}
.dedication-btn:hover, .btn:hover { transform: translateY(-2px); }

.menu-toggle { display: none; }

main { padding-top: 82px; }

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(420px, .95fr) minmax(520px, 1.05fr);
  align-items: center;
  gap: 28px;
  padding: clamp(35px, 5vw, 78px) clamp(22px, 5vw, 82px) 36px;
  overflow: hidden;
}

.floral-side-left {
  position: absolute; left: -56px; top: 92px; width: 250px; height: 78%;
  background-image: url("assets/img/tarjeta-clasica.png");
  background-size: cover; background-position: left center;
  opacity: .33; filter: saturate(1.05); pointer-events: none;
  mask-image: linear-gradient(90deg, #000 0 48%, transparent 100%);
}

.hero-copy { position: relative; z-index: 2; max-width: 650px; text-align: center; justify-self: center; }
.kicker {
  margin: 0 0 14px; color: var(--pink); font-size: .78rem; font-weight: 900;
  letter-spacing: .16em; text-transform: uppercase;
}
.hero h1 { margin: 0; line-height: .92; color: var(--navy); }
.script-word {
  display: block;
  font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive;
  font-size: clamp(5rem, 9.2vw, 10.2rem);
  font-weight: 400;
  color: var(--pink);
  letter-spacing: -.06em;
  text-shadow: 0 14px 42px rgba(201, 79, 117, .10);
}
.middle-word {
  display: block;
  margin-top: -8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 4.2vw, 4.9rem);
  font-weight: 600;
  color: var(--navy);
}
.main-word {
  display: block;
  margin-top: -4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.2rem, 7.8vw, 8.8rem);
  font-weight: 500;
  color: var(--pink);
  letter-spacing: -.045em;
}

.ornament { display: flex; align-items: center; gap: 22px; margin: 26px auto 24px; max-width: 520px; color: var(--gold); }
.ornament span { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.ornament i { font-style: normal; font-size: 1.25rem; }
.hero-message {
  max-width: 560px; margin: 0 auto; color: #26394e; font-size: clamp(1.05rem, 1.55vw, 1.33rem);
  line-height: 1.55; font-weight: 500;
}
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.btn { min-height: 52px; padding: 0 24px; font-weight: 850; font-size: .97rem; }
.btn-primary { color: #fff; background: linear-gradient(135deg, #d95f86, #bd4169); box-shadow: 0 14px 30px rgba(189, 65, 105, .25); }
.btn-outline { color: var(--pink); background: rgba(255,255,255,.68); border: 1.5px solid rgba(201, 79, 117, .62); box-shadow: 0 10px 28px rgba(117, 52, 70, .08); }
.play-icon { width: 24px; height: 24px; display: inline-grid; place-items: center; border-radius: 50%; background: #fff; color: var(--pink); font-size: .72rem; }
.btn-primary.is-playing .play-icon { animation: pulse 1.2s ease-in-out infinite; }

.hero-visual { position: relative; z-index: 1; align-self: stretch; min-height: 610px; display: grid; place-items: end center; }
.arch-frame {
  position: relative;
  width: min(720px, 100%); height: min(720px, calc(100vh - 110px)); min-height: 575px;
  overflow: hidden;
  border-radius: 52% 52% 0 0 / 48% 48% 0 0;
  border-left: 2px solid rgba(201, 155, 69, .86);
  border-top: 2px solid rgba(201, 155, 69, .78);
  box-shadow: 0 28px 80px rgba(117, 52, 70, .18);
  background: #fff3ee;
}
.arch-frame::before, .arch-frame::after {
  content: ""; position: absolute; z-index: 2; pointer-events: none;
}
.arch-frame::before {
  inset: 0; background: linear-gradient(90deg, rgba(255,248,242,.15), transparent 42%);
}
.arch-frame::after {
  right: -10px; bottom: -8px; width: 260px; height: 260px;
  background-image: url("assets/img/tarjeta-clasica.png"); background-size: 520px; background-position: right bottom;
  opacity: .42; filter: saturate(1.18); border-radius: 50%;
}
.arch-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 52%; transform: scale(1.16);
}

.closing-band {
  position: relative; margin: 0 clamp(18px, 4vw, 72px) 34px; min-height: 210px;
  display: grid; grid-template-columns: 250px 1fr 250px; align-items: center; gap: 20px;
  padding: 34px 42px;
  border: 1.5px solid rgba(201, 155, 69, .68);
  border-radius: 28px;
  background: rgba(255, 250, 246, .76);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.closing-band::before { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(201, 155, 69, .18); border-radius: 20px; pointer-events: none; }
.band-copy { position: relative; z-index: 2; text-align: center; }
.band-heart { color: var(--gold); font-size: 2.1rem; line-height: 1; margin-bottom: 14px; }
.band-copy p { margin: 0 0 4px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.26rem, 2.2vw, 2.05rem); color: var(--navy); }
.band-copy h2 { margin: 0; color: var(--pink); font-family: Georgia, "Times New Roman", serif; font-weight: 600; line-height: 1.35; font-size: clamp(1.25rem, 2.15vw, 2rem); }
.band-line { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 22px auto 0; max-width: 260px; color: var(--pink); }
.band-line span { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.band-line i { font-style: normal; }
.band-flower { height: 160px; background-image: url("assets/img/tarjeta-clasica.png"); background-size: 430px; background-repeat: no-repeat; opacity: .62; filter: saturate(1.05); }
.band-flower-left { background-position: left bottom; }
.band-flower-right { background-position: right bottom; transform: scaleX(-1); }

.petals { position: fixed; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.petal { position: absolute; top: -50px; width: var(--s); height: calc(var(--s) * 1.32); border-radius: 80% 0 80% 0; background: linear-gradient(135deg, rgba(255,229,236,.95), rgba(208,89,125,.78)); opacity: var(--o); animation: fall var(--d) linear infinite; animation-delay: var(--delay); }

.modal { position: fixed; inset: 0; z-index: 80; display: none; place-items: center; padding: 20px; }
.modal.is-open { display: grid; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(23, 48, 74, .48); backdrop-filter: blur(8px); }
.modal-card { position: relative; z-index: 2; width: min(920px, 100%); display: grid; grid-template-columns: .88fr 1fr; background: rgba(255, 250, 246, .96); border-radius: 30px; overflow: hidden; box-shadow: 0 30px 90px rgba(10, 25, 40, .32); }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.86); color: var(--navy); font-size: 2rem; line-height: 1; cursor: pointer; }
.modal-image img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.modal-content { padding: clamp(28px, 5vw, 54px); display: flex; flex-direction: column; justify-content: center; }
.modal-content h2 { margin: 0 0 16px; color: var(--pink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1; }
.modal-content p { margin: 0 0 20px; color: #33475c; font-size: 1.06rem; line-height: 1.7; }
.modal-content strong { color: var(--navy); font-size: 1.2rem; }

.reveal { opacity: 0; transform: translateY(18px); animation: reveal .8s ease forwards; }
.hero-visual.reveal { animation-delay: .15s; }
.closing-band.reveal { animation-delay: .28s; }

@keyframes reveal { to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@keyframes fall { to { top: calc(100vh + 60px); transform: translateX(var(--x)) rotate(310deg); } }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 210px 1fr auto; }
  .brand img { width: 185px; }
  .nav { gap: 22px; font-size: .88rem; }
  .hero { grid-template-columns: 1fr; padding-top: 34px; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; min-height: 520px; align-self: auto; }
  .arch-frame { width: min(700px, 100%); height: 560px; min-height: 0; }
  .closing-band { grid-template-columns: 150px 1fr 150px; padding-inline: 24px; }
}

@media (max-width: 860px) {
  .site-header { height: 76px; grid-template-columns: 1fr auto auto; padding-inline: 18px; }
  main { padding-top: 76px; }
  .brand img { width: 178px; }
  .menu-toggle { display: inline-flex; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; border: 0; background: rgba(255,255,255,.7); border-radius: 14px; padding: 0 12px; }
  .menu-toggle span { height: 2px; width: 100%; background: var(--navy); border-radius: 3px; }
  .nav { position: fixed; top: 76px; left: 18px; right: 18px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px; background: rgba(255,250,246,.97); border-radius: 20px; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 12px; }
  .dedication-btn { display: none; }
  .hero { min-height: auto; padding-inline: 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .arch-frame { height: 480px; border-radius: 46% 46% 24px 24px / 34% 34% 24px 24px; }
  .closing-band { grid-template-columns: 1fr; margin-inline: 18px; }
  .band-flower { display: none; }
  .modal-card { grid-template-columns: 1fr; max-height: 90vh; overflow-y: auto; }
  .modal-image img { min-height: 260px; max-height: 420px; }
}

@media (max-width: 520px) {
  .brand img { width: 150px; }
  .hero { padding-top: 24px; }
  .floral-side-left { opacity: .22; }
  .hero-message { font-size: 1rem; }
  .arch-frame { height: 410px; }
  .arch-frame img { transform: scale(1.18); object-position: 58% 52%; }
  .closing-band { padding: 28px 18px; border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .petals { display: none; }
}

/* =========================================================
   Ajuste solicitado:
   - Se eliminó el menú superior y el botón de dedicatoria.
   - Se mantiene únicamente el logotipo institucional.
   - La música ahora se reproduce desde un MP3 local.
   ========================================================= */
.site-header {
  grid-template-columns: 1fr;
  justify-items: start;
  height: 84px;
  padding: 12px clamp(22px, 5vw, 76px);
}
.brand img {
  width: clamp(190px, 18vw, 250px);
  max-height: 64px;
}
.nav,
.menu-toggle,
.dedication-btn {
  display: none !important;
}
main {
  padding-top: 84px;
}
.audio-note {
  max-width: 560px;
  margin: 16px auto 0;
  color: rgba(39, 56, 74, .64);
  font-size: .82rem;
  line-height: 1.45;
}
.audio-note strong {
  color: var(--pink-dark);
  font-weight: 800;
}
@media (max-width: 860px) {
  .site-header {
    height: 76px;
    grid-template-columns: 1fr;
  }
  main {
    padding-top: 76px;
  }
  .brand img {
    width: 178px;
  }
}
@media (max-width: 520px) {
  .brand img {
    width: 158px;
  }
}
