:root {
  color: #201d1b;
  background: #fbf8f3;
  font-family: 'Manrope', Arial, Helvetica, sans-serif;
  font-synthesis: none;
  --ivory: #fbf8f3;
  --blush: #f7ebe7;
  --blush-deep: #eed9d4;
  --wine: #943b43;
  --wine-dark: #6f2730;
  --gold: #b99356;
  --ink: #201d1b;
  --muted: #6f6863;
  --line: #e2d4ca;
  /* Cursiva editorial para títulos y nombres destacados. */
  --script: 'Cormorant Garamond', Georgia, serif;
  /* Tipografía serif de apoyo para nombres y piezas editoriales. */
  --text: 'Cormorant Garamond', Georgia, serif;
  /* Lectura, navegación, formularios y datos. */
  --legible: 'Manrope', Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.4rem;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 83% 15%, rgba(238, 217, 212, 0.5), transparent 24rem),
    var(--ivory);
  color: var(--ink);
  font-family: var(--legible);
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.6;
}

button {
  font: inherit;
}

input,
textarea,
select {
  font: inherit;
  font-family: var(--legible);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0;
}

h1,
h2,
h3,
.brand,
.hero-showcase-label strong {
  font-family: var(--script);
  font-style: italic;
}

body.menu-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes content-enter {
    from {
      opacity: 0;
      translate: 0 1.15rem;
    }

    to {
      opacity: 1;
      translate: 0 0;
    }
  }

  main > .hero .hero-copy > *,
  main > .hero > .hero-showcase,
  main > .templates-section > .section-heading,
  main > .templates-section > .template-list-action,
  main > .catalog-templates > .catalog-filter-bar,
  main > .catalog-templates > .page-header > *,
  main > .account-page > .page-header > *,
  main > .custom-design-hero > .custom-design-heading > *,
  main > .template-detail-hero > .template-detail-copy > *,
  main > .template-detail-hero > .template-detail-preview,
  main > .related-templates-section,
  main > .custom-design-hero > .custom-invitation-cta > *,
  main > .templates-section > .template-list > .template-card,
  main > .catalog-templates > .template-list > .template-card {
    animation: content-enter 620ms cubic-bezier(0.22, 0.72, 0.24, 1) backwards;
  }

  main > .hero .hero-copy > *:nth-child(1) {
    animation-delay: 60ms;
  }

  main > .hero .hero-copy > *:nth-child(2) {
    animation-delay: 120ms;
  }

  main > .hero .hero-copy > *:nth-child(3) {
    animation-delay: 180ms;
  }

  main > .hero .hero-copy > *:nth-child(4) {
    animation-delay: 240ms;
  }

  main > .hero .hero-copy > *:nth-child(5) {
    animation-delay: 300ms;
  }

  main > .hero .hero-copy > *:nth-child(6) {
    animation-delay: 360ms;
  }

  main > .hero > .hero-showcase {
    animation-delay: 220ms;
  }

  main > .templates-section > .section-heading {
    animation-delay: 80ms;
  }

  main > .catalog-templates > .catalog-filter-bar {
    animation-delay: 260ms;
  }

  main > .catalog-templates > .page-header > *:nth-child(1),
  main > .account-page > .page-header > *:nth-child(1) {
    animation-delay: 60ms;
  }

  main > .catalog-templates > .page-header > *:nth-child(2),
  main > .account-page > .page-header > *:nth-child(2) {
    animation-delay: 120ms;
  }

  main > .catalog-templates > .page-header > *:nth-child(3),
  main > .account-page > .page-header > *:nth-child(3) {
    animation-delay: 180ms;
  }

  main > .templates-section > .template-list > .template-card:nth-child(1),
  main > .catalog-templates > .template-list > .template-card:nth-child(1) {
    animation-delay: 160ms;
  }

  main > .templates-section > .template-list > .template-card:nth-child(2),
  main > .catalog-templates > .template-list > .template-card:nth-child(2) {
    animation-delay: 220ms;
  }

  main > .templates-section > .template-list > .template-card:nth-child(3),
  main > .catalog-templates > .template-list > .template-card:nth-child(3) {
    animation-delay: 280ms;
  }

  main > .templates-section > .template-list > .template-card:nth-child(4),
  main > .catalog-templates > .template-list > .template-card:nth-child(4) {
    animation-delay: 340ms;
  }

  main > .templates-section > .template-list > .template-card:nth-child(5),
  main > .catalog-templates > .template-list > .template-card:nth-child(5) {
    animation-delay: 400ms;
  }

  main > .templates-section > .template-list > .template-card:nth-child(6),
  main > .catalog-templates > .template-list > .template-card:nth-child(6) {
    animation-delay: 460ms;
  }

  main > .templates-section > .template-list > .template-card:nth-child(7),
  main > .catalog-templates > .template-list > .template-card:nth-child(7) {
    animation-delay: 520ms;
  }

  main > .templates-section > .template-list-action {
    animation-delay: 620ms;
  }

  main > .custom-design-hero > .custom-design-heading > *:nth-child(1) {
    animation-delay: 80ms;
  }

  main > .custom-design-hero > .custom-design-heading > *:nth-child(2) {
    animation-delay: 140ms;
  }

  main > .custom-design-hero > .custom-design-heading > *:nth-child(3) {
    animation-delay: 200ms;
  }

  main > .custom-design-hero > .custom-invitation-cta > .custom-invitation-visual {
    animation-delay: 220ms;
  }

  main > .custom-design-hero > .custom-invitation-cta > .custom-invitation-copy {
    animation-delay: 300ms;
  }

  main > .template-detail-hero > .template-detail-copy > *:nth-child(1) {
    animation-delay: 60ms;
  }

  main > .template-detail-hero > .template-detail-copy > *:nth-child(2) {
    animation-delay: 120ms;
  }

  main > .template-detail-hero > .template-detail-copy > *:nth-child(3) {
    animation-delay: 180ms;
  }

  main > .template-detail-hero > .template-detail-copy > *:nth-child(4) {
    animation-delay: 240ms;
  }

  main > .template-detail-hero > .template-detail-copy > *:nth-child(5) {
    animation-delay: 300ms;
  }

  main > .template-detail-hero > .template-detail-copy > *:nth-child(6) {
    animation-delay: 360ms;
  }

  main > .template-detail-hero > .template-detail-preview {
    animation-delay: 220ms;
  }

  main > .related-templates-section {
    animation-delay: 380ms;
  }
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

.section-shell {
  width: min(76rem, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(185, 147, 86, 0.38);
  background:
    linear-gradient(90deg, rgba(251, 248, 243, 0.97), rgba(251, 248, 243, 0.86)),
    url('/assets/carta-nostra-home-background.webp?v=20260812') center top / cover no-repeat;
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  width: min(88rem, calc(100% - 3rem));
  min-height: 5.4rem;
  margin-inline: auto;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  /* El sello es cuadrado: caja fija, no proporcional al ancho de pantalla.
     56 px dentro de una barra de 86 px deja el aire que la marca necesita. */
  width: 3.5rem;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.brand-logo,
.footer-logo {
  display: block;
  width: 100%;
  height: auto;
}

.primary-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.15rem, 2.4vw, 2.5rem);
}

.primary-navigation a,
.login-link,
.footer-links a {
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
}

.primary-navigation a {
  position: relative;
  white-space: nowrap;
}

.primary-navigation a::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 1px;
  background: var(--wine);
  content: '';
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.primary-navigation a:hover::after,
.primary-navigation a:focus-visible::after {
  transform: scaleX(1);
}

/* La página en la que estás se sostiene sola: el filete queda fijo, no solo
   al pasar el ratón. Sin esto las cuatro secciones se veían idénticas. */
.primary-navigation a[aria-current='page'],
.footer-links a[aria-current='page'] {
  color: var(--wine);
}

.primary-navigation a[aria-current='page']::after {
  background: var(--gold);
  transform: scaleX(1);
}

.header-actions,
.hero-actions,
.template-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-actions {
  justify-content: flex-end;
}

.header-actions .button-small {
  width: 10rem;
  min-width: 10rem;
  padding-inline: 1rem;
  white-space: nowrap;
}

.hero-actions .button {
  min-width: 12.5rem;
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  min-height: 3.65rem;
  padding: 0 1.6rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--wine);
  border-radius: 0.35rem;
  background: var(--wine);
  color: #fffaf6;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: var(--wine-dark);
  background: var(--wine-dark);
  transform: translateY(-2px);
}

.button-small {
  min-height: 3.1rem;
  padding-inline: 1.35rem;
  font-size: 1rem;
}

.button-outline {
  background: transparent;
  color: var(--wine-dark);
}

.button-outline:hover,
.button-outline:focus-visible {
  color: #fffaf6;
}

/* Acciones de WhatsApp: un verde apagado que mantiene el lenguaje editorial
   de Carta Nostra, con el icono oficial para que la acción se entienda de
   inmediato. */
.whatsapp-action {
  gap: 0.55rem;
}

.whatsapp-mark {
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  fill: currentColor;
}

.whatsapp-action-primary {
  border-color: #3f7c61;
  background: #3f7c61;
  color: #fffaf6;
}

.whatsapp-action-primary:hover,
.whatsapp-action-primary:focus-visible {
  border-color: #32684f;
  background: #32684f;
  color: #fffaf6;
}

.whatsapp-action-secondary {
  border-color: #6d947d;
  color: #35634d;
}

