/*
Theme Name: Guachinerfe 2026
Theme URI: https://guachinerfe.com
Author: Guachinerfe
Description: Tema propio de guachinerfe.com, construido desde cero (sin heredar de ningún tema comercial). La lógica de negocio (Productos, Clientes, Pedidos, Distribuidores, Documentos, Empleo, Equipo, Recetas) vive en el plugin "Guachinerfe Core", no aquí.
Version: 0.1.0
License: GPLv2 or later
Text Domain: guachinerfe-2026
*/

:root {
	--cream: #FAF6EF;
	--ink: #221F1A;
	--green: #2E4034;
	--green-dark: #1C2A22;
	--terracotta: #C2542E;
	--line: rgba(34, 31, 26, 0.12);
	--max-width: 1280px;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

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

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

.container {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 24px;
}

.font-display {
	font-family: 'Fraunces', serif;
}

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 500;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 24px;
	border-bottom: 1px solid var(--line);
	background: var(--cream);
	transition: box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.is-scrolled {
	padding-top: 10px;
	padding-bottom: 10px;
	box-shadow: 0 4px 16px rgba(34, 31, 26, 0.1);
}

.back-to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: none;
	background: var(--green);
	color: var(--cream);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(28, 42, 34, 0.3);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background 0.2s ease;
	z-index: 400;
}

.back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
	background: var(--green-dark);
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 12px;
	z-index: 1000;
	background: var(--green);
	color: var(--cream);
	padding: 12px 20px;
	border-radius: 0 0 8px 8px;
	font-size: 13px;
	font-weight: 700;
	transition: top 0.2s ease;
}

.skip-link:focus {
	top: 0;
}

.lang-switcher {
	position: relative;
}

.lang-toggle {
	background: none;
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 8px 16px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	cursor: pointer;
	color: var(--ink);
}

.lang-menu {
	list-style: none;
	margin: 0;
	padding: 6px;
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: 12px;
	min-width: 140px;
	display: none;
	flex-direction: column;
	box-shadow: 0 8px 24px rgba(34, 31, 26, 0.12);
	z-index: 10;
}

.lang-menu.is-open {
	display: flex;
}

.lang-menu a {
	display: block;
	padding: 8px 12px;
	border-radius: 8px;
	font-size: 13px;
}

.lang-menu a:hover {
	background: var(--cream);
}

.site-logo {
	display: flex;
	align-items: center;
	gap: 12px;
}

.site-logo img {
	height: 64px;
	width: auto;
}

.site-logo .wordmark {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 18px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.site-nav ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	margin: 0;
	padding: 0;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.site-nav a:hover {
	color: var(--terracotta);
}

.btn {
	display: inline-block;
	padding: 12px 24px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-align: center;
}

.btn-solid {
	background: var(--green);
	color: var(--cream);
}

.btn-accent {
	background: var(--terracotta);
	color: var(--cream);
}

.btn-outline {
	border: 1px solid var(--ink);
	color: var(--ink);
}

.btn-outline-light {
	border: 1px solid rgba(250, 246, 239, 0.4);
	color: var(--cream);
}

/* ---------- Hero ---------- */

.hero {
	position: relative;
	min-height: 520px;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
}

.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 75% 35%, rgba(194, 84, 46, 0.35), transparent 55%);
}

.hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.6s ease;
}

.hero-bg.is-active {
	opacity: 0.35;
}

.hero-content {
	position: relative;
	max-width: 620px;
	padding: 64px 24px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.hero-eyebrow {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--terracotta);
}

.hero-title {
	margin: 0;
	font-size: 42px;
	line-height: 1.15;
	color: var(--cream);
}

.hero-copy {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: rgba(250, 246, 239, 0.82);
	max-width: 480px;
}

.hero-actions {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 8px;
}

.hero-dots {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}

.hero-dots button {
	width: 22px;
	height: 4px;
	border-radius: 2px;
	background: rgba(250, 246, 239, 0.3);
	border: none;
	padding: 0;
	cursor: pointer;
}

.hero-dots button.is-active {
	background: var(--terracotta);
}

/* ---------- Sello / confianza ---------- */

.trust-strip {
	padding: 40px 24px;
	background: #ffffff;
}

.trust-stats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 40px;
	text-align: center;
}

