/**
 * lea.css — Sistema de diseño «La Embajada del Aceite» v2.0
 * ══════════════════════════════════════════════════════════
 * Rediseño integral (jul-2026): editorial mediterráneo premium.
 *
 * Índice
 *  01. Tokens
 *  02. Base
 *  03. Tipografía utilitaria
 *  04. Botones y enlaces
 *  05. Navegación (barra + overlay + velo de transición)
 *  06. Motion (reveals, parallax, zoom)
 *  07. Home — Bento 100vh
 *  08. Estructura interior (hero de página, secciones, contenedores)
 *  09. Componentes editoriales (split, listas, citas, banda CTA)
 *  10. Oleoteca (filtros, parrilla, tarjeta, variedades)
 *  11. Ficha de producto
 *  12. Contacto
 *  13. Blog (listado + artículo)
 *  14. Formularios / Contact Form 7 premium
 *  15. Footer mínimo
 *  16. WhatsApp flotante
 *  17. 404 / búsqueda
 *  18. Responsive fino + reduced motion
 */

/* ══ 01. TOKENS ══════════════════════════════════════════ */

:root {
	/* Paleta — blanco, marfil, negro suave, oliva, oro discreto */
	--paper:      #FBF9F4;
	--cream:      #F3EFE5;
	--white:      #FFFFFF;
	--ink:        #1B1A14;
	--ink-70:     rgba(27, 26, 20, .72);
	--ink-55:     rgba(27, 26, 20, .55);
	--ink-40:     rgba(27, 26, 20, .40);
	--ink-25:     rgba(27, 26, 20, .25);
	--line:       rgba(27, 26, 20, .12);
	--line-soft:  rgba(27, 26, 20, .07);

	--olive-950:  #212717;
	--olive-900:  #2A3120;
	--olive-700:  #46512F;
	--olive-500:  #6D775A;
	--olive-100:  #E6E8DB;

	--gold:       #A8894B;
	--gold-deep:  #8C6F38;

	--cream-txt:  #F2EEE1;          /* texto sobre fondos oscuros */
	--cream-txt-60: rgba(242, 238, 225, .62);
	--line-light: rgba(242, 238, 225, .16);

	/* Tipografía */
	--serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
	--sans:  'Manrope', -apple-system, 'Segoe UI', sans-serif;

	/* Geometría */
	--r-sm: 12px;
	--r-md: 18px;
	--r-lg: 26px;

	/* Motion */
	--ease: cubic-bezier(.22, 1, .36, 1);
	--dur:  .9s;

	/* Layout */
	--gutter: clamp(1.1rem, 3.4vw, 2.75rem);
	--nav-h: 74px;
}

/* ══ 02. BASE ════════════════════════════════════════════ */

html {
	scroll-behavior: smooth;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.72;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

::selection { background: var(--olive-700); color: var(--cream-txt); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, .serif {
	font-family: var(--serif);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -.005em;
	clear: none;
	margin: 0 0 .5em;
}

a { color: inherit; text-decoration: none; }

button { font-family: inherit; }

body.nav-locked { overflow: hidden; }

/* Contenedores */
.wrap        { width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; }
.wrap--mid   { width: min(100% - 2 * var(--gutter), 1020px); margin-inline: auto; }
.wrap--text  { width: min(100% - 2 * var(--gutter), 720px);  margin-inline: auto; }

/* ══ 03. TIPOGRAFÍA UTILITARIA ═══════════════════════════ */

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	font-family: var(--sans);
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--ink-55);
}

.eyebrow::before {
	content: '';
	width: 1.6rem;
	height: 1px;
	background: var(--gold);
}

.eyebrow--bare::before { display: none; }

.on-dark .eyebrow,
.section--dark .eyebrow,
.bc--dark .eyebrow,
.eyebrow--light { color: var(--cream-txt-60); }

.display-1 { font-size: clamp(3.2rem, 8vw, 7.2rem);   line-height: .98; }
.display-2 { font-size: clamp(2.3rem, 4.6vw, 4.1rem); line-height: 1.04; }
.display-3 { font-size: clamp(1.65rem, 2.6vw, 2.35rem); line-height: 1.14; }

.display-1 em, .display-2 em, .display-3 em,
.italic { font-style: italic; font-weight: 400; }

.lead {
	font-size: clamp(1.02rem, 1.5vw, 1.2rem);
	line-height: 1.75;
	color: var(--ink-70);
	max-width: 56ch;
}

.small { font-size: .85rem; color: var(--ink-55); }

/* ══ 04. BOTONES Y ENLACES ═══════════════════════════════ */

.btn {
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	padding: .95em 1.75em;
	border-radius: 999px;
	border: 1px solid transparent;
	font-family: var(--sans);
	font-size: .92rem;
	font-weight: 600;
	letter-spacing: .01em;
	line-height: 1;
	cursor: pointer;
	transition: background-color .35s var(--ease), color .35s var(--ease),
	            border-color .35s var(--ease), transform .35s var(--ease),
	            box-shadow .35s var(--ease);
}

.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover,
.btn--primary:focus-visible {
	background: var(--olive-700);
	color: var(--cream-txt);
	transform: translateY(-2px);
	box-shadow: 0 14px 30px -14px rgba(27, 26, 20, .45);
}

.btn--outline { border-color: var(--ink-25); color: var(--ink); background: transparent; }
.btn--outline:hover,
.btn--outline:focus-visible { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: translateY(-2px); }

.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover,
.btn--light:focus-visible { background: var(--white); transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); }

.btn--outline-light { border-color: var(--line-light); color: var(--cream-txt); background: transparent; }
.btn--outline-light:hover,
.btn--outline-light:focus-visible { background: var(--cream-txt); color: var(--olive-950); border-color: var(--cream-txt); transform: translateY(-2px); }

