/* =====================================================================
   BALADO CUSTOM
   Guía de Juan Carlos (2026-11-13): fondo negro #0A0A0A en toda la web,
   texto blanco, acentos en dorado champán e Inter como fuente (Montserrat
   solo para «CUSTOM GUITARS» bajo el logo). Champán #D4B87A, el tono de la
   «B» del monograma (Carlos, 2026-11-21; antes #D4AF37, más mostaza). Párrafos de 620 px como máximo. Mobile first. WCAG 2.2 AA.
   Tamaños: móvil / PC (desde 768 px), como en su tabla de jerarquía.
   ===================================================================== */

/* Inter autoalojada (licencia OFL). */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter-variable.woff2") format("woff2");
}
/* Montserrat autoalojada (OFL), solo para «CUSTOM GUITARS» de la cabecera. */
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 500 800;
    font-display: swap;
    src: url("../fonts/montserrat-latin.woff2") format("woff2");
}

:root {
    --coal:     #0a0a0a;
    --coal-2:   #121212;
    --coal-3:   #1b1b1b;
    --walnut:   #1f1f1f;
    --walnut-2: #141414;
    --brass:    #d4b87a;   /* dorado champán, el de la «B» (Carlos, 2026-11-21) */
    --brass-2:  #e4cd98;
    --bone:     #f2f2f2;
    --white:    #ffffff;
    --muted:    #c9c9c9;
    --faint:    #8d8d8d;
    --line:     rgba(255, 255, 255, .10);
    --line-2:   rgba(255, 255, 255, .20);
    --ok:       #7fb77e;
    --warn:     #e0b45a;
    --error:    #e3796b;
    --wa:       #25d366;

    --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --serif: var(--sans);   /* una sola fuente en toda la web */

    --container: 1200px;
    --narrow:    620px;   /* ancho máximo de los párrafos */
    --gutter:    24px;
    --radius:    6px;
    --header-h:  64px;
    --shadow:    0 18px 40px rgba(0, 0, 0, .35);

    /* Texto (móvil / PC) */
    --fs-p:     16px;     /* Juan Carlos, 2026-11-15: 16 px en el móvil para leer bien sobre negro */
    --fs-h2:    20px;     /* subtítulos de sección, dorado */
}
@media (min-width: 768px) { :root { --fs-p: 17px; --fs-h2: 24px; --header-h: 80px; } }

/* ------------------------------------------------------------ Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
    margin: 0;
    background: var(--coal);
    color: var(--bone);
    font: 400 var(--fs-p)/1.65 var(--sans);
    letter-spacing: .01em;
    font-feature-settings: "ss01", "cv11";
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--brass); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .3s ease; }
a:hover { color: var(--brass-2); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 600; line-height: 1.3; margin: 0 0 .6em; letter-spacing: 0; color: var(--white); text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
em { font-style: italic; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

.visually-hidden { position: absolute !important; 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; background: var(--brass); color: var(--coal); padding: 10px 14px; border-radius: var(--radius); font-weight: 600; }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); }
.empty { color: var(--muted); padding: 2rem 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.container--wide { max-width: calc(1100px + 2 * var(--gutter)); }
.main { min-height: 60vh; }

/* --------------------------------------------------------- Botones */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    min-height: 44px; padding: .65em 1.25em;
    border: 1px solid transparent; border-radius: 999px;
    font: 600 .95rem/1.2 var(--sans); letter-spacing: .01em;
    text-decoration: none; cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--brass { background: var(--brass); color: var(--coal); }
.btn--brass:hover { background: var(--brass-2); color: var(--coal); }
.btn--ghost { background: transparent; color: var(--bone); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--brass); color: var(--brass-2); }
.btn--sm { min-height: 38px; padding: .45em .95em; font-size: .875rem; }
.btn--lg { min-height: 52px; padding: .8em 1.6em; font-size: 1rem; }
.linklike { background: none; border: 0; padding: 0; color: var(--brass-2); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-arrow { font-weight: 600; text-decoration: none; letter-spacing: .02em; }
.link-arrow:hover { text-decoration: underline; }

.eyebrow {
    display: inline-block; margin: 0 0 .75rem;
    font: 600 .75rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase;
    color: var(--brass); text-decoration: none;
}
a.eyebrow:hover { color: var(--brass-2); }

/* -------------------------------------------------------- Cabecera */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--coal) 92%, transparent);
    -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { --logo-h: 26px; display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; margin-right: auto; line-height: 1; }
/* Logotipo de letras de la web antigua («BALADO» con la L alargada, 1110 × 200) y debajo «CUSTOM GUITARS»
   en texto real (Carlos, 2026-11-21): Montserrat 500 en champán, del palo de la B (x 24 del logo) al final
   de la O (x 1017), sin llegar al ™. Posición y ancho salen del alto del logo. Él pedía 11 px y .30em;
   con eso no llega a la O, así que va a 12 px (9 en el móvil) con el espaciado justo para cuadrar. */
.brand__logo { width: auto; height: var(--logo-h); }
.brand__sub {
    display: block; margin: 5px 0 0 calc(var(--logo-h) * .12); width: calc(var(--logo-h) * 4.965);
    font: 500 9px/1 "Montserrat", var(--sans); text-transform: uppercase; color: var(--brass);
    letter-spacing: .34em; word-spacing: .70em; white-space: nowrap;
}
@media (min-width: 768px) { .brand { --logo-h: 34px; } .brand__sub { font-size: 12px; letter-spacing: .32em; } }
.mainnav { display: none; }
.site-header__tools { display: flex; align-items: center; gap: .5rem; }
.langswitch {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 999px;
    color: var(--bone); text-decoration: none; font: 600 .78rem/1 var(--sans); letter-spacing: .1em;
}
.langswitch:hover { border-color: var(--brass); color: var(--brass-2); }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 0; color: var(--bone); cursor: pointer; }

.drawer { border-top: 1px solid var(--line); background: var(--coal); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.drawer[hidden] { display: none; }
.drawer__nav { display: flex; flex-direction: column; padding: .5rem var(--gutter) 2rem; }
.drawer__link { padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--white); text-decoration: none; font: 500 12px/1.2 var(--sans); letter-spacing: .15em; text-transform: uppercase; transition: color .3s ease; }
.drawer__link:hover { color: var(--brass); }
.drawer__link.is-current { color: var(--brass); }
.drawer__lang { margin-top: 1.25rem; color: var(--brass-2); }



