/* ==========================================================================
   Monumentos Memoriales Perches — Landing Page "Evento Especial en Vivo"
   ========================================================================== */

:root {
  --navy: #24395c;
  --navy-dark: #182742;
  --navy-soft: rgba(36, 57, 92, 0.75);
  --tan: #cbb896;
  --tan-light: #e1d3c7;
  --cream: #f7f2ec;
  --cream-soft: #faf6f1;
  --cream-card: #f0e6da;
  --white: #ffffff;
  --ink-muted: #5b6a83;

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Mulish', 'Segoe UI', sans-serif;

  --container-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--navy);
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 1.5px;
  font-size: 14px;
  text-transform: uppercase;
  padding: 16px 28px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(24, 39, 66, 0.25);
}

.btn-secondary {
  background: var(--navy);
  color: var(--white);
  width: 100%;
}

.btn-secondary:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(24, 39, 66, 0.25);
}

.btn-icon svg { flex-shrink: 0; }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--tan-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo { height: 48px; width: auto; }

.main-nav {
  display: flex;
  gap: 40px;
}

.main-nav a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--navy);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
  border-bottom-color: var(--tan);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--cream);
}

/* A partir de tablet/escritorio, la altura del hero sigue de cerca la
   proporción real de la foto (usando vw) para que no se recorte de forma
   exagerada en pantallas anchas, sin afectar el ancho (siempre 100%). */
@media (min-width: 641px) {
  .hero {
    height: clamp(560px, 56.3vw, 780px);
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 0;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    rgba(247, 242, 236, 0.98) 0%,
    rgba(247, 242, 236, 0.94) 28%,
    rgba(247, 242, 236, 0.55) 50%,
    rgba(247, 242, 236, 0.08) 68%,
    rgba(247, 242, 236, 0) 82%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 64px;
  padding-bottom: 64px;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  flex: 1;
  max-width: 34px;
  height: 1px;
  background: var(--tan);
}

.hero-text h1 {
  font-size: 56px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 420px;
  margin-bottom: 26px;
}

.event-date {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.event-date::before,
.event-date::after {
  content: "";
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--tan);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 320px;
}

.hero-text {
  max-width: 540px;
}


/* ---------- Revelacion / Features ---------- */
.revelacion {
  padding: 88px 0 72px;
  text-align: center;
}

.revelacion h2 {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.revelacion-desc {
  font-size: 16px;
  color: var(--ink-muted);
  max-width: 520px;
  margin: 0 auto 56px;
  line-height: 1.6;
}

.features {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--navy);
  min-width: 150px;
}

.feature span {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
}

.feature-divider {
  width: 1px;
  height: 64px;
  background: var(--tan-light);
}

/* ---------- Reminder Form ---------- */
.reminder {
  padding: 0 0 96px;
}

.reminder-card {
  background: var(--cream-card);
  border-radius: 8px;
  padding: 56px 40px;
  text-align: center;
}

.reminder-card h2 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.reminder-card p {
  color: var(--ink-muted);
  font-size: 16px;
  margin-bottom: 34px;
}

.reminder-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto 20px;
}

.reminder-fields input {
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: 0.5px;
  padding: 16px 18px;
  border: 1px solid var(--tan);
  border-radius: 4px;
  background: var(--white);
  color: var(--navy);
  outline: none;
  width: 100%;
}

.reminder-fields input::placeholder {
  color: #9aa4b5;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 1.5px;
}

.reminder-fields input:focus {
  border-color: var(--navy);
}

.reminder-fields input.is-invalid {
  border-color: #d64545;
}

.reminder-error {
  display: none;
  max-width: 640px;
  margin: -6px auto 18px;
  color: #d64545;
  font-size: 14px;
  font-weight: 600;
}

.reminder-error.is-visible {
  display: block;
}

.reminder-card .btn {
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--cream-soft);
  border-top: 1px solid var(--tan-light);
  padding: 26px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.logo-small { height: 36px; }

.footer-text {
  text-align: center;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--navy);
}

.footer-text p { margin: 2px 0; }

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
}

.footer-social a:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
}

/* ==========================================================================
   Piedras Únicas — campaña de revelación
   ========================================================================== */

:root {
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
}

/* ---------- Botón WhatsApp ---------- */
.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* ---------- Encabezados centrados reutilizables ---------- */
.eyebrow.center {
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

.center-heading {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  text-align: center;
}

.section-desc {
  font-size: 16px;
  color: var(--ink-muted);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.6;
  text-align: center;
}

/* ---------- Galería de piedras ---------- */
.stones-gallery {
  padding: 88px 0 16px;
  text-align: center;
}

.stones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.stone-card {
  background: var(--white);
  border: 1px solid var(--tan-light);
  border-radius: 8px;
  overflow: hidden;
}

.stone-card img {
  width: 100%;
  height: auto;
  display: block;
}

.stone-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 16px 18px 6px;
}

.stone-card p {
  font-size: 14px;
  color: var(--ink-muted);
  margin: 0 18px 18px;
  line-height: 1.5;
}

/* ---------- Ejemplos terminados ---------- */
.examples-section {
  padding: 72px 0;
  text-align: center;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.examples-grid figure {
  margin: 0;
  background: var(--cream-soft);
  border: 1px solid var(--tan-light);
  border-radius: 8px;
  overflow: hidden;
}

.examples-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center 75%;
  display: block;
}

.examples-grid figcaption {
  font-size: 14px;
  color: var(--ink-muted);
  padding: 16px 20px;
  text-align: left;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--navy);
  padding: 48px 0;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-banner-text h2 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.cta-banner-text p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  margin: 0;
}

.cta-banner .btn-whatsapp {
  flex-shrink: 0;
}

/* ---------- Botón flotante de WhatsApp ---------- */
.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  z-index: 200;
  transition: background 0.2s ease, transform 0.15s ease;
}

.floating-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px) scale(1.05);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-text h1 { font-size: 42px; }

  .hero-scrim {
    background: linear-gradient(90deg,
      rgba(247, 242, 236, 0.98) 0%,
      rgba(247, 242, 236, 0.95) 42%,
      rgba(247, 242, 236, 0.65) 65%,
      rgba(247, 242, 236, 0.15) 85%,
      rgba(247, 242, 236, 0) 100%);
  }

  .main-nav { gap: 26px; }

  .examples-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--tan-light);
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 16px;
  }

  .main-nav.is-open { display: flex; }

  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--cream); }

  .nav-toggle { display: flex; }

  .hero { min-height: 540px; }

  .hero-inner { padding-top: 44px; padding-bottom: 44px; }

  .hero-text { max-width: 100%; }

  .hero-scrim {
    background: linear-gradient(180deg,
      rgba(247, 242, 236, 0.97) 0%,
      rgba(247, 242, 236, 0.95) 60%,
      rgba(247, 242, 236, 0.82) 100%);
  }

  .hero-text h1 { font-size: 34px; }

  .event-date { font-size: 18px; }

  .revelacion h2 { font-size: 26px; }

  .features { gap: 30px; }

  .feature-divider { display: none; }

  .reminder-fields { grid-template-columns: 1fr; }

  .reminder-card { padding: 40px 22px; }

  .footer-inner { flex-direction: column; text-align: center; }

  .stones-grid { grid-template-columns: 1fr; gap: 14px; }

  .center-heading { font-size: 26px; }

  .cta-banner-inner { flex-direction: column; text-align: center; }

  .floating-whatsapp { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}
