/* =========================================================================
   MINV — Stylesheet
   Diseño editorial premium: mucho blanco, tipografía elegante, gestos
   sutiles. Mobile-first; los breakpoints amplían el layout, no lo rehacen.
   ========================================================================= */

/* ---------- Reset ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
input, textarea { font: inherit; }

/* ---------- Tokens ------------------------------------------------------ */
:root {
  /* Paleta: marfil / tinta / oro discreto */
  --ivory:        #FBF8F3;
  --ivory-alt:     #F4EEE3;
  --ink:           #1B1812;
  --ink-soft:      #55503f;
  --ink-faint:     #8b8474;
  --line:          #E6DFCF;
  --gold:          #AD8A48;
  --gold-light:    #E4CE9C;
  --gold-soft:     #F2E9D3;
  --rose:          #C79A93;
  --white:         #ffffff;

  --surface:       var(--ivory);
  --surface-alt:   var(--ivory-alt);
  --text:          var(--ink);
  --text-soft:     var(--ink-soft);
  --text-faint:    var(--ink-faint);
  --border:        var(--line);
  --accent:        var(--gold);

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 10px rgba(27, 24, 18, 0.06);
  --shadow-md: 0 12px 32px rgba(27, 24, 18, 0.10);
  --shadow-lg: 0 24px 60px rgba(27, 24, 18, 0.16);

  --container-w: 1180px;
  --header-h: 76px;
}

body {
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px) {
  .container { padding-inline: 32px; }
}

.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(600px 400px at 85% -5%, rgba(173, 138, 72, 0.10), transparent 60%),
    radial-gradient(500px 400px at -10% 20%, rgba(199, 154, 147, 0.08), transparent 60%);
}

/* ---------- Type scale --------------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(28px, 5.2vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--text);
}

.section-lead {
  margin-top: 18px;
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-soft);
  max-width: 46ch;
}

.section-heading { margin-bottom: 48px; }
.section-heading--center { text-align: center; margin-inline: auto; }
.section-heading--center .section-title { margin-inline: auto; }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn:active { transform: scale(0.97); }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: 13.5px; }

.btn--dark {
  background: var(--ink);
  color: var(--ivory);
  box-shadow: var(--shadow-sm);
}
.btn--dark:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #241d0e;
  box-shadow: var(--shadow-sm);
}
.btn--gold:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn--outline:hover { border-color: var(--ink); }

.btn--outline-light {
  background: transparent;
  color: var(--ivory);
  border: 1.5px solid rgba(251, 248, 243, 0.35);
}
.btn--outline-light:hover { border-color: var(--ivory); }

.btn--ghost {
  background: transparent;
  color: var(--text-soft);
  display: none;
}
@media (min-width: 640px) { .btn--ghost { display: inline-flex; } }
.btn--ghost:hover { color: var(--text); }

.btn--icon { gap: 9px; }
.btn__icon { display: inline-flex; width: 16px; height: 16px; }
.btn__icon svg { width: 100%; height: 100%; }

/* ---------- Header ------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(251, 248, 243, 0.7);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(251, 248, 243, 0.92);
  border-bottom-color: var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__logo {
  height: 38px;
  width: auto;
  display: block;
}
.brand--footer .brand__logo { height: 34px; }

.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: block; }
  .nav__list { display: flex; gap: 34px; }
  .nav__list a {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-soft);
    transition: color 0.2s ease;
  }
  .nav__list a:hover { color: var(--text); }
}

.site-header__actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  width: 40px;
  height: 40px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
@media (min-width: 900px) { .nav-toggle { display: none; } }

body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--ivory);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 49;
  }
  body.nav-open .nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav__list {
    display: flex;
    flex-direction: column;
    padding: 32px 24px;
    gap: 6px;
  }
  .nav__list a {
    display: block;
    padding: 16px 4px;
    font-family: var(--font-serif);
    font-size: 24px;
    border-bottom: 1px solid var(--border);
  }
}

/* ---------- Reveal on scroll --------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Hero ---------------------------------------------------------- */
.hero {
  position: relative;
  z-index: 1;
  padding: 56px 0 80px;
}
.hero__inner {
  display: grid;
  gap: 56px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; gap: 40px; }
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(34px, 7vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  max-width: 14ch;
}
.hero__subtitle {
  margin-top: 22px;
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--text-soft);
  max-width: 44ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text-faint);
}

.hero__visual { position: relative; display: flex; justify-content: center; }
.hero__glow {
  position: absolute;
  inset: -10% -10% 0 -10%;
  background: radial-gradient(320px 320px at 50% 40%, rgba(173, 138, 72, 0.22), transparent 70%);
  z-index: -1;
  filter: blur(10px);
}

