/* =========================================================================
   Mi Pequeño Lucas — estilos
   Diseño móvil primero; a partir de 700px se adapta a escritorio.
   ========================================================================= */

/* ---------- Fuentes (alojadas en el tema) ---------- */
@font-face { font-family: "Roboto"; src: url("../fonts/roboto-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../fonts/roboto-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("../fonts/roboto-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Pinyon Script"; src: url("../fonts/pinyon-script-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Quicksand"; src: url("../fonts/quicksand-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Quicksand"; src: url("../fonts/quicksand-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
	--texto: #64696b;
	--texto-oscuro: #3a3f41;
	--manuscrito: #4a4f52;
	--crema: #f4efec;
	--blanco: #fff;
	--borde: #d8d2ce;
	--cinta: rgba(222, 202, 163, .72);
	--header-h: 66px;
	--sans: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html, body { margin: 0; padding: 0; background: var(--blanco); }
body { color: var(--texto); font-family: var(--sans); font-weight: 300; overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
.screen-reader-text, .skip-link:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--texto); outline-offset: 2px; }

/* ---------- Cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--blanco); }
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }
.site-header__inner {
	position: relative; height: var(--header-h);
	display: flex; align-items: center; justify-content: center;
}
.site-logo { display: block; text-decoration: none; color: #818587; line-height: 0; }
.site-logo__img { max-height: 46px; width: auto; }
.wordmark { display: inline-flex; flex-direction: column; align-items: flex-end; font-family: "Quicksand", var(--sans); line-height: 1; }
.wordmark__top { font-size: 7.5px; font-weight: 500; letter-spacing: .22em; margin: 0 2px -1px 0; }
.wordmark__main { font-size: 38px; font-weight: 400; letter-spacing: .01em; margin-top: -2px; }

.menu-toggle {
	position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
	width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--texto);
}
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
	display: block; position: absolute; left: 11px; width: 22px; height: 1.5px; background: currentColor;
	transition: transform .25s ease, opacity .2s ease;
}
.menu-toggle__bars { top: 21px; }
.menu-toggle__bars::before { content: ""; left: 0; top: -7px; }
.menu-toggle__bars::after { content: ""; left: 0; top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
	position: absolute; left: 0; right: 0; top: var(--header-h);
	height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
	background: var(--blanco); overflow-y: auto;
}
.site-nav[hidden] { display: none; }
.site-nav .menu { list-style: none; margin: 0; padding: 9vh 0; text-align: center; }
.site-nav .menu li { margin: 0; }
.site-nav .menu a {
	display: inline-block; padding: 14px 10px; text-decoration: none;
	text-transform: uppercase; letter-spacing: .3em; text-indent: .3em; font-size: 14px; font-weight: 400; color: var(--texto);
}
.site-nav .menu a[aria-current="page"], .site-nav .current-menu-item > a { text-decoration: underline; text-underline-offset: 6px; }
body.menu-abierto { overflow: hidden; }

/* ---------- Estructura ---------- */
.mpl { display: block; width: 100%; background: var(--blanco); }
.mpl img { display: block; margin: 0; border: 0; -webkit-user-drag: none; }
.mpl > img.full, .hero img, .tile img { width: 100%; height: auto; }
.back { background: var(--blanco); padding: 14px 5vw; font-size: 14px; letter-spacing: .04em; }
.back a { color: var(--texto); text-decoration: none; display: inline-block; padding: 6px 0; }

/* ---------- Portada ---------- */
.hero { position: relative; margin: 0; width: 100%; }
.hero figcaption {
	position: absolute; left: 5vw; bottom: 5vw; color: #fff;
	font-family: "Pinyon Script", cursive; font-weight: 400; font-size: max(4.4vw, 15px); line-height: 1.15;
	text-shadow: 0 0 2px rgba(0, 0, 0, .14);
}
.intro { margin: 0; padding: 7vw 5vw; text-align: center; font-size: max(3.6vw, 13px); line-height: 1.65; }
.intro p { margin: 0; }
.tile-link { display: block; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.tile { position: relative; margin: 0; width: 100%; overflow: hidden; }
.tile img { transition: transform .8s ease; }
.tile-link:hover .tile img { transform: scale(1.02); }
.tile figcaption {
	position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%);
	background: #fff; color: var(--texto); font-weight: 400; text-transform: uppercase;
	letter-spacing: .2em; text-indent: .2em; font-size: clamp(9px, 2.2vw, 11px); line-height: 1.3;
	padding: 2.2vw 3.8vw; max-width: 88%; white-space: nowrap; text-align: center;
}

/* ---------- Pie ---------- */
.pie { padding: 5vw 5vw 8vw; text-align: center; background: var(--blanco); }
.mpl-universo .pie, .mpl-la-fragancia .pie { background: var(--crema); }
.pie__email { color: var(--texto); text-decoration: none; font-size: max(3.2vw, 12px); }
.pie__legal { list-style: none; margin: 14px 0 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 16px; font-size: 11px; letter-spacing: .04em; }
.pie__legal a { color: var(--texto); text-decoration: none; }
.pie__legal:empty { display: none; }

.wa {
	position: fixed; right: 14px; bottom: 14px; z-index: 50; width: 52px; height: 52px; border-radius: 50%;
	background: #25d366; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .28);
}

/* ---------- Texto de sección ---------- */
.marca-texto { background: var(--blanco); padding: 9vw 7vw 6vw; }
.marca-texto p { margin: 0 0 1.3em; font-size: max(4vw, 15px); line-height: 1.7; }
.marca-texto p:last-child { margin-bottom: 0; }

/* ---------- Polaroids con cinta ---------- */
.polaroid { position: relative; margin: 0; line-height: 0; box-shadow: 0 3px 10px rgba(0, 0, 0, .28); }
.polaroid img { width: 100%; height: auto; }
.tape {
	position: absolute; top: -3.2vw; left: 50%; width: 36%; height: 6.5vw;
	transform: translateX(-50%) rotate(-3deg); background: var(--cinta);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .12); z-index: 2;
}