/* Menú: MAYÚSCULAS, 12 px móvil / 13 px PC, interlineado 1.2, espaciado 0.15em;
   blanco y dorado champán al pasar el ratón o en la sección activa. */
@media (min-width: 960px) {
    .menu-toggle, .drawer { display: none !important; }
    .mainnav { display: block; }
    .mainnav__list { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; }
    .mainnav__link {
        display: block; padding: .6rem .7rem; color: var(--white); text-decoration: none;
        font: 500 13px/1.2 var(--sans); letter-spacing: .15em; text-transform: uppercase; white-space: nowrap;
        transition: color .35s ease;
    }
    .mainnav__link:hover, .mainnav__link.is-current { color: var(--brass); }
}

/* ------------------------------------------------------------ Hero */
.hero { position: relative; display: grid; min-height: min(88vh, 760px); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; filter: saturate(.9) brightness(.62); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, color-mix(in srgb, var(--coal) 15%, transparent) 0%, color-mix(in srgb, var(--coal) 55%, transparent) 55%, var(--coal) 100%); }
.hero__content { align-self: end; padding-top: 6rem; padding-bottom: 3rem; }
.hero__title { font-size: clamp(1.8rem, 1.2rem + 3vw, 3.2rem); line-height: 1.15; max-width: 18ch; margin-bottom: 1rem; }
.hero__title em { color: var(--brass); font-weight: 500; }
.hero__text { max-width: 36rem; color: var(--bone); font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); line-height: 1.55; opacity: .92; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
@media (min-width: 900px) {
    .hero::after { background: linear-gradient(90deg, color-mix(in srgb, var(--coal) 92%, transparent) 0%, color-mix(in srgb, var(--coal) 60%, transparent) 45%, color-mix(in srgb, var(--coal) 10%, transparent) 100%), linear-gradient(180deg, transparent 70%, var(--coal) 100%); }
    .hero__content { align-self: center; padding-bottom: 5rem; }
}

/* -------------------------------------------------------- Secciones */
.section { padding: 3.5rem 0; }
.section--tight { padding: 1.5rem 0; }
.section--wood { background: linear-gradient(180deg, var(--walnut-2), var(--coal-2)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--coal-2); }
.section__head { margin-bottom: 2rem; max-width: 40rem; }
.section__title { font-size: var(--fs-h2); line-height: 1.3; color: var(--brass); }
.section__title a { color: inherit; text-decoration: none; }
.section__title a:hover { color: var(--brass-2); }
.section__more { margin: 2rem 0 0; }
@media (min-width: 900px) { .section { padding: 5.5rem 0; } }

.pagehead { padding: 2.5rem 0 1.5rem; margin-bottom: 1rem; }
.pagehead__title { font-size: 24px; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: var(--brass); margin-bottom: .6rem; }
@media (min-width: 768px) { .pagehead__title { font-size: 32px; } }
.pagehead__text { max-width: 42rem; color: var(--muted); font-size: 1.05rem; }

.breadcrumbs { margin: 0 0 1.25rem; font-size: .8rem; color: var(--faint); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--faint); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brass-2); }

.split { display: grid; gap: 2rem; align-items: center; }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.split__body p { color: var(--muted); font-size: 1.05rem; }
@media (min-width: 900px) {
    .split { grid-template-columns: 5fr 6fr; gap: 4rem; }
    .split--reverse .split__media { order: 2; }
    .split--reverse { grid-template-columns: 6fr 5fr; }
}

/* ---------------------------------------------------------- Pasos */
.steps { display: grid; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.step { position: relative; padding-bottom: .5rem; }
.step__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: 1rem; filter: saturate(.9); }
.step__num { position: absolute; top: .75rem; left: .75rem; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--coal); color: var(--brass); border: 1px solid var(--brass); font: 600 1.1rem/1 var(--sans); }
.step__title { font-size: 1.1rem; margin-bottom: .35rem; }
.step p { color: var(--muted); margin: 0; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step--plain { padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--coal) 35%, transparent); }
.step--plain .step__num { position: static; margin-bottom: .9rem; }

/* -------------------------------------------------------- Guitarras */
/* Galería Hard Rock Beauties: 2 columnas × 4 filas en móvil y en PC; hueco
   de 16 px en móvil y 40 px en PC. Nombre en caja normal, 14/15 px. */
.guitargrid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); max-width: 1040px; margin: 0 auto; }
@media (min-width: 768px) { .guitargrid { gap: 40px; } }
.guitarcard__link { display: block; color: var(--white); text-decoration: none; }
.guitarcard__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--coal-3); }
.guitarcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.guitarcard__link:hover .guitarcard__media img, .guitarcard__link:focus-visible .guitarcard__media img { transform: scale(1.03); }
.guitarcard__placeholder, .postcard__placeholder { display: grid; place-items: center; width: 100%; height: 100%; opacity: .5; }
.guitarcard__placeholder img, .postcard__placeholder img { width: 72px; height: auto; max-height: none; object-fit: contain; }
.guitarcard__name { display: block; margin: 0; color: inherit; letter-spacing: inherit; text-wrap: wrap; padding-top: .7rem; font-size: 14px; line-height: 1.3; font-weight: 500; transition: color .6s ease; }
@media (min-width: 768px) { .guitarcard__name { font-size: 15px; } }
.guitarcard__link:hover .guitarcard__name, .guitarcard__link:focus-visible .guitarcard__name { color: var(--brass); }

/* Botón champán de WhatsApp, centrado (galería y final de cada ficha). */
.wa-cta { display: flex; justify-content: center; margin: 3rem auto 4rem; text-align: center; }
.wa-cta .btn { white-space: normal; text-align: center; }