.trust-stat {
	flex: 1 1 200px;
	min-width: 160px;
}

.trust-stat .value {
	display: block;
	font-size: 26px;
	color: var(--green);
}

.trust-stat .label {
	display: block;
	font-size: 12px;
	color: rgba(34, 31, 26, 0.6);
	text-transform: uppercase;
	letter-spacing: 0.03em;
	margin-top: 4px;
}

.trust-seal {
	display: flex;
	align-items: center;
	justify-content: center;
}

.trust-seal img {
	width: 144px;
	height: 144px;
	border-radius: 50%;
	object-fit: cover;
}

.seal img {
	max-width: 72px;
	max-height: 72px;
}

/* ---------- Sección con título y líneas ---------- */

.section-heading {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 36px;
}

.section-heading .line {
	flex: 1;
	height: 1px;
	background: var(--line);
}

.section-heading .text {
	text-align: center;
}

.section-heading h2 {
	margin: 0 0 6px;
	font-size: 24px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.section-heading p {
	margin: 0;
	font-size: 13px;
	color: rgba(34, 31, 26, 0.6);
}

/* ---------- Productos ---------- */

.products-section {
	padding: 24px 24px 72px;
}

.products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 28px;
}

.product-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 320px;
}

.product-card .image {
	position: relative;
	aspect-ratio: 1;
	border-radius: 16px;
	overflow: hidden;
	background: var(--green);
}

.product-card .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-card .badge-destacado {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--terracotta);
	color: var(--cream);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 999px;
}

.product-card .eyebrow {
	font-size: 11px;
	color: rgba(34, 31, 26, 0.55);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.product-card .name {
	font-size: 13px;
	font-weight: 600;
}

.product-card .price {
	font-size: 13px;
	font-weight: 700;
	color: var(--green);
}

.product-card .cta {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--terracotta);
	text-transform: uppercase;
}

.products-cta {
	text-align: center;
	margin-top: 36px;
}

/* ---------- Productos: listado completo y filtros ---------- */

.products-intro {
	padding: 56px 24px 8px;
	text-align: center;
}

.products-intro .eyebrow-accent {
	display: block;
	font-size: 12px;
	letter-spacing: 0.08em;
	color: var(--terracotta);
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.products-intro p {
	max-width: 560px;
	margin: 12px auto 0;
	color: rgba(34, 31, 26, 0.7);
	font-size: 15px;
}

.category-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	padding: 8px 24px 32px;
}

.category-filters a {
	padding: 10px 18px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	border: 1px solid var(--line);
}

.category-filters a.is-active {
	border-color: var(--green);
	background: var(--green);
	color: var(--cream);
}

.breadcrumb {
	padding: 20px 24px 0;
	font-size: 12px;
	color: rgba(34, 31, 26, 0.55);
}