.btn .btn__arr { transition: transform .35s var(--ease); }
.btn:hover .btn__arr { transform: translateX(4px); }

/* Enlace con flecha y subrayado que crece */
.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-weight: 600;
	font-size: .92rem;
	letter-spacing: .02em;
	position: relative;
	padding-bottom: .25em;
}

.link-arrow::after {
	content: '';
	position: absolute;
	left: 0; bottom: 0;
	width: 100%;
	height: 1px;
	background: currentColor;
	transform: scaleX(.25);
	transform-origin: left;
	opacity: .4;
	transition: transform .45s var(--ease), opacity .45s var(--ease);
}

.link-arrow:hover::after { transform: scaleX(1); opacity: 1; }
.link-arrow svg { width: 1em; height: 1em; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Flecha circular (esquina de tarjetas) */
.corner-arr {
	width: 44px; height: 44px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	border: 1px solid var(--line-light);
	color: var(--cream-txt);
	background: rgba(33, 39, 23, .25);
	backdrop-filter: blur(6px);
	transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}

.corner-arr svg { width: 17px; height: 17px; }

a:hover > .corner-arr,
a:focus-visible > .corner-arr { background: var(--paper); color: var(--ink); transform: rotate(-45deg); }

/* ══ 05. NAVEGACIÓN ══════════════════════════════════════ */

.navbar {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 900;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem var(--gutter);
	pointer-events: none;
	transition: transform .5s var(--ease);
}

.navbar > * { pointer-events: auto; }

.navbar__brand {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
	padding: .55rem 1.1rem;
	border-radius: 999px;
	transition: background .4s var(--ease), box-shadow .4s var(--ease);
}

.navbar__name {
	font-family: var(--serif);
	font-size: 1.12rem;
	letter-spacing: .01em;
}

.navbar__tag {
	font-size: .6rem;
	font-weight: 600;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: var(--ink-55);
	margin-top: .18rem;
}

.navbar.is-scrolled .navbar__brand,
.navbar.is-scrolled .menu-btn {
	background: rgba(251, 249, 244, .82);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 1px 0 var(--line-soft), 0 10px 30px -18px rgba(27, 26, 20, .35);
}

/* Botón de menú */
.menu-btn {
	display: inline-flex;
	align-items: center;
	gap: .7rem;
	padding: .8rem 1.35rem;
	border: 0;
	border-radius: 999px;
	background: transparent;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ink);
	cursor: pointer;
	transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}

.menu-btn__ico { position: relative; width: 22px; height: 10px; }

.menu-btn__ico span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 1.6px;
	background: currentColor;
	transition: transform .45s var(--ease), top .45s var(--ease), width .45s var(--ease);
}

.menu-btn__ico span:first-child { top: 0; }
.menu-btn__ico span:last-child  { top: 8px; width: 70%; }
.menu-btn:hover .menu-btn__ico span:last-child { width: 100%; }

body.nav-open .menu-btn__ico span:first-child { top: 4px; transform: rotate(45deg); }
body.nav-open .menu-btn__ico span:last-child  { top: 4px; width: 100%; transform: rotate(-45deg); }

/* Sobre fondos oscuros (overlay abierto) el botón pasa a claro */
body.nav-open .menu-btn { color: var(--cream-txt); background: transparent !important; box-shadow: none !important; }
body.nav-open .navbar__brand { background: transparent !important; box-shadow: none !important; }
body.nav-open .navbar__name,
body.nav-open .navbar__tag { color: var(--cream-txt); }
body.nav-open .navbar { z-index: 960; }

/* Overlay de navegación a pantalla completa */
.nav-overlay {
	position: fixed;
	inset: 0;
	z-index: 950;
	background: var(--olive-950);
	color: var(--cream-txt);
	opacity: 0;
	visibility: hidden;
	transition: opacity .55s var(--ease), visibility 0s linear .55s;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

body.nav-open .nav-overlay {
	opacity: 1;
	visibility: visible;
	transition-delay: 0s;
}

.nav-overlay__bg {
	position: absolute;
	inset: 0;
	background: url('../img/rama-contraluz.webp') center / cover no-repeat;
	opacity: .14;
	filter: saturate(.6);
	transform: scale(1.06);
	transition: transform 6s var(--ease);
	pointer-events: none;
}

body.nav-open .nav-overlay__bg { transform: scale(1); }

.nav-overlay__inner {
	position: relative;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: min(100% - 2 * var(--gutter), 1320px);
	margin-inline: auto;
	padding-top: var(--nav-h);
}

.nav-overlay__menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: navitem;
}

.nav-overlay__menu li {
	counter-increment: navitem;
	overflow: hidden;
}

.nav-overlay__menu a {
	display: inline-flex;
	align-items: baseline;
	gap: 1.4rem;
	font-family: var(--serif);
	font-size: clamp(2.1rem, 5.6vh, 3.9rem);
	line-height: 1.16;
	color: var(--cream-txt);
	transform: translateY(110%);
	transition: transform .8s var(--ease), color .4s var(--ease);
}

.nav-overlay__menu a::before {
	content: counter(navitem, decimal-leading-zero);
	font-family: var(--sans);
	font-size: .68rem;
	font-weight: 600;
	letter-spacing: .22em;
	color: var(--gold);
	transform: translateY(-1.2em);
}

.nav-overlay__menu a:hover,
.nav-overlay__menu a:focus-visible,
.nav-overlay__menu .current-menu-item a { color: var(--gold); font-style: italic; }

body.nav-open .nav-overlay__menu a { transform: translateY(0); }