/* Ficha: nombre 24/32 en mayúsculas doradas; cita en cursiva 15/17. */
.guitar__head { padding-top: 2.5rem; padding-bottom: 1rem; }
/* Pie de la ficha: anterior · volver a la galería · siguiente. */
.guitar__nav { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 1rem; margin-top: 3.5rem; margin-bottom: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.guitar__back { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
.guitar__step { display: flex; align-items: center; gap: .75rem; min-height: 56px; color: var(--white); text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.guitar__step small { display: block; margin-bottom: .2rem; color: var(--faint); font-size: 11px; font-weight: 500; letter-spacing: .14em; }
.guitar__step--next { grid-column: 2; justify-self: end; text-align: right; }
.guitar__arrow { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid color-mix(in srgb, var(--brass) 60%, transparent); border-radius: 999px; color: var(--brass); font-size: 24px; line-height: 1; transition: background .2s ease, color .2s ease; }
.guitar__step:hover .guitar__arrow, .guitar__step:focus-visible .guitar__arrow { background: var(--brass); color: var(--coal); }
.guitar__step:hover { color: var(--brass-2); }
@media (min-width: 768px) {
    .guitar__nav { grid-template-columns: 1fr auto 1fr; }
    .guitar__back { grid-column: 2; grid-row: 1; }
    .guitar__step--next { grid-column: 3; }
}
.guitar__name { font-size: 24px; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: var(--brass); margin-bottom: 1rem; }
.guitar__quote { font-size: 16px; line-height: 1.5; font-style: italic; color: var(--white); }
@media (min-width: 768px) { .guitar__name { font-size: 32px; } .guitar__quote { font-size: 17px; } }

/* Carruseles «♯ Lista para seducir» y «♯ Donde surge la magia»: se deslizan en horizontal. */
.carousel { margin: 2.5rem 0 1rem; }
.carousel__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.carousel__title { margin: 0; font-size: 14px; line-height: 1.3; font-weight: 500; color: var(--white); letter-spacing: .02em; }
@media (min-width: 768px) { .carousel__title { font-size: 15px; } }
.carousel__sharp { color: var(--brass); font-size: 1.25em; margin-right: .15em; }
.carousel__nav { display: flex; gap: .5rem; flex: 0 0 auto; }
.carousel__btn { width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; background: none; color: var(--white); font-size: 1.4rem; line-height: 1; cursor: pointer; transition: color .3s ease, border-color .3s ease; }
.carousel__btn:hover { color: var(--brass); border-color: var(--brass); }
.carousel__track {
    display: flex; gap: 12px; margin: 0; padding: 0 var(--gutter) .75rem; list-style: none;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
@media (min-width: 1200px) { .carousel__track { padding-inline: calc((100vw - 1200px) / 2 + var(--gutter)); scroll-padding-inline: calc((100vw - 1200px) / 2 + var(--gutter)); } }
.carousel__slide { flex: 0 0 auto; scroll-snap-align: start; }
/* Puntitos bajo cada carrusel (boceto de Juan Carlos): dicen que se puede deslizar. */
.carousel__dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin-top: .9rem; padding: 0 var(--gutter); }
.carousel__dot { width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.carousel__dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: background .3s ease, transform .3s ease; }
.carousel__count { margin: .8rem 0 0; text-align: center; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.carousel__count span { color: var(--brass); font-weight: 600; }
.carousel__dot.is-active::before { background: var(--brass); transform: scale(1.25); }
.carousel__slide img { display: block; width: auto; height: 62vh; height: 62svh; max-height: 640px; max-width: 86vw; object-fit: cover; border-radius: var(--radius); background: var(--coal-3); }
@media (min-width: 768px) { .carousel__track { gap: 20px; } .carousel__slide img { height: 70vh; max-width: 70vw; } }

/* ------------------------------------------------------------ Blog */
.postgrid { display: grid; gap: 2rem; }
@media (min-width: 700px) { .postgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .postgrid { grid-template-columns: repeat(3, 1fr); } }
.postcard__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--coal-3); }
.postcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.postcard:hover .postcard__media img { transform: scale(1.03); }
.postcard__body { padding-top: 1rem; }
.postcard__body .eyebrow { margin-bottom: .4rem; }
.postcard__title { font-size: 1.05rem; line-height: 1.35; margin-bottom: .4rem; }
.postcard__title a { color: var(--bone); text-decoration: none; }
.postcard__title a:hover { color: var(--brass-2); }
.postcard__summary { color: var(--muted); font-size: .95rem; margin-bottom: .5rem; }
.postcard__date { font-size: .8rem; color: var(--faint); }

.post__header { padding-top: 2rem; padding-bottom: 1.5rem; }
/* Blog: H1 22/28 blanco; en las páginas de sección, mayúsculas en dorado como las fichas. */
.post__title { font-size: 22px; line-height: 1.3; color: var(--white); }
@media (min-width: 768px) { .post__title { font-size: 28px; } }
.post__title--section { font-size: 24px; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: var(--brass); }
@media (min-width: 768px) { .post__title--section { font-size: 32px; } }
.post__standfirst { font-size: 1.05em; line-height: 1.55; color: var(--muted); }
.post__meta { font-size: .85rem; color: var(--faint); }
.post__meta a { color: var(--muted); }
.post__figure { margin: 0 auto 2rem; }
.post__figure img { width: 100%; border-radius: var(--radius); }
.post__figure figcaption, .gallery figcaption { margin-top: .5rem; font-size: .8rem; color: var(--faint); }
.credit { opacity: .8; }

.prose { font-size: var(--fs-p); line-height: 1.65; letter-spacing: .01em; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
/* H2 18/21 dorado y H3 16/17 blanco (en las páginas de sección, H2 de 20/24). */
.prose h2 { font-size: 18px; line-height: 1.35; color: var(--brass); margin-top: 2em; }
.prose h3 { font-size: 16px; line-height: 1.4; color: var(--white); margin-top: 1.6em; }
@media (min-width: 768px) { .prose h2 { font-size: 21px; } .prose h3 { font-size: 17px; } }
.prose--section h2 { font-size: var(--fs-h2); line-height: 1.3; }
.prose a { color: var(--brass); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--brass); }
.prose img { border-radius: var(--radius); margin: 1.5em auto; }
.prose figure { margin: 1.5em 0; }
.prose figcaption { font-size: .8rem; color: var(--faint); margin-top: .5rem; }
.prose .galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr)); gap: .5rem; margin: 1.5em 0; }
.prose .galeria figure { margin: 0; }
.prose .galeria a { display: block; }
.prose .galeria img { margin: 0; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
/* Mosaico tipo Pinterest: columnas con fotos a su proporción natural. */
.prose .galeria-mosaico { display: block; columns: 2 10rem; column-gap: .6rem; margin: 2.5em 0 1em; }
.prose .galeria-mosaico figure { break-inside: avoid; margin: 0 0 .6rem; }
.prose .galeria-mosaico img { aspect-ratio: auto; border-radius: var(--radius); transition: transform .4s ease, filter .4s ease; }
.prose .galeria-mosaico a:hover img, .prose .galeria-mosaico a:focus-visible img { transform: scale(1.02); filter: brightness(1.08); }
@media (min-width: 720px) { .prose .galeria-mosaico { columns: 3 12rem; } }
.prose blockquote { margin: 1.5em 0; padding: .25em 0 .25em 1.25em; border-left: 2px solid var(--brass); font-style: italic; color: var(--white); }
/* Lema destacado («HEARTMADE GUITART WORKS») */
.prose .lema { margin: 2em 0 .4em; text-align: center; color: var(--brass); font-weight: 600; font-size: 18px; letter-spacing: .25em; text-transform: uppercase; }
@media (min-width: 768px) { .prose .lema { font-size: 22px; } }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: .5rem .75rem; border-bottom: 1px solid var(--line); text-align: left; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }
.prose--intro { max-width: var(--narrow); color: var(--muted); margin-bottom: 1rem; }