.breadcrumb .container {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.breadcrumb .current {
	color: var(--ink);
	font-weight: 600;
}

/* ---------- Ficha de producto ---------- */

.product-single {
	padding: 32px 24px 56px;
}

.product-single .layout {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
}

.product-gallery {
	flex: 999 1 420px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.product-gallery .main-image {
	position: relative;
	aspect-ratio: 1;
	border-radius: 20px;
	overflow: hidden;
	background: var(--green);
}

.product-gallery .main-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-gallery .thumbs {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.product-gallery .thumbs a {
	width: 72px;
	height: 72px;
	border-radius: 10px;
	overflow: hidden;
	border: 2px solid transparent;
}

.product-gallery .thumbs img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-info {
	flex: 1 1 380px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.product-info .category {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: rgba(34, 31, 26, 0.55);
}

.product-info h1 {
	margin: 0;
	font-size: 34px;
}

.product-info .resume {
	margin: 0;
	font-size: 15px;
	color: rgba(34, 31, 26, 0.75);
}

.product-info .price {
	font-size: 28px;
	font-weight: 700;
	color: var(--green);
}

.product-info .actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.product-description {
	max-width: var(--max-width);
	margin: 56px auto 0;
	padding: 0 24px;
}

.product-description h2 {
	font-size: 22px;
	margin: 0 0 12px;
}

.product-description .content {
	font-size: 14px;
	line-height: 1.7;
	color: rgba(34, 31, 26, 0.75);
}

.related-products {
	padding: 0 24px 72px;
}

/* ---------- Footer ---------- */

.site-footer {
	background: var(--green);
	color: var(--cream);
	padding: 64px 24px 28px;
}

.footer-grid {
	max-width: var(--max-width);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 40px;
}

.footer-brand-col {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 12px;
}

.footer-brand img {
	width: 44px;
	height: 44px;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.footer-brand .wordmark {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.footer-tagline {
	margin: 0;
	font-size: 20px;
	font-style: italic;
	opacity: 0.9;
}

.footer-desc {
	margin: 0;
	font-size: 13px;
	opacity: 0.7;
	line-height: 1.6;
	max-width: 280px;
}

.footer-col {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.footer-col-title {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.55;
	margin-bottom: 4px;
}

.footer-col a,
.footer-col li {
	list-style: none;
	font-size: 14px;
	font-weight: 600;
}

.footer-col li + li {
	margin-top: 12px;
}

.footer-socials {
	display: flex;
	gap: 10px;
}

.footer-socials a {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(250, 246, 239, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
}

.footer-divider {
	height: 1px;
	background: rgba(250, 246, 239, 0.12);
	max-width: var(--max-width);
	margin: 48px auto 32px;
}

.footer-grants {
	max-width: var(--max-width);
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
}

.footer-grants span {
	font-size: 11px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	opacity: 0.55;
}

.footer-grants-card {
	background: var(--cream);
	border-radius: 10px;
	padding: 12px 20px;
}

.footer-grants-card img {
	max-height: 48px;
	width: auto;
}

.footer-bottom {
	max-width: var(--max-width);
	margin: 0 auto;
	text-align: center;
	font-size: 11px;
	opacity: 0.55;
}

@media (max-width: 860px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 600px) {
	.hero-actions {
		flex-direction: column;
	}

	.hero-actions .btn {
		width: 100%;
		text-align: center;
	}

	.lang-switcher {
		order: 4;
	}
}

/* ---------- Menú móvil ---------- */

.menu-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
}

@media (max-width: 860px) {
	.site-nav {
		display: none;
		width: 100%;
		order: 3;
	}

	.site-nav.is-open {
		display: block;
	}

	.site-nav ul {
		flex-direction: column;
		gap: 16px;
		padding: 16px 0;
	}

	.menu-toggle {
		display: block;
	}
}

/* ---------- Página institucional (Empresa) ---------- */

.page-header-image {
	max-height: 420px;
	overflow: hidden;
}

.page-header-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.page-parallax {
	max-height: 320px;
	overflow: hidden;
	margin: 0;
}

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

.company-row {
	padding: 64px 24px;
}

.company-row-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 48px;
}

.company-image {
	flex: 1 1 420px;
	min-width: 0;
	border-radius: 16px;
	overflow: hidden;
}

.company-text {
	flex: 1 1 420px;
	min-width: 0;
}

.company-text h1,
.company-text h2 {
	margin: 0 0 20px;
	font-size: 28px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.company-text .content {
	font-size: 15px;
	line-height: 1.7;
	color: rgba(34, 31, 26, 0.75);
}

.company-text .content ul {
	margin: 8px 0;
	padding-left: 20px;
}

.company-downloads {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 20px;
}

/* ---------- Accesos rápidos (Home) ---------- */

.quick-links-section {
	padding: 56px 24px;
}

.quick-links-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
}

.quick-link {
	border-radius: 20px;
	padding: 32px 28px;
	min-height: 160px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 6px;
	background: var(--green);
	color: var(--cream);
}

.quick-link.is-accent {
	background: var(--terracotta);
}

.quick-link.is-dark {
	background: var(--green-dark);
}

.quick-link .name {
	font-size: 22px;
}

.quick-link .desc {
	font-size: 13px;
	opacity: 0.85;
}

.quick-link .cta {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin-top: 10px;
	opacity: 0.9;
}

/* ---------- Noticias (Home) ---------- */

.news-section {
	padding: 24px 24px 72px;
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 28px;
}

.news-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 360px;
}

.news-card .image {
	aspect-ratio: 16 / 10;
	border-radius: 16px;
	overflow: hidden;
	background: var(--green);
}

.news-card .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.news-card-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.news-card .eyebrow {
	font-size: 11px;
	color: var(--terracotta);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-weight: 700;
}

.news-card .name {
	font-family: 'Fraunces', serif;
	font-size: 18px;
	font-weight: 600;
}

.news-card .excerpt {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: rgba(34, 31, 26, 0.7);
}

.news-card .cta {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--terracotta);
	text-transform: uppercase;
}

/* ---------- Noticias: listado editorial y ficha ---------- */

.news-masthead {
	text-align: center;
	border-bottom: 3px solid var(--ink);
	padding-bottom: 20px;
}

.news-masthead .kicker {
	font-size: 11px;
	letter-spacing: 0.12em;
	color: var(--terracotta);
	font-weight: 700;
	text-transform: uppercase;
}

.news-masthead h1 {
	margin: 6px 0 0;
	font-size: 44px;
	letter-spacing: -0.01em;
}

.news-masthead p {
	margin: 6px 0 0;
	font-size: 13px;
	color: rgba(34, 31, 26, 0.6);
	font-style: italic;
}

.news-feature-section {
	padding: 40px 24px;
}

.news-feature-layout {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
}

.news-feature {
	flex: 999 1 560px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.news-feature .image {
	aspect-ratio: 16 / 9;
	border-radius: 4px;
	overflow: hidden;
	background: var(--green);
}

.news-feature .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.news-feature .kicker,
.news-feature-layout .kicker,
.news-column-item .kicker {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--terracotta);
}

.news-feature h2 {
	margin: 0;
	font-size: 32px;
	line-height: 1.15;
}

.news-feature .dek {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: rgba(34, 31, 26, 0.75);
	max-width: 640px;
}

.news-feature .byline {
	font-size: 12px;
	color: rgba(34, 31, 26, 0.5);
}

.news-latest {
	flex: 1 1 280px;
	min-width: 0;
	border-left: 1px solid rgba(34, 31, 26, 0.15);
	padding-left: 32px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.news-latest h3 {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-bottom: 2px solid var(--ink);
	padding-bottom: 10px;
}

.news-latest-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(34, 31, 26, 0.1);
}

.news-latest-item .title {
	font-size: 16px;
	line-height: 1.3;
}

.news-latest-item .date {
	font-size: 11px;
	color: rgba(34, 31, 26, 0.5);
}

.news-grid-section {
	padding: 0 24px 56px;
}

.news-grid-heading {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	border-top: 3px solid var(--ink);
	border-bottom: 1px solid rgba(34, 31, 26, 0.2);
	padding: 14px 0;
	margin-bottom: 8px;
}

.news-grid-heading h2 {
	margin: 0;
	font-size: 22px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.news-categories {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(34, 31, 26, 0.55);
}

.news-categories .is-active {
	color: var(--ink);
}

.news-columns {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	row-gap: 32px;
}

.news-column-item {
	padding: 28px 28px 0;
	border-left: 1px solid rgba(34, 31, 26, 0.15);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.news-column-item:nth-child(3n+1) {
	border-left: none;
	padding-left: 0;
}

.news-column-item .image {
	aspect-ratio: 4 / 3;
	border-radius: 4px;
	overflow: hidden;
	background: var(--green);
}

.news-column-item .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.news-column-item .title {
	font-size: 18px;
	line-height: 1.25;
}

.news-column-item .dek {
	font-size: 13px;
	color: rgba(34, 31, 26, 0.65);
	line-height: 1.5;
}

.news-column-item .date {
	font-size: 11px;
	color: rgba(34, 31, 26, 0.5);
}

.news-pagination {
	text-align: center;
	margin-top: 40px;
	border-top: 1px solid rgba(34, 31, 26, 0.15);
	padding-top: 32px;
}

@media (max-width: 860px) {
	.news-columns {
		grid-template-columns: 1fr;
	}

	.news-column-item {
		border-left: none;
		padding-left: 0;
		border-top: 1px solid rgba(34, 31, 26, 0.15);
		padding-top: 28px;
	}

	.news-column-item:first-child {
		border-top: none;
		padding-top: 0;
	}

	.news-latest {
		border-left: none;
		padding-left: 0;
		border-top: 1px solid rgba(34, 31, 26, 0.15);
		padding-top: 24px;
	}
}

/* ---------- Ficha de noticia ---------- */

.news-single-header {
	max-width: 760px;
	padding: 40px 24px 0;
	text-align: center;
	margin: 0 auto;
}

.news-single-header .kicker {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--terracotta);
}

.news-single-header h1 {
	margin: 10px 0 0;
	font-size: 38px;
	line-height: 1.15;
}

.news-single-header .subtitle {
	margin: 12px 0 0;
	font-size: 17px;
	color: rgba(34, 31, 26, 0.7);
	font-style: italic;
}

.news-single-header .byline {
	display: block;
	margin-top: 16px;
	font-size: 12px;
	color: rgba(34, 31, 26, 0.5);
}

.news-single-image {
	max-width: 960px;
	margin: 32px auto;
	padding: 0 24px;
}

.news-single-image img {
	border-radius: 4px;
	width: 100%;
}

.news-single-content {
	max-width: 720px;
	margin: 0 auto;
	padding: 0 24px 56px;
	font-size: 16px;
	line-height: 1.75;
	color: rgba(34, 31, 26, 0.85);
}

.news-single-content p {
	margin: 0 0 20px;
}

/* ---------- 404 ---------- */

.not-found-section {
	padding: 96px 24px;
	text-align: center;
}

.not-found-section h1 {
	margin: 10px 0 16px;
	font-size: 32px;
}

.not-found-section p {
	max-width: 480px;
	margin: 0 auto 28px;
	color: rgba(34, 31, 26, 0.7);
}

.not-found-actions {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}

/* ---------- Recetas ---------- */

.recipes-hero {
	position: relative;
	min-height: 460px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: var(--green-dark);
}

.recipes-hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.4;
}

.recipes-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(28, 42, 34, 0.3), rgba(28, 42, 34, 0.75));
}

.recipes-hero-content {
	position: relative;
	text-align: center;
	color: var(--cream);
	padding: 48px 24px;
	max-width: 680px;
}

.recipes-hero-content .eyebrow-accent {
	display: block;
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #f3b89a;
	font-weight: 700;
	margin-bottom: 14px;
}

.recipes-hero-content h1 {
	margin: 0 0 16px;
	font-size: 48px;
	line-height: 1.05;
}

.recipes-hero-content p {
	margin: 0;
	font-size: 16px;
	opacity: 0.9;
	font-style: italic;
}

/* ---------- Receta destacada ---------- */

.recipe-feature-section {
	padding: 56px 24px 0;
}

.recipe-feature {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	align-items: center;
}

.recipe-feature .image {
	flex: 1 1 480px;
	min-width: 0;
	aspect-ratio: 4 / 3;
	border-radius: 20px;
	overflow: hidden;
	background: var(--green);
}

.recipe-feature .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.recipe-feature .info {
	flex: 1 1 420px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.recipe-feature .kicker {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--terracotta);
}

.recipe-feature h2 {
	margin: 0;
	font-size: 32px;
	line-height: 1.15;
}

.recipe-feature p {
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
	color: rgba(34, 31, 26, 0.75);
}

.recipe-feature .btn {
	align-self: flex-start;
	margin-top: 6px;
}

.recipes-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 28px;
}

.recipe-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 360px;
	transition: transform 0.25s ease;
}

