/*
Theme Name: WW Manufacturing
Theme URI: https://woodwanderfactory.com/
Author: WW Packing and Manufacturing Company
Description: Multilingual company theme for WW Packing and Manufacturing Company (packaging, plastic and printing manufacturer in Hanoi). Design system: Montserrat + Inter, Wander Gold and Walnut. Works with the WW Site plugin and Polylang.
Version: 2.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: ww-manufacturing
*/

:root {
	--gold-500: #d9a61a;
	--gold-600: #b8820f;
	--gold-700: #8a5e08;
	--gold-100: #f6ebcb;
	--walnut-900: #31140a;
	--walnut-700: #5c3420;
	--timber-500: #8b5e3c;
	--linen: #f7f2e9;
	--kraft: #e8dcc6;
	--stone: #5a4e46;
	--white: #fff;
	--display: "Fraunces", "Literata", Georgia, "Times New Roman", serif;
	--text: "Plus Jakarta Sans", "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--r-input: 6px;
	--r-card: 12px;
	--r-block: 20px;
	--shadow: 0 20px 44px -20px rgba(49, 20, 10, .32);
	--ease: 200ms ease-out;
	--pad: clamp(64px, 8.5vw, 112px);
	--gutter: max(24px, calc((100% - 1240px) / 2));
}
.lang-ru { --display: "Literata", Georgia, "Times New Roman", serif; --text: "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--text); font-size: 17px; line-height: 1.65; color: var(--stone); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-700); text-underline-offset: 3px; transition: color var(--ease); }
a:hover { color: var(--walnut-900); }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; color: var(--walnut-900); line-height: 1.1; letter-spacing: -.015em; margin: 0 0 .5em; font-optical-sizing: auto; }
h4 { font-family: var(--text); font-weight: 600; color: var(--walnut-900); }
h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; }
h2 { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.12; }
h3 { font-size: clamp(21px, 2vw, 26px); line-height: 1.25; }
h1 em, h2 em { font-style: italic; color: var(--gold-700); font-weight: 500; }
h1, h2 { overflow-wrap: break-word; }
p { margin: 0 0 1em; }
strong { color: var(--walnut-900); font-weight: 600; }
.ww-wrap { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.ww-narrow { max-width: 820px; }
.ww-skip { position: absolute; left: -999px; top: 8px; background: var(--walnut-900); color: #fff; padding: 10px 14px; z-index: 1000; border-radius: 8px; }
.ww-skip:focus { left: 8px; }
.ww-ico { flex-shrink: 0; vertical-align: middle; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* ---------- Buttons ---------- */
.ww-btn, .ww-content .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px;
	border-radius: 999px; border: 1.5px solid transparent; font: 600 15px/1.2 var(--text); letter-spacing: .005em;
	text-decoration: none; cursor: pointer; transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
/* The arrow marks the primary action only. */
.ww-btn--primary::after, .ww-btn--dark::after, .ww-content .wp-block-button:not(.is-style-outline) > .wp-block-button__link::after { content: "\2192"; font-size: 1.05em; line-height: 1; transition: transform var(--ease); }
.ww-btn:hover::after, .ww-content .wp-block-button__link:hover::after { transform: translateX(4px); }
.ww-btn--icon::after { content: none !important; }
.ww-btn--primary, .ww-content .wp-block-button__link { background: var(--gold-500); color: var(--walnut-900); }
.ww-btn--primary:hover, .ww-content .wp-block-button__link:hover { background: var(--gold-600); color: var(--walnut-900); }
.ww-btn--outline, .ww-content .wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--walnut-900); border-color: var(--walnut-900); }
.ww-btn--outline:hover, .ww-content .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--walnut-900); color: #fff; box-shadow: none; }
.ww-btn--light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .75); }
.ww-btn--light:hover { background: #fff; color: var(--walnut-900); }
.ww-btn--dark { background: var(--walnut-900); color: #fff; }
.ww-btn--dark:hover { background: var(--walnut-700); color: #fff; }
.ww-btn--ghost { background: var(--linen); color: var(--walnut-900); }
.ww-btn--lg { min-height: 54px; padding: 14px 30px; font-size: 16px; }
.ww-btn .ww-ico { width: 18px; height: 18px; }
.ww-section--dark .wp-block-button.is-style-outline > .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .75); }
.ww-section--dark .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: #fff; color: var(--walnut-900); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Utility bar ---------- */
.ww-topbar { background: var(--walnut-900); color: rgba(247, 242, 233, .78); font-size: 13px; }
.ww-topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.ww-topbar__note { margin: 0; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgba(247, 242, 233, .66); }
.ww-topbar__right { display: flex; align-items: center; gap: 8px 24px; margin-left: auto; }
.ww-topbar__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.ww-topbar a { color: rgba(247, 242, 233, .86); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.ww-topbar a:hover { color: var(--gold-500); }
.ww-topbar .ww-ico { width: 14px; height: 14px; color: var(--gold-500); }
.ww-lang { display: flex; gap: 2px; }
.ww-lang a { padding: 3px 8px; border-radius: 999px; font-weight: 700; letter-spacing: .06em; font-size: 12px; }
.ww-lang a.is-current { background: var(--gold-500); color: var(--walnut-900); }

/* ---------- Header ---------- */
.ww-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid transparent; transition: box-shadow var(--ease), border-color var(--ease); }
.ww-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(49, 20, 10, .35); border-color: var(--kraft); }
.admin-bar .ww-header { top: 32px; }
.ww-header__in { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.ww-logo { display: inline-flex; flex-shrink: 0; }
.ww-logo__img { width: 140px; height: auto; }
.ww-nav { margin-left: auto; }
.ww-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.ww-nav__item { position: relative; display: flex; align-items: center; }
.ww-nav__link { position: relative; display: block; padding: 10px 10px; color: var(--walnut-900); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; }
.ww-nav__link::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform var(--ease); }
.ww-nav__link:hover::after, .ww-nav__item.is-active > .ww-nav__link::after { transform: scaleX(1); }
.ww-nav__link:hover, .ww-nav__item.is-active > .ww-nav__link { color: var(--gold-700); }
.ww-nav__toggle { background: none; border: 0; padding: 6px 4px; margin-left: -8px; color: var(--stone); cursor: pointer; display: inline-flex; }
.ww-nav__toggle .ww-ico { width: 15px; height: 15px; transition: transform var(--ease); }
.ww-nav__item:hover > .ww-nav__toggle .ww-ico { transform: rotate(180deg); }
.ww-sub { list-style: none; margin: 0; padding: 10px; position: absolute; top: calc(100% + 6px); left: -6px; min-width: 260px; background: #fff; border: 1px solid var(--kraft); border-radius: var(--r-card); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity var(--ease), transform var(--ease), visibility var(--ease); }
.ww-sub::before { content: ""; position: absolute; inset: -10px 0 auto 0; height: 10px; }
.ww-sub a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--stone); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.ww-sub a:hover, .ww-sub a[aria-current] { background: var(--linen); color: var(--gold-700); }
.ww-sub__all { font-weight: 700 !important; color: var(--walnut-900) !important; }
.ww-nav__item:hover > .ww-sub, .ww-nav__item:focus-within > .ww-sub, .ww-nav__item.is-open > .ww-sub { opacity: 1; visibility: visible; transform: none; }
.ww-nav__mobile-extra { display: none; }
.ww-header__cta { flex-shrink: 0; min-height: 44px; padding: 10px 20px; font-size: 14.5px; }
.ww-burger { display: none; margin-left: auto; background: var(--linen); border: 1px solid var(--kraft); border-radius: 999px; width: 46px; height: 46px; align-items: center; justify-content: center; color: var(--walnut-900); cursor: pointer; }
.ww-burger__close { display: none; }
@media (max-width: 1400px) { .lang-ru .ww-header__cta { display: none; } }
@media (max-width: 1240px) { .ww-header__cta { display: none; } .ww-nav__link { padding: 10px 8px; font-size: 14.5px; } .ww-nav__link::after { left: 8px; right: 8px; } }
@media (max-width: 1100px) {
	.ww-topbar__note { display: none; }
	.ww-burger { display: inline-flex; }
	.ww-header__in { min-height: 68px; }
	.ww-logo__img { width: 120px; }
	.ww-nav { position: fixed; inset: var(--ww-nav-top, 108px) 0 0 0; background: #fff; overflow-y: auto; padding: 12px 24px 120px; transform: translateX(100%); visibility: hidden; transition: transform .25s ease-out, visibility .25s; margin: 0; border-top: 1px solid var(--kraft); }
	.ww-header.is-open .ww-nav { transform: none; visibility: visible; }
	.ww-header.is-open .ww-burger__open { display: none; }
	.ww-header.is-open .ww-burger__close { display: inline; }
	.ww-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.ww-nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--kraft); }
	.ww-nav__link { flex: 1; padding: 16px 2px; font-size: 18px; font-family: var(--display); }
	.ww-nav__link::after { display: none; }
	.ww-nav__toggle { padding: 12px; margin: 0; }
	.ww-nav__toggle .ww-ico { width: 20px; height: 20px; }
	.ww-nav__item:hover > .ww-nav__toggle .ww-ico { transform: none; }
	.ww-nav__item.is-open .ww-nav__toggle .ww-ico { transform: rotate(180deg); }
	.ww-sub { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px 4px; display: none; min-width: 0; }
	.ww-sub::before { display: none; }
	.ww-nav__item:hover > .ww-sub, .ww-nav__item:focus-within > .ww-sub { display: none; }
	.ww-nav__item.is-open > .ww-sub { display: block; }
	.ww-sub__all { display: none !important; }
	.ww-nav__mobile-extra { display: grid; gap: 12px; margin-top: 24px; }
	.ww-lang--mobile { justify-content: center; margin-top: 6px; }
	.ww-lang--mobile a { padding: 8px 16px; background: var(--linen); color: var(--walnut-900); text-decoration: none; font-size: 13px; }
	body.ww-menu-open { overflow: hidden; }
}
@media (max-width: 782px) { .admin-bar .ww-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .ww-header { top: 0; } .ww-topbar__contact a:nth-child(2), .ww-topbar__label { display: none; } }

