/*
 * María Novella · pliego editorial.
 *
 * Sin contenedores: no hay tarjetas, ni cajas, ni bordes alrededor del
 * contenido. La estructura la dan una retícula de 12 columnas, filetes de 1px
 * que cruzan de borde a borde y el espacio.
 *
 * Paleta y tipografías: docs/BRAND.md. El blanco es papel, aprobado el
 * 30/09/2026; la tinta y los acentos siguen siendo los siete tonos de marca.
 */

@font-face {
  font-family: "MN Goudy Light";
  src: url("https://static.wixstatic.com/ufonts/c5abb7_07f2650c643c43e88add662932df42af/woff2/file.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "MN Goudy";
  src: url("https://static.wixstatic.com/ufonts/85ccec_7345187bd7ed44a5ad29995cab7e60d1/woff2/file.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "MN Scribe";
  src: url("https://static.wixstatic.com/ufonts/e1d9e7_9f84ef8dbb184fa99c12f90cb352d295/woff2/file.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: light;

  /* Marca (BRAND.md) */
  --obsidian: #211e17;
  --cigar: #353126;
  --mosswood: #716a4a;
  --goldstone: #352e1d;
  --ashstone: #a59e8b;
  --linen: #999682;
  --ivory: #ecebe8;

  /* Superficies y tintas */
  --paper: #ffffff;
  --band: var(--ivory);
  --ink: var(--obsidian);
  --ink-soft: #4c4739;
  --accent: var(--mosswood);
  --rule: rgba(33, 30, 23, 0.15);
  --rule-mid: rgba(33, 30, 23, 0.28);
  --rule-strong: rgba(33, 30, 23, 0.52);

  --font-display: "MN Goudy Light", "Goudy Old Style", Georgia, serif;
  --font-text: "MN Goudy", "Goudy Old Style", Georgia, serif;
  --font-hand: "MN Scribe", cursive;

  /* Escala tipográfica */
  --t-hero: clamp(2.375rem, 3.6vw, 4rem);
  --t-xl: clamp(2rem, 3.6vw, 3.5rem);
  --t-lg: clamp(1.5rem, 2.4vw, 2.125rem);
  --t-md: clamp(1.1875rem, 1.5vw, 1.4375rem);
  --t-body: 1.0625rem;
  --t-caps: 0.75rem;
  --t-caps-sm: 0.6875rem;

  /* Retícula y ritmo */
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --col-gap: clamp(1.25rem, 2.4vw, 2.5rem);
  --max: 1560px;
  --section: clamp(4.5rem, 8vw, 9rem);
  --masthead: 74px;
  --track: 0.28em;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--masthead) + 2rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--t-body);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
figure, blockquote { margin: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--accent); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
html { caret-color: var(--accent); scrollbar-color: var(--ashstone) var(--paper); scrollbar-width: thin; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus {
  position: fixed; top: 1rem; left: 1rem; z-index: 60;
  width: auto; height: auto; clip-path: none;
  background: var(--ink); color: var(--paper); padding: 0.85rem 1.25rem;
  font-size: var(--t-caps); letter-spacing: var(--track); text-transform: uppercase;
}

/* ===========================================================
   Retícula
   =========================================================== */

.grid {
  width: 100%; max-width: var(--max); margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--col-gap);
}
@media (min-width: 48em) { .grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
@media (min-width: 64em) { .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); } }

.section { padding-block: var(--section); }
.band { background: var(--band); }

/* La materia del papel solo en las bandas: el blanco se queda limpio */
.band { position: relative; isolation: isolate; }
.band::before {
  content: "";
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0.07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
}

/* ===========================================================
   Tipografía
   =========================================================== */

.caps { font-size: var(--t-caps); letter-spacing: var(--track); text-transform: uppercase; line-height: 1.6; }
.caps--sm { font-size: var(--t-caps-sm); letter-spacing: 0.22em; }
.caps--accent { color: var(--accent); }
.soft { color: var(--ink-soft); }

.display { font-family: var(--font-display); font-weight: 400; line-height: 1.04; letter-spacing: -0.006em; text-wrap: balance; }
.t-hero { font-size: var(--t-hero); }
.t-xl { font-size: var(--t-xl); line-height: 1.08; }
.t-lg { font-size: var(--t-lg); line-height: 1.16; }
.lead { font-size: var(--t-md); line-height: 1.5; text-wrap: pretty; max-width: 42ch; }
.prose > * + * { margin-top: 1.3em; }
.prose p { max-width: 58ch; text-wrap: pretty; }
.hand { font-family: var(--font-hand); font-size: clamp(1.375rem, 2.2vw, 1.875rem); line-height: 1.3; color: var(--accent); }

.rule-h { height: 1px; background: var(--rule); border: 0; }
.rule-orn { position: relative; height: 1px; background: var(--rule-mid); border: 0; width: clamp(96px, 12vw, 148px); }
.rule-orn::after {
  content: ""; position: absolute; left: 50%; top: -3px;
  width: 7px; height: 7px; background: var(--accent);
  transform: translateX(-50%) rotate(45deg);
}

/* ===========================================================
   Acciones
   =========================================================== */

.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem;
  min-height: 56px; padding: 0.9rem 2rem;
  border: 1px solid var(--accent); border-radius: 0;
  background: var(--accent); color: var(--paper);
  font-size: var(--t-caps); letter-spacing: var(--track); text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: color 0.45s var(--ease-soft), border-color 0.45s var(--ease-soft);
}
/* El relleno entra por la izquierda: microinteracción, sin degradado */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn:hover, .btn:focus-visible { border-color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn .i { transition: transform 0.45s var(--ease); }
.btn:hover .i { transform: translateX(4px); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--paper); }

