/* ==========================================================================
   MARQA ESTÁTICA — ESTÉTICA EDITORIAL DE ALTA COSTURA (VOGUE MINIMAL)
   Blanco (#FFFFFF), Crema Suave (#FAF9F6), Negro Puro (#111111) y Grises Sutiles
   ========================================================================== */

:root {
  --color-white: #FFFFFF;
  --color-cream-50: #FAF9F6;
  --color-cream-100: #F7F4EE;
  --color-black: #111111;
  --color-gray-900: #181715;
  --color-gray-800: #24221F;
  --color-gray-600: #524E48;
  --color-gray-500: #737373;
  --color-gray-400: #A3A3A3;
  --color-gray-200: #E5E5E5;
  --color-gray-100: #F5F5F5;
  --color-accent-wax: #C5A869;

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --bg-page: var(--color-cream-50);
  --bg-surface: var(--color-cream-100);
  --bg-elevated: var(--color-white);
  --text-primary: var(--color-black);
  --text-muted: var(--color-gray-600);
  --border-subtle: rgba(17, 17, 17, 0.1);
  --accent-inv: #111111;

  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 1.75rem;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 30px -10px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 30px 70px -15px rgba(0, 0, 0, 0.28);
}

[data-tone="claro"] {
  --bg-page: #FAF9F6;
  --bg-surface: #F7F4EE;
  --bg-elevated: #FFFFFF;
  --text-primary: #111111;
  --text-muted: #524E48;
  --border-subtle: rgba(17, 17, 17, 0.12);
  --accent-inv: #111111;
}

[data-tone="oscuro"] {
  --bg-page: #111111;
  --bg-surface: #181715;
  --bg-elevated: #201E1B;
  --text-primary: #FAF9F6;
  --text-muted: #B9B2A6;
  --border-subtle: rgba(250, 249, 246, 0.16);
  --accent-inv: #FAF9F6;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
}

h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.12;
}

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

button, input, select, textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  -webkit-tap-highlight-color: transparent;
}

button, a, input, select, textarea, [role="button"], [onclick] {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

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

.hidden {
  display: none !important;
}

.container {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   BOTONES EDITORIALES (BLANCO, NEGRO PURO Y BORDES SUTILES - CERO AMARILLO)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-sm {
  min-height: 2.25rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
  border-radius: 0.6rem;
}

.btn-white {
  background-color: #FFFFFF;
  color: #111111;
  border: 1px solid #E5E5E5;
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background-color: #F5F5F5;
  border-color: #D4D4D4;
}

.btn-dark {
  background-color: #111111;
  color: #FFFFFF;
  border: 1px solid #111111;
}

.btn-dark:hover {
  background-color: #262626;
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--text-primary);
  background-color: rgba(17, 17, 17, 0.04);
}

.btn-ghost {
  background-color: transparent;
  color: #111111;
  padding: 0.65rem 1rem;
}

.btn-ghost:hover {
  opacity: 0.7;
}

.btn-danger {
  background-color: #FFFFFF;
  color: #B91C1C;
  border: 1px solid rgba(185, 28, 28, 0.25);
}

.btn-danger:hover {
  background-color: #FEF2F2;
  border-color: #B91C1C;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid #E5E5E5;
  background-color: #FFFFFF;
  color: #111111;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   HEADER PÚBLICO (h-20, Logo marqa. en negrita sin punto dorado)
   ========================================================================== */

.public-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 5rem;
  background-color: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.public-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  font-family: var(--font-sans);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #111111;
}

.public-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.public-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #524E48;
  transition: color 0.2s ease;
}

.public-nav a:hover {
  color: #111111;
}

.public-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 860px) {
  .public-nav {
    display: none;
  }
}

/* ==========================================================================
   HERO EN 2 COLUMNAS (TÍTULO 100% NEGRO + TARJETA EDITORIAL DERECHA)
   ========================================================================== */

.hero-section {
  padding: 4.5rem 0 5.5rem;
  background-color: #FAF9F6;
}

.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: center;
  gap: 3.5rem;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }
}

.hero-title {
  margin-top: 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 5vw + 1rem, 4.35rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #111111;
}

.hero-title em {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: #111111;
}

.hero-description {
  margin-top: 1.35rem;
  max-width: 36rem;
  font-size: 1.075rem;
  color: #524E48;
  line-height: 1.65;
}

.hero-cta-row {
  margin-top: 1.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.hero-card-wrap {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 960px) {
  .hero-card-wrap {
    justify-content: center;
  }
}

.hero-mockup-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  background-color: #111111;
  box-shadow: var(--shadow-xl);
}

.hero-mockup-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s ease;
}

.hero-mockup-card:hover img {
  transform: scale(1.03);
}

.hero-mockup-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.25) 55%, rgba(0, 0, 0, 0.15) 100%);
}

.hero-mockup-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  display: flex;
  justify-content: center;
}

.hero-mockup-badge {
  padding: 0.3rem 0.9rem;
  border-radius: 9999px;
  background-color: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
}

.hero-mockup-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.65rem;
  text-align: center;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-mockup-names {
  font-family: var(--font-serif);
  font-size: 2.35rem;
  font-style: italic;
  line-height: 1.05;
  color: #FFFFFF;
}

.hero-mockup-date {
  margin-top: 0.45rem;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.82);
}

.hero-mockup-btn {
  margin-top: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 0.75rem;
  background-color: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  color: #FFFFFF;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.hero-mockup-btn:hover {
  background-color: rgba(0, 0, 0, 0.85);
}

/* ==========================================================================
   CATÁLOGO ("PARA CADA CELEBRACIÓN" — 5 COLUMNAS CENTRADAS)
   ========================================================================== */

.catalog-section {
  padding: 5.5rem 0;
  background-color: #F7F4EE;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.section-header-center {
  max-width: 44rem;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section-title {
  margin-top: 0.85rem;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.5vw + 0.5rem, 3.25rem);
  color: #111111;
}

.section-subtitle {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: #737373;
  line-height: 1.6;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem 1.5rem;
  justify-items: center;
}

@media (max-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.category-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 0.75rem;
  border-radius: 1rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.category-card:hover {
  background-color: rgba(17, 17, 17, 0.04);
  transform: translateY(-2px);
}

.category-icon-circle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: #FFFFFF;
  border: 1px solid #E5E5E5;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111111;
}

.category-card h3 {
  margin-top: 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  color: #111111;
}

.category-card p {
  margin-top: 0.35rem;
  max-width: 195px;
  font-size: 0.76rem;
  color: #737373;
  line-height: 1.45;
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.templates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 960px) {
  .templates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .templates-grid {
    grid-template-columns: 1fr;
  }
}

.template-card {
  display: flex;
  flex-direction: column;
  border-radius: 1.5rem;
  overflow: hidden;
  background-color: #FFFFFF;
  border: 1px solid rgba(17, 17, 17, 0.1);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.template-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.template-card-media {
  position: relative;
  height: 16.5rem;
  background-color: #181715;
  overflow: hidden;
}

.template-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.template-card:hover .template-card-media img {
  transform: scale(1.05);
}

.template-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, transparent 55%, rgba(0, 0, 0, 0.2) 100%);
}

.template-env-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background-color: rgba(17, 17, 17, 0.82);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.template-effect-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.7rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.88);
  color: #111111;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.template-card-caption {
  position: absolute;
  bottom: 1rem;
  left: 1.25rem;
  right: 1.25rem;
  color: #FFFFFF;
}

.template-card-concept {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.82);
}

.template-card-title {
  margin-top: 0.2rem;
  font-family: var(--font-serif);
  font-size: 1.95rem;
  font-style: italic;
}

.template-card-body {
  flex: 1;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.template-card-desc {
  font-size: 0.875rem;
  color: #524E48;
  line-height: 1.55;
}

.template-card-actions {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.tone-buttons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

/* ==========================================================================
   CÓMO FUNCIONA (FONDO NEGRO #111111 CON 3 PASOS EDITABLES)
   ========================================================================== */

.how-section {
  padding: 5.5rem 0;
  background-color: #111111;
  color: #FAF9F6;
}

.how-steps-grid {
  margin-top: 3.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 860px) {
  .how-steps-grid {
    grid-template-columns: 1fr;
  }
}

.how-step-card {
  padding: 2rem;
  border-radius: 1.5rem;
  background-color: #181715;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.how-step-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-style: italic;
  color: #FFFFFF;
  opacity: 0.9;
}

.how-step-title {
  margin-top: 0.85rem;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: #FFFFFF;
}

.how-step-desc {
  margin-top: 0.65rem;
  font-size: 0.92rem;
  color: rgba(250, 249, 246, 0.72);
  line-height: 1.6;
}

/* ==========================================================================
   PRECIOS, RESEÑAS, FAQ, CONTACTO Y FOOTER
   ========================================================================== */

.pricing-section {
  padding: 5.5rem 0;
  background-color: #FAF9F6;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.25rem 1.85rem;
  border-radius: 1.5rem;
  background-color: #FFFFFF;
  border: 1px solid rgba(17, 17, 17, 0.12);
  box-shadow: var(--shadow-sm);
}

.pricing-card.featured {
  background-color: #111111;
  color: #FFFFFF;
  border-color: #111111;
  box-shadow: var(--shadow-xl);
}

.pricing-price {
  margin-top: 0.85rem;
  font-family: var(--font-serif);
  font-size: 2.85rem;
  line-height: 1;
}

.pricing-list {
  margin: 1.5rem 0 2rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.88rem;
}

.reviews-section {
  padding: 5.5rem 0;
  background-color: #F7F4EE;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.85rem;
  border-radius: 1.5rem;
  background-color: #FFFFFF;
  border: 1px solid rgba(17, 17, 17, 0.1);
}

.review-quote {
  margin-top: 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  color: #111111;
  line-height: 1.45;
}

.review-author {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.review-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  object-fit: cover;
}

.faq-section {
  padding: 5.5rem 0;
  background-color: #FAF9F6;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.faq-box {
  max-width: 52rem;
  margin: 0 auto;
  border-radius: 1.5rem;
  background-color: #FFFFFF;
  border: 1px solid rgba(17, 17, 17, 0.1);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #111111;
}

.faq-answer {
  padding: 0 1.75rem 1.4rem;
  font-size: 0.94rem;
  color: #524E48;
  line-height: 1.65;
}

.contact-section {
  padding: 5.5rem 0;
  background-color: #F7F4EE;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.contact-card {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: 1.75rem;
  background-color: #FFFFFF;
  border: 1px solid rgba(17, 17, 17, 0.1);
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #524E48;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(17, 17, 17, 0.18);
  background-color: #FFFFFF;
  color: #111111;
  transition: border-color 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: #111111;
}

.public-footer {
  padding: 3.5rem 0;
  background-color: #111111;
  color: #FAF9F6;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.82rem;
  color: rgba(250, 249, 246, 0.75);
}

.footer-links button {
  color: rgba(250, 249, 246, 0.75);
  font-size: 0.82rem;
}

.footer-links button:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* Ícono elegante de Instagram en el footer */
.footer-instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9999px;
  color: rgba(250, 249, 246, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(250, 249, 246, 0.22);
  transition: all 0.25s ease;
  text-decoration: none;
}

.footer-instagram-link:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* ==========================================================================
   MOTOR DE INVITACIÓN INTERACTIVA & SOBRE 3D (RÉPLICA EXACTA MARQA ORIGINAL)
   1. Pantalla inicial post-sobre limpia (#FAF9F6 / #0E0E0E) con nombres centrados
   2. Scroll Media Expansion (la foto aparece y se expande al hacer scroll)
   3. Columna editorial centrada (max-width: 640px, #FFFFFF con sombra sutil)
   ========================================================================== */

[data-tone="oscuro"] {
  --bg-page: #0E0E0E;
  --bg-surface: #161616;
  --bg-elevated: #1C1C1C;
  --text-primary: #FAF9F6;
  --text-muted: #A3A3A3;
  --border-subtle: rgba(250, 249, 246, 0.14);
  --accent-inv: #FAF9F6;
}

.invitation-shell {
  min-height: 100vh;
  background-color: var(--bg-page);
  color: var(--text-primary);
  position: relative;
  transition: background-color 0.35s ease, color 0.35s ease;
}

.invitation-topbar {
  position: fixed;
  top: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.invitation-topbar > * {
  pointer-events: auto;
}

.inv-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  background-color: rgba(17, 17, 17, 0.78);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  font-size: 0.75rem;
  font-weight: 600;
}

.envelope-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: opacity 0.45s ease;
}

.envelope-overlay.fading {
  opacity: 0;
  pointer-events: none;
}

.envelope-stage {
  perspective: 1400px;
  width: 100%;
  max-width: 390px;
  cursor: pointer;
}

.envelope-body {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 1.15rem;
  transform-style: preserve-3d;
  box-shadow: 0 32px 70px -18px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-subtle);
}

.envelope-inner-card {
  position: absolute;
  inset: 1.1rem 1rem 1rem;
  border-radius: 0.85rem;
  padding: 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at 50% 35%, #FFFFFF 0%, #FCFBF7 65%, #F4EFE6 100%);
  color: #171614;
  border: 1px solid rgba(168, 148, 114, 0.35);
  box-shadow:
    inset 0 0 24px rgba(168, 148, 114, 0.08),
    inset 0 1px 2px rgba(255, 255, 255, 0.9),
    0 6px 18px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
  overflow: hidden;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease, visibility 0.4s ease;
}

.envelope-inner-card.is-dark,
[data-tone="oscuro"] .envelope-inner-card {
  background: radial-gradient(circle at 50% 35%, #24221D 0%, #1A1916 70%, #12110F 100%);
  color: #FAF9F6;
  border: 1px solid rgba(197, 168, 105, 0.3);
  box-shadow:
    inset 0 0 24px rgba(0, 0, 0, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.08),
    0 6px 18px rgba(0, 0, 0, 0.45);
}

.envelope-inner-border {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(168, 148, 114, 0.35);
  border-radius: 0.65rem;
  pointer-events: none;
  z-index: 1;
}

.envelope-inner-card.is-dark .envelope-inner-border,
[data-tone="oscuro"] .envelope-inner-card .envelope-inner-border {
  border-color: rgba(197, 168, 105, 0.28);
}

.envelope-inner-card > :not(.envelope-inner-border) {
  position: relative;
  z-index: 2;
}

.envelope-card-kicker {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #8C8275;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.envelope-inner-card.is-dark .envelope-card-kicker,
[data-tone="oscuro"] .envelope-card-kicker {
  color: #C5A869;
  opacity: 0.88;
}

.envelope-card-title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3.8vw, 1.55rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #171614;
  margin: 0;
  max-width: 90%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

.envelope-inner-card.is-dark .envelope-card-title,
[data-tone="oscuro"] .envelope-card-title {
  color: #FAF9F6;
}

.envelope-card-divider {
  position: relative;
  width: 36px;
  height: 1px;
  background: rgba(168, 148, 114, 0.5);
  margin: 0.75rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.envelope-card-divider::after {
  content: "◆";
  position: absolute;
  font-size: 0.34rem;
  color: rgba(168, 148, 114, 0.85);
  background: #FCFBF7;
  padding: 0 4px;
  line-height: 1;
}

.envelope-inner-card.is-dark .envelope-card-divider,
[data-tone="oscuro"] .envelope-card-divider {
  background: rgba(197, 168, 105, 0.45);
}

.envelope-inner-card.is-dark .envelope-card-divider::after,
[data-tone="oscuro"] .envelope-card-divider::after {
  background: #1A1916;
  color: rgba(197, 168, 105, 0.85);
}

.envelope-card-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.envelope-card-date {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #524E48;
  margin: 0;
  line-height: 1.3;
}

.envelope-inner-card.is-dark .envelope-card-date,
[data-tone="oscuro"] .envelope-card-date {
  color: #D6CFC2;
}

.envelope-card-note {
  font-family: var(--font-serif);
  font-size: 0.74rem;
  font-style: italic;
  letter-spacing: 0.05em;
  color: #8C8275;
  margin: 0;
  line-height: 1.2;
}

.envelope-inner-card.is-dark .envelope-card-note,
[data-tone="oscuro"] .envelope-card-note {
  color: #A39B8F;
}

.envelope-body.opening .envelope-inner-card,
.envelope-body.open .envelope-inner-card {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, -34%, 20px);
}

.envelope-pocket {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58%;
  border-radius: 0 0 1.15rem 1.15rem;
  border-top: none;
  z-index: 2;
}

.envelope-flap {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 56%;
  border-radius: 1.15rem 1.15rem 0 0;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 3;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.08)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.05));
}

[data-tone="oscuro"] .envelope-flap {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.45));
}