/* ---------- Heroes ---------- */
.ww-eyebrow, .ww-kicker { font: 700 12.5px/1.4 var(--text) !important; letter-spacing: .14em !important; text-transform: uppercase; color: var(--gold-700) !important; margin: 0 0 16px !important; }
.ww-eyebrow--light { color: var(--gold-500) !important; }
.ww-crumbs { margin-bottom: clamp(28px, 4vw, 48px); }
.ww-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--stone); }
.ww-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--kraft); }
.ww-crumbs a { color: var(--stone); text-decoration: none; }
.ww-crumbs a:hover { color: var(--gold-700); }

.ww-hero--page { background: var(--linen); padding: 28px 0 clamp(56px, 7vw, 88px); }
.ww-hero--page.has-strip { background: linear-gradient(var(--linen) 0, var(--linen) calc(100% - clamp(110px, 12vw, 170px)), #fff calc(100% - clamp(110px, 12vw, 170px))); padding-bottom: 0; }
.ww-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px clamp(32px, 6vw, 88px); align-items: end; }
.ww-hero__title { margin: 0; }
.ww-hero--page .ww-hero__title { font-size: clamp(36px, 4.6vw, 60px); }
.ww-hero__side > * + * { margin-top: 24px; }
.ww-hero__side .ww-hero__actions { margin-top: 24px; }
.ww-hero__lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--stone); margin: 0; }
.ww-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ww-hero--noimg .ww-hero__grid { align-items: end; }
.ww-hero__strip { display: grid; grid-template-columns: 1fr 1.45fr 1fr; gap: 14px; margin: clamp(40px, 5vw, 64px) 0 0; }
.ww-hero__strip > * { margin: 0; min-width: 0; }
.ww-hero__strip.n-1 { grid-template-columns: 1fr; }
.ww-hero__strip.n-2 { grid-template-columns: 1.45fr 1fr; }
.ww-hero__strip img { width: 100%; height: clamp(200px, 26vw, 340px); object-fit: cover; border-radius: var(--r-card); }
.ww-hero__strip.n-1 img { height: clamp(240px, 32vw, 440px); }
@media (max-width: 900px) {
	.ww-hero__grid { grid-template-columns: 1fr; }
	.ww-hero__strip, .ww-hero__strip.n-2 { grid-template-columns: 1fr 1fr; }
	.ww-hero__strip.n-3 > .is-main { grid-column: 1 / -1; order: -1; }
	.ww-hero__strip img { height: 160px; }
	.ww-hero__strip.n-3 > .is-main img, .ww-hero__strip.n-1 img { height: 230px; }
}

/* Home hero */
.ww-hero--home { background: var(--linen); padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); overflow: hidden; }
.ww-hero--home .ww-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.ww-hero--home .ww-hero__title { font-size: clamp(42px, 5.4vw, 74px); }
.ww-hero--home .ww-hero__lead { margin-top: 24px; max-width: 560px; }
.ww-collage { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: clamp(360px, 40vw, 520px); }
.ww-collage > * { min-height: 0; }
.ww-collage > :first-child { grid-row: 1 / span 2; }
.ww-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-card); }
.ww-collage.n-1 { grid-template-columns: 1fr; }
.ww-collage.n-2 > :last-child { grid-row: 1 / span 2; }
.ww-collage__badge { position: absolute; left: -18px; bottom: 28px; background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow); padding: 14px 18px; font-size: 13px; line-height: 1.4; max-width: 230px; }
.ww-collage__badge strong { display: block; font-family: var(--display); font-weight: 500; font-size: 22px; color: var(--walnut-900); }
.ww-collage__item { position: relative; margin: 0; }
@media (max-width: 900px) { .ww-hero--home .ww-hero__grid { grid-template-columns: 1fr; } .ww-collage { height: 340px; } .ww-collage__badge { left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 10px 12px; font-size: 12px; } .ww-collage__badge strong { font-size: 17px; } }
@media (max-width: 600px) { .ww-hero__actions .ww-btn, .ww-cta__actions .ww-btn { flex: 1 1 auto; } }