.whatsapp-action-secondary:hover,
.whatsapp-action-secondary:focus-visible {
  border-color: #3f7c61;
  background: #3f7c61;
  color: #fffaf6;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--wine);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.hero-copy .eyebrow::after {
  width: 2.4rem;
  height: 1px;
  background: var(--gold);
  content: '';
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: calc(100vh - 5.4rem);
  grid-template-columns: minmax(0, 0.92fr) minmax(30rem, 1.08fr);
  align-items: center;
  gap: clamp(2.25rem, 4.8vw, 5rem);
  padding-block: clamp(3rem, 5.5vw, 5.5rem);
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  background:
    linear-gradient(180deg, rgba(251, 248, 243, 0.08), rgba(251, 248, 243, 0.16)),
    url('/assets/carta-nostra-home-background.webp?v=20260812') center top / cover no-repeat;
  content: '';
  pointer-events: none;
  transform: translateX(-50%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 38rem;
  padding-block: 0.35rem 0.5rem;
}

.hero h1,
.section-heading h2,
.features-section h2,
.custom-card h2 {
  font-family: var(--script);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 14ch;
  margin: 0.95rem 0 0;
  color: #3d2926;
  font-size: clamp(3.2rem, 4.3vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
}

.hero-summary {
  max-width: 31rem;
  margin: 1.65rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.15vw, 1.18rem);
  line-height: 1.72;
}

.hero-occasions {
  display: flex;
  margin: 1.15rem 0 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
}

.hero-occasions li {
  padding: 0.38rem 0.78rem;
  border: 1px solid rgba(185, 147, 86, 0.45);
  border-radius: 999px;
  color: var(--wine-dark);
  background: rgba(255, 253, 249, 0.7);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-actions {
  margin-top: 1.55rem;
  gap: 0.8rem;
}

.hero-mobile-actions,
.hero-carousel-caption {
  display: none;
}

.hero-actions .button-outline {
  background: #fffdf9;
}

.hero-actions .button-outline:hover,
.hero-actions .button-outline:focus-visible {
  border-color: var(--wine-dark);
  color: var(--wine-dark);
  background: #fffdf9;
}

.hero-steps {
  display: grid;
  margin: 1.9rem 0 0;
  padding: 1.15rem 0 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  border-top: 1px solid rgba(185, 147, 86, 0.38);
  list-style: none;
}

.hero-steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.65rem;
}

.hero-steps em {
  color: var(--gold);
  font-family: var(--text);
  font-size: 1.15rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.15;
}

.hero-steps span {
  display: grid;
  gap: 0.18rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.hero-steps strong {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-showcase {
  position: relative;
  min-height: 40rem;
}

.hero-showcase-label {
  position: absolute;
  z-index: 7;
  top: auto;
  left: 0;
  bottom: 1.3rem;
  margin: 0;
  padding: 0.85rem 1rem 0.95rem;
  border: 1px solid rgba(185, 147, 86, 0.48);
  border-radius: 0.85rem;
  background: rgba(255, 252, 247, 0.97);
  box-shadow: 0 1rem 2rem rgba(74, 38, 37, 0.12);
}

.hero-showcase-label span {
  display: block;
  color: var(--wine);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-showcase-label strong {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--script);
  font-size: 1.42rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* El marco se ajusta a la pantalla; la pantalla conserva la proporción del pantallazo. */
.phone-frame {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 50%;
  width: max-content;
  height: max-content;
  padding: 0.65rem;
  overflow: hidden;
  border: 0.48rem solid #171411;
  border-radius: 3.25rem;
  background: #171411;
  box-shadow: 0 2rem 4rem rgba(79, 42, 40, 0.24);
  transform: translateX(-50%);
}

.phone-frame::after {
  position: absolute;
  inset: 0.65rem;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 2.35rem;
  content: '';
  pointer-events: none;
}

.phone-speaker {
  position: absolute;
  z-index: 4;
  top: 1.05rem;
  left: 50%;
  width: 5.5rem;
  height: 1.45rem;
  border-radius: 999px;
  background: #171411;
  transform: translateX(-50%);
}

.phone-frame .preview-carousel {
  width: 20rem;
  height: auto;
  aspect-ratio: 768 / 1408;
  border-radius: 2.35rem;
  background: #f6f1e7;
}

.preview-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #f6f1e7;
  contain: layout paint;
  isolation: isolate;
}

.preview-slides,
.preview-slide {
  position: absolute;
  inset: 0;
}

.preview-slide {
  margin: 0;
  opacity: 0;
  transform: translate3d(100%, 0, 0);
  transition: transform 560ms cubic-bezier(0.22, 0.72, 0.24, 1);
  pointer-events: none;
}

.preview-slide.is-active {
  z-index: 1;
  opacity: 1;
}

.preview-carousel.is-initializing .preview-slide {
  transition: none;
}

/* Los pantallazos llenan la pantalla completa, como se ven en un teléfono real. */
.preview-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.carousel-control {
  position: absolute;
  z-index: 6;
  top: 50%;
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: #4d0d18;
  background: rgba(255, 253, 249, 0.88);
  box-shadow: 0 0.45rem 1rem rgba(45, 25, 22, 0.14);
  font-family: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  opacity: 0.78;
  transform: translateY(-50%);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
  cursor: pointer;
}

.carousel-control:hover,
.carousel-control:focus-visible {
  background: #fffdf9;
  opacity: 1;
}

.carousel-previous {
  left: 0.55rem;
}

.carousel-next {
  right: 0.55rem;
}

.carousel-dots {
  position: absolute;
  z-index: 6;
  right: 0;
  bottom: 1rem;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 0.42rem;
}

.carousel-dots button {
  width: 0.48rem;
  height: 0.48rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: rgba(77, 13, 24, 0.42);
  box-shadow: 0 0.2rem 0.45rem rgba(42, 25, 22, 0.22);
  transition: width 180ms ease, border-radius 180ms ease, background 180ms ease;
  cursor: pointer;
}

.carousel-dots button.is-active {
  width: 1.35rem;
  border-radius: 999px;
  background: #fffdf9;
}

.invitation-sheet {
  position: absolute;
  top: 5.75rem;
  width: 17rem;
  height: 30rem;
  padding: 3.3rem 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 1.4rem 3rem rgba(92, 52, 48, 0.12);
  text-align: center;
}

.invitation-sheet-light {
  left: 0;
  border: 1px solid rgba(185, 147, 86, 0.45);
  background: #f7e9e4;
  color: var(--wine-dark);
  transform: rotate(-6deg);
}

.invitation-sheet-light::before,
.invitation-sheet-light::after {
  position: absolute;
  width: 6rem;
  height: 8rem;
  border: solid rgba(185, 147, 86, 0.7);
  content: '';
}

.invitation-sheet-light::before {
  top: 1.2rem;
  left: 1.2rem;
  border-width: 1px 0 0 1px;
  border-radius: 5rem 0 0;
}

.invitation-sheet-light::after {
  right: 1.2rem;
  bottom: 1.2rem;
  border-width: 0 1px 1px 0;
  border-radius: 0 0 5rem;
}

.invitation-sheet-light span,
.invitation-sheet-light small {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.invitation-sheet-light strong {
  display: block;
  margin: 1.7rem 0;
  font-family: var(--text);
  font-size: 2.15rem;
  font-weight: 500;
}

.invitation-sheet-wine {
  right: 0;
  background: var(--wine-dark);
  color: #f9eae3;
  transform: rotate(5deg);
  transition: background 700ms ease;
}

/* Las tarjetas decorativas toman el color de la invitación que se está mostrando. */
[data-showcase-theme='mariposas'] .invitation-sheet-wine { background: #6d4d85; }
[data-showcase-theme='olivo'] .invitation-sheet-wine { background: #1e3528; }
[data-showcase-theme='jardin'] .invitation-sheet-wine { background: #71444e; }

.invitation-sheet-light {
  transition: border-color 700ms ease, background 700ms ease, color 700ms ease;
}

[data-showcase-theme='mariposas'] .invitation-sheet-light {
  border-color: rgba(157, 131, 196, 0.5);
  background: #f3ecfa;
  color: #3a2352;
}

[data-showcase-theme='olivo'] .invitation-sheet-light {
  border-color: rgba(93, 111, 69, 0.45);
  background: #f3eee2;
  color: #1e3528;
}

[data-showcase-theme='jardin'] .invitation-sheet-light {
  border-color: rgba(154, 96, 110, 0.45);
  background: #fbf3e8;
  color: #71444e;
}

.invitation-sheet-wine p {
  margin: 6rem 0 2rem;
  font-family: var(--text);
  font-size: 1.65rem;
  line-height: 1.15;
}

.invitation-sheet-wine span {
  color: #d5aa70;
}

.rsvp-preview {
  position: absolute;
  z-index: 7;
  right: 0;
  bottom: 1.3rem;
  display: flex;
  width: 13.2rem;
  min-height: 11.5rem;
  padding: 1.3rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(185, 147, 86, 0.6);
  border-radius: 1rem;
  background: rgba(255, 252, 247, 0.97);
  box-shadow: 0 1.25rem 2.5rem rgba(74, 38, 37, 0.16);
  text-align: center;
}

.rsvp-check {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.8rem;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--wine);
}

.rsvp-preview strong {
  font-family: var(--text);
  color: var(--wine-dark);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.05;
}

.rsvp-preview small {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.showcase-flourish {
  position: absolute;
  right: 0;
  bottom: 5rem;
  color: var(--gold);
  font-size: 3rem;
  transform: rotate(12deg);
}

.features-section {
  padding-block: 6.8rem;
  border-top: 1px solid rgba(185, 147, 86, 0.35);
  background: linear-gradient(180deg, #f8ece8, #fdf9f5);
}

.features-section h2,
.section-heading h2 {
  margin: 0.7rem 0 0;
  font-size: clamp(2.55rem, 4.6vw, 4.3rem);
  line-height: 1;
}

.features-section h2 {
  max-width: 48rem;
}

.feature-grid {
  display: grid;
  margin-top: 3.5rem;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.feature-card {
  min-height: 16rem;
  padding: 2.4rem;
  background: rgba(253, 249, 245, 0.94);
}

.feature-number {
  color: var(--wine);
  font-family: var(--text);
  font-size: 1.05rem;
}

.feature-card h3,
.template-info h3 {
  margin: 2.3rem 0 0.75rem;
  font-family: var(--script);
  font-size: 2rem;
  font-weight: 500;
}

.feature-card p,
.section-heading > p,
.template-info > p,
.custom-card > p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.templates-section {
  padding-block: 8rem;
}

.catalog-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(238, 217, 212, 0.55), transparent 25rem),
    var(--ivory);
}

.catalog-templates {
  padding-top: 0;
}

.catalog-templates .catalog-filter-bar {
  margin-top: clamp(2rem, 4vw, 3rem);
}

/* Encabezado de página: el mismo bloque —antetítulo, título y entrada— en
   Invitaciones, Diseño personalizado y Mi cuenta, para que las tres abran
   igual. Usa la escala de los títulos de sección, un paso por debajo del
   héroe de inicio. */
.page-header {
  max-width: 46rem;
  padding-block: clamp(3rem, 5.5vw, 4.75rem) 0;
}

.page-header h1 {
  max-width: 20ch;
  margin: 0.7rem 0 0;
  font-family: var(--script);
  font-size: clamp(2.55rem, 4.6vw, 4.3rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.page-header > p:not(.eyebrow) {
  max-width: 37rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

/* La introducción de Diseño personalizado necesita el mismo nivel de
   lectura que las descripciones de las invitaciones. */
.custom-design-heading > p:not(.eyebrow) {
  max-width: 40rem;
  font-size: 1.15rem;
  line-height: 1.7;
}

.section-heading {
  display: block;
}

.section-heading-copy {
  max-width: 38rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.catalog-filter-bar {
  position: sticky;
  top: 6.25rem;
  z-index: 30;
  display: grid;
  margin-top: 3.25rem;
  padding: 0.8rem 1.15rem 0.8rem 1.35rem;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1.5rem;
  border: 1px solid rgba(185, 147, 86, 0.34);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.76);
  box-shadow: 0 1rem 2.5rem rgba(74, 44, 38, 0.1);
  backdrop-filter: blur(16px);
}

.catalog-filter-copy {
  display: grid;
  gap: 0.2rem;
}

.catalog-filter-label {
  color: var(--wine-dark);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.catalog-filter-hint,
.catalog-filter-status {
  color: var(--muted);
  font-size: 1.04rem;
}

.catalog-filter-hint {
  white-space: nowrap;
}

.catalog-filter-options {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: var(--blush);
}

.catalog-filter {
  display: inline-flex;
  min-height: 2.35rem;
  padding: 0.45rem 0.85rem;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--wine-dark);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.catalog-filter:hover,
.catalog-filter:focus-visible {
  border-color: rgba(148, 59, 67, 0.35);
  outline: none;
  transform: translateY(-1px);
}

.catalog-filter.is-active {
  background: var(--wine);
  color: #fffaf6;
}

.catalog-filter-count {
  display: inline-grid;
  min-width: 1.25rem;
  height: 1.25rem;
  padding-inline: 0.25rem;
  place-items: center;
  border-radius: 999px;
  background: rgba(148, 59, 67, 0.12);
  font-size: 0.88rem;
}

.catalog-filter.is-active .catalog-filter-count {
  background: rgba(255, 250, 246, 0.18);
}

.catalog-filter-status {
  margin: 0;
  white-space: nowrap;
}

.template-list {
  display: grid;
  margin-top: 4.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 2.25rem;
}

.template-list-action {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.template-list-action .button {
  min-width: 13.5rem;
  gap: 0.65rem;
}

.custom-invitation-cta {
  display: grid;
  margin-top: clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
  grid-template-columns: minmax(0, 1.08fr) minmax(22rem, 0.92fr);
  border: 1px solid rgba(255, 250, 246, 0.1);
  border-radius: 1.5rem;
  color: #fffaf6;
  background:
    radial-gradient(circle at 92% 15%, rgba(185, 147, 86, 0.18), transparent 29rem),
    #2b1e1d;
  box-shadow: 0 2.5rem 6rem rgba(55, 35, 31, 0.17);
}

.custom-invitation-visual {
  position: relative;
  min-height: 34rem;
  overflow: hidden;
  background: #eee4da;
}

.custom-invitation-visual::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  content: '';
  pointer-events: none;
}

.custom-invitation-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.custom-invitation-cta:hover .custom-invitation-visual img {
  transform: scale(1.025);
}

.custom-invitation-copy {
  display: flex;
  padding: clamp(2.75rem, 5vw, 5rem);
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

.custom-invitation-copy .section-kicker {
  color: #dfbd8a;
}

.custom-invitation-copy h2 {
  max-width: 30rem;
  margin: 0.75rem 0 0;
  font-family: var(--script);
  font-size: clamp(2.7rem, 4.5vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.custom-invitation-copy > p:not(.section-kicker) {
  max-width: 31rem;
  margin: 1.35rem 0 0;
  color: rgba(255, 250, 246, 0.74);
  font-size: 1.1rem;
  line-height: 1.7;
}

.custom-invitation-benefits {
  display: flex;
  margin: 1.5rem 0 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
}

.custom-invitation-benefits li {
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 250, 246, 0.16);
  border-radius: 999px;
  color: rgba(255, 250, 246, 0.82);
  background: rgba(255, 255, 255, 0.035);
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: 0.045em;
}

.custom-invitation-whatsapp {
  margin-top: 1.75rem;
  gap: 0.65rem;
  border-color: #fffaf6;
  color: #2b1e1d;
  background: #fffaf6;
}

.custom-invitation-whatsapp .whatsapp-mark {
  width: 1.1rem;
  height: 1.1rem;
  fill: #25845f;
}

.custom-invitation-whatsapp:hover,
.custom-invitation-whatsapp:focus-visible {
  border-color: #dfbd8a;
  color: #2b1e1d;
  background: #dfbd8a;
}

.custom-invitation-copy small {
  margin-top: 0.75rem;
  color: rgba(255, 250, 246, 0.5);
  font-size: 1.04rem;
}

.custom-page {
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.85), transparent 25rem),
    linear-gradient(180deg, #f8f1ec 0%, #fbf8f3 56%, #f4e8e2 100%);
}

.custom-design-hero {
  padding-block: 0 8rem;
}

.custom-page .custom-invitation-cta {
  margin-top: clamp(3.5rem, 7vw, 6.5rem);
}

.template-card {
  /* Acento de identidad (parte el filete del pie) y color del botón: cada
     plantilla los redefine; el vino de la marca es el valor por defecto. */
  --card-accent: var(--wine);
  --card-cta-bg: var(--card-accent);
  --card-cta-ink: #fffaf6;
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: #fffdf9;
  box-shadow: 0 2rem 5rem rgba(74, 44, 38, 0.08);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.template-card:hover {
  box-shadow: 0 2.6rem 6rem rgba(74, 44, 38, 0.14);
  transform: translateY(-0.45rem);
}

.template-preview-stage {
  position: relative;
  display: grid;
  min-height: 32rem;
  padding: 3.5rem 1.5rem 2rem;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.template-preview-stage::before,
.template-preview-stage::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-position: center;
  background-size: cover;
  content: '';
  transition: transform 900ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.template-preview-stage::after {
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.08), rgba(42, 28, 24, 0.12));
}

.template-card:hover .template-preview-stage::before {
  transform: scale(1.045);
}

.template-preview-xv::before {
  background-image: url('/assets/templates/xv-card-scene.webp');
}

.template-preview-wedding::before {
  background-image: url('/assets/templates/wedding-card-scene.webp');
}

.template-preview-palacio::before {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(226, 226, 222, 0.78)),
    repeating-linear-gradient(90deg, transparent 0 2rem, rgba(16, 16, 16, 0.08) 2rem calc(2rem + 1px)),
    #ededeb;
}

.template-preview-palacio::after {
  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,0.7), transparent 15rem),
    linear-gradient(180deg, transparent, rgba(0,0,0,0.12));
}

.template-preview-fantasia::before {
  background-image:
    linear-gradient(180deg, rgba(17, 27, 22, 0.04), rgba(17, 27, 22, 0.38)),
    url('/assets/templates/fantasia-card-scene.webp');
}

.template-preview-lazo::before {
  background:
    linear-gradient(160deg, rgba(244, 248, 254, 0.42), rgba(88, 139, 205, 0.18)),
    url('/assets/templates/lazo-cristal/floral-corner.webp') left bottom / 76% auto no-repeat,
    #b9d2f2;
}

.template-preview-lazo::after {
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.72), transparent 14rem),
    linear-gradient(180deg, transparent, rgba(18, 63, 136, 0.12));
}

.template-preview-vaquera::before {
  background-image:
    linear-gradient(180deg, rgba(109, 57, 45, 0.03), rgba(66, 43, 36, 0.3)),
    url('/assets/templates/vaquera/hero-ranch.webp');
}

.template-preview-vaquera::after {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 250, 243, 0.18), transparent 12rem),
    linear-gradient(180deg, transparent, rgba(66, 43, 36, 0.3));
}

.template-preview-vaquera .preview-open-link { color: #6d392d; }
.template-preview-vaquera .animated-preview-label i { background: #c78c7b; }

.preview-phone {
  /* La proporción se mide por dentro del marco: así el pantallazo se ve
     completo, sin que el borde del teléfono le recorte los costados. */
  position: relative;
  box-sizing: content-box;
  width: min(14.5rem, 76%);
  aspect-ratio: 768 / 1408;
  overflow: hidden;
  border: 0.48rem solid #201d1b;
  border-radius: 2rem;
  background: #fbf8f3;
  box-shadow: 0 1.5rem 3rem rgba(40, 31, 28, 0.28);
  pointer-events: auto;
}

.preview-phone .preview-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fbf8f3;
}

.preview-phone .carousel-control {
  width: 1.65rem;
  height: 1.65rem;
  font-size: 1.1rem;
}

.preview-phone .carousel-previous {
  left: 0.35rem;
}

.preview-phone .carousel-next {
  right: 0.35rem;
}

.preview-phone .carousel-dots {
  bottom: 0.65rem;
}

.preview-phone-speaker {
  position: absolute;
  z-index: 4;
  top: 0.42rem;
  left: 50%;
  width: 3.6rem;
  height: 0.85rem;
  border-radius: 999px;
  background: #201d1b;
  transform: translateX(-50%);
  pointer-events: none;
}

.animated-preview-label {
  position: absolute;
  z-index: 4;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  padding: 0.48rem 0.72rem;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.88);
  color: #514b46;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.animated-preview-label i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #a33d46;
  box-shadow: 0 0 0 rgba(163, 61, 70, 0.35);
  animation: preview-pulse 1.8s infinite;
}

.preview-open-link {
  position: absolute;
  z-index: 5;
  bottom: 1rem;
  left: 1rem;
  display: inline-flex;
  min-height: 2rem;
  padding: 0.48rem 0.72rem;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.92);
  color: var(--wine-dark);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  transition: background 180ms ease, transform 180ms ease;
}

.preview-open-link:hover,
.preview-open-link:focus-visible {
  background: #fffdf9;
  transform: translateY(-0.12rem);
}

.template-preview-noche-martini { background: radial-gradient(ellipse at 50% 24%, #6b1238, #1d0510 80%); }
.template-preview-noche-martini::before { background-image: url('/assets/templates/noche-martini-card-scene.webp'); }
.template-card-noche-martini .template-info { background: #fdeef2; }
.template-card-noche-martini .template-name { color: #4a0d24; }
.template-card-noche-martini .section-kicker { color: #c0186f; }
.template-card-noche-martini .button { background: #d91e7a; color: #fff; }
.template-preview-noche-martini .template-tag { background: #d91e7a; color: #fff; }
.template-preview-noche-martini .preview-open-link { color: #ffd0e4; }
.template-preview-noche-martini .animated-preview-label { color: #ffd0e4; }
.template-preview-noche-martini .animated-preview-label i { background: #ff6fae; }

.template-preview-rosa-azul { background: radial-gradient(ellipse at 50% 30%, #44629c, #1f3050 78%); }
.template-preview-rosa-azul::before { background-image: url('/assets/templates/rosa-azul-card-scene.webp'); }
.template-card-rosa-azul .template-info { background: #fbf5e8; }
.template-card-rosa-azul .template-name { color: #2a3f66; }
.template-card-rosa-azul .section-kicker { color: #3f5a85; }
.template-card-rosa-azul .button { background: #2a3f66; color: #fbf5e8; }
.template-preview-rosa-azul .template-tag { background: #e9d49b; color: #1f3050; }
.template-preview-rosa-azul .preview-open-link { color: #fdf5e4; }
.template-preview-rosa-azul .animated-preview-label { color: #fdf5e4; }
.template-preview-rosa-azul .animated-preview-label i { background: #9fbbe6; }

.template-preview-sello-de-salvia { background: radial-gradient(ellipse at 50% 26%, #f7ecdd, #9fb59a 78%); }
.template-preview-sello-de-salvia::before { background-image: url('/assets/templates/sello-de-salvia-card-scene.webp'); }
.template-card-sello-de-salvia .template-info { background: #fbf8f1; }
.template-card-sello-de-salvia .template-name { color: #2c4536; }
.template-card-sello-de-salvia .section-kicker { color: #8a6528; }
.template-card-sello-de-salvia .button { background: #2c4536; color: #fbf8f1; }
.template-preview-sello-de-salvia .template-tag { background: #c39b4d; color: #fdfbf5; }
.template-preview-sello-de-salvia .preview-open-link { color: #2c4536; }
.template-preview-sello-de-salvia .animated-preview-label { color: #2c4536; }
.template-preview-sello-de-salvia .animated-preview-label i { background: #c39b4d; }

.template-preview-constelacion { background: radial-gradient(ellipse at 50% 22%, #2a3470, #0b1026 78%); }
.template-preview-constelacion::before { background-image: url('/assets/templates/constelacion-card-scene.webp'); }
.template-card-constelacion .template-info { background: #f6f2e9; }
.template-card-constelacion .template-name { color: #1a1f3d; }
.template-card-constelacion .section-kicker { color: #8a6a32; }
.template-card-constelacion .button { background: #1a1f3d; color: #f6f2e9; }
.template-preview-constelacion .template-tag { background: #e3c88f; color: #0b1026; }
.template-preview-constelacion .preview-open-link { color: #f1e2bd; }
.template-preview-constelacion .animated-preview-label { color: #f1e2bd; }
.template-preview-constelacion .animated-preview-label i { background: #e3c88f; }

.template-preview-velo-de-novia { background: radial-gradient(ellipse at 50% 30%, #fbfaf6, #c9d3bb 78%); }
.template-preview-velo-de-novia::before { background-image: url('/assets/templates/velo-de-novia-card-scene.webp'); }
.template-card-velo-de-novia .template-info { background: #fbfaf6; }
.template-card-velo-de-novia .template-name { color: #1e3528; }
.template-card-velo-de-novia .section-kicker { color: #33503b; }
.template-card-velo-de-novia .button { background: #1e3528; color: #fbfaf6; }
.template-preview-velo-de-novia .template-tag { background: #1e3528; color: #fbfaf6; }
.template-preview-velo-de-novia .preview-open-link { color: #1e3528; }
.template-preview-velo-de-novia .animated-preview-label { color: #1e3528; }
.template-preview-velo-de-novia .animated-preview-label i { background: #9bab8a; }

.template-preview-vuelo-de-mariposas { background: radial-gradient(circle at 20% 25%, #f4c6d7, transparent 45%), radial-gradient(circle at 80% 20%, #b5e4ea, transparent 45%), radial-gradient(circle at 60% 85%, #c7b3e5, transparent 50%), #faf6fd; }
.template-preview-vuelo-de-mariposas::before { background-image: url('/assets/templates/vuelo-de-mariposas-card-scene.webp'); }
.template-card-vuelo-de-mariposas .template-info { background: #faf6fd; }
.template-card-vuelo-de-mariposas .template-name { color: #3a2352; }
.template-card-vuelo-de-mariposas .section-kicker { color: #7d5ba6; }
.template-card-vuelo-de-mariposas .button { background: #3a2352; color: #faf6fd; }
.template-preview-vuelo-de-mariposas .template-tag { background: #3a2352; color: #faf6fd; }
.template-preview-vuelo-de-mariposas .preview-open-link { color: #3a2352; }
.template-preview-vuelo-de-mariposas .animated-preview-label { color: #3a2352; }
.template-preview-vuelo-de-mariposas .animated-preview-label i { background: #9d83c4; }

.template-preview-marea { background: linear-gradient(180deg, #7fd3d2 0%, #bfe6e0 26%, #efe3cf 27%, #e2d0b1 100%); }
.template-preview-marea::before { background-image: url('/assets/templates/marea-card-scene.webp'); }
.template-card-marea .template-info { background: #f8f1e4; }
.template-card-marea .template-name { color: #12404a; }
.template-card-marea .section-kicker { color: #2f7f8c; }
.template-card-marea .button { background: #155e6b; color: #f8f1e4; }
.template-preview-marea .template-tag { background: #155e6b; color: #f8f1e4; }
.template-preview-marea .preview-open-link { color: #12404a; }
.template-preview-marea .animated-preview-label { color: #12404a; }
.template-preview-marea .animated-preview-label i { background: #d9735a; }

.template-preview-rama-de-olivo { background: radial-gradient(ellipse at 50% 30%, #f6f3e8, #c9d3bb 75%); }
.template-preview-rama-de-olivo::before { background-image: url('/assets/templates/rama-de-olivo-card-scene.webp'); }
.template-card-rama-de-olivo .template-info { background: #faf7ef; }
.template-card-rama-de-olivo .template-name { color: #1e3528; }
.template-card-rama-de-olivo .section-kicker { color: #5d6f45; }
.template-card-rama-de-olivo .button { background: #1e3528; color: #f3eee2; }
.template-preview-rama-de-olivo .template-tag { background: #1e3528; color: #f3eee2; }
.template-preview-rama-de-olivo .preview-open-link { color: #1e3528; }
.template-preview-rama-de-olivo .animated-preview-label { color: #1e3528; }
.template-preview-rama-de-olivo .animated-preview-label i { background: #5d6f45; }

.template-preview-hilo-de-oro { background: radial-gradient(ellipse at 50% 30%, #25345a, #0d1320 72%); }
.template-preview-hilo-de-oro::before { background-image: url('/assets/templates/hilo-de-oro-card-scene.webp'); }
.template-card-hilo-de-oro .template-info { background: #f8f4ec; }
.template-card-hilo-de-oro .template-name,
.template-card-hilo-de-oro .section-kicker { color: #0d1320; }
.template-card-hilo-de-oro .section-kicker { color: #7a5a24; }
.template-card-hilo-de-oro .button { background: #0d1320; color: #ecd8a6; }
.template-preview-hilo-de-oro .template-tag { background: #c9a45c; color: #0d1320; }
.template-preview-hilo-de-oro .preview-open-link { color: #ecd8a6; }
.template-preview-hilo-de-oro .animated-preview-label { color: #ecd8a6; }
.template-preview-hilo-de-oro .animated-preview-label i { background: #c9a45c; }

.template-preview-jardin-seda { background: radial-gradient(ellipse at top, #fbf3e8, #ddc2bc); }
.template-preview-jardin-seda::before { background-image: url('/assets/templates/jardin-seda-card-scene.webp'); }
.template-card-jardin-seda .template-info { background: #fbf7f0; }
.template-card-jardin-seda .template-name,
.template-card-jardin-seda .section-kicker { color: #71444e; }
.template-card-jardin-seda .button { background: #71444e; color: #fffaf5; }
.template-preview-jardin-seda .preview-open-link { color: #71444e; }
.template-preview-jardin-seda .animated-preview-label i { background: #9a606e; }

.template-preview-wedding .preview-open-link {
  color: #2d5137;
}

.template-preview-wedding .animated-preview-label i {
  background: #4f7854;
}

.template-preview-palacio .preview-open-link { color: #111; }
.template-preview-palacio .animated-preview-label i { background: #111; }

.template-preview-fantasia .preview-open-link {
  color: #33443a;
}

.template-preview-fantasia .animated-preview-label i {
  background: #9b8a62;
}

.template-preview-lazo .preview-open-link { color: #123f88; }
.template-preview-lazo .animated-preview-label i { background: #3975c5; }

.template-card-lazo {
  --card-accent: var(--lazo-royal);
  --card-cta-ink: #f4f8fe;
  --lazo-paper: #eaf2fc;
  --lazo-paper-light: #f4f8fe;
  --lazo-paper-deep: #d9e8f8;
  --lazo-royal: #1d54a5;
  --lazo-navy: #0b2b61;
  border-color: rgba(29, 84, 165, 0.28);
  background: var(--lazo-paper-light);
  box-shadow: 0 2rem 5rem rgba(29, 84, 165, 0.12);
}

.template-card-lazo:hover {
  box-shadow: 0 2.6rem 6rem rgba(29, 84, 165, 0.2);
}

.template-card-lazo .template-preview-stage {
  background: var(--lazo-paper-deep);
}

.template-card-lazo .template-preview-lazo::before {
  background:
    linear-gradient(160deg, rgba(244, 248, 254, 0.38), rgba(105, 153, 219, 0.16)),
    url('/assets/templates/lazo-cristal/floral-corner.webp') left bottom / 76% auto no-repeat,
    var(--lazo-paper-deep);
}

.template-card-lazo .template-preview-lazo::after {
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.64), transparent 14rem),
    linear-gradient(180deg, transparent, rgba(29, 84, 165, 0.1));
}

.template-card-lazo .preview-phone {
  border-color: #163b72;
  background: var(--lazo-paper-light);
  box-shadow: 0 1.5rem 3rem rgba(29, 84, 165, 0.24);
}

.template-card-lazo .preview-phone-speaker {
  background: #163b72;
}

.template-card-lazo .template-tag,
.template-card-lazo .animated-preview-label,
.template-card-lazo .preview-open-link {
  border-color: rgba(29, 84, 165, 0.3);
  background: rgba(244, 248, 254, 0.92);
  color: var(--lazo-navy);
}

.template-card-lazo .template-info {
  background: linear-gradient(180deg, var(--lazo-paper-light), var(--lazo-paper));
  color: #123775;
}

.template-card-lazo .template-info .section-kicker,
.template-card-lazo .template-name {
  color: var(--lazo-navy);
}

/* Identidad cromática de cada tarjeta: el preview y la ficha deben sentirse
   como una misma invitación, incluso antes de abrirla. */
.template-preview-baby::before {
  background:
    linear-gradient(155deg, rgba(247,242,235,0.36), rgba(119,139,121,0.22)),
    url('/assets/proposals/baby-shower-garden/cover-concept.webp') center / cover no-repeat,
    #d8dfd2;
}

.template-preview-baby::after {
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.74), transparent 14rem),
    linear-gradient(180deg, transparent, rgba(57,72,62,0.16));
}

.template-preview-baby .preview-open-link { color: #4e6353; }
.template-preview-baby .animated-preview-label i { background: #d5a49d; }

.template-card-baby {
  --card-accent: var(--baby-accent);
  --card-cta-ink: var(--baby-paper-light);
  --baby-paper: #f7f2eb;
  --baby-paper-light: #fcfaf6;
  --baby-deep: #e9e1d5;
  --baby-accent: #4e6353;
  border-color: rgba(78,99,83,0.28);
  background: var(--baby-paper-light);
  box-shadow: 0 2rem 5rem rgba(78,99,83,0.13);
}

.template-card-baby:hover { box-shadow: 0 2.6rem 6rem rgba(78,99,83,0.22); }
.template-card-baby .template-preview-stage { background: var(--baby-deep); }
.template-card-baby .preview-phone { border-color: #4e6353; background: var(--baby-paper-light); box-shadow: 0 1.5rem 3rem rgba(78,99,83,0.24); }
.template-card-baby .preview-phone-speaker { background: #4e6353; }
.template-card-baby .template-tag,
.template-card-baby .animated-preview-label,
.template-card-baby .preview-open-link { border-color: rgba(78,99,83,0.28); background: rgba(252,250,246,0.92); color: var(--baby-accent); }
.template-card-baby .template-info { background: linear-gradient(180deg, var(--baby-paper-light), var(--baby-paper)); color: #39483e; }
.template-card-baby .template-info .section-kicker,
.template-card-baby .template-name { color: var(--baby-accent); }

/* Mamá canguro: beige, rosado pastel y dorado. */
.template-preview-canguro::before {
  background:
    linear-gradient(155deg, rgba(251,246,239,0.3), rgba(244,204,211,0.32)),
    url('/assets/proposals/mama-canguro/papel.webp') center / cover no-repeat,
    #f4e3dc;
}

.template-preview-canguro::after {
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.7), transparent 14rem),
    linear-gradient(180deg, transparent, rgba(127,68,82,0.12));
}

.template-preview-canguro .preview-open-link { color: #7f4452; }
.template-preview-canguro .animated-preview-label i { background: #c3a06a; }

.template-card-canguro {
  --card-accent: #9c5a68;
  --card-cta-ink: #fffcf7;
  border-color: rgba(156,90,104,0.24);
  background: #fffcf7;
  box-shadow: 0 2rem 5rem rgba(127,68,82,0.12);
}

.template-card-canguro:hover { box-shadow: 0 2.6rem 6rem rgba(127,68,82,0.2); }
.template-card-canguro .template-preview-stage { background: #f4e3dc; }
.template-card-canguro .preview-phone { border-color: #7f4452; background: #fffcf7; box-shadow: 0 1.5rem 3rem rgba(127,68,82,0.22); }
.template-card-canguro .preview-phone-speaker { background: #7f4452; }
.template-card-canguro .template-tag,
.template-card-canguro .animated-preview-label,
.template-card-canguro .preview-open-link { border-color: rgba(156,90,104,0.26); background: rgba(255,252,247,0.92); color: #7f4452; }
.template-card-canguro .template-info { background: linear-gradient(180deg, #fffcf7, #fbf6ef); color: #4a3a2c; }
.template-card-canguro .template-info .section-kicker,
.template-card-canguro .template-name { color: #7f4452; }

/* Granjita rosa: crema, rosados y heno. */
.template-preview-granjita::before {
  background:
    linear-gradient(90deg, rgba(240,160,180,0.16) 50%, transparent 50%) 0 0 / 38px 38px,
    linear-gradient(rgba(240,160,180,0.16) 50%, transparent 50%) 0 0 / 38px 38px,
    #fbe7ea;
}

.template-preview-granjita::after {
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.7), transparent 14rem),
    linear-gradient(180deg, transparent, rgba(154,63,95,0.12));
}

.template-preview-granjita .preview-open-link { color: #9a3f5f; }
.template-preview-granjita .animated-preview-label i { background: #e2bd6e; }

.template-card-granjita {
  --card-accent: #c0587a;
  --card-cta-ink: #fffbf8;
  border-color: rgba(192,88,122,0.24);
  background: #fffbf8;
  box-shadow: 0 2rem 5rem rgba(154,63,95,0.12);
}

.template-card-granjita:hover { box-shadow: 0 2.6rem 6rem rgba(154,63,95,0.2); }
.template-card-granjita .template-preview-stage { background: #fbe7ea; }
.template-card-granjita .preview-phone { border-color: #9a3f5f; background: #fffbf8; box-shadow: 0 1.5rem 3rem rgba(154,63,95,0.22); }
.template-card-granjita .preview-phone-speaker { background: #9a3f5f; }
.template-card-granjita .template-tag,
.template-card-granjita .animated-preview-label,
.template-card-granjita .preview-open-link { border-color: rgba(192,88,122,0.26); background: rgba(255,251,248,0.92); color: #9a3f5f; }
.template-card-granjita .template-info { background: linear-gradient(180deg, #fffbf8, #fdf6f1); color: #5a3f35; }
.template-card-granjita .template-info .section-kicker,
.template-card-granjita .template-name { color: #9a3f5f; }

/* Aventura de Dinosaurios: papel cálido, verdes de exploración y terracota. */
.template-preview-dinosaurios::before {
  background:
    linear-gradient(155deg, rgba(255, 250, 240, 0.2), rgba(53, 83, 59, 0.18)),
    url('/assets/prototypes/dinosaurios/dinosaurios-hero-v2.webp') center / cover no-repeat,
    #dce7d4;
}

.template-preview-dinosaurios::after {
  background: linear-gradient(180deg, transparent, rgba(53, 83, 59, 0.18));
}

.template-card-dinosaurios {
  --card-accent: var(--dino-accent);
  --card-cta-bg: var(--dino-heading);
  --card-cta-ink: var(--dino-light);
  --dino-paper: #f7f0df;
  --dino-light: #fffaf0;
  --dino-deep: #dce7d4;
  --dino-accent: #5d7655;
  --dino-heading: #35533b;
  --dino-secondary: #bd6e4d;
  border-color: rgba(53, 83, 59, 0.28);
  background: var(--dino-light);
  box-shadow: 0 2rem 5rem rgba(53, 83, 59, 0.14);
}

.template-card-dinosaurios:hover { box-shadow: 0 2.6rem 6rem rgba(53, 83, 59, 0.22); }
.template-card-dinosaurios .template-preview-stage { background: var(--dino-deep); }
.template-card-dinosaurios .preview-phone {
  border-color: var(--dino-heading);
  background: var(--dino-light);
  box-shadow: 0 1.5rem 3rem rgba(53, 83, 59, 0.24);
}
.template-card-dinosaurios .preview-phone-speaker { background: var(--dino-heading); }
.template-card-dinosaurios .template-tag,
.template-card-dinosaurios .animated-preview-label,
.template-card-dinosaurios .preview-open-link {
  border-color: rgba(53, 83, 59, 0.28);
  background: rgba(255, 250, 240, 0.92);
  color: var(--dino-heading);
}
.template-card-dinosaurios .animated-preview-label i { background: var(--dino-secondary); }
.template-card-dinosaurios .template-info {
  background: linear-gradient(180deg, var(--dino-light), var(--dino-paper));
  color: var(--dino-heading);
}
.template-card-dinosaurios .template-info .section-kicker,
.template-card-dinosaurios .template-name { color: var(--dino-heading); }

.template-card-sobre-vino {
  --card-accent: var(--sobre-vino-accent);
  --card-cta-ink: var(--sobre-vino-paper-light);
  --sobre-vino-paper: #fbf0ea;
  --sobre-vino-paper-light: #fffaf5;
  --sobre-vino-accent: #943b43;
  --sobre-vino-heading: #6f2730;
  border-color: rgba(148, 59, 67, 0.32);
  background: var(--sobre-vino-paper-light);
  box-shadow: 0 2rem 5rem rgba(111, 39, 48, 0.14);
}

.template-card-sobre-vino:hover {
  box-shadow: 0 2.6rem 6rem rgba(111, 39, 48, 0.24);
}

.template-card-sobre-vino .template-preview-stage {
  background: var(--sobre-vino-paper);
}

.template-card-sobre-vino .template-preview-stage::after {
  background: linear-gradient(180deg, rgba(148, 59, 67, 0.08), rgba(111, 39, 48, 0.2));
}

.template-card-sobre-vino .preview-phone {
  border-color: var(--sobre-vino-heading);
  background: var(--sobre-vino-paper-light);
  box-shadow: 0 1.5rem 3rem rgba(111, 39, 48, 0.24);
}

.template-card-sobre-vino .preview-phone-speaker {
  background: var(--sobre-vino-heading);
}

.template-card-sobre-vino .template-tag,
.template-card-sobre-vino .animated-preview-label,
.template-card-sobre-vino .preview-open-link {
  border-color: rgba(148, 59, 67, 0.28);
  background: rgba(255, 250, 245, 0.94);
  color: var(--sobre-vino-heading);
}

.template-card-sobre-vino .template-info {
  background: linear-gradient(180deg, var(--sobre-vino-paper-light), var(--sobre-vino-paper));
  color: var(--sobre-vino-heading);
}

.template-card-sobre-vino .template-info .section-kicker,
.template-card-sobre-vino .template-name {
  color: var(--sobre-vino-heading);
}

.template-card-vaquera {
  --card-accent: var(--vaquera-accent);
  --card-cta-ink: var(--vaquera-paper-light);
  --vaquera-paper: #f3e8d7;
  --vaquera-paper-light: #fffaf1;
  --vaquera-accent: #a9553f;
  --vaquera-heading: #6d392d;
  border-color: rgba(169, 85, 63, 0.34);
  background: var(--vaquera-paper-light);
  box-shadow: 0 2rem 5rem rgba(66, 43, 36, 0.14);
}

.template-card-vaquera:hover { box-shadow: 0 2.6rem 6rem rgba(66, 43, 36, 0.24); }

.template-card-vaquera .template-preview-stage { background: var(--vaquera-paper); }

.template-card-vaquera .preview-phone {
  border-color: #422b24;
  background: var(--vaquera-paper-light);
  box-shadow: 0 1.5rem 3rem rgba(66, 43, 36, 0.28);
}

.template-card-vaquera .preview-phone-speaker { background: #422b24; }

.template-card-vaquera .template-tag,
.template-card-vaquera .animated-preview-label,
.template-card-vaquera .preview-open-link {
  border-color: rgba(109, 57, 45, 0.28);
  background: rgba(255, 250, 241, 0.94);
  color: var(--vaquera-heading);
}

.template-card-vaquera .template-info { background: linear-gradient(180deg, var(--vaquera-paper-light), var(--vaquera-paper)); color: var(--vaquera-heading); }
.template-card-vaquera .template-info .section-kicker,
.template-card-vaquera .template-name { color: var(--vaquera-heading); }

.template-card-wedding {
  --card-accent: var(--wedding-accent);
  --card-cta-ink: var(--wedding-paper-light);
  --wedding-paper: #e6f0e5;
  --wedding-paper-light: #f9fcf7;
  --wedding-accent: #4f7854;
  --wedding-heading: #2d5137;
  border-color: rgba(79, 120, 84, 0.4);
  background: var(--wedding-paper-light);
  box-shadow: 0 2rem 5rem rgba(45, 81, 55, 0.16);
}

.template-card-wedding:hover {
  box-shadow: 0 2.6rem 6rem rgba(45, 81, 55, 0.26);
}

.template-card-wedding .template-preview-stage {
  background: #d7e6d7;
}

.template-card-wedding .template-preview-stage::after {
  background: linear-gradient(180deg, rgba(79, 120, 84, 0.06), rgba(45, 81, 55, 0.22));
}

.template-card-wedding .preview-phone {
  border-color: var(--wedding-heading);
  background: var(--wedding-paper-light);
  box-shadow: 0 1.5rem 3rem rgba(45, 81, 55, 0.28);
}

.template-card-wedding .preview-phone-speaker {
  background: var(--wedding-heading);
}

.template-card-wedding .template-tag,
.template-card-wedding .animated-preview-label,
.template-card-wedding .preview-open-link {
  border-color: rgba(79, 120, 84, 0.3);
  background: rgba(249, 252, 247, 0.94);
  color: var(--wedding-heading);
}

.template-card-wedding .template-info {
  background: linear-gradient(180deg, var(--wedding-paper-light), var(--wedding-paper));
  color: var(--wedding-heading);
}

.template-card-wedding .template-info .section-kicker,
.template-card-wedding .template-name {
  color: var(--wedding-heading);
}

.template-card-palacio {
  --card-accent: var(--palacio-accent);
  --card-cta-ink: var(--palacio-paper-light);
  --palacio-paper: #ededeb;
  --palacio-paper-light: #ffffff;
  --palacio-accent: #171717;
  border-color: rgba(18, 18, 18, 0.32);
  background: var(--palacio-paper-light);
  box-shadow: 0 2rem 5rem rgba(18, 18, 18, 0.12);
}

.template-card-palacio:hover {
  box-shadow: 0 2.6rem 6rem rgba(18, 18, 18, 0.22);
}

.template-card-palacio .template-preview-stage {
  background: var(--palacio-paper);
}

.template-card-palacio .preview-phone {
  border-color: var(--palacio-accent);
  background: var(--palacio-paper-light);
  box-shadow: 0 1.5rem 3rem rgba(18, 18, 18, 0.2);
}

.template-card-palacio .preview-phone-speaker {
  background: var(--palacio-accent);
}

.template-card-palacio .template-tag,
.template-card-palacio .animated-preview-label,
.template-card-palacio .preview-open-link {
  border-color: rgba(18, 18, 18, 0.24);
  background: rgba(255, 255, 255, 0.94);
  color: var(--palacio-accent);
}

.template-card-palacio .template-info {
  background: linear-gradient(180deg, var(--palacio-paper-light), var(--palacio-paper));
  color: var(--palacio-accent);
}

.template-card-palacio .template-info .section-kicker,
.template-card-palacio .template-name {
  color: var(--palacio-accent);
}

.template-card-fantasia {
  --card-accent: var(--fantasia-accent);
  --card-cta-bg: #1b2921;
  --card-cta-ink: #f4eddd;
  --fantasia-paper: #111b16;
  --fantasia-paper-light: #1b2921;
  --fantasia-accent: #b19c70;
  --fantasia-heading: #d2c5a3;
  border-color: rgba(177, 156, 112, 0.42);
  background: var(--fantasia-paper);
  box-shadow: 0 2rem 5rem rgba(17, 27, 22, 0.25);
}

.template-card-fantasia:hover {
  box-shadow: 0 2.6rem 6rem rgba(17, 27, 22, 0.38);
}

.template-card-fantasia .template-preview-stage {
  background: var(--fantasia-paper);
}

.template-card-fantasia .preview-phone {
  border-color: var(--fantasia-accent);
  background: var(--fantasia-paper-light);
  box-shadow: 0 1.5rem 3rem rgba(17, 27, 22, 0.38);
}

.template-card-fantasia .preview-phone-speaker {
  background: var(--fantasia-paper);
}

.template-card-fantasia .template-tag,
.template-card-fantasia .animated-preview-label,
.template-card-fantasia .preview-open-link {
  border-color: rgba(177, 156, 112, 0.42);
  background: rgba(244, 237, 221, 0.94);
  color: #33443a;
}

.template-card-fantasia .template-info {
  background: linear-gradient(180deg, var(--fantasia-paper-light), var(--fantasia-paper));
  color: #ece6d7;
}

.template-card-fantasia .template-info .section-kicker,
.template-card-fantasia .template-name {
  color: var(--fantasia-heading);
}

.template-card-fantasia .template-features {
  color: rgba(236, 230, 215, 0.78);
}

/* El panel de información mantiene una base común; el escenario y el marco
   del teléfono siguen usando la identidad cromática de cada plantilla. */
.template-card .template-info {
  background: #fffdf9;
}

.template-card-fantasia .template-info .section-kicker {
  color: #9c8350;
}

.template-card-fantasia .template-info .template-name {
  color: #1b2921;
}

.template-card-fantasia .template-info {
  color: #1b2921;
}

.template-card-fantasia .template-price-label {
  color: #6e624b;
  opacity: 1;
}

.template-card-fantasia .template-price strong {
  color: #1b2921;
}

.template-card-fantasia .template-link {
  border-color: #1b2921;
  background: #1b2921;
  color: #f4eddd;
  box-shadow: 0 0.45rem 1rem rgba(27, 41, 33, 0.16);
}

.template-card-fantasia .template-link:hover,
.template-card-fantasia .template-link:focus-visible {
  border-color: #b19c70;
  background: #b19c70;
  color: #1b2921;
}

@keyframes preview-pulse {
  50% {
    box-shadow: 0 0 0 0.38rem rgba(163, 61, 70, 0);
  }
}

.template-art {
  position: relative;
  display: grid;
  min-height: 24rem;
  padding: 2.5rem;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(185, 147, 86, 0.13), transparent 14rem),
    #f2dfdc;
}

.template-tag {
  position: absolute;
  z-index: 4;
  top: 1.5rem;
  left: 1.5rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(111, 39, 48, 0.2);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.75);
  color: var(--wine-dark);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.template-arch {
  position: relative;
  display: flex;
  width: min(14rem, 78%);
  aspect-ratio: 0.68;
  padding: 3rem 1rem 1.5rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 12rem 12rem 1rem 1rem;
  background: #fffaf1;
  color: var(--wine-dark);
  box-shadow: 0 1.5rem 2.8rem rgba(84, 47, 42, 0.13);
  text-align: center;
  transform: rotate(-2.5deg);
}

.template-arch::before {
  position: absolute;
  inset: 0.65rem;
  border: 1px solid rgba(185, 147, 86, 0.45);
  border-radius: 12rem 12rem 0.65rem 0.65rem;
  content: '';
}

.template-arch small,
.template-arch span {
  position: relative;
  z-index: 1;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.template-arch strong {
  position: relative;
  z-index: 1;
  margin: 1.2rem 0;
  font-family: var(--text);
  font-size: 2.25rem;
  font-weight: 500;
}

.template-flower {
  position: absolute;
  color: var(--wine);
  font-size: 2rem;
}

.template-flower-one {
  top: 17%;
  right: 12%;
}

.template-flower-two {
  bottom: 14%;
  left: 12%;
}

.template-art-wedding {
  background:
    radial-gradient(circle at 82% 18%, rgba(182, 148, 94, 0.16), transparent 13rem),
    #d7e6d7;
}

.template-art-wedding .template-tag {
  border-color: rgba(45, 81, 55, 0.24);
  color: #2d5137;
}

.wedding-card-preview {
  position: relative;
  display: flex;
  width: min(14rem, 78%);
  aspect-ratio: 0.7;
  padding: 2.5rem 1rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #b6945e;
  background: #f9fcf7;
  color: #2d5137;
  box-shadow: 0 1.5rem 2.8rem rgba(45, 81, 55, 0.18);
  text-align: center;
  transform: rotate(2deg);
}

.wedding-card-preview::before {
  position: absolute;
  inset: 0.7rem;
  border: 1px solid rgba(79, 120, 84, 0.32);
  content: '';
}

.wedding-card-preview small,
.wedding-card-preview span {
  position: relative;
  z-index: 1;
  font-size: 0.64rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.wedding-card-preview strong {
  position: relative;
  z-index: 1;
  font-family: var(--text);
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 0.95;
}

.wedding-card-preview strong:first-of-type {
  margin-top: 1.3rem;
}

.wedding-card-preview em {
  position: relative;
  z-index: 1;
  margin: 0.1rem 0;
  color: #b6945e;
  font-family: var(--text);
  font-size: 1.7rem;
}

.wedding-card-preview span {
  margin-top: 1.5rem;
}

.wedding-ring {
  position: absolute;
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid #b6945e;
  border-radius: 50%;
}

.wedding-ring-one {
  top: 15%;
  right: 9%;
}

.wedding-ring-two {
  top: 19%;
  right: 15%;
}

.template-card-wedding .section-kicker,
.template-card-wedding .template-features li::before,
.template-card-wedding .text-link {
  color: #4f7854;
}

.template-card-wedding .button {
  background: #4f7854;
}

.template-card-fantasia .section-kicker,
.template-card-fantasia .template-features li::before,
.template-card-fantasia .text-link {
  color: #9e8e67;
}

.template-card-fantasia .button {
  background: var(--fantasia-accent);
  color: var(--fantasia-paper);
}

.template-card-palacio .section-kicker,
.template-card-palacio .template-features li::before,
.template-card-palacio .text-link { color: #171717; }

.template-card-palacio .button { background: #171717; }

.template-card-lazo .section-kicker,
.template-card-lazo .template-features li::before,
.template-card-lazo .text-link { color: #1d54a5; }

.template-card-lazo .button { background: #1d54a5; }

.template-info {
  display: flex;
  padding: 1.5rem;
  flex-direction: column;
  justify-content: center;
}

.template-info h3 {
  margin-top: 0.9rem;
  font-size: clamp(2rem, 2.7vw, 2.8rem);
}

.template-info > p {
  max-width: 35rem;
}

.template-summary {
  max-width: 35rem;
  margin: 0.8rem 0 0;
  color: #625951;
  font-family: var(--legible);
  font-size: 0.94rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.55;
}

.template-price {
  display: flex;
  margin-top: 1rem;
  padding-top: 0.9rem;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}

.template-price-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  opacity: 0.68;
  text-transform: uppercase;
}

.template-price strong {
  font-family: var(--text);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.template-features {
  display: grid;
  margin: 2rem 0 0;
  padding: 0;
  gap: 0.75rem;
  color: #514b46;
  font-size: 1.04rem;
  list-style: none;
}

.template-features li::before {
  margin-right: 0.7rem;
  color: var(--wine);
  content: '✓';
}

.template-actions {
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.template-list .template-info {
  justify-content: flex-start;
  padding-bottom: 1.375rem;
}

/* El nombre reserva dos líneas aunque ocupe una sola: así el filete, la cifra
   y el botón caen en la misma horizontal en toda la rejilla, en vez de
   moverse tarjeta por tarjeta según lo largo que sea el título. */
.template-list .template-name {
  display: flex;
  min-height: 2.3em;
  margin: 0.75rem 0 0;
  align-items: flex-start;
  line-height: 1.15;
  text-wrap: pretty;
}

.template-card-footer {
  display: grid;
  margin-top: auto;
  padding-top: 1.125rem;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.875rem 1rem;
}

/* Filete de oro partido por un tramo del acento de la plantilla: el acento
   aparece una sola vez en la ficha, igual que cierra el aro del sello. */
.template-card-footer::before {
  height: 1px;
  grid-column: 1 / -1;
  background: linear-gradient(
    90deg,
    var(--card-accent) 0 1.375rem,
    color-mix(in srgb, var(--gold) 55%, transparent) 1.375rem
  );
  content: '';
}

.template-list .template-price {
  display: flex;
  margin: 0;
  padding: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  border-top: 0;
}

.template-list .template-price-label {
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  opacity: 0.72;
}

.template-list .template-price strong {
  font-size: 1.95rem;
  line-height: 1;
}

.template-list .template-actions {
  align-items: flex-end;
  flex-direction: row;
  margin-top: 0;
  justify-self: end;
}

.template-list .template-actions .button {
  width: auto;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  gap: 0.5rem;
  border-color: var(--card-cta-bg);
  background: var(--card-cta-bg);
  color: var(--card-cta-ink);
  font-size: 1rem;
}

.template-list .template-actions .button:hover,
.template-list .template-actions .button:focus-visible {
  border-color: color-mix(in srgb, var(--card-cta-bg) 82%, var(--ink));
  background: color-mix(in srgb, var(--card-cta-bg) 82%, var(--ink));
  color: var(--card-cta-ink);
}

.template-card-baby .section-kicker,
.template-card-baby .template-features li::before,
.template-card-baby .text-link { color: #4e6353; }

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 30;
  display: inline-flex;
  width: 2.7rem;
  height: 2.7rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: #fff;
  background: #3f7c61;
  box-shadow: 0 0.75rem 2rem rgba(49, 78, 62, 0.2);
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.whatsapp-float[hidden] {
  display: none;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  color: #fff;
  background: #32684f;
  transform: translateY(-0.15rem);
}

.whatsapp-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-link {
  color: var(--wine-dark);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link span {
  display: inline-block;
  margin-left: 0.35rem;
  transition: transform 180ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translateX(0.3rem);
}

.custom-section {
  padding-block: 2rem 8rem;
}

.custom-card {
  display: grid;
  padding: clamp(3rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr) auto;
  align-items: center;
  gap: 3rem;
  border-radius: 1.25rem;
  background: var(--wine-dark);
  color: #fff9f4;
}

.custom-card .section-kicker {
  color: #dbb77e;
}

.custom-card h2 {
  max-width: 37rem;
  margin: 0.8rem 0 0;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 0.98;
}

.custom-card > p {
  color: #eadeda;
}

.whatsapp-float .whatsapp-mark {
  width: 1.35rem;
  height: 1.35rem;
}

.custom-card .custom-whatsapp-action {
  border-color: transparent;
  background: #dbe7de;
  color: #315a46;
  box-shadow: 0 0.7rem 1.5rem rgba(30, 48, 37, 0.12);
}

.custom-card .custom-whatsapp-action:hover,
.custom-card .custom-whatsapp-action:focus-visible {
  border-color: transparent;
  background: #c9dccf;
  color: #274b3a;
}

.button-light {
  border-color: #fff9f4;
  background: #fff9f4;
  color: var(--wine-dark);
  white-space: nowrap;
}

.button-light:hover,
.button-light:focus-visible {
  border-color: #e9d1c8;
  background: #e9d1c8;
  color: var(--wine-dark);
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding-block: 4.75rem 1.5rem;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(246, 238, 232, 0.97), rgba(246, 238, 232, 0.84)),
    url('/assets/carta-nostra-home-background.webp?v=20260812') right bottom / cover no-repeat,
    #f6eee8;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(18rem, 1.35fr) minmax(8rem, 0.65fr) minmax(16rem, 1fr);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.footer-logo {
  width: 17rem;
}

.footer-brand p,
.footer-contact > p:not(.footer-heading) {
  max-width: 26rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 0.65rem;
}

.footer-heading {
  margin: 0 0 0.75rem;
  color: var(--wine);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-links a {
  width: fit-content;
  color: var(--ink);
  transition: color 180ms ease, transform 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--wine);
  transform: translateX(0.2rem);
}

.footer-contact > p:not(.footer-heading) {
  margin-top: 0;
}

.footer-contact-link {
  display: inline-flex;
  margin-top: 1.2rem;
  align-items: center;
  gap: 0.55rem;
  color: var(--wine-dark);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-contact-link span {
  color: var(--gold);
  font-size: 1.05rem;
  transition: transform 180ms ease;
}

.footer-contact-link:hover span,
.footer-contact-link:focus-visible span {
  transform: translateX(0.25rem);
}

.footer-bottom {
  display: flex;
  padding-top: 1.35rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(185, 147, 86, 0.34);
  color: var(--muted);
}

.footer-bottom p,
.footer-bottom span {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
}

@media (max-width: 72rem) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
  }

  .primary-navigation {
    gap: 1rem;
  }

  .primary-navigation a,
  .login-link {
    font-size: 1rem;
  }

  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(25rem, 1.05fr);
    gap: 2rem;
  }

  .hero-steps {
    gap: 0.7rem;
  }

  .hero-showcase {
    transform: scale(0.88);
  }

  .custom-card {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .custom-card .button {
    width: max-content;
  }

}

@media (max-width: 60rem) {
  html {
    scroll-padding-top: 4.9rem;
  }

  .section-shell,
  .header-inner {
    width: min(100% - 2rem, 76rem);
  }

  .header-inner {
    min-height: 4.9rem;
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }

  .brand {
    width: 2.75rem;
  }

  .menu-toggle {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0.65rem;
    place-content: center;
    gap: 0.26rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle > span:not(.sr-only) {
    width: 1.15rem;
    height: 1px;
    background: var(--ink);
  }

  .primary-navigation {
    position: fixed;
    top: 4.9rem;
    right: 0;
    left: 0;
    display: none;
    padding: 2rem 1rem;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--line);
    background: var(--ivory);
    box-shadow: 0 1rem 2rem rgba(59, 38, 33, 0.08);
  }

  .primary-navigation.open {
    display: flex;
  }

  .primary-navigation a {
    padding: 0.7rem;
    text-align: center;
  }

  .header-actions {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 4rem;
    padding-top: 5rem;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy .eyebrow {
    justify-content: center;
  }

  .hero h1,
  .hero-summary {
    margin-inline: auto;
  }

  .hero-occasions {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-steps {
    width: min(32rem, 100%);
    margin-inline: auto;
    text-align: left;
  }

  .hero-showcase-label {
    display: none;
  }

  .hero-showcase {
    width: min(39rem, 100%);
    margin-inline: auto;
    transform: none;
  }

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

  .feature-card {
    min-height: auto;
  }

  .section-heading,
  .template-card,
  .custom-card,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 1.5rem;
  }

  .catalog-filter-bar {
    position: static;
    border-radius: 1.25rem;
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .catalog-filter-hint {
    white-space: normal;
  }

  .catalog-filter-options {
    width: fit-content;
    max-width: 100%;
    flex-wrap: wrap;
  }

  .catalog-filter-status {
    order: 3;
  }

  .template-art {
    min-height: 31rem;
  }

  .custom-card {
    gap: 1.5rem;
  }

  .custom-invitation-cta {
    grid-template-columns: 1fr;
  }

  .custom-invitation-visual {
    min-height: 27rem;
  }

  .footer-inner {
    align-items: start;
    gap: 2.5rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

}

@media (max-width: 40rem) {
  .hero {
    gap: 0;
    padding-top: 2.35rem;
    padding-bottom: 2.75rem;
  }

  .hero-copy {
    display: contents;
  }

  .hero-copy .eyebrow {
    order: 1;
    gap: 0.65rem;
    font-size: 0.88rem;
    justify-self: center;
  }

  .hero-copy .eyebrow::after {
    width: 1.8rem;
  }

  .template-preview-stage {
    min-height: 30rem;
    padding-inline: clamp(0.75rem, 4vw, 1.5rem);
  }

  .hero h1 {
    order: 2;
    max-width: 100%;
    margin-top: 0.85rem;
    font-size: clamp(1.9rem, 8vw, 2.6rem);
    line-height: 1.04;
  }

  .hero-summary {
    order: 5;
    max-width: 31rem;
    margin-top: 2.2rem;
    font-size: 1.05rem;
    line-height: 1.55;
  }

  .hero-occasions {
    order: 6;
    margin-top: 1rem;
    gap: 0.38rem;
  }

  .hero-occasions li {
    padding: 0.36rem 0.62rem;
    font-size: 0.82rem;
  }

  .template-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-copy > .hero-actions {
    display: none;
  }

  .template-card-footer {
    grid-template-columns: minmax(0, 1fr);
  }

  .template-list .template-actions {
    justify-self: stretch;
  }

  .template-list .template-actions .button {
    width: 100%;
    min-height: 3.45rem;
    padding-inline: 1rem;
    font-size: 1rem;
  }

  .template-actions .button {
    width: 100%;
  }

  .hero-steps {
    order: 7;
    width: 100%;
    margin-top: 1.25rem;
    padding-top: 0.9rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .hero-steps li {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.18rem;
    text-align: center;
  }

  .hero-steps em {
    font-size: 1.05rem;
  }

  .hero-steps span {
    gap: 0.05rem;
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .hero-steps strong {
    font-size: 0.94rem;
  }

  .hero-showcase {
    order: 3;
    width: 100%;
    min-height: 31rem;
    margin-top: 1.45rem;
    transform: none;
  }

  .hero-showcase-label {
    top: 12.2rem;
    bottom: auto;
    display: block;
    width: 9.6rem;
    padding: 0.72rem 0.75rem 0.78rem;
    text-align: left;
  }

  .hero-showcase-label span {
    font-size: 0.58rem;
  }

  .hero-showcase-label strong {
    font-size: 1.05rem;
  }

  .phone-frame {
    right: auto;
    left: 50%;
    padding: 0.48rem;
    border-width: 0.36rem;
    border-radius: 2.45rem;
    transform: translateX(-50%);
  }

  .phone-frame::after {
    inset: 0.48rem;
    border-radius: 1.78rem;
  }

  .phone-speaker {
    top: 0.78rem;
    width: 3.85rem;
    height: 1.02rem;
  }

  .phone-frame .preview-carousel {
    width: min(15rem, 64vw);
    border-radius: 1.78rem;
  }

  .invitation-sheet {
    top: 4.25rem;
    display: block;
    width: 11.5rem;
    height: 22.5rem;
    padding: 2.5rem 1.15rem;
    border-radius: 1.1rem;
    opacity: 0.96;
  }

  .invitation-sheet-light {
    left: -0.35rem;
    transform: rotate(-7deg);
  }

  .invitation-sheet-wine {
    right: -0.35rem;
    transform: rotate(7deg);
  }

  .invitation-sheet-light strong {
    margin-block: 1.2rem;
    font-size: 1.45rem;
  }

  .invitation-sheet-wine p {
    margin-top: 4.5rem;
    font-size: 1.15rem;
  }

  .showcase-flourish {
    display: none;
  }

  .rsvp-preview {
    right: 0;
    bottom: 3.8rem;
    left: auto;
    width: 8.4rem;
    min-height: 7.6rem;
    padding: 0.8rem;
  }

  .rsvp-check {
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.55rem;
    font-size: 0.8rem;
  }

  .rsvp-preview strong {
    font-size: 1.08rem;
  }

  .rsvp-preview small {
    margin-top: 0.45rem;
    font-size: 0.56rem;
  }

  .hero-carousel-caption {
    position: absolute;
    z-index: 6;
    right: 0;
    bottom: 2.2rem;
    left: 0;
    display: block;
    color: rgba(77, 13, 24, 0.78);
    font-family: var(--text);
    font-size: 0.72rem;
    text-align: center;
    text-shadow: 0 1px 0 rgba(255, 253, 249, 0.9);
  }

  .preview-carousel-hero .carousel-dots {
    bottom: 0.75rem;
  }

  .hero-mobile-actions {
    order: 4;
    display: grid;
    width: 100%;
    margin-top: 0.85rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .hero-mobile-actions .button {
    width: 100%;
    min-width: 0;
    min-height: 3.8rem;
    padding-inline: 0.6rem;
    font-size: 1.05rem;
    line-height: 1.2;
  }

  .hero-more-link {
    display: inline-flex;
    min-height: 3.35rem;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border: 1px solid rgba(161, 55, 65, 0.72);
    border-radius: 0.35rem;
    color: var(--wine-dark);
    background: rgba(255, 253, 249, 0.72);
    font-size: 1.04rem;
    font-weight: 700;
    text-decoration: none;
  }

  .hero-more-link span {
    font-size: 1.15rem;
    transition: transform 180ms ease;
  }

  .hero-more-link:hover span,
  .hero-more-link:focus-visible span {
    transform: translateX(0.2rem);
  }

  .features-section,
  .templates-section {
    padding-block: 5.5rem;
  }

  .feature-card,
  .template-info {
    padding: 2rem;
  }

  .template-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .catalog-filter-bar {
    padding: 1rem;
  }

  .catalog-filter-options {
    width: 100%;
  }

  .catalog-filter {
    flex: 1 1 auto;
    justify-content: center;
    padding-inline: 0.55rem;
  }

  .template-art {
    min-height: 27rem;
    padding: 2rem;
  }

  .custom-section {
    padding-bottom: 5rem;
  }

  .custom-invitation-visual {
    min-height: 21rem;
  }

  .custom-invitation-copy {
    padding: 2.25rem 1.5rem 2.5rem;
  }

  .custom-invitation-copy h2 {
    font-size: clamp(2.65rem, 13vw, 3.75rem);
  }

  .custom-invitation-whatsapp {
    width: 100%;
    padding-inline: 0.8rem;
  }
}

/* En tabletas estrechas dos tarjetas dejan el teléfono y sus controles
   demasiado comprimidos. Una columna conserva el encuadre de cada invitación
   y evita que la siguiente tarjeta se asome por el costado. */
@media (min-width: 40.01rem) and (max-width: 52rem) {
  .template-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 23rem) {
  .template-preview-stage {
    min-height: 27rem;
  }

  .preview-phone {
    width: min(12rem, 74%);
  }

  .preview-open-link,
  .animated-preview-label {
    bottom: 0.65rem;
    padding: 0.4rem 0.52rem;
    font-size: 0.5rem;
    letter-spacing: 0.035em;
  }

  .preview-open-link {
    left: 0.65rem;
  }

  .animated-preview-label {
    right: 0.65rem;
  }

  .preview-phone .carousel-control {
    width: 1.85rem;
    height: 1.85rem;
  }

  .whatsapp-float {
    right: 0.75rem;
    bottom: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  .animated-preview-label i {
    animation: none;
  }

  .preview-slide {
    transition-duration: 0.01ms !important;
  }
}

/* Ajuste final de contraste para la tarjeta de XV de cuento: sobre papel
   oscuro, oscurecer el botón al pasar el cursor no se ve, así que aclara. */
.template-card-fantasia .template-actions .button {
  box-shadow: 0 0.45rem 1rem rgba(27, 41, 33, 0.16);
}

.template-card-fantasia .template-actions .button:hover,
.template-card-fantasia .template-actions .button:focus-visible {
  border-color: #b19c70;
  background: #b19c70;
  color: #1b2921;
}

/* Sello de cuenta: cuando hay sesión, el nombre deja de ser un enlace más del
   menú y pasa a leerse como identidad. El aro va en oro porque el vino ya lo
   gasta el botón principal de la barra. */
/* Fuera del flujo para que Inicio / Invitaciones / Diseño no salten al pasar
   de «Mi cuenta» al sello. El ancho lo marca el nombre: una caja fija dejaba
   aire a la derecha de nombres cortos. */
@media (min-width: 60.0625rem) {
  .primary-navigation {
    position: relative;
  }

  .primary-navigation .account-link {
    position: absolute;
    top: 50%;
    right: 0;
    display: inline-flex;
    width: max-content;
    max-width: 10.5rem;
    align-items: center;
    justify-content: flex-start;
    translate: 0 -50%;
  }
}

/* Si ya sabemos el nombre (visita anterior) y el sello aún no se pintó,
   no enseñar «Mi cuenta»: evita el parpadeo al recargar o cambiar de página. */
html.cn-has-account .account-link:not(.is-signed-in) {
  visibility: hidden;
}

.account-link.is-signed-in {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  padding: 0.22rem 0.65rem 0.22rem 0.22rem;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(185, 147, 86, 0.5);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.72);
  transition: border-color 180ms ease, background 180ms ease;
}

.primary-navigation .account-link.is-signed-in::after {
  content: none;
}

.account-link.is-signed-in:hover,
.account-link.is-signed-in:focus-visible {
  border-color: var(--wine);
  background: #fffdf9;
}

.account-mark {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(185, 147, 86, 0.75);
  border-radius: 50%;
  background: #fffdf9;
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1;
}

.account-name {
  min-width: 0;
  overflow: hidden;
  font-family: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.template-preview-vueltas-al-sol{background:#e6d4b3}.template-preview-vueltas-al-sol::before{background-image:url('/assets/templates/vueltas-al-sol/jardin.webp')}.template-card-vueltas-al-sol .template-info{background:#faf2df}.template-card-vueltas-al-sol .template-name{color:#453426}.template-card-vueltas-al-sol .button,.template-preview-vueltas-al-sol .template-tag{background:#655030;color:#fff9eb}

.template-preview-pasaporte-de-vida{background:#173a42}.template-preview-pasaporte-de-vida::before{background-image:url('/assets/templates/pasaporte-de-vida/card-scene.svg')}.template-card-pasaporte-de-vida .template-info{background:#f8efdb}.template-card-pasaporte-de-vida .template-name{color:#173a42}.template-card-pasaporte-de-vida .button,.template-preview-pasaporte-de-vida .template-tag{background:#c9a24a;color:#2b1a06}.template-preview-pasaporte-de-vida .preview-open-link,.template-preview-pasaporte-de-vida .animated-preview-label{color:#f5dc94}.template-preview-pasaporte-de-vida .animated-preview-label i{background:#f5c25b}

.template-preview-noche-para-brillar { background: radial-gradient(ellipse at 50% 30%, #fff7f9, #f1c4d2); }
.template-preview-noche-para-brillar::before { background-image: url('/assets/templates/noche-para-brillar/papeleria.webp?v=20261001-navy-original'); }
.template-card-noche-para-brillar .template-info { background: #fff7f9; }
.template-card-noche-para-brillar .template-name { color: #14244a; }
.template-card-noche-para-brillar .section-kicker { color: #c2507a; }
.template-card-noche-para-brillar .button, .template-preview-noche-para-brillar .template-tag { background: #1b2f5a; color: #fff7f9; }
.template-preview-noche-para-brillar .preview-open-link, .template-preview-noche-para-brillar .animated-preview-label { color: #14244a; }
.template-preview-noche-para-brillar .animated-preview-label i { background: #c2507a; }
