/* ==========================================================================
   Bambo — estilos principales
   ========================================================================== */

:root {
	--cream: #fbf8f1;
	--sand: #f1ebdf;
	--ink: #2a1d14;
	--ink-soft: #5d5047;
	--line: #e3dccd;
	--green: #135a2e;
	--green-deep: #0f4a25;
	--lime: #c8e03c;
	--orange: #f0a149;
	--orange-cta: #f07e22;
	--red: #e5473a;
	--red-deep: #d8322b;
	--yellow: #f7c631;
	--brown: #2a1a12;
	--white: #ffffff;

	--sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
	--serif: "Newsreader", Georgia, "Times New Roman", serif;

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 6px;
	--header-h: 76px;
	--section-y: clamp(64px, 9vw, 120px);
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 8px);
	-webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--orange-cta); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.05; font-weight: 500; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding: var(--section-y) 0; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

/* Tipografía ----------------------------------------------------------- */
.display {
	font-size: clamp(2.2rem, 5vw, 3.9rem);
	font-weight: 500;
	letter-spacing: -.035em;
	line-height: 1.02;
}
.display-serif {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(2.6rem, 6vw, 4.6rem);
	letter-spacing: -.025em;
	line-height: .98;
}
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 46ch; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
	color: var(--green); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--orange-cta); }
.eyebrow--plain::before { display: none; }
.eyebrow--yellow { color: var(--yellow); }
.eyebrow--yellow::before { background: var(--yellow); }

.num {
	font-size: .72rem; font-weight: 600; letter-spacing: .08em;
	font-variant-numeric: tabular-nums;
}

/* Botones y enlaces ------------------------------------------------------ */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 14px 24px; border-radius: 999px; border: 0;
	font: 600 .9rem/1 var(--sans); text-decoration: none; cursor: pointer;
	transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translate(2px, -2px); }
.btn--orange { background: var(--orange-cta); color: var(--white); }
.btn--orange:hover { background: #dc6d12; }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-deep); }
.btn--white { background: var(--white); color: var(--green); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--yellow { background: var(--yellow); color: var(--ink); }

.link-arrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 600; font-size: .9rem; text-decoration: none;
	padding-bottom: 6px; border-bottom: 1px solid currentColor;
}
.link-arrow:hover .arrow { transform: translate(2px, -2px); }
.link-arrow .arrow { transition: transform .2s ease; }

/* Cabecera --------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: color-mix(in srgb, var(--cream) 92%, transparent);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand img, .custom-logo { height: 30px; width: auto; }
.custom-logo-link { display: inline-flex; }

.main-nav { margin-left: auto; }
.main-nav .menu { display: flex; gap: 30px; }
.main-nav a {
	font-size: .88rem; font-weight: 500; text-decoration: none;
	position: relative; padding: 6px 0;
}
.main-nav a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
	background: var(--orange-cta); transform: scaleX(0); transform-origin: left;
	transition: transform .25s ease;
}
.main-nav a:hover::after,
.main-nav a.is-active::after { transform: scaleX(1); }
.nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; margin-left: 12px; }
.header-cta { padding: 12px 20px; }
.cart-link { position: relative; display: inline-flex; padding: 8px; text-decoration: none; }
.cart-count {
	position: absolute; top: 0; right: -2px; min-width: 18px; height: 18px;
	border-radius: 999px; background: var(--orange-cta); color: var(--white);
	font-size: .65rem; font-weight: 700; display: grid; place-items: center; padding: 0 4px;
}
.cart-count:not(.has-items) { display: none; }

.nav-toggle {
	display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
	padding: 0; position: relative;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
	position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink);
	border-radius: 2px; transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle-bars { top: 21px; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; left: 0; right: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
	.nav-toggle { display: inline-block; }
	.header-cta { display: none; }
	.header-actions { margin-left: auto; }
	.main-nav {
		position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
		background: var(--cream); border-bottom: 1px solid var(--line);
		padding: 12px var(--gutter) 28px;
		transform: translateY(-8px); opacity: 0; visibility: hidden;
		transition: opacity .2s ease, transform .2s ease, visibility .2s;
	}
	.admin-bar .main-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
	.main-nav .menu { flex-direction: column; gap: 0; }
	.main-nav .menu a { display: block; padding: 14px 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
	.main-nav .menu a::after { display: none; }
	.nav-cta-mobile { display: inline-flex; margin-top: 20px; }
}

/* Portada ---------------------------------------------------------------- */
.hero { padding-top: 8px; }
.hero-grid {
	display: grid; grid-template-columns: 1fr 1fr;
	background: var(--cream); min-height: min(86vh, 760px);
}
.hero-copy { padding: clamp(40px, 7vw, 96px) clamp(0px, 5vw, 64px) 48px 0; display: flex; flex-direction: column; justify-content: center; }
.hero-title {
	font-size: clamp(3.2rem, 8vw, 6.4rem);
	font-weight: 700; letter-spacing: -.045em; line-height: .92;
	margin-bottom: 28px;
}
.hero-title span { display: block; }
.hero-title em {
	display: block; font-family: var(--serif); font-style: italic; font-weight: 400;
	color: var(--green); letter-spacing: -.03em; line-height: .95; margin-top: .06em;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; margin: 12px 0 40px; }
.hero-facts {
	display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 22px; border-top: 1px solid var(--line);
	font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft);
}
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--orange-cta); }

