/*
Theme Name: ZSA Flooring Works
Author: Dexa Creative
Author URI: https://dexacreative.com/
Description: Corporate WordPress theme for ZSA Flooring Works LLC.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: zsa-flooring
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--ink: #211c18;
	--body: #5c544d;
	--accent: #71462c;
	--neutral: #f6f2ed;
	--line: #e7ded5;
	--paper: #fff;
	--serif: Georgia, "Times New Roman", serif;
	--sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.6; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid #a35b30; outline-offset: 4px; }
img { max-width: 100%; height: auto; vertical-align: middle; }
h1, h2, h3, p, ul, figure { margin: 0; }
h1, h2 { font: 400 clamp(2rem, 4.5vw, 3.3rem)/1.04 var(--serif); letter-spacing: -.035em; }
h1 { font-size: clamp(2.8rem, 6.1vw, 5.6rem); }
h3 { font-size: 1.05rem; line-height: 1.3; }
p { color: var(--body); }
.wrap { width: min(100% - 64px, 1260px); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: var(--ink); text-decoration: none; flex: none; display: grid; gap: 3px; line-height: 1; }
.brand strong { font: 700 1.8rem/.95 var(--serif); letter-spacing: -.04em; }
.brand span { font-size: .57rem; text-transform: uppercase; letter-spacing: .105em; font-weight: 700; }
.custom-logo { width: auto; max-width: min(140px, 35vw); max-height: 55px; object-fit: contain; }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px clamp(14px, 2.8vw, 35px); }
.site-nav a { font-size: .9rem; font-weight: 600; color: var(--ink); text-decoration: none; padding-block: .6rem; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--accent); text-decoration: underline; }
.skip-link { position: absolute; left: 12px; top: 12px; transform: translateY(-200%); z-index: 10; padding: 10px 15px; background: white; }
.skip-link:focus { transform: none; }
.button, .whatsapp { display: inline-flex; align-items: center; justify-content: center; padding: .74rem 1.1rem; font-size: .87rem; font-weight: 700; color: white; background: var(--ink); text-decoration: none; min-height: 44px; }
.button:hover { color: white; background: var(--accent); }
.header-quote { flex: none; }
.hero { display: grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr); align-items: stretch; gap: clamp(20px, 4vw, 58px); margin-block: 34px; }
.hero-copy { padding-block: clamp(25px, 6.3vw, 88px); align-self: center; }
.eyebrow { color: var(--accent); text-transform: uppercase; font-size: .72rem; margin-bottom: 18px; font-weight: 750; letter-spacing: .13em; }
.lede { margin-top: 23px; max-width: 54ch; font-size: clamp(1rem, 1.4vw, 1.18rem); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; margin-top: 26px; }
.text-link { font-size: .9rem; font-weight: 750; }
.hero-photo { margin: 0; background: #d2b9a0; position: relative; overflow: hidden; min-height: 350px; }
.hero-photo img { display: block; width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 59%; }
.hero-photo figcaption { position: absolute; right: 12px; bottom: 12px; background: white; padding: 4px 8px; font-size: .68rem; color: var(--body); }
.sector-strip { border-block: 1px solid var(--line); background: var(--neutral); }
.sector-strip ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.sector-strip li { text-align: center; font-size: .83rem; font-weight: 650; padding: 16px 8px; }
.sector-strip li + li { border-left: 1px solid var(--line); }
.section { padding-block: clamp(34px, 5.5vw, 76px); }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 22px 55px; }
.split .text-link, .feature .text-link { display: inline-block; margin-top: 18px; }
.page-head { background: var(--neutral); padding-block: clamp(34px, 7vw, 97px); border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 19ch; }
.services-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 18px; }
.feature { background: var(--neutral); border: 1px solid var(--line); padding: clamp(22px, 4vw, 42px); }
.feature p { margin-top: 14px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cards > section { border: 1px solid var(--line); padding: clamp(18px, 2.5vw, 33px); }
.cards h2 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
.cards section p { margin-top: 8px; }
.detail-list { padding-left: 1.1em; margin-top: 14px; color: var(--body); }
.detail-list li + li { margin-top: 7px; }
.sector-cards, .contact-cards { margin-block: 23px; }
.contact-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.contact-cards a { display: block; margin-top: 10px; overflow-wrap: anywhere; }
.location { font-size: .93rem; }
.entry { overflow-wrap: anywhere; }
.entry p, .entry article + article, .entry :is(h2, h3, ul, ol, figure) { margin-block: 1rem; }
.site-footer { border-top: 1px solid var(--line); background: var(--neutral); padding: 30px 0 78px; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 25px; }
.footer-inner a { display: block; overflow-wrap: anywhere; }
.whatsapp { position: fixed; z-index: 3; bottom: max(16px, env(safe-area-inset-bottom)); right: max(16px, env(safe-area-inset-right)); border-radius: 30px; background: #17613f; box-shadow: 0 2px 8px #0003; }
.whatsapp:hover { color: white; background: #124d32; }
@media (max-width: 960px) {
	.services-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.wrap { width: calc(100% - 40px); }
	.header-inner { flex-wrap: wrap; gap: 5px 12px; min-height: auto; padding-top: 14px; }
	.site-nav { order: 3; width: 100%; border-top: 1px solid var(--line); }
	.header-quote { min-height: 40px; }
	.hero { grid-template-columns: 1fr; margin-block: 22px; gap: 24px; }
	.hero-copy { padding-block: 4px 0; }
	.hero-photo { min-height: 0; aspect-ratio: 4 / 3; }
	.split { grid-template-columns: 1fr; }
	.contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 470px) {
	.wrap { width: calc(100% - 32px); }
	.site-nav { gap: 0 clamp(7px, 2.8vw, 14px); }
	.site-nav a { font-size: .79rem; min-height: 44px; display: flex; align-items: center; }
	.sector-strip ul { grid-template-columns: repeat(2, 1fr); }
	.sector-strip li:nth-child(3) { border-left: 0; }
	.sector-strip li:nth-child(n+3) { border-top: 1px solid var(--line); }
	.cards { grid-template-columns: 1fr; }
}