/* ENV-02: Solapa Rectangular Editorial */
.envelope-body.envelope-flap-rect .envelope-flap {
  height: 48%;
  clip-path: none;
  border-radius: 1.15rem 1.15rem 0.65rem 0.65rem;
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.08)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.05));
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

[data-tone="oscuro"] .envelope-body.envelope-flap-rect .envelope-flap {
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.5));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.envelope-body.envelope-flap-rect .envelope-seal {
  top: 48%;
}

.envelope-body.opening .envelope-flap {
  transform: rotateX(180deg);
}

.envelope-seal {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 4.1rem;
  height: 4.1rem;
  border-radius: 9999px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.envelope-stage:hover .envelope-seal {
  transform: translate(-50%, -50%) scale(1.06);
}

.envelope-body.opening .envelope-seal {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.75);
}

/* 1 & 2. PORTADA STICKY CON SCROLL MEDIA EXPANSION */
.hero-scroll-track {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 175vh;
  margin: 0;
  padding: 0;
}

.hero-sticky-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
}

.media-expansion-wrapper {
  position: relative;
  width: 330px;
  height: 460px;
  border-radius: 26px;
  overflow: hidden;
  z-index: 5;
  background-color: transparent;
  will-change: width, height, border-radius, box-shadow;
  transition: background-color 0.4s ease;
}

.media-expansion-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transform: scale(1.08);
  will-change: opacity, transform;
  transition: opacity 0.25s ease-out, transform 0.45s ease-out;
}

.media-expansion-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.22) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.72) 100%
  );
  opacity: 0;
  z-index: 2;
  transition: opacity 0.3s ease-out;
}

.hero-typography-layer {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
}

.hero-split-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 600px;
  will-change: transform, opacity;
  transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}

.hero-date-badge {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  transition: color 0.35s ease;
}

.hero-giant-title-left {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7.5vw, 5.1rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 0;
  transition: color 0.35s ease;
}

.hero-giant-title-right {
  font-family: var(--font-serif);
  font-size: clamp(2.85rem, 7.2vw, 4.9rem);
  font-weight: 400;
  font-style: italic;
  line-height: 0.98;
  color: var(--text-primary);
  margin: 0.2rem 0 0 0;
  transition: color 0.35s ease;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.35rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.scroll-arrow-icon {
  width: 18px;
  height: 18px;
  stroke: var(--text-primary);
  stroke-width: 1.8;
  fill: none;
  animation: floatArrow 2s infinite ease-in-out;
}

@keyframes floatArrow {
  0%, 100% { transform: translateY(0); opacity: 0.45; }
  50% { transform: translateY(6px); opacity: 1; }
}

.scroll-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Ajuste dentro del teléfono de vista previa del Editor */
.phone-frame .hero-scroll-track {
  height: 980px;
}

.phone-frame .hero-sticky-stage {
  height: 660px;
}

/* 3. RECORRIDO EDITORIAL CENTRADO DEBAJO DE LA PORTADA (PAPELERÍA DE LUJO) */
.invitation-shell {
  --bg-page: #F6F4EF;
}

[data-tone="oscuro"] .invitation-shell {
  --bg-page: #0B0B0B;
}

.inv-editorial-column {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: 640px;
  margin: 0 auto 4rem;
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 72px 1.25rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

@media (max-width: 540px) {
  .inv-editorial-column {
    padding: 56px 1rem 3rem;
    gap: 1.35rem;
  }
}

/* Tarjetas flotantes luminosas por defecto */
.inv-section-block {
  position: relative;
  z-index: 5;
  padding: 3.5rem 2.25rem;
  text-align: center;
  background-color: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 20px;
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.06);
}

[data-tone="oscuro"] .inv-section-block {
  background-color: #151515;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 45px -12px rgba(0, 0, 0, 0.45);
}

/* Secciones abiertas (Frase de bienvenida y Cierre respiran sobre el fondo crema perlado) */
.inv-section-block.inv-section-open {
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 2.25rem 1.5rem 1.75rem;
}

/* Bloque Editorial Oscuro (Solo activo en Modo Oscuro; en Modo Claro usa la tarjeta blanca flotante estándar) */
[data-tone="oscuro"] .inv-section-block.inv-card-dark-editorial,
[data-tone="oscuro"] .inv-inner-card.inv-card-dark-editorial {
  background-color: #141414 !important;
  color: #FAF9F6 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.25);
}

[data-tone="oscuro"] .inv-card-dark-editorial .inv-section-title {
  color: #FAF9F6 !important;
}

[data-tone="oscuro"] .inv-card-dark-editorial .inv-section-subtitle {
  color: rgba(250, 249, 246, 0.76) !important;
}

[data-tone="oscuro"] .inv-card-dark-editorial .inv-badge {
  color: rgba(250, 249, 246, 0.6) !important;
}

[data-tone="oscuro"] .inv-card-dark-editorial .inv-section-icon {
  color: #FAF9F6 !important;
}

[data-tone="oscuro"] .inv-card-dark-editorial .inv-ornament {
  color: #FAF9F6 !important;
}

[data-tone="oscuro"] .inv-card-dark-editorial .inv-ornament::before,
[data-tone="oscuro"] .inv-card-dark-editorial .inv-ornament::after {
  background-color: #FAF9F6 !important;
}

[data-tone="oscuro"] .inv-card-dark-editorial .btn-dark {
  background-color: #FFFFFF !important;
  color: #141414 !important;
  border-color: #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28) !important;
}

[data-tone="oscuro"] .inv-card-dark-editorial .btn-dark:hover {
  background-color: #F0EDE6 !important;
  border-color: #F0EDE6 !important;
}

@media (max-width: 540px) {
  .inv-section-block {
    padding: 2.75rem 1.4rem;
  }
}

/* Ícono SVG minimalista arriba del título de cada sección */
.inv-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.65rem;
  color: #555555;
  opacity: 0.85;
}

[data-tone="oscuro"] .inv-section-icon {
  color: #CCCCCC;
}

.inv-section-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.25;
}

/* Ornamento minimalista centrado (── ✦ ──) */
.inv-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0.8rem auto 0.25rem;
  color: currentColor;
  opacity: 0.25;
  font-size: 9px;
  line-height: 1;
  user-select: none;
}

.inv-ornament::before,
.inv-ornament::after {
  content: "";
  width: 34px;
  height: 1px;
  background-color: currentColor;
}

/* Etiquetas (Eyebrows) estilo revista */
.inv-badge {
  display: block;
  padding: 0;
  margin: 0 auto;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #888888;
}

[data-tone="oscuro"] .inv-badge {
  color: #9A9A9A;
}

.inv-section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.05rem, 4.5vw, 2.65rem);
  font-weight: 400;
  line-height: 1.12;
  margin-top: 0.45rem;
  color: var(--text-primary);
}

.inv-section-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 28rem;
  margin: 0.65rem auto 0;
  line-height: 1.65;
}

/* Tarjetas flotantes individuales cuando Ceremonia y Fiesta están activas */
.inv-section-block.inv-section-dual {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.inv-inner-card {
  border-radius: 0;
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  text-align: center;
}

.inv-section-dual .inv-inner-card {
  background-color: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 20px;
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.06);
  padding: 3.5rem 2.25rem;
}

[data-tone="oscuro"] .inv-section-dual .inv-inner-card {
  background-color: #151515;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 45px -12px rgba(0, 0, 0, 0.45);
}

@media (max-width: 540px) {
  .inv-section-dual .inv-inner-card {
    padding: 2.75rem 1.4rem;
  }
}

/* Cuenta Regresiva Editorial */
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 460px;
  margin: 1.75rem auto 0;
}

.countdown-box {
  padding: 0.35rem 0.5rem;
  border-radius: 0;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: none;
  text-align: center;
}

[data-tone="oscuro"] .countdown-box {
  border-right-color: rgba(255, 255, 255, 0.12);
}

.countdown-box:last-child {
  border-right: none;
}

.countdown-num {
  font-family: var(--font-serif);
  font-size: clamp(44px, 7vw, 52px);
  font-weight: 400;
  line-height: 1;
  color: var(--text-primary);
}

.countdown-label {
  margin-top: 0.55rem;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #777777;
}

[data-tone="oscuro"] .countdown-label {
  color: #9A9A9A;
}

/* 4. BOTONES ESTILIZADOS EN CÁPSULA SUAVE (border-radius: 999px) */
.inv-editorial-column .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  max-width: 280px;
  width: 100%;
  margin: 10px auto;
  min-height: 0;
  padding: 13px 28px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.inv-editorial-column .btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 1.4;
  flex-shrink: 0;
}

.inv-editorial-column .btn:hover {
  transform: translateY(-1px);
}