.hero-media { position: relative; margin-right: calc(var(--gutter) * -1); min-height: 420px; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-badge {
	position: absolute; left: clamp(16px, 4vw, 40px); bottom: clamp(16px, 4vw, 40px);
	display: flex; align-items: center; gap: 12px; max-width: 290px;
	background: var(--white); color: var(--ink); padding: 14px 16px; border-radius: var(--radius);
	box-shadow: 0 10px 30px rgba(42, 29, 20, .15); font-size: .82rem; line-height: 1.35;
}
.hero-badge strong { display: block; font-size: .9rem; }
.hero-badge-icon {
	flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
	background: var(--lime); color: var(--green); font-size: 1rem;
}

@media (max-width: 860px) {
	.hero-grid { grid-template-columns: 1fr; min-height: 0; }
	.hero-copy { padding: 40px 0 36px; }
	.hero-media { margin: 0 calc(var(--gutter) * -1); aspect-ratio: 4 / 5; min-height: 0; }
}

/* Cinta ------------------------------------------------------------------ */
.ticker { background: var(--yellow); overflow: hidden; border-block: 1px solid rgba(42, 29, 20, .08); }
.ticker-track {
	display: flex; width: max-content; gap: 28px; padding: 18px 0;
	font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em; white-space: nowrap;
	animation: ticker 40s linear infinite;
}
.ticker-track .dot { color: var(--red-deep); font-size: .6rem; align-self: center; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Tres caminos ----------------------------------------------------------- */
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .display { max-width: 15ch; }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head--row .display { max-width: none; }

.path-list { display: grid; gap: 22px; }
.path-card {
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	border-radius: var(--radius); overflow: hidden; min-height: 420px;
	scroll-margin-top: 16px;
}
.path-media { position: relative; min-height: 300px; }
.path-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.path-media .num {
	position: absolute; top: 18px; left: 18px; z-index: 1;
	width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
	background: var(--white); color: var(--ink);
}
.path-body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; }
.path-body h3 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); letter-spacing: -.03em; max-width: 20ch; }
.path-body p { max-width: 54ch; font-size: .98rem; }
.path-body .link-arrow { margin-top: auto; align-self: flex-start; padding-top: 32px; }
.path-body .eyebrow { margin-bottom: 14px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; }
.tags li {
	font-size: .76rem; font-weight: 500; padding: 6px 12px;
	border: 1px solid currentColor; border-radius: 999px;
}

.path-card--lime { background: var(--lime); color: var(--ink); }
.path-card--lime .eyebrow { color: var(--green); }
.path-card--orange { background: var(--orange); color: var(--ink); }
.path-card--orange .eyebrow { color: var(--ink); }
.path-card--red { background: var(--red); color: var(--white); }
.path-card--red .eyebrow { color: var(--white); }

@media (max-width: 760px) {
	.path-card { grid-template-columns: 1fr; }
	.path-media { aspect-ratio: 4 / 3; }
}

/* Tienda (portada) ------------------------------------------------------- */
.shop-teaser { background: var(--sand); }
.product-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card a {
	display: flex; flex-direction: column; height: 100%; text-decoration: none;
	background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease;
}
.product-card a:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(42, 29, 20, .1); }
.product-card figure { position: relative; aspect-ratio: 4 / 5; background: #e8e1d2; overflow: hidden; }
.product-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product-card a:hover figure img { transform: scale(1.04); }
.badge {
	position: absolute; top: 14px; left: 14px; z-index: 1;
	background: var(--white); color: var(--ink); padding: 6px 12px; border-radius: 999px;
	font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.product-card-body { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; padding: 20px; align-items: start; }
.product-card-body .num { color: var(--orange-cta); padding-top: 6px; }
.product-card-title { font-size: 1.2rem; font-weight: 500; margin: 0 0 6px; letter-spacing: -.02em; line-height: 1.15; }
.product-card-body p { font-size: .86rem; color: var(--ink-soft); margin: 0 0 8px; }
.product-card-price { font-weight: 600; color: var(--ink) !important; }
.round-arrow {
	width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--ink);
	display: grid; place-items: center; transition: background-color .2s ease, color .2s ease;
}
.product-card a:hover .round-arrow { background: var(--ink); color: var(--cream); }

@media (max-width: 860px) {
	.product-cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
	.product-card { scroll-snap-align: start; }
}

/* Economía circular ------------------------------------------------------ */
.circular { background: var(--green); color: var(--white); padding: var(--section-y) 0; }
.circular-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.circular .display-serif { max-width: 10ch; margin-bottom: 28px; }
.circular p { color: rgba(255, 255, 255, .82); max-width: 42ch; }
.circular .btn { margin-top: 12px; }
.steps li {
	display: grid; grid-template-columns: 48px 1fr; gap: 8px;
	padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .2);
}
.steps li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .2); }
.steps .num { color: var(--lime); padding-top: 4px; }
.steps h3 { font-size: 1.15rem; margin-bottom: 4px; letter-spacing: -.01em; }
.steps p { margin: 0; font-size: .92rem; color: rgba(255, 255, 255, .75); }
@media (max-width: 860px) { .circular-grid { grid-template-columns: 1fr; } }

/* Proyectos -------------------------------------------------------------- */
.projects { background: var(--yellow); }
.projects-grid { display: grid; grid-template-columns: 1fr 1fr; padding: 0; max-width: none; }
.projects-media { position: relative; min-height: 520px; }
.projects-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.projects-body {
	padding: var(--section-y) var(--gutter) var(--section-y) clamp(32px, 6vw, 80px);
	max-width: calc(var(--container) / 2 + 40px);
}
.projects-body .display { max-width: 11ch; margin-bottom: 24px; }
.projects-body .eyebrow { color: var(--ink); }
.projects-body > p { max-width: 44ch; }
.spec { margin: 28px 0 36px; }
.spec div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(42, 29, 20, .2); }
.spec div:last-child { border-bottom: 1px solid rgba(42, 29, 20, .2); }
.spec dt { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding-top: 3px; }
.spec dd { margin: 0; font-size: .92rem; }
@media (max-width: 860px) {
	.projects-grid { grid-template-columns: 1fr; }
	.projects-media { min-height: 0; aspect-ratio: 4 / 3; }
	.projects-body { padding: 48px var(--gutter) 64px; }
	.spec div { grid-template-columns: 1fr; gap: 2px; }
}

