/* =====================================================================
   MUJERES CON PROPÓSITO — PREMIUM DESIGN LAYER
   Loaded after style.css. Everything is scoped under body.theme-premium
   so it can be switched off by removing that class.
   style.css carries many !important rules, so visual properties here
   use !important where they need to win.
   ===================================================================== */

:root {
  --p-ink: #3f2623;
  --p-ink-2: #2a1820;
  --p-plum: #f3d5d1;
  --p-wine: #a64b43;
  --p-wine-2: #8f3f38;
  --p-rose: #e7a8a0;
  --p-blush: #f9e4e0;
  --p-gold: #c99a5b;
  --p-gold-2: #b8864a;
  --p-ivory: #fff7f6;
  --p-sand: #f9edea;
  --p-paper: #ffffff;
  --p-text: #3f2623;
  --p-muted: #6d5250;
  --p-line: rgba(28, 17, 23, 0.09);
  --p-line-strong: rgba(28, 17, 23, 0.16);
  --p-radius: 22px;
  --p-radius-lg: 32px;
  --p-shadow-sm: 0 1px 2px rgba(28, 17, 23, 0.04), 0 4px 14px rgba(28, 17, 23, 0.05);
  --p-shadow: 0 2px 6px rgba(28, 17, 23, 0.04), 0 18px 48px rgba(28, 17, 23, 0.09);
  --p-shadow-lg: 0 30px 80px rgba(28, 17, 23, 0.18);
  --p-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --p-sans: "Manrope", "Archivo", system-ui, -apple-system, sans-serif;
  --p-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --p-max: 1200px;
}

/* ---------- Base ---------- */
body.theme-premium {
  background: var(--p-ivory) !important;
  color: var(--p-text) !important;
  font-family: var(--p-sans) !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.theme-premium ::selection { background: var(--p-wine); color: #fff; }

.theme-premium p,
.theme-premium li,
.theme-premium span,
.theme-premium a,
.theme-premium button,
.theme-premium input,
.theme-premium textarea,
.theme-premium select,
.theme-premium label {
  font-family: var(--p-sans);
}

.theme-premium .divider-glow { display: none !important; }

.theme-premium section {
  scroll-margin-top: 96px;
}

/* ---------- Section headings ---------- */
.theme-premium .section-header-premium,
.theme-premium .ofrecemos-section > h2 {
  text-align: center;
  margin: 0 auto 56px !important;
  max-width: 760px;
}

.theme-premium .section-header-premium h2,
.theme-premium .ofrecemos-section > h2,
.theme-premium .youtube-explore h2,
.theme-premium .join-copy h2 {
  font-family: var(--p-serif) !important;
  font-weight: 500 !important;
  font-size: clamp(2.4rem, 4.6vw, 3.9rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.02em !important;
  color: var(--p-ink) !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

.theme-premium .section-header-premium h2 .icon { display: none !important; }

.theme-premium .p-eyebrow,
.theme-premium .youtube-explore .yt-kicker,
.theme-premium .join-eyebrow,
.theme-premium .calendar-eyebrow,
.theme-premium .hero-kicker {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--p-wine) !important;
  font-family: var(--p-sans) !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
}

.theme-premium .p-eyebrow::before,
.theme-premium .youtube-explore .yt-kicker::before,
.theme-premium .join-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.theme-premium .section-header-premium p,
.theme-premium .section-header-premium .subtitle,
.theme-premium .youtube-subtitle {
  margin-top: 18px !important;
  color: var(--p-muted) !important;
  font-size: 1.06rem !important;
  line-height: 1.7 !important;
  font-weight: 400 !important;
}

/* ---------- Buttons ---------- */
.theme-premium .btn,
.theme-premium .hero-main-btn,
.theme-premium .about-more-btn,
.theme-premium .donate-btn-new,
.theme-premium .youtube-more,
.theme-premium #cSubmitBtn,
.theme-premium .btn-secondary,
.theme-premium .menu-donate-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 30px !important;
  border-radius: 999px !important;
  border: 1px solid transparent !important;
  background: var(--p-wine) !important;
  color: #fff !important;
  font-family: var(--p-sans) !important;
  font-size: 0.95rem !important;
  font-weight: 650 !important;
  letter-spacing: 0.01em !important;
  text-decoration: none !important;
  box-shadow: 0 10px 30px rgba(166, 75, 67, 0.28) !important;
  transform: none;
  transition: transform 0.35s var(--p-ease), box-shadow 0.35s var(--p-ease), background 0.35s var(--p-ease) !important;
  cursor: pointer;
}

.theme-premium .btn:hover,
.theme-premium .hero-main-btn:hover,
.theme-premium .about-more-btn:hover,
.theme-premium .donate-btn-new:hover,
.theme-premium .youtube-more:hover,
.theme-premium #cSubmitBtn:hover,
.theme-premium .btn-secondary:hover {
  background: var(--p-wine-2) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 16px 40px rgba(166, 75, 67, 0.34) !important;
}

.theme-premium :is(a, button, input, textarea, select):focus-visible {
  outline: 2px solid var(--p-gold) !important;
  outline-offset: 3px !important;
}

/* ---------- Header ---------- */
.theme-premium header {
  position: fixed !important;
  top: 16px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: min(calc(100% - 32px), 1240px) !important;
  max-width: none !important;
  min-height: 72px !important;
  padding: 10px 14px 10px 18px !important;
  border-radius: 999px !important;
  background: rgba(28, 17, 23, 0.28) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  backdrop-filter: saturate(160%) blur(18px) !important;
  -webkit-backdrop-filter: saturate(160%) blur(18px) !important;
  box-shadow: none !important;
  transition: background 0.4s var(--p-ease), border-color 0.4s var(--p-ease), box-shadow 0.4s var(--p-ease) !important;
  z-index: 2000 !important;
}

.theme-premium header.is-scrolled {
  background: rgba(251, 248, 244, 0.86) !important;
  border-color: var(--p-line) !important;
  box-shadow: 0 10px 40px rgba(28, 17, 23, 0.10) !important;
}

.theme-premium header img,
.theme-premium .header-left img {
  height: 46px !important;
  max-height: 46px !important;
  width: 46px !important;
  object-fit: contain !important;
  padding: 4px;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12) !important;
}

.theme-premium .header-left { gap: 12px !important; }

.theme-premium header h1 {
  margin: 0 !important;
  font-family: var(--p-serif) !important;
  font-size: 1.32rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.05 !important;
  color: #fff !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  max-width: none !important;
}

.theme-premium header h1::after { display: none !important; }

.theme-premium .header-subtitle {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.66rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}

.theme-premium header.is-scrolled h1 { color: var(--p-ink) !important; }
.theme-premium header.is-scrolled .header-subtitle { color: var(--p-muted) !important; }

.theme-premium nav ul { gap: 4px !important; }

.theme-premium nav ul li a {
  padding: 10px 16px !important;
  border-radius: 999px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  transition: background 0.3s var(--p-ease), color 0.3s var(--p-ease) !important;
}

.theme-premium nav ul li a::after,
.theme-premium nav ul li a::before { display: none !important; }

.theme-premium nav ul li a:hover { background: rgba(255, 255, 255, 0.12) !important; color: #fff !important; }
.theme-premium header.is-scrolled nav ul li a { color: var(--p-text) !important; }
.theme-premium header.is-scrolled nav ul li a:hover { background: rgba(166, 75, 67, 0.07) !important; color: var(--p-wine) !important; }

.theme-premium nav ul li a.menu-donate-btn,
.theme-premium header.is-scrolled nav ul li a.menu-donate-btn {
  min-height: 46px;
  margin-left: 8px;
  padding: 0 24px !important;
  background: var(--p-gold) !important;
  color: var(--p-ink) !important;
  box-shadow: none !important;
}

.theme-premium nav ul li a.menu-donate-btn:hover { background: var(--p-gold-2) !important; }

.theme-premium .hamburger {
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 50% !important;
  box-shadow: none !important;
}

.theme-premium .hamburger span { background: #fff !important; }
.theme-premium header.is-scrolled .hamburger { background: var(--p-paper) !important; border-color: var(--p-line) !important; }
.theme-premium header.is-scrolled .hamburger span { background: var(--p-ink) !important; }

@media (max-width: 850px) {
  .theme-premium header {
    top: 10px !important;
    width: calc(100% - 20px) !important;
    min-height: 64px !important;
    padding: 8px 8px 8px 10px !important;
  }
  .theme-premium header img,
  .theme-premium .header-left img { height: 42px !important; width: 42px !important; max-height: 42px !important; }
  .theme-premium header h1 { font-size: 1.12rem !important; margin-left: 0 !important; }
  .theme-premium .header-subtitle { font-size: 0.58rem !important; letter-spacing: 0.12em !important; }

  .theme-premium nav ul {
    top: 84px !important;
    padding: 10px !important;
    border-radius: 26px !important;
    background: rgba(251, 248, 244, 0.97) !important;
    border: 1px solid var(--p-line) !important;
    box-shadow: var(--p-shadow-lg) !important;
  }
  .theme-premium nav ul li a,
  .theme-premium header.is-scrolled nav ul li a {
    justify-content: flex-start !important;
    min-height: 52px !important;
    padding: 0 18px !important;
    border-radius: 16px !important;
    color: var(--p-ink) !important;
    font-size: 1rem !important;
  }
  .theme-premium nav ul li a:hover { background: rgba(166, 75, 67, 0.07) !important; color: var(--p-wine) !important; }
  .theme-premium nav ul li a.menu-donate-btn { justify-content: center !important; margin: 6px 0 0 !important; }
}

/* ---------- Hero ---------- */
.theme-premium .hero-premium {
  position: relative;
  isolation: isolate;
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) !important;
  align-items: center !important;
  gap: clamp(32px, 5vw, 80px) !important;
  width: 100% !important;
  max-width: none !important;
  min-height: min(100vh, 980px) !important;
  margin: 0 !important;
  padding: 150px max(24px, calc((100vw - var(--p-max)) / 2)) 110px !important;
  border: 0 !important;
  border-radius: 0 0 var(--p-radius-lg) var(--p-radius-lg) !important;
  overflow: hidden !important;
  background:
    radial-gradient(ellipse 60% 70% at 85% 20%, rgba(201, 164, 107, 0.22), transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(147, 57, 79, 0.45), transparent 60%),
    linear-gradient(160deg, #2a1420 0%, #1c1117 55%, #140c11 100%) !important;
  box-shadow: none !important;
}

.theme-premium .hero-premium::before,
.theme-premium .hero-premium::after { content: none !important; }

.theme-premium .hero-premium .p-hero-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.18;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.theme-premium .hero-premium-content {
  max-width: 660px !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: left !important;
}

.theme-premium .hero-kicker { color: var(--p-gold-2) !important; }
.theme-premium .hero-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.theme-premium .hero-premium h2 {
  display: flex !important;
  flex-direction: column;
  margin: 0 0 28px !important;
  font-family: var(--p-serif) !important;
  font-weight: 500 !important;
  font-size: clamp(3.2rem, 7.4vw, 6.6rem) !important;
  line-height: 0.95 !important;
  letter-spacing: -0.03em !important;
  color: #fff !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
}

.theme-premium .hero-premium h2 span { color: inherit !important; background: none !important; -webkit-text-fill-color: currentColor !important; }

.theme-premium .hero-premium h2 .hero-title-accent {
  font-style: normal !important;
  color: var(--p-gold-2) !important;
}

.theme-premium .hero-premium-content > p {
  max-width: 540px !important;
  margin: 0 0 40px !important;
  color: rgba(255, 255, 255, 0.74) !important;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem) !important;
  line-height: 1.75 !important;
  font-weight: 400 !important;
}

.theme-premium .hero-premium-actions {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px !important;
  justify-content: flex-start !important;
}

.theme-premium .hero-main-btn {
  background: var(--p-gold) !important;
  color: var(--p-ink) !important;
  box-shadow: 0 14px 40px rgba(201, 164, 107, 0.28) !important;
}
.theme-premium .hero-main-btn:hover { background: var(--p-gold-2) !important; }

.theme-premium .hero-secondary-link {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px !important;
  border-radius: 999px !important;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: none !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  text-decoration: none !important;
  transition: background 0.3s var(--p-ease), border-color 0.3s var(--p-ease) !important;
}
.theme-premium .hero-secondary-link::after { content: "→"; transition: transform 0.3s var(--p-ease); }
.theme-premium .hero-secondary-link:hover { background: rgba(255, 255, 255, 0.08) !important; border-color: rgba(255, 255, 255, 0.5) !important; }
.theme-premium .hero-secondary-link:hover::after { transform: translateX(4px); }

.theme-premium .hero-stats {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  margin-top: 64px !important;
  padding-top: 28px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: none !important;
}

.theme-premium .hero-stat {
  padding: 0 20px 0 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: left !important;
}
.theme-premium .hero-stat + .hero-stat { padding-left: 20px !important; border-left: 1px solid rgba(255, 255, 255, 0.12) !important; }

.theme-premium .hero-stat strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--p-serif) !important;
  font-size: 1.6rem !important;
  font-weight: 500 !important;
  color: #fff !important;
}
.theme-premium .hero-stat span { color: rgba(255, 255, 255, 0.6) !important; font-size: 0.85rem !important; font-weight: 500 !important; line-height: 1.5 !important; }