/* Enlace con subrayado que se traza */
.link {
  position: relative; display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: var(--t-caps); letter-spacing: var(--track); text-transform: uppercase;
  text-decoration: none; padding-bottom: 0.4rem;
}
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.link:hover::after, .link:focus-visible::after { transform: scaleX(1); }
.link .i { transition: transform 0.45s var(--ease); }
.link:hover .i { transform: translateX(4px); }

.i { width: 1em; height: 1em; stroke-width: 1.5; flex: none; }

/* ===========================================================
   Cabecera
   =========================================================== */

.masthead {
  position: sticky; top: 0; z-index: 50;
  min-height: var(--masthead);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  /* Ojo: backdrop-filter crea bloque contenedor y dejaba el panel fijo del
     menú móvil a la altura de la cabecera. Solo se aplica en escritorio,
     donde el menú ya no es un panel. */
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease-soft);
}
.masthead.is-stuck { border-bottom-color: var(--rule); }
.masthead__in {
  width: 100%; max-width: var(--max); margin-inline: auto;
  padding: 0.75rem var(--gutter);
  min-height: var(--masthead);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.masthead__mark { height: 34px; width: auto; }
.nav { display: none; }
.masthead__right { display: flex; align-items: center; gap: clamp(0.85rem, 2vw, 2rem); }

.lang { background: none; border: 0; cursor: pointer; padding: 0.4rem 0; display: inline-flex; gap: 0.3rem; color: var(--ink-soft); }
.lang .on { color: var(--ink); border-bottom: 1px solid var(--accent); }
/* En WordPress el selector es un par de enlaces, uno por idioma */
.lang a { color: inherit; text-decoration: none; }
.lang a:hover { color: var(--ink); }

.burger {
  background: none; border: 1px solid var(--rule-strong); cursor: pointer;
  min-height: 44px; padding: 0 1rem;
  font-size: var(--t-caps-sm); letter-spacing: 0.22em; text-transform: uppercase;
}
.masthead .btn { display: none; }

/* Panel móvil */
.nav {
  position: fixed; inset: var(--masthead) 0 0; z-index: 40;
  background: var(--paper);
  padding: 2.5rem var(--gutter) 3rem;
  flex-direction: column; gap: 2rem; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.nav.is-open { display: flex; opacity: 1; visibility: visible; transform: none; }
.nav__list { display: grid; }
.nav__list li + li { border-top: 1px solid var(--rule); }
.nav__list a { display: block; padding: 0.95rem 0; font-family: var(--font-display); font-size: var(--t-md); text-decoration: none; }
.nav.is-open .btn { display: inline-flex; }

@media (min-width: 64em) {
  .masthead { backdrop-filter: blur(10px); }
  .burger { display: none; }
  .nav {
    position: static; inset: auto; display: flex; flex-direction: row; align-items: center;
    padding: 0; gap: 2rem; background: none; opacity: 1; visibility: visible; transform: none; overflow: visible;
  }
  .nav__list { display: flex; gap: clamp(1.1rem, 2vw, 2rem); }
  .nav__list li + li { border: 0; }
  .nav__list a {
    font-family: var(--font-text); font-size: var(--t-caps); letter-spacing: 0.16em;
    text-transform: uppercase; padding: 0.3rem 0; white-space: nowrap; position: relative;
  }
  .nav__list a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--accent);
    transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
  }
  .nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
  .masthead .btn { display: inline-flex; min-height: 46px; padding: 0.6rem 1.35rem; }
  .nav .btn { display: none; }
}

/* ===========================================================
   1 · Hero: pliego partido, sin caja
   =========================================================== */

.hero { border-bottom: 1px solid var(--rule); }
.hero__in {
  width: 100%; max-width: var(--max); margin-inline: auto;
  display: grid;
}
.hero__copy {
  padding: clamp(2rem, 4vw, 3.5rem) var(--gutter) clamp(1.75rem, 3vw, 2.75rem);
  display: grid; align-content: center; gap: clamp(0.85rem, 1.4vw, 1.25rem);
  justify-items: start;
}
.hero__emblem { width: clamp(38px, 3.6vw, 50px); }
.hero__wordmark { width: clamp(172px, 19vw, 262px); }
.hero__title { max-width: 12ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1rem, 2vw, 1.75rem); margin-top: 0.4rem; }

/* En móvil la portada va centrada; a partir de 64em vuelve a la izquierda,
   que es donde la pide el pliego partido. */
@media (max-width: 63.99em) {
  .hero__copy { justify-items: center; text-align: center; }
  .hero__actions { justify-content: center; }
  .hero__copy .rule-orn { margin-inline: auto; }
}
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 0.6rem clamp(1.25rem, 3vw, 2.75rem);
  margin-top: clamp(1rem, 2vw, 1.75rem); padding-top: clamp(1rem, 2vw, 1.5rem);
  border-top: 1px solid var(--rule); width: 100%;
  color: var(--ink-soft);
}
.hero__facts li { display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap; }
.hero__facts .i { color: var(--accent); }