/* Empresas --------------------------------------------------------------- */
.companies { background: var(--brown); color: var(--white); padding: var(--section-y) 0; }
.companies-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.companies .display-serif { max-width: 9ch; }
.companies-lead { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.4; margin-bottom: 32px; max-width: 34ch; }
.offer li {
	display: grid; grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px;
	padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .16); align-items: baseline;
}
.offer li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.offer .num { color: var(--yellow); }
.offer h3 { font-size: 1.02rem; margin: 0; letter-spacing: -.01em; }
.offer p { margin: 0; font-size: .86rem; color: rgba(255, 255, 255, .7); }
.companies .btn { margin-top: 36px; }
@media (max-width: 860px) {
	.companies-grid { grid-template-columns: 1fr; }
	.offer li { grid-template-columns: 36px 1fr; }
	.offer p { grid-column: 2; }
}

/* Propósito -------------------------------------------------------------- */
.purpose-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.arch-quote {
	margin: 0; background: var(--lime); color: var(--green);
	border-radius: 999px 999px var(--radius) var(--radius);
	padding: clamp(64px, 9vw, 110px) clamp(28px, 4vw, 48px) clamp(36px, 5vw, 52px);
}
.arch-quote p {
	font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.7rem);
	line-height: 1.05; letter-spacing: -.02em; margin-bottom: 22px;
}
.arch-quote footer { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.purpose .display { margin-bottom: 24px; }
@media (max-width: 860px) { .purpose-grid { grid-template-columns: 1fr; } .arch-quote { max-width: 440px; } }

/* Llamado final ---------------------------------------------------------- */
.final-cta { background: var(--red-deep); color: var(--white); padding: clamp(56px, 8vw, 96px) 0; }
.final-cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.final-cta .display-serif { max-width: 10ch; margin: 0; }
.cta-list li { border-top: 1px solid rgba(255, 255, 255, .35); }
.cta-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .35); }
.cta-list a {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 20px 0; text-decoration: none; font-weight: 600; font-size: 1.02rem;
}
.cta-list a .arrow { transition: transform .2s ease; }
.cta-list a:hover .arrow { transform: translate(3px, -3px); }
@media (max-width: 860px) { .final-cta-inner { grid-template-columns: 1fr; } }

/* Pie -------------------------------------------------------------------- */
.site-footer { background: var(--sand); padding-top: 56px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 48px; }
.footer-tagline { font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-top: 10px; }
.footer-nav .menu { display: grid; gap: 8px; }
.footer-nav a, .footer-contact a { font-size: .9rem; text-decoration: none; }
.footer-nav a:hover, .footer-contact a:hover { text-decoration: underline; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.footer-contact a { display: inline-flex; align-items: center; gap: 6px; }
.footer-small { font-size: .74rem; color: var(--ink-soft); margin-top: 8px; }
.color-line {
	height: 6px;
	background: linear-gradient(90deg, #b3242a 0 16.6%, var(--red) 16.6% 33.3%, var(--orange-cta) 33.3% 50%, var(--yellow) 50% 66.6%, #8cbf3f 66.6% 83.3%, var(--green) 83.3%);
}
@media (max-width: 760px) {
	.footer-inner { grid-template-columns: 1fr; }
	.footer-contact { align-items: flex-start; text-align: left; }
}

/* Páginas interiores ----------------------------------------------------- */
.page-main { padding: clamp(40px, 6vw, 80px) 0 var(--section-y); }
.page-head { margin-bottom: 36px; }
.entry-content > * + * { margin-top: 1em; }
.entry-content img { border-radius: var(--radius); }
.entry--summary { padding: 24px 0; border-top: 1px solid var(--line); }

/* Animación de entrada --------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   WooCommerce
   ========================================================================== */
.shop-main { padding: 0; }
.woocommerce-breadcrumb { font-size: .8rem; color: var(--ink-soft); margin: 0 0 28px; padding-top: clamp(20px, 3vw, 32px); }
.woocommerce-breadcrumb a { text-decoration: none; }
.woocommerce-breadcrumb a:hover { text-decoration: underline; }
.woocommerce-breadcrumb .sep { margin: 0 8px; opacity: .6; }

.price-quote { color: var(--green); font-weight: 600; }
.woocommerce .price del, .pd-price del { opacity: .5; font-weight: 400; margin-right: 6px; }
.woocommerce .price ins, .pd-price ins { text-decoration: none; }

/* Botones de WooCommerce con la forma del tema */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce .button.alt,
.wc-block-components-button:not(.is-link) {
	background: var(--green) !important; color: var(--white) !important;
	border-radius: 999px !important; padding: 14px 24px !important;
	font: 600 .9rem/1 var(--sans) !important; border: 0 !important;
	transition: background-color .2s ease, transform .2s ease;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce .button.alt:hover,
.wc-block-components-button:not(.is-link):hover { background: var(--green-deep) !important; }
.woocommerce button.button.alt.single_add_to_cart_button { background: var(--orange-cta) !important; padding: 16px 28px !important; font-size: .95rem !important; }
.woocommerce button.button.alt.single_add_to_cart_button:hover { background: #dc6d12 !important; transform: translateY(-2px); }
.woocommerce button.button.disabled, .woocommerce button.button:disabled { opacity: .45 !important; }

/* Catálogo ----------------------------------------------------------------- */
.shop-hero { background: var(--sand); padding-bottom: clamp(28px, 4vw, 44px); }
.shop-hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 5vw, 64px); align-items: end; }
.shop-hero .display { margin: 0; }
.shop-hero-lead .lead { margin-bottom: 18px; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(28px, 4vw, 44px); }
.cat-pills a {
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
	border: 1px solid var(--ink); font-size: .86rem; font-weight: 600; text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}
.cat-pills a span { font-size: .7rem; font-weight: 600; opacity: .55; }
.cat-pills a:hover { background: var(--ink); color: var(--cream); }
.cat-pills a.is-active { background: var(--green); border-color: var(--green); color: var(--white); }
.cat-pills a.is-active span { opacity: .8; }

.shop-list { padding: clamp(28px, 4vw, 44px) 0 var(--section-y); }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.shop-toolbar .woocommerce-result-count, .shop-toolbar .woocommerce-ordering { float: none; margin: 0; }
.woocommerce-result-count { font-size: .85rem; color: var(--ink-soft); }
.woocommerce-ordering select {
	font: inherit; font-size: .85rem; padding: 10px 36px 10px 16px; border: 1px solid var(--line);
	border-radius: 999px; background: var(--white); color: var(--ink);
}

.product-cards--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; clear: both; }
.product-card a { background: var(--white); }
.shop-teaser .product-card a { background: var(--cream); }
.card-placeholder { display: grid; place-items: center; width: 100%; height: 100%; }
.card-placeholder img { width: 72px; height: 72px; opacity: .35; }
.product-card.is-quote .product-card-price { color: var(--green) !important; }

.woocommerce nav.woocommerce-pagination { margin-top: 48px; }
.woocommerce nav.woocommerce-pagination ul { border: 0 !important; display: flex; gap: 8px; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0 !important; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
	display: grid !important; place-items: center; width: 44px; height: 44px; padding: 0 !important;
	border-radius: 50%; border: 1px solid var(--line); font-weight: 600;
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--sand); }