/* ---------- Sections ---------- */
.ww-content > .wp-block-group, .ww-section { padding: var(--pad) var(--gutter); margin: 0; }
.ww-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); column-gap: clamp(32px, 6vw, 96px); }
.ww-section > * { grid-column: 1 / -1; margin-top: 0; margin-bottom: 0; }
.ww-section > * + * { margin-top: 24px; }
.ww-section > .ww-kicker, .ww-section > h2.wp-block-heading { grid-column: 1; }
.ww-section > .ww-kicker + h2.wp-block-heading { margin-top: 0; }
.ww-section > .ww-lead { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin: 0; font-size: 16.5px; color: var(--stone); }
.ww-section > h2.wp-block-heading:first-child + .ww-lead { grid-row: 1; }
.ww-section > .ww-grid, .ww-section > .ww-gallery, .ww-section > .ww-steps, .ww-section > .wp-block-table, .ww-section > .wp-block-shortcode, .ww-section > .ww-faq, .ww-section > .ww-clients { margin-top: clamp(36px, 4vw, 56px); }
.ww-section > .wp-block-buttons { margin-top: 40px; }
.ww-center { display: block; text-align: center; }
.ww-center > * + * { margin-top: 20px; }
.ww-section--linen, .ww-section--cream { background: var(--linen); }
.ww-section--dark { background: var(--walnut-900); color: rgba(247, 242, 233, .74); }
.ww-section--dark h2, .ww-section--dark h3 { color: #fff; }
.ww-section--dark h2 em { color: var(--gold-500); }
.ww-section--dark .ww-kicker { color: var(--gold-500) !important; }
.ww-section--dark .ww-lead { color: rgba(247, 242, 233, .7); }
.ww-section--tight, .ww-content > .ww-section--tight { padding-block: clamp(36px, 5vw, 56px); }
.ww-lead { font-size: 17px; color: var(--stone); }
.ww-logos-title { text-align: center; font: 700 12.5px/1.4 var(--text) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700) !important; }
@media (max-width: 900px) {
	.ww-section { display: block; }
	.ww-section > * + * { margin-top: 20px; }
	.ww-section > .ww-kicker + h2.wp-block-heading { margin-top: 0; }
	.ww-section > .ww-lead { margin-top: 16px; }
}

