/*
Theme Name: Fierro Works
Author: Fierro Works
Description: Tema de bloques para una marca de fabricación metálica camper, overland e industrial.
Version: 1.0.8
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
Text Domain: fierro-works
*/

:root {
	--fw-black: #11110f;
	--fw-charcoal: #1d1d1a;
	--fw-steel: #a9aaa4;
	--fw-yellow: #f2c431;
	--fw-light: #f4f3ee;
	--fw-line: rgba(244, 243, 238, .14);
}

html { scroll-behavior: smooth; }
body {
	background: var(--fw-black);
	color: var(--fw-light);
	font-family: Inter, "Segoe UI", Arial, sans-serif;
}
a { text-decoration-thickness: .08em; text-underline-offset: .2em; }
.wp-site-blocks { overflow: clip; }

.wp-block-post-content > .alignfull {
	width: 100vw !important;
	max-width: none !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
}

.fw-site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(17, 17, 15, .94);
	border-bottom: 1px solid var(--fw-line);
	backdrop-filter: blur(12px);
}
.fw-header-inner {
	width: min(100% - 2.5rem, 1220px);
	max-width: 1220px !important;
	margin-inline: auto;
	min-height: 82px;
}
.fw-header-inner .wp-block-site-title {
	flex: 0 0 auto;
	font-size: 0 !important;
	line-height: 0;
}
.fw-header-inner .wp-block-site-title a {
	display: block;
	width: clamp(170px, 18vw, 225px);
	aspect-ratio: 3.43;
	background: url("assets/images/fierro-works-logo-header.png") center / contain no-repeat;
	color: transparent;
}
.fw-header-inner .wp-block-site-title:before {
	display: none;
}
.fw-header-inner .wp-block-navigation a {
	color: var(--fw-light);
	font-size: .85rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.fw-header-inner .wp-block-navigation a:hover,
.fw-header-inner .wp-block-navigation a:focus { color: var(--fw-yellow); }

@media (max-width: 600px) {
	.fw-header-inner .wp-block-site-title a { width: clamp(135px, 38vw, 175px); }
}

.fw-hero {
	position: relative;
	min-height: min(780px, 84vh);
	display: flex;
	align-items: center;
	background:
		linear-gradient(90deg, rgba(17,17,15,.58) 0%, rgba(17,17,15,.78) 46%, rgba(17,17,15,.22) 100%),
		linear-gradient(0deg, rgba(17,17,15,.3), rgba(17,17,15,.08)),
		url("assets/images/fw-hero.png") center right / cover no-repeat;
	border-bottom: 1px solid var(--fw-line);
}
.fw-hero:after {
	content: "FW / METAL WORKS";
	position: absolute;
	right: max(3vw, calc((100vw - 1220px) / 2));
	bottom: 2.25rem;
	color: rgba(244,243,238,.38);
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .24em;
}
.fw-hero-inner {
	width: min(100% - 2.5rem, 1220px);
	max-width: 1220px !important;
	margin-inline: auto;
	padding-block: clamp(5rem, 12vw, 10rem);
}
.fw-eyebrow {
	margin-bottom: 1.35rem;
	color: var(--fw-yellow);
	font-size: .76rem;
	font-weight: 800;
	letter-spacing: .2em;
	text-transform: uppercase;
}
.fw-hero-title {
	max-width: 900px;
	margin: 0;
	font-size: clamp(3.2rem, 8vw, 7.2rem) !important;
	font-weight: 900 !important;
	letter-spacing: -.065em;
	line-height: .94 !important;
	text-transform: uppercase;
}
.fw-hero-title em { color: var(--fw-yellow); font-style: normal; }
.fw-hero-copy {
	max-width: 650px;
	margin-top: 1.8rem;
	color: #c7c7c0;
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}
.fw-actions { gap: .8rem; margin-top: 2rem; }
.fw-button .wp-block-button__link,
.fw-button-alt .wp-block-button__link {
	min-height: 52px;
	padding: .9rem 1.3rem;
	border: 1px solid var(--fw-yellow);
	border-radius: 2px;
	font-size: .82rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.fw-button .wp-block-button__link { background: var(--fw-yellow); color: var(--fw-black); }
.fw-button .wp-block-button__link:hover { background: #ffdb53; }
.fw-button-alt .wp-block-button__link { background: transparent; color: var(--fw-light); }
.fw-button-alt .wp-block-button__link:hover { background: rgba(242,196,49,.12); color: var(--fw-yellow); }

.fw-section { padding: clamp(4.5rem, 8vw, 7.5rem) 1.25rem; }
.fw-section-inner { width: min(100%, 1220px); max-width: 1220px !important; margin-inline: auto; }
.fw-section-dark { background: var(--fw-charcoal); }
.fw-section-light { background: var(--fw-light); color: var(--fw-black); }
.fw-section-light .wp-block-heading { color: var(--fw-black); }
.fw-section-light .fw-card-number { color: #806000; }
.fw-section-light a:not(.wp-block-button__link) { color: #604900; }
.fw-section-light .fw-button-alt .wp-block-button__link { color: var(--fw-black); }
.fw-section-light .fw-button-alt .wp-block-button__link:hover { color: #5b4400; }
.fw-kicker {
	margin: 0 0 .8rem;
	color: var(--fw-yellow);
	font-size: .72rem;
	font-weight: 900;
	letter-spacing: .18em;
	text-transform: uppercase;
}
.fw-section-light .fw-kicker { color: #806000; }
.fw-section-title {
	max-width: 850px;
	margin: 0 0 1rem;
	font-size: clamp(2rem, 4.5vw, 4rem) !important;
	font-weight: 900 !important;
	letter-spacing: -.045em;
	line-height: 1.02 !important;
	text-transform: uppercase;
}
.fw-section-copy { max-width: 760px; color: var(--fw-steel); font-size: 1.08rem; }
.fw-section-light .fw-section-copy { color: #575852; }
.fw-card-grid { gap: 1rem; margin-top: 2.2rem; }
.fw-card {
	height: 100%;
	padding: clamp(1.4rem, 3vw, 2.2rem);
	background: #242420;
	border: 1px solid var(--fw-line);
	border-top: 3px solid var(--fw-yellow);
}
.fw-section-light .fw-card { background: #fff; border-color: rgba(17,17,15,.12); }
.fw-card-number { color: var(--fw-yellow); font-size: .72rem; font-weight: 900; letter-spacing: .15em; }
.fw-card h3 { margin-top: .65rem; font-size: 1.35rem; font-weight: 850; text-transform: uppercase; }
.fw-card p { color: var(--fw-steel); }
.fw-section-light .fw-card p { color: #575852; }
.fw-project-note {
	margin-top: 2rem;
	padding: 1.25rem 1.5rem;
	border-left: 3px solid var(--fw-yellow);
	background: rgba(244,243,238,.045);
	color: #c7c7c0;
}
.fw-cta-band {
	padding: clamp(3rem, 7vw, 6rem) 1.25rem;
	background: var(--fw-yellow);
	color: var(--fw-black);
}
.fw-cta-inner { width: min(100%, 1220px); max-width: 1220px !important; margin-inline: auto; }
.fw-cta-band h2 { max-width: 850px; margin: 0; color: var(--fw-black); font-size: clamp(2.2rem, 5vw, 4.6rem); font-weight: 900; letter-spacing: -.05em; line-height: .98; text-transform: uppercase; }
.fw-cta-band p { max-width: 660px; color: #292711; }
.fw-cta-band .wp-block-button__link { background: var(--fw-black); color: var(--fw-yellow); border-radius: 2px; font-weight: 800; text-transform: uppercase; }

.fw-page-wrap { width: min(100% - 2.5rem, 920px); margin-inline: auto; padding-block: clamp(4rem, 8vw, 7rem); }
.fw-page-title { margin: 0 0 1.5rem; font-size: clamp(2.6rem, 6vw, 5.2rem) !important; font-weight: 900 !important; letter-spacing: -.055em; line-height: .98 !important; text-transform: uppercase; }
.fw-page-content { color: #d5d5ce; }
.fw-page-content h2 { margin-top: 2.5rem; color: var(--fw-light); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 850; text-transform: uppercase; }
.fw-page-content a { color: var(--fw-yellow); }
.fw-placeholder {
	margin-top: 2rem;
	padding: 2rem;
	background: var(--fw-charcoal);
	border: 1px dashed rgba(242,196,49,.55);
	color: #cecec8;
}
.fw-site-footer { padding: 2.5rem 1.25rem; background: #0b0b0a; border-top: 1px solid var(--fw-line); }
.fw-footer-inner { width: min(100%, 1220px); max-width: 1220px !important; margin-inline: auto; }
.fw-footer-inner .wp-block-site-title { font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.fw-footer-inner .wp-block-site-title a { color: var(--fw-light); }
.fw-footer-note { color: #8f9089; font-size: .85rem; }

.woocommerce ul.products li.product,
.wc-block-grid__product,
.wp-block-woocommerce-product-template > li {
	padding: 1rem;
	background: var(--fw-charcoal);
	border: 1px solid var(--fw-line);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--fw-light); font-weight: 800; }
.woocommerce ul.products li.product .price { color: var(--fw-yellow); }
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wc-block-components-button:not(.is-link) {
	background: var(--fw-yellow);
	color: var(--fw-black);
	border-radius: 2px;
	font-weight: 800;
	text-transform: uppercase;
}
.woocommerce-info, .woocommerce-message { border-top-color: var(--fw-yellow); }
.woocommerce-info:before, .woocommerce-message:before { color: var(--fw-yellow); }

.woocommerce .woocommerce-breadcrumb,
.woocommerce-products-header {
	width: min(100% - 2.5rem, 1220px);
	margin-inline: auto;
}
.woocommerce .woocommerce-breadcrumb { margin-block: 2rem 1rem; }
.woocommerce-products-header { margin-block: 2.5rem 1.5rem; }
.woocommerce-products-header__title.page-title {
	margin: 0;
	font-size: clamp(2.6rem, 6vw, 5.2rem);
	font-weight: 900;
	letter-spacing: -.055em;
	line-height: .98;
	text-transform: uppercase;
}
.woocommerce .wp-block-query-title {
	width: min(100% - 2.5rem, 1220px);
	max-width: 1220px !important;
	margin: 2.5rem auto 1.5rem;
	font-size: clamp(2.6rem, 6vw, 5.2rem);
	font-weight: 900;
	letter-spacing: -.055em;
	line-height: .98;
	text-transform: uppercase;
}
.fw-shop-empty {
	width: min(100% - 2.5rem, 920px);
	margin: 2rem auto 6rem;
	padding: clamp(2rem, 6vw, 4rem);
	background: var(--fw-charcoal);
	border: 1px solid var(--fw-line);
	border-top: 3px solid var(--fw-yellow);
}
.fw-shop-empty h2 {
	max-width: 760px;
	margin: 0 0 1rem;
	font-size: clamp(1.8rem, 4vw, 3rem);
	font-weight: 900;
	letter-spacing: -.04em;
	line-height: 1.05;
	text-transform: uppercase;
}
.fw-shop-empty p:not(.fw-eyebrow) { max-width: 700px; color: #c7c7c0; }
.fw-shop-empty .button { margin-top: .75rem; }

:focus-visible { outline: 3px solid var(--fw-yellow); outline-offset: 3px; }

@media (max-width: 782px) {
	.fw-header-inner { width: min(100% - 1.5rem, 1220px); min-height: 68px; }
	.fw-header-inner .wp-block-navigation__responsive-container { background: var(--fw-black); color: var(--fw-light); }
	.fw-hero { min-height: 76vh; }
	.fw-hero-inner { width: min(100% - 1.5rem, 1220px); }
	.fw-card-grid { gap: .75rem; }
	.fw-page-wrap { width: min(100% - 1.5rem, 920px); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