.inv-editorial-column .btn-dark {
  background-color: #181818;
  color: #FFFFFF;
  border: 1px solid #181818;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.inv-editorial-column .btn-dark:hover {
  background-color: #2A2A2A;
  border-color: #2A2A2A;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.inv-editorial-column .btn-white,
.inv-editorial-column .btn-outline {
  background-color: #FFFFFF;
  color: #181818;
  border: 1px solid #D4D0C8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.inv-editorial-column .btn-white:hover,
.inv-editorial-column .btn-outline:hover {
  background-color: #FAF9F6;
  border-color: #181818;
}

[data-tone="oscuro"] .inv-editorial-column .btn-dark {
  background-color: #FAF9F6;
  color: #141414;
  border: 1px solid #FAF9F6;
}

[data-tone="oscuro"] .inv-editorial-column .btn-dark:hover {
  background-color: #E5E2DC;
  border-color: #E5E2DC;
}

[data-tone="oscuro"] .inv-editorial-column .btn-white,
[data-tone="oscuro"] .inv-editorial-column .btn-outline {
  background-color: transparent;
  color: #FAF9F6;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

[data-tone="oscuro"] .inv-editorial-column .btn-white:hover,
[data-tone="oscuro"] .inv-editorial-column .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: #FAF9F6;
}

/* Itinerario Vertical Minimalista con Íconos de Línea Fina */
.itinerary-editorial-container {
  max-width: 440px;
  margin: 1.75rem auto 0;
  display: flex;
  flex-direction: column;
}

.itinerary-editorial-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.75rem 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

[data-tone="oscuro"] .itinerary-editorial-item {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.itinerary-editorial-item:first-child {
  border-top: none;
  padding-top: 0.4rem;
}

.itinerary-minimal-icon {
  margin-bottom: 0.7rem;
  color: var(--text-primary);
  opacity: 0.85;
}

.itinerary-minimal-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.25;
}

.itinerary-minimal-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.itinerary-minimal-time {
  margin-top: 0.3rem;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #777777;
}

[data-tone="oscuro"] .itinerary-minimal-time {
  color: #9A9A9A;
}

.itinerary-minimal-desc {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Dress Code Paleta */
.swatch-row {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.color-swatch {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

[data-tone="oscuro"] .color-swatch {
  border-color: rgba(255, 255, 255, 0.25);
}

/* Galería Recuerdos / Momentos Inolvidables */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.gallery-item {
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background-color: #181715;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

/* 5. REGALOS (Lluvia de Sobres) — Marco doble sutil estilo tarjeta de papelería fina */
.gift-bank-box {
  position: relative;
  max-width: 420px;
  margin: 1.65rem auto 1.35rem;
  padding: 24px;
  border-radius: 14px;
  background-color: #FAF9F6;
  border: 1px solid rgba(0, 0, 0, 0.08);
  outline: 1px solid rgba(0, 0, 0, 0.04);
  outline-offset: -6px;
  text-align: center;
}

[data-tone="oscuro"] .gift-bank-box {
  background-color: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.12);
  outline-color: rgba(255, 255, 255, 0.05);
}

.gift-alias-value {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  margin: 0.45rem 0;
  color: var(--text-primary);
  word-break: break-word;
}

/* Formulario RSVP Refinado dentro de la invitación */
.inv-editorial-column form {
  max-width: 440px;
  margin: 1.65rem auto 0;
  text-align: left;
}

.inv-editorial-column .form-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #777777;
  margin-bottom: 0.25rem;
}

[data-tone="oscuro"] .inv-editorial-column .form-label {
  color: #A3A3A3;
}

.inv-editorial-column .form-input,
.inv-editorial-column .form-select,
.inv-editorial-column .form-textarea {
  padding: 0.8rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background-color: #FAF9F6;
  color: #111111;
  font-size: 0.92rem;
  box-shadow: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.inv-editorial-column .form-input:focus,
.inv-editorial-column .form-select:focus,
.inv-editorial-column .form-textarea:focus {
  outline: none;
  background-color: #FFFFFF;
  border-color: #181818;
}

[data-tone="oscuro"] .inv-editorial-column .form-input,
[data-tone="oscuro"] .inv-editorial-column .form-select,
[data-tone="oscuro"] .inv-editorial-column .form-textarea {
  background-color: #1C1C1C;
  color: #FAF9F6;
  border-color: rgba(255, 255, 255, 0.14);
}

[data-tone="oscuro"] .inv-editorial-column .form-input:focus,
[data-tone="oscuro"] .inv-editorial-column .form-select:focus,
[data-tone="oscuro"] .inv-editorial-column .form-textarea:focus {
  border-color: #FAF9F6;
}

/* Bloques de invitados dinámicos en Formulario RSVP */
.rsvp-guest-block {
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

[data-tone="oscuro"] .rsvp-guest-block {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.rsvp-guest-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.rsvp-guest-title {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

/* Botón de Confirmación RSVP adaptable al texto */
.inv-editorial-column #rsvp-submit-btn,
#rsvp-submit-btn {
  width: auto;
  min-width: 240px;
  max-width: 100%;
  height: auto;
  padding: 0.95rem 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
}

.inv-editorial-column #rsvp-submit-btn svg,
#rsvp-submit-btn svg {
  flex-shrink: 0;
}

/* Botón flotante de música */
.floating-audio-btn {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 45;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 9999px;
  background-color: #111111;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   EFECTOS DE FIRMA (Alba, Lino, Noctis, Terciopelo) & REVEALS
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal="visible"] {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ==========================================================================
   EFECTOS DE FIRMA MARQA (Alba, Lino, Noctis, Terciopelo, Ninguno)
   ========================================================================== */

/* 1. ALBA — Marco luminoso animado en cuenta regresiva */
@keyframes albaLuminousPulseLight {
  0%, 100% {
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.25),
                0 0 18px rgba(212, 175, 55, 0.2),
                0 4px 20px rgba(0, 0, 0, 0.04);
  }
  50% {
    border-color: rgba(230, 198, 120, 0.9);
    box-shadow: 0 0 0 1.5px rgba(230, 198, 120, 0.65),
                0 0 32px rgba(230, 198, 120, 0.42),
                0 0 48px rgba(246, 241, 230, 0.3);
  }
}

@keyframes albaLuminousPulseDark {
  0%, 100% {
    border-color: rgba(246, 241, 230, 0.4);
    box-shadow: 0 0 0 1px rgba(246, 241, 230, 0.25),
                0 0 18px rgba(246, 241, 230, 0.18),
                0 0 32px rgba(212, 175, 55, 0.12);
  }
  50% {
    border-color: rgba(255, 250, 238, 0.9);
    box-shadow: 0 0 0 1.5px rgba(255, 250, 238, 0.7),
                0 0 34px rgba(255, 250, 238, 0.45),
                0 0 55px rgba(212, 175, 55, 0.3);
  }
}

.invitation-shell[data-signature-effect="alba"] .countdown-grid,
.invitation-shell.effect-alba .countdown-grid,
.alba-ring .countdown-grid,
.countdown-alba-glow {
  position: relative;
  padding: 1.25rem 0.65rem;
  border-radius: 1rem;
  border: 1px solid rgba(212, 175, 55, 0.48);
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: albaLuminousPulseLight 3.6s ease-in-out infinite;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

[data-tone="oscuro"] .invitation-shell[data-signature-effect="alba"] .countdown-grid,
[data-tone="oscuro"] .invitation-shell.effect-alba .countdown-grid,
[data-tone="oscuro"] .alba-ring .countdown-grid,
[data-tone="oscuro"] .countdown-alba-glow {
  background: rgba(255, 255, 255, 0.04);
  animation: albaLuminousPulseDark 3.6s ease-in-out infinite;
}

.alba-ring {
  position: relative;
}

/* 2. LINO — Revelado vellum en fotografías */
.invitation-shell[data-signature-effect="lino"] .gallery-item,
.invitation-shell.effect-lino .gallery-item,
.gallery-item.lino-vellum {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
}

.invitation-shell[data-signature-effect="lino"] .gallery-item img,
.invitation-shell.effect-lino .gallery-item img,
.gallery-item.lino-vellum img {
  filter: sepia(16%) brightness(0.97) contrast(0.96);
  opacity: 0.85;
  transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.invitation-shell[data-signature-effect="lino"] .gallery-item::after,
.invitation-shell.effect-lino .gallery-item::after,
.gallery-item.lino-vellum::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(250, 246, 238, 0.48) 0%, rgba(242, 235, 222, 0.3) 100%);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  opacity: 1;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

/* Revelado suave al entrar en pantalla */
.invitation-shell[data-signature-effect="lino"] .gallery-item[data-peeled="true"] img,
.invitation-shell[data-signature-effect="lino"] .gallery-item[data-reveal="visible"] img,
.invitation-shell.effect-lino .gallery-item[data-peeled="true"] img,
.invitation-shell.effect-lino .gallery-item[data-reveal="visible"] img,
.gallery-item.lino-vellum[data-peeled="true"] img,
.gallery-item.lino-vellum[data-reveal="visible"] img {
  opacity: 0.94;
  filter: sepia(8%) brightness(0.99) contrast(0.98);
}

.invitation-shell[data-signature-effect="lino"] .gallery-item[data-peeled="true"]::after,
.invitation-shell[data-signature-effect="lino"] .gallery-item[data-reveal="visible"]::after,
.invitation-shell.effect-lino .gallery-item[data-peeled="true"]::after,
.invitation-shell.effect-lino .gallery-item[data-reveal="visible"]::after,
.gallery-item.lino-vellum[data-peeled="true"]::after,
.gallery-item.lino-vellum[data-reveal="visible"]::after {
  opacity: 0.35;
}

/* Revelado a color 100% nítido al hacer hover o toque */
.invitation-shell[data-signature-effect="lino"] .gallery-item:hover img,
.invitation-shell[data-signature-effect="lino"] .gallery-item:active img,
.invitation-shell.effect-lino .gallery-item:hover img,
.invitation-shell.effect-lino .gallery-item:active img,
.gallery-item.lino-vellum:hover img,
.gallery-item.lino-vellum:active img {
  opacity: 1 !important;
  filter: none !important;
  transform: scale(1.025);
}

.invitation-shell[data-signature-effect="lino"] .gallery-item:hover::after,
.invitation-shell[data-signature-effect="lino"] .gallery-item:active::after,
.invitation-shell.effect-lino .gallery-item:hover::after,
.invitation-shell.effect-lino .gallery-item:active::after,
.gallery-item.lino-vellum:hover::after,
.gallery-item.lino-vellum:active::after {
  opacity: 0 !important;
}

/* 3. NOCTIS — Brillo suave y shimmer en nombres de portada */
@keyframes noctisShimmerLight {
  0%, 100% {
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.28), 0 0 22px rgba(230, 200, 140, 0.16);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
  }
  50% {
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.65), 0 0 35px rgba(230, 200, 140, 0.38), 0 0 50px rgba(246, 241, 230, 0.25);
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.35));
  }
}

@keyframes noctisShimmerDark {
  0%, 100% {
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.38), 0 0 26px rgba(246, 241, 230, 0.22);
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.25));
  }
  50% {
    text-shadow: 0 0 26px rgba(255, 255, 255, 0.85), 0 0 46px rgba(246, 241, 230, 0.55), 0 0 70px rgba(220, 195, 140, 0.35);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.5));
  }
}

.noctis-glow,
.invitation-shell[data-signature-effect="noctis"] .hero-giant-title-left,
.invitation-shell[data-signature-effect="noctis"] .hero-giant-title-right,
.invitation-shell.effect-noctis .hero-giant-title-left,
.invitation-shell.effect-noctis .hero-giant-title-right {
  animation: noctisShimmerLight 3.8s ease-in-out infinite;
  transition: text-shadow 0.4s ease, filter 0.4s ease;
}

[data-tone="oscuro"] .noctis-glow,
[data-tone="oscuro"] .invitation-shell[data-signature-effect="noctis"] .hero-giant-title-left,
[data-tone="oscuro"] .invitation-shell[data-signature-effect="noctis"] .hero-giant-title-right,
[data-tone="oscuro"] .invitation-shell.effect-noctis .hero-giant-title-left,
[data-tone="oscuro"] .invitation-shell.effect-noctis .hero-giant-title-right {
  animation: noctisShimmerDark 3.8s ease-in-out infinite;
}

/* 4. TERCIOPELO — Spotlight de luz al scrollear */
.terciopelo-spotlight-layer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(
    circle 650px at 50% var(--spot-y, 35%),
    rgba(255, 248, 235, 0.12) 0%,
    rgba(240, 225, 195, 0.05) 50%,
    transparent 72%
  );
  mix-blend-mode: soft-light;
  transition: opacity 0.5s ease;
}

[data-tone="oscuro"] .terciopelo-spotlight-layer {
  background: radial-gradient(
    circle 700px at 50% var(--spot-y, 35%),
    rgba(255, 245, 220, 0.16) 0%,
    rgba(235, 210, 160, 0.06) 55%,
    transparent 78%
  );
  mix-blend-mode: screen;
}

#editor-live-phone .terciopelo-spotlight-layer {
  position: absolute;
  inset: 0;
}

.invitation-shell[data-signature-effect="terciopelo"]::before,
.invitation-shell.effect-terciopelo::before,
.terciopelo-spotlight::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(
    circle 650px at 50% var(--spot-y, 35%),
    rgba(255, 248, 235, 0.12) 0%,
    rgba(240, 225, 195, 0.05) 50%,
    transparent 72%
  );
  mix-blend-mode: soft-light;
}

[data-tone="oscuro"].invitation-shell[data-signature-effect="terciopelo"]::before,
[data-tone="oscuro"] .invitation-shell[data-signature-effect="terciopelo"]::before,
[data-tone="oscuro"] .terciopelo-spotlight::before {
  background: radial-gradient(
    circle 700px at 50% var(--spot-y, 35%),
    rgba(255, 245, 220, 0.16) 0%,
    rgba(235, 210, 160, 0.06) 55%,
    transparent 78%
  );
  mix-blend-mode: screen;
}

#editor-live-phone .invitation-shell[data-signature-effect="terciopelo"]::before,
#editor-live-phone .terciopelo-spotlight::before {
  position: absolute;
}

/* 5. NINGUNO — Limpio editorial (desactiva todos los efectos) */
.invitation-shell[data-signature-effect="ninguno"] .countdown-grid,
.invitation-shell.effect-ninguno .countdown-grid {
  border: none !important;
  box-shadow: none !important;
  animation: none !important;
  background: transparent !important;
}

.invitation-shell[data-signature-effect="ninguno"] .hero-giant-title-left,
.invitation-shell[data-signature-effect="ninguno"] .hero-giant-title-right,
.invitation-shell.effect-ninguno .hero-giant-title-left,
.invitation-shell.effect-ninguno .hero-giant-title-right {
  animation: none !important;
  text-shadow: none !important;
  filter: none !important;
}

.invitation-shell[data-signature-effect="ninguno"] .gallery-item::after,
.invitation-shell.effect-ninguno .gallery-item::after {
  display: none !important;
}

.invitation-shell[data-signature-effect="ninguno"] .gallery-item img,
.invitation-shell.effect-ninguno .gallery-item img {
  filter: none !important;
  opacity: 1 !important;
}

.invitation-shell[data-signature-effect="ninguno"] .terciopelo-spotlight-layer,
.invitation-shell.effect-ninguno .terciopelo-spotlight-layer,
.invitation-shell[data-signature-effect="ninguno"]::before,
.invitation-shell.effect-ninguno::before {
  display: none !important;
}

/* ==========================================================================
   PANEL DE ADMINISTRACIÓN (BLANCO Y NEGRO PURO — SIN BOTONES AMARILLOS)
   ========================================================================== */

.admin-shell {
  min-height: 100vh;
  background-color: #FAF9F6;
  color: #111111;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: #111111;
  color: #FFFFFF;
  padding: 0.9rem 0;
}

.admin-topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-brand {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}

.admin-brand span {
  font-weight: 500;
  font-size: 0.78rem;
  opacity: 0.7;
  margin-left: 0.35rem;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.admin-tab-btn {
  padding: 0.5rem 0.95rem;
  border-radius: 0.65rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.admin-tab-btn:hover {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.08);
}

.admin-tab-btn.active {
  background-color: #FFFFFF;
  color: #111111;
}

.admin-main {
  padding: 2.5rem 0 5rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 1.75rem 0 2.5rem;
}

@media (max-width: 900px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.metric-card {
  padding: 1.5rem;
  border-radius: 1.25rem;
  background-color: #FFFFFF;
  border: 1px solid #E5E5E5;
  box-shadow: var(--shadow-sm);
}

.metric-value {
  margin-top: 0.4rem;
  font-family: var(--font-serif);
  font-size: 2.6rem;
  line-height: 1;
  color: #111111;
}

.admin-card {
  padding: 1.75rem;
  border-radius: 1.35rem;
  background-color: #FFFFFF;
  border: 1px solid #E5E5E5;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.admin-table th {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #E5E5E5;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #737373;
}

.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid #F0F0F0;
  vertical-align: middle;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.status-pill.published {
  background-color: #111111;
  color: #FFFFFF;
}

.status-pill.draft {
  background-color: #F5F5F5;
  color: #524E48;
  border: 1px solid #E5E5E5;
}

/* Editor con Vista Previa Móvil en Vivo */
.editor-layout {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .editor-layout {
    grid-template-columns: 1fr;
  }
}

.editor-preview-sticky {
  position: sticky;
  top: 5.5rem;
}

.phone-frame {
  width: 100%;
  max-width: 370px;
  height: 700px;
  margin: 0 auto;
  border-radius: 38px;
  border: 10px solid #111111;
  background-color: #FAF9F6;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: var(--shadow-xl);
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

/* Selector visual de paleta de colores para Dress Code en el Editor */
.admin-color-palette {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  padding: 0.35rem 0;
}

.admin-color-swatch-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.admin-color-swatch-item:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 0 0 1px #111111;
}

.admin-color-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  border: none;
  padding: 0;
  margin: 0;
}

.admin-color-remove-btn {
  position: absolute;
  top: -5px;
  right: -5px;
  z-index: 3;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background-color: #111111;
  color: #FFFFFF;
  border: 1.5px solid #FFFFFF;
  font-size: 11px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.admin-color-remove-btn:hover {
  background-color: #B91C1C;
  transform: scale(1.1);
}

.admin-color-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 36px;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px dashed #B5B0A6;
  background-color: #FAF9F6;
  color: #111111;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.admin-color-add-btn:hover {
  border-color: #111111;
  background-color: #FFFFFF;
}

/* Filas arrastrables (Drag & Drop) en "2. Interruptores y Orden de Secciones" */
.admin-section-order-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #E5E5E5;
  border-radius: 0.65rem;
  cursor: grab;
  transition: background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}