/* ---------- Phone mockup --------------------------------------------------- */
.phone-mock {
  width: 260px;
  aspect-ratio: 9 / 19.5;
  background: var(--ink);
  border-radius: 40px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.phone-mock--float { animation: float 6s ease-in-out infinite; }
.phone-mock--sm { width: 100%; max-width: 210px; margin-inline: auto; border-radius: 32px; padding: 10px; }
.phone-mock--lg { width: 260px; margin-inline: auto; }

.phone-mock__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 20px;
  background: var(--ink);
  border-radius: var(--radius-full);
  z-index: 2;
}
.phone-mock--sm .phone-mock__notch { width: 54px; height: 14px; top: 10px; }

.phone-mock__screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  background: linear-gradient(165deg, #fff, var(--ivory-alt) 60%, var(--gold-soft));
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-mock--sm .phone-mock__screen { border-radius: 22px; }

.phone-mock__screen--1 { background: linear-gradient(165deg, #fff, #F4EEE3 60%, #E4CE9C); }
.phone-mock__screen--2 { background: linear-gradient(165deg, #fff, #F2E4E1 55%, #C79A93); }
.phone-mock__screen--3 { background: linear-gradient(165deg, #fff, #EDEAE1 55%, #B7AE94); }
.phone-mock__screen--4 { background: linear-gradient(165deg, #fff, #EFE7DA 55%, #AD8A48); }
.phone-mock__screen--photo { padding: 0; }
.phone-mock__screen--photo img { width: 100%; height: 100%; object-fit: cover; }

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

/* ---------- Invite demo (mock content inside phone) ------------------------ */
.invite-demo {
  text-align: center;
  padding: 34px 18px;
  width: 100%;
}
.invite-demo__eyebrow {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}
.invite-demo__names {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
}
.invite-demo__names span { color: var(--gold); font-style: italic; }
.invite-demo__names--sm { font-size: 18px; }
.invite-demo__icon { font-size: 28px; display: block; margin-bottom: 8px; }
.invite-demo__date {
  margin-top: 8px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--text-soft);
}

.invite-demo__countdown {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
.invite-demo__countdown div {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(173,138,72,0.25);
  border-radius: 10px;
  padding: 8px 6px;
  min-width: 40px;
}
.invite-demo__countdown strong { font-family: var(--font-serif); font-size: 16px; }
.invite-demo__countdown span { font-size: 9px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; }

.invite-demo__rsvp {
  margin-top: 26px;
  background: var(--ink);
  color: var(--ivory);
  font-size: 12.5px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: var(--radius-full);
}

.invite-demo__rsvp-demo { margin-top: 26px; }
.invite-demo__rsvp-demo p { font-size: 13px; color: var(--text-soft); margin-bottom: 12px; }
.invite-demo__rsvp-options { display: flex; flex-direction: column; gap: 8px; }
.invite-demo__rsvp-options button {
  padding: 11px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  font-size: 12.5px;
  font-weight: 600;
}
.invite-demo__rsvp-options button.is-selected {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}

/* ---------- About --------------------------------------------------------- */
.about { padding: 70px 0; position: relative; z-index: 1; }
.about__heading { max-width: 620px; }
.about__heading .section-lead { margin-inline: auto; }

.about__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 560px) { .about__features { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 860px) { .about__features { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1180px) { .about__features { grid-template-columns: repeat(5, 1fr); } }

.feature-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.feature-chip:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--gold-light);
  background: var(--white);
}
.feature-chip__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 17px;
  background: linear-gradient(160deg, var(--gold-soft), var(--white) 75%);
  border: 1px solid var(--gold-light);
}
.feature-chip__label { font-size: 13.5px; font-weight: 500; color: var(--text-soft); line-height: 1.3; }

/* ---------- How it works --------------------------------------------------- */
.how { padding: 70px 0; background: var(--surface-alt); position: relative; z-index: 1; }
.how__steps {
  display: grid;
  gap: 28px;
  margin-top: 8px;
}
@media (min-width: 760px) { .how__steps { grid-template-columns: repeat(3, 1fr); gap: 36px; } }

.how__step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
}
.how__step-top { display: flex; align-items: center; justify-content: space-between; }
.how__step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  font-size: 22px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--gold-soft), var(--white) 75%);
  border: 1px solid var(--gold-light);
}
.how__step-number {
  font-family: var(--font-serif);
  font-size: 34px;
  color: var(--gold-light);
  -webkit-text-stroke: 1.5px var(--gold);
  color: transparent;
}
.how__step-title {
  font-family: var(--font-serif);
  font-size: 21px;
  margin-top: 14px;
  color: var(--text);
}
.how__step-text { margin-top: 10px; color: var(--text-soft); font-size: 14.5px; }

.how__url-demo { margin-top: 48px; text-align: center; }
.how__url-label { display: block; font-size: 13px; color: var(--text-faint); margin-bottom: 14px; }
.how__url-vip {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #241d0e;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}
.how__url-options {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.how__url-or { font-size: 13px; color: var(--text-faint); font-style: italic; }

.url-pill {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--ink);
  color: var(--ivory);
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-family: 'Inter', monospace;
  font-size: 15px;
  box-shadow: var(--shadow-sm);
}
.url-pill__domain { color: rgba(251,248,243,0.55); }
.url-pill__slug { color: var(--gold-light); font-weight: 600; }

/* Dominio propio (paquete VIP): mismo formato de pill, tratamiento dorado
   para distinguirlo como la opción premium. */
.url-pill--vip {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: var(--shadow-sm), 0 0 0 1px rgba(173,138,72,0.25);
}
.url-pill--vip .url-pill__slug { color: #241d0e; }

/* ---------- Event types ------------------------------------------------------ */
.event-types { padding: 70px 0; position: relative; z-index: 1; }
.event-types__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 640px) { .event-types__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .event-types__grid { grid-template-columns: repeat(6, 1fr); } }

.event-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 18px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-light); }
.event-card__media {
  width: 56px; height: 56px;
  margin-inline: auto;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}
.event-card__icon { font-size: 24px; }
.event-card__title { font-family: var(--font-serif); font-size: 17px; }
.event-card__cta {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 12px; font-size: 12.5px; font-weight: 600; color: var(--gold);
}

/* ---------- Pricing ------------------------------------------------------------ */
.pricing { padding: 70px 0; background: var(--surface-alt); position: relative; z-index: 1; }
.pricing__grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 860px) { .pricing__grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }

.price-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.price-card--featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}
@media (min-width: 860px) { .price-card--featured { transform: scale(1.04); } }

