/* =========================================================
   Mi Portal Diamante · estilos de la web
   Colores de marca desde el panel (Identidad y colores): --accent, --accent-deep (botones con texto
   blanco, siempre AA) y --second. De ahí salen el rosa viejo oscuro (--wine) y los brillos.
   Tipografías: Fraunces (títulos, con peso) + Plus Jakarta Sans (texto).
   Rangos: < 750px celular · 750–1099px tablet · ≥ 1100px compu.
   ========================================================= */

:root {
  --ink: #192a3d;              /* azul noche */
  --ink-2: #33475e;
  --muted: #5a6677;
  --cream: #fffaf5;
  --line: rgb(25 42 61 / 0.12);
  --champagne: #f4d9bd;

  --accent: #c17089;
  --accent-deep: #9c5169;
  --on-accent: #111111;
  --second: #6bb6c2;

  --wine: color-mix(in srgb, var(--accent) 40%, #1e0811);     /* rosa viejo oscuro */
  --wine-2: color-mix(in srgb, var(--accent) 62%, #2a0c18);
  --blush: color-mix(in srgb, var(--accent) 12%, #fff9f6);
  --blush-2: color-mix(in srgb, var(--accent) 22%, #fff6f2);
  --glow: color-mix(in srgb, var(--accent) 45%, #ffe0e8);

  --f-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --radius: 26px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sombra: 0 1px 2px rgb(25 42 61 / 0.05), 0 26px 50px -30px rgb(25 42 61 / 0.45);

  /* Firma NS con los colores de esta marca: barra blanca, menú en rosa viejo */
  --ns-accent: var(--accent);
  --ns-on-accent: #fff;
  --ns-bar: #ffffff;
  --ns-text: var(--ink);
  --ns-panel-bg: var(--wine);
  --ns-top-bg: var(--wine);
  --ns-font-display: var(--f-display);
  --ns-font-body: var(--f-body);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
[hidden] { display: none !important; }
.ic { width: 1.2em; height: 1.2em; flex: none; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--texto { width: min(720px, 100% - 2 * var(--gutter)); }
.wrap--medio { width: min(960px, 100% - 2 * var(--gutter)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 18px; border-radius: 999px; background: var(--accent-deep); color: #fff;
}
.skip-link:focus { top: 12px; }

/* =========================================================
   Firma NS: barra blanca, hover en píldora, menú propio
   ========================================================= */
.ns-header { --ns-glass: rgb(255 255 255 / 0.97); }
.ns-header.is-scrolled, .ns-header.is-open { --ns-glass: #fff; }
.ns-menu-btn, .ns-bar { border-color: rgb(255 255 255 / 0.6); box-shadow: 0 18px 40px -22px rgb(30 8 17 / 0.55); }
.ns-menu-btn:hover { color: var(--accent-deep); }

.ns-brand { color: var(--wine); }
.ns-brand span { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
.ns-brand .marca-diamante { width: 30px; height: 30px; color: var(--accent); }
.ns-brand img { max-width: 200px; object-fit: contain; }

/* Menú en línea: píldora en lugar de subrayado */
.ns-nav { gap: 4px; }
.ns-nav a {
  padding: 8px 16px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--ink-2);
  transition: background-color 0.25s, color 0.25s;
}
.ns-nav a::after { display: none; }
.ns-nav a:hover { background: var(--blush-2); color: var(--wine); }
.ns-nav a.is-active { background: var(--wine); color: #fff; }

.ns-cta { background: var(--accent-deep); color: #fff; font-weight: 700; justify-content: center; }
.ns-cta:hover { background: var(--wine); }
/* En celular el botón de WhatsApp es un círculo con el ícono centrado, separado del borde de la píldora */
@media (max-width: 560px) {
  .ns-brand { flex: 0 1 auto; min-width: 0; }
  .ns-brand span { font-size: 1.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ns-cta span { display: none; }
  .ns-cta {
    flex: none; width: calc(var(--ns-bar-h) - 14px); height: calc(var(--ns-bar-h) - 14px);
    padding: 0; margin-right: 0; border-radius: 50%;
  }
  .ns-cta svg { width: 20px; height: 20px; margin: 0; }
  .ns-bar { padding-right: 7px; }
}

/* Menú grande: tarjetas de lugares + temas, lo último y redes, sobre rosa viejo */
.ns-header .menu {
  color: #fff;
  border-color: rgb(255 255 255 / 0.1);
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 60%),
    radial-gradient(80% 80% at 0% 100%, color-mix(in srgb, var(--second) 22%, transparent), transparent 60%),
    var(--wine);
  grid-template-columns: 1.25fr 1fr;
}
.menu__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-content: start; }
.ns-panel .ns-panel__nav .menu__item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border: 1px solid rgb(255 255 255 / 0.14); border-radius: 18px;
  background: rgb(255 255 255 / 0.06);
  font: 500 1rem/1.2 var(--f-body); color: #fff;
  transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease), opacity 0.4s ease, border-color 0.3s;
}
.ns-panel .ns-panel__nav .menu__item:hover { padding-left: 16px; background: #fff; color: var(--wine); transform: translateY(-3px); }
.ns-panel .ns-panel__nav .menu__item[aria-current='page'] { border-color: var(--accent); }
.menu__ic {
  display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(140deg, var(--accent), color-mix(in srgb, var(--second) 70%, var(--accent)));
  color: #fff;
}
.menu__ic .ic { width: 22px; height: 22px; color: #fff; }
.menu__txt { display: grid; gap: 2px; min-width: 0; }
.menu__txt strong { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em; }
.ns-panel .ns-panel__nav .menu__txt small { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; color: var(--champagne); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ns-panel .ns-panel__nav .menu__item:hover .menu__txt small { color: var(--accent-deep); }

.ns-panel__info.menu__lado { align-self: start; gap: 16px; color: #fff; }
.menu__lado .ns-panel__label { color: var(--champagne); }
.menu__temas { display: flex; flex-wrap: wrap; gap: 8px; }
.menu__temas a {
  padding: 6px 14px; border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.2);
  font-size: 0.85rem; font-weight: 600; color: #fff; text-decoration: none; transition: background-color 0.25s, color 0.25s;
}
.menu__temas a:hover { background: #fff; color: var(--wine); }
.ns-panel__info > a.menu__ultima {
  display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 18px;
  background: rgb(0 0 0 / 0.18); color: #fff;
}
.menu__ultima img { width: 64px; height: 64px; flex: none; border-radius: 12px; object-fit: cover; }
.menu__ultima span { display: grid; gap: 2px; }
.menu__ultima small { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--champagne); }
.menu__ultima strong { font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.ns-panel__info > a.menu__ultima:hover { background: rgb(0 0 0 / 0.3); color: #fff; }

/* =========================================================
   Piezas comunes
   ========================================================= */
.titulo {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 4.8vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.titulo--chico { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 56px 0 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-deep);
}
.eyebrow::before { content: ''; width: 10px; height: 10px; transform: rotate(45deg); background: currentColor; border-radius: 2px; }
.bajada { font-size: 1.12rem; color: var(--muted); max-width: 58ch; }
.etiqueta-chica { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }

.cabecera { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 52px); }
.cabecera--centro { justify-items: center; text-align: center; }
.cabecera--centro .bajada { margin-inline: auto; }
.cabecera--fila { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }

.link-flecha { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent-deep); text-decoration: none; }
.link-flecha .ic { transition: transform 0.35s var(--ease); }
.link-flecha:hover .ic { transform: translateX(5px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 12px 30px;
  border: 2px solid transparent; border-radius: 999px;
  background: var(--accent-deep); color: #fff;
  font: 700 1rem/1.2 var(--f-body); letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  max-width: 100%; text-align: center; overflow-wrap: anywhere;
  box-shadow: 0 16px 30px -16px color-mix(in srgb, var(--accent-deep) 90%, transparent);
  transition: transform 0.35s var(--ease), background-color 0.25s, color 0.25s, box-shadow 0.35s var(--ease);
}
.btn:hover { transform: translateY(-3px); background: var(--wine); }
.btn .ic { width: 20px; height: 20px; transition: transform 0.35s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn--linea { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn--linea:hover { background: var(--ink); color: #fff; }
.btn--claro { background: #fff; color: var(--wine); box-shadow: 0 16px 30px -16px rgb(0 0 0 / 0.5); }
.btn--claro:hover { background: var(--champagne); color: var(--wine); }
.btn--linea-claro { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.55); box-shadow: none; }
.btn--linea-claro:hover { background: #fff; color: var(--wine); border-color: #fff; }
.btn--chico { min-height: 46px; padding: 0 22px; font-size: 0.93rem; }
.botones { display: flex; flex-wrap: wrap; gap: 12px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a, .chips button {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff;
  font: 700 0.84rem/1 var(--f-body); color: var(--ink); text-decoration: none; cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.3s var(--ease);
}
.chips a:hover, .chips button:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; transform: translateY(-2px); }
.chips button[aria-pressed='true'] { background: var(--wine); border-color: var(--wine); color: #fff; }
.chips--chicos a { min-height: 30px; padding: 0 12px; font-size: 0.76rem; }

.vacio { padding: 40px; border-radius: var(--radius); background: #fff; color: var(--muted); text-align: center; }
.vacio-grande { display: grid; justify-items: center; gap: 18px; padding: 64px 24px; border-radius: var(--radius); background: #fff; text-align: center; color: var(--muted); }
.vacio-grande > .ic { width: 48px; height: 48px; color: var(--accent); }

/* Brillos de fondo */
.aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora span {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.6;
  animation: flotar 16s ease-in-out infinite alternate;
}
.aurora span:nth-child(1) { width: 50vw; height: 50vw; max-width: 700px; max-height: 700px; top: -20%; right: -10%; background: color-mix(in srgb, var(--accent) 70%, transparent); }
.aurora span:nth-child(2) { width: 40vw; height: 40vw; max-width: 560px; max-height: 560px; bottom: -25%; left: -12%; background: color-mix(in srgb, var(--second) 40%, transparent); animation-delay: -5s; }
.aurora span:nth-child(3) { width: 26vw; height: 26vw; max-width: 380px; max-height: 380px; top: 25%; left: 40%; background: color-mix(in srgb, var(--champagne) 45%, transparent); animation-delay: -10s; }
@keyframes flotar {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(5%, 7%, 0) scale(1.1); }
}
@keyframes girar { to { transform: rotate(360deg); } }
@keyframes titilar { 0%, 100% { opacity: 0.15; transform: scale(0.5); } 50% { opacity: 1; transform: scale(1); } }

/* =========================================================
   Portada: rosa viejo oscuro + diamante animado
   ========================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 1000px);
  display: grid; align-items: center;
  padding-block: clamp(120px, 16vh, 170px) clamp(64px, 9vh, 110px);
  background:
    radial-gradient(90% 70% at 85% 45%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 70%),
    linear-gradient(160deg, var(--wine-2) 0%, var(--wine) 55%, color-mix(in srgb, var(--wine) 80%, #000) 100%);
  color: #fff;
}
.hero .aurora span { opacity: 0.35; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero__txt { display: grid; gap: 28px; justify-items: start; }
.hero .eyebrow { color: var(--champagne); }
.hero__titulo {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(3rem, 6.4vw, 5.9rem); line-height: 0.95; letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero__titulo em {
  display: block; padding-bottom: 0.08em; font-style: italic; font-weight: 600;
  background: linear-gradient(100deg, #ffd3df 0%, var(--champagne) 35%, #fff 50%, var(--champagne) 65%, #ffd3df 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: destello 7s ease-in-out infinite;
}
@keyframes destello { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0% 0; } }
.hero__lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: rgb(255 255 255 / 0.82); max-width: 46ch; }
.hero .btn { background: #fff; color: var(--wine); box-shadow: 0 20px 40px -18px rgb(0 0 0 / 0.6); }
.hero .btn:hover { background: var(--champagne); }
.hero .btn--linea { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.5); box-shadow: none; }
.hero .btn--linea:hover { background: #fff; color: var(--wine); border-color: #fff; }
.hero__arte { position: relative; justify-self: center; width: 100%; max-width: 560px; }
.hero__sello {
  position: absolute; left: -6%; bottom: 10%;
  display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%;
  background: #fff; color: var(--accent-deep); box-shadow: var(--sombra);
}
.hero__sello .ic { width: 44px; height: 44px; }

/* Diamante animado */
.gema { width: 100%; aspect-ratio: 1; filter: drop-shadow(0 40px 60px rgb(10 0 5 / 0.45)); }
.gema svg { width: 100%; height: 100%; overflow: visible; }
.gema svg * { transform-box: view-box; }
.gema__halo { transform-origin: 250px 260px; animation: respirar 6s ease-in-out infinite; }
@keyframes respirar { 50% { transform: scale(1.08); opacity: 0.8; } }
.gema__rayos { transform-origin: 250px 260px; animation: girar 90s linear infinite; }
.gema__rayos path { fill: none; stroke: rgb(255 255 255 / 0.28); stroke-width: 2; stroke-linecap: round; }
.gema__orbita { transform-origin: 250px 260px; animation: girar 32s linear infinite; }
.gema__orbita--2 { animation-duration: 22s; animation-direction: reverse; }
.gema__orbita > circle:first-child { fill: none; stroke: rgb(255 255 255 / 0.22); stroke-width: 1.2; stroke-dasharray: 2 10; }
.gema__estrella { fill: var(--champagne); }
.gema__punto { fill: #fff; }
.gema__piedra { transform-origin: 250px 280px; animation: gema-gira 9s ease-in-out infinite; }
@keyframes gema-gira {
  0%, 100% { transform: translateY(0) scaleX(1); }
  25% { transform: translateY(-10px) scaleX(0.9); }
  50% { transform: translateY(-18px) scaleX(1); }
  75% { transform: translateY(-8px) scaleX(0.93); }
}
.gf { stroke: none; animation: faceta 5s ease-in-out infinite; }
.gf--1 { fill: color-mix(in srgb, var(--accent) 45%, #fff); }
.gf--2 { fill: color-mix(in srgb, var(--accent) 72%, #fff); animation-delay: -1s; }
.gf--3 { fill: #fff4f6; animation-delay: -2s; }
.gf--4 { fill: color-mix(in srgb, var(--accent) 85%, #fff); animation-delay: -3s; }
.gf--5 { fill: color-mix(in srgb, var(--second) 60%, #fff); animation-delay: -4s; }
.gf--6 { fill: var(--accent); animation-delay: -0.5s; }
.gf--7 { fill: color-mix(in srgb, var(--accent) 50%, #fff); animation-delay: -1.5s; }
.gf--8 { fill: color-mix(in srgb, var(--accent) 60%, #3a0f1f); animation-delay: -2.5s; }
.gf--9 { fill: color-mix(in srgb, var(--accent) 32%, #fff); animation-delay: -3.5s; }
.gf--10 { fill: color-mix(in srgb, var(--accent) 75%, #3a0f1f); animation-delay: -4.5s; }
.gf--11 { fill: color-mix(in srgb, var(--second) 70%, var(--accent)); animation-delay: -2.2s; }
@keyframes faceta { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
.gema__lineas polygon, .gema__lineas path { fill: none; stroke: rgb(255 255 255 / 0.8); stroke-width: 1.4; stroke-linejoin: round; }
.gema__barrido { animation: barrido 5.5s ease-in-out infinite; }
@keyframes barrido { 0% { transform: translateX(40px); } 55%, 100% { transform: translateX(660px); } }
.gema__chispas path { fill: #fff; transform-box: fill-box; transform-origin: center; animation: titilar 3s ease-in-out infinite; }
.gema__chispas path:nth-child(2) { animation-delay: -1s; }
.gema__chispas path:nth-child(3) { animation-delay: -2s; }
.gema__particulas circle { fill: var(--champagne); opacity: 0; animation: subir 7s linear infinite; }
.gema__particulas circle:nth-child(2) { animation-delay: -1.2s; }
.gema__particulas circle:nth-child(3) { animation-delay: -2.4s; }
.gema__particulas circle:nth-child(4) { animation-delay: -3.6s; }
.gema__particulas circle:nth-child(5) { animation-delay: -4.8s; }
.gema__particulas circle:nth-child(6) { animation-delay: -6s; }
@keyframes subir { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 0.9; } 100% { transform: translateY(-300px); opacity: 0; } }

/* Arco: la forma de las fotos */
.arco { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 999px 999px 30px 30px; box-shadow: var(--sombra); }
.arco img { width: 100%; height: 100%; object-fit: cover; }
.arco::after { content: ''; position: absolute; inset: 12px; border: 1.5px solid rgb(255 255 255 / 0.6); border-radius: inherit; pointer-events: none; }
.arco--vacio {
  display: grid; place-items: center;
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 80%, white), var(--accent-deep) 50%, var(--wine));
}
.arco--vacio span { font-family: var(--f-display); font-weight: 700; font-style: italic; font-size: clamp(5rem, 12vw, 8.5rem); color: rgb(255 255 255 / 0.92); }

/* Cinta de temas */
.cinta { overflow: hidden; padding-block: 22px; background: var(--ink); color: #fff; }
.cinta__pista { display: flex; width: max-content; animation: deslizar 45s linear infinite; }
.cinta:focus-within .cinta__pista { animation-play-state: paused; }
.cinta__pista { will-change: transform; }
.cinta__lista { display: flex; margin: 0; padding: 0; list-style: none; }
.cinta__lista li { display: flex; align-items: center; gap: 30px; padding-right: 30px; white-space: nowrap; }
.cinta a {
  font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  color: #fff; text-decoration: none; transition: color 0.25s;
}
.cinta a:hover { color: var(--glow); }
.cinta .ic { width: 22px; height: 22px; color: var(--accent); }
@keyframes deslizar { to { transform: translateX(-50%); } }

/* =========================================================
   Secciones
   ========================================================= */
.seccion { position: relative; isolation: isolate; padding-block: clamp(76px, 10vw, 132px); }
.seccion--pegada { padding-top: clamp(36px, 5vw, 60px); }
.seccion--suave { background: var(--blush); }
.seccion--noche { background: linear-gradient(160deg, var(--wine-2), var(--wine)); color: #fff; }
.seccion--noche .titulo { color: #fff; }
.seccion--noche .link-flecha { color: var(--champagne); }
.seccion--noche .chips a { background: transparent; border-color: rgb(255 255 255 / 0.3); color: #fff; }

/* Mi esencia: sin foto. Mandala que gira detrás, título grande, frase y sello; el texto a la derecha */
.esencia { position: relative; isolation: isolate; overflow: hidden; background: var(--cream); }
.mandala {
  position: absolute; z-index: -1; top: 50%; left: 22%;
  width: min(820px, 130vw); aspect-ratio: 1; translate: -50% -50%;
  opacity: 0.55; animation: girar 180s linear infinite;
}
.mandala::before {
  content: ''; position: absolute; inset: 18%; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
}
.mandala svg { position: relative; width: 100%; height: 100%; overflow: visible; }
.mandala svg * { fill: none; stroke: color-mix(in srgb, var(--accent) 55%, transparent); stroke-width: 1.2; }
.mandala .mandala__fino { stroke-width: 0.7; stroke-dasharray: 3 6; }
.mandala .mandala__punto { fill: color-mix(in srgb, var(--accent) 45%, transparent); stroke: none; }
.mandala .mandala__gema { fill: var(--accent); stroke: none; opacity: 0.7; }
.esencia__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.esencia__intro { position: relative; display: grid; gap: 22px; justify-items: start; }
.esencia__intro .titulo { font-size: clamp(3.4rem, 8vw, 6.4rem); line-height: 0.95; }
.esencia__frase {
  max-width: 17ch;
  font-family: var(--f-display); font-style: italic; font-weight: 600;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.15; color: var(--accent-deep);
}
.sello {
  width: 132px; height: 132px; margin-top: 6px;
  animation: girar 24s linear infinite; filter: drop-shadow(0 16px 26px rgb(30 8 17 / 0.3));
}
.sello circle { fill: var(--wine); }
.sello text { fill: var(--champagne); font: 800 12px var(--f-body); letter-spacing: 0.08em; }
.sello__gema { fill: var(--accent); }
.sello__gema-l { fill: none; stroke: #fff; stroke-width: 0.9; stroke-linejoin: round; }
.esencia__txt { position: relative; display: grid; gap: 22px; padding-left: clamp(24px, 3vw, 44px); }
.esencia__txt::before {
  content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), var(--second) 55%, transparent);
}
.esencia__txt > p { font-size: 1.14rem; color: var(--ink-2); max-width: 58ch; }
.esencia__txt > p:first-child { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.35; color: var(--ink); }
.firma-nombre { margin-top: 4px; }
.firma-nombre strong { font-family: var(--f-display); font-style: italic; font-weight: 700; font-size: 2.1rem; line-height: 1.1; color: var(--accent-deep); }

/* Grillas */
.grilla { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.grilla--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grilla--videos { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Tarjeta de entrada */
.tarjeta {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden; background: #fff;
  box-shadow: 0 1px 2px rgb(25 42 61 / 0.05), 0 18px 36px -30px rgb(25 42 61 / 0.4);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.tarjeta:hover { transform: translateY(-8px) rotate(-0.4deg); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--wine) 80%, transparent); }
.tarjeta__img { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--blush-2); }
.tarjeta__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.tarjeta:hover .tarjeta__img img { transform: scale(1.06); }
.tarjeta__sinimg {
  display: grid; place-items: center; width: 100%; height: 100%;
  background:
    radial-gradient(60% 60% at 30% 20%, color-mix(in srgb, var(--champagne) 70%, transparent), transparent 70%),
    linear-gradient(150deg, var(--accent), var(--wine-2));
  color: rgb(255 255 255 / 0.9);
}
.tarjeta__icono { width: 34%; height: 34%; transition: transform 0.9s var(--ease); }
.tarjeta:hover .tarjeta__icono { transform: rotate(-8deg) scale(1.08); }
.tarjeta__cuerpo { display: grid; gap: 10px; align-content: start; flex: 1; padding: 22px 24px 26px; }
.tarjeta__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 0.8rem; font-weight: 500; color: var(--muted); }
.tarjeta__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tarjeta__tags span { padding: 3px 10px; border-radius: 999px; background: var(--blush-2); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.04em; color: var(--wine); }
.tarjeta__titulo { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; line-height: 1.12; letter-spacing: -0.015em; }
.tarjeta__titulo a { text-decoration: none; }
.tarjeta__titulo a::after { content: ''; position: absolute; inset: 0; }
.tarjeta__txt { color: var(--muted); font-size: 0.96rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tarjeta__leer { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-weight: 700; font-size: 0.93rem; color: var(--accent-deep); }
.tarjeta__leer .ic { transition: transform 0.35s var(--ease); }
.tarjeta:hover .tarjeta__leer .ic { transform: translateX(5px); }

/* Nube de etiquetas (clara por defecto; oscura dentro de .temas) */
.temas { background: var(--ink); color: #fff; overflow: hidden; }
.temas .titulo { color: #fff; }
.temas .bajada { color: rgb(255 255 255 / 0.7); }
.temas::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 80% at 100% 50%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%);
}
.temas--chica { padding-block: clamp(60px, 7vw, 92px); }
.temas__grid { display: grid; grid-template-columns: minmax(240px, 0.8fr) 2fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.temas .cabecera { margin: 0; }
.nube { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.nube__tag {
  display: inline-flex; align-items: baseline; gap: 7px;
  padding: 0.45em 1.05em; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font-weight: 700; line-height: 1.2; text-decoration: none;
  transition: transform 0.35s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s;
}
.nube__tag small { font-size: 0.66em; font-weight: 800; opacity: 0.55; }
.nube__tag--1 { font-size: 0.86rem; }
.nube__tag--2 { font-size: 0.96rem; }
.nube__tag--3 { font-size: 1.1rem; }
.nube__tag--4 { font-size: 1.3rem; }
.nube__tag--5 { font-size: 1.55rem; }
.nube__tag--4, .nube__tag--5 { font-family: var(--f-display); font-style: italic; font-weight: 700; }
.nube__tag:hover { transform: translateY(-3px) rotate(-1.5deg); background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.nube__tag.is-actual { background: var(--wine); border-color: var(--wine); color: #fff; }
.temas .nube__tag { background: rgb(255 255 255 / 0.07); border-color: rgb(255 255 255 / 0.18); color: #fff; }
.temas .nube__tag--3 { background: rgb(255 255 255 / 0.14); }
.temas .nube__tag--4 { background: var(--accent-deep); border-color: var(--accent-deep); }
.temas .nube__tag--5 { background: #fff; border-color: #fff; color: var(--wine); }
.temas .nube__tag:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.temas .nube__tag.is-actual { outline: 2px solid var(--champagne); outline-offset: 3px; }
.nube--compacta .nube__tag { font-size: 0.84rem; font-family: var(--f-body); font-style: normal; font-weight: 700; }
.nube--grande { justify-content: center; gap: 14px; }
.nube--grande .nube__tag--1 { font-size: 1rem; }
.nube--grande .nube__tag--2 { font-size: 1.15rem; }
.nube--grande .nube__tag--3 { font-size: 1.4rem; background: var(--blush-2); }
.nube--grande .nube__tag--4 { font-size: 1.8rem; background: var(--accent-deep); color: #fff; border-color: transparent; }
.nube--grande .nube__tag--5 { font-size: 2.3rem; background: var(--wine); color: #fff; border-color: transparent; }

/* Herramientas: la tarjeta se tiñe al pasar */
.herramientas { background: var(--cream); }
.herramientas__lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.herramienta {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; gap: 12px; align-content: start;
  padding: clamp(26px, 3vw, 36px); border-radius: var(--radius);
  background: #fff; box-shadow: 0 18px 36px -32px rgb(25 42 61 / 0.5);
  transition: transform 0.45s var(--ease), color 0.35s, box-shadow 0.45s var(--ease);
}
.herramienta::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(90% 90% at 100% 0%, color-mix(in srgb, var(--accent) 50%, transparent), transparent 70%), var(--wine);
  opacity: 0; transition: opacity 0.4s ease;
}
.herramienta:hover { transform: translateY(-6px); color: #fff; box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--wine) 90%, transparent); }
.herramienta:hover::before { opacity: 1; }
.herramienta__icono {
  display: grid; place-items: center; width: 62px; height: 62px; border-radius: 20px; margin-bottom: 6px;
  background: linear-gradient(140deg, var(--accent), color-mix(in srgb, var(--second) 80%, var(--accent)));
  color: #fff; transform: rotate(-6deg);
  transition: transform 0.5s var(--ease), background 0.35s, color 0.35s;
}
.herramienta:hover .herramienta__icono { transform: rotate(6deg) scale(1.06); background: #fff; color: var(--wine); }
.herramienta__icono .ic { width: 30px; height: 30px; }
.herramienta h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; line-height: 1.08; letter-spacing: -0.02em; }
.herramienta p { color: var(--muted); font-size: 0.97rem; transition: color 0.35s; }
.herramienta:hover p { color: rgb(255 255 255 / 0.82); }
.herramienta .link-flecha { margin-top: 4px; font-size: 0.93rem; transition: color 0.35s; }
.herramienta:hover .link-flecha { color: var(--champagne); }

/* Videos */
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #0c0508; }
.yt__link { position: absolute; inset: 0; display: block; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease), opacity 0.3s; }
.yt__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%;
  background: #fff; color: var(--wine);
  box-shadow: 0 0 0 10px rgb(255 255 255 / 0.22);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.yt__play svg { width: 28px; height: 28px; margin-left: 4px; }
.yt__link:hover img { transform: scale(1.05); opacity: 0.85; }
.yt__link:hover .yt__play { transform: scale(1.1); box-shadow: 0 0 0 18px rgb(255 255 255 / 0.16); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card { display: grid; gap: 14px; align-content: start; scroll-margin-top: 110px; }
.video-card__txt { display: grid; gap: 8px; }
.video-card__titulo { font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; line-height: 1.15; letter-spacing: -0.01em; }
.video-card p { color: var(--muted); font-size: 0.95rem; }
.seccion--noche .video-card p { color: rgb(255 255 255 / 0.72); }
.filtro-temas { margin-bottom: 32px; }
.canal { margin-top: 40px; text-align: center; }

/* E-books */
.ebooks { background: linear-gradient(180deg, var(--blush), color-mix(in srgb, var(--second) 12%, var(--blush))); overflow: hidden; }
.ebook { display: grid; gap: 12px; justify-items: center; align-content: start; text-align: center; }
.ebook__tapa {
  width: min(250px, 80%); aspect-ratio: 2 / 3; margin-bottom: 14px;
  border-radius: 4px 16px 16px 4px; overflow: hidden;
  box-shadow: -8px 0 0 -4px rgb(25 42 61 / 0.2), 0 34px 54px -26px rgb(30 8 17 / 0.65);
  transform: perspective(900px) rotateY(-10deg) rotate(-1deg);
  transition: transform 0.6s var(--ease);
}
.ebook:nth-child(2) .ebook__tapa { transform: perspective(900px) rotateY(-10deg) rotate(1.5deg); }
.ebook:hover .ebook__tapa { transform: perspective(900px) rotateY(0deg) translateY(-10px); }
.ebook__tapa img { width: 100%; height: 100%; object-fit: cover; }
.ebook__tapa-auto {
  display: grid; align-content: center; justify-items: center; gap: 16px; width: 100%; height: 100%; padding: 22px;
  background:
    radial-gradient(70% 50% at 50% 20%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%),
    linear-gradient(165deg, var(--wine-2), var(--wine) 60%, color-mix(in srgb, var(--wine) 70%, #000));
  color: #fff;
}
.ebook__tapa-auto .ic { width: 44px; height: 44px; color: var(--champagne); }
.ebook__tapa-auto strong { font-family: var(--f-display); font-weight: 800; font-size: 1.45rem; line-height: 1.08; }
.ebook__tapa-auto small { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.75; }
.ebook h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.45rem; line-height: 1.1; letter-spacing: -0.015em; max-width: 18ch; }
.ebook p { color: var(--muted); font-size: 0.95rem; max-width: 32ch; }
.ebook .btn { margin-top: 6px; }
.ebook .btn--linea { border-color: var(--accent-deep); color: var(--accent-deep); }
.ebook .btn--linea:hover { background: var(--accent-deep); color: #fff; }

/* Conectemos */
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(86px, 11vw, 140px);
  background: linear-gradient(135deg, var(--accent-deep), var(--wine) 70%);
  color: #fff;
}
.cta .aurora span { opacity: 0.4; }
.cta__caja { display: grid; justify-items: center; gap: 22px; text-align: center; }
.cta__caja > * { max-width: 100%; min-width: 0; }
.cta .titulo { color: #fff; font-size: clamp(3rem, 7vw, 5.4rem); font-style: italic; font-weight: 700; }
.cta .bajada { color: rgb(255 255 255 / 0.85); }
.cta .botones { justify-content: center; margin-top: 8px; }

/* =========================================================
   Páginas internas (encabezado en rosa viejo, como la portada)
   ========================================================= */
.encabezado, .articulo__cabeza {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(140px, 18vh, 190px) clamp(52px, 6vw, 80px);
  background: linear-gradient(160deg, var(--wine-2), var(--wine) 70%);
  color: #fff;
}
.encabezado .aurora span, .articulo__cabeza .aurora span { opacity: 0.35; }
.encabezado .wrap, .articulo__cabeza .wrap { display: grid; gap: 16px; justify-items: start; }
.encabezado .eyebrow { color: var(--champagne); }
.encabezado__titulo { font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 7vw, 5.4rem); line-height: 0.95; letter-spacing: -0.02em; text-wrap: balance; }
.encabezado__bajada { font-size: 1.15rem; color: rgb(255 255 255 / 0.82); max-width: 60ch; }
.encabezado--404 .botones { margin-top: 10px; }
.encabezado .btn { background: #fff; color: var(--wine); }
.encabezado .btn--linea { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.5); }
.migas { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.86rem; font-weight: 600; color: rgb(255 255 255 / 0.7); }
.migas a { color: inherit; text-decoration: none; }
.migas a:hover { color: #fff; text-decoration: underline; }

.blog-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.lateral { position: sticky; top: 104px; }
.lateral__caja { padding: 26px; border-radius: var(--radius); background: #fff; box-shadow: 0 18px 36px -32px rgb(25 42 61 / 0.5); }
.lateral__titulo { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 18px; }
.lateral .nube { gap: 8px; }

.paginas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-top: 48px; }
.paginas__nums { display: flex; gap: 6px; }
.paginas__nums a {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 8px 20px -14px rgb(25 42 61 / 0.4);
}
.paginas__nums a:hover { background: var(--blush-2); color: var(--wine); }
.paginas__nums a[aria-current='page'] { background: var(--wine); color: #fff; }
.paginas__ant, .paginas__sig { color: var(--accent-deep); font-weight: 700; text-decoration: none; }
.paginas__ant:hover, .paginas__sig:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Entrada */
.articulo__cabeza .chips a { background: rgb(255 255 255 / 0.12); border-color: rgb(255 255 255 / 0.25); color: #fff; }
.articulo__cabeza .chips a:hover { background: #fff; color: var(--wine); border-color: #fff; }
.articulo__titulo { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.5rem, 5.6vw, 4.4rem); line-height: 1; letter-spacing: -0.015em; text-wrap: balance; }
.articulo__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 0.92rem; font-weight: 500; color: rgb(255 255 255 / 0.78); }
.articulo__meta > * { display: inline-flex; align-items: center; gap: 6px; }
.articulo__meta > * + *::before { content: ''; width: 6px; height: 6px; margin-right: 12px; transform: rotate(45deg); background: var(--accent); }
.articulo__img { margin-top: clamp(-60px, -5vw, -32px); margin-bottom: clamp(32px, 5vw, 56px); position: relative; z-index: 1; }
.articulo__img img { width: 100%; max-width: 760px; max-height: 80vh; margin-inline: auto; object-fit: contain; border-radius: 28px; box-shadow: var(--sombra); background: #fff; }
.articulo:not(:has(.articulo__img)) .prosa { margin-top: clamp(40px, 5vw, 64px); }

.prosa { font-size: 1.12rem; line-height: 1.85; color: #253447; }
.prosa > * + * { margin-top: 1.15em; }
.prosa > p:first-child::first-letter {
  float: left; margin: 0.06em 0.12em 0 0;
  font-family: var(--f-display); font-weight: 800; font-size: 4.2em; line-height: 0.8; color: var(--accent-deep);
}
.prosa h2, .prosa h3, .prosa h4 { font-family: var(--f-display); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.prosa h2 { font-size: clamp(1.9rem, 3.2vw, 2.4rem); margin-top: 1.8em; }
.prosa h3 { font-size: clamp(1.5rem, 2.4vw, 1.8rem); margin-top: 1.6em; }
.prosa h4 { font-size: 1.35rem; margin-top: 1.4em; }
.prosa a { color: var(--accent-deep); font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.prosa a:hover { text-decoration-color: var(--accent-deep); }
.prosa strong { font-weight: 700; color: var(--ink); }
.prosa ul, .prosa ol { padding-left: 1.3em; }
.prosa li + li { margin-top: 0.4em; }
.prosa li::marker { color: var(--accent-deep); font-weight: 700; }
.prosa blockquote {
  position: relative; margin-block: 2em; padding: 28px 32px; border-radius: 22px;
  background: var(--blush); border-left: 5px solid var(--accent);
  font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 1.4em; line-height: 1.35; color: var(--wine);
}
.prosa blockquote p + p { margin-top: 0.6em; }
.prosa figure { margin-block: 2em; }
.prosa figure img { margin-inline: auto; border-radius: 20px; }
.prosa figcaption { margin-top: 10px; text-align: center; font-size: 0.9rem; color: var(--muted); }
.prosa hr { height: 24px; margin-block: 2.4em; border: 0; text-align: center; }
.prosa hr::after { content: '◆  ◆  ◆'; font-size: 0.75rem; letter-spacing: 0.4em; color: var(--accent); }
.prosa .yt { margin-block: 2em; }
.prosa .tabla { overflow-x: auto; margin-block: 1.8em; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.prosa table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.5; }
.prosa td, .prosa th { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prosa tr:first-child td { font-weight: 700; background: var(--blush); }

.articulo__pie { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; margin-top: 56px; padding-block: 32px; border-top: 2px solid var(--blush-2); }
.compartir__botones { display: flex; gap: 8px; }
.compartir__botones a, .compartir__botones button {
  position: relative; display: grid; place-items: center; width: 46px; height: 46px; padding: 0;
  border: 0; border-radius: 50%; background: var(--blush-2); color: var(--wine); cursor: pointer;
  transition: background-color 0.25s, color 0.25s, transform 0.3s var(--ease);
}
.compartir__botones a:hover, .compartir__botones button:hover { background: var(--wine); color: #fff; transform: translateY(-3px); }
.compartir__ok { position: absolute; top: calc(100% + 6px); left: 50%; translate: -50% 0; font-size: 0.75rem; white-space: nowrap; color: var(--accent-deep); }

.autora { display: flex; align-items: center; gap: 20px; padding: 26px; border-radius: var(--radius); background: var(--wine); color: #fff; }
.autora__foto { width: 88px; height: 88px; flex: none; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent); }
.autora__foto--vacia { display: grid; place-items: center; background: var(--accent-deep); color: #fff; }
.autora__foto--vacia .ic { width: 38px; height: 38px; }
.autora__nombre { font-family: var(--f-display); font-weight: 800; font-size: 1.55rem; line-height: 1.1; }
.autora__rol { color: rgb(255 255 255 / 0.75); font-size: 0.93rem; }
.autora__links { margin-top: 6px; font-size: 0.93rem; font-weight: 600; }
.autora__links a { color: var(--champagne); }

.vecinas { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; margin-bottom: clamp(56px, 8vw, 96px); }
.vecina { display: grid; gap: 4px; padding: 20px 22px; border-radius: 20px; background: #fff; box-shadow: 0 14px 30px -26px rgb(25 42 61 / 0.5); text-decoration: none; transition: transform 0.35s var(--ease), background-color 0.3s, color 0.3s; }
.vecina:hover { transform: translateY(-3px); background: var(--wine); color: #fff; }
.vecina small { font-size: 0.8rem; font-weight: 600; opacity: 0.65; }
.vecina span { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; line-height: 1.15; }
.vecina--sig { grid-column: 2; text-align: right; }

/* Contacto */
.contacto { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.contacto__item { display: grid; gap: 8px; align-content: start; justify-items: start; padding: 30px; border-radius: var(--radius); background: #fff; box-shadow: 0 18px 36px -32px rgb(25 42 61 / 0.5); }
.contacto__item h2 { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; line-height: 1.1; }
.contacto__item p { color: var(--muted); overflow-wrap: anywhere; }
.contacto__item a { color: var(--accent-deep); font-weight: 600; }
.contacto__item--destacado { grid-row: span 2; background: linear-gradient(160deg, var(--accent-deep), var(--wine)); color: #fff; }
.contacto__item--destacado p { color: rgb(255 255 255 / 0.85); font-size: 1.35rem; font-weight: 600; }
.contacto__item--destacado .btn { margin-top: 12px; }
.contacto__icono { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 8px; border-radius: 18px; background: var(--blush-2); color: var(--wine); transform: rotate(-6deg); }
.contacto__item--destacado .contacto__icono { background: #fff; color: var(--wine); }
.contacto__icono .ic { width: 26px; height: 26px; }
.contacto__redes { margin-top: 48px; }

/* Redes */
.redes { display: flex; flex-wrap: wrap; gap: 10px; }
.redes a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgb(255 255 255 / 0.25); color: #fff; transition: border-color 0.25s, background-color 0.25s, transform 0.3s var(--ease);
}
.redes a:hover { border-color: var(--accent); background: var(--accent); transform: translateY(-3px); }
.redes .ic { width: 19px; height: 19px; }
.redes--grandes a {
  display: inline-flex; gap: 10px; width: auto; height: 50px; padding: 0 22px; border-radius: 999px;
  border-color: var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 700;
}
.redes--grandes a:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.ns-panel__info .redes--menu { gap: 8px; margin-top: 4px; }
.ns-panel__info .redes--menu a {
  height: 42px; padding: 0 16px; font-size: 0.86rem;
  background: rgb(255 255 255 / 0.08); border-color: rgb(255 255 255 / 0.2); color: #fff;
}
.ns-panel__info .redes--menu a .ic { color: var(--champagne); }
.ns-panel__info .redes--menu a:hover { background: #fff; color: var(--wine); }
.ns-panel__info .redes--menu a:hover .ic { color: var(--accent-deep); }

/* =========================================================
   Pie
   ========================================================= */
.pie { padding-top: clamp(60px, 8vw, 92px); background: var(--ink); color: rgb(255 255 255 / 0.72); font-size: 0.95rem; }
.pie__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.pie__marca { display: grid; gap: 16px; justify-items: start; }
.pie__marca > p { font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 1.4rem; line-height: 1.3; max-width: 26ch; color: #fff; }
.pie__logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.02em; }
.pie__logo .marca-diamante { width: 32px; height: 32px; color: var(--accent); }
.pie__col { display: grid; gap: 10px; align-content: start; }
.pie__col a, .pie__col p { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.pie__col a:hover { color: #fff; }
.pie__col .ic { color: var(--accent); }
.pie__titulo { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--champagne); margin-bottom: 4px; }
.pie__fin { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px; padding-right: 70px; border-top: 1px solid rgb(255 255 255 / 0.1); font-size: 0.83rem; color: rgb(255 255 255 / 0.5); }

/* Aviso flotante */
.aviso {
  position: fixed; left: max(18px, env(safe-area-inset-left)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 44;
  display: grid; gap: 10px; max-width: min(380px, calc(100vw - 100px));
  padding: 18px 48px 18px 20px; border-radius: 20px; background: var(--wine); color: #fff;
  box-shadow: 0 20px 40px -20px rgb(30 8 17 / 0.6); font-size: 0.95rem;
}
.aviso__link { font-weight: 700; color: var(--champagne); }
.aviso__cerrar {
  position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer;
}
.aviso__cerrar:hover { background: rgb(255 255 255 / 0.12); }

/* Aparición suave al bajar (sitio.js agrega .revelar) */
.js .revelar { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .revelar.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Carrusel (blog del inicio: vistas de 6 = dos filas de 3; e-books: de a 3)
   ========================================================= */
.carrusel { --gap: clamp(18px, 2.4vw, 32px); --cols: 3; position: relative; }
.carrusel__pista {
  display: flex; gap: var(--gap);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  /* Aire para que las tarjetas puedan subir y mostrar sombra sin cortarse */
  padding: 14px 6px 36px; margin: -14px -6px -36px;
}
.carrusel__pista::-webkit-scrollbar { display: none; }
.carrusel__pista:focus-visible { outline-offset: -2px; border-radius: var(--radius); }
.carrusel__vista {
  flex: 0 0 100%; scroll-snap-align: start;
  display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: var(--gap); align-content: start;
}
.carrusel--ebooks .carrusel__vista { max-width: 1040px; margin-inline: auto; gap: clamp(28px, 4vw, 56px); }
.carrusel__ctrl { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 36px; }
.carrusel__btn {
  display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
  border: 0; border-radius: 50%; background: #fff; color: var(--wine); cursor: pointer;
  box-shadow: 0 14px 30px -18px rgb(30 8 17 / 0.6);
  transition: background-color 0.25s, color 0.25s, transform 0.35s var(--ease), opacity 0.25s;
}
.carrusel__btn:hover:not(:disabled) { background: var(--wine); color: #fff; transform: scale(1.06); }
.carrusel__btn:disabled { opacity: 0.35; cursor: default; }
.carrusel__btn .ic { width: 22px; height: 22px; }
.ic--izq { transform: scaleX(-1); }
.carrusel__puntos { display: flex; align-items: center; gap: 8px; }
.carrusel__puntos button {
  width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: color-mix(in srgb, var(--wine) 25%, transparent); transition: width 0.35s var(--ease), background-color 0.25s;
}
.carrusel__puntos button[aria-current='true'] { width: 30px; background: var(--wine); }

/* =========================================================
   Magia
   ========================================================= */

/* Polvo de luz: una capa de lucecitas que flotan por toda la web (lo dibuja sitio.js en un canvas) */
.polvo { position: fixed; inset: 0; z-index: 30; width: 100%; height: 100%; pointer-events: none; }

/* Respirá conmigo: botón del hero */
.respirar-btn {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 4px; padding: 8px 18px 8px 8px;
  border: 1px solid rgb(255 255 255 / 0.22); border-radius: 999px; background: rgb(255 255 255 / 0.06);
  font: 600 0.92rem/1.2 var(--f-body); color: #fff; cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
}
.respirar-btn:hover { background: rgb(255 255 255 / 0.14); border-color: rgb(255 255 255 / 0.4); }
.respirar-btn__orbe {
  position: relative; width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--champagne) 35%, var(--accent) 75%);
  animation: latir 4s ease-in-out infinite;
}
.respirar-btn__orbe::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.35);
  animation: latir 4s ease-in-out infinite reverse;
}
@keyframes latir { 50% { transform: scale(0.82); } }

/* Respirá conmigo: pantalla completa */
.respiro {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center; padding: 24px;
  background:
    radial-gradient(60% 50% at 50% 45%, color-mix(in srgb, var(--accent) 40%, transparent), transparent 70%),
    linear-gradient(160deg, var(--wine-2), var(--wine) 60%, color-mix(in srgb, var(--wine) 70%, #000));
  color: #fff; text-align: center;
  opacity: 0; transition: opacity 0.6s ease;
}
.respiro.is-visible { opacity: 1; }
.respiro__caja { display: grid; justify-items: center; gap: 28px; max-width: 520px; }
.respiro__circulo {
  position: relative; display: grid; place-items: center;
  width: min(300px, 64vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgb(255 255 255 / 0.9), var(--champagne) 30%, var(--accent) 70%, var(--accent-deep));
  box-shadow: 0 0 0 18px rgb(255 255 255 / 0.06), 0 0 0 40px rgb(255 255 255 / 0.04), 0 0 120px 20px color-mix(in srgb, var(--accent) 60%, transparent);
  transform: scale(0.55);
  transition-property: transform; transition-timing-function: ease-in-out;
}
.respiro__circulo .ic { width: 22%; height: 22%; color: #fff; opacity: 0.9; }
.respiro__fase { font-family: var(--f-display); font-weight: 700; font-style: italic; font-size: clamp(2.2rem, 7vw, 3.4rem); line-height: 1; min-height: 1.1em; }
.respiro__nota { color: rgb(255 255 255 / 0.75); font-size: 1rem; }
.respiro__cerrar {
  position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 50px; height: 50px; padding: 0;
  border: 1px solid rgb(255 255 255 / 0.3); border-radius: 50%; background: transparent; color: #fff; cursor: pointer;
}
.respiro__cerrar:hover { background: #fff; color: var(--wine); }
.respiro__cerrar .ic { width: 22px; height: 22px; }
html.respirando { overflow: hidden; }

/* =========================================================
   Tablet
   ========================================================= */
@media (max-width: 1099px) {
  .grilla, .grilla--videos, .herramientas__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* minmax(0, …): la fila de temas que se desliza no puede estirar la página más que la pantalla */
  .blog-grid { grid-template-columns: minmax(0, 1fr); }
  .blog-grid > * { min-width: 0; }
  .lateral { position: static; order: -1; }
  .lateral__caja { padding: 0; background: none; box-shadow: none; }
  .lateral__titulo { font-size: 1.3rem; margin-bottom: 12px; }
  .temas__grid { grid-template-columns: 1fr; }
  .contacto { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pie__grid { grid-template-columns: 1fr 1fr; }
  .pie__marca { grid-column: 1 / -1; }
  .ns-header .menu { grid-template-columns: 1fr; }
  .carrusel--blog { --cols: 2; }
}

/* =========================================================
   Celular
   ========================================================= */
@media (max-width: 749px) {
  body { font-size: 1rem; }
  .hero { min-height: 0; padding-top: 100px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__arte { max-width: 330px; order: -1; margin-bottom: -20px; }
  .hero__arte .arco--hero { max-width: 250px; margin-inline: auto; }
  .hero__sello { width: 66px; height: 66px; left: 4%; }
  .hero__sello .ic { width: 30px; height: 30px; }
  .botones .btn { flex: 1 1 auto; }

  .cinta { padding-block: 16px; }

  .esencia__grid { grid-template-columns: 1fr; }
  .mandala { left: 50%; top: 22%; }
  .sello { width: 100px; height: 100px; }
  .esencia__frase { max-width: 13ch; }

  .grilla, .grilla--2, .grilla--videos, .herramientas__lista { grid-template-columns: 1fr; }
  .cta .botones { width: 100%; }
  .cta .btn { width: 100%; padding-inline: 18px; }
  .cta .btn--linea-claro { font-size: 0.86rem; letter-spacing: 0; }

  /* Carrusel en celular: cada tarjeta se desliza sola y se asoma la siguiente */
  .carrusel__vista { display: contents; }
  .carrusel__pista > .carrusel__vista > * { flex: 0 0 84%; scroll-snap-align: center; }
  .carrusel--ebooks .carrusel__pista > .carrusel__vista > * { flex-basis: 76%; }
  .carrusel__pista { gap: 14px; }
  .tarjeta__img { aspect-ratio: 4 / 3; }

  .contacto { grid-template-columns: 1fr; }
  .contacto__item--destacado { grid-row: auto; }
  .vecinas { grid-template-columns: 1fr; }
  .vecina--sig { grid-column: 1; }
  .autora { flex-direction: column; align-items: flex-start; }
  .articulo__img img { border-radius: 18px; }
  .prosa { font-size: 1.05rem; }
  .prosa blockquote { padding: 20px 22px; font-size: 1.25em; }

  .lateral .nube { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .lateral .nube::-webkit-scrollbar { display: none; }
  .lateral .nube__tag { white-space: nowrap; }

  .menu__nav { gap: 8px; }
  .ns-panel .ns-panel__nav .menu__item { padding: 10px 12px; gap: 10px; }
  .menu__ic { width: 38px; height: 38px; }
  .menu__txt strong { font-size: 1.02rem; overflow-wrap: anywhere; }
  .ns-panel__info > a.menu__ultima { display: none; }

  .pie__grid { grid-template-columns: 1fr; }
  .pie__fin { padding-right: 60px; }
}

@media (hover: none) {
  .tarjeta:hover, .herramienta:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .revelar { opacity: 1; transform: none; }
  .gema__particulas circle { opacity: 0; }
}