body.nav-open .nav-overlay__menu li:nth-child(1) a { transition-delay: .10s; }
body.nav-open .nav-overlay__menu li:nth-child(2) a { transition-delay: .16s; }
body.nav-open .nav-overlay__menu li:nth-child(3) a { transition-delay: .22s; }
body.nav-open .nav-overlay__menu li:nth-child(4) a { transition-delay: .28s; }
body.nav-open .nav-overlay__menu li:nth-child(5) a { transition-delay: .34s; }
body.nav-open .nav-overlay__menu li:nth-child(6) a { transition-delay: .40s; }
body.nav-open .nav-overlay__menu li:nth-child(7) a { transition-delay: .46s; }

.nav-overlay__meta {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 3rem;
	align-items: center;
	justify-content: space-between;
	width: min(100% - 2 * var(--gutter), 1320px);
	margin-inline: auto;
	padding: 1.6rem 0 2rem;
	border-top: 1px solid var(--line-light);
	font-size: .8rem;
	color: var(--cream-txt-60);
	opacity: 0;
	transform: translateY(14px);
	transition: opacity .7s var(--ease) .4s, transform .7s var(--ease) .4s;
}

body.nav-open .nav-overlay__meta { opacity: 1; transform: none; }

.nav-overlay__meta a { color: var(--cream-txt); transition: color .3s; }
.nav-overlay__meta a:hover { color: var(--gold); }

/* Velo de transición entre páginas */
.veil {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: var(--paper);
	opacity: 0;
	pointer-events: none;
	transition: opacity .4s ease;
}

body.is-leaving .veil { opacity: 1; pointer-events: all; }

/* ══ 06. MOTION ══════════════════════════════════════════ */

/* Solo se ocultan si hay JS (clase añadida inline en el <head>);
   sin JS todo el contenido es visible desde el primer momento. */
html.js [data-reveal] {
	opacity: 0;
	transform: translateY(28px);
	filter: blur(10px);
	transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), filter var(--dur) var(--ease);
	transition-delay: calc(var(--d, 0) * 95ms);
	will-change: opacity, transform, filter;
}

html.js [data-reveal].is-in {
	opacity: 1;
	transform: none;
	filter: blur(0);
}

/* Zoom suave de imágenes en hover */
.zoom-media { overflow: hidden; }
.zoom-media img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 1.4s var(--ease);
}
a:hover .zoom-media img,
.zoom-media:hover img { transform: scale(1.045); }

/* Parallax muy suave (lo mueve lea.js) */
[data-parallax] { will-change: transform; }

/* ══ 07. HOME — BENTO 100VH ══════════════════════════════ */

body.lea-home { background: var(--cream); }

.bento {
	width: 100%;
	height: 100dvh;
	min-height: 640px;
	padding: calc(var(--nav-h) + 4px) 14px 14px;
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-template-rows: repeat(10, minmax(0, 1fr));
	gap: 12px;
}

/* Celda base */
.bc {
	position: relative;
	border-radius: var(--r-md);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	padding: clamp(1.15rem, 1.8vw, 2rem);
	background: var(--paper);
	border: 1px solid var(--line-soft);
	opacity: 0;
	transform: translateY(26px) scale(.985);
	filter: blur(8px);
	animation: bcIn 1s var(--ease) forwards;
	animation-delay: calc(var(--i, 0) * 110ms + 120ms);
}

@keyframes bcIn {
	to { opacity: 1; transform: none; filter: blur(0); }
}

/* Variantes de celda */
.bc--media { border: 0; color: var(--cream-txt); }

.bc--media .bc__img {
	position: absolute;
	inset: 0;
}

.bc--media .bc__img img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 1.6s var(--ease);
}

.bc--media:hover .bc__img img { transform: scale(1.05); }

.bc--media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(23, 26, 15, .16) 0%, rgba(23, 26, 15, 0) 40%, rgba(23, 26, 15, .62) 100%);
	transition: background .6s var(--ease);
}

.bc--media > *:not(.bc__img) { position: relative; z-index: 2; }

.bc--dark  { background: var(--olive-950); border: 0; color: var(--cream-txt); }
.bc--ink   { background: var(--ink); border: 0; color: var(--cream-txt); }

.bc--dark .eyebrow, .bc--ink .eyebrow, .bc--media .eyebrow { color: var(--cream-txt-60); }

/* Composición interna de celda */
.bc__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.bc__bottom { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; z-index: 2; }

.bc__title {
	display: block;
	font-size: clamp(1.35rem, 1.9vw, 1.9rem);
	line-height: 1.08;
	margin: .6rem 0 .2rem;
}

.bc__txt { display: block; font-size: .88rem; line-height: 1.6; color: var(--ink-55); max-width: 34ch; }
.bc--dark .bc__txt, .bc--ink .bc__txt, .bc--media .bc__txt { color: var(--cream-txt-60); }

/* — Celda HERO — */
.bc--hero {
	grid-column: 1 / 8;
	grid-row: 1 / 8;
	background: var(--paper);
	justify-content: space-between;
	padding: clamp(1.6rem, 2.6vw, 3rem);
}

.bc--hero .bc__brandrow {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--ink-55);
}

.bc--hero h1 {
	font-size: clamp(2.6rem, 4.6vw, 5.1rem);
	line-height: .99;
	letter-spacing: -.01em;
	margin: 0;
	max-width: 12ch;
}

.bc--hero h1 em { color: var(--olive-700); }

.bc--hero .bc__lead {
	font-size: clamp(.92rem, 1.05vw, 1.05rem);
	color: var(--ink-70);
	max-width: 44ch;
	margin: 1.2rem 0 1.6rem;
}

.bc__actions { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }

.bc--hero .bc__meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding-top: 1.1rem;
	margin-top: 1.4rem;
	border-top: 1px solid var(--line);
	font-size: .74rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ink-55);
}

.bc--hero .bc__meta .dot { color: var(--gold); }

/* Firma botánica del hero */
.bc--hero .bc__leaf {
	position: absolute;
	right: -4%;
	top: -6%;
	width: clamp(180px, 22vw, 320px);
	opacity: .1;
	pointer-events: none;
	transform: rotate(14deg);
}

/* — Celdas con etiqueta sobre imagen — */
.bc__tag {
	display: inline-flex;
	align-self: flex-start;
	padding: .5rem .95rem;
	border-radius: 999px;
	font-size: .64rem;
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--cream-txt);
	background: rgba(33, 39, 23, .38);
	border: 1px solid var(--line-light);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.bc--media .bc__title { font-size: clamp(1.5rem, 2.1vw, 2.15rem); margin: 0; }

/* Reloj / hora local */
.bc__clock { font-variant-numeric: tabular-nums; }

/* Chip de estado (abierto/cerrado) */
.open-chip {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .08em;
	color: var(--ink-55);
}

.open-chip::before {
	content: '';
	width: 7px; height: 7px;
	border-radius: 50%;
	background: var(--olive-500);
	box-shadow: 0 0 0 3px rgba(109, 119, 90, .18);
}

.open-chip.is-closed::before { background: #B0846A; box-shadow: 0 0 0 3px rgba(176, 132, 106, .18); }

.bc--dark .open-chip { color: var(--cream-txt-60); }

/* Colocación del resto de celdas */
.bc--olivar   { grid-column: 8 / 13; grid-row: 1 / 5; }
.bc--catas    { grid-column: 8 / 13; grid-row: 5 / 8; }
.bc--oleoteca { grid-column: 1 / 5;  grid-row: 8 / 11; }
.bc--blog     { grid-column: 5 / 8;  grid-row: 8 / 11; }
.bc--visita   { grid-column: 8 / 11; grid-row: 8 / 11; }
.bc--wa       { grid-column: 11 / 13; grid-row: 8 / 11; }

/* Catas: celda oscura con rama decorativa fundida al borde */
.bc--catas .bc__branch {
	position: absolute;
	inset: 0 0 0 auto;
	width: 42%;
	height: 100%;
	object-fit: cover;
	opacity: .28;
	filter: saturate(.45);
	pointer-events: none;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 70%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 70%);
}

/* Blog cell */
.bc--blog .bc__post-title {
	font-family: var(--serif);
	font-size: clamp(1.2rem, 1.5vw, 1.5rem);
	line-height: 1.15;
	margin: .5rem 0 .3rem;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.bc--blog time { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-40); }

/* Visita */
.bc--visita address {
	font-style: normal;
	font-family: var(--serif);
	font-size: clamp(1.1rem, 1.4vw, 1.4rem);
	line-height: 1.25;
	margin: .5rem 0;
}

/* WhatsApp cell */
.bc--wa { justify-content: space-between; }

.bc--wa .bc__waicon {
	flex: none;
	align-self: flex-start;
	width: 42px; height: 42px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--olive-700);
	color: var(--cream-txt);
	transition: transform .4s var(--ease), background .4s var(--ease);
}

.bc--wa .bc__waicon svg { width: 20px; height: 20px; }
.bc--wa:hover .bc__waicon { transform: scale(1.08); background: var(--gold-deep); }

/* Interacción de celdas-enlace */
a.bc { transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
a.bc:hover { box-shadow: 0 24px 50px -30px rgba(27, 26, 20, .4); }

/* ══ 08. ESTRUCTURA INTERIOR ═════════════════════════════ */

.site-main { overflow: clip; }

.section { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.section--flush-top { padding-top: 0; }
.section--dark { background: var(--olive-950); color: var(--cream-txt); }
.section--cream { background: var(--cream); }

/* Hero de página interior */
.page-hero {
	padding: calc(var(--nav-h) + clamp(3.5rem, 9vh, 7rem)) 0 clamp(2.6rem, 5vw, 4.5rem);
}

.page-hero__head { display: flex; flex-direction: column; gap: 1.4rem; }

.page-hero h1 { margin: 0; max-width: 14ch; }

.page-hero__row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
}

.page-hero__row .lead { margin: 0; }

.page-hero__foot {
	margin-top: clamp(2rem, 4vw, 3.4rem);
	padding-top: 1.2rem;
	border-top: 1px solid var(--line);
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: .8rem 2rem;
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ink-40);
}

/* Banda de imagen panorámica */
.hero-band { padding: 0 var(--gutter); }

.hero-band__media {
	position: relative;
	border-radius: var(--r-lg);
	overflow: hidden;
	aspect-ratio: 21 / 8;
	min-height: 300px;
}

.hero-band__media img {
	width: 100%; height: 112%;
	object-fit: cover;
}

.hero-band__caption {
	position: absolute;
	left: 1.6rem; bottom: 1.3rem;
	z-index: 2;
	color: var(--cream-txt);
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	padding: .55rem 1rem;
	border-radius: 999px;
	background: rgba(33, 39, 23, .35);
	border: 1px solid var(--line-light);
	backdrop-filter: blur(8px);
}

/* Cabecera de sección */
.sec-head { margin-bottom: clamp(2.4rem, 5vw, 4rem); display: flex; flex-direction: column; gap: 1.1rem; }
.sec-head h2 { margin: 0; max-width: 18ch; }
.sec-head--row {
	flex-direction: row;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1.4rem;
}

/* ══ 09. COMPONENTES EDITORIALES ═════════════════════════ */