/* Hero visual */
.theme-premium .hero-premium-panel {
  position: relative;
  display: block !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.theme-premium .hero-logo-card {
  position: relative !important;
  aspect-ratio: 4 / 5;
  width: 100% !important;
  max-width: 460px;
  margin-left: auto;
  padding: 0 !important;
  border-radius: 220px 220px 28px 28px !important;
  overflow: visible !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.theme-premium .hero-logo-card .p-hero-photo {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  border-radius: inherit;
  box-shadow: var(--p-shadow-lg);
  filter: saturate(0.92) contrast(1.02);
}

.theme-premium .hero-logo-card::before {
  content: "" !important;
  position: absolute;
  inset: -14px;
  border: 1px solid rgba(227, 201, 149, 0.4);
  border-radius: 234px 234px 36px 36px;
  pointer-events: none;
  display: block !important;
}

.theme-premium .hero-logo-card .p-hero-seal {
  position: absolute;
  top: 34px;
  left: -34px;
  width: 92px !important;
  height: 92px !important;
  padding: 14px;
  border-radius: 50%;
  background: var(--p-ivory);
  box-shadow: var(--p-shadow-lg);
  object-fit: contain !important;
  animation: p-float 7s ease-in-out infinite;
}

.theme-premium .hero-floating-card {
  position: absolute !important;
  left: -48px !important;
  right: auto !important;
  bottom: 36px !important;
  max-width: 300px !important;
  padding: 22px 24px !important;
  border-radius: 20px !important;
  background: rgba(251, 248, 244, 0.94) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(14px);
  box-shadow: var(--p-shadow-lg) !important;
  text-align: left !important;
  animation: p-float 8s ease-in-out infinite reverse;
}

.theme-premium .hero-floating-card strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--p-serif) !important;
  font-size: 1.35rem !important;
  font-weight: 600 !important;
  color: var(--p-ink) !important;
}
.theme-premium .hero-floating-card span { color: var(--p-muted) !important; font-size: 0.88rem !important; line-height: 1.55 !important; }

@keyframes p-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 960px) {
  .theme-premium .hero-premium {
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
    padding: 124px 20px 72px !important;
    border-radius: 0 0 26px 26px !important;
  }
  .theme-premium .hero-premium-panel { order: 2; max-width: 420px; width: 100%; margin: 12px auto 0; }
  .theme-premium .hero-logo-card { max-width: 340px; margin: 0 auto; }
  .theme-premium .hero-logo-card .p-hero-seal { left: -12px; width: 72px !important; height: 72px !important; }
  .theme-premium .hero-floating-card { left: -8px !important; bottom: 20px !important; max-width: 250px !important; }
  .theme-premium .hero-stats { margin-top: 44px !important; }
}

@media (max-width: 520px) {
  .theme-premium .hero-premium h2 { font-size: clamp(2.9rem, 13vw, 3.6rem) !important; }
  .theme-premium .hero-premium-actions > * { width: 100%; }
  .theme-premium .hero-stat { padding-right: 10px !important; }
  .theme-premium .hero-stat + .hero-stat { padding-left: 10px !important; }
  .theme-premium .hero-stat strong { font-size: 1.2rem !important; }
  .theme-premium .hero-stat span { font-size: 0.74rem !important; }
}

/* ---------- Generic sections ---------- */
.theme-premium #invitees,
.theme-premium #about,
.theme-premium #timeline,
.theme-premium .ofrecemos-section,
.theme-premium #events,
.theme-premium .youtube-explore,
.theme-premium #donate,
.theme-premium #gallery,
.theme-premium #soundcloud,
.theme-premium #contact,
.theme-premium #join {
  width: min(calc(100% - 40px), var(--p-max)) !important;
  max-width: var(--p-max) !important;
  margin: 0 auto !important;
  padding: clamp(80px, 10vw, 130px) 0 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.theme-premium #contact { padding-bottom: clamp(80px, 10vw, 130px) !important; }

/* Cards (destacadas / eventos / generic) */
.theme-premium .card,
.theme-premium .ofrecemos-card,
.theme-premium .timeline-step,
.theme-premium .contact-form-card,
.theme-premium .calendar-card,
.theme-premium .soundcloud-mini {
  background: var(--p-paper) !important;
  border: 1px solid var(--p-line) !important;
  border-radius: var(--p-radius) !important;
  box-shadow: var(--p-shadow-sm) !important;
  transition: transform 0.5s var(--p-ease), box-shadow 0.5s var(--p-ease), border-color 0.5s var(--p-ease) !important;
}

.theme-premium .card:hover,
.theme-premium .ofrecemos-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--p-shadow) !important;
  border-color: rgba(166, 75, 67, 0.18) !important;
}