.hero__media { position: relative; overflow: clip; min-height: clamp(320px, 52vw, 520px); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }

@media (min-width: 64em) {
  .hero__in { grid-template-columns: 5.6fr 6.4fr; min-height: calc(100svh - var(--masthead)); }
  .hero__media { min-height: 0; }
  .hero__copy { padding-right: clamp(2rem, 4vw, 4rem); }
}

/* ===========================================================
   2 · Manifiesto
   =========================================================== */

.manifesto__in { grid-column: 1 / -1; display: grid; justify-items: center; text-align: center; gap: 1.5rem; }
.manifesto__in > * { max-width: 24ch; }
.manifesto__in .prose { max-width: 56ch; }
.manifesto__in .prose p { max-width: none; }
.signature { width: clamp(150px, 20vw, 210px); filter: grayscale(1); opacity: 0.9; margin-top: 0.5rem; }

/* ===========================================================
   3 · El camino de la novia
   =========================================================== */

.journey__head { grid-column: 1 / -1; display: grid; gap: 1rem; max-width: 46ch; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.journey__media { grid-column: 1 / -1; overflow: clip; margin-bottom: 2rem; }
.journey__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.journey__list { grid-column: 1 / -1; border-top: 1px solid var(--rule); }

.phase {
  display: grid; gap: 0.4rem;
  padding: clamp(1.15rem, 2.2vw, 1.75rem) 0;
  border-bottom: 1px solid var(--rule);
  transition: background-color 0.45s var(--ease-soft);
}
.phase__name { font-family: var(--font-display); font-size: var(--t-lg); line-height: 1.15; }
.phase__lead { font-family: var(--font-display); font-size: var(--t-md); line-height: 1.35; margin-bottom: 0.6rem; }
.phase__text { color: var(--ink-soft); max-width: 54ch; }

@media (min-width: 64em) {
  .journey__media { grid-column: 1 / span 5; position: sticky; top: calc(var(--masthead) + 2.5rem); margin-bottom: 0; }
  .journey__list { grid-column: 7 / -1; }
  .phase { grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); column-gap: var(--col-gap); align-items: baseline; }
}

/* ===========================================================
   4 · Servicios: columnas separadas por filete, sin tarjeta
   =========================================================== */

.services__head { grid-column: 1 / -1; display: grid; gap: 1rem; max-width: 44ch; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.services__list { grid-column: 1 / -1; display: grid; border-top: 1px solid var(--rule); }

.service {
  position: relative;
  display: grid; align-content: start; gap: 0.9rem;
  padding: clamp(1.75rem, 3vw, 2.75rem) clamp(0rem, 2vw, 2rem);
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  transition: background-color 0.5s var(--ease-soft);
}
.service:hover, .service:focus-visible { background-color: var(--band); }
/* Sobre una banda el tinte sería del mismo color que el fondo: se invierte */
.band .service:hover, .band .service:focus-visible { background-color: var(--paper); }
.service__name { font-family: var(--font-display); font-size: var(--t-lg); line-height: 1.15; }
.service p { color: var(--ink-soft); max-width: 46ch; }
.service__more { margin-top: 0.35rem; color: var(--accent); display: inline-flex; align-items: center; gap: 0.5rem; }
.service__more .i { transition: transform 0.45s var(--ease); }
.service:hover .service__more .i { transform: translateX(5px); }

@media (min-width: 64em) {
  .services__list { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--rule); }
  /* Las tres columnas con el mismo margen interior. Antes la primera y la
     última iban sin él y el tinte del hover se pegaba al texto. */
  .service { border-bottom: 0; padding-inline: clamp(1.5rem, 2.4vw, 2.5rem); }
  .service + .service { border-left: 1px solid var(--rule); }
}

.services__note { grid-column: 1 / -1; margin-top: clamp(1.75rem, 3vw, 2.5rem); max-width: 54ch; color: var(--ink-soft); }

/* ===========================================================
   5 · Confianza: sus marcas profesionales
   =========================================================== */

.trust__in { grid-column: 1 / -1; display: grid; justify-items: center; text-align: center; gap: clamp(1.75rem, 3vw, 2.5rem); }
.trust__features {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem clamp(1.5rem, 3vw, 3rem);
  color: var(--ink-soft);
}
.trust__features li { display: inline-flex; align-items: center; gap: 0.5rem; }
.trust__features .i { color: var(--accent); }

/* ===========================================================
   6 · Galería: mosaico a sangre, sin marcos
   =========================================================== */

