/* Amigos de Trenk — landing de «Zúu, mi amigo de Trenk» */

@font-face { font-family: "Fraunces"; src: url(fonts/fraunces.woff2) format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(fonts/fraunces-italic.woff2) format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(fonts/manrope.woff2) format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }

:root {
	/* Paleta sacada de la portada: la foto de la Asamblea de la ONU */
	--noche: #161a1f;      /* la sala en penumbra */
	--noche-2: #22303b;    /* cúpula */
	--tinta: #121212;      /* texto de la portada */
	--papel: #fbfaf7;      /* blanco de la portada */
	--papel-2: #ebe6da;
	--sol: #e6bd3c;        /* dorado del estrado */
	--sol-2: #e57a36;      /* naranja del mural de la izquierda */
	--madera: #7d5f22;     /* paneles de madera */
	--lila: #6bade5;       /* azul del mural de la derecha */
	--menta: #6bade5;
	--gris: #5f5b52;
	--display: "Fraunces", Georgia, serif;
	--texto: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--max: 1180px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--texto); font-size: 18px; line-height: 1.7; color: var(--tinta); background: var(--papel); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .main-title { font-family: var(--display); font-optical-sizing: auto; letter-spacing: -0.015em; color: inherit; }
a { color: var(--sol-2); }
::selection { background: var(--sol); color: var(--tinta); }

/* ---------- Cabecera (fija, con el logo siempre visible) ---------- */
.site-header { background: var(--noche); color: var(--papel); position: sticky; top: 0; z-index: 100; transition: box-shadow .3s, background .3s; }
.admin-bar .site-header { top: 32px; }
.site-header .inside-header { padding-top: 20px; padding-bottom: 20px; transition: padding .3s; }
.site-header.is-scrolled { background: rgba(22, 26, 31, .96); box-shadow: 0 1px 0 rgba(251, 250, 247, .08), 0 12px 30px -20px rgba(0, 0, 0, .8); }
.site-header.is-scrolled .inside-header { padding-top: 10px; padding-bottom: 10px; }
.main-title { margin: 0; }
.main-title a, .main-title a:hover { color: var(--papel); font-weight: 600; font-size: 23px; letter-spacing: -.01em; font-variation-settings: "SOFT" 100, "WONK" 1; }
.main-title a::before { content: ""; display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--sol); box-shadow: 10px 6px 0 -3px var(--sol-2); margin-right: 18px; vertical-align: 2px; }
.main-navigation, .main-navigation ul ul { background: transparent; }
.main-navigation .main-nav ul { display: flex; align-items: center; gap: 6px; }
.main-navigation .main-nav ul li a { position: relative; color: rgba(251, 250, 247, .78); font-size: 15px; font-weight: 600; line-height: 44px; padding: 0 12px; transition: color .2s; }
.main-navigation .main-nav ul li:not(.trenk-menu-cta) a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 2px; background: var(--sol); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.main-navigation .main-nav ul li:not(.trenk-menu-cta) a:hover, .main-navigation .main-nav ul li.is-active a { color: var(--papel); }
.main-navigation .main-nav ul li:not(.trenk-menu-cta) a:hover::after, .main-navigation .main-nav ul li.is-active a::after { transform: scaleX(1); }
.main-navigation .main-nav ul li.trenk-menu-cta { margin-left: 14px; }
.main-navigation .main-nav ul li.trenk-menu-cta > a { background: var(--sol); color: var(--tinta); border-radius: 999px; line-height: 42px; padding: 0 22px; transition: transform .2s, background .2s; }
.main-navigation .main-nav ul li.trenk-menu-cta > a:hover { background: var(--papel); color: var(--tinta); transform: translateY(-2px); }
.menu-toggle, .mobile-menu-control-wrapper .menu-toggle, .menu-toggle:hover, .menu-toggle:focus { background: transparent; color: var(--papel); padding: 0 6px; line-height: 44px; }
.menu-toggle .gp-icon svg { width: 26px; height: 26px; }