/* La marca: 4 polaroids en rejilla */
.polaroids {
	display: grid; grid-template-columns: repeat(12, 1fr); gap: 9vw 7vw; align-items: center;
	padding: 9vw 7vw 14vw; background: var(--blanco);
}
.polaroids .polaroid:nth-child(1), .polaroids .polaroid:nth-child(2) { grid-column: span 6; }
.polaroids .polaroid:nth-child(2) .tape { transform: translateX(-50%) rotate(4deg); }
.polaroids .polaroid:nth-child(3) { grid-column: span 7; order: 2; }
.polaroids .polaroid:nth-child(3) .tape { transform: translateX(-50%) rotate(-5deg); }
.polaroids .polaroid:nth-child(4) { grid-column: span 5; order: 1; width: 82%; justify-self: start; }
.polaroids .polaroid:nth-child(4) .tape { transform: translateX(-50%) rotate(2deg); }

/* ---------- Universo ---------- */
.mpl-universo, .uni, .uni .back, .uni .marca-texto { background: var(--crema); }
.uni-top { display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; align-items: start; padding: 9vw 5vw 4vw; }
.cut { position: relative; margin: 0; line-height: 0; }
.cut img { width: 100%; height: auto; }
.cut .tape { top: -2vw; width: 34%; }
.uni-top .cut:nth-child(2) .tape { transform: translateX(-50%) rotate(4deg); }
.pmural { display: grid; grid-template-columns: repeat(3, 1fr); padding: 4vw 3vw 16vw; overflow: hidden; }
.pm { margin: -2% -5% -1%; position: relative; line-height: 0; }
.pm img { width: 100%; height: auto; }

/* ---------- Lookbook y prensa: mosaico justificado ---------- */
.look .lk-foto, .ct .ct-foto { width: 78vw; max-width: 360px; margin: 7vw auto 2vw; }
.look-wall { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 0 14vw; }
.look-wall img { background: var(--crema); flex: 1 1 auto; width: calc(var(--r, 1) * 150px); height: 150px; object-fit: cover; }
.look-wall.is-justified { display: block; }
.look-wall .look-row { display: flex; gap: 6px; margin-bottom: 6px; }
.look-wall .look-row img { flex: none; }

/* ---------- La fragancia ---------- */
.mpl-la-fragancia, .frag, .frag .back, .frag .marca-texto { background: var(--crema); }
.frag-top { display: flex; justify-content: center; align-items: flex-start; padding: 9vw 6vw 2vw; }
.frag-top figure { margin: 0; line-height: 0; flex: none; width: 36%; position: relative; }
.frag-top figure:nth-child(1) { z-index: 1; transform: rotate(5deg) translateY(clamp(28px, 9vw, 54px)); }
.frag-top figure:nth-child(2) { z-index: 3; margin-left: -6%; }
.frag-top figure:nth-child(3) { z-index: 2; margin-left: -6%; transform: rotate(-5deg) translateY(clamp(28px, 9vw, 54px)); }
.frag-top img, .frag-bottom img { width: 100%; height: auto; }
.frag-bottom { display: flex; justify-content: center; align-items: flex-start; padding: 4vw 6vw 14vw; }
.frag-bottom figure { margin: 0; line-height: 0; flex: none; width: 36%; position: relative; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .22)); }
.frag-bottom figure:nth-child(1) { z-index: 1; transform: rotate(4deg) translateY(clamp(24px, 7vw, 44px)); }
.frag-bottom figure:nth-child(2) { z-index: 3; margin-left: -6%; }
.frag-bottom figure:nth-child(3) { z-index: 2; margin-left: -6%; transform: rotate(-4deg) translateY(clamp(24px, 7vw, 44px)); }

/* ---------- Prensa ---------- */
.pr-h {
	font-weight: 300; color: var(--texto); text-transform: uppercase; letter-spacing: .35em;
	font-size: max(4vw, 15px); line-height: 1.5; text-align: center; margin: 10vw 6vw 6vw;
}
.pr-lead { margin: 5vw 7vw 0; font-size: max(4vw, 15px); line-height: 1.7; }
.pr-lead p { margin: 0 0 1em; }
.pr .look-wall { padding-bottom: 0; }
.pr-sec:last-of-type .look-wall { padding-bottom: 14vw; }