.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); margin: 2rem 0; }
.gallery figure { margin: 0; }
.gallery img { border-radius: var(--radius); }

.video-embed { position: relative; aspect-ratio: 16 / 9; margin: 1.5rem 0; background: #000; border-radius: var(--radius); overflow: hidden; }
.video-embed iframe, .video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0; }
.chips--nav { margin: 1.25rem 0 0; }
.chip { display: inline-flex; align-items: center; gap: .3em; padding: .4rem .9rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--bone); text-decoration: none; font-size: .85rem; }
.chip span { color: var(--faint); }
.chip:hover { border-color: var(--brass); color: var(--brass-2); }
.chip.is-current { background: var(--brass); border-color: var(--brass); color: var(--coal); }
.chip.is-current span { color: var(--walnut); }

.authorhead { display: flex; gap: 1.25rem; align-items: center; }
.authorhead__avatar, .authorhead__initials { flex: 0 0 96px; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.authorhead__initials { display: grid; place-items: center; background: var(--walnut); color: var(--brass-2); font: 600 1.6rem/1 var(--sans); }

.searchform { display: flex; gap: .5rem; max-width: 34rem; margin-top: 1rem; }
.searchform input { flex: 1; }

/* ----------------------------------------------------- Formularios */
input[type=text], input[type=email], input[type=search], input[type=tel], input[type=url], textarea, select {
    width: 100%; min-height: 46px; padding: .7rem .9rem;
    background: var(--coal-2); color: var(--bone);
    border: 1px solid var(--line-2); border-radius: var(--radius);
    font: inherit;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brass) 25%, transparent); }