.theme-premium .card h3,
.theme-premium .ofrecemos-card h3,
.theme-premium .timeline-step h3 {
  font-family: var(--p-serif) !important;
  font-weight: 600 !important;
  font-size: 1.55rem !important;
  line-height: 1.15 !important;
  letter-spacing: -0.01em !important;
  color: var(--p-ink) !important;
}

.theme-premium .card p,
.theme-premium .ofrecemos-card p,
.theme-premium .timeline-step p {
  color: var(--p-muted) !important;
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
  font-weight: 400 !important;
}

/* Wrappers that were drawn as big glass boxes */
.theme-premium .events-wrapper,
.theme-premium .invitees-wrapper {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.theme-premium .events-arrow,
.theme-premium .invitees-arrow {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: var(--p-paper) !important;
  border: 1px solid var(--p-line-strong) !important;
  color: var(--p-ink) !important;
  box-shadow: var(--p-shadow-sm) !important;
  opacity: 1 !important;
  transition: background 0.3s var(--p-ease), color 0.3s var(--p-ease) !important;
}
.theme-premium .events-arrow:hover,
.theme-premium .invitees-arrow:hover { background: var(--p-ink) !important; color: #fff !important; }

/* Destacadas portraits */
.theme-premium #invitees .card {
  padding: 12px 12px 24px !important;
  overflow: hidden;
}
.theme-premium #invitees .card img {
  width: 100% !important;
  aspect-ratio: 4 / 5;
  height: auto !important;
  object-fit: cover !important;
  border-radius: 14px !important;
  border: 0 !important;
  box-shadow: none !important;
  margin-bottom: 18px !important;
  transition: transform 0.8s var(--p-ease) !important;
}
.theme-premium #invitees .card:hover img { transform: scale(1.02); }
.theme-premium #invitees .invitee-title {
  color: var(--p-wine) !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}

/* Events */
.theme-premium #events .card { padding: 32px 28px !important; text-align: left !important; }
.theme-premium #events .card-icon,
.theme-premium .ofrecemos-card .icon {
  width: 52px !important;
  height: 52px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 0 22px !important;
  border-radius: 14px !important;
  background: var(--p-blush) !important;
  color: var(--p-wine) !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 1.25rem !important;
}

/* ---------- Scripture ---------- */
.theme-premium .scripture {
  width: min(calc(100% - 40px), 960px) !important;
  margin: 0 auto !important;
  padding: clamp(90px, 11vw, 140px) 0 0 !important;
  background: none !important;
}

.theme-premium .verse-block,
.theme-premium .verse-block.enhanced {
  position: relative;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: center !important;
}

.theme-premium .verse-block::before {
  content: "\201C" !important;
  display: block !important;
  position: static !important;
  margin-bottom: -10px;
  font-family: var(--p-serif) !important;
  font-size: 6rem !important;
  line-height: 1 !important;
  color: var(--p-gold) !important;
  opacity: 1 !important;
  background: none !important;
}
.theme-premium .verse-block::after { content: none !important; }

.theme-premium .verse-block p {
  font-family: var(--p-serif) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem) !important;
  line-height: 1.3 !important;
  color: var(--p-ink) !important;
  letter-spacing: -0.01em !important;
}

.theme-premium .verse-block .author {
  margin-top: 26px !important;
  color: var(--p-wine) !important;
  font-family: var(--p-sans) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
}

/* ---------- About ---------- */
.theme-premium #about {
  text-align: center !important;
}
.theme-premium #about > p {
  max-width: 760px;
  margin: 0 auto 36px !important;
  font-family: var(--p-serif) !important;
  font-size: clamp(1.45rem, 2.6vw, 2rem) !important;
  line-height: 1.45 !important;
  color: var(--p-text) !important;
  font-weight: 400 !important;
}
.theme-premium .about-more-btn {
  background: transparent !important;
  color: var(--p-ink) !important;
  border: 1px solid var(--p-line-strong) !important;
  box-shadow: none !important;
}
.theme-premium .about-more-btn:hover { background: var(--p-ink) !important; color: #fff !important; box-shadow: none !important; }

/* ---------- Timeline ---------- */
.theme-premium .timeline-horizontal {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
  background: none !important;
  padding: 0 !important;
}
.theme-premium .timeline-horizontal::before,
.theme-premium .timeline-horizontal::after { display: none !important; }

.theme-premium .timeline-step {
  position: relative;
  padding: 30px 26px !important;
  text-align: left !important;
}
.theme-premium .timeline-step::before,
.theme-premium .timeline-step::after { display: none !important; }

.theme-premium .timeline-step .year {
  display: block !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  font-family: var(--p-serif) !important;
  font-size: 3rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  color: var(--p-wine) !important;
  -webkit-text-fill-color: currentColor !important;
}

@media (max-width: 900px) {
  .theme-premium .timeline-horizontal { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 520px) {
  .theme-premium .timeline-horizontal { grid-template-columns: 1fr !important; }
}

/* ---------- Lo que hacemos ---------- */
.theme-premium .ofrecemos-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
}
.theme-premium .ofrecemos-card { padding: 36px 30px !important; text-align: left !important; }
@media (max-width: 860px) {
  .theme-premium .ofrecemos-grid { grid-template-columns: 1fr !important; }
}

/* ---------- Join band ---------- */
.theme-premium #join .join-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: clamp(32px, 6vw, 80px) !important;
  align-items: center !important;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(36px, 6vw, 72px) !important;
  border-radius: var(--p-radius-lg) !important;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(201, 164, 107, 0.25), transparent 60%),
    linear-gradient(150deg, var(--p-plum), var(--p-ink)) !important;
  border: 0 !important;
  box-shadow: var(--p-shadow-lg) !important;
  text-align: left !important;
}
.theme-premium .join-copy h2 { color: #fff !important; font-size: clamp(2.2rem, 4vw, 3.4rem) !important; }
.theme-premium .join-copy > p { color: rgba(255, 255, 255, 0.74) !important; font-size: 1.04rem !important; line-height: 1.7 !important; }
.theme-premium .join-eyebrow { color: var(--p-gold-2) !important; }
.theme-premium .join-highlights { gap: 14px !important; margin: 28px 0 32px !important; }
.theme-premium .join-highlights > div {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}
.theme-premium .join-highlights strong { color: var(--p-gold-2) !important; }
.theme-premium .join-highlights span { color: rgba(255, 255, 255, 0.7) !important; }
.theme-premium #join .btn-secondary { background: var(--p-gold) !important; color: var(--p-ink) !important; }
.theme-premium .join-image-card {
  border-radius: 24px !important;
  overflow: hidden !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3) !important;
  border: 0 !important;
}
.theme-premium .join-image-card img { aspect-ratio: 4 / 4.4; object-fit: cover !important; }
.theme-premium .join-image-overlay {
  background: linear-gradient(180deg, transparent, rgba(20, 12, 17, 0.85)) !important;
  border: 0 !important;
}
.theme-premium .join-image-overlay span { font-family: var(--p-serif) !important; font-size: 1.5rem !important; color: #fff !important; }
@media (max-width: 860px) {
  .theme-premium #join .join-grid { grid-template-columns: 1fr !important; }
}

/* ---------- YouTube ---------- */
.theme-premium .youtube-explore { text-align: center !important; }
.theme-premium .youtube-explore .yt-kicker { justify-content: center; }
.theme-premium .yt-grid { gap: 20px !important; margin-top: 48px !important; }
.theme-premium .yt-grid > * {
  border-radius: var(--p-radius) !important;
  overflow: hidden;
  border: 1px solid var(--p-line) !important;
  background: var(--p-paper) !important;
  box-shadow: var(--p-shadow-sm) !important;
}
.theme-premium .youtube-more {
  margin-top: 40px !important;
  background: transparent !important;
  color: var(--p-ink) !important;
  border: 1px solid var(--p-line-strong) !important;
  box-shadow: none !important;
}
.theme-premium .youtube-more:hover { background: var(--p-ink) !important; color: #fff !important; box-shadow: none !important; }

/* ---------- Donate ---------- */
.theme-premium #donate .donate-container {
  position: relative;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(44px, 7vw, 88px) clamp(24px, 6vw, 88px) !important;
  border-radius: var(--p-radius-lg) !important;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 90% at 0% 100%, rgba(147, 57, 79, 0.5), transparent 60%),
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(201, 164, 107, 0.28), transparent 60%),
    var(--p-ink) !important;
  border: 0 !important;
  box-shadow: var(--p-shadow-lg) !important;
  text-align: center !important;
}
.theme-premium #donate .donate-text {
  max-width: 680px;
  margin: 0 auto 28px !important;
  font-family: var(--p-serif) !important;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem) !important;
  line-height: 1.45 !important;
  color: #fff !important;
}
.theme-premium #donate .donate-verse {
  max-width: 620px;
  margin: 0 auto 36px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: rgba(255, 255, 255, 0.62) !important;
  font-style: italic;
  font-size: 0.98rem !important;
  line-height: 1.7 !important;
  box-shadow: none !important;
}
.theme-premium #donate .donate-btn-new { background: var(--p-gold) !important; color: var(--p-ink) !important; }
.theme-premium #donate .donate-btn-new:hover { background: var(--p-gold-2) !important; }