@media (max-width: 960px) {
	.product-cards--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.shop-hero-grid { grid-template-columns: 1fr; }
	.product-cards--grid { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; }
}
@media (max-width: 560px) {
	.product-cards--grid { gap: 18px 12px; }
	.product-cards--grid .product-card-body { grid-template-columns: 1fr; padding: 14px; gap: 6px; }
	.product-cards--grid .product-card-body > p, .product-cards--grid .product-card-body div > p:not(.product-card-price) { display: none; }
	.product-cards--grid .round-arrow, .product-cards--grid .product-card-body .num { display: none; }
	.product-cards--grid .product-card-title { font-size: 1rem; }
	.product-cards--grid .badge { top: 10px; left: 10px; font-size: .58rem; padding: 5px 9px; }
	.cat-pills { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
	.cat-pills a { flex: none; }
}

/* Ficha de producto ------------------------------------------------------- */
.pd-hero { padding-bottom: clamp(48px, 7vw, 96px); }
.pd-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: start; }

.pd-gallery { position: relative; min-width: 0; }
.woocommerce .pd-gallery div.images,
.woocommerce .pd-gallery .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; }
.pd-gallery .woocommerce-product-gallery__wrapper { margin: 0; }
.pd-gallery .woocommerce-product-gallery__image,
.pd-gallery .flex-viewport { border-radius: var(--radius); overflow: hidden; background: #e8e1d2; }
.pd-gallery .woocommerce-product-gallery__image img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.woocommerce div.product .pd-gallery div.images .flex-control-thumbs {
	display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 12px 0 0; padding: 0;
}
.woocommerce div.product .pd-gallery div.images .flex-control-thumbs li { width: auto; float: none; margin: 0; }
.woocommerce div.product .pd-gallery div.images .flex-control-thumbs li img {
	aspect-ratio: 1; object-fit: cover; border-radius: 4px; opacity: .55; transition: opacity .2s ease; background: #e8e1d2;
}
.woocommerce div.product .pd-gallery div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product .pd-gallery div.images .flex-control-thumbs li img:hover { opacity: 1; }
.woocommerce div.product .pd-gallery div.images .woocommerce-product-gallery__trigger {
	top: 14px; right: 14px; width: 40px; height: 40px; background: var(--white); border-radius: 50%; box-shadow: 0 4px 14px rgba(42, 29, 20, .12);
}
.woocommerce span.onsale {
	top: 14px; left: 14px; right: auto; min-width: 0; min-height: 0; padding: 7px 14px; margin: 0; line-height: 1;
	border-radius: 999px; background: var(--red); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}

.pd-summary { position: sticky; top: calc(var(--header-h) + 24px); }
.admin-bar .pd-summary { top: calc(var(--header-h) + 56px); }
.pd-summary .eyebrow a { text-decoration: none; }
.pd-title { font-size: clamp(2.4rem, 4.6vw, 3.8rem); font-weight: 500; letter-spacing: -.04em; line-height: .98; margin-bottom: 16px; }
.pd-price { font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; margin-bottom: 20px; color: var(--ink); }
.woocommerce div.product p.pd-price, .woocommerce div.product .pd-buy .price { color: var(--ink); }
.pd-price .price-quote { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.8rem; }
.pd-lead { color: var(--ink-soft); font-size: 1.02rem; margin-bottom: 8px; }
.pd-lead strong { font-weight: 400; }
.pd-lead p:last-child { margin-bottom: 0; }

.pd-buy { padding: 24px 0; margin: 20px 0 0; border-top: 1px solid var(--line); }
.woocommerce div.product .pd-buy form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0; }
.woocommerce div.product .pd-buy form.cart::before, .woocommerce div.product .pd-buy form.cart::after { display: none; }
.woocommerce div.product .pd-buy form.cart div.quantity { float: none; margin: 0; }
.woocommerce .quantity .qty {
	width: 78px; height: 50px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font: 600 1rem var(--sans); text-align: center; color: var(--ink);
}
.woocommerce div.product .pd-buy form.cart .button { float: none; }
.woocommerce div.product .pd-buy form.variations_form { display: block; }
.woocommerce div.product .pd-buy .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.woocommerce div.product .pd-buy table.variations { width: 100%; margin: 0 0 16px; border: 0; }
.woocommerce div.product .pd-buy table.variations tr { display: grid; gap: 8px; margin-bottom: 12px; }
.woocommerce div.product .pd-buy table.variations th, .woocommerce div.product .pd-buy table.variations td { display: block; padding: 0; text-align: left; line-height: 1.2; }
.woocommerce div.product .pd-buy table.variations th label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.woocommerce div.product .pd-buy table.variations select {
	width: 100%; font: inherit; font-size: .95rem; padding: 13px 16px; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--white); color: var(--ink);
}
.woocommerce div.product .pd-buy .reset_variations { font-size: .8rem; margin-top: 8px; display: inline-block; }
.woocommerce div.product .pd-buy .single_variation_wrap .woocommerce-variation-price { margin-bottom: 14px; }
.woocommerce div.product .pd-buy .single_variation_wrap .price { font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.woocommerce div.product .pd-buy .stock { font-size: .85rem; color: var(--green); margin: 0 0 12px; }
.quote-cta { margin: 0; }
.quote-cta .btn--orange { color: var(--white); padding: 16px 28px; font-size: .95rem; }

.pd-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.pd-facts li { font-size: .74rem; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: var(--sand); }
.pd-help {
	display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
	padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
	text-decoration: none; font-size: .86rem; line-height: 1.4; transition: border-color .2s ease;
}
.pd-help:hover { border-color: var(--ink); }
.pd-help:hover .arrow { transform: translate(2px, -2px); }
.pd-help .arrow { transition: transform .2s ease; }
.pd-help strong { display: block; font-size: .92rem; }
.pd-help-icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--green); font-weight: 700; }