/* Split editorial (imagen + texto) */
.split {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(2.4rem, 6vw, 6rem);
	align-items: center;
}

.split__media {
	position: relative;
	border-radius: var(--r-lg);
	overflow: hidden;
	aspect-ratio: 4 / 5;
	margin: 0;
}

.split__media img { width: 100%; height: 108%; object-fit: cover; }

.split__caption {
	position: absolute;
	left: 1.1rem; bottom: 1rem;
	z-index: 2;
	color: var(--cream-txt);
	font-size: .66rem;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	padding: .5rem .95rem;
	border-radius: 999px;
	background: rgba(33, 39, 23, .35);
	border: 1px solid var(--line-light);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.split__content h2 { max-width: 16ch; }
.split__content p { color: var(--ink-70); max-width: 52ch; }
.split--flip .split__media { order: 2; }

/* Lista editorial numerada */
.edit-list { list-style: none; margin: 0; padding: 0; }

.edit-list > li {
	display: grid;
	grid-template-columns: 4.5rem 1fr;
	gap: 1.2rem 2rem;
	padding: clamp(1.6rem, 3vw, 2.4rem) 0;
	border-top: 1px solid var(--line);
	align-items: baseline;
}

.edit-list > li:last-child { border-bottom: 1px solid var(--line); }

.edit-list .num {
	font-family: var(--serif);
	font-style: italic;
	font-size: 1.3rem;
	color: var(--gold);
}

.edit-list h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin: 0 0 .4rem; }
.edit-list p { margin: 0; color: var(--ink-70); max-width: 62ch; font-size: .98rem; }

.section--dark .edit-list > li { border-color: var(--line-light); }
.section--dark .edit-list p { color: var(--cream-txt-60); }

/* Cita a gran formato */
.quote-band { position: relative; overflow: hidden; }

.quote-band__bg {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
	opacity: .12;
	filter: saturate(.5);
}

.quote-band blockquote {
	position: relative;
	margin: 0 auto;
	max-width: 22ch;
	text-align: center;
	font-family: var(--serif);
	font-size: clamp(1.9rem, 4vw, 3.4rem);
	line-height: 1.22;
	color: var(--cream-txt);
	quotes: '«' '»';
}

.quote-band blockquote::before { content: open-quote; color: var(--gold); }
.quote-band blockquote::after  { content: close-quote; color: var(--gold); }

.quote-band cite {
	display: block;
	margin-top: 2rem;
	font-family: var(--sans);
	font-style: normal;
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--cream-txt-60);
	text-align: center;
}

/* Banda CTA final */
.cta-band { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.cta-band h2 { margin: 0; max-width: 18ch; }
.cta-band .lead { margin-inline: auto; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* Métricas / datos rápidos en fila */
.fact-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1px;
	background: var(--line);
	border-block: 1px solid var(--line);
}

.fact-row > div { background: var(--paper); padding: 1.8rem 1.6rem; }
.section--cream .fact-row > div { background: var(--cream); }

.fact-row .fact__k {
	font-family: var(--serif);
	font-size: clamp(1.7rem, 2.6vw, 2.4rem);
	line-height: 1;
	display: block;
	margin-bottom: .45rem;
}

.fact-row .fact__k em { color: var(--gold-deep); }
.fact-row .fact__v { font-size: .8rem; color: var(--ink-55); letter-spacing: .04em; }

/* ══ 10. OLEOTECA ════════════════════════════════════════ */

.chip-row { display: flex; flex-wrap: wrap; gap: .6rem; }

.chip {
	display: inline-flex;
	align-items: center;
	padding: .55rem 1.15rem;
	border-radius: 999px;
	border: 1px solid var(--line);
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .04em;
	color: var(--ink-70);
	transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}

.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.prod-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1.6rem, 3vw, 2.8rem);
}

.prod-card { position: relative; display: flex; flex-direction: column; }

.prod-card__media {
	position: relative;
	border-radius: var(--r-md);
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background: var(--cream);
}

.prod-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.prod-card:hover .prod-card__media img { transform: scale(1.05); }

.prod-card__media .corner-arr {
	position: absolute;
	right: .9rem; bottom: .9rem;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity .45s var(--ease), transform .45s var(--ease), background .4s var(--ease), color .4s var(--ease);
}

.prod-card:hover .corner-arr { opacity: 1; transform: none; }

.prod-card__cat {
	position: absolute;
	left: .9rem; top: .9rem;
	z-index: 2;
	font-size: .62rem;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--cream-txt);
	padding: .45rem .9rem;
	border-radius: 999px;
	background: rgba(33, 39, 23, .4);
	border: 1px solid var(--line-light);
	backdrop-filter: blur(8px);
}

.prod-card__body { padding: 1.15rem .2rem 0; display: flex; flex-direction: column; gap: .3rem; flex: 1; }

.prod-card__title { font-size: clamp(1.3rem, 1.8vw, 1.65rem); margin: 0; transition: color .3s; }
.prod-card:hover .prod-card__title { color: var(--olive-700); }

.prod-card__sub {
	margin: 0;
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ink-40);
}

.prod-card__foot {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	margin-top: .7rem;
	padding-top: .7rem;
	border-top: 1px solid var(--line-soft);
}

.prod-card__price { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--gold-deep); }

/* La tarjeta entera es clicable */
.prod-card__link::after { content: ''; position: absolute; inset: 0; z-index: 3; }

.prod-empty { text-align: center; padding: 4rem 0; display: flex; flex-direction: column; gap: 1.4rem; align-items: center; }

/* Variedades */
.variety-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(1.6rem, 3vw, 2.6rem);
}

.variety {
	padding-top: 1.4rem;
	border-top: 1px solid var(--line-light);
}