.admin-section-order-item:active {
  cursor: grabbing;
}

.admin-section-order-item.is-dragging {
  opacity: 0.45 !important;
  cursor: grabbing;
  border-style: dashed;
  border-color: #111111;
}

.admin-section-order-item.drag-over-top {
  border-top: 2.5px solid #111111 !important;
  box-shadow: 0 -2px 0 #111111;
}

.admin-section-order-item.drag-over-bottom {
  border-bottom: 2.5px solid #111111 !important;
  box-shadow: 0 2px 0 #111111;
}

.admin-drag-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9A958C;
  font-size: 0.95rem;
  letter-spacing: -1px;
  cursor: grab;
  user-select: none;
  padding: 0 0.2rem;
}

.admin-section-order-item:hover .admin-drag-handle {
  color: #111111;
}

/* ==========================================================================
   PERSONALIZACIÓN DINÁMICA DE PLANTILLAS E INVITACIONES (COLORES Y TEXTURAS)
   Solo se aplica cuando .invitation-shell tiene variables CSS personalizadas
   ========================================================================== */

.invitation-shell.has-custom-page-bg {
  background-color: var(--custom-page-bg-color, var(--bg-page));
}

.invitation-shell.has-custom-page-bg-repeat {
  background-image: var(--custom-page-bg-image, none);
  background-size: var(--custom-page-bg-size, 320px auto);
  background-repeat: repeat;
  background-position: center top;
  background-attachment: scroll;
}

.invitation-shell.has-custom-page-bg-cover,
.invitation-shell.has-custom-page-bg-cover .hero-sticky-stage {
  background-image: none !important;
  background-color: transparent !important;
}

.invitation-shell .hero-sticky-stage {
  background-color: transparent !important;
}

/* Capa de fondo fija nítida al tamaño del viewport para cubrir pantalla completa sin desenfoque */
.inv-fixed-cover-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: var(--custom-page-bg-color, var(--bg-page));
  background-image: var(--custom-page-bg-image, none);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

/* Enmarcado y fijación dentro del teléfono de previsualización en vivo del Editor */
.phone-frame .inv-fixed-cover-bg {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 700px;
  min-height: 700px;
  margin-bottom: -700px;
  z-index: 0;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.invitation-shell.has-custom-card-bg .inv-section-block:not(.inv-section-open):not(.inv-section-dual),
.invitation-shell.has-custom-card-bg .inv-section-dual .inv-inner-card {
  background-color: var(--custom-card-bg-color, #FFFFFF) !important;
  background-image: var(--custom-card-bg-image, none) !important;
  background-size: var(--custom-card-bg-size, cover) !important;
  background-repeat: var(--custom-card-bg-repeat, no-repeat) !important;
  background-position: center center !important;
}

.invitation-shell.has-custom-card-border .inv-section-block:not(.inv-section-open):not(.inv-section-dual),
.invitation-shell.has-custom-card-border .inv-section-dual .inv-inner-card {
  border-color: var(--custom-card-border-color, rgba(0, 0, 0, 0.08)) !important;
}

.invitation-shell.has-custom-title-color .hero-giant-title-left,
.invitation-shell.has-custom-title-color .hero-giant-title-right,
.invitation-shell.has-custom-title-color .inv-section-title,
.invitation-shell.has-custom-title-color .countdown-num,
.invitation-shell.has-custom-title-color .itinerary-minimal-title,
.invitation-shell.has-custom-title-color .gift-alias-value {
  color: var(--custom-title-color) !important;
}

.invitation-shell.has-custom-text-color {
  color: var(--custom-text-color);
}

.invitation-shell.has-custom-text-color .hero-date-badge,
.invitation-shell.has-custom-text-color .scroll-label,
.invitation-shell.has-custom-text-color .inv-section-subtitle,
.invitation-shell.has-custom-text-color .inv-badge,
.invitation-shell.has-custom-text-color .countdown-label,
.invitation-shell.has-custom-text-color .itinerary-minimal-time,
.invitation-shell.has-custom-text-color .itinerary-minimal-desc,
.invitation-shell.has-custom-text-color .inv-section-icon,
.invitation-shell.has-custom-text-color .itinerary-minimal-icon,
.invitation-shell.has-custom-text-color .inv-editorial-column p {
  color: var(--custom-text-color) !important;
}

.invitation-shell.has-custom-text-color .scroll-arrow-icon {
  stroke: var(--custom-text-color) !important;
}

.invitation-shell.has-custom-btn-bg .inv-editorial-column .btn-dark {
  background-color: var(--custom-btn-bg) !important;
  border-color: var(--custom-btn-bg) !important;
}

.invitation-shell.has-custom-btn-text .inv-editorial-column .btn-dark,
.invitation-shell.has-custom-btn-text .inv-editorial-column .btn-dark span {
  color: var(--custom-btn-text) !important;
}

.invitation-shell.has-custom-btn-text .inv-editorial-column .btn-dark svg {
  stroke: var(--custom-btn-text) !important;
}

/* ==========================================================================
   PERSONALIZACIÓN DE TIPOGRAFÍAS, GROSOR Y DISPOSICIÓN DE TEXTOS EN INVITACIONES
   ========================================================================== */

/* 1. Tipografía de Títulos */
.invitation-shell.has-custom-font-heading {
  --font-serif: var(--custom-font-heading);
}

.invitation-shell.has-custom-font-heading .hero-giant-title-left,
.invitation-shell.has-custom-font-heading .hero-giant-title-right,
.invitation-shell.has-custom-font-heading .inv-section-title,
.invitation-shell.has-custom-font-heading .countdown-num,
.invitation-shell.has-custom-font-heading .itinerary-minimal-title,
.invitation-shell.has-custom-font-heading .gift-alias-value,
.invitation-shell.has-custom-font-heading .font-serif,
.invitation-shell.has-custom-font-heading h1,
.invitation-shell.has-custom-font-heading h2,
.invitation-shell.has-custom-font-heading h3 {
  font-family: var(--custom-font-heading) !important;
}

/* 2. Tipografía de Textos / Cuerpo */
.invitation-shell.has-custom-font-body {
  --font-sans: var(--custom-font-body);
}

.invitation-shell.has-custom-font-body,
.invitation-shell.has-custom-font-body .hero-date-badge,
.invitation-shell.has-custom-font-body .scroll-label,
.invitation-shell.has-custom-font-body .inv-section-subtitle,
.invitation-shell.has-custom-font-body .inv-badge,
.invitation-shell.has-custom-font-body .countdown-label,
.invitation-shell.has-custom-font-body .itinerary-minimal-time,
.invitation-shell.has-custom-font-body .itinerary-minimal-desc,
.invitation-shell.has-custom-font-body .inv-editorial-column p:not(.font-serif),
.invitation-shell.has-custom-font-body .inv-editorial-column label,
.invitation-shell.has-custom-font-body .inv-editorial-column input,
.invitation-shell.has-custom-font-body .inv-editorial-column select,
.invitation-shell.has-custom-font-body .inv-editorial-column textarea,
.invitation-shell.has-custom-font-body .inv-editorial-column .btn,
.invitation-shell.has-custom-font-body .inv-pill-btn {
  font-family: var(--custom-font-body) !important;
}

/* 3. Grosor de Títulos */
.invitation-shell.has-custom-heading-weight .hero-giant-title-left,
.invitation-shell.has-custom-heading-weight .hero-giant-title-right,
.invitation-shell.has-custom-heading-weight .inv-section-title,
.invitation-shell.has-custom-heading-weight .countdown-num,
.invitation-shell.has-custom-heading-weight .itinerary-minimal-title,
.invitation-shell.has-custom-heading-weight .gift-alias-value,
.invitation-shell.has-custom-heading-weight .font-serif,
.invitation-shell.has-custom-heading-weight h1,
.invitation-shell.has-custom-heading-weight h2,
.invitation-shell.has-custom-heading-weight h3 {
  font-weight: var(--custom-heading-weight) !important;
}

/* 4. Estilo de Títulos (Normal o Cursiva) */
.invitation-shell.has-custom-heading-style .hero-giant-title-left,
.invitation-shell.has-custom-heading-style .hero-giant-title-right,
.invitation-shell.has-custom-heading-style .inv-section-title,
.invitation-shell.has-custom-heading-style .itinerary-minimal-title,
.invitation-shell.has-custom-heading-style h1,
.invitation-shell.has-custom-heading-style h2,
.invitation-shell.has-custom-heading-style h3 {
  font-style: var(--custom-heading-style) !important;
}

/* 5. Tamaño del Título de Portada Escalado (70% a 130%) */
.invitation-shell.has-custom-hero-title-scale .hero-giant-title-left {
  font-size: calc(clamp(3rem, 7.5vw, 5.1rem) * var(--custom-hero-title-scale, 1)) !important;
}

.invitation-shell.has-custom-hero-title-scale .hero-giant-title-right {
  font-size: calc(clamp(2.85rem, 7.2vw, 4.9rem) * var(--custom-hero-title-scale, 1)) !important;
}

/* 6. Posición Vertical en Portada (Hero) */
.invitation-shell.hero-valign-top .hero-typography-layer {
  justify-content: flex-start !important;
  padding-top: clamp(2.5rem, 6vh, 4.5rem) !important;
}

.invitation-shell.hero-valign-bottom .hero-typography-layer {
  justify-content: flex-end !important;
  padding-bottom: clamp(5.2rem, 10vh, 7.5rem) !important;
}

.invitation-shell.hero-valign-center .hero-typography-layer {
  justify-content: center !important;
}

/* 7. Alineación Horizontal en Portada (Hero) */
.invitation-shell.hero-align-left .hero-typography-layer {
  align-items: flex-start !important;
  text-align: left !important;
  padding-left: clamp(1.2rem, 5vw, 3rem) !important;
  padding-right: clamp(1.2rem, 5vw, 3rem) !important;
}
.invitation-shell.hero-align-left .hero-split-top {
  align-items: flex-start !important;
  text-align: left !important;
}
.invitation-shell.hero-align-left .hero-date-badge,
.invitation-shell.hero-align-left .hero-giant-title-left,
.invitation-shell.hero-align-left .hero-giant-title-right {
  text-align: left !important;
  align-self: flex-start !important;
}

.invitation-shell.hero-align-right .hero-typography-layer {
  align-items: flex-end !important;
  text-align: right !important;
  padding-left: clamp(1.2rem, 5vw, 3rem) !important;
  padding-right: clamp(1.2rem, 5vw, 3rem) !important;
}
.invitation-shell.hero-align-right .hero-split-top {
  align-items: flex-end !important;
  text-align: right !important;
}
.invitation-shell.hero-align-right .hero-date-badge,
.invitation-shell.hero-align-right .hero-giant-title-left,
.invitation-shell.hero-align-right .hero-giant-title-right {
  text-align: right !important;
  align-self: flex-end !important;
}

.invitation-shell.hero-align-center .hero-typography-layer {
  align-items: center !important;
  text-align: center !important;
}
.invitation-shell.hero-align-center .hero-split-top {
  align-items: center !important;
  text-align: center !important;
}
.invitation-shell.hero-align-center .hero-date-badge,
.invitation-shell.hero-align-center .hero-giant-title-left,
.invitation-shell.hero-align-center .hero-giant-title-right {
  text-align: center !important;
  align-self: center !important;
}

/* 8. Alineación de Textos en las Secciones / Tarjetas */
.invitation-shell.sections-align-left .inv-editorial-column,
.invitation-shell.sections-align-left .inv-section-block,
.invitation-shell.sections-align-left .inv-inner-card,
.invitation-shell.sections-align-left .inv-section-block.inv-section-open,
.invitation-shell.sections-align-left .inv-card-dark-editorial {
  text-align: left !important;
}
.invitation-shell.sections-align-left .inv-section-icon {
  margin-left: 0 !important;
  margin-right: auto !important;
}
.invitation-shell.sections-align-left .inv-ornament {
  margin-left: 0 !important;
  margin-right: auto !important;
  justify-content: flex-start !important;
}
.invitation-shell.sections-align-left .inv-badge {
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
}
.invitation-shell.sections-align-left .inv-section-subtitle {
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
}
.invitation-shell.sections-align-left .inv-section-title {
  text-align: left !important;
}
.invitation-shell.sections-align-left .inv-editorial-column p {
  text-align: left !important;
}

.invitation-shell.sections-align-right .inv-editorial-column,
.invitation-shell.sections-align-right .inv-section-block,
.invitation-shell.sections-align-right .inv-inner-card,
.invitation-shell.sections-align-right .inv-section-block.inv-section-open,
.invitation-shell.sections-align-right .inv-card-dark-editorial {
  text-align: right !important;
}
.invitation-shell.sections-align-right .inv-section-icon {
  margin-left: auto !important;
  margin-right: 0 !important;
}
.invitation-shell.sections-align-right .inv-ornament {
  margin-left: auto !important;
  margin-right: 0 !important;
  justify-content: flex-end !important;
}
.invitation-shell.sections-align-right .inv-badge {
  margin-left: auto !important;
  margin-right: 0 !important;
  text-align: right !important;
}
.invitation-shell.sections-align-right .inv-section-subtitle {
  margin-left: auto !important;
  margin-right: 0 !important;
  text-align: right !important;
}
.invitation-shell.sections-align-right .inv-section-title {
  text-align: right !important;
}
.invitation-shell.sections-align-right .inv-editorial-column p {
  text-align: right !important;
}

.invitation-shell.sections-align-center .inv-editorial-column,
.invitation-shell.sections-align-center .inv-section-block,
.invitation-shell.sections-align-center .inv-inner-card,
.invitation-shell.sections-align-center .inv-section-block.inv-section-open,
.invitation-shell.sections-align-center .inv-card-dark-editorial {
  text-align: center !important;
}
.invitation-shell.sections-align-center .inv-section-icon {
  margin-left: auto !important;
  margin-right: auto !important;
}
.invitation-shell.sections-align-center .inv-ornament {
  margin-left: auto !important;
  margin-right: auto !important;
  justify-content: center !important;
}
.invitation-shell.sections-align-center .inv-badge {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}
.invitation-shell.sections-align-center .inv-section-subtitle {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

/* Tarjeta compacta de selector de color en el Editor Admin */
.admin-style-color-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.admin-style-color-picker {
  width: 40px;
  height: 40px;
  padding: 2px;
  border-radius: 10px;
  border: 1px solid #D4D0C8;
  background: #FFFFFF;
  cursor: pointer;
  flex-shrink: 0;
}

/* Vista Previa en Vivo del Sobre 3D dentro del Celular del Editor */
.phone-frame .envelope-overlay {
  position: relative;
  inset: auto;
  min-height: 100%;
  width: 100%;
  padding: 1.5rem 1rem;
  z-index: 5;
}

.phone-frame .envelope-stage {
  max-width: 310px;
}

.admin-preview-tabs {
  display: inline-flex;
  align-items: center;
  background-color: #ECEAE4;
  padding: 3px;
  border-radius: 999px;
  gap: 3px;
}

.admin-preview-tab-btn {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #524E48;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.admin-preview-tab-btn.active {
  background-color: #111111;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   CONFIGURACIÓN WEB - PLANES DE PRECIOS Y RESEÑAS EN EL ADMIN
   ========================================================================== */

.admin-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .admin-pricing-grid {
    grid-template-columns: 1fr;
  }
}

.admin-plan-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.35rem;
  border: 1px solid #ECEAE4;
  border-radius: 0.85rem;
  background: #FAF9F6;
}

.admin-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.admin-review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  border: 1px solid #ECEAE4;
  border-radius: 0.85rem;
  background: #FAF9F6;
  position: relative;
}

/* ==========================================================================
   MODALES, LIGHTBOX, TOASTS Y COOKIE BANNER
   ========================================================================== */

/* Bloqueo de scroll cuando el lightbox está abierto */
body.lightbox-open {
  overflow: hidden;
}

/* Visor editorial minimalista de galería */
.gallery-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background-color: rgba(12, 10, 8, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  animation: lbFadeIn 0.22s ease-out;
}

@keyframes lbFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.gallery-lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 125;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  padding: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.gallery-lightbox-close:hover {
  background: rgba(40, 40, 40, 0.7);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.06);
}