.price-card__badge {
  position: absolute;
  top: -13px; left: 28px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #241d0e;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.price-card__tier { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.price-card__name { font-family: var(--font-serif); font-size: 26px; margin-top: 6px; }
.price-card__desc { margin-top: 10px; font-size: 14px; color: var(--text-soft); min-height: 44px; }

.price-card__price { display: flex; align-items: baseline; gap: 6px; margin-top: 20px; }
.price-card__amount { font-family: var(--font-serif); font-size: 40px; }
.price-card__currency { font-size: 13px; color: var(--text-faint); }

.price-card__features { margin: 26px 0 30px; display: flex; flex-direction: column; gap: 11px; flex-grow: 1; }
.price-card__features li { display: flex; gap: 10px; font-size: 14px; color: var(--text-soft); }
.price-card__features .check { color: var(--gold); font-weight: 700; flex-shrink: 0; }

/* ---------- Comparison table ------------------------------------------------------ */
.comparison { padding: 56px 0; position: relative; z-index: 1; }
.comparison__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
.comparison__table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.comparison__table th, .comparison__table td {
  padding: 9px 14px;
  text-align: center;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}
.comparison__table thead th {
  font-family: var(--font-serif);
  font-size: 14px;
  padding: 12px 14px;
  background: var(--surface-alt);
}
.comparison__row-label {
  text-align: left !important;
  font-weight: 500;
  color: var(--text-soft);
  white-space: nowrap;
}
.comparison__table tbody tr:last-child td,
.comparison__table tbody tr:last-child th { border-bottom: none; }
.comparison__table tbody tr:hover td, .comparison__table tbody tr:hover th { background: var(--gold-soft); }
.cmp-yes { color: var(--gold); font-weight: 700; }
.cmp-no { color: var(--text-faint); }
.cmp-value { font-size: 13px; color: var(--text-soft); }
.comparison__hint { display: block; text-align: center; margin-top: 14px; font-size: 12.5px; color: var(--text-faint); }
@media (min-width: 760px) { .comparison__hint { display: none; } }

/* ---------- Extras ------------------------------------------------------------------ */
.extras { padding: 70px 0; background: var(--surface-alt); position: relative; z-index: 1; }
.extras__grid { display: flex; flex-direction: column; gap: 2px; max-width: 640px; margin-inline: auto; }
.extra-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  background: var(--white);
  padding: 18px 22px;
  border-radius: var(--radius-sm);
}
.extra-item__name { font-size: 15px; color: var(--text); }
.extra-item__price { font-family: var(--font-serif); font-size: 16px; color: var(--gold); white-space: nowrap; }