/* Split (text + image) */
.ww-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.ww-split > * { margin: 0 !important; min-width: 0; }
.ww-split--rev > :first-child { order: 2; }
.ww-split__text > * { margin: 0; }
.ww-split__text > * + * { margin-top: 20px !important; }
.ww-split__text > .ww-kicker + h2 { margin-top: 0 !important; }
.ww-split .wp-block-image { margin: 0; overflow: hidden; border-radius: var(--r-block); }
.ww-split .wp-block-image img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--r-block); transition: transform .6s ease-out; }
.ww-split .wp-block-image:hover img { transform: scale(1.03); }
.ww-split--contact { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
.ww-split--contact h2 { font-size: clamp(26px, 2.6vw, 34px); }
.ww-contact-col > * + * { margin-top: 20px !important; }
.ww-cert img { aspect-ratio: auto !important; object-fit: contain !important; max-width: 460px; background: #fff; border: 1px solid var(--kraft); }
.ww-cert { overflow: visible !important; }
@media (max-width: 900px) { .ww-split, .ww-split--contact { grid-template-columns: 1fr; } .ww-split--rev > :first-child { order: 0; } }

/* ---------- Grids ---------- */
.ww-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ww-grid--4, .ww-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ww-grid--2, .ww-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ww-grid:has(> :only-child) { grid-template-columns: minmax(0, 420px); }
.ww-grid > * { margin: 0 !important; }
@media (max-width: 1100px) { .ww-grid, .ww-grid--4, .ww-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ww-grid, .ww-grid--4, .ww-grid--2, .ww-grid:has(> :nth-child(4):last-child), .ww-grid:has(> :nth-child(2):last-child) { grid-template-columns: minmax(0, 1fr); } }

/* Cards (content groups + [ww_children]) */
.ww-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--kraft); border-radius: var(--r-card); overflow: hidden; text-decoration: none; color: var(--stone); transition: border-color var(--ease); }
a.ww-card:hover, .ww-card:has(h3 a):hover { border-color: var(--gold-500); color: var(--stone); }
.ww-card .wp-block-image, .ww-card__media { display: block; margin: 0; overflow: hidden; }
.ww-card .wp-block-image img, .ww-card__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0 !important; transition: transform .6s ease-out; }
a.ww-card:hover .ww-card__img, .ww-card:has(h3 a):hover .wp-block-image img { transform: scale(1.03); }
.ww-card__img--empty { display: block; background: var(--linen); aspect-ratio: 4 / 3; }
.wp-block-group.ww-card > :not(.wp-block-image) { padding-inline: 24px; }
.ww-card > h3 { margin: 22px 0 0; font-size: 23px; }
.ww-card > h3 a { color: var(--walnut-900); text-decoration: none; }
.ww-card > h3 a::after { content: ""; position: absolute; inset: 0; }
.ww-card > p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; }
.ww-card > p:last-child { margin: auto 0 0; padding-top: 16px; padding-bottom: 24px; }
.ww-card > p:last-child a, .ww-card__more { font: 600 14.5px/1.3 var(--text); color: var(--gold-700); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.ww-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.ww-card__title { font: 500 23px/1.25 var(--display); color: var(--walnut-900); }
.ww-card__text, .ww-card__meta { font-size: 15px; line-height: 1.6; color: var(--stone); }
.ww-card__more { margin-top: auto; padding-top: 6px; }
.ww-card__more .ww-ico { width: 17px; height: 17px; transition: transform var(--ease); }
a.ww-card:hover .ww-card__more .ww-ico { transform: translateX(4px); }

/* Features */
.ww-feature { background: #fff; border: 1px solid var(--kraft); border-radius: var(--r-block); padding: 28px 26px 30px; }
.ww-feature h3 { font: 500 clamp(21px, 1.9vw, 24px)/1.25 var(--display); color: var(--walnut-900); letter-spacing: -.01em; margin: 0 0 10px; }
.ww-feature p { margin: 0; font-size: 15px; line-height: 1.6; }
.ww-section--linen .ww-feature, .ww-section--cream .ww-feature { background: #fff; border-color: transparent; }
.ww-section--dark .ww-feature { background: transparent; border-color: rgba(247, 242, 233, .16); }
.ww-section--dark .ww-feature h3 { color: #fff; }
.ww-section--dark .ww-feature p { color: rgba(247, 242, 233, .66); }

/* Timeline (features whose titles are years) */
.ww-timeline { gap: 20px !important; }
.ww-timeline .ww-feature { background: none !important; border: 0 !important; border-radius: 0; padding: 0; box-shadow: none !important; transform: none !important; }
.ww-timeline .ww-feature h3 { font: 500 clamp(26px, 2.4vw, 32px)/1.1 var(--display); color: var(--gold-700); padding-bottom: 18px; margin-bottom: 26px; border-bottom: 1px solid var(--kraft); position: relative; }
.ww-timeline .ww-feature h3::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 13px; height: 13px; border-radius: 50%; background: var(--gold-100); border: 2px solid var(--gold-500); }
.ww-timeline .ww-feature p { font-size: 15.5px; color: var(--stone); }

/* Stats */
.ww-content > .ww-statbar:first-child { padding-top: 0; }
.ww-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--kraft); border-bottom: 1px solid var(--kraft); }
.ww-stats > * { margin: 0 !important; padding: 30px 28px; border-left: 1px solid var(--kraft); }
.ww-stats > :first-child { border-left: 0; padding-left: 0; }
.ww-stat__num { font: 500 clamp(40px, 4.4vw, 58px)/1 var(--display) !important; color: var(--walnut-900); margin: 0 0 10px !important; letter-spacing: -.02em; }
.ww-stat__label { margin: 0 !important; font-size: 14px; color: var(--stone); }
.ww-section--dark .ww-stats, .ww-section--dark .ww-stats > * { border-color: rgba(247, 242, 233, .16); }
.ww-section--dark .ww-stat__num { color: var(--gold-500); }
@media (max-width: 900px) { .ww-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ww-stats > * { padding: 22px 16px; } .ww-stats > :nth-child(3) { border-left: 0; padding-left: 0; } .ww-stats > :nth-child(n+3) { border-top: 1px solid var(--kraft); } }

/* Clients */
.ww-clients { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--kraft); border-radius: var(--r-card); overflow: hidden; background: #fff; }
.ww-clients li { display: flex; align-items: center; justify-content: center; min-height: 104px; padding: 20px; border-right: 1px solid var(--kraft); border-bottom: 1px solid var(--kraft); margin-bottom: -1px; }
.ww-clients li:nth-child(5n) { border-right: 0; }
.ww-clients img { height: 34px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .7; transition: opacity var(--ease), filter var(--ease); }
.ww-clients li:hover img { opacity: 1; filter: none; }
.ww-center .ww-clients { margin-top: 40px; }
@media (max-width: 900px) { .ww-clients { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ww-clients li:nth-child(5n) { border-right: 1px solid var(--kraft); } .ww-clients li:nth-child(2n) { border-right: 0; } .ww-clients li { min-height: 84px; } .ww-clients img { height: 28px; } }

/* Projects */
.ww-grid--projects .ww-project { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--walnut-900); }
.ww-project .ww-card__media { border-radius: var(--r-card); }
.ww-project:hover .ww-card__img { transform: scale(1.03); }
.ww-project__tag { align-self: flex-start; background: var(--gold-100); color: var(--gold-700); font: 700 11.5px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; margin-top: 6px; }
.ww-project__title { font: 500 22px/1.3 var(--display); transition: color var(--ease); }
.ww-project:hover .ww-project__title { color: var(--gold-700); }

/* Lists */
.ww-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ww-checks li { position: relative; padding-left: 34px; color: var(--walnut-900); font-weight: 500; font-size: 16px; }
.ww-checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a5e08' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ww-section--dark .ww-checks li { color: #fff; }
.ww-steps { list-style: none; padding: 0; margin: 0; counter-reset: ww; display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ww-steps:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ww-steps:has(> :nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ww-steps li { counter-increment: ww; background: #fff; border: 1px solid var(--kraft); border-radius: var(--r-card); padding: 24px 22px 26px; font-size: 15px; line-height: 1.6; color: var(--stone); }
.ww-section--linen .ww-steps li, .ww-section--cream .ww-steps li { border-color: transparent; }
.ww-steps li::before { content: counter(ww, decimal-leading-zero); display: block; font: 500 34px/1 var(--display); color: var(--gold-700); margin-bottom: 18px; }
.ww-steps li strong { display: block; color: var(--walnut-900); font: 600 17px/1.35 var(--text); margin-bottom: 6px; }
@media (max-width: 1100px) { .ww-steps, .ww-steps:has(> :nth-child(4):last-child), .ww-steps:has(> :nth-child(5):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ww-steps, .ww-steps:has(> :nth-child(4):last-child), .ww-steps:has(> :nth-child(5):last-child) { grid-template-columns: minmax(0, 1fr); } }

/* Facts table */
.ww-content .wp-block-table { margin: 0; overflow-x: auto; }
.ww-content .wp-block-table table { width: 100%; border-collapse: collapse; background: #fff; border-top: 2px solid var(--walnut-900); font-size: 15.5px; }
.ww-content .wp-block-table td { padding: 16px 18px 16px 0; border: 0; border-bottom: 1px solid var(--kraft); vertical-align: top; }
.ww-content .wp-block-table td:first-child { font-weight: 600; color: var(--walnut-900); width: 32%; }
.ww-section--linen .wp-block-table table, .ww-section--cream .wp-block-table table { background: transparent; }

/* Gallery (bento) */
.ww-gallery { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 220px); grid-auto-flow: dense; }
.ww-gallery > * { margin: 0 !important; position: relative; overflow: hidden; border-radius: var(--r-card); min-height: 0; }
.ww-gallery > :first-child { grid-column: span 2; grid-row: span 2; }
.ww-gallery:has(> :nth-child(4):last-child) > :last-child, .ww-gallery:has(> :nth-child(8):last-child) > :last-child, .ww-gallery:has(> :nth-child(12):last-child) > :last-child { grid-column: span 2; }
.ww-gallery:has(> :nth-child(7):last-child) > :nth-last-child(-n+2) { grid-column: span 2; }
.ww-gallery:has(> :nth-child(3):last-child) { grid-template-columns: 1.7fr 1fr; }
.ww-gallery:has(> :nth-child(3):last-child) > :first-child { grid-column: auto; }
.ww-gallery:has(> :nth-child(6):last-child), .ww-gallery:has(> :nth-child(2):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 18vw, 260px); }
.ww-gallery:has(> :nth-child(6):last-child) > :first-child { grid-column: auto; grid-row: auto; }
.ww-gallery:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ww-gallery:has(> :nth-child(2):last-child) > :first-child { grid-column: auto; grid-row: auto; }
.ww-gallery:has(> :only-child) { grid-template-columns: minmax(0, 720px); grid-auto-rows: clamp(240px, 32vw, 460px); }
.ww-gallery:has(> :only-child) > :first-child { grid-column: auto; grid-row: auto; }
.ww-gallery img { width: 100%; height: 100% !important; object-fit: cover; cursor: zoom-in; transition: transform .6s ease-out; }
.ww-gallery > :hover img { transform: scale(1.04); }
.ww-gallery figcaption, .ww-gallery .wp-element-caption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 28px 14px 12px; font-size: 13px; line-height: 1.4; color: #fff; text-align: left; background: linear-gradient(transparent, rgba(49, 20, 10, .78)); opacity: 0; transform: translateY(8px); transition: opacity var(--ease), transform var(--ease); pointer-events: none; }
.ww-gallery > :hover figcaption, .ww-gallery > :focus-within figcaption { opacity: 1; transform: none; }
@media (max-width: 900px) {
	.ww-gallery, .ww-gallery:has(> :nth-child(6):last-child), .ww-gallery:has(> :nth-child(3):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
	.ww-gallery > :first-child, .ww-gallery:has(> :nth-child(3):last-child) > :first-child, .ww-gallery:has(> :nth-child(6):last-child) > :first-child { grid-column: 1 / -1; grid-row: span 2; }
	.ww-gallery figcaption { opacity: 1; transform: none; font-size: 12px; }
}
.ww-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(31, 12, 4, .94); display: flex; align-items: center; justify-content: center; padding: 24px; }
.ww-lightbox[hidden] { display: none; }
.ww-lightbox img { max-width: 100%; max-height: 90vh; border-radius: 10px; }
.ww-lightbox__close { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--walnut-900); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }

/* FAQ */
.ww-faq { max-width: 940px; }
.ww-content .wp-block-details { background: #fff; border: 1px solid var(--kraft); border-radius: var(--r-card); margin: 0 0 12px !important; transition: border-color var(--ease), box-shadow var(--ease); }
.ww-section--linen .wp-block-details, .ww-section--cream .wp-block-details { border-color: transparent; }
.ww-content .wp-block-details[open] { border-color: var(--gold-500); }
.ww-content .wp-block-details summary { cursor: pointer; padding: 20px 64px 20px 24px; font: 600 17px/1.45 var(--text); color: var(--walnut-900); list-style: none; position: relative; }
.ww-content .wp-block-details summary::-webkit-details-marker { display: none; }
.ww-content .wp-block-details summary::after { content: "+"; position: absolute; right: 20px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--gold-100); color: var(--gold-700); font: 500 20px/30px var(--text); text-align: center; transition: transform var(--ease), background var(--ease); }
.ww-content .wp-block-details[open] summary::after { content: "\2212"; background: var(--gold-500); color: var(--walnut-900); }
.ww-content .wp-block-details > :not(summary) { padding: 0 24px; margin: 0 0 22px; color: var(--stone); font-size: 16px; }

/* Motto */
.ww-motto { margin-top: clamp(40px, 5vw, 64px) !important; padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--kraft); text-align: center; }
.ww-motto p { margin: 0; }
.ww-motto p:first-child { font: 700 12.5px/1.4 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); }
.ww-motto p:last-child { margin-top: 14px; font: italic 500 clamp(26px, 3.2vw, 40px)/1.2 var(--display); color: var(--walnut-900); }
.ww-motto p:last-child::before { content: "\201C"; }
.ww-motto p:last-child::after { content: "\201D"; }

/* Prose, notes */
.ww-prose { display: block; }
.ww-prose > * { max-width: 820px; }
.ww-prose h2 { font-size: clamp(24px, 2.4vw, 30px); margin-top: 40px !important; }
.ww-prose h2:first-child { margin-top: 0 !important; }
.ww-muted { color: var(--stone); font-size: 14.5px; opacity: .85; }

/* Contact list & map */
.ww-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ww-contact li { display: flex; gap: 14px; align-items: flex-start; }
.ww-contact .ww-ico { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--gold-100); color: var(--gold-700); }
.ww-contact strong { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-700); font-weight: 700; }
.ww-contact a { color: var(--walnut-900); font-weight: 600; text-decoration: none; }
.ww-contact a:hover { color: var(--gold-700); }
.ww-map { border-radius: var(--r-block); overflow: hidden; border: 1px solid var(--kraft); }
.ww-map iframe { display: block; width: 100%; height: 380px; border: 0; }