::placeholder { color: var(--faint); }
label { display: block; margin-bottom: .35rem; font-size: .88rem; color: var(--muted); }
.field { margin-bottom: 1rem; }
.form-row { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.hint { color: var(--faint); font-size: .8rem; }

/* ----------------------------------------------------- Comentarios */
.comments { padding: 2.5rem 0 3rem; border-top: 1px solid var(--line); margin-top: 1rem; }
.comments__count { color: var(--faint); font-size: .7em; }
.comments__form { margin-bottom: 2rem; }
.comments__rules { font-size: .82rem; color: var(--faint); }
.comments__list, .comment__replies { list-style: none; margin: 0; padding: 0; }
.comment { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.comment__head { display: flex; gap: .75rem; align-items: baseline; margin-bottom: .35rem; }
.comment__head time { font-size: .78rem; color: var(--faint); }
.comment__body { color: var(--bone); margin-bottom: .4rem; }
.comment__replies { margin-left: 1.25rem; padding-left: 1rem; border-left: 1px solid var(--line-2); }
.comments__replying { font-size: .9rem; color: var(--muted); }
.comments__empty { color: var(--faint); }

/* ------------------------------------------------------- Contacto */
.cta { margin: 3rem 0; padding: 2rem 1.25rem; border: 1px solid color-mix(in srgb, var(--brass) 35%, transparent); border-radius: calc(var(--radius) * 2); background: radial-gradient(140% 120% at 100% 0%, var(--walnut) 0%, var(--coal-2) 60%); text-align: center; }
.cta__title { font-size: var(--fs-h2); color: var(--brass); }
.cta__text { color: var(--muted); max-width: 34rem; margin: 0 auto 1.5rem; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
@media (min-width: 700px) { .cta { padding: 3rem 2rem; } }
.cta__more { margin: 1.25rem 0 0; font-size: .95rem; }

/* Caja corta a mitad de una entrada o de una página de venta */
.prose .cta-inline, .cta-inline {
    display: grid; gap: 1rem; align-items: center; margin: 2.25em 0;
    padding: 1.25rem 1.25rem 1.25rem 1.4rem;
    border: 1px solid color-mix(in srgb, var(--brass) 35%, transparent); border-left: 3px solid var(--brass); border-radius: var(--radius);
    background: linear-gradient(120deg, var(--walnut-2), var(--coal-2) 70%);
}
.cta-inline__title { margin: 0; font: 600 1.15rem/1.3 var(--sans); color: var(--bone); }
.cta-inline__text { margin: .35rem 0 0; font-size: .95rem; line-height: 1.55; color: var(--muted); }
.cta-inline__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.1rem; }
.prose .cta-inline a.link-arrow { color: var(--brass-2); }
.prose .cta-inline a.btn { color: var(--coal); text-decoration: none; }
@media (min-width: 640px) { .cta-inline { grid-template-columns: 1fr auto; } .cta-inline__actions { flex-direction: column; align-items: flex-end; } }

/* Páginas de venta: datos clave bajo el titular */
.landing__head { margin-bottom: 0; padding-bottom: 2.5rem; }
.facts { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.facts li { padding: .35rem .85rem; border: 1px solid color-mix(in srgb, var(--brass) 45%, transparent); border-radius: 999px; color: var(--brass-2); font-size: .85rem; }

/* Preguntas frecuentes */
.faq { padding: 3rem 0 1rem; }
.faq .section__title { margin-bottom: 1.25rem; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; justify-content: space-between; gap: 1rem; padding: 1.05rem 0; cursor: pointer; list-style: none; font: 600 1rem/1.4 var(--sans); color: var(--bone); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; flex: none; color: var(--brass); font: 400 1.5rem/1 var(--sans); }
.faq__item[open] .faq__q::after { content: "–"; }
.faq__q:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }
.faq__a { margin: 0 0 1.2rem; color: var(--muted); line-height: 1.7; }

/* Formulario de contacto */
.contactform { margin: 2.5rem 0 3rem; padding: 1.5rem 1.25rem; border: 1px solid var(--line-2); border-radius: calc(var(--radius) * 2); background: var(--coal-2); scroll-margin-top: calc(var(--header-h) + 1rem); }
.contactform__title { font-size: var(--fs-h2); color: var(--brass); }
.contactform__intro { color: var(--muted); margin-bottom: 1.5rem; }
.contactform__wa { display: inline-flex; align-items: center; gap: .35rem; margin-left: .25rem; color: var(--wa); font-weight: 600; white-space: nowrap; }
.contactform__legal { margin: 1rem 0 0; font-size: .78rem; color: var(--faint); }
.contactform__sent { padding: 1.25rem; border: 1px solid rgba(127, 183, 126, .5); border-radius: var(--radius); }
.contactform__sent p { color: var(--muted); }
.contactform__sent-title { font: 600 1.2rem/1.3 var(--sans); color: var(--bone) !important; margin-bottom: .5rem; }
@media (min-width: 700px) { .contactform { padding: 2.25rem 2rem; } }

.choices { border: 0; margin: 0 0 1rem; padding: 0; min-width: 0; }
.choices legend { margin-bottom: .5rem; padding: 0; font-size: .88rem; color: var(--muted); }
.choice { display: inline-flex; align-items: center; gap: .5rem; margin: 0 .4rem .5rem 0; padding: .55rem .95rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--bone); font-size: .92rem; cursor: pointer; }
.choice input { accent-color: var(--brass); margin: 0; }
.choice:has(input:checked) { border-color: var(--brass); background: color-mix(in srgb, var(--brass) 12%, transparent); }
.choice:has(input:focus-visible) { outline: 2px solid var(--brass); outline-offset: 2px; }
.checkline { display: flex; align-items: flex-start; gap: .6rem; color: var(--muted); font-size: .9rem; }
.checkline input { accent-color: var(--brass); width: 18px; height: 18px; margin: .15rem 0 0; flex: none; }
.checkline a { color: var(--brass-2); }
.field__error { margin: .35rem 0 0; color: var(--error); font-size: .85rem; }
[aria-invalid="true"] { border-color: var(--error) !important; }

.contactcards { display: grid; gap: 1rem; margin: 1rem 0 2.5rem; }
@media (min-width: 640px) { .contactcards { grid-template-columns: repeat(2, 1fr); } }
.contactcard { display: flex; flex-direction: column; gap: .3rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--coal-2); color: var(--bone); text-decoration: none; }
.contactcard .icon { color: var(--brass); margin-bottom: .4rem; }
.contactcard strong { font: 600 1.1rem/1.3 var(--sans); }
.contactcard span { color: var(--muted); }
.contactcard small { color: var(--faint); }
a.contactcard:hover { border-color: var(--brass); }
.contactcard--wa .icon { color: var(--wa); }

/* -------------------------------------------------------------- Pie */
.site-footer { margin-top: 3rem; padding: 3rem 0 1.5rem; background: var(--coal-2); border-top: 1px solid var(--line); font-size: .92rem; }
.site-footer__grid { display: grid; gap: 2rem; }
/* Logo dorado monocromático de Juan Carlos, del mismo tamaño que el anterior y centrado. */
.site-footer__brand { display: flex; justify-content: center; align-items: flex-start; }
.site-footer__brand img { width: 220px; height: auto; margin-bottom: 1rem; }
.site-footer__wa { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; }
.site-footer__wa .icon { color: var(--brass); }

/* Botón flotante de WhatsApp en todas las páginas (Javi, 2026-11-13), en dorado champán
   como los botones de WhatsApp de la guía de Juan Carlos. Bajo la cabecera (z 50). */
.wa-float {
    position: fixed; z-index: 40;
    right: calc(16px + env(safe-area-inset-right));
    bottom: calc(16px + env(safe-area-inset-bottom));
    display: inline-grid; place-items: center;
    width: 52px; height: 52px; border-radius: 999px;
    background: var(--brass); color: var(--coal);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .55);
    text-decoration: none; font: 600 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
    transition: transform .2s ease, background .2s ease;
}
.wa-float:hover, .wa-float:focus-visible { transform: translateY(-2px); background: var(--brass-2); color: var(--coal); }
.wa-float:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.wa-float .icon { width: 28px; height: 28px; }
/* Solo el icono (Juan Carlos, 2026-11-15): el texto queda para lectores de pantalla. */
.wa-float__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Hueco al final del pie para que el botón flotante no tape la última línea. */
.site-footer { padding-bottom: 96px; }
@media (min-width: 768px) { .wa-float { right: 24px; bottom: 24px; width: 56px; height: 56px; } }
.site-footer__brand p, .site-footer__col p { color: var(--muted); }
.site-footer__title { font: 600 .75rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--brass); margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: .45rem; }
.site-footer a { color: var(--bone); text-decoration: none; }
.site-footer a:hover { color: var(--brass-2); }
.site-footer__social { display: flex; gap: .9rem; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--faint); font-size: .8rem; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ------------------------------------------------------- Paginación */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin: 3rem 0 1rem; }
.pagination__item { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .8rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--bone); text-decoration: none; font-size: .9rem; }
.pagination__item:hover { border-color: var(--brass); color: var(--brass-2); }
.pagination__item--current { background: var(--brass); border-color: var(--brass); color: var(--coal); }
.pagination__gap { align-self: center; color: var(--faint); }