/* ---------- Contacto ---------- */
.ct-form { max-width: 520px; margin: 9vw auto 14vw; padding: 0 7vw; display: flex; flex-direction: column; gap: 20px; }
.ct-campo {
	color: var(--texto); font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
	display: flex; flex-direction: column; gap: 8px;
}
.ct-campo input, .ct-campo textarea {
	font: 300 16px/1.4 var(--sans); letter-spacing: .02em; text-transform: none; color: var(--texto-oscuro);
	background: #fff; border: 1px solid var(--borde); border-radius: 0; padding: 13px 14px; width: 100%;
}
.ct-campo textarea { resize: vertical; min-height: 130px; }
.ct-campo input:focus, .ct-campo textarea:focus { outline: none; border-color: var(--texto); }
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; }
.ct-check input { margin-top: 3px; accent-color: var(--texto); }
.ct-legal { margin: -6px 0 0; font-size: 11px; line-height: 1.5; color: #8a8f91; }
.ct-btn {
	margin: 12px auto 0; font: 300 13px var(--sans); text-transform: uppercase; letter-spacing: .3em;
	color: var(--texto); background: transparent; border: 1px solid var(--texto); padding: 15px 30px; cursor: pointer;
	transition: background .2s, color .2s;
}
.ct-btn:hover { background: var(--texto); color: #fff; }
.ct-aviso { margin: 0; padding: 12px 14px; font-size: 14px; line-height: 1.5; border: 1px solid var(--borde); background: var(--crema); color: var(--texto-oscuro); }
.ct-aviso--ok { border-color: #a9c7a4; }

/* ---------- Páginas genéricas (legales) ---------- */
.generic .entry { max-width: 760px; margin: 0 auto; padding: 0 7vw 14vw; }
.generic .entry-content { font-size: 15px; line-height: 1.7; }
.generic .entry-content a { color: var(--texto-oscuro); }

/* =========================================================================
   Escritorio (≥ 700px)
   ========================================================================= */
@media (min-width: 700px) {
	:root { --header-h: 80px; }
	.wordmark__top { font-size: 9px; }
	.wordmark__main { font-size: 46px; }
	.site-logo__img { max-height: 56px; }
	.menu-toggle { right: 28px; }
	.back { padding: 18px 32px; }

	.hero figcaption { left: 40px; bottom: 36px; font-size: 30px; }
	.intro { font-size: 18px; padding: 48px 20px; }
	.mpl-home { max-width: 1400px; margin: 0 auto; }
	.tiles { display: grid; grid-template-columns: repeat(2, 1fr); }
	.hero img { max-height: calc(100vh - var(--header-h)); object-fit: cover; }
	.mpl-home .tile { aspect-ratio: 4 / 3; }
	.mpl-home .tile img { height: 100%; object-fit: cover; }
	.tile figcaption { font-size: 12px; padding: 14px 26px; }

	.pie { padding: 40px 20px 56px; }
	.pie__email { font-size: 15px; }

	.marca-texto { padding: 56px 15vw 40px; }
	.marca-texto p { font-size: 18px; text-align: justify; }
	.mpl > img.full { max-height: 80vh; object-fit: cover; }

	.tape { top: -14px; height: 30px; }
	.polaroids { gap: 48px 32px; padding: 56px 12vw 100px; max-width: 1100px; margin: 0 auto; }

	.uni-top { gap: 48px; padding: 56px 18vw 24px; max-width: 1000px; margin: 0 auto; }
	.cut .tape { top: -10px; }
	.pmural { grid-template-columns: repeat(4, 1fr); max-width: 1100px; margin: 0 auto; padding: 40px 24px 120px; }

	.look .lk-foto, .ct .ct-foto { margin: 40px auto 8px; }
	.look-wall { max-width: 1100px; margin: 0 auto; padding: 0 24px 90px; }

	.frag-top, .frag-bottom { max-width: 900px; margin: 0 auto; }
	.frag-top { padding: 56px 0 12px; }
	.frag-bottom { padding: 24px 0 100px; }

	.pr-h { font-size: 17px; letter-spacing: .45em; margin: 64px 48px 36px; }
	.pr-lead { font-size: 18px; text-align: justify; margin: 28px auto 0; max-width: 760px; padding: 0 24px; }
	.pr-sec:last-of-type .look-wall { padding-bottom: 90px; }
	.ct-form { margin: 40px auto 90px; }
}
@media (min-width: 1000px) {
	.pmural { grid-template-columns: repeat(5, 1fr); }
	.tiles { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}

/* ---------- Selector de idioma ---------- */
.lang-switch {
	position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
	display: flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: .12em; color: #aeb2b4;
}
.lang-switch a { color: #aeb2b4; text-decoration: none; padding: 10px 2px; }
.lang-switch a[aria-current="true"] { color: var(--texto); }
@media (min-width: 700px) { .lang-switch { left: 28px; font-size: 13px; } }