.recipe-card:hover {
	transform: translateY(-4px);
}

.recipe-card .image {
	aspect-ratio: 4 / 3;
	border-radius: 16px;
	overflow: hidden;
	background: var(--green);
}

.recipe-card .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.recipe-card:hover .image img {
	transform: scale(1.06);
}

.recipe-card .name {
	font-size: 17px;
}

.recipe-card .cta {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--terracotta);
	text-transform: uppercase;
}

/* ---------- Contacto ---------- */

.contact-section {
	padding: 32px 24px 72px;
}

.contact-layout {
	display: flex;
	flex-wrap: wrap;
	gap: 56px;
}

.contact-info {
	flex: 1 1 320px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.contact-item {
	display: flex;
	gap: 14px;
}

.contact-item .icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--green);
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
}

.contact-item .label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	margin-bottom: 4px;
}

.contact-item .value {
	display: block;
	font-size: 14px;
	color: rgba(34, 31, 26, 0.75);
}

.contact-item .map-link {
	display: inline-block;
	margin-top: 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--terracotta);
	text-transform: uppercase;
}

.contact-form-wrap {
	flex: 1 1 420px;
	min-width: 0;
	background: #ffffff;
	border-radius: 20px;
	padding: 36px;
}

.contact-form-wrap h2 {
	margin: 0 0 20px;
	font-size: 22px;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.contact-form .field-row {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.contact-form .field-row .field {
	flex: 1 1 200px;
	min-width: 0;
}

.contact-form label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: rgba(34, 31, 26, 0.6);
	margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid rgba(34, 31, 26, 0.2);
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	background: var(--cream);
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: 2px solid var(--green);
	outline-offset: 1px;
}

.form-message {
	padding: 14px 16px;
	border-radius: 10px;
	font-size: 14px;
}

.form-message.is-success {
	background: rgba(46, 64, 52, 0.1);
	color: var(--green);
}

.form-message.is-error {
	background: rgba(194, 84, 46, 0.1);
	color: var(--terracotta);
}

/* ---------- Home: historia, reconocimiento, categorías, respiro ---------- */

.history-teaser {
	padding: 72px 24px;
}

.history-teaser-layout {
	display: flex;
	flex-wrap: wrap;
	gap: 56px;
	align-items: center;
}

.history-teaser .image {
	flex: 1 1 420px;
	min-width: 0;
	aspect-ratio: 4 / 3;
	border-radius: 20px;
	overflow: hidden;
	background: var(--green);
}

.history-teaser .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.history-teaser .info {
	flex: 1 1 420px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.history-teaser .kicker {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--terracotta);
	text-transform: uppercase;
}

.history-teaser h2 {
	margin: 0;
	font-size: 30px;
	line-height: 1.2;
}

.history-teaser p {
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
	color: rgba(34, 31, 26, 0.75);
}

.history-teaser .btn {
	align-self: flex-start;
}

.recognition-strip {
	padding: 0 24px 32px;
	background: #ffffff;
	text-align: center;
}

.recognition-strip span {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--green);
	border: 1px solid rgba(46, 64, 52, 0.3);
	border-radius: 999px;
	padding: 8px 18px;
}