/* ---------- Gallery ---------- */
.theme-premium .gallery-tabs {
  display: inline-flex !important;
  gap: 4px !important;
  padding: 5px !important;
  margin: 0 auto 36px !important;
  border-radius: 999px !important;
  background: var(--p-sand) !important;
  border: 1px solid var(--p-line) !important;
  box-shadow: none !important;
}
.theme-premium #gallery { text-align: center; }
.theme-premium .gallery-tabs .tab {
  padding: 10px 20px !important;
  border-radius: 999px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--p-muted) !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
}
.theme-premium .gallery-tabs .tab.active { background: var(--p-paper) !important; color: var(--p-ink) !important; box-shadow: var(--p-shadow-sm) !important; }
.theme-premium .gallery-row img {
  border-radius: 18px !important;
  border: 0 !important;
  box-shadow: none !important;
  transition: transform 0.7s var(--p-ease), filter 0.7s var(--p-ease) !important;
}
.theme-premium .gallery-row img:hover { transform: scale(1.015) !important; filter: brightness(1.04); }

/* ---------- SoundCloud ---------- */
.theme-premium .soundcloud-mini { padding: clamp(24px, 4vw, 40px) !important; }
.theme-premium .sc-mini-badge { background: var(--p-blush) !important; color: var(--p-wine) !important; border: 0 !important; }
.theme-premium #scCurrentTitle { font-family: var(--p-serif) !important; font-weight: 600 !important; color: var(--p-ink) !important; }
.theme-premium .sc-progress-track { background: var(--p-sand) !important; }
.theme-premium .sc-progress-fill { background: linear-gradient(90deg, var(--p-wine), var(--p-gold)) !important; }
.theme-premium .sc-mini-btn { border: 1px solid var(--p-line-strong) !important; background: var(--p-paper) !important; color: var(--p-ink) !important; box-shadow: none !important; }
.theme-premium .sc-mini-btn-play { background: var(--p-wine) !important; border-color: var(--p-wine) !important; color: #fff !important; }

/* ---------- Contact ---------- */
.theme-premium .contact-form-card,
.theme-premium .calendar-card { padding: clamp(24px, 4vw, 40px) !important; }
.theme-premium #contactForm input,
.theme-premium #contactForm textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 18px !important;
  border-radius: 14px !important;
  border: 1px solid var(--p-line-strong) !important;
  background: var(--p-ivory) !important;
  color: var(--p-text) !important;
  font-size: 0.98rem !important;
  box-shadow: none !important;
  transition: border-color 0.3s var(--p-ease), background 0.3s var(--p-ease), box-shadow 0.3s var(--p-ease) !important;
}
.theme-premium #contactForm textarea { min-height: 150px; }
.theme-premium #contactForm input:focus,
.theme-premium #contactForm textarea:focus {
  outline: none !important;
  border-color: var(--p-wine) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(166, 75, 67, 0.1) !important;
}
.theme-premium #cSubmitBtn { width: 100%; }
.theme-premium .calendar-card-premium { background: var(--p-sand) !important; }
.theme-premium #calendarTodayText { font-family: var(--p-serif) !important; font-size: 1.9rem !important; color: var(--p-ink) !important; }
.theme-premium .calendar-item {
  background: var(--p-paper) !important;
  border: 1px solid var(--p-line) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}
.theme-premium .calendar-item-mark,
.theme-premium .calendar-block-icon { color: var(--p-gold) !important; background: none !important; }