/* ----------------------------------------------------- Avisos y error */
.alert { margin: 1rem 0; padding: .9rem 1.1rem; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--coal-2); }
.alert--success { border-color: rgba(127, 183, 126, .5); }
.alert--error { border-color: rgba(227, 121, 107, .6); }
.alert--warning { border-color: rgba(224, 180, 90, .6); }
.errorpage { padding: 4rem 0 2rem; text-align: center; }
.errorpage__code { font: 600 4rem/1 var(--sans); color: var(--brass); margin: 0; }
.errorpage__title { font-size: 1.6rem; }
.errorpage__help { color: var(--muted); }
.errorpage__detail { text-align: left; white-space: pre-wrap; font-size: .8rem; color: var(--muted); background: var(--coal-2); padding: 1rem; border-radius: var(--radius); }
.errorpage__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.5rem; }

.icon { flex: 0 0 auto; }

/* ------------------------------------------- Portada: parallax y cristal */
/* Cada foto se queda fija (sticky) mientras su panel de cristal ahumado sube
   por encima; la siguiente foto entra tapando a la anterior. Sin JS funciona
   igual; el JS solo añade la entrada suave de los paneles. */
.parallax__frame { position: relative; }
.parallax__bg { position: sticky; top: 0; display: block; height: 100vh; height: 100svh; overflow: hidden; background: var(--coal); }
.parallax__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.72); }
.parallax__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--coal) 35%, transparent) 0%, transparent 35%, transparent 65%, color-mix(in srgb, var(--coal) 60%, transparent) 100%); }
.parallax__content { position: relative; z-index: 1; margin-top: -100vh; margin-top: -100svh; padding: 85vh 0 55vh; padding: 85svh 0 55svh; }
/* Corazón a color de bienvenida, bien grande y arriba del todo (hoja de ruta de Juan
   Carlos, 2026-11-15). Va dentro del contenido, así que sube con el scroll. */
.home-heart { display: block; width: min(560px, 92vw); height: auto; margin: 0 auto 30vh; margin-bottom: 30svh; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .7)); }
.parallax__frame--intro .parallax__content { padding-top: 6vh; padding-top: 6svh; padding-bottom: 45vh; padding-bottom: 45svh; }
@media (min-width: 768px) { .home-heart { width: min(640px, 70vw); margin-bottom: 34vh; } .parallax__frame--intro .parallax__content { padding-top: 8vh; } }
/* El corazón flota sobre la foto (Carlos, 2026-11-22: «que no parezca pegado con una
   chincheta»): entra suave en cada carga y main.js lo desplaza un poco con el scroll
   (--hy). Va con `translate`, aparte de `transform`, para no pisar la entrada. */
.home-heart { translate: 0 var(--hy, 0px); will-change: translate; animation: heart-in 1.6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes heart-in { from { opacity: 0; transform: translateY(26px) scale(.96); } to { opacity: 1; transform: none; } }
/* Los paneles de cristal también se mueven un poco al hacer scroll (--gy). */
.parallax .glass { translate: 0 var(--gy, 0px); }
@media (prefers-reduced-motion: reduce) { .home-heart { animation: none; translate: none; } .parallax .glass { translate: none; } }
/* Movimiento suave de las fotos (main.js pone --pz, de 0 a 1, mientras cada foto
   está a la vista): se acercan y desplazan un poco, y entran fundiéndose, para que
   en el móvil no parezcan pegadas una encima de otra. */
.parallax__bg img { transform: translate3d(0, calc(var(--pz, .5) * -4%), 0) scale(1.1); transform-origin: 50% 40%; will-change: transform; }
.parallax__frame + .parallax__frame .parallax__bg img { opacity: var(--pf, 1); }
@media (prefers-reduced-motion: reduce) { .parallax__bg img { transform: none; opacity: 1 !important; } }
.glass {
    max-width: var(--narrow); margin: 0 auto; padding: 1.75rem 1.5rem;
    background: color-mix(in srgb, var(--coal) 45%, transparent);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 1px solid color-mix(in srgb, var(--brass) 55%, transparent); border-radius: 4px;
}
.glass__title { margin: 0 0 1rem; font-size: 20px; line-height: 1.25; letter-spacing: .08em; text-transform: uppercase; color: var(--brass); }
.glass__text { margin: 0 0 1em; font-size: var(--fs-p); line-height: 1.65; color: var(--white); }
.glass__text:last-child { margin-bottom: 0; }
.glass__text--strong { font-weight: 600; }
.glass--phrase { text-align: center; padding: 2.25rem 1.5rem; }
.glass__phrase { margin: 0; font-size: 20px; line-height: 1.4; font-weight: 500; color: var(--white); }
@media (min-width: 768px) {
    .glass { padding: 2.25rem 2.5rem; }
    .glass__title { font-size: 24px; }
    .glass__phrase { font-size: 26px; }
}
/* Entrada suave de los paneles (main.js añade .reveal y luego .is-in). */
.reveal { opacity: 0; transform: translateY(48px); transition: opacity .9s ease, transform .9s ease; }
.reveal--above { transform: translateY(-48px); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
/* «Heartmade GuitART works» de la web antigua sobre la foto de Eugenia con la guitarra al hombro. */
.glass--marca { padding: 1.5rem 1.25rem; }
.glass__marca { display: block; width: min(300px, 76vw); height: auto; margin: 0 auto; }
@media (min-width: 768px) { .glass__marca { width: 380px; } }

/* Móvil (Carlos, 2026-11-19: «pensar en la pantalla del móvil»): las fotos ya no ocupan
   la pantalla entera recortadas a lo bestia; van a lo ancho con su encuadre propio
   (cuadrado o vertical, `-m.webp`) para que se vean la modelo, el sitio y la forma de
   la guitarra, y el cristal se monta un poco sobre el pie de cada foto. */
@media (max-width: 767px) {
    .parallax__bg { position: relative; height: auto; }
    .parallax__bg img { height: auto; filter: brightness(.9); transform: translate3d(0, calc(var(--pz, .5) * -2.5%), 0) scale(1.06); }
    .parallax__bg::after { background: linear-gradient(180deg, transparent 0%, transparent 70%, var(--coal) 100%); }
    .parallax__content { margin-top: -12vw; padding: 0 0 14vw; }
    /* Corazón sobre la foto en blanco y negro (cuadrada) y el texto entrando por su pie. */
    .parallax__frame--intro .parallax__content { margin-top: -100vw; padding: 4vw 0 14vw; }
    .home-heart { width: 84vw; margin-bottom: 34vw; }
}

/* Cierre: frase y enlace de texto champán a la galería sobre la guitarra roja, que
   ahora se ve bien (Carlos: «a la guitarra roja hay que sacarle partido»). */
.home-cierre { position: relative; overflow: hidden; padding: 6rem 0 6.5rem; background: var(--coal); text-align: center; }
.home-cierre__bg { position: absolute; inset: 0; }
.home-cierre__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.home-cierre__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--coal) 0%, transparent 25%, color-mix(in srgb, var(--coal) 45%, transparent) 50%, transparent 75%, var(--coal) 100%); }
.home-cierre__content { position: relative; }
.home-cierre__text { margin: 0 auto 1.75rem; font-size: 19px; line-height: 1.5; color: var(--white); text-wrap: balance; text-shadow: 0 2px 12px rgba(0, 0, 0, .85); }
@media (min-width: 768px) { .home-cierre { padding: 8rem 0 8.5rem; } .home-cierre__text { font-size: 23px; } }
@media (max-width: 767px) {
    .home-cierre { padding: 0 0 3.5rem; }
    .home-cierre__bg { position: relative; inset: auto; }
    .home-cierre__bg img { height: auto; object-fit: initial; opacity: 1; }
    .home-cierre__bg::after { background: linear-gradient(180deg, transparent 0%, transparent 65%, var(--coal) 100%); }
    .home-cierre__content { padding-top: .75rem; }
}