/* Menú móvil: panel a pantalla completa (hasta 1080px, ver generate_media_queries) */
@media (max-width: 1080px) {
	.site-header .inside-header { padding: 14px 16px; }
	.site-header.is-scrolled .inside-header { padding-top: 10px; padding-bottom: 10px; }
	.main-title a { font-size: 20px; }
	.main-title a::before { width: 12px; height: 12px; margin-right: 16px; }
	.site-header.has-inline-mobile-toggle #site-navigation.toggled { position: fixed; inset: 0; padding-top: var(--trenk-header, 64px); background: var(--noche); z-index: 1; overflow-y: auto; }
	.site-header .site-branding, .site-header .mobile-menu-control-wrapper { position: relative; z-index: 2; }
	.site-header.has-inline-mobile-toggle #site-navigation.toggled::before { content: ""; position: absolute; inset: 0; background: url(img/estrellas.svg?v=2) repeat; background-size: 480px; opacity: .5; pointer-events: none; }
	.site-header.has-inline-mobile-toggle #site-navigation.toggled .inside-navigation { position: relative; padding: 28px 24px 40px; }
	.site-header.has-inline-mobile-toggle #site-navigation.toggled .main-nav > ul { display: flex; flex-direction: column; align-items: stretch; gap: 0; background: transparent; }
	.site-header.has-inline-mobile-toggle #site-navigation.toggled .main-nav ul li { border-bottom: 1px solid rgba(251, 250, 247, .12); opacity: 0; transform: translateY(12px); animation: trenk-menu-in .4s forwards; }
	.site-header.has-inline-mobile-toggle #site-navigation.toggled .main-nav ul li:nth-child(2) { animation-delay: .04s; }
	.site-header.has-inline-mobile-toggle #site-navigation.toggled .main-nav ul li:nth-child(3) { animation-delay: .08s; }
	.site-header.has-inline-mobile-toggle #site-navigation.toggled .main-nav ul li:nth-child(4) { animation-delay: .12s; }
	.site-header.has-inline-mobile-toggle #site-navigation.toggled .main-nav ul li:nth-child(5) { animation-delay: .16s; }
	.site-header.has-inline-mobile-toggle #site-navigation.toggled .main-nav ul li:nth-child(6) { animation-delay: .2s; }
	.site-header.has-inline-mobile-toggle #site-navigation.toggled .main-nav ul li a { font-family: var(--display); font-size: 34px; font-weight: 500; line-height: 1.2; padding: 18px 0; color: var(--papel); }
	.site-header.has-inline-mobile-toggle #site-navigation.toggled .main-nav ul li:not(.trenk-menu-cta) a::after { display: none; }
	.site-header.has-inline-mobile-toggle #site-navigation.toggled .main-nav ul li.trenk-menu-cta { border: 0; margin: 28px 0 0; }
	.site-header.has-inline-mobile-toggle #site-navigation.toggled .main-nav ul li.trenk-menu-cta > a { color: var(--tinta); font-family: var(--texto); font-size: 18px; font-weight: 800; text-align: center; line-height: 60px; padding: 0 24px; }
	body.trenk-menu-abierto { overflow: hidden; }
	body.trenk-menu-abierto .trenk-flotante { display: none; }
}
@keyframes trenk-menu-in { to { opacity: 1; transform: none; } }

/* ---------- Estructura de secciones ---------- */
.separate-containers .inside-article, .one-container .site-content, .inside-article { padding: 0; }
.site-content .content-area { width: 100%; }
.trenk-s { position: relative; padding: clamp(80px, 11vw, 150px) 24px; margin: 0 !important; overflow: hidden; }
.trenk-s > .trenk-in { max-width: var(--max); margin: 0 auto; position: relative; z-index: 2; }
.trenk-noche { background: var(--noche); color: var(--papel); }
.trenk-noche::before { content: ""; position: absolute; inset: 0; background: url(img/estrellas.svg?v=2) repeat; background-size: 480px; opacity: .55; pointer-events: none; }
.trenk-papel { background-color: var(--papel); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .06 0 0 0 0 .07 0 0 0 0 .16 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.trenk-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--texto); text-transform: uppercase; letter-spacing: .18em; font-size: 13px; font-weight: 800; color: var(--madera); margin: 0 0 18px; }
.trenk-eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.trenk-noche .trenk-eyebrow { color: var(--sol); }
.trenk-h2 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.02; font-weight: 600; margin: 0 0 28px; font-variation-settings: "SOFT" 50, "WONK" 1; }
.trenk-h2 em { font-style: italic; font-weight: 400; color: var(--sol-2); }
.trenk-noche .trenk-h2 em { color: var(--sol); }
.trenk-lead { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.65; }
.trenk-noche p { color: rgba(245, 239, 227, .82); }