/* ---------- Gallery ------------------------------------------------------------------- */
.gallery { padding: 70px 0; position: relative; z-index: 1; }
.gallery__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.gallery__filter {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-soft);
  transition: all 0.2s ease;
}
.gallery__filter.is-active,
.gallery__filter:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 18px;
}
@media (min-width: 640px) { .gallery__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .gallery__grid { grid-template-columns: repeat(4, 1fr); } }

.demo-card { display: flex; flex-direction: column; align-items: center; }
.demo-card[hidden] { display: none; }
.demo-card__info { text-align: center; margin-top: 16px; }
.demo-card__category { display: block; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 10px; }

/* Modal */
.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.demo-modal.is-open { opacity: 1; pointer-events: auto; }
.demo-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(27, 24, 18, 0.55);
  backdrop-filter: blur(6px);
}
.demo-modal__panel {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px 24px 28px;
  text-align: center;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s ease;
  max-width: 340px;
}
.demo-modal.is-open .demo-modal__panel { transform: translateY(0) scale(1); }
.demo-modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--surface-alt);
  font-size: 14px;
}
.demo-modal__note { margin-top: 18px; font-size: 12px; color: var(--text-faint); }

/* ---------- Final CTA ---------------------------------------------------------------- */
.final-cta {
  padding: 90px 0;
  background: var(--ink);
  background-image: radial-gradient(600px 400px at 15% 10%, rgba(173,138,72,0.18), transparent 60%);
  color: var(--ivory);
  position: relative;
  z-index: 1;
}
.final-cta__inner { text-align: center; max-width: 640px; margin-inline: auto; }
.final-cta__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.2;
}
.final-cta__text { margin-top: 18px; color: rgba(251,248,243,0.7); font-size: 16px; }
.final-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }

/* ---------- Footer -------------------------------------------------------------------- */
.site-footer { background: #14120E; color: var(--ivory); position: relative; z-index: 1; }
.site-footer__inner {
  padding: 64px 0 40px;
  display: grid;
  gap: 40px;
}
@media (min-width: 760px) { .site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr; } }

.site-footer__tagline { margin-top: 14px; color: rgba(251,248,243,0.6); font-size: 14.5px; max-width: 32ch; }
.site-footer__social { display: flex; gap: 12px; margin-top: 22px; }
.site-footer__social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(251, 248, 243, 0.08);
  color: rgba(251, 248, 243, 0.8);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.site-footer__social a svg { width: 18px; height: 18px; }
.site-footer__social a:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
}

.site-footer__heading { display: block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(251,248,243,0.4); margin-bottom: 16px; }
.site-footer__links ul { display: flex; flex-direction: column; gap: 11px; }
.site-footer__links a { font-size: 14.5px; color: rgba(251,248,243,0.75); }
.site-footer__links a:hover { color: var(--gold-light); }

.footer-link--icon { display: inline-flex; align-items: center; gap: 9px; }
.footer-link__icon { display: inline-flex; width: 15px; height: 15px; color: var(--gold-light); }
.footer-link__icon svg { width: 100%; height: 100%; }

.site-footer__bottom { border-top: 1px solid rgba(251,248,243,0.1); }
.site-footer__bottom-inner {
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  color: rgba(251,248,243,0.45);
}
.site-footer__bottom-inner a { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(251,248,243,0.3); }
.site-footer__bottom-inner a:hover { color: var(--gold-light); text-decoration-color: currentColor; }

/* WhatsApp floating button */
.whatsapp-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  padding: 15px;
  z-index: 60;
  transition: transform 0.25s ease;
}
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab svg { width: 100%; height: 100%; }

/* ---------- Páginas legales (aviso de privacidad, etc.) ------------------- */
.legal-hero { padding: 160px 0 40px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--accent); }
.legal-hero__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(30px, 5vw, 44px);
  color: var(--text);
}
.legal-hero__updated { margin-top: 10px; color: var(--text-faint); font-size: 14px; }

.legal-content { max-width: 720px; margin: 0 auto; }
.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin: 40px 0 14px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--text-soft); margin-bottom: 14px; }
.legal-content ul { margin: 0 0 14px; padding-left: 22px; }
.legal-content li { color: var(--text-soft); margin-bottom: 8px; list-style: disc; }
.legal-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { color: var(--text); }
.legal-content strong { color: var(--text); }