/* Perfil de juego */
.pd-profile { background: var(--lime); padding: clamp(48px, 7vw, 88px) 0; }
.pd-profile-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.pd-profile .eyebrow { color: var(--green); }
.pd-profile .display { max-width: 11ch; margin: 0; }
.profile-bars li { display: grid; grid-template-columns: 110px 1fr 48px; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid rgba(19, 90, 46, .25); }
.profile-bars li:last-child { border-bottom: 1px solid rgba(19, 90, 46, .25); }
.profile-label { font-weight: 600; font-size: .95rem; }
.profile-track { height: 10px; border-radius: 999px; background: rgba(19, 90, 46, .15); overflow: hidden; }
.profile-track span { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.profile-value { font-weight: 600; font-size: .9rem; text-align: right; font-variant-numeric: tabular-nums; }

/* Bloques de la descripción */
.pd-details .section-head .display { max-width: 14ch; }
.pd-intro { max-width: 60ch; margin-top: 18px; }
.pd-intro p:last-child { margin-bottom: 0; }
.pd-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.pd-card { border-radius: var(--radius); padding: clamp(24px, 3.5vw, 40px); }
.pd-card .num { display: block; margin-bottom: 18px; }
.pd-card h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.025em; margin-bottom: 16px; }
.pd-card-body { font-size: .95rem; }
.pd-card-body p { margin-bottom: .5em; }
.pd-card-body p:last-child { margin-bottom: 0; }
.pd-card-body strong { font-weight: 600; }
.pd-card-body ul { list-style: disc; padding-left: 1.2em; }
.pd-card--sand { background: var(--sand); }
.pd-card--sand .num { color: var(--orange-cta); }
.pd-card--lime { background: var(--lime); }
.pd-card--lime .num { color: var(--green); }
.pd-card--orange { background: var(--orange); }
.pd-card--green { background: var(--green); color: var(--white); }
.pd-card--green .num { color: var(--lime); }
.pd-card .woocommerce-product-attributes { width: 100%; border: 0; margin: 0; border-collapse: collapse; }
.pd-card .woocommerce-product-attributes th, .pd-card .woocommerce-product-attributes td {
	text-align: left; padding: 12px 0; border-top: 1px solid rgba(42, 29, 20, .15); background: transparent !important; font-style: normal;
}
.pd-card .woocommerce-product-attributes th { width: 40%; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pd-card .woocommerce-product-attributes td p { margin: 0; padding: 0; }

@media (max-width: 960px) {
	.pd-grid { grid-template-columns: 1fr; }
	.pd-summary { position: static; }
	.pd-profile-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
	.pd-cards { grid-template-columns: 1fr; }
	.profile-bars li { grid-template-columns: 90px 1fr 42px; gap: 12px; }
	.woocommerce div.product .pd-gallery div.images .flex-control-thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
}

/* Avisos, carro y pago */
.woocommerce-notices-wrapper:not(:empty) { margin-bottom: 24px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error,
.wc-block-components-notice-banner {
	border-radius: var(--radius); border-top: 0 !important; background: var(--white) !important;
	border-left: 4px solid var(--green) !important;
}
.woocommerce-error { border-left-color: var(--red) !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--green); }
.woocommerce-message .button { float: right; }
.page-main--shop .wc-block-components-sidebar-layout,
.page-main--shop .wp-block-woocommerce-cart,
.page-main--shop .wp-block-woocommerce-checkout { font-family: var(--sans); }
.wc-block-components-text-input input, .wc-block-components-combobox input,
.wc-block-components-select select, .woocommerce form .input-text {
	border-radius: var(--radius) !important; border-color: var(--line) !important;
}
.wc-block-components-totals-wrapper, .wc-block-components-order-summary { border-color: var(--line) !important; }

/* ==========================================================================
   Formulario de proyectos
   ========================================================================== */
.form-hero { background: var(--sand); padding: clamp(40px, 6vw, 80px) 0 var(--section-y); }
.form-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.form-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.admin-bar .form-intro { top: calc(var(--header-h) + 64px); }
.form-intro .display { max-width: 11ch; margin-bottom: 22px; }
.form-steps { margin: 36px 0 28px; }
.form-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 8px; padding: 18px 0; border-top: 1px solid rgba(42, 29, 20, .15); }
.form-steps li:last-child { border-bottom: 1px solid rgba(42, 29, 20, .15); }
.form-steps .num { color: var(--orange-cta); padding-top: 3px; }
.form-steps h2 { font-size: 1.05rem; margin: 0 0 4px; letter-spacing: -.01em; }
.form-steps p { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.form-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .9rem; }