.gallery-lightbox-close:active {
  transform: scale(0.95);
}

.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 125;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  padding: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.gallery-lightbox-prev {
  left: 1.5rem;
}

.gallery-lightbox-next {
  right: 1.5rem;
}

.gallery-lightbox-nav:hover {
  background: rgba(40, 40, 40, 0.7);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-50%) scale(1.08);
}

.gallery-lightbox-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.gallery-lightbox-stage {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  max-height: 85dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
}

.gallery-lightbox-stage:active {
  cursor: grabbing;
}

.gallery-lightbox-img {
  max-width: 86vw;
  max-height: 82vh;
  max-height: 82dvh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 1.15rem;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.1);
  pointer-events: auto;
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  animation: lbImgIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  transition: transform 0.15s ease-out;
}

@keyframes lbImgIn {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.gallery-lightbox-counter {
  position: absolute;
  bottom: 1.35rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 125;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(20, 20, 20, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.32rem 0.9rem;
  border-radius: 9999px;
  pointer-events: none;
}

@media (max-width: 640px) {
  .gallery-lightbox-overlay {
    padding: 0.75rem;
  }
  .gallery-lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }
  .gallery-lightbox-nav {
    width: 40px;
    height: 40px;
  }
  .gallery-lightbox-prev {
    left: 0.65rem;
  }
  .gallery-lightbox-next {
    right: 0.65rem;
  }
  .gallery-lightbox-img {
    max-width: 92vw;
    max-height: 78vh;
    max-height: 78dvh;
    border-radius: 0.85rem;
  }
  .gallery-lightbox-counter {
    bottom: 1rem;
  }
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background-color: rgba(17, 17, 17, 0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-box {
  width: 100%;
  max-width: 40rem;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 1.5rem;
  background-color: #FFFFFF;
  color: #111111;
  padding: 2rem;
  box-shadow: var(--shadow-xl);
}

.toast-notification {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  padding: 0.75rem 1.35rem;
  border-radius: 9999px;
  background-color: #111111;
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-xl);
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 48;
}

.cookie-banner-inner {
  max-width: 64rem;
  margin: 0 auto;
  padding: 1rem 1.35rem;
  border-radius: 1rem;
  background-color: #FFFFFF;
  border: 1px solid #E5E5E5;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.84rem;
  color: #524E48;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.5rem;
}

@media print {
  .no-print {
    display: none !important;
  }
  body {
    background: #FFFFFF !important;
    color: #111111 !important;
  }
}


/* ==========================================================================
   REDISEÑO EDITORIAL DE LUJO — WEB PÚBLICA (solo estética)
   Paleta: crema #F6F4EF · carbón #111111 · blanco #FFFFFF · champagne #B8A283
   ========================================================================== */

/* Eyebrow editorial (reemplaza las pastillas con borde) */
.eyebrow-text {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #B8A283;
}

/* Botón cápsula negro carbón */
.btn-ink {
  background-color: #111111;
  color: #FFFFFF;
  border: 1px solid #111111;
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  box-shadow: 0 10px 24px -10px rgba(17, 17, 17, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn-ink:hover {
  background-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -10px rgba(17, 17, 17, 0.6);
}

.btn-ink:active {
  transform: translateY(0);
}

.hero-cta-row .btn-ghost {
  border-radius: 999px;
}

/* Header vidrio esmerilado */
.public-header {
  background-color: rgba(246, 244, 239, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

/* Tarjeta demo estrella */
.hero-mockup-card {
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.28);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}

.hero-mockup-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 44px 90px -24px rgba(0, 0, 0, 0.36);
}

/* Franja editorial de diferenciales */
.editorial-strip {
  background-color: #F6F4EF;
  border-top: 1px solid rgba(17, 17, 17, 0.14);
  border-bottom: 1px solid rgba(17, 17, 17, 0.14);
}

.editorial-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.4rem;
  padding-top: 1.15rem;
  padding-bottom: 1.15rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #3D3A35;
  text-align: center;
}

.editorial-dot {
  color: #B8A283;
  font-size: 1rem;
  line-height: 1;
}

/* Categorías: tarjetas editoriales blancas */
.categories-grid {
  align-items: stretch;
  gap: 1.35rem;
}

.category-card {
  background-color: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 18px;
  padding: 2rem 1.1rem 1.75rem;
  box-shadow: 0 12px 36px -18px rgba(17, 17, 17, 0.14);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
  background-color: #FFFFFF;
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.22);
  box-shadow: 0 22px 44px -20px rgba(17, 17, 17, 0.22);
}

.category-icon-circle {
  width: 2.9rem;
  height: 2.9rem;
  background-color: #F6F4EF;
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.category-card:hover .category-icon-circle {
  background-color: #111111;
  color: #FFFFFF;
  transform: scale(1.06);
}

/* Cómo funciona */
.how-section {
  background-color: #0E0E0E;
}

.how-step-card {
  padding: 2.6rem 2.2rem;
  background-color: #151413;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.how-step-card:hover {
  border-color: rgba(200, 181, 152, 0.45);
  box-shadow: 0 0 0 1px rgba(200, 181, 152, 0.12), 0 24px 50px -24px rgba(200, 181, 152, 0.2);
  transform: translateY(-3px);
}

.how-step-number {
  font-size: 3.6rem;
  line-height: 1;
  color: #C8B598;
  opacity: 1;
}

.how-step-title {
  margin-top: 1.4rem;
}

.how-step-desc {
  margin-top: 0.85rem;
  line-height: 1.7;
}

/* Preguntas frecuentes — layout editorial */
.faq-editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 4rem;
  align-items: start;
}

.faq-editorial-head {
  position: sticky;
  top: 7rem;
}

.faq-editorial-head .section-title {
  margin-top: 1rem;
}

.faq-editorial-list {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-ed-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-ed-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 24px 0;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}

.faq-ed-text {
  font-family: var(--font-sans);
  font-size: 1.04rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.45;
  color: #141414;
}

.faq-ed-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1;
  color: #141414;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.faq-ed-question:hover .faq-ed-icon {
  border-color: #111111;
}

.faq-ed-item.is-open .faq-ed-icon {
  transform: rotate(45deg);
  background-color: #111111;
  border-color: #111111;
  color: #FFFFFF;
}

.faq-ed-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}

.faq-ed-item.is-open .faq-ed-answer {
  grid-template-rows: 1fr;
}

.faq-ed-answer-inner {
  overflow: hidden;
  font-size: 0.97rem;
  line-height: 1.7;
  color: #555555;
  padding-right: 3.5rem;
}

.faq-ed-item.is-open .faq-ed-answer-inner {
  padding-bottom: 24px;
}

@media (max-width: 900px) {
  .faq-editorial-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .faq-editorial-head {
    position: static;
  }
  .faq-ed-answer-inner {
    padding-right: 0;
  }
}

/* Formulario de contacto — atelier */
.contact-card {
  padding: 3rem 2.75rem;
  border-radius: 24px;
  border: 1px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 40px 80px -30px rgba(17, 17, 17, 0.22), 0 4px 14px rgba(17, 17, 17, 0.04);
}

.contact-card .form-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: #555555;
}

.contact-card .form-input,
.contact-card .form-select,
.contact-card .form-textarea {
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 12px;
  background-color: #FFFFFF;
  padding: 0.85rem 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-card .form-input:focus,
.contact-card .form-select:focus,
.contact-card .form-textarea:focus {
  border-color: #111111;
  box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.06);
}

.contact-card button[type="submit"] {
  border-radius: 999px;
  min-height: 3.25rem;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 30px -12px rgba(17, 17, 17, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.contact-card button[type="submit"]:hover {
  background-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 20px 36px -12px rgba(17, 17, 17, 0.65);
}

/* Animaciones de entrada (fade-up) */
.reveal-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: none;
}

/* Las tarjetas con hover propio conservan su transición tras aparecer */
.category-card.reveal-up.is-visible,
.how-step-card.reveal-up.is-visible,
.hero-mockup-card.reveal-up.is-visible {
  transition: opacity 0.8s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ==========================================================================
   AJUSTE EDITORIAL: HERO OSCURO ATMOSFÉRICO + ÍNDICE EDITORIAL DE CATEGORÍAS
   ========================================================================== */

/* Hero oscuro con aura ambiental */
.hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0D0C0B;
  color: #FAF9F6;
  isolation: isolate;
}

.hero-section .hero-grid {
  position: relative;
  z-index: 2;
}

.hero-aura {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  will-change: transform;
}

.hero-aura-a {
  width: 46rem;
  height: 46rem;
  top: -14rem;
  right: -10rem;
  background: radial-gradient(circle, rgba(184, 162, 131, 0.16) 0%, rgba(184, 162, 131, 0) 68%);
  animation: heroAuraDriftA 26s ease-in-out infinite alternate;
}

.hero-aura-b {
  width: 38rem;
  height: 38rem;
  bottom: -16rem;
  left: -8rem;
  background: radial-gradient(circle, rgba(150, 105, 60, 0.16) 0%, rgba(150, 105, 60, 0) 70%);
  animation: heroAuraDriftB 32s ease-in-out infinite alternate;
}

@keyframes heroAuraDriftA {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-5rem, 4rem, 0) scale(1.12); }
}

@keyframes heroAuraDriftB {
  0% { transform: translate3d(0, 0, 0) scale(1.05); }
  100% { transform: translate3d(6rem, -3rem, 0) scale(0.95); }
}

.hero-section .hero-title {
  color: #FAF9F6;
}

.hero-section .hero-title em {
  color: #E9DFCE;
  font-style: italic;
}

.hero-section .hero-description {
  color: rgba(250, 249, 246, 0.72);
}

.hero-section .eyebrow-text {
  color: #C8B598;
}