/* Quote form */
.ww-quote { background: #fff; border: 1px solid var(--kraft); border-radius: var(--r-block); padding: clamp(22px, 3vw, 40px); }
.ww-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.ww-field { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--walnut-900); }
.ww-field--full { grid-column: 1 / -1; }
.ww-field input, .ww-field select, .ww-field textarea { font: 400 16px/1.4 var(--text); padding: 12px 14px; border: 1px solid var(--kraft); border-radius: var(--r-input); background: #fff; color: var(--walnut-900); width: 100%; transition: border-color var(--ease), box-shadow var(--ease); }
.ww-field input:focus, .ww-field select:focus, .ww-field textarea:focus { border-color: var(--gold-500); outline: 0; box-shadow: 0 0 0 3px var(--gold-100); }
.ww-field input[type=file] { padding: 10px; background: var(--linen); }
.ww-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--stone); font-weight: 400; }
.ww-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--gold-600); }
.ww-req { color: var(--gold-700); }
.ww-hp { position: absolute !important; left: -9999px !important; }
.ww-alert { padding: 14px 18px; border-radius: 10px; font-weight: 600; margin-bottom: 18px; }
.ww-alert--ok { background: #e7f2ec; color: #1f5a3b; }
.ww-alert--err { background: #fbe9e5; color: #8a2a16; }
.ww-form .ww-btn { justify-self: start; }
@media (max-width: 640px) { .ww-form { grid-template-columns: 1fr; } }

/* Article */
.ww-article { max-width: 820px; margin: 0 auto; padding: var(--pad) 24px; }
.ww-article > * { padding: 0 !important; }
.ww-article__img img { border-radius: var(--r-card); margin-bottom: 28px; }

/* ---------- CTA band ---------- */
.ww-cta { padding: clamp(40px, 5vw, 64px) 0 clamp(64px, 8vw, 112px); background: #fff; }
.ww-cta__box { background: var(--gold-500); border-radius: var(--r-block); padding: clamp(36px, 5vw, 64px) clamp(28px, 5vw, 72px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; position: relative; overflow: hidden; }
.ww-cta__box > :first-child { flex: 1 1 480px; min-width: 0; }
.ww-cta__title { font-size: clamp(30px, 3.4vw, 44px); color: var(--walnut-900); margin: 0 0 10px; max-width: 680px; }
.ww-cta__title em { color: inherit; }
.ww-cta__text { margin: 0; color: rgba(49, 20, 10, .78); max-width: 620px; font-size: 16px; }
.ww-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ww-cta .ww-btn--outline { border-color: var(--walnut-900); }

/* ---------- Footer ---------- */
.ww-footer { background: var(--walnut-900); color: rgba(247, 242, 233, .7); padding: clamp(64px, 7vw, 88px) 0 28px; font-size: 14.5px; }
.ww-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.ww-footer .ww-logo__img { width: 160px; }
.ww-footer__brand hr { border: 0; border-top: 1px solid rgba(247, 242, 233, .14); margin: 24px 0; }
.ww-footer__motto { font: italic 500 21px/1.35 var(--display); color: var(--gold-500); margin: 22px 0 0; max-width: 320px; }
.ww-footer__legal { margin: 0 0 6px; color: rgba(247, 242, 233, .86); }
.ww-footer__desc { margin: 0; font-size: 14px; line-height: 1.6; max-width: 340px; }
.ww-footer__h { font: 700 12px/1.4 var(--text); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 18px; }
.ww-footer__links, .ww-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ww-footer a { color: rgba(247, 242, 233, .74); text-decoration: none; }
.ww-footer a:hover { color: var(--gold-500); }
.ww-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.ww-footer__contact .ww-ico { color: var(--gold-500); width: 17px; height: 17px; margin-top: 3px; }
.ww-social { display: flex; gap: 10px; margin-top: 20px; }
.ww-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(247, 242, 233, .2); display: inline-flex; align-items: center; justify-content: center; transition: background var(--ease), border-color var(--ease); }
.ww-social a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--walnut-900); }
.ww-social .ww-ico { width: 18px; height: 18px; }
.ww-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(247, 242, 233, .14); margin-top: 56px; padding-top: 24px; font-size: 13px; color: rgba(247, 242, 233, .55); }
@media (max-width: 900px) { .ww-footer__grid { grid-template-columns: 1fr 1fr; } .ww-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .ww-footer__grid { grid-template-columns: 1fr; } }