/* Enlace de texto limpio en champán, con zona de toque cómoda en el móvil. */
.link-champan { display: inline-flex; align-items: center; gap: .5em; min-height: 48px; padding: .6rem 1.1rem; color: var(--brass); font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--brass) 45%, transparent); transition: color .2s ease, border-color .2s ease, gap .2s ease; }
.link-champan:hover, .link-champan:focus-visible { color: var(--brass-2); border-color: var(--brass-2); gap: .8em; }
.link-champan--suave { letter-spacing: .06em; text-transform: none; font-size: 16px; }

/* Textos de sección: frase centrada bajo el lema y lugar del taller en Contacto. */
.prose .centrado { text-align: center; }
/* Frase del lema entre comillas, separada del texto que sigue (Juan Carlos, 2026-11-16). */
.prose .frase-lema { margin-bottom: 2.25em; text-align: center; font-style: italic; color: var(--white); text-wrap: balance; }
/* Foto bajo el título de El Taller y Sobre mí. */
.post__lead { margin: 0 0 2rem; }
.post__lead img { width: 100%; border-radius: var(--radius); }

/* ------------------------------------- Lightbox de los mosaicos de fotos */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: color-mix(in srgb, var(--coal) 94%, transparent); opacity: 0; transition: opacity .25s ease; }
.lightbox.is-open { opacity: 1; }
.lightbox[hidden], .lightbox__btn[hidden] { display: none; }
.lightbox__figure { margin: 0; display: grid; justify-items: center; gap: .75rem; max-width: 100vw; padding: 0 12px; }
.lightbox__img { max-width: min(100%, 1400px); max-height: 82vh; max-height: 82svh; width: auto; height: auto; border-radius: 4px; box-shadow: var(--shadow); user-select: none; -webkit-user-drag: none; }
.lightbox__count { margin: 0; color: var(--muted); font-size: 13px; letter-spacing: .08em; }
.lightbox__count b { color: var(--brass); font-weight: 600; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid color-mix(in srgb, var(--brass) 60%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--coal) 70%, transparent); color: var(--brass); font: 400 26px/1 var(--sans); cursor: pointer; transition: background .2s ease, color .2s ease; }
.lightbox__btn:hover, .lightbox__btn:focus-visible { background: var(--brass); color: var(--coal); outline: none; }
.lightbox__close { top: calc(14px + env(safe-area-inset-top)); right: 14px; font-size: 22px; }
.lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); }
@media (max-width: 767px) { .lightbox__prev, .lightbox__next { top: auto; bottom: calc(18px + env(safe-area-inset-bottom)); transform: none; } .lightbox__prev { left: calc(50% - 64px); } .lightbox__next { right: calc(50% - 64px); } .lightbox__img { max-height: 72vh; max-height: 72svh; } }
@media (min-width: 768px) { .lightbox__prev { left: 24px; } .lightbox__next { right: 24px; } .lightbox__close { right: 24px; top: 24px; } }
.contact-place { display: flex; align-items: center; gap: .5rem; margin: 2.5rem 0 3rem; color: var(--muted); font-size: var(--fs-p); }
.contact-place .icon { color: var(--brass); flex: none; }

/* ------------------------------------------- Embudo a WhatsApp en entradas (2026-11-20) */
/* Nota del luthier a mitad del texto: sin caja, solo línea dorada, como una acotación. */
.prose .nota-luthier, .nota-luthier { margin: 2.25em 0; padding: .25rem 0 .25rem 1.1rem; border-left: 2px solid var(--brass); }
.nota-luthier__kicker { margin: 0 0 .35rem; font: 600 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }
.prose .nota-luthier__text, .nota-luthier__text { margin: 0; font-style: italic; color: var(--muted); }
.prose a.nota-luthier__link, .nota-luthier__link { display: inline-flex; align-items: center; gap: .35rem; margin-left: .25rem; font-style: normal; font-weight: 600; color: var(--brass); text-decoration: none; white-space: nowrap; }
.prose a.nota-luthier__link:hover { color: var(--brass-2); }
.nota-luthier__link .icon { width: 16px; height: 16px; }