.variety .num {
	font-family: var(--serif);
	font-style: italic;
	color: var(--gold);
	font-size: 1.05rem;
	display: block;
	margin-bottom: 1.1rem;
}

.variety h3 { font-size: clamp(1.5rem, 2vw, 1.9rem); margin: 0 0 .5rem; color: var(--cream-txt); }
.variety p { margin: 0; font-size: .9rem; line-height: 1.65; color: var(--cream-txt-60); }

/* ══ 11. FICHA DE PRODUCTO ═══════════════════════════════ */

.ficha { padding-top: calc(var(--nav-h) + clamp(2rem, 5vh, 4rem)); }

.ficha__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(2.4rem, 5vw, 5rem);
	align-items: start;
}

.ficha__media {
	position: sticky;
	top: calc(var(--nav-h) + 1rem);
	border-radius: var(--r-lg);
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background: var(--cream);
}

.ficha__media img { width: 100%; height: 100%; object-fit: cover; }

.ficha__crumb {
	display: inline-flex;
	gap: .5rem;
	font-size: .74rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--ink-40);
	margin-bottom: 1.6rem;
	transition: color .3s;
}

.ficha__crumb:hover { color: var(--ink); }

.ficha__title { font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.02; margin: .8rem 0; }

.ficha__sub {
	font-size: .76rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--ink-40);
	margin: 0 0 1.4rem;
}

.ficha__desc { color: var(--ink-70); max-width: 56ch; }

.ficha__data { margin: 2rem 0; }

.ficha__data > div {
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: 1.5rem;
	padding: .85rem 0;
	border-top: 1px solid var(--line);
	font-size: .95rem;
}

.ficha__data > div:last-child { border-bottom: 1px solid var(--line); }

.ficha__data dt {
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ink-40);
	align-self: center;
}

.ficha__data dd { margin: 0; }
.ficha__data .is-price dd { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--gold-deep); }

.ficha__block { margin: 1.8rem 0; }
.ficha__block h2 { font-size: 1.35rem; margin-bottom: .5rem; }
.ficha__block p { color: var(--ink-70); font-size: .97rem; }

.ficha__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2.2rem 0 1.2rem; }
.ficha__note { font-size: .82rem; color: var(--ink-55); }

/* ══ 12. CONTACTO ════════════════════════════════════════ */

.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
	gap: clamp(2.5rem, 6vw, 6rem);
	align-items: start;
}

.contact-list { list-style: none; margin: 0; padding: 0; }

.contact-list > li {
	padding: 1.4rem 0;
	border-top: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	gap: .35rem;
}

.contact-list > li:last-child { border-bottom: 1px solid var(--line); }

.contact-list .k {
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--ink-40);
}

.contact-list .v { font-family: var(--serif); font-size: clamp(1.2rem, 1.8vw, 1.55rem); line-height: 1.3; }
.contact-list .v a { transition: color .3s; }
.contact-list .v a:hover { color: var(--gold-deep); font-style: italic; }

.map-frame {
	border-radius: var(--r-lg);
	overflow: hidden;
	line-height: 0;
	border: 1px solid var(--line-soft);
	filter: grayscale(1) sepia(.14);
	transition: filter .8s var(--ease);
}

.map-frame:hover { filter: grayscale(0) sepia(0); }

/* ══ 13. BLOG ════════════════════════════════════════════ */

.post-list { list-style: none; margin: 0; padding: 0; }

.post-item { border-top: 1px solid var(--line); }
.post-item:last-child { border-bottom: 1px solid var(--line); }

.post-item__link {
	display: grid;
	grid-template-columns: 140px 1fr auto;
	gap: 1.5rem 3rem;
	align-items: center;
	padding: clamp(1.8rem, 3.5vw, 2.8rem) 0;
	transition: padding-left .5s var(--ease);
}

.post-item__link:hover { padding-left: 1.2rem; }

.post-item time {
	font-size: .74rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--ink-40);
}

.post-item h2 {
	font-size: clamp(1.6rem, 3vw, 2.6rem);
	line-height: 1.08;
	margin: 0 0 .35rem;
	transition: color .35s;
}

.post-item__link:hover h2 { color: var(--olive-700); font-style: italic; }

.post-item p { margin: 0; font-size: .95rem; color: var(--ink-55); max-width: 64ch; }

.post-item .corner-arr {
	border-color: var(--line);
	color: var(--ink);
	background: transparent;
}

.post-item__link:hover .corner-arr { background: var(--ink); color: var(--paper); transform: rotate(-45deg); }

/* Artículo */
.article-hero { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.article-hero h1 { max-width: 18ch; margin: 0; }

.article-hero__meta {
	display: flex;
	gap: 1.6rem;
	font-size: .74rem;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ink-40);
}

.article-fig {
	margin: clamp(2rem, 5vw, 3.5rem) auto 0;
	border-radius: var(--r-lg);
	overflow: hidden;
	aspect-ratio: 16 / 9;
}

.article-fig img { width: 100%; height: 100%; object-fit: cover; }

/* Cuerpo de texto largo (blog + páginas) */
.entry-content { font-size: 1.05rem; line-height: 1.85; color: var(--ink-70); }
.entry-content > * + * { margin-top: 1.4em; }
.entry-content h2, .entry-content h3 { color: var(--ink); margin-top: 2em; }
.entry-content h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.entry-content h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.entry-content a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.entry-content img { border-radius: var(--r-md); }

.entry-content blockquote {
	margin: 2em 0;
	padding-left: 1.6em;
	border-left: 2px solid var(--gold);
	font-family: var(--serif);
	font-style: italic;
	font-size: 1.35em;
	line-height: 1.4;
	color: var(--ink);
}