.gallery__head { grid-column: 1 / -1; display: grid; gap: 1rem; max-width: 44ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.mosaic { grid-column: 1 / -1; display: grid; gap: clamp(0.75rem, 1.4vw, 1.25rem); }
.shot { position: relative; overflow: clip; }
.shot img {
  width: 100%; height: 100%; object-fit: cover;
  aspect-ratio: 4 / 5;
  filter: grayscale(1) contrast(1.05);
  transition: transform 0.9s var(--ease);
}
.shot:hover img { transform: scale(1.035); }
.shot--wide img { aspect-ratio: 3 / 2; }

/* Lámina por clavar: el hueco honesto donde falta una fotografía */
.shot--empty {
  display: grid; place-content: center; gap: 0.6rem; text-align: center;
  aspect-ratio: 4 / 5; padding: 1.5rem;
  background: var(--band);
  border: 1px dashed var(--rule-mid);
}
.shot--empty .i { color: var(--accent); margin-inline: auto; width: 1.4rem; height: 1.4rem; }

@media (min-width: 48em) {
  .mosaic { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .mosaic > * { grid-column: span 4; }
  .mosaic > .c3 { grid-column: span 3; }
  .mosaic > .c5 { grid-column: span 5; }
  .mosaic > .c6 { grid-column: span 6; }
  .mosaic > .c7 { grid-column: span 7; }
  .mosaic > .drop { margin-top: clamp(1.5rem, 3vw, 3rem); }
}

/* ===========================================================
   7 · Testimonios
   =========================================================== */

.notes__head { grid-column: 1 / -1; display: grid; gap: 1rem; max-width: 44ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.notes__list { grid-column: 1 / -1; display: grid; gap: clamp(1.75rem, 3vw, 2.5rem); }
.note { display: grid; gap: 1.1rem; padding-top: 1.5rem; border-top: 1px solid var(--rule-mid); }
.note__stars { display: flex; gap: 0.25rem; color: var(--accent); }
.note__stars .i { width: 0.9rem; height: 0.9rem; fill: currentColor; }
.note blockquote p { font-family: var(--font-display); font-size: var(--t-md); line-height: 1.4; }
.note figcaption { color: var(--ink-soft); }
@media (min-width: 55em) { .notes__list { grid-template-columns: repeat(3, 1fr); } }

.rating {
  grid-column: 1 / -1; justify-self: start;
  display: inline-flex; align-items: center; gap: clamp(0.6rem, 1.2vw, 1rem); flex-wrap: wrap;
  margin-top: clamp(1.75rem, 3vw, 2.5rem); padding: 0.9rem 1.35rem;
  border: 1px solid var(--rule-mid); color: var(--ink);
  text-decoration: none;
  transition: border-color 0.45s var(--ease-soft), background-color 0.45s var(--ease-soft);
}
.rating:hover { border-color: var(--accent); background: var(--paper); }
.rating__stars { display: inline-flex; gap: 0.2rem; color: var(--accent); }
.rating__stars .i { width: 0.95rem; height: 0.95rem; fill: currentColor; }
.rating__num { font-family: var(--font-display); font-size: var(--t-lg); line-height: 1; }
.rating__label { color: var(--ink-soft); }
.rating .i:last-child { color: var(--accent); transition: transform 0.45s var(--ease); }
.rating:hover .i:last-child { transform: translateX(4px); }

/* ===========================================================
   8 · Contacto
   =========================================================== */

.contact__head { grid-column: 1 / -1; display: grid; gap: 1.1rem; max-width: 46ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.form { grid-column: 1 / -1; display: grid; gap: clamp(1.1rem, 2vw, 1.6rem); }
.row { display: grid; gap: clamp(1.1rem, 2vw, 1.6rem); }
@media (min-width: 48em) { .row--2 { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 0.5rem; }
.field label { color: var(--ink-soft); }
.field input, .field textarea, .field select {
  background: transparent; border: 0; border-bottom: 1px solid var(--rule-strong);
  padding: 0.7rem 0; font-size: var(--t-body); width: 100%;
  transition: border-color 0.4s var(--ease-soft);
}
.field textarea { min-height: 128px; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-bottom-color: var(--accent); }
.field ::placeholder { color: var(--accent); opacity: 1; }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 0.5rem; }
.form__status { color: var(--accent); font-size: var(--t-caps-sm); letter-spacing: 0.14em; min-height: 1.2em; }
.form__note { color: var(--ink-soft); font-size: var(--t-caps); max-width: 46ch; margin-top: 1rem; }

.contact__aside { grid-column: 1 / -1; display: grid; align-content: start; gap: 0; margin-top: clamp(2.5rem, 4vw, 0rem); }
.contact__item { display: grid; gap: 0.35rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.contact__item:first-child { border-top: 1px solid var(--rule); }
.contact__item dt { color: var(--ink-soft); display: inline-flex; align-items: center; gap: 0.5rem; }
.contact__item dt .i { color: var(--accent); }
.contact__item dd { margin: 0; font-family: var(--font-display); font-size: var(--t-md); }
.contact__item a { text-decoration: none; border-bottom: 1px solid var(--rule); transition: border-color 0.35s var(--ease-soft), color 0.35s var(--ease-soft); }
.contact__item a:hover { color: var(--accent); border-color: var(--accent); }

@media (min-width: 64em) {
  .contact__head { grid-column: 1 / span 5; margin-bottom: 0; }
  .form { grid-column: 1 / span 6; }
  .contact__aside { grid-column: 8 / -1; margin-top: 0; }
}

/* ===========================================================
   9 · Pie
   =========================================================== */

.foot { border-top: 1px solid var(--rule); padding-block: clamp(3rem, 5vw, 4.5rem) 1.75rem; }
.foot__grid { grid-column: 1 / -1; display: grid; gap: clamp(2rem, 4vw, 3rem); }
.foot__emblem { width: clamp(120px, 15vw, 158px); }
.foot__tag { font-family: var(--font-display); font-size: var(--t-md); max-width: 22ch; margin-top: 1.1rem; }
.foot__col h2 { color: var(--ink-soft); padding-bottom: 0.75rem; border-bottom: 1px solid var(--rule); margin-bottom: 1rem; }
.foot__col ul { display: grid; gap: 0.6rem; }
.foot__col a { text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; }
.foot__col a:hover { color: var(--accent); }
.foot__bottom {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between;
  margin-top: clamp(2.5rem, 4vw, 3.5rem); padding-top: 1.35rem; border-top: 1px solid var(--rule);
  color: var(--ink-soft);
}
.foot__bottom ul { display: flex; flex-wrap: wrap; gap: 1.25rem; }
@media (min-width: 48em) { .foot__grid { grid-template-columns: 2fr 1fr 1fr 1.3fr; } }

/* ===========================================================
   Movimiento
   Una sola idea: la línea grabada entra como huella en seco y luego
   le cae la tinta. El resto son estados de hover. Las fotos no se
   animan al hacer scroll.
   =========================================================== */

@media (prefers-reduced-motion: no-preference) {
  .js .strike {
    color: transparent;
    text-shadow: 0 0.035em 0 rgba(255, 255, 255, 0.95), 0 -0.03em 0 rgba(33, 30, 23, 0.42);
    transition: color 0.5s var(--ease) 0.55s, text-shadow 0.5s var(--ease) 0.55s;
  }
  .js .strike.is-inked { color: inherit; text-shadow: 0 0 0 rgba(255, 255, 255, 0), 0 0 0 rgba(33, 30, 23, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shot img, .btn::before, .link::after, .i { transition: none !important; }
}

/* ===========================================================
   AMPLIACIÓN 02/10/2026 · multipágina, menú desplegable,
   redactor de WhatsApp y datos de contacto.

   Nota de marca: el botón de WhatsApp NO usa el verde de WhatsApp.
   La paleta es la de BRAND.md; a WhatsApp lo identifican su marca
   gráfica y la palabra, no un color que no es de la casa.
   =========================================================== */

/* --- Botones nuevos ------------------------------------------------- */

.btn--wa .i { width: 1.15em; height: 1.15em; }
.btn--wa:hover .i { transform: none; }
.btn--lg { min-height: 64px; padding-inline: clamp(1.5rem, 4vw, 2.75rem); font-size: var(--t-caps); }

/* --- Cabecera: desplegable de La experiencia ------------------------- */

.has-drop { position: relative; }
.drop__toggle {
  background: none; border: 0; cursor: pointer; padding: 0.35rem;
  color: var(--ink-soft); line-height: 0;
}
.drop__toggle .i { width: 1rem; height: 1rem; transition: transform 0.35s var(--ease); }
.drop__toggle[aria-expanded="true"] .i { transform: rotate(180deg); }

/* En móvil el desplegable es una lista anidada, siempre abierta */
.has-drop { display: grid; grid-template-columns: 1fr auto; align-items: center; }
.has-drop > a { grid-column: 1; }
.has-drop .drop__toggle { grid-column: 2; display: none; }
.drop { grid-column: 1 / -1; display: grid; padding-left: 1.25rem; }
.drop a {
  font-family: var(--font-text) !important; font-size: var(--t-caps) !important;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft);
  padding: 0.7rem 0 !important;
}
.drop li + li { border-top: 1px solid var(--rule); }

/* --- Barra fija de móvil -------------------------------------------- */

.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule-mid);
  background: var(--paper);
}
.dock a {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: 58px; padding: 0.6rem 0.75rem;
  font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase;
  line-height: 1.2; text-align: center; text-decoration: none;
}
.dock__wa { background: var(--accent); color: var(--paper); }
.dock__wa .i { width: 1.15em; height: 1.15em; }
.dock__call { border-left: 1px solid var(--rule-mid); }
body { padding-bottom: 59px; }
@media (min-width: 64em) { .dock { display: none; } body { padding-bottom: 0; } }

/* El panel del menú no puede quedar debajo de la barra fija */
.nav { padding-bottom: calc(3rem + 59px); }
@media (min-width: 64em) { .nav { padding-bottom: 0; } }

/* --- Cabecera de página interior ------------------------------------- */

.phead { padding-block: clamp(2.5rem, 5vw, 5rem) 0; }
.phead__copy { grid-column: 1 / -1; display: grid; justify-items: start; gap: clamp(0.9rem, 1.6vw, 1.35rem); }
.phead__copy .lead { max-width: 48ch; }
.phead__actions { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1rem, 2vw, 1.75rem); margin-top: 0.5rem; }
.phead__media { grid-column: 1 / -1; overflow: clip; margin-top: clamp(2rem, 4vw, 3rem); }
.phead__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: grayscale(1) contrast(1.05); }
/* Los retratos verticales mantienen su proporción también en móvil: con 16/9
   el recorte se comía la cara. */
.phead__media--tall img { aspect-ratio: 3 / 4; object-position: 50% 20%; }
.phead--plain { padding-bottom: clamp(1rem, 2vw, 2rem); }

@media (min-width: 64em) {
  .phead__copy { grid-column: 1 / span 6; align-content: center; }
  .phead__media { grid-column: 7 / -1; margin-top: 0; }
  .phead__media img { aspect-ratio: 4 / 3; }
  .phead__media--tall img { aspect-ratio: 3 / 4; }
  .phead--plain .phead__copy { grid-column: 1 / span 8; }
}

/* --- Encabezado y pie de sección ------------------------------------- */

.section--tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.section__head { grid-column: 1 / -1; display: grid; gap: 1rem; max-width: 48ch; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section__foot { grid-column: 1 / -1; margin-top: clamp(2rem, 4vw, 3rem); }

/* --- El concepto de marca -------------------------------------------- */

.concept__head {
  grid-column: 1 / -1; display: grid; justify-items: center; text-align: center;
  gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.concept__emblem { width: clamp(44px, 4.5vw, 62px); opacity: 0.9; }
.concept__head .display { max-width: 20ch; }

.pillars { grid-column: 1 / -1; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.pillar {
  display: grid; gap: 0.6rem; align-content: start;
  padding: clamp(1.5rem, 2.6vw, 2.25rem) 0;
  border-bottom: 1px solid var(--rule);
}
.pillar .i { color: var(--accent); width: 1.35rem; height: 1.35rem; }
.pillar p { color: var(--ink-soft); max-width: 34ch; }

@media (min-width: 48em) { .pillars { grid-template-columns: repeat(2, 1fr); column-gap: var(--col-gap); } }
@media (min-width: 64em) {
  .pillars { grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--rule); }
  .pillar { border-bottom: 0; padding-inline: clamp(1.25rem, 2vw, 2rem); }
  .pillar + .pillar { border-left: 1px solid var(--rule); }
  .pillar:first-child { padding-left: 0; }
  .pillar:last-child { padding-right: 0; }
}

/* --- Quién es María --------------------------------------------------- */

.intro__media { grid-column: 1 / -1; overflow: clip; margin-bottom: clamp(2rem, 4vw, 0rem); }
.intro__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.intro__copy { grid-column: 1 / -1; display: grid; justify-items: start; align-content: center; gap: 1.5rem; }
.intro__copy .display { max-width: 20ch; }
.intro__side { grid-column: 1 / -1; overflow: clip; margin-top: clamp(2rem, 4vw, 0rem); }
.intro__side img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; filter: grayscale(1) contrast(1.05); }

@media (min-width: 64em) {
  .intro__media { grid-column: 1 / span 5; margin-bottom: 0; }
  .intro__copy { grid-column: 7 / -1; }
  .intro__copy--wide { grid-column: 1 / span 7; }
  .intro__side { grid-column: 9 / -1; margin-top: 0; align-self: center; }
}

/* --- El redactor de WhatsApp -------------------------------------------- */

.wa { grid-column: 1 / -1; display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); align-content: start; }
.wa__fields { display: grid; gap: clamp(1.1rem, 2vw, 1.6rem); }
@media (min-width: 40em) { .wa__fields { grid-template-columns: 1fr 1fr; } }

.wa .field label { display: inline-flex; align-items: center; gap: 0.5rem; }
.wa .field label .i { color: var(--accent); width: 0.95rem; height: 0.95rem; }

.wa__preview { display: grid; gap: 0.7rem; }
.wa__bubble {
  position: relative;
  background: var(--band); border: 1px solid var(--rule-mid);
  padding: clamp(1.1rem, 2.2vw, 1.6rem);
  font-size: var(--t-md); line-height: 1.5; text-wrap: pretty;
  min-height: 5.5em;
}
/* El filete vivo de la esquina: el único gesto de color del bloque */
.wa__bubble::before {
  content: ""; position: absolute; left: -1px; top: -1px; width: 3px; height: 2.25rem;
  background: var(--accent);
}
.wa__note { font-size: 0.9375rem; }
.wa .btn--lg { justify-self: start; }

/* --- Datos de contacto ---------------------------------------------------- */

.data { grid-column: 1 / -1; display: grid; gap: clamp(1.75rem, 3vw, 2.5rem); align-content: start; margin-top: clamp(2.5rem, 5vw, 0rem); }

.data__call {
  display: grid; gap: 0.6rem; align-content: start; justify-items: start;
  padding: clamp(1.35rem, 2.4vw, 1.85rem);
  border: 1px solid var(--rule-mid); text-decoration: none;
  transition: border-color 0.45s var(--ease-soft), background-color 0.45s var(--ease-soft);
}
.data__call:hover, .data__call:focus-visible { border-color: var(--accent); background: var(--band); }
.data__call > .i { color: var(--accent); width: 1.35rem; height: 1.35rem; }
.data__callText { color: var(--ink-soft); max-width: 36ch; }
.data__call .link { margin-top: 0.5rem; color: var(--accent); }
.data__call:hover .link::after { transform: scaleX(1); }

.data__item { display: grid; gap: 0.3rem; padding: 0.95rem 0; border-bottom: 1px solid var(--rule); }
.data__item:first-child { border-top: 1px solid var(--rule); }
.data__item dt { color: var(--ink-soft); display: inline-flex; align-items: center; gap: 0.5rem; }
.data__item dt .i { color: var(--accent); }
.data__item dd { margin: 0; font-family: var(--font-display); font-size: var(--t-md); line-height: 1.3; }
.data__item a { text-decoration: none; border-bottom: 1px solid var(--rule); transition: border-color 0.35s var(--ease-soft), color 0.35s var(--ease-soft); }
.data__item a:hover { color: var(--accent); border-color: var(--accent); }

@media (min-width: 64em) {
  .wa { grid-column: 1 / span 7; }
  .data { grid-column: 9 / -1; margin-top: 0; }
}

/* --- La cinta de marcas ------------------------------------------------------
   Los catorce logotipos pasan en bucle. Salen de las tres tiras PNG que ya
   tenía la clienta: cada uno es una ventana sobre su tira, con las
   coordenadas medidas sobre el propio archivo. No se ha descargado ninguna
   marca de internet.

   Se para al pasar el ratón y cuando la sección no está en pantalla, y con
   `prefers-reduced-motion` no se mueve: los logotipos se reparten en filas.
   --------------------------------------------------------------------------- */

.loop {
  grid-column: 1 / -1; justify-self: stretch;
  display: flex; overflow: hidden; width: 100%;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  /* El desvanecido de los bordes es una máscara, no un degradado de color */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  --box: 26; --cap: 104;
}
@media (min-width: 48em) { .loop { --box: 32; --cap: 128; } }

.loop__track {
  display: flex; align-items: center; flex: 0 0 auto;
  margin: 0; padding: 0; list-style: none;
  animation: loop-run 42s linear infinite;
}
.loop:hover .loop__track,
.loop:focus-within .loop__track,
.loop.is-paused .loop__track { animation-play-state: paused; }

.loop__item {
  display: flex; align-items: center; justify-content: center;
  padding-inline: clamp(1.1rem, 2.6vw, 2.25rem);
  border-left: 1px solid var(--rule);
  min-height: calc(var(--box) * 1px + 2rem);
}

.loop__logo {
  display: block;
  background-repeat: no-repeat;
  opacity: 0.72;
  transition: opacity 0.4s var(--ease-soft), transform 0.4s var(--ease);
  /* --k: el factor que mete cada logotipo en su caja sin deformarlo */
  --k: min(calc(var(--box) / var(--h)), calc(var(--cap) / var(--w)));
  width: calc(var(--w) * var(--k) * 1px);
  height: calc(var(--h) * var(--k) * 1px);
  background-size: calc(var(--rw) * var(--k) * 1px) calc(var(--rh) * var(--k) * 1px);
  background-position: calc(var(--x) * var(--k) * -1px) calc(var(--y) * var(--k) * -1px);
}
.loop__item:hover .loop__logo { opacity: 1; transform: scale(1.06); }

/* Las tres tiras de origen */
.b-r1 { background-image: url("../img/brands-row-1.png"); --rw: 833; --rh: 85; }
.b-r2 { background-image: url("../img/brands-row-2.png"); --rw: 856; --rh: 64; }
.b-r3 { background-image: url("../img/brands-row-3.png"); --rw: 734; --rh: 55; }

/* Dónde está cada logotipo dentro de su tira */
.b-dior      { --x: 6;   --y: 29; --w: 106; --h: 32; }
.b-mac       { --x: 175; --y: 36; --w: 151; --h: 18; }
.b-charlotte { --x: 374; --y: 9;  --w: 141; --h: 62; }
.b-hourglass { --x: 575; --y: 36; --w: 137; --h: 17; }
.b-ysl       { --x: 793; --y: 6;  --w: 35;  --h: 73; }
.b-toofaced  { --x: 6;   --y: 19; --w: 137; --h: 21; }
.b-mario     { --x: 200; --y: 18; --w: 160; --h: 24; }
.b-armani    { --x: 415; --y: 10; --w: 111; --h: 48; }
.b-anua      { --x: 592; --y: 18; --w: 97;  --h: 24; }
.b-dalba     { --x: 753; --y: 14; --w: 98;  --h: 37; }
.b-nars      { --x: 6;   --y: 7;  --w: 92;  --h: 40; }
.b-huda      { --x: 153; --y: 19; --w: 146; --h: 20; }
.b-danessa   { --x: 352; --y: 12; --w: 167; --h: 35; }
.b-rare      { --x: 588; --y: 13; --w: 141; --h: 30; }

@keyframes loop-run { to { transform: translateX(-100%); } }

@media (prefers-reduced-motion: reduce) {
  .loop { -webkit-mask-image: none; mask-image: none; flex-wrap: wrap; justify-content: center; }
  .loop__track { animation: none; flex-wrap: wrap; justify-content: center; }
  .loop__track[aria-hidden="true"] { display: none; }
}

/* --- La sección local: Sevilla y su zona ------------------------------------- */

.local__copy { grid-column: 1 / -1; display: grid; justify-items: start; gap: 1.5rem; }
.local__facts { grid-column: 1 / -1; margin: 0; display: grid; align-content: start; margin-top: clamp(2.5rem, 4vw, 0rem); }

@media (min-width: 64em) {
  .local__copy { grid-column: 1 / span 6; }
  .local__facts { grid-column: 8 / -1; margin-top: 0; }
}

/* --- Lista de lo que incluye ------------------------------------------------ */

.incl { grid-column: 1 / -1; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.incl li { display: grid; grid-template-columns: auto 1fr; gap: 0.85rem; align-items: start; padding: 0.95rem 0; border-bottom: 1px solid var(--rule); }
.incl .i { color: var(--accent); margin-top: 0.3em; }
@media (min-width: 55em) { .incl { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 4vw, 4rem); } }

.offer__head { grid-column: 1 / -1; display: grid; gap: 1rem; max-width: 48ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.offer__foot { grid-column: 1 / -1; margin-top: clamp(2rem, 4vw, 3rem); }

/* --- Formación ---------------------------------------------------------------- */

.training__in { grid-column: 1 / -1; display: grid; justify-items: center; text-align: center; gap: 1.25rem; }
.training__i { color: var(--accent); width: 1.6rem; height: 1.6rem; }
.training__in .lead { max-width: 44ch; }

/* --- Marca de pendiente ---------------------------------------------------------- */
/* Lo que todavía no ha contestado la clienta se ve, no se inventa. */
.pending {
  display: inline-block; color: var(--accent);
  border: 1px dashed var(--rule-mid); padding: 0.5rem 0.85rem;
}

/* --- Preguntas frecuentes --------------------------------------------------------- */

.faq { grid-column: 1 / -1; display: grid; gap: clamp(2.5rem, 4vw, 3.5rem); }
.faq__gname { color: var(--accent); padding-bottom: 0.85rem; border-bottom: 1px solid var(--rule-mid); margin-bottom: 0.5rem; }

.qa { border-bottom: 1px solid var(--rule); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: clamp(1rem, 2vw, 1.35rem) 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: var(--t-md); line-height: 1.3;
  transition: color 0.35s var(--ease-soft);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--accent); }
.qa summary .i { color: var(--accent); width: 1.1rem; height: 1.1rem; transition: transform 0.35s var(--ease); }
.qa[open] summary .i { transform: rotate(180deg); }
.qa > p { padding-bottom: clamp(1.1rem, 2vw, 1.5rem); max-width: 68ch; color: var(--ink-soft); text-wrap: pretty; }
.qa > p.pending { margin-bottom: clamp(1.1rem, 2vw, 1.5rem); padding-bottom: 0.5rem; }

.faq__aside {
  grid-column: 1 / -1; display: grid; justify-items: start; gap: 1.1rem; align-content: start;
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: clamp(1.75rem, 3vw, 2.25rem);
  border-top: 1px solid var(--rule-mid);
}
.faq__aside p { color: var(--ink-soft); max-width: 34ch; }

@media (min-width: 64em) {
  .faq { grid-column: 1 / span 7; }
  .faq__aside {
    grid-column: 9 / -1; margin-top: 0; padding-top: 0; border-top: 0;
    position: sticky; top: calc(var(--masthead) + 2.5rem);
  }
}

/* --- El kit ------------------------------------------------------------------------- */

.kit__media { grid-column: 1 / -1; overflow: clip; margin-bottom: clamp(2rem, 4vw, 0rem); }
.kit__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.kit__copy { grid-column: 1 / -1; display: grid; gap: 1.5rem; align-content: center; }

@media (min-width: 64em) {
  .kit__media { grid-column: 1 / span 5; margin-bottom: 0; }
  .kit__copy { grid-column: 7 / -1; }
}

/* --- Cierre de página ------------------------------------------------------------------ */

.close { border-top: 1px solid var(--rule); }
.close__in { grid-column: 1 / -1; display: grid; justify-items: center; text-align: center; gap: 1.35rem; }
.close__in .display { max-width: 18ch; }
.close__in .lead { max-width: 42ch; }
.close__links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.6rem clamp(1.25rem, 3vw, 2.5rem);
  margin-top: clamp(1.25rem, 2.5vw, 2rem); padding-top: clamp(1.25rem, 2.5vw, 2rem);
  border-top: 1px solid var(--rule); width: min(100%, 52rem);
}

/* --- Volver arriba ---------------------------------------------------------------------- */
/* Aparece con el mismo centinela que el filete de la cabecera. Sin JS no
   aparece, que es lo correcto: sin JS tampoco haría nada. */

.to-top {
  position: fixed; z-index: 44;
  right: clamp(1rem, 2.5vw, 2rem); bottom: calc(59px + 1rem);
  width: 46px; height: 46px; padding: 0;
  display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--rule-strong); border-radius: 0;
  color: var(--ink); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s,
              background-color 0.35s var(--ease-soft), border-color 0.35s var(--ease-soft),
              color 0.35s var(--ease-soft);
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover, .to-top:focus-visible { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.to-top .i { width: 1.1rem; height: 1.1rem; }
@media (min-width: 64em) { .to-top { bottom: clamp(1.5rem, 3vw, 2.5rem); } }

/* --- El desplegable en escritorio -------------------------------------------- */

.nav.is-open .btn { width: 100%; }

@media (min-width: 64em) {
  .has-drop { display: flex; align-items: center; gap: 0.3rem; }
  .has-drop .drop__toggle { display: inline-flex; }
  .drop {
    position: absolute; top: 100%; left: -1.25rem; z-index: 50;
    min-width: 18rem; margin: 0;
    padding: 1.35rem 1.25rem 0.75rem;   /* el relleno de arriba cose el hueco al pasar el ratón */
    background: var(--paper); border: 1px solid var(--rule-mid);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .has-drop:hover .drop,
  .has-drop:focus-within .drop,
  .drop__toggle[aria-expanded="true"] + .drop { opacity: 1; visibility: visible; transform: none; }
  .drop li + li { border-top: 1px solid var(--rule); }
  .drop a { color: var(--ink-soft); white-space: nowrap; }
  .drop a:hover { color: var(--ink); }
  .drop a::after { display: none; }
}