/* Floating contact */
.ww-float { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.ww-float__btn { width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; box-shadow: 0 8px 22px -6px rgba(0, 0, 0, .35); font: 800 12px/1 var(--text); transition: transform var(--ease); }
.ww-float__btn:hover { transform: translateY(-2px) scale(1.04); color: #fff; }
.ww-float__zalo { background: #0068ff; }
.ww-float__wa { background: #25d366; }
.ww-float__call { background: var(--gold-600); }
.ww-float__btn .ww-ico { width: 24px; height: 24px; }
@media (min-width: 1101px) { .ww-float__call { display: none; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print { .ww-header, .ww-topbar, .ww-float, .ww-cta { display: none; } }

/* =====================================================================
   v2.1 visual upgrade (Dec 2026)
   Logo lockup, hero bento, softer cards, timeline steps, two-column FAQ,
   client wall + mobile marquee, mobile contact bar, scroll reveal.
   ===================================================================== */
:root { --brand-ink: #381911; --brand-rust: #aa5322; --r-img: 16px; --shadow-soft: 0 26px 50px -30px rgba(49, 20, 10, .42); --ease-out: cubic-bezier(.2, .7, .2, 1); }
h2 { text-wrap: balance; }
.ww-content p, .ww-hero__lead { text-wrap: pretty; }

/* Header & logo lockup */
/* Blur sits on a pseudo-element: a backdrop-filter on .ww-header itself would become the
   containing block of the fixed mobile menu and break it. */
.ww-header { background: transparent; }
.ww-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
.ww-topbar__note { padding: 0 !important; line-height: 1.4; }
.ww-logo { align-items: center; text-decoration: none; }
.ww-logo__lockup { display: inline-flex; align-items: center; gap: 12px; }
.ww-logo__icon { width: 50px; height: auto; flex-shrink: 0; }
.ww-logo__text { display: flex; flex-direction: column; font-family: "Roboto Slab", Rockwell, Georgia, serif; line-height: 1; white-space: nowrap; }
.ww-logo__ww { font-weight: 800; font-size: 25px; letter-spacing: .01em; color: var(--brand-ink); }
.ww-logo__name { margin-top: 5px; font-weight: 500; font-size: 10.5px; letter-spacing: .06em; color: var(--brand-rust); }
.ww-logo__co { margin-top: 3px; font-weight: 400; font-size: 9px; letter-spacing: .38em; color: var(--brand-rust); }
.ww-logo--light .ww-logo__ww { color: #fff; }
.ww-logo--light .ww-logo__name, .ww-logo--light .ww-logo__co { color: var(--gold-500); }
.ww-footer .ww-logo__icon { width: 56px; }
.ww-footer .ww-logo__ww { font-size: 28px; }
.ww-footer .ww-logo__name { font-size: 11.5px; }
.ww-footer .ww-logo__co { font-size: 10px; }
@media (max-width: 1320px) { .ww-header__cta { display: none; } }
@media (max-width: 1100px) { .ww-logo__icon { width: 42px; } .ww-logo__ww { font-size: 21px; } .ww-logo__name { font-size: 9.5px; margin-top: 4px; } .ww-logo__co { font-size: 8px; } }

/* Kicker with a short rule */
.ww-kicker::before, .ww-hero__kicker::before { content: ""; display: inline-block; width: 22px; height: 1.5px; margin-right: 10px; vertical-align: middle; background: currentColor; opacity: .8; }
.ww-center .ww-kicker::before, .ww-logos-title::before { display: none; }

/* Home hero */
.ww-front .ww-topbar__note { visibility: hidden; }
.ww-hero--home { position: relative; isolation: isolate; padding: clamp(40px, 6vw, 84px) 0 clamp(52px, 6vw, 84px); }
.ww-hero--home::before { content: ""; position: absolute; z-index: -1; right: -12%; top: -10%; width: 70%; height: 120%; background: radial-gradient(closest-side, rgba(217, 166, 26, .16), transparent 72%); pointer-events: none; }
.ww-hero--home .ww-hero__grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 40px clamp(32px, 5vw, 72px); }
.ww-hero--home .ww-hero__title { font-size: clamp(38px, 4.4vw, 62px); line-height: 1.04; letter-spacing: -.022em; text-wrap: balance; }
.ww-hero__kicker { margin: 0 0 22px; font: 700 12.5px/1.4 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); }
.ww-hero--home .ww-hero__lead { margin-top: 22px; max-width: 540px; }
.ww-bento { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1.22fr) minmax(0, 1fr); gap: 14px; height: clamp(430px, 40vw, 560px); }
.ww-bento__item { position: relative; margin: 0; min-height: 0; overflow: hidden; border-radius: var(--r-img); background: var(--kraft); box-shadow: var(--shadow-soft); }
.ww-bento__item:first-child { grid-column: 1 / -1; }
.ww-bento__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.ww-bento__item:hover img { transform: scale(1.045); }
/* Home hero: muted factory loop behind text and photos, under a linen veil so the text stays readable. */
.ww-hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.ww-hero__video { width: 100%; height: 100%; object-fit: cover; }
.ww-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247, 242, 233, .9) 0%, rgba(247, 242, 233, .82) 48%, rgba(247, 242, 233, .62) 100%); }
@media (max-width: 900px) { .ww-hero__bg::after { background: rgba(247, 242, 233, .84); } }
@media (prefers-reduced-motion: reduce) { .ww-hero__video { display: none; } }
.ww-bento__cap { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font: 600 12.5px/1.2 var(--text); color: var(--walnut-900); text-decoration: none; transition: background var(--ease), color var(--ease); }
.ww-bento__cap::after { content: "\2192"; transition: transform var(--ease); }
.ww-bento__cap:hover { background: var(--gold-500); color: var(--walnut-900); }
.ww-bento__cap:hover::after { transform: translateX(3px); }
.ww-bento__item:first-child .ww-bento__cap { left: auto; right: 12px; }
.ww-bento__badge { position: absolute; z-index: 2; left: -24px; top: calc(55% - 58px); margin: 0; max-width: 240px; padding: 14px 18px; border-radius: var(--r-card); background: #fff; box-shadow: var(--shadow); font-size: 13px; line-height: 1.45; color: var(--stone); }
.ww-bento__badge strong { display: block; font: 500 22px/1.15 var(--display); color: var(--walnut-900); margin-bottom: 2px; }
@media (max-width: 900px) {
	.ww-hero--home .ww-hero__grid { grid-template-columns: 1fr; }
	.ww-bento { height: auto; grid-template-rows: 230px 150px; gap: 10px; }
	.ww-bento__badge { left: 10px; top: 10px; max-width: 210px; padding: 10px 12px; font-size: 12px; }
	.ww-bento__badge strong { font-size: 17px; }
	.ww-bento__cap { font-size: 11.5px; padding: 6px 10px; left: 8px; bottom: 8px; }
	.ww-bento__item:first-child .ww-bento__cap { right: 8px; }
}

/* Stats */
@media (max-width: 600px) { .ww-content .ww-stat__num { font-size: 31px !important; white-space: nowrap; text-wrap: nowrap; } .ww-stat__label { font-size: 13px; line-height: 1.45; } }

/* Client wall: equal visual weight; marquee on phones */
.ww-clients-wrap { margin-top: clamp(32px, 4vw, 48px); }
.ww-clients { border-radius: var(--r-img); }
.ww-clients li { min-height: 112px; transition: background var(--ease); }
.ww-clients li:hover { background: var(--linen); }
.ww-clients img { height: var(--h, 34px); max-height: 58px; opacity: .8; }
.ww-clients .is-dup { display: none; }
@media (max-width: 640px) {
	.ww-clients-wrap { overflow: hidden; margin-inline: calc(-1 * var(--gutter)); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
	.ww-clients { display: flex; width: max-content; border: 0; border-radius: 0; background: none; overflow: visible; animation: ww-marquee 36s linear infinite; }
	.ww-clients li, .ww-clients li:nth-child(2n), .ww-clients li:nth-child(5n) { min-height: 80px; padding: 0 26px; border: 0; margin: 0; background: none; }
	.ww-clients .is-dup { display: flex; }
	.ww-clients img { height: calc(var(--h, 34px) * .78); max-width: none; opacity: .85; }
}
@keyframes ww-marquee { to { transform: translateX(-50%); } }

/* Cards: image-led, no box */
.ww-grid:has(> .ww-card) { gap: 44px 28px; }
.ww-card, a.ww-card { background: transparent; border: 0; border-radius: 0; overflow: visible; }
a.ww-card:hover, .ww-card:has(h3 a):hover { border-color: transparent; }
.ww-card .wp-block-image, .ww-card__media { border-radius: var(--r-img); overflow: hidden; background: var(--kraft); isolation: isolate; }
.ww-card .wp-block-image img, .ww-card__img { transition: transform .9s var(--ease-out); }
a.ww-card:hover .ww-card__img, .ww-card:has(h3 a):hover .wp-block-image img { transform: scale(1.05); }
.wp-block-group.ww-card > :not(.wp-block-image) { padding-inline: 0; }
.ww-card > h3 { margin-top: 20px; font-size: clamp(21px, 1.8vw, 24px); transition: color var(--ease); }
.ww-card:has(h3 a):hover > h3 a, a.ww-card:hover .ww-card__title { color: var(--gold-700); }
.ww-card > p:last-child { padding: 14px 0 0; }
.ww-card__body { padding: 18px 0 0; }
.ww-card > p:last-child a, .ww-card__more { font-size: 14px; letter-spacing: .01em; }

/* Home: swipeable rows on phones */
@media (max-width: 640px) {
	.ww-front .ww-grid:has(> .ww-card), .ww-front .ww-grid--projects { display: flex !important; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
	.ww-front .ww-grid:has(> .ww-card)::-webkit-scrollbar, .ww-front .ww-grid--projects::-webkit-scrollbar { display: none; }
	.ww-front .ww-grid:has(> .ww-card) > *, .ww-front .ww-grid--projects > * { flex: 0 0 80%; scroll-snap-align: start; }
	.ww-front .ww-card > p:last-child { display: none; }
	.ww-front .ww-card > h3 { margin-top: 14px; }
	.ww-front .ww-card > p { font-size: 14.5px; }
}

/* Projects */
.ww-project .ww-card__media { border-radius: var(--r-img); }
.ww-project .ww-card__img { transition: transform .9s var(--ease-out); }
.ww-project:hover .ww-card__img { transform: scale(1.05); }

/* Features: numbered on dark, gentle hover elsewhere */
.ww-feature { transition: border-color var(--ease), box-shadow var(--ease), background var(--ease); }
.ww-section:not(.ww-section--dark) .ww-feature:hover { box-shadow: var(--shadow-soft); }
.ww-section--dark .ww-grid { counter-reset: wwf; }
.ww-section--dark .ww-feature h3::before { counter-increment: wwf; content: counter(wwf, decimal-leading-zero); display: block; margin-bottom: 18px; font: 500 15px/1 var(--display); letter-spacing: .06em; color: var(--gold-500); }
.ww-section--dark .ww-feature:hover { border-color: rgba(217, 166, 26, .5); background: rgba(255, 255, 255, .03); }

/* Steps: timeline */
.ww-steps li { position: relative; }
.ww-steps li strong { font: 500 20px/1.25 var(--display); margin-bottom: 8px; letter-spacing: -.005em; }
.ww-steps li::before { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 1.5px solid var(--gold-500); font: 500 18px/1 var(--display); color: var(--gold-700); margin-bottom: 22px; position: relative; z-index: 1; }
.ww-steps li::after { content: ""; position: absolute; top: 26px; left: 52px; right: -16px; height: 1.5px; background: repeating-linear-gradient(90deg, var(--gold-500) 0 6px, transparent 6px 12px); opacity: .7; }
.ww-steps li:last-child::after { display: none; }
@media (min-width: 1101px) {
	.ww-steps, .ww-steps:has(> :nth-child(4):last-child), .ww-steps:has(> :nth-child(5):last-child) { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 16px; }
	.ww-steps li, .ww-section--linen .ww-steps li, .ww-section--cream .ww-steps li { background: transparent; border: 0; border-radius: 0; padding: 0 18px 0 0; }
}
@media (max-width: 1100px) {
	.ww-steps, .ww-steps:has(> :nth-child(4):last-child), .ww-steps:has(> :nth-child(5):last-child) { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.ww-steps li, .ww-section--linen .ww-steps li, .ww-section--cream .ww-steps li { background: transparent; border: 0; border-radius: 0; padding: 0 0 28px 72px; min-height: 52px; }
	.ww-steps li::before { position: absolute; left: 0; top: -6px; margin: 0; }
	.ww-steps li::after { top: 46px; bottom: 0; left: 25px; right: auto; width: 1.5px; height: auto; background: repeating-linear-gradient(180deg, var(--gold-500) 0 6px, transparent 6px 12px); }
}

/* FAQ: heading left, questions right */
@media (min-width: 1000px) {
	.ww-section:has(> .ww-faq) { grid-template-columns: minmax(0, .78fr) minmax(0, 1.4fr); align-items: start; }
	.ww-section:has(> .ww-faq) > .ww-kicker { grid-column: 1; grid-row: 1; }
	.ww-section:has(> .ww-faq) > h2.wp-block-heading { grid-column: 1; grid-row: 2; }
	.ww-section:has(> .ww-faq) > .ww-lead { grid-column: 1; grid-row: 3; align-self: start; margin-top: 20px; }
	.ww-section:has(> .ww-faq) > .ww-faq { grid-column: 2; grid-row: 1 / span 4; margin-top: 0 !important; max-width: none; }
}
.ww-content .wp-block-details summary { transition: color var(--ease); }
.ww-content .wp-block-details summary:hover { color: var(--gold-700); }
.ww-content .wp-block-details[open] { box-shadow: var(--shadow-soft); }

/* Images in split sections */
.ww-split .wp-block-image { box-shadow: var(--shadow-soft); }

/* CTA: subtle hexagon watermark (from the logo shape) */
.ww-cta__box::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 300px; height: 340px; pointer-events: none; opacity: .14; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 115'%3E%3Cpath d='M50 3 96 29.5v56L50 112 4 85.5v-56z' fill='none' stroke='%2331140a' stroke-width='6'/%3E%3Cpath d='M50 25 77 40.5v33L50 89 23 73.5v-33z' fill='none' stroke='%2331140a' stroke-width='4'/%3E%3C/svg%3E") center / contain no-repeat; }
.ww-cta__box > * { position: relative; z-index: 1; }

/* Floating buttons (desktop) and contact bar (phones) */
.ww-float__btn { width: 48px; height: 48px; }
.ww-mbar { display: none; }
@media (max-width: 900px) {
	.ww-float { display: none; }
	.ww-mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr); gap: 6px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--kraft); box-shadow: 0 -12px 30px -20px rgba(49, 20, 10, .45); }
	.ww-mbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 50px; border-radius: 12px; font: 600 11.5px/1.1 var(--text); color: var(--walnut-900); text-decoration: none; }
	.ww-mbar a:active { background: var(--linen); }
	.ww-mbar .ww-ico { width: 21px; height: 21px; }
	.ww-mbar__call .ww-ico { color: var(--gold-700); }
	.ww-mbar__zalo .ww-ico { color: #0068ff; }
	.ww-mbar__wa .ww-ico { color: #1faa53; }
	.ww-mbar__quote { flex-direction: row !important; gap: 6px !important; background: var(--gold-500); font-size: 14px !important; font-weight: 700 !important; }
	.ww-mbar__quote::after { content: "\2192"; }
	body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
	body.ww-menu-open .ww-mbar { display: none; }
}

/* Scroll reveal (only when JS runs; disabled for reduced motion) */
.ww-js .ww-rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--d, 0ms); }
.ww-js .ww-rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ww-js .ww-rv { opacity: 1; transform: none; } .ww-clients { animation: none; } }
@media print { .ww-mbar { display: none; } }
.ww-clients-wrap .ww-clients, .ww-center .ww-clients-wrap .ww-clients { margin-top: 0; }
/* Russian menu labels are longer: keep the header on one line on small laptops. */
@media (min-width: 1101px) and (max-width: 1240px) { .lang-ru .ww-logo__text { display: none; } }
@media (max-width: 1520px) { .lang-ru .ww-header__cta { display: none; } }
.lang-ru .ww-hero--home .ww-hero__title { font-size: clamp(34px, 3.7vw, 54px); }

/* =====================================================================
   v2.2 typography: clean sans-serif (Montserrat headings, Inter text),
   no italics. Same fonts in every language.
   ===================================================================== */
:root, .lang-ru { --display: "Montserrat", "Segoe UI", Arial, sans-serif; --text: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
body { font-size: 16.5px; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.025em; }
h3 { font-weight: 600; letter-spacing: -.015em; }
h1 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.1; }
h2 { font-size: clamp(27px, 3vw, 40px); line-height: 1.18; }
h3 { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.3; }
h1 em, h2 em, h3 em, .ww-cta__title em { font-style: normal; font-weight: inherit; }
.ww-hero--home .ww-hero__title { font-size: clamp(32px, 3.7vw, 52px); line-height: 1.1; letter-spacing: -.03em; }
.lang-ru .ww-hero--home .ww-hero__title { font-size: clamp(28px, 3.1vw, 44px); }
.ww-hero--page .ww-hero__title { font-size: clamp(30px, 3.6vw, 48px); }
.ww-stat__num { font-weight: 700 !important; letter-spacing: -.035em; }
@media (max-width: 600px) { .ww-content .ww-stat__num { font-size: 26px !important; } }
.ww-card > h3, .ww-card__title, .ww-project__title { font-weight: 600; font-size: clamp(18px, 1.5vw, 21px); letter-spacing: -.015em; }
.ww-feature h3 { font-weight: 600; font-size: clamp(18px, 1.5vw, 20px); letter-spacing: -.01em; }
.ww-section--dark .ww-feature h3::before { font-weight: 600; font-size: 13px; letter-spacing: .1em; }
.ww-steps li strong { font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.ww-steps li::before { font-weight: 600; font-size: 15px; }
.ww-cta__title { font-size: clamp(26px, 2.8vw, 38px); }
.ww-footer__motto, .ww-motto p:last-child { font-style: normal; font-weight: 600; letter-spacing: -.01em; }
.ww-footer__motto { font-size: 18px; }
.ww-motto p:last-child { font-size: clamp(22px, 2.6vw, 32px); }
.ww-content .wp-block-details summary { font-weight: 600; }
.ww-prose h2 { font-size: clamp(22px, 2.2vw, 28px); }
@media (max-width: 1100px) { .ww-nav__link { font-weight: 600; font-size: 17px; } }
.ww-content .ww-stat__num { font-size: clamp(30px, 3.3vw, 48px) !important; white-space: nowrap; text-wrap: nowrap; }
@media (max-width: 600px) { .ww-content .ww-stat__num { font-size: 26px !important; } }

/* v2.3 Client logos: full colour, no grid lines, each logo fades up in turn on scroll */
.ww-clients, .ww-center .ww-clients { border: 0; border-radius: 0; background: none; overflow: visible; column-gap: clamp(12px, 2.5vw, 40px); row-gap: clamp(4px, 1.5vw, 20px); }
.ww-clients li, .ww-clients li:nth-child(2n), .ww-clients li:nth-child(5n) { border: 0; margin: 0; background: none; min-height: 96px; padding: 12px; }
.ww-clients li:hover { background: none; }
.ww-clients img { filter: none; opacity: 1; transition: transform .35s var(--ease-out); }
.ww-clients li:hover img { filter: none; opacity: 1; transform: scale(1.06); }
@media (max-width: 640px) { .ww-clients { column-gap: 0; row-gap: 0; } .ww-clients img { opacity: 1; } }

.ww-mbar__mail .ww-ico { color: var(--gold-700); }
/* Telegram + Russian-speaking note (Russian site) */
.ww-float__tg { background: #27a7e7; }
.ww-mbar__tg .ww-ico { color: #27a7e7; }
.ww-hero__note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 18px 0 0; font: 500 14.5px/1.4 var(--text); color: var(--walnut-700); }
.ww-hero__note strong { font-weight: 600; color: var(--walnut-900); }
.ww-hero__note a { display: inline-flex; align-items: center; gap: 6px; color: var(--walnut-900); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--kraft); padding-bottom: 1px; }
.ww-hero__note a:hover { color: var(--gold-700); border-color: currentColor; }
.ww-hero__note .ww-ico { width: 18px; height: 18px; }
.ww-hero__note .ww-ico { color: var(--gold-700); }
.ww-hero__note--ca { margin-top: 8px; font-size: 13.5px; }
.ww-hero__note--ca a { font-weight: 500; }
.ww-hero__note--ca a:first-of-type .ww-ico { color: #27a7e7; }
.ww-hero__note--ca a + a .ww-ico { color: #1faa53; }
.ww-float__mail { background: var(--walnut-900); color: #fff; }
/* Company profile request + news list */
.ww-pf-kinds { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.ww-pf-kinds legend { font: 600 14px/1.4 var(--text); color: var(--walnut-900); margin-bottom: 8px; padding: 0; }
.ww-alert ul { margin: 10px 0 0; padding-left: 20px; }
.ww-alert ul a { font-weight: 600; }
.ww-news .ww-card__meta { font-size: 13px; letter-spacing: .02em; text-transform: uppercase; color: var(--gold-700); }
.ww-news-empty { color: var(--stone); }

/* Short export enquiry (RU export pages) and post footer box */
.ww-offer__body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: clamp(32px, 4vw, 48px) !important; }
.ww-offer__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.ww-offer__submit span { font-size: 14px; color: var(--stone); }
.ww-offer__aside { display: grid; gap: 22px; align-content: start; }
.ww-offer__aside .ww-btn { justify-self: start; }
.ww-offer__contacts, .ww-postbox ul, .ww-related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ww-offer__contacts li, .ww-postbox li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.ww-offer__contacts .ww-ico, .ww-postbox .ww-ico { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--gold-700); }
.ww-offer__contacts a, .ww-postbox a:not(.ww-btn) { color: var(--walnut-900); font-weight: 600; }
.ww-offer__contacts small { display: block; font-size: 13px; color: var(--stone); font-weight: 400; }
.ww-postbox { margin-top: 48px; padding: clamp(22px, 3vw, 32px); background: var(--linen); border-radius: var(--r-block); display: grid; gap: 16px; }
.ww-postbox__h, .ww-related__h { margin: 0; font: 700 19px/1.3 var(--display, inherit); color: var(--walnut-900); }
.ww-postbox__links { display: flex; flex-wrap: wrap; gap: 12px; margin: 4px 0 0; }
.ww-related { margin-top: 36px; display: grid; gap: 12px; }
.ww-related li a { color: var(--walnut-900); font-weight: 600; text-decoration-color: var(--kraft); text-underline-offset: 3px; }
@media (max-width: 900px) { .ww-offer__body { grid-template-columns: 1fr; } }

/* Export facts strip, About «Экспорт» block, delivery geography (RU) */
.ww-factstrip { display: flex; flex-wrap: wrap; gap: 10px 12px; padding: clamp(20px, 3vw, 28px) var(--gutter) 0; max-width: 1440px; margin: 0 auto; }
.ww-factstrip p { margin: 0; padding: 8px 14px; background: var(--linen); border: 1px solid var(--kraft); border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--walnut-900); }
.ww-export-block .ww-checks { margin-top: clamp(28px, 3vw, 40px) !important; max-width: 920px; }
.ww-export-block__links { font-weight: 600; }
.ww-export-block__links a { color: var(--walnut-900); text-decoration-color: var(--gold-500); text-underline-offset: 3px; }
.ww-content > .ww-geo { padding-block: clamp(24px, 3vw, 36px) 0; }
.ww-geo > * + * { margin-top: 6px !important; }
.ww-geo__list { font-size: 17px; color: var(--walnut-900); font-weight: 500; }
@media (max-width: 640px) { .ww-factstrip p { font-size: 13.5px; border-radius: 14px; } }