.category-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-bottom: 32px;
}

.category-chips a {
	padding: 9px 16px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	border: 1px solid var(--line);
}

.category-chips a.is-active {
	background: var(--green);
	color: var(--cream);
	border-color: var(--green);
}

.breather {
	background: var(--green-dark);
	padding: 72px 24px;
}

.breather-layout {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 48px;
}

.breather-quote {
	flex: 1 1 420px;
	min-width: 280px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	color: var(--cream);
}

.breather-mark {
	font-family: 'Fraunces', serif;
	font-size: 72px;
	line-height: 0.6;
	color: var(--terracotta);
	opacity: 0.55;
}

.breather-quote p {
	font-style: italic;
	font-size: 26px;
	line-height: 1.45;
	margin: 0;
	max-width: 480px;
}

.breather-signature {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(250, 246, 239, 0.65);
}

.breather-photo {
	flex: 1 1 280px;
	min-width: 220px;
	display: flex;
	justify-content: center;
}

.breather-photo img {
	width: 100%;
	max-width: 320px;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 20px;
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32);
}

.fade-section {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-section.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.fade-section {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.back-to-top {
		transition: opacity 0.1s linear, visibility 0.1s linear;
		transform: none;
	}
}

/* ---------- Página genérica (page.php) ---------- */

.generic-page-section {
	padding: 56px 24px 72px;
}

.generic-page-layout {
	max-width: 760px;
}

.generic-page-layout h1 {
	margin: 0 0 24px;
}

.generic-page-image {
	margin-bottom: 32px;
}

.generic-page-image img {
	width: 100%;
	height: auto;
	border-radius: 16px;
}

.generic-page-layout .content {
	font-size: 16px;
	line-height: 1.7;
	color: rgba(34, 31, 26, 0.85);
}

.generic-page-layout .content p {
	margin: 0 0 20px;
}

.generic-page-layout .content h2,
.generic-page-layout .content h3 {
	font-family: 'Fraunces', serif;
	margin: 32px 0 16px;
}

.generic-page-layout .content ul,
.generic-page-layout .content ol {
	margin: 0 0 20px;
	padding-left: 24px;
}

.generic-page-layout .content a {
	color: var(--terracotta);
}

.generic-page-layout .content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}