/* ---------- Modals ---------- */
.theme-premium .modal-overlay { background: rgba(20, 12, 17, 0.6) !important; backdrop-filter: blur(8px); }
.theme-premium .modal-content {
  border-radius: 28px !important;
  border: 1px solid var(--p-line) !important;
  background: var(--p-ivory) !important;
  box-shadow: var(--p-shadow-lg) !important;
}
.theme-premium .modal-content h2 {
  font-family: var(--p-serif) !important;
  font-weight: 500 !important;
  color: var(--p-ink) !important;
  -webkit-text-fill-color: currentColor !important;
  background: none !important;
}
.theme-premium .donate-amounts .amount {
  border-radius: 14px !important;
  border: 1px solid var(--p-line-strong) !important;
  background: #fff !important;
  color: var(--p-ink) !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
.theme-premium .donate-amounts .amount.active,
.theme-premium .donate-amounts .amount.selected,
.theme-premium .donate-amounts .amount:hover { background: var(--p-ink) !important; color: #fff !important; border-color: var(--p-ink) !important; }
.theme-premium .join-modal-premium-head { background: linear-gradient(150deg, var(--p-plum), var(--p-ink)) !important; }
.theme-premium .join-modal-premium-head h3 { font-family: var(--p-serif) !important; font-weight: 500 !important; }

/* ---------- App promo ---------- */
.theme-premium .p-app {
  width: min(calc(100% - 40px), var(--p-max));
  margin: 0 auto;
  padding: clamp(80px, 10vw, 130px) 0 0;
}
.theme-premium .p-app-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(32px, 6vw, 72px);
  border-radius: var(--p-radius-lg);
  background: var(--p-sand);
  border: 1px solid var(--p-line);
}
.theme-premium .p-app h2 {
  margin: 0 0 18px;
  font-family: var(--p-serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--p-ink);
}
.theme-premium .p-app p { margin: 0 0 26px; color: var(--p-muted); font-size: 1.04rem; line-height: 1.7; }
.theme-premium .p-app-features { display: grid; gap: 14px; margin: 0 0 30px; padding: 0; list-style: none; }
.theme-premium .p-app-features li { display: flex; gap: 14px; align-items: flex-start; color: var(--p-text); font-weight: 500; line-height: 1.5; }
.theme-premium .p-app-features i { flex: 0 0 auto; width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 10px; background: #fff; color: var(--p-wine); border: 1px solid var(--p-line); }
.theme-premium .p-app-soon { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: var(--p-ink); color: #fff; font-size: 0.88rem; font-weight: 600; }
.theme-premium .p-app-soon i { color: var(--p-gold-2); }
.theme-premium .p-phone {
  position: relative;
  width: min(100%, 280px);
  aspect-ratio: 9 / 19;
  margin: 0 auto;
  padding: 12px;
  border-radius: 46px;
  background: var(--p-ink);
  box-shadow: var(--p-shadow-lg);
}
.theme-premium .p-phone-screen {
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 44px 14px 14px;
  background: var(--p-ivory);
}
.theme-premium .p-phone-notif {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--p-line);
  box-shadow: var(--p-shadow);
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--p-text);
  animation: p-notif 6s var(--p-ease) infinite;
}
.theme-premium .p-phone-notif b { display: block; font-size: 0.78rem; color: var(--p-ink); }
.theme-premium .p-phone-notif .p-join { display: inline-block; margin-top: 8px; padding: 5px 12px; border-radius: 999px; background: var(--p-wine); color: #fff; font-size: 0.7rem; font-weight: 700; }
.theme-premium .p-phone-tile { flex: 1; border-radius: 18px; background: linear-gradient(160deg, var(--p-plum), var(--p-ink)); }
.theme-premium .p-phone-tile + .p-phone-tile { flex: 0.6; background: #fff; border: 1px solid var(--p-line); }
@keyframes p-notif {
  0% { opacity: 0; transform: translateY(-14px); }
  10%, 85% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-14px); }
}
@media (max-width: 860px) {
  .theme-premium .p-app-card { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.theme-premium .site-footer {
  margin-top: 0 !important;
  padding: 72px max(24px, calc((100vw - var(--p-max)) / 2)) 40px !important;
  background: var(--p-ink) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  border: 0 !important;
  border-radius: var(--p-radius-lg) var(--p-radius-lg) 0 0 !important;
  box-shadow: none !important;
}
.theme-premium .site-footer * { color: inherit; }
.theme-premium .site-footer a { color: rgba(255, 255, 255, 0.82) !important; text-decoration: none !important; }
.theme-premium .site-footer a:hover { color: var(--p-gold-2) !important; }
.theme-premium .site-footer h2,
.theme-premium .site-footer h3,
.theme-premium .site-footer h4,
.theme-premium .site-footer strong { color: #fff !important; font-family: var(--p-serif) !important; font-weight: 500 !important; -webkit-text-fill-color: currentColor !important; background: none !important; }

/* ---------- Floating buttons ---------- */
.theme-premium .whatsapp-float,
.theme-premium .social-float a,
.theme-premium #backToTop,
.theme-premium .back-to-top {
  box-shadow: 0 10px 30px rgba(28, 17, 23, 0.22) !important;
}

/* ---------- Cookie banner ---------- */
.theme-premium [class*="cookie"][class*="banner"],
.theme-premium #cookieBanner,
.theme-premium .analytics-consent {
  border-radius: 20px !important;
  border: 1px solid var(--p-line) !important;
  background: rgba(251, 248, 244, 0.97) !important;
  box-shadow: var(--p-shadow-lg) !important;
}

/* ---------- Reveal on scroll ---------- */
.theme-premium .p-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--p-ease), transform 1s var(--p-ease);
  transition-delay: var(--p-delay, 0ms);
}
.theme-premium .p-reveal.p-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .theme-premium *,
  .theme-premium *::before,
  .theme-premium *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .theme-premium .p-reveal { opacity: 1; transform: none; }
}

.theme-premium .section-header-premium .p-eyebrow { justify-content: center; }
.theme-premium .section-header-premium .p-eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

/* ---------- Fixes against legacy grid/typography rules ---------- */
.theme-premium .hero-premium .p-hero-grain { position: absolute !important; inset: 0 !important; grid-area: auto !important; }
.theme-premium .hero-premium-content { grid-column: 1 !important; grid-row: 1 !important; }
.theme-premium .hero-premium-panel { grid-column: 2 !important; grid-row: 1 !important; }
.theme-premium .hero-premium h2 span { font-family: inherit !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; letter-spacing: inherit !important; }
.theme-premium header img,
.theme-premium .header-left img { padding: 0 !important; object-fit: cover !important; }

.theme-premium .p-app,
.theme-premium .p-app p,
.theme-premium .p-app li,
.theme-premium .p-app span { text-align: left !important; }
.theme-premium .p-app h2 { color: var(--p-ink) !important; font-family: var(--p-serif) !important; font-weight: 500 !important; -webkit-text-fill-color: currentColor !important; background: none !important; text-align: left !important; }
.theme-premium .p-app p { color: var(--p-muted) !important; }
.theme-premium .p-app .p-app-soon,
.theme-premium .p-app .p-app-soon * { color: #fff !important; }
.theme-premium .p-app .p-app-soon i { color: var(--p-gold-2) !important; }
.theme-premium .p-app .p-phone-notif .p-join { color: #fff !important; }

@media (max-width: 960px) {
  .theme-premium .hero-premium-content,
  .theme-premium .hero-premium-panel { grid-column: 1 !important; grid-row: auto !important; }
}

/* Hero alignment + header contrast */
.theme-premium .hero-premium h2,
.theme-premium .hero-premium-content,
.theme-premium .hero-premium-content > p { text-align: left !important; align-items: flex-start !important; }
.theme-premium header:not(.is-scrolled) nav ul li a:not(.menu-donate-btn) { color: rgba(255, 255, 255, 0.92) !important; opacity: 1 !important; }

/* Header mark: crop the generous whitespace of the icon */
.theme-premium header .logo {
  display: inline-flex !important;
  width: 46px; height: 46px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff7f5;
  flex: 0 0 auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
}
.theme-premium header .logo img { transform: scale(1.9); box-shadow: none !important; background: transparent !important; }
.theme-premium .hero-logo-card .p-hero-seal { width: 112px !important; height: 112px !important; padding: 8px !important; }

/* Invitees: no extra frame around the track */
.theme-premium .invitees-track,
.theme-premium .events-track { background: none !important; border: 0 !important; box-shadow: none !important; }

/* Timeline (legacy rules are #id-scoped) */
.theme-premium #timeline .section-header-premium h2,
.theme-premium #timeline .section-header-premium h2 span {
  font-family: var(--p-serif) !important;
  font-weight: 500 !important;
  color: var(--p-ink) !important;
  -webkit-text-fill-color: currentColor !important;
  background: none !important;
  opacity: 1 !important;
}
.theme-premium #timeline .timeline-horizontal {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
  overflow: visible !important;
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
}
.theme-premium #timeline .timeline-horizontal::before { display: none !important; }
.theme-premium #timeline .timeline-step {
  width: auto !important; min-width: 0 !important; max-width: none !important;
  padding: 30px 26px !important;
  text-align: left !important;
  background: var(--p-paper) !important;
  border: 1px solid var(--p-line) !important;
  border-radius: var(--p-radius) !important;
  box-shadow: var(--p-shadow-sm) !important;
}
.theme-premium #timeline .timeline-step .year {
  display: block !important;
  width: auto !important; height: auto !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  font-family: var(--p-serif) !important;
  font-size: 3rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  color: var(--p-wine) !important;
}
.theme-premium #timeline .timeline-step h3 { font-family: var(--p-serif) !important; font-size: 1.5rem !important; color: var(--p-ink) !important; }
.theme-premium #timeline .timeline-step p { color: var(--p-muted) !important; }
@media (max-width: 900px) { .theme-premium #timeline .timeline-horizontal { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 520px) { .theme-premium #timeline .timeline-horizontal { grid-template-columns: 1fr !important; } }

/* Join photo caption */
.theme-premium .join-image-overlay p { color: #fff !important; }

/* Headings inside #id-scoped legacy sections */
.theme-premium :is(#invitees, #about, #events, #donate, #gallery, #contact, #join) .section-header-premium h2,
.theme-premium :is(#invitees, #about, #events, #donate, #gallery, #contact, #join) .section-header-premium h2 span:not(.icon) {
  font-family: var(--p-serif) !important;
  font-weight: 500 !important;
  font-size: clamp(2.4rem, 4.6vw, 3.9rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.02em !important;
  color: var(--p-ink) !important;
  -webkit-text-fill-color: currentColor !important;
  background: none !important;
  text-shadow: none !important;
  opacity: 1 !important;
}
.theme-premium #join .join-copy h2 { color: #fff !important; font-size: clamp(2.2rem, 4vw, 3.4rem) !important; }
.theme-premium #contact .calendar-card h3,
.theme-premium #contact .calendar-head h3 { font-family: var(--p-serif) !important; font-weight: 500 !important; color: var(--p-ink) !important; -webkit-text-fill-color: currentColor !important; background: none !important; }

.theme-premium header a.logo {
  width: 46px !important; height: 46px !important;
  min-width: 46px !important; max-width: 46px !important;
  padding: 0 !important; margin: 0 !important;
}
.theme-premium header a.logo img { width: 46px !important; height: 46px !important; max-height: 46px !important; border-radius: 0 !important; }
@media (max-width: 850px) {
  .theme-premium header a.logo,
  .theme-premium header a.logo img { width: 42px !important; height: 42px !important; min-width: 42px !important; max-width: 42px !important; max-height: 42px !important; }
}
.theme-premium header a.logo { border-radius: 50% !important; overflow: hidden !important; background: #fff7f5 !important; align-items: center; justify-content: center; }

/* Mobile hero visual: lighter overlay so the photo reads */
@media (max-width: 960px) {
  .theme-premium .hero-logo-card .p-hero-seal { width: 76px !important; height: 76px !important; top: 18px; left: -6px; }
  .theme-premium .hero-floating-card { left: 12px !important; right: 12px !important; bottom: 12px !important; max-width: none !important; padding: 14px 16px !important; }
  .theme-premium .hero-floating-card strong { font-size: 1.1rem !important; margin-bottom: 2px; }
  .theme-premium .hero-floating-card span { font-size: 0.8rem !important; }
}
@media (max-width: 520px) {
  .theme-premium .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .theme-premium .hero-stat + .hero-stat { border-left: 1px solid rgba(255, 255, 255, 0.12) !important; border-top: 0 !important; border-radius: 0 !important; }
  .theme-premium .hero-stat { border-radius: 0 !important; }
  .theme-premium .p-app-card { padding: 28px 22px; }
}
.theme-premium nav ul li a { -webkit-text-fill-color: currentColor !important; }

/* #nav-menu legacy rules are id-scoped */
.theme-premium header #nav-menu a { color: var(--p-text) !important; background: transparent !important; box-shadow: none !important; border: 0 !important; }
.theme-premium header:not(.is-scrolled) #nav-menu a { color: rgba(255, 255, 255, 0.92) !important; }
.theme-premium header #nav-menu a:hover { color: var(--p-wine) !important; background: rgba(166, 75, 67, 0.07) !important; }
.theme-premium header:not(.is-scrolled) #nav-menu a:hover { color: #fff !important; background: rgba(255, 255, 255, 0.12) !important; }
.theme-premium header #nav-menu a.menu-donate-btn { background: var(--p-gold) !important; color: var(--p-ink) !important; }
@media (max-width: 850px) {
  .theme-premium header #nav-menu a,
  .theme-premium header:not(.is-scrolled) #nav-menu a { color: var(--p-ink) !important; }
}


/* =====================================================================
   PASTEL PALETTE — keep the original soft pink backgrounds everywhere.
   Sections that were dark (hero, join, donate, footer) become pastel
   with dark text; the brand terracotta-rose is the accent.
   ===================================================================== */
body.theme-premium {
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.95), transparent 25%),
    radial-gradient(circle at 20% 18%, rgba(231, 168, 160, 0.16), transparent 14%),
    linear-gradient(180deg, #fff8f6 0%, #fff1ee 38%, #f7ebe8 100%) !important;
}

/* Header: always light glass with dark text */
.theme-premium header,
.theme-premium header.is-scrolled {
  background: rgba(255, 250, 249, 0.82) !important;
  border-color: rgba(166, 75, 67, 0.12) !important;
  box-shadow: 0 10px 34px rgba(166, 75, 67, 0.10) !important;
}
.theme-premium header h1 { color: var(--p-ink) !important; }
.theme-premium .header-subtitle { color: var(--p-muted) !important; }
.theme-premium header:not(.is-scrolled) #nav-menu a,
.theme-premium header #nav-menu a { color: var(--p-text) !important; }
.theme-premium header:not(.is-scrolled) #nav-menu a:hover,
.theme-premium header #nav-menu a:hover { color: var(--p-wine) !important; background: rgba(166, 75, 67, 0.08) !important; }
.theme-premium header #nav-menu a.menu-donate-btn,
.theme-premium nav ul li a.menu-donate-btn { background: var(--p-wine) !important; color: #fff !important; }
.theme-premium header #nav-menu a.menu-donate-btn:hover { background: var(--p-wine-2) !important; color: #fff !important; }
.theme-premium .hamburger,
.theme-premium header.is-scrolled .hamburger { background: #fff !important; border-color: rgba(166, 75, 67, 0.14) !important; }
.theme-premium .hamburger span { background: var(--p-ink) !important; }

/* Hero */
.theme-premium .hero-premium {
  background:
    radial-gradient(ellipse 55% 70% at 88% 18%, rgba(255, 255, 255, 0.85), transparent 60%),
    radial-gradient(ellipse 50% 60% at 8% 92%, rgba(231, 168, 160, 0.35), transparent 60%),
    linear-gradient(160deg, #fdeeea 0%, #f9e1dc 55%, #f5d6d0 100%) !important;
}
.theme-premium .hero-premium .p-hero-grain { opacity: 0.08; }
.theme-premium .hero-kicker { color: var(--p-wine) !important; }
.theme-premium .hero-premium h2 { color: var(--p-ink) !important; }
.theme-premium .hero-premium h2 .hero-title-accent { color: var(--p-wine) !important; }
.theme-premium .hero-premium-content > p { color: var(--p-muted) !important; }
.theme-premium .hero-main-btn { background: var(--p-wine) !important; color: #fff !important; box-shadow: 0 14px 34px rgba(166, 75, 67, 0.28) !important; }
.theme-premium .hero-main-btn:hover { background: var(--p-wine-2) !important; }
.theme-premium .hero-secondary-link { color: var(--p-ink) !important; border-color: rgba(63, 38, 35, 0.22) !important; background: rgba(255, 255, 255, 0.55) !important; }
.theme-premium .hero-secondary-link:hover { background: #fff !important; border-color: rgba(63, 38, 35, 0.35) !important; }
.theme-premium .hero-stats { border-top-color: rgba(166, 75, 67, 0.16) !important; }
.theme-premium .hero-stat + .hero-stat { border-left-color: rgba(166, 75, 67, 0.16) !important; }
.theme-premium .hero-stat strong { color: var(--p-ink) !important; }
.theme-premium .hero-stat span { color: var(--p-muted) !important; }
.theme-premium .hero-logo-card::before { border-color: rgba(166, 75, 67, 0.25); }
.theme-premium .hero-logo-card .p-hero-photo { box-shadow: 0 30px 70px rgba(166, 75, 67, 0.22); }

/* Join band */
.theme-premium #join .join-grid {
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(255, 255, 255, 0.8), transparent 60%),
    linear-gradient(150deg, #fbe6e2, #f5d3cd) !important;
  box-shadow: 0 24px 60px rgba(166, 75, 67, 0.14) !important;
}
.theme-premium #join .join-copy h2 { color: var(--p-ink) !important; }
.theme-premium .join-copy > p { color: var(--p-muted) !important; }
.theme-premium .join-eyebrow { color: var(--p-wine) !important; }
.theme-premium .join-highlights > div { background: rgba(255, 255, 255, 0.7) !important; border-color: rgba(166, 75, 67, 0.12) !important; }
.theme-premium .join-highlights strong { color: var(--p-wine) !important; }
.theme-premium .join-highlights span { color: var(--p-muted) !important; }
.theme-premium #join .btn-secondary { background: var(--p-wine) !important; color: #fff !important; }
.theme-premium .join-image-card { box-shadow: 0 24px 50px rgba(166, 75, 67, 0.2) !important; }

/* Donate */
.theme-premium #donate .donate-container {
  background:
    radial-gradient(ellipse 50% 90% at 0% 100%, rgba(231, 168, 160, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(255, 255, 255, 0.85), transparent 60%),
    linear-gradient(160deg, #fdeeea, #f7dcd6) !important;
  box-shadow: 0 24px 60px rgba(166, 75, 67, 0.14) !important;
}
.theme-premium #donate .donate-text { color: var(--p-ink) !important; }
.theme-premium #donate .donate-verse { color: var(--p-muted) !important; }
.theme-premium #donate .donate-btn-new { background: var(--p-wine) !important; color: #fff !important; }
.theme-premium #donate .donate-btn-new:hover { background: var(--p-wine-2) !important; }

/* App promo */
.theme-premium .p-app-card { background: rgba(255, 255, 255, 0.6); border-color: rgba(166, 75, 67, 0.12); }
.theme-premium .p-app .p-app-soon { background: var(--p-wine) !important; }
.theme-premium .p-app .p-app-soon i { color: #fff !important; }
.theme-premium .p-phone { background: #4a2e2b; }
.theme-premium .p-phone-tile { background: linear-gradient(160deg, #f3d5d1, #e7a8a0); }

/* Footer */
.theme-premium .site-footer {
  background: linear-gradient(180deg, #f9e4e0, #f3d5d1) !important;
  color: var(--p-muted) !important;
}
.theme-premium .site-footer a { color: var(--p-text) !important; }
.theme-premium .site-footer a:hover { color: var(--p-wine) !important; }
.theme-premium .site-footer h2,
.theme-premium .site-footer h3,
.theme-premium .site-footer h4,
.theme-premium .site-footer strong { color: var(--p-ink) !important; }
.theme-premium .footer-bottom { border-top-color: rgba(166, 75, 67, 0.15) !important; }

/* Cards sit on pink: give them a whisper of warmth */
.theme-premium .card,
.theme-premium .ofrecemos-card,
.theme-premium #timeline .timeline-step,
.theme-premium .contact-form-card,
.theme-premium .soundcloud-mini { background: rgba(255, 255, 255, 0.82) !important; border-color: rgba(166, 75, 67, 0.10) !important; }
.theme-premium .calendar-card-premium { background: rgba(249, 237, 234, 0.9) !important; }
.theme-premium .gallery-tabs { background: rgba(255, 255, 255, 0.6) !important; }
.theme-premium .site-footer .footer-brand-text p,
.theme-premium .site-footer .footer-bottom,
.theme-premium .site-footer .footer-bottom span { color: var(--p-muted) !important; -webkit-text-fill-color: currentColor !important; }
.theme-premium .site-footer .footer-email { color: var(--p-wine) !important; -webkit-text-fill-color: currentColor !important; }
.theme-premium .site-footer .footer-logo { background: #fff !important; border-radius: 12px; }

/* =====================================================================
   TYPOGRAPHY SYSTEM — exactly two families.
   Cormorant Garamond: h1–h3 and editorial statements.
   Manrope: everything else. Icon fonts are left alone.
   ===================================================================== */
.theme-premium :where(*:not(i):not(.fa):not(.fas):not(.far):not(.fab):not([class^="fa-"]):not([class*=" fa-"]):not(.iti__flag)) {
  font-family: var(--p-sans) !important;
}
.theme-premium :is(h1, h2, h3),
.theme-premium :is(h1, h2, h3) span:not(.icon),
.theme-premium .modal-content :is(h2, h3),
.theme-premium .join-modal-premium-head h3,
.theme-premium .verse-block p,
.theme-premium #about > p,
.theme-premium #donate .donate-text,
.theme-premium .hero-stat strong,
.theme-premium .hero-floating-card strong,
.theme-premium #timeline .timeline-step .year,
.theme-premium .join-image-overlay span,
.theme-premium #calendarTodayText,
.theme-premium #scCurrentTitle {
  font-family: var(--p-serif) !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
}
/* Small UI headings stay in the sans family for clarity */
.theme-premium :is(h4, h5, h6),
.theme-premium .calendar-block-title,
.theme-premium .calendar-item-title,
.theme-premium .yt-lightbox-footer h4 {
  font-family: var(--p-sans) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}
.theme-premium #soundcloud h2,
.theme-premium #soundcloud .sc-mini-head h2,
.theme-premium #joinModal .join-modal-premium-head h3 {
  font-family: var(--p-serif) !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
}

/* Consistent type scale for card-level titles */
.theme-premium #soundcloud .sc-mini-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem) !important;
  line-height: 1.1 !important;
  color: var(--p-ink) !important;
  -webkit-text-fill-color: currentColor !important;
  background: none !important;
  text-align: left !important;
}
.theme-premium #soundcloud h2::before { display: none !important; }
.theme-premium #contact .calendar-card h3,
.theme-premium #contact .calendar-head h3 { font-size: 1.9rem !important; line-height: 1.1 !important; }
.theme-premium #calendarTodayText { font-size: 1.4rem !important; color: var(--p-muted) !important; }
.theme-premium #soundcloud .sc-mini-link,
.theme-premium #soundcloud .sc-mini-btn-play {
  background: var(--p-wine) !important;
  border-color: var(--p-wine) !important;
  color: #fff !important;
  box-shadow: 0 10px 26px rgba(166, 75, 67, 0.25) !important;
}
.theme-premium #soundcloud .sc-mini-link { border-radius: 999px !important; font-weight: 600 !important; }

/* Hero fit: three fixed lines, CTA above the fold on laptop screens */
.theme-premium .hero-premium {
  min-height: 0 !important;
  padding-top: 132px !important;
  padding-bottom: 72px !important;
}
.theme-premium .hero-premium h2 {
  font-size: clamp(2.8rem, 5vw, 5.2rem) !important;
  line-height: 1 !important;
  margin-bottom: 22px !important;
}
.theme-premium .hero-premium h2 > span { white-space: nowrap; }
.theme-premium .hero-premium .hero-kicker { margin-bottom: 14px !important; }
.theme-premium .hero-premium-content > p { margin-bottom: 30px !important; }
.theme-premium .hero-stats { margin-top: 44px !important; }
.theme-premium .hero-logo-card {
  max-width: min(440px, calc((100vh - 190px) * 0.8)) !important;
  margin-left: auto !important;
  margin-right: 0 !important;
}
@media (max-width: 960px) {
  .theme-premium .hero-premium { padding-top: 116px !important; }
  .theme-premium .hero-logo-card { max-width: 340px !important; margin: 0 auto !important; }
}
@media (max-width: 420px) {
  .theme-premium .hero-premium h2 { font-size: clamp(2.5rem, 12vw, 3.2rem) !important; }
}
.theme-premium .hero-premium h2 > span { display: block !important; margin: 0 !important; padding: 0 !important; line-height: 1.04 !important; }
.theme-premium .hero-stat { border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
.theme-premium .hero-stat + .hero-stat { border-left: 1px solid rgba(166, 75, 67, 0.16) !important; }
.theme-premium .hero-premium h2 { gap: 0 !important; row-gap: 0 !important; }

/* =====================================================================
   POLISH PASS (Safari review)
   ===================================================================== */

/* 1. Ghost rectangles: legacy backdrop-filter draws faint edges in Safari.
      Only the header and modal overlays keep the blur. */
.theme-premium *:not(header):not(.modal-overlay):not(.join-overlay) {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* 2. Hero stats: no leftover rounded borders */
.theme-premium .hero-stat,
.theme-premium .hero-stat::before,
.theme-premium .hero-stat::after { border-top: 0 !important; border-right: 0 !important; border-bottom: 0 !important; outline: 0 !important; }
.theme-premium .hero-stat::before,
.theme-premium .hero-stat::after { content: none !important; }
.theme-premium .hero-stat:first-child { border-left: 0 !important; }
.theme-premium .hero-kicker::after { content: none !important; }

/* 3. Scripture: calmer spacing, quotes already live in the text */
.theme-premium .scripture { padding-top: clamp(72px, 8vw, 104px) !important; }
.theme-premium .verse-block,
.theme-premium .verse-block.enhanced { margin: 0 auto !important; max-width: 860px; }
.theme-premium .verse-block::before { content: none !important; display: none !important; }

/* 4. Timeline: identical cards, one alignment */
.theme-premium #timeline .timeline-horizontal { align-items: stretch !important; }
.theme-premium #timeline .timeline-step { margin: 0 !important; top: 0 !important; transform: none !important; }
.theme-premium #timeline .timeline-step h3,
.theme-premium #timeline .timeline-step p { text-align: left !important; margin-left: 0 !important; }
.theme-premium #timeline .timeline-step h3 { margin: 0 0 8px !important; }

/* 5. Events: no scrollbar, arrows outside the cards, buttons aligned */
.theme-premium #eventsGrid {
  scrollbar-width: none !important;
  -ms-overflow-style: none;
  align-items: stretch !important;
  padding-bottom: 8px !important;
}
.theme-premium #eventsGrid::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }
.theme-premium #events .events-wrapper { position: relative; padding: 0 64px !important; }
.theme-premium #events .events-arrow.left { left: 0 !important; }
.theme-premium #events .events-arrow.right { right: 0 !important; }
.theme-premium #events .events-arrow { top: 50% !important; transform: translateY(-50%) !important; z-index: 2; }
.theme-premium #eventsGrid .card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  height: auto !important;
}
.theme-premium #eventsGrid .card .card-icon { margin: 0 auto 20px !important; }
.theme-premium #eventsGrid .card h3 { min-height: 2.3em; display: flex; align-items: center; justify-content: center; margin: 0 0 6px !important; }
.theme-premium #eventsGrid .card > :last-child { margin-top: auto !important; }
.theme-premium #eventsGrid .card a,
.theme-premium #eventsGrid .card button { margin-top: 22px !important; }
@media (max-width: 700px) {
  .theme-premium #events .events-wrapper { padding: 0 !important; }
}

/* 6. Gallery: equal title heights, cleaner stacked cards */
.theme-premium .gallery-activity-title {
  min-height: 2.4em;
  display: flex !important;
  align-items: flex-end;
  justify-content: center;
  margin: 0 0 22px !important;
  font-family: var(--p-serif) !important;
  font-weight: 500 !important;
  font-size: 1.6rem !important;
  line-height: 1.15 !important;
  color: var(--p-ink) !important;
  -webkit-text-fill-color: currentColor !important;
}
.theme-premium .gallery-row .gallery-stack-photo {
  border: 6px solid #fff !important;
  border-radius: 20px !important;
  background: #fff !important;
  box-shadow: 0 12px 30px rgba(166, 75, 67, 0.14) !important;
}
.theme-premium .gallery-row .gallery-stack-photo.stack-2,
.theme-premium .gallery-row .gallery-stack-photo.stack-3 { filter: saturate(0.85) brightness(1.04); }
.theme-premium .gallery-row .gallery-stack-photo:hover { transform: none; }
.theme-premium .gallery-row .gallery-stack-photo.stack-2 { transform: rotate(-4deg) !important; }
.theme-premium .gallery-row .gallery-stack-photo.stack-3 { transform: rotate(4deg) !important; }
.theme-premium .gallery-stack-card:hover .gallery-stack-photo.stack-2 { transform: rotate(-7deg) translateX(-4px) !important; }
.theme-premium .gallery-stack-card:hover .gallery-stack-photo.stack-3 { transform: rotate(7deg) translateX(4px) !important; }

/* 7. Reveal animation: short, vertical only, so nothing looks misaligned mid-scroll */
.theme-premium .p-reveal { transform: translateY(14px); transition-duration: 0.6s; }
.theme-premium .p-reveal.p-in { transform: none; }
.theme-premium .youtube-explore h2 {
  white-space: normal !important;
  max-width: 100% !important;
  overflow-wrap: break-word;
  padding: 0 !important;
}
.theme-premium .youtube-explore { overflow: hidden; }
@media (max-width: 520px) {
  .theme-premium .section-header-premium h2,
  .theme-premium .youtube-explore h2,
  .theme-premium :is(#invitees, #about, #events, #donate, #gallery, #contact) .section-header-premium h2 {
    font-size: clamp(2rem, 9vw, 2.6rem) !important;
  }
}

/* Safari draws faint layer seams on elements that keep a transform.
   The legacy .reveal script leaves one behind; neutralize it. */
.theme-premium .reveal:not(.p-reveal),
.theme-premium .reveal.visible:not(.p-reveal),
.theme-premium .verse-block,
.theme-premium .verse-block.enhanced,
.theme-premium #timeline.timeline-section {
  transform: none !important;
  opacity: 1 !important;
  will-change: auto !important;
}
.theme-premium .p-reveal.p-in { transform: none !important; will-change: auto !important; }

/* Destacadas: three portraits per row on desktop (JS sets 2 inline) */
.theme-premium #inviteesTrack > .card {
  flex: 0 0 calc(33.333% - 16px) !important;
  width: calc(33.333% - 16px) !important;
  min-width: calc(33.333% - 16px) !important;
  max-width: calc(33.333% - 16px) !important;
}
.theme-premium #inviteesTrack > .card img { aspect-ratio: 4 / 5 !important; max-height: 460px; }
.theme-premium #inviteesTrack > .card h3 { font-size: 1.45rem !important; margin: 0 0 4px !important; }
@media (max-width: 960px) {
  .theme-premium #inviteesTrack > .card { flex-basis: calc(50% - 12px) !important; width: calc(50% - 12px) !important; min-width: calc(50% - 12px) !important; max-width: calc(50% - 12px) !important; }
}
@media (max-width: 600px) {
  .theme-premium #inviteesTrack > .card { flex-basis: 82% !important; width: 82% !important; min-width: 82% !important; max-width: 82% !important; }
}

/* Events: breathing room between schedule and button */
.theme-premium #events #eventsGrid .card > p { margin: 0 0 24px !important; }
.theme-premium #events #eventsGrid .card > a.btn { margin-top: auto !important; }

/* =====================================================================
   MODALS: Únete + Donar
   ===================================================================== */
/* Remove the hard-coded "Comunidad Mujeres con Propósito" strip that sat on top of the close button */
.theme-premium .modal-content::before,
.theme-premium .join-modal-content::before { content: none !important; display: none !important; }

.theme-premium :is(.modal-content, .join-modal-content) .close-btn,
.theme-premium :is(.modal-content, .join-modal-content) .close-modal {
  width: 40px !important; height: 40px !important;
  display: inline-flex !important; align-items: center; justify-content: center;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(63, 38, 35, 0.12) !important;
  color: var(--p-ink) !important;
  font-size: 1.4rem !important; line-height: 1 !important;
  box-shadow: 0 4px 14px rgba(63, 38, 35, 0.1) !important;
  z-index: 5;
}

/* Join header: brand solid, no stray symbol */
.theme-premium .join-modal-premium-head {
  background: linear-gradient(150deg, #b5564d, #8f3f38) !important;
}
.theme-premium .join-modal-premium-head::after { opacity: 0.5; }
.theme-premium .join-modal-premium-head h3 { color: #fff !important; -webkit-text-fill-color: #fff !important; }
.theme-premium .join-modal-premium-badge { font-family: var(--p-sans) !important; font-weight: 700 !important; letter-spacing: 0.16em !important; }
.theme-premium .join-section-title { font-family: var(--p-sans) !important; font-weight: 700 !important; letter-spacing: 0.12em !important; color: var(--p-wine) !important; }
.theme-premium .join-form-premium label { font-weight: 600 !important; color: var(--p-ink) !important; }
.theme-premium .join-form-premium :is(input, select, textarea) {
  border-radius: 14px !important;
  border: 1px solid rgba(63, 38, 35, 0.16) !important;
  background: #fff !important;
  box-shadow: none !important;
}
.theme-premium .join-form-premium :is(input, select, textarea):focus {
  outline: none !important;
  border-color: var(--p-wine) !important;
  box-shadow: 0 0 0 4px rgba(166, 75, 67, 0.12) !important;
}
.theme-premium .join-form-premium button[type="submit"],
.theme-premium #joinForm button[type="submit"] {
  width: 100%;
  min-height: 54px !important;
  border-radius: 999px !important;
  background: var(--p-wine) !important;
  background-image: none !important;
  color: #fff !important;
  font-weight: 650 !important;
  border: 0 !important;
  box-shadow: 0 12px 30px rgba(166, 75, 67, 0.26) !important;
}

/* Donate modal */
.theme-premium #donateModal .modal-content { max-width: 560px !important; }
.theme-premium #donateModal h2 { font-size: clamp(2rem, 4vw, 2.6rem) !important; margin-bottom: 6px !important; }
.theme-premium #donateModal .donate-subtitle { color: var(--p-muted) !important; margin-bottom: 22px !important; }
.theme-premium #donateModal .donate-amounts {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 0 0 18px !important;
}
.theme-premium #donateModal .donate-amounts .amount {
  min-height: 54px !important;
  width: 100% !important;
  padding: 0 !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  border-radius: 14px !important;
}
.theme-premium #donateModal .donate-custom label { font-weight: 600 !important; color: var(--p-ink) !important; }
.theme-premium #donateModal #customDonateAmount {
  min-height: 52px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(63, 38, 35, 0.16) !important;
  box-shadow: none !important;
}
.theme-premium #donateModal #customDonateAmount:focus { border-color: var(--p-wine) !important; box-shadow: 0 0 0 4px rgba(166, 75, 67, 0.12) !important; outline: none !important; }
.theme-premium #donate-button-container { width: 100% !important; max-width: none !important; }
.theme-premium #donate-button-helper {
  background: none !important; border: 0 !important; box-shadow: none !important;
  color: var(--p-muted) !important; font-weight: 500 !important; padding: 0 !important; margin: 6px 0 12px !important;
}
.theme-premium #donate-button,
.theme-premium #donate-button button,
.theme-premium #donate-button a {
  border-radius: 999px !important;
  background: var(--p-wine) !important;
  background-image: none !important;
  box-shadow: 0 12px 30px rgba(166, 75, 67, 0.26) !important;
}
.theme-premium #donate-button::before { content: none !important; }
.theme-premium .paypal-qr-card {
  border-radius: 20px !important;
  border: 1px solid rgba(166, 75, 67, 0.12) !important;
  background: #fff !important;
  box-shadow: none !important;
}
.theme-premium .paypal-qr-image { max-width: 220px !important; margin: 0 auto !important; display: block; }
.theme-premium .paypal-qr-caption { color: var(--p-muted) !important; font-weight: 500 !important; }
@media (max-width: 520px) {
  .theme-premium #donateModal .donate-amounts { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* Elements hidden via the hidden attribute always stay hidden */
.theme-premium [hidden] { display: none !important; }

/* ---------- Join form polish ---------- */
/* Compact header so the form gets the space */
.theme-premium #joinModal .join-modal-premium-head { padding: 26px 34px 24px !important; }
.theme-premium #joinModal .join-modal-premium-head h3 { font-size: clamp(1.9rem, 3.2vw, 2.5rem) !important; line-height: 1.05 !important; }
.theme-premium #joinModal .join-modal-premium-head p { margin-top: 8px !important; font-size: 0.95rem !important; line-height: 1.55 !important; }
.theme-premium .join-modal-premium-badge { margin-bottom: 10px !important; }

/* Every single-line field has the same height so rows line up */
.theme-premium #joinForm :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select) {
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 48px !important;
  box-sizing: border-box !important;
}
.theme-premium #joinForm .iti { width: 100%; }

/* Empty required selects/date read as placeholders, not as chosen values */
.theme-premium #joinForm select:invalid,
.theme-premium #joinForm input[type="date"]:invalid { color: rgba(109, 82, 80, 0.55) !important; }
.theme-premium #joinForm select option { color: var(--p-ink); }
.theme-premium #joinForm input[type="date"]:invalid::-webkit-datetime-edit { color: rgba(109, 82, 80, 0.55) !important; }

@media (max-width: 600px) {
  .theme-premium #joinModal .join-modal-premium-head { padding: 22px 20px 20px !important; }
  .theme-premium #joinModal .join-modal-premium-head h3 { font-size: 1.8rem !important; padding-right: 44px; }
}

/* Labels and fields stay at the top of each cell even when a neighbour has helper text */
.theme-premium #joinForm .join-field { align-content: start !important; }

/* Floating buttons sit below open modals and lightboxes */
.theme-premium .whatsapp-float,
.theme-premium .back-to-top { z-index: 1900 !important; }

/* ---------- Calendar subscription ---------- */
.theme-premium .p-sync { margin: 22px auto 0; max-width: 620px; text-align: center; }
.theme-premium .p-sync summary {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 46px; padding: 0 22px;
  border-radius: 999px; border: 1px solid rgba(63, 38, 35, 0.18);
  background: #fff; color: var(--p-ink); font-weight: 600; font-size: 0.95rem;
  cursor: pointer; list-style: none; transition: border-color 0.3s var(--p-ease), background 0.3s var(--p-ease);
}
.theme-premium .p-sync summary::-webkit-details-marker { display: none; }
.theme-premium .p-sync summary:hover,
.theme-premium .p-sync[open] summary { border-color: var(--p-wine); background: var(--p-sand); }
.theme-premium .p-sync summary i { color: var(--p-wine); }
.theme-premium .p-sync-panel {
  margin-top: 14px; padding: 20px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.9); border: 1px solid rgba(166, 75, 67, 0.12);
  box-shadow: 0 14px 36px rgba(166, 75, 67, 0.1);
}
.theme-premium .p-sync-panel p { margin: 0 0 14px !important; color: var(--p-muted) !important; font-size: 0.92rem !important; }
.theme-premium .p-sync-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.theme-premium .p-sync-option {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 14px; border-radius: 14px;
  border: 1px solid rgba(63, 38, 35, 0.14); background: #fff;
  color: var(--p-ink) !important; font: 600 0.9rem var(--p-sans); text-decoration: none !important; cursor: pointer;
  transition: border-color 0.25s var(--p-ease), background 0.25s var(--p-ease);
}
.theme-premium .p-sync-option:hover { border-color: var(--p-wine); background: var(--p-sand); }
.theme-premium .p-sync-option i { color: var(--p-wine); }
@media (max-width: 420px) { .theme-premium .p-sync-options { grid-template-columns: 1fr; } }
/* Developer credit, same as the app ("Más" tab) */
.site-footer .footer-bottom .site-credit { display: block; margin-top: 6px; font-size: 11px !important; letter-spacing: .03em; opacity: .72; }