/* ---------- Botones ---------- */
.trenk-btn { display: inline-flex; align-items: center; gap: 12px; font-family: var(--texto); font-weight: 800; font-size: 17px; text-decoration: none; border-radius: 999px; padding: 18px 30px; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
.trenk-btn svg { width: 22px; height: 22px; flex: none; }
.trenk-btn-amazon { background: var(--sol); color: var(--tinta); box-shadow: 0 0 0 0 rgba(230, 189, 60, .6); }
.trenk-btn-amazon:hover, .trenk-btn-amazon:focus { background: var(--papel); color: var(--tinta); transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .55); }
.trenk-btn-ghost { color: var(--papel); border: 2px solid rgba(245, 239, 227, .4); padding: 16px 28px; }
.trenk-btn-ghost:hover { border-color: var(--papel); color: var(--papel); transform: translateY(-3px); }
.trenk-btn-tinta { background: var(--tinta); color: var(--papel); }
.trenk-btn-tinta:hover { background: var(--sol-2); color: var(--papel); transform: translateY(-3px); }
.trenk-pulse { animation: trenk-pulse 2.6s ease-out infinite; }
@keyframes trenk-pulse { 0% { box-shadow: 0 0 0 0 rgba(230, 189, 60, .55); } 70% { box-shadow: 0 0 0 18px rgba(230, 189, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(230, 189, 60, 0); } }

/* ---------- Portada (hero) ---------- */
.trenk-hero { min-height: calc(100vh - 84px); min-height: calc(100svh - 84px); display: flex; align-items: center; padding-top: clamp(32px, 5vh, 64px); padding-bottom: clamp(56px, 9vh, 96px); }
.trenk-hero > .trenk-in { width: 100%; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.trenk-hero h1 { font-size: clamp(38px, min(4.6vw, 7.4vh), 72px); line-height: 1.02; font-weight: 600; margin: 0 0 26px; font-variation-settings: "SOFT" 100, "WONK" 1; }
.trenk-hero h1 em { font-style: italic; font-weight: 400; color: var(--sol); }
.trenk-hero .trenk-lead { max-width: 560px; margin-bottom: 34px; }
.trenk-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.trenk-hero-meta { margin-top: 26px; font-size: 14px; letter-spacing: .04em; color: rgba(245, 239, 227, .6) !important; }
.trenk-soles { position: absolute; z-index: 1; pointer-events: none; }
.trenk-soles-1 { top: -140px; right: -120px; width: 520px; height: 520px; }
.trenk-orbita { transform-origin: 260px 260px; animation: trenk-giro 90s linear infinite; }
@keyframes trenk-giro { to { transform: rotate(360deg); } }
.trenk-scroll { position: absolute; left: 50%; bottom: 26px; z-index: 2; transform: translateX(-50%); color: rgba(245, 239, 227, .6); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.trenk-scroll::after { content: ""; width: 2px; height: 34px; background: rgba(245, 239, 227, .5); animation: trenk-baja 2s ease-in-out infinite; transform-origin: top; }
@keyframes trenk-baja { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Libro en 3D (CSS) ---------- */
.trenk-libro-wrap { perspective: 1800px; display: flex; justify-content: center; }
.trenk-libro { --w: clamp(220px, min(20vw, 38vh), 320px); width: var(--w); aspect-ratio: 738 / 1169; position: relative; transform-style: preserve-3d; transform: rotateY(-24deg) rotateX(4deg); transition: transform .8s cubic-bezier(.2, .7, .2, 1); animation: trenk-flota 6s ease-in-out infinite; }
.trenk-libro:hover { transform: rotateY(-8deg) rotateX(2deg); }
@keyframes trenk-flota { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.trenk-libro-tapa { position: absolute; inset: 0; border-radius: 2px 5px 5px 2px; overflow: hidden; transform: translateZ(14px); background: #fff; box-shadow: inset 5px 0 7px -4px rgba(0, 0, 0, .3); }
.trenk-libro-tapa img { display: block; width: 100%; height: 100%; object-fit: cover; }
.trenk-libro-tapa::after { content: ""; position: absolute; left: 4%; top: 0; bottom: 0; width: 2px; background: rgba(0, 0, 0, .1); }
.trenk-libro::before { content: ""; position: absolute; top: 1.5%; bottom: 1.5%; right: -11px; width: 14px; background: #e6e1d5; border-radius: 0 4px 4px 0; transform: translateZ(2px); }
.trenk-libro-sombra { position: absolute; left: 6%; right: -6%; bottom: -9%; height: 7%; background: rgba(0, 0, 0, .45); filter: blur(18px); border-radius: 50%; transform: translateZ(-30px); }
.trenk-papel .trenk-libro-sombra { background: rgba(22, 26, 31, .3); }

/* ---------- Sinopsis ---------- */
.trenk-sinopsis > .trenk-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.trenk-capitular::first-letter { font-family: var(--display); float: left; font-size: 5.4em; line-height: .82; padding: 8px 14px 0 0; color: var(--sol-2); font-weight: 600; }
.trenk-personajes { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.trenk-personajes li { background: #fff; border: 1px solid var(--papel-2); border-radius: 16px; padding: 16px 18px; font-size: 15px; line-height: 1.45; color: var(--gris); transition: transform .25s, border-color .25s; }
.trenk-personajes li:hover { transform: translateY(-4px); border-color: var(--sol); }
.trenk-personajes strong { display: block; font-family: var(--display); font-size: 20px; color: var(--tinta); font-weight: 600; margin-bottom: 2px; }
.trenk-personajes li::before { content: ""; display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--sol)); margin-bottom: 10px; }

/* ---------- Citas destacadas ---------- */
.trenk-cita { padding-top: clamp(70px, 9vw, 120px); padding-bottom: clamp(70px, 9vw, 120px); }
.trenk-cita-sol { background: var(--sol); color: var(--tinta); }
.trenk-cita-coral { background: var(--sol-2); color: var(--papel); }
.trenk-cita blockquote { margin: 0 auto; max-width: 1040px; border: 0; padding: 0; text-align: center; }
.trenk-cita blockquote p { font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(32px, 5vw, 64px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 26px; color: inherit; font-variation-settings: "SOFT" 100, "WONK" 1; }
.trenk-cita blockquote p::before { content: "«"; }
.trenk-cita blockquote p::after { content: "»"; }
.trenk-cita cite { font-style: normal; font-weight: 800; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.trenk-cita-deco { position: absolute; width: 180px; height: 180px; border-radius: 50%; border: 2px solid currentColor; opacity: .18; z-index: 1; }
.trenk-cita-deco.a { top: -60px; left: -50px; }
.trenk-cita-deco.b { bottom: -90px; right: 6%; width: 260px; height: 260px; }

/* ---------- Trenk ---------- */
.trenk-mundo > .trenk-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.trenk-planeta img { width: 100%; max-width: 520px; display: block; margin: 0 auto; animation: trenk-flota 9s ease-in-out infinite; }
.trenk-principios { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 30px; counter-reset: p; }
.trenk-principios li { counter-increment: p; border-top: 1px solid rgba(245, 239, 227, .2); padding-top: 18px; font-size: 16px; line-height: 1.55; color: rgba(245, 239, 227, .75); }
.trenk-principios li::before { content: "0" counter(p); display: block; font-family: var(--display); font-size: 44px; line-height: 1; font-weight: 300; color: var(--sol); margin-bottom: 10px; }
.trenk-principios strong { display: block; color: var(--papel); font-family: var(--display); font-size: 22px; font-weight: 600; margin-bottom: 6px; }

/* ---------- Zúu ---------- */
.trenk-zuu > .trenk-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.trenk-zuu-ilu { position: relative; }
.trenk-zuu-ilu::before { content: ""; position: absolute; inset: 8% 4% 4% 4%; background: var(--papel-2); border-radius: 50%; }
.trenk-zuu-ilu img { position: relative; width: 100%; max-width: 440px; display: block; margin: 0 auto; transform-origin: 50% 90%; animation: trenk-saludo 5s ease-in-out infinite; }
@keyframes trenk-saludo { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
.trenk-datos-zuu { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.trenk-datos-zuu li { background: var(--noche); color: var(--papel); border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 700; }
.trenk-datos-zuu li:nth-child(2) { background: var(--sol); color: var(--tinta); }
.trenk-datos-zuu li:nth-child(3) { background: var(--menta); color: var(--tinta); }

/* ---------- Autor ---------- */
.trenk-autor > .trenk-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.trenk-firma { font-family: var(--display); font-style: italic; font-size: 28px; color: var(--sol-2); margin-top: 18px; }
.trenk-filosofia { background: var(--noche); color: var(--papel); border-radius: 28px; padding: clamp(28px, 4vw, 44px); position: relative; overflow: hidden; }
.trenk-filosofia::after { content: ""; position: absolute; top: -40px; right: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--sol); }
.trenk-filosofia h3 { font-size: 30px; line-height: 1.1; margin: 0 0 22px; position: relative; z-index: 1; max-width: 80%; }
.trenk-filosofia ol { margin: 0; padding: 0; list-style: none; counter-reset: f; }
.trenk-filosofia li { counter-increment: f; position: relative; padding: 0 0 18px 48px; font-size: 16px; line-height: 1.55; color: rgba(245, 239, 227, .8); }
.trenk-filosofia li::before { content: counter(f); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--sol-2); color: var(--papel); font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.trenk-filosofia li strong { color: var(--papel); }

/* ---------- El libro ---------- */
.trenk-libro-s > .trenk-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.trenk-ficha { width: 100%; border-collapse: collapse; margin: 8px 0 36px; font-size: 16px; }
.trenk-ficha th, .trenk-ficha td { border: 0; border-bottom: 1px solid rgba(245, 239, 227, .16); padding: 13px 0; text-align: left; background: transparent; }
.trenk-ficha th { color: rgba(245, 239, 227, .55); font-weight: 600; width: 40%; }
.trenk-ficha td { color: var(--papel); font-weight: 600; }
.trenk-libro-s .trenk-btn-amazon { font-size: 19px; padding: 22px 38px; }
.trenk-nota { font-size: 14px; margin-top: 16px; }

/* ---------- Contacto ---------- */
.trenk-contacto > .trenk-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.trenk-contacto .wpcf7 { background: #fff; border-radius: 28px; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--papel-2); }
.trenk-contacto .wpcf7 label { display: block; margin-bottom: 14px; }
.trenk-contacto .wpcf7 input[type="text"], .trenk-contacto .wpcf7 input[type="email"], .trenk-contacto .wpcf7 textarea { width: 100%; border: 2px solid var(--papel-2); border-radius: 14px; padding: 15px 18px; background: var(--papel); font-family: var(--texto); font-size: 16px; color: var(--tinta); transition: border-color .2s, background .2s; }
.trenk-contacto .wpcf7 input:focus, .trenk-contacto .wpcf7 textarea:focus { border-color: var(--sol); background: #fff; outline: 0; }
.trenk-contacto .wpcf7 textarea { height: 170px; }
.trenk-contacto .wpcf7 input[type="submit"] { background: var(--tinta); color: var(--papel); border: 0; border-radius: 999px; padding: 17px 36px; font-weight: 800; font-size: 16px; cursor: pointer; transition: background .2s, transform .2s; }
.trenk-contacto .wpcf7 input[type="submit"]:hover { background: var(--sol-2); transform: translateY(-2px); }
.trenk-contacto .wpcf7-acceptance { font-size: 14px; color: var(--gris); }
.trenk-contacto .wpcf7-list-item { margin: 0; }
.trenk-mail { display: inline-block; font-family: var(--display); font-size: clamp(22px, 2.4vw, 30px); color: var(--tinta); text-decoration: none; border-bottom: 3px solid var(--sol); margin-top: 8px; }
.trenk-mail:hover { color: var(--sol-2); }

/* ---------- Botón flotante de Amazon ---------- */
.trenk-flotante { position: fixed; right: 22px; bottom: 22px; z-index: 50; transform: translateY(140%); opacity: 0; transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .3s; box-shadow: 0 18px 36px -14px rgba(15, 17, 40, .6); }
.trenk-flotante.is-on { transform: none; opacity: 1; }

/* ---------- Animaciones al hacer scroll ---------- */
.js-trenk .trenk-reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js-trenk .trenk-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Páginas interiores (legales) ---------- */
body:not(.home) .site-content { max-width: 860px; margin: 0 auto; padding: 70px 24px 90px; }
body:not(.home) .entry-title { font-size: clamp(36px, 5vw, 56px); font-weight: 600; }
body:not(.home) .entry-content h2, body:not(.home) .entry-content h3 { font-size: 24px; margin-top: 1.6em; }
.trenk-pendiente { background: #fff1d6; border: 2px solid var(--sol); border-radius: 14px; padding: 14px 18px; font-size: 15px; }

/* ---------- Pie ---------- */
.site-footer .footer-widgets { background: var(--noche); color: rgba(245, 239, 227, .7); font-size: 15px; border-top: 0; position: relative; }
.site-footer .footer-widgets .widget-title { font-family: var(--display); color: var(--papel); font-size: 22px; font-weight: 600; }
.site-footer .footer-widgets a { color: var(--papel); text-decoration: none; }
.site-footer .footer-widgets a:hover { color: var(--sol); }
.site-footer .lista-footer { list-style: none; margin: 0; }
.site-footer .site-info { background: var(--tinta); color: rgba(245, 239, 227, .55); font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.trenk-hero > .trenk-in, .trenk-sinopsis > .trenk-in, .trenk-mundo > .trenk-in, .trenk-zuu > .trenk-in, .trenk-autor > .trenk-in, .trenk-libro-s > .trenk-in, .trenk-contacto > .trenk-in { grid-template-columns: 1fr; }
	.trenk-hero { min-height: 0; padding-top: 40px; }
	.trenk-hero .trenk-libro { --w: 210px; }
	.trenk-soles-1 { width: 300px; height: 300px; top: -150px; right: -140px; }
	.trenk-scroll { display: none; }
	.trenk-planeta { order: -1; }
	.trenk-planeta img { max-width: 340px; }
	.trenk-zuu-ilu img { max-width: 300px; }
}
@media (max-width: 640px) {
	body { font-size: 17px; }
	.trenk-soles-1 { width: 220px; height: 220px; top: -120px; right: -110px; }
	.trenk-hero { padding-top: 70px; }
	.trenk-s { padding-left: 16px; padding-right: 16px; }
	.trenk-personajes, .trenk-principios { grid-template-columns: 1fr; }
	.trenk-btn { width: 100%; justify-content: center; }
	.trenk-flotante { left: 12px; right: 12px; bottom: 12px; width: auto; }
	.trenk-libro-s .trenk-btn-amazon { padding: 20px 24px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js-trenk .trenk-reveal { opacity: 1; transform: none; }
	html { scroll-behavior: auto; }
}

.trenk-s { scroll-margin-top: 80px; }

/* Las tres preguntas de la portada */
.trenk-preguntas { list-style: none; margin: 34px 0 0; padding: 0; }
.trenk-preguntas li { font-family: var(--display); font-style: italic; font-size: clamp(20px, 2vw, 25px); line-height: 1.3; padding: 14px 0; border-top: 1px solid var(--papel-2); color: var(--tinta); }
.trenk-preguntas li:last-child { border-bottom: 1px solid var(--papel-2); }
.trenk-preguntas li::before { content: "?"; display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 14px; border-radius: 50%; background: var(--sol); color: var(--tinta); font-style: normal; font-weight: 700; font-size: 16px; vertical-align: 3px; }
.trenk-preguntas-titulo { margin: 34px 0 0; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: var(--gris); }

/* CTA compacto en la cabecera móvil (sustituye al botón flotante) */
.trenk-cta-movil { display: none; }
@media (max-width: 1080px) {
	.has-inline-mobile-toggle .inside-header { flex-wrap: nowrap; align-items: center; }
	.site-header .site-branding { flex: 1 1 auto; min-width: 0; }
	.site-header.has-inline-mobile-toggle #site-navigation:not(.toggled) { display: none; }
	.main-title a { white-space: nowrap; }
	.site-header .mobile-menu-control-wrapper { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: none; }
	.site-header .trenk-cta-movil { display: inline-flex; align-items: center; font-family: var(--texto); background: var(--sol); color: var(--tinta); font-weight: 800; font-size: 14px; line-height: 1; padding: 11px 16px; border-radius: 999px; text-decoration: none; order: -1; }
	.site-header .trenk-cta-movil:hover, .site-header .trenk-cta-movil:focus { background: var(--papel); color: var(--tinta); }
	.trenk-flotante { display: none; }
	body.trenk-menu-abierto .trenk-cta-movil { visibility: hidden; }
}
@media (max-width: 400px) {
	.main-title a { font-size: 18px; }
	.main-title a::before { margin-right: 13px; }
	.site-header .trenk-cta-movil { padding: 10px 13px; font-size: 13px; }
}
@media (max-width: 340px) {
	.main-title a { font-size: 16px; }
	.main-title a::before { display: none; }
	.site-header .mobile-menu-control-wrapper { gap: 2px; }
	.site-header .trenk-cta-movil { padding: 9px 11px; }
	.site-header .inside-header { padding-left: 12px; padding-right: 10px; }
}

/* Precio en la ficha del libro */
.trenk-precio { margin: 0 0 22px; color: var(--papel) !important; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.trenk-precio strong { font-family: var(--display); font-size: 44px; font-weight: 600; color: var(--sol); line-height: 1; }
.trenk-precio span { font-size: 14px; color: rgba(251, 250, 247, .65); }

/* Carrito y pago (WooCommerce) */
.woocommerce-cart .site-content, .woocommerce-checkout .site-content { max-width: 1100px !important; }
.woocommerce-cart .entry-title, .woocommerce-checkout .entry-title { font-size: clamp(34px, 4.5vw, 52px); }
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button, .woocommerce a.button, .woocommerce button.button { background: var(--sol) !important; color: var(--tinta) !important; border-radius: 999px !important; font-family: var(--texto); font-weight: 800; border: 0 !important; }
.wc-block-components-button:not(.is-link):hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--tinta) !important; color: var(--papel) !important; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-blocks-components-select .wc-blocks-components-select__select { border-radius: 12px !important; }
.wc-block-components-order-summary .wc-block-components-product-name, .wc-block-cart-item__product .wc-block-components-product-name { font-family: var(--display); font-size: 18px !important; line-height: 1.25; color: var(--tinta); }
.wc-block-components-product-metadata { font-size: 13px; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-family: var(--display); font-size: 26px; }
.woocommerce-checkout .wc-block-checkout__terms { font-size: 14px; }
body:not(.home) .inside-article { background: transparent; }
body:not(.home) .site-main { margin: 0; }
body:not(.home) .entry-content > .alignwide, body:not(.home) .entry-content > .alignfull { margin-left: 0; margin-right: 0; width: auto; max-width: 100%; }
@media (max-width: 768px) {
	body:not(.home) .site-content { padding: 40px 16px 64px; }
}