/* Navegación entre posts */
.post-nav {
	display: flex;
	justify-content: space-between;
	gap: 2rem;
	padding-top: 2.4rem;
	margin-top: 3.5rem;
	border-top: 1px solid var(--line);
}

.post-nav a { font-family: var(--serif); font-size: 1.15rem; transition: color .3s; max-width: 42ch; }
.post-nav a:hover { color: var(--gold-deep); font-style: italic; }
.post-nav .lbl { display: block; font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-40); margin-bottom: .4rem; }

/* ══ 14. FORMULARIOS / CF7 PREMIUM ═══════════════════════ */

.form-card {
	background: var(--white);
	border: 1px solid var(--line-soft);
	border-radius: var(--r-lg);
	padding: clamp(1.8rem, 4vw, 3.2rem);
	box-shadow: 0 30px 60px -45px rgba(27, 26, 20, .35);
}

.wpcf7 form { display: flex; flex-direction: column; gap: 1.3rem; }

.wpcf7 .cf7-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.3rem;
}

.wpcf7 p { margin: 0; }

.wpcf7 label {
	display: block;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--ink-55);
	margin-bottom: .55rem;
}

.wpcf7 .cf7-req { color: var(--gold-deep); }

.wpcf7 input[type='text'],
.wpcf7 input[type='email'],
.wpcf7 input[type='tel'],
.wpcf7 input[type='url'],
.wpcf7 input[type='number'],
.wpcf7 input[type='date'],
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	background: var(--white);
	border: 1px solid rgba(27, 26, 20, .16);
	border-radius: var(--r-sm);
	padding: .95rem 1.15rem;
	font-family: var(--sans);
	font-size: .95rem;
	color: var(--ink);
	transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
	appearance: none;
}

.wpcf7 textarea { min-height: 150px; resize: vertical; }

.wpcf7 ::placeholder { color: var(--ink-25); opacity: 1; }

.wpcf7 input:hover, .wpcf7 textarea:hover, .wpcf7 select:hover { border-color: rgba(27, 26, 20, .32); }

.wpcf7 input:focus, .wpcf7 textarea:focus, .wpcf7 select:focus {
	outline: none;
	border-color: var(--olive-700);
	box-shadow: 0 0 0 4px rgba(70, 81, 47, .13);
}

/* Aceptación de privacidad */
.wpcf7 .cf7-acceptance { font-size: .84rem; color: var(--ink-55); }
.wpcf7 .cf7-acceptance label { display: flex; align-items: flex-start; gap: .8rem; text-transform: none; letter-spacing: 0; font-size: .84rem; font-weight: 500; line-height: 1.55; margin: 0; }

.wpcf7 input[type='checkbox'] {
	width: 1.15rem;
	height: 1.15rem;
	margin-top: .15rem;
	flex: none;
	accent-color: var(--olive-700);
	border-radius: 4px;
	cursor: pointer;
}

/* Botón enviar */
.wpcf7 .wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	padding: 1.05em 2.4em;
	border: 0;
	border-radius: 999px;
	background: var(--ink);
	color: var(--paper);
	font-family: var(--sans);
	font-size: .92rem;
	font-weight: 600;
	letter-spacing: .02em;
	cursor: pointer;
	transition: background .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}

.wpcf7 .wpcf7-submit:hover,
.wpcf7 .wpcf7-submit:focus-visible {
	background: var(--olive-700);
	transform: translateY(-2px);
	box-shadow: 0 14px 30px -14px rgba(27, 26, 20, .45);
}

.wpcf7 .wpcf7-spinner { margin: 0 0 0 12px; }

/* Validación y respuesta */
.wpcf7 .wpcf7-not-valid { border-color: #B0846A !important; }

.wpcf7 .wpcf7-not-valid-tip {
	font-size: .76rem;
	color: #96543B;
	margin-top: .4rem;
}

.wpcf7 .wpcf7-response-output {
	margin: 0;
	padding: 1rem 1.3rem;
	border: 0 !important;
	border-radius: var(--r-sm);
	font-size: .9rem;
	background: var(--cream);
	color: var(--ink-70);
}

.wpcf7 form.sent .wpcf7-response-output { background: var(--olive-100); color: var(--olive-900); }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { background: #F6EAE3; color: #7A3B2E; }

/* ══ 15. FOOTER MÍNIMO ═══════════════════════════════════ */

.site-footer {
	border-top: 1px solid var(--line);
	padding: clamp(3rem, 6vw, 5rem) 0 1.6rem;
	background: var(--paper);
}

.site-footer__top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 2rem;
	margin-bottom: clamp(2.4rem, 5vw, 4rem);
}

.site-footer__word {
	font-family: var(--serif);
	font-size: clamp(2.2rem, 5vw, 4rem);
	line-height: 1;
}

.site-footer__word em { color: var(--olive-700); }

.site-footer__nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.6rem; margin: 0; padding: 0; }

.site-footer__nav a {
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ink-55);
	transition: color .3s;
}

.site-footer__nav a:hover { color: var(--ink); }

.site-footer__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: .8rem 2rem;
	padding-top: 1.4rem;
	border-top: 1px solid var(--line-soft);
	font-size: .74rem;
	color: var(--ink-40);
}

.site-footer__meta a { color: var(--ink-55); transition: color .3s; }
.site-footer__meta a:hover { color: var(--ink); }

/* ══ 16. WHATSAPP FLOTANTE ═══════════════════════════════ */

.wa-float {
	position: fixed;
	right: clamp(1rem, 2.5vw, 1.8rem);
	bottom: clamp(1rem, 2.5vw, 1.8rem);
	z-index: 850;
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	height: 52px;
	padding: 0 1.1rem;
	border-radius: 999px;
	background: var(--olive-950);
	color: var(--cream-txt);
	box-shadow: 0 18px 40px -18px rgba(33, 39, 23, .55);
	transition: background .4s var(--ease), transform .4s var(--ease);
}