/* Firma del luthier al final de la entrada: «sobre el autor» con su WhatsApp. */
.firma-luthier { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; margin: 3rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--line-2); }
.firma-luthier__logo { width: 56px; height: 56px; object-fit: contain; opacity: .9; }
.firma-luthier__name { margin: 0; font: 600 1.1rem/1.3 var(--sans); color: var(--bone); }
.firma-luthier__role { margin: .15rem 0 .75rem; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.firma-luthier__text { margin: 0 0 1rem; color: var(--muted); }
.firma-luthier__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin: 0; }
.firma-luthier__actions .btn { color: var(--coal); text-decoration: none; }
/* En el móvil el texto y el botón ocupan todo el ancho bajo el logo y el nombre. */
@media (max-width: 639px) {
    .firma-luthier { column-gap: .9rem; row-gap: 0; align-items: center; }
    .firma-luthier__body { display: contents; }
    .firma-luthier__logo { grid-row: 1 / span 2; }
    .firma-luthier__name { align-self: end; }
    .firma-luthier__role { align-self: start; margin-bottom: 0; }
    .firma-luthier__text { grid-column: 1 / -1; margin-top: 1rem; }
    .firma-luthier__actions { grid-column: 1 / -1; }
}
@media (min-width: 640px) { .firma-luthier { grid-template-columns: 72px 1fr; gap: 1.5rem; } .firma-luthier__logo { width: 72px; height: 72px; } }

/* Globo junto al botón flotante: aparece al ir leyendo, una vez por visita (main.js). */
.wa-nudge {
    position: fixed; z-index: 40;
    right: calc(80px + env(safe-area-inset-right));
    bottom: calc(22px + env(safe-area-inset-bottom));
    display: flex; align-items: center; gap: .25rem;
    max-width: min(17rem, calc(100vw - 112px));
    padding: .55rem .4rem .55rem .9rem;
    border: 1px solid color-mix(in srgb, var(--brass) 45%, transparent); border-radius: 14px 14px 4px 14px;
    background: var(--coal-2); box-shadow: 0 8px 24px rgba(0, 0, 0, .55);
    opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease;
}
.wa-nudge.is-visible { opacity: 1; transform: none; }
.wa-nudge[hidden] { display: none; }
.wa-nudge__link { font-size: .88rem; line-height: 1.35; color: var(--bone); text-decoration: none; }
.wa-nudge__link:hover { color: var(--brass-2); }
.wa-nudge__close { flex: none; width: 28px; height: 28px; border: 0; background: none; color: var(--muted); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.wa-nudge__close:hover { color: var(--bone); }
@media (min-width: 768px) { .wa-nudge { right: 92px; bottom: 30px; } }
@media (prefers-reduced-motion: reduce) { .wa-nudge { transition: none; } }

/* ------------------------------------------------ Vídeos externos que esperan al clic y aviso de cookies */
.embed-consent { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; padding: 1.5rem; margin: 1.5rem 0; min-height: 200px; text-align: center; background: var(--coal-3); border: 1px solid var(--line-2); border-radius: var(--radius); font-size: .9rem; }
.embed-consent p { margin: 0; max-width: 46ch; }
.video-embed .embed-consent { position: absolute; inset: 0; margin: 0; border: 0; border-radius: 0; }
/* Aviso de cookies (partials/cookies-aviso.php): dos capas, botones iguales (AEPD 2023). */
.cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; padding: 1.15rem 1.15rem 1rem; background: var(--coal-2); color: var(--bone); border: 1px solid color-mix(in srgb, var(--brass) 30%, transparent); border-top: 2px solid var(--brass); border-radius: var(--radius); box-shadow: var(--shadow); }
.cookies[hidden] { display: none; }
.cookies__kicker { margin: 0 0 .35rem; font: 600 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }
.cookies__title { margin: 0 0 .5rem; font: 600 1.15rem/1.25 var(--sans); color: var(--white); }
.cookies__text { margin: 0 0 .9rem; font-size: .9rem; line-height: 1.55; color: var(--muted); }
.cookies__text a, .cookies-panel__mas a { color: var(--brass); text-underline-offset: .2em; }
.cookies__botones { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.cookies__btn { min-height: 44px; padding: .5em .4em; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; border-color: color-mix(in srgb, var(--brass) 55%, transparent); }
.cookies__btn:hover, .cookies__btn:focus-visible { background: color-mix(in srgb, var(--brass) 14%, transparent); }
@media (min-width: 768px) { .cookies { left: 24px; right: auto; bottom: 24px; width: 460px; } }

.cookies-panel { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 1.4rem 1.25rem 1.15rem; overflow-y: auto; background: var(--coal-2); color: var(--bone); border: 1px solid color-mix(in srgb, var(--brass) 30%, transparent); border-top: 2px solid var(--brass); border-radius: var(--radius); box-shadow: var(--shadow); }
.cookies-panel::backdrop { background: color-mix(in srgb, var(--coal) 78%, transparent); }
.cookies-panel__item { padding: .9rem 0; border-top: 1px solid var(--line); }
.cookies-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cookies-panel__head h3 { margin: 0; font: 600 .95rem/1.3 var(--sans); color: var(--white); }
.cookies-panel__item p { margin: .4rem 0 0; font-size: .86rem; line-height: 1.55; color: var(--muted); }
.cookies-panel__siempre { font: 600 .68rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); white-space: nowrap; }
.cookies-panel__mas { margin: .25rem 0 1rem; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--faint); }
.cookies-panel .cookies__botones { grid-template-columns: 1fr; }
@media (min-width: 480px) { .cookies-panel .cookies__botones { grid-template-columns: repeat(3, 1fr); } }

.interruptor { position: relative; display: inline-flex; flex-shrink: 0; width: 46px; height: 26px; }
.interruptor input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.interruptor__pista { width: 100%; height: 100%; border: 1px solid var(--line-2); border-radius: 999px; background: var(--coal-3); transition: background .2s ease, border-color .2s ease; }
.interruptor__pista::after { content: ""; position: absolute; top: 4px; left: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--faint); transition: transform .2s ease, background .2s ease; }
.interruptor input:checked + .interruptor__pista { background: color-mix(in srgb, var(--brass) 28%, transparent); border-color: var(--brass); }
.interruptor input:checked + .interruptor__pista::after { transform: translateX(20px); background: var(--brass); }
.interruptor input:focus-visible + .interruptor__pista { outline: 2px solid var(--brass); outline-offset: 2px; }
.site-footer__legal .linklike { font-size: inherit; }