.btn-ivory {
  background-color: #FAF9F6;
  color: #111111;
  border: 1px solid #FAF9F6;
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  box-shadow: 0 12px 30px -12px rgba(250, 249, 246, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn-ivory:hover {
  background-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -12px rgba(250, 249, 246, 0.45);
}

.hero-section .btn-ghost {
  color: rgba(250, 249, 246, 0.8);
  border-radius: 999px;
}

.hero-section .btn-ghost:hover {
  color: #FFFFFF;
  opacity: 1;
}

.hero-section .hero-mockup-card {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 90px -24px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(184, 162, 131, 0.12);
}

/* Header sobre el hero oscuro */
.public-header {
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.public-header .brand-logo,
.public-header .public-nav a {
  transition: color 0.35s ease;
}

.public-header.on-dark {
  background-color: rgba(13, 12, 11, 0.62);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.public-header.on-dark .brand-logo {
  color: #FAF9F6;
}

.public-header.on-dark .public-nav a {
  color: rgba(250, 249, 246, 0.7);
}

.public-header.on-dark .public-nav a:hover {
  color: #FFFFFF;
}

.public-header.on-dark .btn-ink {
  background-color: #FAF9F6;
  color: #111111;
  border-color: #FAF9F6;
  box-shadow: 0 10px 24px -12px rgba(250, 249, 246, 0.4);
}

/* Índice editorial de categorías */
.catalog-section {
  position: relative;
  overflow: hidden;
  background-color: #F4F2ED;
  isolation: isolate;
}

.catalog-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 40rem;
  height: 40rem;
  top: -12rem;
  left: 50%;
  margin-left: -30rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 162, 131, 0.22) 0%, rgba(184, 162, 131, 0) 68%);
  filter: blur(80px);
  pointer-events: none;
}

.categories-index {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3.5rem;
  max-width: 68rem;
  margin: 0 auto;
}

@media (max-width: 800px) {
  .categories-index {
    grid-template-columns: 1fr;
  }
}

.category-row {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.9rem 0.75rem;
  text-align: left;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(17, 17, 17, 0.1);
  cursor: pointer;
  transition: background-color 0.35s ease;
}

.categories-index .category-row:nth-last-child(-n+2) {
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}

@media (max-width: 800px) {
  .categories-index .category-row:nth-last-child(2) {
    border-bottom: none;
  }
}

.category-row:hover {
  background-color: rgba(184, 162, 131, 0.14);
}

.category-row-num {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #B8A283;
}

.category-row-main {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.category-row-title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  line-height: 1.1;
  color: #111111;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.category-row:hover .category-row-title {
  transform: translateX(10px);
}

.category-row-desc {
  font-size: 0.86rem;
  line-height: 1.5;
  color: #737373;
  max-width: 24rem;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.category-row:hover .category-row-desc {
  transform: translateX(10px);
}

.category-row-arrow {
  font-size: 1.5rem;
  line-height: 1;
  color: #111111;
  opacity: 0.45;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, color 0.3s ease;
}

.category-row:hover .category-row-arrow {
  opacity: 1;
  color: #B8A283;
  transform: translate(5px, -5px);
}

.category-row.reveal-up.is-visible {
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
  .hero-aura { animation: none; }
}


/* ==========================================================================
   MODO CLARO LUMINOSO: HERO CON AURA + PAPEL, CATEGORÍAS GLASSMORPHISM
   ========================================================================== */

/* Header claro esmerilado (anula cualquier tono oscuro previo) */
.public-header,
.public-header.on-dark {
  background-color: rgba(247, 245, 240, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.public-header.on-dark .brand-logo { color: #111111; }
.public-header.on-dark .public-nav a { color: #524E48; }
.public-header.on-dark .public-nav a:hover { color: #111111; }
.public-header.on-dark .btn-ink {
  background-color: #111111;
  color: #FFFFFF;
  border-color: #111111;
  box-shadow: 0 10px 24px -10px rgba(17, 17, 17, 0.55);
}

/* Hero luminoso */
.hero-section {
  background-color: #F7F5F0;
  color: #141414;
}

.hero-section .hero-title { color: #141414; }
.hero-section .hero-title em { color: #141414; }
.hero-section .hero-description { color: #524E48; }
.hero-section .eyebrow-text { color: #B8A283; }
.hero-section .btn-ghost { color: #141414; }
.hero-section .btn-ghost:hover { color: #000000; opacity: 0.7; }

.hero-section .hero-mockup-card {
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.28);
}

/* Auras luminosas */
.hero-aura { filter: blur(80px); }

.hero-aura-a {
  background: radial-gradient(circle, rgba(212, 190, 156, 0.34) 0%, rgba(212, 190, 156, 0) 68%);
}

.hero-aura-b {
  background: radial-gradient(circle, rgba(232, 196, 180, 0.3) 0%, rgba(232, 196, 180, 0) 70%);
}

.hero-aura-c {
  width: 30rem;
  height: 30rem;
  top: 30%;
  left: 38%;
  background: radial-gradient(circle, rgba(255, 250, 238, 0.35) 0%, rgba(255, 250, 238, 0) 70%);
  animation: heroAuraDriftB 38s ease-in-out infinite alternate-reverse;
}

/* Textura de papel editorial */
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

/* Categorías: formato editorial con fotos circulares limpias (5 por fila) */
.categories-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.5rem 1.75rem;
  justify-items: center;
  max-width: 64rem;
  margin: 0 auto;
}

.categories-grid::before {
  display: none;
  content: none;
}

@media (min-width: 961px) {
  .categories-grid .category-card:nth-child(11):last-child {
    grid-column: 3;
  }
}

@media (max-width: 960px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.25rem;
  }
}

@media (max-width: 640px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.85rem 1rem;
  }
}

.category-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  cursor: pointer;
}

.category-card:hover {
  background: transparent;
  border: none;
  box-shadow: none;
  transform: none;
}

.category-photo-circle {
  display: block;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #EAE6DF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.4s ease;
}

@media (max-width: 640px) {
  .category-photo-circle {
    width: 128px;
    height: 128px;
  }
}

.category-photo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.category-card:hover .category-photo-circle {
  box-shadow: 0 14px 30px -10px rgba(17, 17, 17, 0.24);
}

.category-card:hover .category-photo-circle img {
  transform: scale(1.06);
}

.category-label {
  margin-top: 0.95rem;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: #141414;
  max-width: 165px;
  transition: color 0.3s ease;
}

.category-card:hover .category-label {
  color: #000000;
}

.category-card.reveal-up.is-visible {
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}


/* ==========================================================================
   FUSIÓN ESTÉTICA v4: HERO PANTALLA COMPLETA, HEADER EN CONTRASTE,
   ESTÁS INVITADO, CUENTA REGRESIVA, CARRUSEL DE CATEGORÍAS, PASOS ARMONIZADOS
   ========================================================================== */

/* 1. Fondos claros limpios (alabastro / perla) */
.catalog-section,
.pricing-section,
.faq-section {
  background-color: #FAF9F7;
}

.reviews-section,
.contact-section {
  background-color: #F2F1EE;
}

.catalog-section::before {
  display: none;
}

/* 2. Header: transparente sobre el hero, oscuro translúcido al scrollear */
.public-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(28, 23, 18, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(250, 249, 246, 0.08);
  transition: background-color 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}

.public-header .brand-logo { color: #FAF9F6; }
.public-header .public-nav a { color: rgba(250, 249, 246, 0.78); }
.public-header .public-nav a:hover { color: #FFFFFF; }

.public-header .btn-ink {
  background-color: #FAF9F6;
  color: #1C1712;
  border-color: #FAF9F6;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.5);
}

.public-header .btn-ink:hover {
  background-color: #FFFFFF;
}

.public-header.on-dark {
  background-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

.public-header.on-dark .brand-logo { color: #FFFFFF; }
.public-header.on-dark .public-nav a { color: rgba(255, 255, 255, 0.85); }
.public-header.on-dark .public-nav a:hover { color: #FFFFFF; }

.public-header.on-dark .btn-ink {
  background-color: #FAF9F6;
  color: #1C1712;
  border-color: #FAF9F6;
}

/* 3. Hero a pantalla completa con texto centrado */
.hero-section.hero-full {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 7rem 1.5rem 6rem;
  background-color: #14110D;
  color: #FAF9F6;
  text-align: center;
}

.hero-section.hero-full::after {
  display: none;
}

.hero-full-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 22% 78%, rgba(98, 104, 52, 0.62) 0%, rgba(98, 104, 52, 0) 65%),
    radial-gradient(ellipse 60% 50% at 82% 70%, rgba(183, 154, 91, 0.5) 0%, rgba(183, 154, 91, 0) 62%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(120, 96, 52, 0.55) 0%, rgba(120, 96, 52, 0) 70%),
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(34, 40, 62, 0.95) 0%, rgba(20, 17, 13, 0) 75%),
    linear-gradient(180deg, #171A24 0%, #1B1912 55%, #2A2312 100%);
  animation: heroBgBreath 22s ease-in-out infinite alternate;
}

@keyframes heroBgBreath {
  0% { transform: scale(1); filter: brightness(1); }
  100% { transform: scale(1.06); filter: brightness(1.08); }
}

.hero-full-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(10, 9, 7, 0.55) 0%, rgba(10, 9, 7, 0.28) 38%, rgba(10, 9, 7, 0.62) 100%);
  pointer-events: none;
}

.hero-full-petals {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-petal {
  position: absolute;
  bottom: -2rem;
  width: 14px;
  height: 22px;
  border-radius: 80% 10% 80% 10%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 244, 214, 0.75), rgba(214, 184, 120, 0.35));
  opacity: 0;
  filter: blur(0.4px);
  animation: petalDrift 16s linear infinite;
}

.hero-petal-1 { left: 6%;  animation-delay: 0s;   animation-duration: 17s; }
.hero-petal-2 { left: 17%; animation-delay: 3s;   animation-duration: 21s; width: 10px; height: 16px; }
.hero-petal-3 { left: 29%; animation-delay: 7s;   animation-duration: 18s; }
.hero-petal-4 { left: 41%; animation-delay: 1.5s; animation-duration: 23s; width: 9px; height: 14px; }
.hero-petal-5 { left: 53%; animation-delay: 9s;   animation-duration: 19s; }
.hero-petal-6 { left: 64%; animation-delay: 4.5s; animation-duration: 22s; width: 12px; height: 18px; }
.hero-petal-7 { left: 75%; animation-delay: 11s;  animation-duration: 20s; }
.hero-petal-8 { left: 86%; animation-delay: 2s;   animation-duration: 24s; width: 10px; height: 16px; }
.hero-petal-9 { left: 94%; animation-delay: 6s;   animation-duration: 18s; }

@keyframes petalDrift {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0; }
  12%  { opacity: 0.8; }
  60%  { opacity: 0.55; }
  100% { transform: translate3d(38px, -22rem, 0) rotate(220deg); opacity: 0; }
}

.hero-full-content {
  position: relative;
  z-index: 3;
  max-width: 52rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-section.hero-full .eyebrow-text {
  color: #D8C79F;
  animation: heroFadeBlur 1.1s ease both;
}

.hero-section.hero-full .hero-full-title {
  margin-top: 1.25rem;
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  line-height: 1.02;
  color: #FAF9F6;
  animation: heroFadeBlur 1.4s ease 0.2s both;
}

.hero-section.hero-full .hero-description {
  max-width: 36rem;
  margin: 1.5rem auto 0;
  color: rgba(250, 249, 246, 0.82);
  animation: heroFadeBlur 1.4s ease 0.45s both;
}

.hero-section.hero-full .hero-cta-row {
  justify-content: center;
  margin-top: 2.25rem;
  animation: heroFadeBlur 1.4s ease 0.7s both;
}

@keyframes heroFadeBlur {
  0%   { opacity: 0; filter: blur(14px); transform: translateY(14px); }
  100% { opacity: 1; filter: blur(0); transform: none; }
}

.btn-outline-light {
  background-color: transparent;
  color: #FAF9F6;
  border: 1px solid rgba(250, 249, 246, 0.75);
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.btn-outline-light:hover {
  background-color: rgba(250, 249, 246, 0.14);
  transform: translateY(-2px);
}

.hero-full-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.75rem;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 249, 246, 0.66);
}

@media (max-width: 640px) {
  .hero-full-foot {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }
}

/* 4a. Bloque "Estás invitado" */
.invited-section {
  position: relative;
  overflow: hidden;
  padding: 7rem 0;
  background-color: #F2F1EE;
  text-align: center;
}

.invited-inner {
  position: relative;
  max-width: 46rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.invited-title {
  margin-top: 1rem;
  font-size: clamp(2.6rem, 5vw, 4rem);
}

.invited-text {
  margin-top: 1.5rem;
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #524E48;
}

.invited-flower {
  position: absolute;
  right: -9rem;
  bottom: -5.5rem;
  width: 15rem;
  height: 15rem;
  color: #B8A283;
  opacity: 0.7;
  pointer-events: none;
}

@media (max-width: 900px) {
  .invited-flower { right: -3rem; bottom: -4rem; width: 9rem; height: 9rem; }
}

/* 4b. Cuenta regresiva de muestra */
.countdown-demo-section {
  padding: 6rem 0;
  background-color: #3A2E24;
  color: #FAF9F6;
  text-align: center;
}

.countdown-demo-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-demo-section .eyebrow-text {
  color: #CDB88A;
}

.countdown-demo-title {
  margin-top: 1rem;
  color: #FAF9F6;
}

.countdown-demo-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 8rem));
  gap: clamp(0.6rem, 2vw, 1.5rem);
  justify-content: center;
  width: 100%;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.countdown-demo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 0.5rem 1.25rem;
  border: 1px solid rgba(250, 249, 246, 0.14);
  border-radius: 1rem;
  background-color: rgba(250, 249, 246, 0.04);
}

.countdown-demo-num {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1;
  color: #FAF9F6;
  font-variant-numeric: tabular-nums;
}

.countdown-demo-label {
  margin-top: 0.75rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 249, 246, 0.62);
}

.countdown-demo-note {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: rgba(250, 249, 246, 0.62);
}

@media (max-width: 768px) {
  .countdown-demo-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: clamp(0.35rem, 1.8vw, 0.85rem);
    max-width: 100%;
    margin-top: 1.75rem;
    padding: 0 0.25rem;
  }
  .countdown-demo-box {
    min-width: 0;
  }
  .countdown-demo-num {
    font-size: clamp(1.8rem, 7.5vw, 2.75rem);
  }
  .countdown-demo-label {
    margin-top: 0.45rem;
    font-size: clamp(0.55rem, 1.8vw, 0.68rem);
    letter-spacing: clamp(0.12em, 1.5vw, 0.22em);
    white-space: nowrap;
  }
}

/* 5. Categorías en una sola fila deslizable */
.categories-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 72rem;
  margin: 0 auto;
}

.categories-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
  max-width: none;
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 1rem 0.5rem 2.25rem;
  justify-content: flex-start;
}

.categories-grid::-webkit-scrollbar {
  display: none;
}

.categories-grid .category-card {
  flex: 0 0 auto;
  width: 160px;
  scroll-snap-align: start;
  grid-column: auto;
}

.cat-arrow {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.16);
  background-color: #FFFFFF;
  color: #141414;
  font-size: 1.05rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px -8px rgba(17, 17, 17, 0.25);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.cat-arrow:hover {
  background-color: #141414;
  color: #FFFFFF;
  transform: scale(1.06);
}

@media (max-width: 640px) {
  .categories-grid { gap: 1.25rem; }
  .categories-grid .category-card { width: 138px; }
  .cat-arrow { width: 34px; height: 34px; }
  .categories-carousel { gap: 0.4rem; }
}

/* 6. "Tres pasos" armonizado */
.how-section {
  background-color: #1C1712;
}

.how-step-card {
  border: 1px solid rgba(183, 154, 91, 0.32);
}

.how-step-card:hover {
  border-color: rgba(183, 154, 91, 0.6);
  box-shadow: 0 0 0 1px rgba(183, 154, 91, 0.16), 0 24px 50px -24px rgba(183, 154, 91, 0.22);
}

.how-step-number {
  color: #B79A5B;
}

@media (prefers-reduced-motion: reduce) {
  .hero-full-bg, .hero-petal { animation: none; }
  .hero-section.hero-full .eyebrow-text,
  .hero-section.hero-full .hero-full-title,
  .hero-section.hero-full .hero-description,
  .hero-section.hero-full .hero-cta-row { animation: none; }
}


/* ==========================================================================
   AJUSTE EXACTO: PORTADA PAISAJE + BRISA, CUENTA REGRESIVA LIMPIA
   ========================================================================== */

.hero-section.hero-full {
  background: linear-gradient(#5e6b55 0%, #9a9a6c 38%, #c9b98a 52%, #3d4a30 53%, #26301f 100%);
}

.hero-section.hero-full::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 1;
  pointer-events: none;
  background: linear-gradient(rgba(20, 16, 10, .45), rgba(20, 16, 10, .05) 40%, rgba(20, 16, 10, .55));
  background-size: auto;
}

.hero-section.hero-full .paisaje {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-section.hero-full .flores {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(255, 250, 235, .95) 0 1.3px, transparent 2px) 0 0/15px 17px,
    radial-gradient(circle, rgba(255, 226, 150, .9) 0 1.2px, transparent 2px) 7px 9px/19px 15px;
  -webkit-mask: linear-gradient(transparent, #000 55%);
  mask: linear-gradient(transparent, #000 55%);
  opacity: .85;
  animation: brisa 9s ease-in-out infinite alternate;
}

@keyframes brisa {
  to { transform: translateX(-10px) translateY(4px); }
}

.hero-section.hero-full .eyebrow-text,
.hero-section.hero-full .hero-full-foot,
.hero-section.hero-full .hero-full-foot span {
  color: #FFFFFF;
}

@media (prefers-reduced-motion: reduce) {
  .hero-section.hero-full .flores { animation: none; }
}

/* Cuenta regresiva limpia */
.countdown-demo-box {
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
}

.countdown-demo-label {
  color: rgba(250, 243, 228, 0.7);
}

.countdown-demo-note {
  font-style: italic;
  color: rgba(250, 243, 228, 0.7);
}


/* ==========================================================================
   RITMO DE COLORES + HEADER MARFIL TRANSLÚCIDO AL SCROLLEAR (solo CSS)
   ========================================================================== */

/* Header scrolled: marfil translúcido con vidrio esmerilado fuerte */
.public-header {
  background-color: rgba(251, 248, 242, 0.72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(58, 46, 36, 0.12);
}

.public-header .brand-logo { color: #3A2E24; }
.public-header .public-nav a { color: #3A2E24; }
.public-header .public-nav a:hover { color: #3A2E24; opacity: 0.7; }

.public-header .btn-ink {
  background-color: transparent;
  color: #3A2E24;
  border: 1px solid #3A2E24;
  box-shadow: none;
}

.public-header .btn-ink:hover {
  background-color: #3A2E24;
  color: #FFFFFF;
  border-color: #3A2E24;
}

/* Sobre el hero: transparente con texto blanco (se mantiene) */
.public-header.on-dark {
  background-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

.public-header.on-dark .brand-logo { color: #FFFFFF; }
.public-header.on-dark .public-nav a { color: rgba(255, 255, 255, 0.88); opacity: 1; }
.public-header.on-dark .public-nav a:hover { color: #FFFFFF; }

.public-header.on-dark .btn-ink {
  background-color: #FAF9F6;
  color: #1C1712;
  border-color: #FAF9F6;
}

.public-header.on-dark .btn-ink:hover {
  background-color: #FFFFFF;
  color: #1C1712;
}

/* Ritmo de fondos entre secciones */
.invited-section { background-color: #EFE7D6; }
.invited-section .section-title,
.invited-section .invited-title { color: #3A2E24; }
.invited-section .invited-text { color: #3A2E24; }
.invited-section .invited-flower { color: #3A2E24; opacity: 0.75; }

.countdown-demo-section { background-color: #3A2E24; color: #EFE7D6; }
.countdown-demo-section .countdown-demo-title,
.countdown-demo-section .countdown-demo-num { color: #EFE7D6; }
.countdown-demo-section .countdown-demo-label,
.countdown-demo-section .countdown-demo-note { color: #EFE7D6; opacity: 0.7; }

.catalog-section { background-color: #FBF8F2; }

.how-section { background-color: #1C1712; }

.faq-section { background-color: #EFE7D6; }

.contact-section { background-color: #FBF8F2; }


/* ==========================================================================
   ESTÉTICA DE FONDO CONTINUO (PAISAJE FIJO + BLUR PROGRESIVO + VIDRIO)
   ========================================================================== */

:root {
  --p: 0;
}

/* 1. Contenedor fijo del paisaje continuo detrás de toda la web pública */
.public-bg-fixed {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.public-bg-scene {
  position: absolute;
  inset: -14px;
  background: linear-gradient(#5e6b55 0%, #9a9a6c 38%, #c9b98a 52%, #3d4a30 53%, #26301f 100%);
  filter: blur(calc(var(--p, 0) * 5px));
  will-change: filter;
}

.public-bg-fixed .paisaje {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  transform: translateY(calc(var(--p, 0) * -5%));
  will-change: transform;
}

.public-bg-fixed .flores {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(255, 250, 235, 0.95) 0 1.3px, transparent 2px) 0 0/15px 17px,
    radial-gradient(circle, rgba(255, 226, 150, 0.9) 0 1.2px, transparent 2px) 7px 9px/19px 15px;
  -webkit-mask: linear-gradient(transparent, #000 55%);
  mask: linear-gradient(transparent, #000 55%);
  opacity: calc(0.8 - var(--p, 0) * 0.65);
  animation: brisa 9s ease-in-out infinite alternate;
}

.public-bg-fixed .velo {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(rgba(20, 16, 10, 0.45), rgba(20, 16, 10, 0.05) 40%, rgba(20, 16, 10, 0.55));
}

.public-bg-fixed .velo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgb(18, 22, 12);
  opacity: calc(var(--p, 0) * 0.58);
}

@media (prefers-reduced-motion: reduce) {
  .public-bg-fixed .paisaje { transform: none; }
  .public-bg-fixed .flores { animation: none; }
}

/* Secciones transparentes sobre el fondo continuo */
.hero-section.hero-full,
.invited-section,
.countdown-demo-section,
.catalog-section,
.how-section,
.pricing-section,
.reviews-section,
.faq-section,
.contact-section,
.public-footer {
  background: transparent;
  background-color: transparent;
}

.hero-section.hero-full::after {
  display: none;
}

.hero-section.hero-full,
.hero-section.hero-full .eyebrow-text,
.hero-section.hero-full .hero-full-title,
.hero-section.hero-full .hero-full-foot,
.hero-section.hero-full .hero-full-foot span {
  color: #F6F1E6;
}

.hero-section.hero-full .hero-description {
  color: rgba(246, 241, 230, 0.85);
}

/* 2. Barra superior translúcida */
.public-header {
  background-color: rgba(24, 30, 17, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(246, 241, 230, 0.22);
}

.public-header .brand-logo { color: #F6F1E6; }
.public-header .public-nav a { color: rgba(246, 241, 230, 0.84); opacity: 1; }
.public-header .public-nav a:hover { color: #F6F1E6; opacity: 1; }

.public-header .btn-ink {
  background-color: transparent;
  color: #F6F1E6;
  border: 1px solid rgba(246, 241, 230, 0.55);
  box-shadow: none;
}

.public-header .btn-ink:hover {
  background-color: #F6F1E6;
  color: #181E11;
  border-color: #F6F1E6;
}

.public-header.on-dark {
  background-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

.public-header.on-dark .brand-logo { color: #F6F1E6; }
.public-header.on-dark .public-nav a { color: rgba(246, 241, 230, 0.88); opacity: 1; }
.public-header.on-dark .public-nav a:hover { color: #F6F1E6; }

.public-header.on-dark .btn-ink {
  background-color: transparent;
  color: #F6F1E6;
  border: 1px solid rgba(246, 241, 230, 0.65);
  box-shadow: none;
}

.public-header.on-dark .btn-ink:hover {
  background-color: #F6F1E6;
  color: #181E11;
  border-color: #F6F1E6;
}

/* Estás invitado + Cuenta regresiva sobre el fondo continuo */
.invited-section {
  border-top: 1px solid rgba(246, 241, 230, 0.22);
  color: #F6F1E6;
}

.invited-section .eyebrow-text { color: rgba(246, 241, 230, 0.72); }
.invited-section .section-title,
.invited-section .invited-title { color: #F6F1E6; }
.invited-section .invited-text { color: rgba(246, 241, 230, 0.82); }
.invited-section .invited-flower { color: #F6F1E6; opacity: 0.28; }

.countdown-demo-section {
  border-top: 1px solid rgba(246, 241, 230, 0.22);
  color: #F6F1E6;
}

.countdown-demo-section .countdown-demo-title,
.countdown-demo-section .countdown-demo-num { color: #F6F1E6; }
.countdown-demo-section .countdown-demo-label,
.countdown-demo-section .countdown-demo-note {
  color: rgba(246, 241, 230, 0.74);
  opacity: 1;
}

/* Categorías de eventos (fotos circulares + textos y flechas en marfil) */
.catalog-section {
  border-top: 1px solid rgba(246, 241, 230, 0.22);
  color: #F6F1E6;
}

.catalog-section .eyebrow-text { color: rgba(246, 241, 230, 0.72); }
.catalog-section .section-title { color: #F6F1E6; }
.catalog-section .section-subtitle { color: rgba(246, 241, 230, 0.8); }

.category-photo-circle {
  border: 1px solid rgba(246, 241, 230, 0.22);
  box-shadow: 0 12px 28px -10px rgba(8, 12, 6, 0.48);
}

.category-card:hover .category-photo-circle {
  border-color: rgba(246, 241, 230, 0.55);
  box-shadow: 0 16px 34px -10px rgba(8, 12, 6, 0.62);
}

.category-label { color: #F6F1E6; }
.category-card:hover .category-label { color: #FFFFFF; }

.cat-arrow {
  background-color: rgba(255, 250, 240, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(246, 241, 230, 0.35);
  color: #F6F1E6;
  box-shadow: none;
}

.cat-arrow:hover {
  background-color: #F6F1E6;
  color: #181E11;
  border-color: #F6F1E6;
}

.catalog-toolbar span {
  color: rgba(246, 241, 230, 0.85) !important;
}

.catalog-section .template-card,
.catalog-section .admin-card {
  background-color: rgba(251, 248, 242, 0.96);
  color: #141414;
  border-color: rgba(246, 241, 230, 0.28);
}

/* 3. "Tres pasos" en vidrio profesional (sin amarillo) */
.how-section {
  border-top: 1px solid rgba(246, 241, 230, 0.22);
  color: #F6F1E6;
}

.how-section h2 {
  color: #F6F1E6 !important;
}

.how-step-card {
  background: rgba(255, 250, 240, 0.06);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(246, 241, 230, 0.22);
  border-radius: 10px;
  box-shadow: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.35s ease,
              background-color 0.35s ease,
              box-shadow 0.35s ease;
}

.how-step-card:hover {
  background: rgba(255, 250, 240, 0.095);
  border-color: rgba(246, 241, 230, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 22px 46px -22px rgba(8, 12, 6, 0.55);
}

.how-step-number {
  color: rgba(246, 241, 230, 0.55);
  opacity: 1;
}

.how-step-title {
  color: #F6F1E6;
}

.how-step-desc {
  color: rgba(246, 241, 230, 0.8);
}

/* 4. Preguntas frecuentes sobre el fondo continuo */
.faq-section {
  border-top: 1px solid rgba(246, 241, 230, 0.22);
  color: #F6F1E6;
}

.faq-section .eyebrow-text { color: rgba(246, 241, 230, 0.72); }
.faq-section .section-title { color: #F6F1E6; }

.faq-editorial-list {
  border-top: 1px solid rgba(246, 241, 230, 0.22);
}

.faq-ed-item {
  border-bottom: 1px solid rgba(246, 241, 230, 0.22);
}

.faq-ed-text {
  color: #F6F1E6;
}

.faq-ed-answer-inner {
  color: rgba(246, 241, 230, 0.8);
}

.faq-ed-icon {
  border: 1px solid #F6F1E6;
  color: #F6F1E6;
  background-color: transparent;
}

.faq-ed-question:hover .faq-ed-icon {
  border-color: #F6F1E6;
  background-color: rgba(246, 241, 230, 0.14);
  color: #F6F1E6;
}

.faq-ed-item.is-open .faq-ed-icon {
  transform: rotate(45deg);
  background-color: #F6F1E6;
  border-color: #F6F1E6;
  color: #2a3320;
}

/* 5. Precios, Reseñas, Contacto y Footer armonizados */
.pricing-section {
  border-top: 1px solid rgba(246, 241, 230, 0.22);
  color: #F6F1E6;
}

.pricing-section .eyebrow-text { color: rgba(246, 241, 230, 0.72); }
.pricing-section .section-title { color: #F6F1E6; }

.pricing-card {
  background: rgba(255, 250, 240, 0.07);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(246, 241, 230, 0.22);
  color: #F6F1E6;
  box-shadow: none;
}

.pricing-card h3,
.pricing-card .pricing-price {
  color: #F6F1E6;
}

.pricing-card .pricing-list li {
  color: rgba(246, 241, 230, 0.86);
}

.pricing-card .btn-dark {
  background-color: rgba(246, 241, 230, 0.14);
  color: #F6F1E6;
  border: 1px solid rgba(246, 241, 230, 0.42);
}

.pricing-card .btn-dark:hover {
  background-color: #F6F1E6;
  color: #181E11;
  border-color: #F6F1E6;
}

.pricing-card.featured {
  background: rgba(251, 248, 242, 0.96);
  color: #1A1F14;
  border: 1px solid #F6F1E6;
  box-shadow: 0 28px 60px -24px rgba(8, 12, 6, 0.55);
}

.pricing-card.featured h3,
.pricing-card.featured .pricing-price {
  color: #1A1F14;
}

.pricing-card.featured .pricing-list li {
  color: #36342F;
}

.pricing-card.featured .btn-white {
  background-color: #1E2516;
  color: #F6F1E6;
  border: 1px solid #1E2516;
}

.pricing-card.featured .btn-white:hover {
  background-color: #11150C;
  color: #FFFFFF;
}

.reviews-section {
  border-top: 1px solid rgba(246, 241, 230, 0.22);
  color: #F6F1E6;
}

.reviews-section .container > div:first-child p {
  color: rgba(246, 241, 230, 0.72) !important;
}

.reviews-section .section-title {
  color: #F6F1E6;
}

.review-card {
  background: rgba(251, 248, 242, 0.94);
  border: 1px solid rgba(246, 241, 230, 0.26);
  color: #1A1F14;
  box-shadow: 0 20px 44px -22px rgba(8, 12, 6, 0.45);
}

.review-quote {
  color: #262420;
}

.contact-section {
  border-top: 1px solid rgba(246, 241, 230, 0.22);
}

.contact-card {
  background-color: rgba(251, 248, 242, 0.96);
  color: #141414;
  border: 1px solid rgba(246, 241, 230, 0.35);
  box-shadow: 0 36px 76px -28px rgba(8, 12, 6, 0.55);
}

.contact-card .eyebrow-text { color: #524E48; }
.contact-card .section-title { color: #141414; }

.public-footer {
  border-top: 1px solid rgba(246, 241, 230, 0.22);
  color: #F6F1E6;
}

.public-footer .brand-logo {
  color: #F6F1E6 !important;
}

.public-footer .footer-links button {
  color: rgba(246, 241, 230, 0.78);
}

.public-footer .footer-links button:hover {
  color: #F6F1E6;
}

/* Barra de derechos de autor en el footer público */
.footer-copyright-bar {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(246, 241, 230, 0.12);
  text-align: center;
}

.footer-copyright-bar p {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: rgba(246, 241, 230, 0.55);
  margin: 0;
  line-height: 1.5;
}

/* Modal Legal de la Web Pública — Glassmorphism Oscuro Editorial */
.legal-modal-card {
  width: 100%;
  max-width: 44rem;
  max-height: 78vh;
  overflow-y: auto;
  border-radius: 1.5rem;
  background: rgba(20, 23, 16, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(246, 241, 230, 0.16);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(246, 241, 230, 0.08);
  color: #F6F1E6;
  padding: 2.25rem 2rem;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: rgba(246, 241, 230, 0.25) transparent;
}

.legal-modal-card::-webkit-scrollbar {
  width: 6px;
}
.legal-modal-card::-webkit-scrollbar-track {
  background: transparent;
}
.legal-modal-card::-webkit-scrollbar-thumb {
  background: rgba(246, 241, 230, 0.25);
  border-radius: 3px;
}

.legal-modal-card .legal-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #CDB88A;
  margin-bottom: 0.35rem;
}

.legal-modal-card .legal-title {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 4vw, 2.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: #F6F1E6;
  margin: 0.25rem 0 1.25rem 0;
}

.legal-modal-card .legal-content {
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(246, 241, 230, 0.82);
}

.legal-modal-card .legal-content h4 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #F6F1E6;
  margin: 1.4rem 0 0.4rem 0;
}

.legal-modal-card .legal-content p {
  margin: 0 0 0.85rem 0;
}

.legal-modal-card .legal-content ul {
  margin: 0.5rem 0 1rem 1.25rem;
  padding: 0;
}

.legal-modal-card .legal-content li {
  margin-bottom: 0.4rem;
}

.legal-modal-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.75rem;
  border-radius: 9999px;
  background: #F6F1E6;
  color: #141710;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid #F6F1E6;
  cursor: pointer;
  transition: all 0.25s ease;
}

.legal-modal-close-btn:hover {
  background: #FFFFFF;
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(246, 241, 230, 0.25);
}

/* ==========================================================================
   AVISO DE COOKIES Y ALMACENAMIENTO LOCAL — GLASSMORPHISM WEB PÚBLICA
   ========================================================================== */

/* Anular banner viejo de index.html para que no interfiera */
#cookie-banner {
  display: none !important;
}

.public-cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 55;
  width: calc(100% - 2.5rem);
  max-width: 44rem;
  pointer-events: auto;
  animation: publicCookieSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.public-cookie-banner.closing {
  opacity: 0;
  transform: translate(-50%, 15px);
  pointer-events: none;
}

@keyframes publicCookieSlideUp {
  0% {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.public-cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.85rem 1.25rem 0.85rem 1.5rem;
  border-radius: 9999px;
  background: rgba(20, 23, 16, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(246, 241, 230, 0.16);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(246, 241, 230, 0.06);
}

.public-cookie-text {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.45;
  color: #F6F1E6;
  letter-spacing: 0.01em;
}

.public-cookie-link {
  background: none;
  border: none;
  padding: 0;
  color: #CDB88A;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  margin-left: 0.35rem;
  transition: color 0.2s ease;
}

.public-cookie-link:hover {
  color: #F6F1E6;
}

.public-cookie-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.25rem;
  border-radius: 9999px;
  background: #F6F1E6;
  color: #141710;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid #F6F1E6;
  cursor: pointer;
  transition: all 0.25s ease;
}

.public-cookie-btn:hover {
  background: #FFFFFF;
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(246, 241, 230, 0.3);
}

@media (max-width: 640px) {
  .public-cookie-banner {
    bottom: 1rem;
    width: calc(100% - 1.5rem);
  }
  .public-cookie-banner-inner {
    border-radius: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 1rem 1.15rem;
    gap: 0.75rem;
  }
  .public-cookie-btn {
    width: 100%;
    padding: 0.6rem 1rem;
  }
}

/* ==========================================================================
   SOPORTE MULTIMEDIA: FONDOS, PORTADA, GALERÍA Y ÁLBUM CON VIDEOS
   ========================================================================== */

.inv-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

.envelope-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

.envelope-overlay > *:not(.envelope-bg-video) {
  position: relative;
  z-index: 1;
}

.hero-cover-sound-btn {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #FAF9F6;
  background: rgba(17, 17, 17, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-cover-sound-btn:hover {
  background: rgba(17, 17, 17, 0.85);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.hero-cover-sound-btn.is-unmuted {
  background: rgba(246, 241, 230, 0.9);
  color: #111111;
  border-color: #FFFFFF;
}

.gallery-item-video {
  position: relative;
  cursor: pointer;
}

.gallery-thumb-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.gallery-video-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FAF9F6;
  pointer-events: none;
  transition: transform 0.25s ease, background 0.25s ease;
}

.gallery-item:hover .gallery-video-badge {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(17, 17, 17, 0.85);
}

.gallery-lightbox-video {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 0.5rem;
  outline: none;
  background: #000;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.album-media-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

/* ==========================================================================
   ÁLBUM QR COLABORATIVO — BOTÓN CTA, VISOR AMPLIADO & DESCARGA
   ========================================================================== */
.inv-card-dark-editorial .btn-dark,
.inv-album-cta-btn {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 3rem;
  padding: 0.9rem 1.8rem !important;
  gap: 0.6rem !important;
  white-space: normal !important;
  line-height: 1.35 !important;
  text-align: center !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.inv-album-cta-btn span {
  white-space: normal;
  line-height: 1.35;
}

.album-card-expand-btn {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: rgba(15, 17, 13, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.album-card-expand-btn:hover {
  background: rgba(15, 17, 13, 0.96);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.08);
}

.album-card-expand-btn:active {
  transform: scale(0.96);
}

.album-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(15, 17, 13, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
  animation: fadeIn 0.22s ease-out;
}

.album-lightbox-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 20;
  background: linear-gradient(180deg, rgba(15, 17, 13, 0.82) 0%, transparent 100%);
  pointer-events: auto;
}

.album-lightbox-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #FAF9F6;
  min-width: 0;
}

.album-lightbox-author {
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.album-lightbox-counter {
  font-size: 0.75rem;
  opacity: 0.8;
  background: rgba(255, 255, 255, 0.14);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.album-lightbox-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.album-lightbox-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  border-radius: 999px;
  height: 2.25rem;
  padding: 0 0.95rem;
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.album-lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}

.album-lightbox-btn:active {
  transform: translateY(0) scale(0.98);
}

.album-lightbox-close {
  width: 2.25rem;
  padding: 0;
  justify-content: center;
}

.album-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FAF9F6;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 15;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.album-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-50%) scale(1.08);
}

.album-lightbox-nav:active {
  transform: translateY(-50%) scale(0.96);
}

.album-lightbox-prev {
  left: 1.5rem;
}

.album-lightbox-next {
  right: 1.5rem;
}

.album-lightbox-stage {
  position: relative;
  max-width: 92vw;
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.album-lightbox-img {
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.2s ease;
}

.album-lightbox-video {
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 0.5rem;
  background: #000000;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  outline: none;
}

@media (max-width: 640px) {
  .album-lightbox-topbar {
    padding: 0.85rem 0.9rem;
  }
  .album-lightbox-actions .album-lightbox-download span {
    display: none;
  }
  .album-lightbox-actions .album-lightbox-download {
    width: 2.25rem;
    padding: 0;
    justify-content: center;
  }
  .album-lightbox-prev {
    left: 0.65rem;
    width: 2.6rem;
    height: 2.6rem;
  }
  .album-lightbox-next {
    right: 0.65rem;
    width: 2.6rem;
    height: 2.6rem;
  }
  .album-lightbox-stage {
    max-width: 96vw;
    max-height: 78vh;
  }
  .album-lightbox-img,
  .album-lightbox-video {
    max-width: 96vw;
    max-height: 78vh;
  }
}

/* ==========================================================================
   ELEMENTOS VISUALES MONOLINE — MARQA ORNAMENTS LAYER
   ========================================================================== */
.marqa-ornaments-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none !important;
  user-select: none !important;
  overflow: hidden;
}

.marqa-ornaments-layer.marqa-ornaments-fondo {
  z-index: 1;
}

.marqa-ornaments-layer.marqa-ornaments-frente {
  z-index: 25;
}

.marqa-ornament-item {
  position: absolute;
  pointer-events: none !important;
  user-select: none !important;
  display: block;
  transform-origin: center center;
  line-height: 0;
}

.marqa-ornament-item svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  pointer-events: none !important;
}

/* En el sobre 3D, asegurar que el cuerpo y solapa del sobre estén entre fondo y frente */
.envelope-stage {
  position: relative;
  z-index: 5;
}

/* ==========================================================================
   EDITOR DE ELEMENTOS VISUALES MONOLINE (CANVA STYLE & INSPECTOR)
   ========================================================================== */

/* Interacción en el celular de vista previa */
.phone-frame .marqa-ornaments-layer {
  pointer-events: none !important;
}

.phone-frame .marqa-ornaments-layer:has(.marqa-ornament-selected),
.phone-frame .marqa-ornaments-layer.has-selected-ornament {
  z-index: 900 !important;
}

.phone-frame .marqa-ornament-item {
  pointer-events: auto !important;
  cursor: grab;
  user-select: none !important;
  transition: outline 0.15s ease;
}

.phone-frame .marqa-ornament-item:hover {
  outline: 1px dashed rgba(197, 168, 105, 0.6);
  outline-offset: 3px;
}

.phone-frame .marqa-ornament-item.marqa-ornament-selected {
  outline: 1.5px dashed #C5A869 !important;
  outline-offset: 4px;
  z-index: 999 !important;
  pointer-events: auto !important;
}

.phone-frame .marqa-ornament-selected .marqa-ornament-handle,
.phone-frame .marqa-ornament-selected .marqa-ornament-delete-btn {
  z-index: 1001 !important;
  pointer-events: auto !important;
}

.phone-frame .marqa-ornament-item:active {
  cursor: grabbing;
}

/* Tirador de Redimensión (esquina inferior derecha) */
.marqa-ornament-handle-resize {
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #C5A869;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  cursor: nwse-resize !important;
  pointer-events: auto !important;
  z-index: 1001;
}

/* Tirador de Rotación (arriba al centro) */
.marqa-ornament-handle-rotate {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #C5A869;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  cursor: grab !important;
  pointer-events: auto !important;
  z-index: 1001;
}

.marqa-ornament-handle-rotate::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 4px;
  width: 2px;
  height: 10px;
  background: #C5A869;
}

/* Botón de Borrado Rápido en la esquina superior derecha */
.marqa-ornament-delete-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #111111;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer !important;
  pointer-events: auto !important;
  z-index: 1002;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  padding: 0;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.marqa-ornament-delete-btn:hover {
  background: #E53E3E;
  transform: scale(1.15);
}

/* Inspector del elemento en el panel izquierdo */
.admin-ornament-inspector {
  background: #FFFFFF;
  border: 1px solid #ECEAE4;
  border-radius: 0.75rem;
  padding: 1rem;
  margin-top: 0.85rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

/* Lista de elementos agregados en el diseño */
.admin-ornaments-added-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.4rem;
  margin-bottom: 0.85rem;
}

.admin-ornament-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  border: 1px solid #E2E0D8;
  background: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.admin-ornament-chip:hover {
  border-color: #C5A869;
  background: #FAF8F3;
}

.admin-ornament-chip.active {
  border-color: #C5A869;
  background: #FAF6ED;
  box-shadow: 0 0 0 1px #C5A869;
}

/* Chips de categoría */
.admin-ornament-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.admin-ornament-cat-pill {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid #E5E5E5;
  background: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 600;
  color: #524E48;
  cursor: pointer;
  transition: all 0.15s ease;
}

.admin-ornament-cat-pill:hover {
  border-color: #111111;
}

.admin-ornament-cat-pill.active {
  background: #111111;
  color: #FFFFFF;
  border-color: #111111;
}

/* Grilla visual de dibujos */
.admin-ornament-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 0.55rem;
  max-height: 290px;
  overflow-y: auto;
  padding: 0.45rem;
  background: #FFFFFF;
  border: 1px solid #ECEAE4;
  border-radius: 0.65rem;
}

.admin-ornament-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.5rem 0.25rem;
  border: 1px solid #EAE8E2;
  border-radius: 8px;
  background: #FAF9F6;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: center;
}

.admin-ornament-card:hover {
  border-color: #C5A869;
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(197, 168, 105, 0.2);
}

.admin-ornament-card svg {
  width: 32px;
  height: 32px;
  stroke: #524E48;
  flex-shrink: 0;
  transition: stroke 0.18s ease;
}

.admin-ornament-card:hover svg {
  stroke: #C5A869;
}

.admin-ornament-card-name {
  font-size: 0.62rem;
  color: #737373;
  line-height: 1.15;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