.wa-float svg { width: 21px; height: 21px; flex: none; }

.wa-float__txt {
	font-size: .8rem;
	font-weight: 600;
	max-width: 0;
	overflow: hidden;
	white-space: nowrap;
	opacity: 0;
	transition: max-width .5s var(--ease), opacity .4s var(--ease);
}

.wa-float:hover { background: var(--olive-700); transform: translateY(-3px); }
.wa-float:hover .wa-float__txt { max-width: 120px; opacity: 1; }

/* ══ 17. 404 / BÚSQUEDA ══════════════════════════════════ */

.error-hero {
	min-height: 82vh;
	display: grid;
	place-items: center;
	text-align: center;
	padding: calc(var(--nav-h) + 2rem) var(--gutter) 4rem;
}

.error-hero .display-1 { max-width: 16ch; }

.search-form-lea { display: flex; gap: .7rem; max-width: 480px; margin-inline: auto; }

.search-form-lea input[type='search'] {
	flex: 1;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: .9rem 1.4rem;
	font-family: var(--sans);
	font-size: .95rem;
}

.search-form-lea input[type='search']:focus { outline: none; border-color: var(--olive-700); box-shadow: 0 0 0 4px rgba(70, 81, 47, .13); }

/* ══ 18. RESPONSIVE + REDUCED MOTION ═════════════════════ */

/* — Bento: portátiles bajos — */
@media (min-width: 1101px) and (max-height: 760px) {
	.bc--hero h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
	.bc__txt { display: none; }
	.bc--hero .bc__lead { margin: .8rem 0 1rem; }
}

/* — Bento: tablet (composición propia de 6 columnas, sigue sin scroll en apaisado) — */
@media (max-width: 1100px) {
	.bento {
		height: auto;
		min-height: 100dvh;
		grid-template-columns: repeat(6, 1fr);
		grid-template-rows: none;
		grid-auto-rows: minmax(150px, auto);
	}

	.bento .bc { grid-row: auto; }

	.bc--hero     { grid-column: 1 / 7; min-height: min(78svh, 640px); }
	.bc--olivar   { grid-column: 1 / 7; min-height: 300px; }
	.bc--catas    { grid-column: 1 / 4; min-height: 260px; }
	.bc--oleoteca { grid-column: 4 / 7; min-height: 260px; }
	.bc--blog     { grid-column: 1 / 4; }
	.bc--visita   { grid-column: 4 / 7; }
	.bc--wa       { grid-column: 1 / 7; flex-direction: row; align-items: center; gap: 1.2rem; }
	.bc--wa .bc__bottom { margin: 0 0 0 auto; }
}

/* — Interiores: tablet — */
@media (max-width: 960px) {
	.split { grid-template-columns: 1fr; }
	.split--flip .split__media { order: 0; }
	.split__media { aspect-ratio: 16 / 10; }

	.prod-grid { grid-template-columns: repeat(2, 1fr); }
	.variety-grid { grid-template-columns: repeat(2, 1fr); }

	.ficha__grid { grid-template-columns: 1fr; }
	.ficha__media { position: static; aspect-ratio: 16 / 11; }

	.contact-grid { grid-template-columns: 1fr; }

	.post-item__link { grid-template-columns: 1fr auto; }
	.post-item time { grid-column: 1 / -1; }

	.hero-band__media { aspect-ratio: 16 / 9; }
}

/* — Móvil — */
@media (max-width: 700px) {
	:root { --nav-h: 64px; }

	.navbar { padding: .8rem 1rem; }
	.navbar__tag { display: none; }
	.menu-btn { padding: .7rem 1rem; }
	.menu-btn__txt { display: none; }

	.bento { padding: calc(var(--nav-h) + 2px) 10px 10px; gap: 10px; }

	.bc--hero     { grid-column: 1 / 7; min-height: calc(100svh - var(--nav-h) - 14px); }
	.bc--olivar   { grid-column: 1 / 7; min-height: 260px; }
	.bc--catas    { grid-column: 1 / 7; min-height: 230px; }
	.bc--oleoteca { grid-column: 1 / 7; min-height: 260px; }
	.bc--blog     { grid-column: 1 / 7; }
	.bc--visita   { grid-column: 1 / 7; }
	.bc--wa       { grid-column: 1 / 7; }

	.bc--hero h1 { font-size: clamp(2.5rem, 11.5vw, 3.4rem); }
	.bc--hero .bc__meta { flex-wrap: wrap; gap: .5rem; }
	.bc__clock { display: none; }

	.prod-grid { grid-template-columns: 1fr; }
	.variety-grid { grid-template-columns: 1fr; }

	.edit-list > li { grid-template-columns: 1fr; gap: .5rem; }

	.wpcf7 .cf7-grid { grid-template-columns: 1fr; }

	.post-nav { flex-direction: column; }

	.nav-overlay__menu a { font-size: clamp(1.9rem, 8.5vw, 2.6rem); gap: .9rem; }
	.nav-overlay__meta { flex-direction: column; align-items: flex-start; gap: .5rem; }
}

/* — Accesibilidad de movimiento — */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }

	html.js [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
	.bc { animation: none; opacity: 1; transform: none; filter: none; }

	.zoom-media img,
	.bc--media .bc__img img,
	.prod-card__media img { transition: none; }

	.veil { display: none; }
}

/* Focus visible coherente */
:focus-visible { outline: 2px solid var(--olive-700); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible, .menu-btn:focus-visible { outline-offset: 2px; }