.form-card {
	background: var(--white); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px);
	box-shadow: 0 20px 50px rgba(42, 29, 20, .08); scroll-margin-top: calc(var(--header-h) + 24px);
}
.project-form fieldset { border: 0; margin: 0 0 32px; padding: 0; min-width: 0; }
.project-form legend {
	display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 16px;
	font-size: 1.2rem; font-weight: 500; letter-spacing: -.015em;
}
.project-form legend .num { color: var(--orange-cta); }
.fields { display: grid; gap: 14px; }
.fields--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pills + .fields, .checks + .fields { margin-top: 18px; }

.field { display: grid; gap: 6px; }
.field > span { font-size: .78rem; font-weight: 600; }
.field em { font-style: normal; font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
	width: 100%; font: inherit; font-size: .98rem; color: var(--ink);
	padding: 13px 15px; border: 1px solid #d9d1c1; border-radius: var(--radius); background: var(--cream);
	transition: border-color .2s ease, background-color .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: var(--white); box-shadow: 0 0 0 3px rgba(19, 90, 46, .12); }
.field.is-invalid input, .field.is-invalid textarea, fieldset.is-invalid .pill span { border-color: var(--red); }
.field-hint { font-size: .8rem; color: var(--ink-soft); margin: 8px 0 0; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span {
	display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid #d9d1c1;
	font-size: .86rem; font-weight: 500; background: var(--cream); transition: all .15s ease;
}
.pill:hover span { border-color: var(--ink); }
.pill input:checked + span { background: var(--green); border-color: var(--green); color: var(--white); }
.pill input:focus-visible + span { outline: 2px solid var(--orange-cta); outline-offset: 2px; }

.checks { display: grid; gap: 10px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .92rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--green); cursor: pointer; }
.consent { margin: 4px 0 24px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--ink-soft); }
.consent.is-invalid { color: var(--red); }
.btn--submit { width: 100%; justify-content: center; padding: 17px 24px; font-size: 1rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #fdecea; color: #a12a20; border-radius: var(--radius); padding: 12px 16px; font-size: .9rem; margin-bottom: 24px; }

.form-success { text-align: center; padding: clamp(16px, 4vw, 40px) 0; }
.form-success-icon {
	display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
	background: var(--lime); color: var(--green); font-size: 1.8rem; font-weight: 700; margin-bottom: 20px;
}
.form-success h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.03em; }
.form-success p { color: var(--ink-soft); max-width: 42ch; margin-inline: auto; }
.form-success-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 24px; margin-top: 28px; }

@media (max-width: 960px) {
	.form-grid { grid-template-columns: 1fr; }
	.form-intro { position: static; }
	.form-steps { display: none; }
}
@media (max-width: 560px) {
	.fields--2 { grid-template-columns: 1fr; }
	.form-card { margin-inline: calc(var(--gutter) * -1); border-radius: 0; box-shadow: none; }
}

[tabindex="-1"]:focus { outline: none; }

/* ---------- Ficha: lámina técnica de la estación ---------- */
.pd-plan { background: var(--sand); border-top: 1px solid var(--line); }
.pd-plan-head .display { max-width: 18ch; }
.pd-plan-head .lead { max-width: 60ch; }
.pd-plan-grid { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; margin-top: clamp(24px, 4vw, 48px); }
.pd-plan-sheet { margin: 0; }
.pd-plan-sheet a { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(6px, 1vw, 12px); box-shadow: 0 18px 40px -28px rgba(42, 29, 20, .45); transition: transform .25s ease, box-shadow .25s ease; }
.pd-plan-sheet a:hover { transform: translateY(-2px); box-shadow: 0 24px 48px -26px rgba(42, 29, 20, .5); }
.pd-plan-sheet img { display: block; width: 100%; height: auto; }
.pd-plan-sheet figcaption { margin-top: 10px; font-size: .85rem; color: var(--ink-soft); }
.pd-plan-info { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 14px; }
.pd-plan-info h3 { margin: 6px 0 0; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.pd-plan-specs { margin: 0; display: grid; }
.pd-plan-specs div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.pd-plan-specs dt { color: var(--ink-soft); }
.pd-plan-specs dd { margin: 0; font-weight: 600; text-align: right; }
.pd-plan-games { margin: 0; padding: 0; list-style: none; counter-reset: juego; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px 16px; font-size: .92rem; }
.pd-plan-games li { counter-increment: juego; display: flex; gap: 8px; align-items: baseline; }
.pd-plan-games li::before { content: counter(juego); flex: none; width: 20px; height: 20px; border: 1.5px solid var(--green); border-radius: 50%; color: var(--green); font-size: .7rem; font-weight: 700; display: inline-grid; place-items: center; transform: translateY(3px); }
.pd-plan-downloads { display: grid; gap: 8px; margin-top: 4px; }
.pd-plan-dl { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; transition: border-color .2s ease, background .2s ease; }
.pd-plan-dl:hover { border-color: var(--green); background: #f4f8ef; }
.pd-plan-ext { flex: none; min-width: 42px; text-align: center; padding: 4px 6px; border-radius: 4px; background: var(--red); color: var(--white); font-size: .72rem; letter-spacing: .08em; }
.pd-plan-dl:nth-child(2) .pd-plan-ext { background: var(--green); }
.pd-plan-dl:nth-child(3) .pd-plan-ext { background: var(--orange); }
.pd-plan-info .btn { align-self: flex-start; margin-top: 6px; }
.pd-plan-note { margin: 0; font-size: .8rem; line-height: 1.5; color: var(--ink-soft); }
@media (max-width: 1100px) {
	.pd-plan-grid { grid-template-columns: 1fr; }
}

/* ---------- Página: Historia de Bambo ---------- */
.story-hero { background: var(--cream); padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 88px); }
.story-hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.story-hero .display { max-width: 16ch; margin-bottom: 24px; }
.story-hero .lead { max-width: 54ch; }
.story-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 28px; }
.story-hero-media { margin: 0; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.story-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-facts { background: var(--yellow); border-block: 1px solid rgba(42, 29, 20, .08); }
.story-facts-list { list-style: none; margin: 0; padding: clamp(22px, 3vw, 32px) 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.story-facts-list li { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; border-left: 2px solid rgba(42, 29, 20, .2); }
.story-facts-list strong { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 500; line-height: 1; letter-spacing: -.02em; }
.story-facts-list span { font-size: .88rem; color: var(--ink-soft); }
.story-origin .display { margin-bottom: 20px; max-width: 18ch; }
.story-mv { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 28px; }
.story-mv article { background: var(--sand); border-radius: var(--radius); padding: 20px 22px; }
.story-mv h3 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin: 0 0 8px; }
.story-mv p { margin: 0; font-size: .95rem; line-height: 1.55; }
.story-audiences { background: var(--sand); }
.story-audiences .section-head .display { max-width: 20ch; }
.story-aud-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.story-aud { border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 12px; }
.story-aud--lime { background: var(--lime); color: var(--ink); }
.story-aud--orange { background: var(--orange); color: var(--ink); }
.story-aud--red { background: var(--red); color: var(--white); }
.story-aud .eyebrow { margin: 0; color: inherit; opacity: .8; }
.story-aud h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 6px; }
.story-aud ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.story-aud li { position: relative; padding-left: 22px; font-size: .95rem; line-height: 1.45; }
.story-aud li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; border: 2px solid currentColor; }
.story-circ-lead { max-width: 40ch; margin: 0; }
.story-actions-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.story-actions-grid li { padding: 26px 26px 30px 0; border-bottom: 1px solid var(--line); }
.story-actions-grid li:not(:nth-child(3n + 1)) { padding-left: 26px; border-left: 1px solid var(--line); }
.story-actions-grid .num { display: block; color: var(--red-deep); font-weight: 700; font-size: .8rem; margin-bottom: 14px; }
.story-actions-grid h3 { font-size: 1.15rem; margin: 0 0 6px; letter-spacing: -.01em; }
.story-actions-grid p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 960px) {
	.story-hero-grid { grid-template-columns: 1fr; }
	.story-hero-media { max-width: 420px; }
	.story-facts-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.story-aud-grid { grid-template-columns: 1fr; }
	.story-actions-grid { grid-template-columns: 1fr 1fr; }
	.story-actions-grid li, .story-actions-grid li:not(:nth-child(3n + 1)) { padding: 22px 18px 24px 0; border-left: 0; }
	.story-actions-grid li:nth-child(2n) { padding-left: 18px; border-left: 1px solid var(--line); }
}
@media (max-width: 600px) {
	.story-mv { grid-template-columns: 1fr; }
	.story-actions-grid { grid-template-columns: 1fr; }
	.story-actions-grid li:nth-child(2n) { padding-left: 0; border-left: 0; }
}

/* ---------- Home: para cada tipo de proyecto ---------- */
.segments { background: var(--sand); border-top: 1px solid var(--line); }
.segments-head { text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
.segments-head .display-serif { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 10px; }
.segments-head p { margin: 0; color: var(--ink-soft); }
.segment-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); }
.segment-card a { height: 100%; display: flex; flex-direction: column; background: var(--cream); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.5); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.segment-card a:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(42, 29, 20, .45); }
.segment-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.segment-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.segment-card a:hover .segment-media img { transform: scale(1.05); }
.segment-body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 14px 14px 16px; }
.segment-title { font-weight: 600; font-size: .98rem; line-height: 1.2; letter-spacing: -.01em; }
.segment-btn { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: background .2s ease, color .2s ease; }
.segment-card a:hover .segment-btn, .segment-card a:focus-visible .segment-btn { background: var(--green); color: var(--white); }
@media (max-width: 1100px) { .segment-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .segment-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .segment-body { padding: 12px; } }

/* ---------- Historia: reciclaje y círculo virtuoso ---------- */
.story-recycle { background: var(--cream); }
.recycle-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-bottom: clamp(40px, 6vw, 72px); }
.cycle-wrap { position: relative; width: 100%; max-width: 540px; margin-inline: auto; aspect-ratio: 1; container-type: inline-size; }
.cycle-wrap::before { content: ""; position: absolute; inset: 15%; border: 2px dashed var(--green); border-radius: 50%; opacity: .45; }
.cycle { list-style: none; margin: 0; padding: 0; }
.cycle li { --a: calc(var(--i) * 60deg); position: absolute; left: 50%; top: 50%; width: 29cqw; aspect-ratio: 1; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 3cqw; gap: .6cqw; transform: translate(-50%, -50%) rotate(var(--a)) translateY(-35cqw) rotate(calc(var(--a) * -1)); background: var(--lime); color: var(--ink); box-shadow: 0 12px 28px -20px rgba(42, 29, 20, .5); }
.cycle li:nth-child(2) { background: var(--yellow); }
.cycle li:nth-child(3) { background: var(--orange); }
.cycle li:nth-child(4) { background: var(--red); color: var(--white); }
.cycle li:nth-child(5) { background: var(--green); color: var(--white); }
.cycle li:nth-child(6) { background: var(--sand); }
.cycle-num { font-size: 2.3cqw; font-weight: 700; letter-spacing: .1em; opacity: .7; }
.cycle strong { font-family: var(--serif); font-weight: 500; font-size: 3.8cqw; line-height: 1; letter-spacing: -.01em; }
.cycle-sub { font-size: 2.5cqw; line-height: 1.2; opacity: .85; }
.cycle-center { position: absolute; inset: 34%; margin: 0; display: grid; place-items: center; text-align: center; font-family: var(--serif); font-size: 4.6cqw; line-height: 1.1; color: var(--green); }
.recycle-side h3 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin: 0 0 14px; }
.material-chips { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.material-chips li { padding: 8px 14px; border: 1.5px solid var(--green); border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--green); }
.recycle-stats { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.recycle-stats div { display: flex; align-items: baseline; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.recycle-stats dt { flex: none; min-width: 4.2em; font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1; letter-spacing: -.02em; color: var(--red-deep); }
.recycle-stats dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 960px) { .recycle-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
	.cycle-wrap { aspect-ratio: auto; container-type: normal; }
	.cycle-wrap::before, .cycle-center { display: none; }
	.cycle { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
	.cycle li { position: static; transform: none; width: auto; aspect-ratio: auto; border-radius: var(--radius); padding: 16px; gap: 4px; align-items: flex-start; text-align: left; }
	.cycle-num { font-size: .7rem; }
	.cycle strong { font-size: 1.3rem; }
	.cycle-sub { font-size: .85rem; }
}

/* Home: cifras de reciclaje */
.circular-stats { list-style: none; margin: 8px 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 520px; }
.circular-stats li { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .25); }
.circular-stats strong { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1; color: var(--lime); }
.circular-stats span { font-size: .82rem; line-height: 1.3; color: rgba(255, 255, 255, .78); }

/* ---------- Ajustes nov. 2026 ---------- */
/* Home: más botones en Bambo Casa / Proyectos / Empresas */
.path-links { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.path-body .path-links .link-arrow { margin-top: 0; padding-top: 0; }
.projects-actions, .companies-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.link-arrow--light { color: var(--white); }
/* Cifras de economía circular más grandes */
.circular-stats { max-width: 600px; gap: 22px; }
.circular-stats strong { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.circular-stats span { font-size: .92rem; }
/* Para quiénes / qué / cómo, más legible */
.spec div { grid-template-columns: 170px 1fr; padding: 16px 0; }
.spec dt { font-size: .78rem; }
.spec dd { font-size: clamp(1.05rem, 1.6vw, 1.22rem); font-weight: 500; line-height: 1.4; }

/* Sello de materiales reciclados */
.product-card figure img.eco-seal--card { position: absolute; z-index: 2; right: 10px; bottom: 10px; width: 64px; height: 64px; object-fit: contain; border-radius: 50%; background: rgba(255, 255, 255, .92); padding: 3px; box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .5); transition: none; transform: none !important; }
.pd-seal { display: flex; align-items: center; gap: 14px; margin: 4px 0 18px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.pd-seal .eco-seal { flex: none; width: 76px; height: 76px; object-fit: contain; }
.pd-seal p { margin: 0; display: flex; flex-direction: column; gap: 2px; font-size: .88rem; line-height: 1.4; color: var(--ink-soft); }
.pd-seal strong { color: var(--green); font-size: .95rem; }

/* Estaciones: cotizar con paisajismo */
.pd-landscape { margin: 0 0 18px; padding: 18px 20px; border-radius: var(--radius); background: var(--lime); color: var(--ink); }
.pd-landscape-title { margin: 0 0 4px; font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; }
.pd-landscape p { margin: 0 0 12px; font-size: .92rem; }
.pd-landscape-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--outline:hover { background: var(--ink); color: var(--white); }

/* Ficha de producto: menos aire entre la foto y el detalle técnico */
.pd-hero { padding-bottom: clamp(16px, 3vw, 36px); }
.pd-hero + .pd-details, .pd-hero + .pd-profile { margin-top: 0; }
.pd-details.section { padding-top: clamp(32px, 4vw, 56px); }
.pd-profile + .pd-details.section { padding-top: clamp(40px, 5vw, 72px); }

/* Página Proyectos realizados */
.gallery-hero { background: var(--cream); padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 4vw, 48px); }
.gallery-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 5vw, 64px); align-items: end; }
.gallery-hero .display { margin: 0; }
.gallery-hero .lead { margin: 0; max-width: 52ch; }
.gallery.section { padding-top: clamp(16px, 3vw, 32px); }
.gallery-grid { list-style: none; margin: 0; padding: 0; columns: 3 280px; column-gap: 14px; }
.gallery-grid li { break-inside: avoid; margin: 0 0 14px; }
.gallery-grid a { display: block; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.gallery-grid img { display: block; width: 100%; height: auto; transition: transform .5s ease; }
.gallery-grid a:hover img { transform: scale(1.03); }
.gallery-cta { margin-top: clamp(40px, 6vw, 72px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.gallery-cta .display-serif { margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.gallery-cta .story-actions { margin: 0; }

/* Página Asesoría */
.advice-hero .display { max-width: 20ch; margin-bottom: 24px; }
.advice-hero .lead { max-width: 64ch; }
.advice-for { background: var(--green); color: var(--white); padding: clamp(48px, 7vw, 88px) 0; }
.advice-for-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.advice-for .display-serif { margin: 0; }
.advice-chips li { color: var(--white); border-color: rgba(255, 255, 255, .6); }

@media (max-width: 800px) {
	.gallery-hero-inner { grid-template-columns: 1fr; }
	.spec div { grid-template-columns: 1fr; }
}

/* Ajustes nov. 2026 (2): reciclaje con fotos, ciclo virtuoso, Marca Chile */
.cycle-figure { margin: 0; }
.cycle-figure img { display: block; width: 100%; height: auto; max-width: 560px; margin-inline: auto; }
.recycle-photos { list-style: none; margin: 40px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.recycle-photos figure { margin: 0; }
.recycle-photos img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.recycle-photos figcaption { font-size: .85rem; margin-top: 8px; font-weight: 600; }
@media (max-width: 720px) { .recycle-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.footer-origin { display: flex; align-items: center; gap: 12px; }
.footer-origin .marca-chile { width: 52px; height: auto; flex: none; }

/* Ficha de producto: el resumen usa todo el ancho y, en pantallas medianas, se reparte en dos columnas */
.woocommerce div.product div.pd-summary.summary, .woocommerce-page div.product div.pd-summary.summary { width: auto; float: none; margin: 0; }
.pd-extras > :last-child { margin-bottom: 0; }
@media (max-width: 960px) and (min-width: 701px) {
	.pd-summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(24px, 4vw, 48px); align-items: start; }
	.pd-extras { padding-top: 4px; }
	.pd-extras .pd-seal { margin-top: 0; }
}

.pd-note { margin: -8px 0 20px; font-size: .82rem; font-style: italic; color: var(--ink-soft); }
