:root {
  --green: #163f35;
  --green-dark: #0e2f28;
  --green-light: #24594b;
  --yellow: #f1c644;
  --cream: #f5f1e9;
  --paper: #fcfaf6;
  --ink: #17342d;
  --muted: #68766f;
  --line: #dcded8;
  --white: #fff;
  --terracotta: #b96343;
  --radius: 2px;
  --shadow: 0 18px 50px rgba(20, 45, 38, 0.13);
  --font-display: "Manrope", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-body); font-size: 16px; line-height: 1.5; }
body.locked { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.skip-link { position: fixed; top: -100px; left: 16px; z-index: 200; background: var(--white); padding: 12px 16px; font-weight: 700; }
.skip-link:focus { top: 16px; }
.announcement { height: 34px; display: flex; align-items: center; justify-content: center; position: relative; padding: 0 24px; color: var(--green); background: var(--yellow); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.announcement p { margin: 0; }
.language-toggle { position: absolute; right: 32px; display: flex; gap: 5px; border: 0; background: transparent; color: rgba(22,63,53,.55); font-size: 10px; font-weight: 800; cursor: pointer; }
.language-toggle span.active { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

.site-header { height: 76px; padding: 0 clamp(22px, 5vw, 78px); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 50; background: rgba(252,250,246,.96); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(22,63,53,.08); transition: box-shadow .25s ease; }
.site-header.scrolled { box-shadow: 0 5px 24px rgba(14,47,40,.08); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 33px; height: 33px; display: grid; place-items: center; background: var(--green); color: var(--yellow); font-family: var(--font-display); font-size: 12px; font-weight: 800; letter-spacing: -.05em; border-radius: 50%; }
.brand-word { font-family: var(--font-display); font-size: 15px; font-weight: 800; letter-spacing: .13em; }
.desktop-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 46px); font-size: 13px; font-weight: 600; }
.desktop-nav a { position: relative; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--green); transition: right .2s; }
.desktop-nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-button, .cart-button, .menu-button { border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.icon-button { width: 40px; height: 40px; display: grid; place-items: center; }
.icon-button svg, .cart-button svg, .search-field svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.cart-button { display: flex; align-items: center; gap: 8px; padding: 9px 12px; font-size: 12px; font-weight: 700; }
.cart-count { min-width: 20px; height: 20px; padding: 0 6px; display: grid; place-items: center; color: var(--yellow); background: var(--green); border-radius: 12px; font-size: 10px; }
.menu-button { display: none; width: 40px; padding: 10px; }
.menu-button span { display: block; width: 20px; height: 1px; margin: 5px 0; background: currentColor; }
.mobile-nav { display: none; position: fixed; top: 110px; left: 0; right: 0; z-index: 49; padding: 22px 28px 30px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.mobile-nav.open { display: grid; gap: 20px; }
.mobile-nav a { font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.search-panel { display: none; position: fixed; top: 110px; left: 0; right: 0; z-index: 49; padding: 25px clamp(22px, 10vw, 180px); background: var(--paper); box-shadow: var(--shadow); }
.search-panel.open { display: block; }
.search-panel label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.search-field { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--green); }
.search-field input { flex: 1; padding: 12px 0; border: 0; outline: none; background: transparent; font-family: var(--font-display); font-size: clamp(20px, 3vw, 30px); }
.search-field button { border: 0; background: transparent; font-size: 32px; font-weight: 300; cursor: pointer; }

.hero { min-height: calc(100vh - 110px); position: relative; display: flex; align-items: center; overflow: hidden; color: var(--white); background: #a95f45; }
.hero-image { position: absolute; inset: 0; background-image: url('/assets/jwtrade-hero.webp'); background-position: center; background-size: cover; transform: scale(1.01); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(40,25,17,.62) 0%, rgba(50,24,16,.44) 42%, rgba(31,22,18,.03) 70%); }
.hero-content { position: relative; z-index: 2; width: min(650px, 54vw); margin-left: clamp(26px, 8vw, 128px); padding: 74px 0 150px; }
.route-pill { width: fit-content; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 6px 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 30px; backdrop-filter: blur(8px); font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.route-pill i { color: var(--yellow); font-style: normal; }
.eyebrow { margin: 0 0 13px; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.dark { color: var(--terracotta); }
.hero h1 { max-width: 660px; margin: 0; font-family: var(--font-display); font-size: clamp(42px, 5.6vw, 82px); line-height: .98; letter-spacing: -.055em; }
.hero h1 em { color: var(--yellow); font-style: normal; }
.hero-copy { max-width: 480px; margin: 25px 0 30px; color: rgba(255,255,255,.86); font-size: clamp(15px, 1.4vw, 18px); }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.button { min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 1px solid transparent; border-radius: var(--radius); font-size: 12px; font-weight: 800; letter-spacing: .02em; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--green); background: var(--white); }
.button-dark { color: var(--white); background: var(--green); }
.button-yellow { color: var(--green-dark); background: var(--yellow); }
.button-green { color: var(--white); background: var(--green); }
.button-outline { color: var(--white); border-color: rgba(255,255,255,.35); background: transparent; }
.button-outline:hover { color: var(--green); background: var(--white); }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding: 5px 0; border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 800; cursor: pointer; }
.text-link.light { color: var(--white); }
.trust-strip { position: absolute; z-index: 3; right: 0; bottom: 0; width: min(730px, 57vw); min-height: 92px; display: grid; grid-template-columns: repeat(3,1fr); align-items: center; color: var(--ink); background: rgba(252,250,246,.96); backdrop-filter: blur(12px); }
.trust-strip > div { min-height: 45px; padding: 0 28px; display: flex; align-items: center; gap: 13px; border-right: 1px solid var(--line); }
.trust-strip > div:last-child { border: 0; }
.trust-icon { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; color: var(--green); border: 1px solid rgba(22,63,53,.2); border-radius: 50%; font-size: 12px; }
.trust-strip p { margin: 0; line-height: 1.2; }
.trust-strip strong, .trust-strip small { display: block; }
.trust-strip strong { font-family: var(--font-display); font-size: 11px; }
.trust-strip small { margin-top: 4px; color: var(--muted); font-size: 9px; }

.section { padding: clamp(70px, 9vw, 128px) clamp(22px, 7.4vw, 118px); }
.section-heading { margin-bottom: 40px; }
.section-heading.split { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-heading h2, .quote-copy h2, .about-copy h2 { margin: 0; font-family: var(--font-display); font-size: clamp(34px, 4.3vw, 60px); line-height: 1.05; letter-spacing: -.045em; }
.section-heading.split > p { max-width: 330px; margin: 0 0 7px; color: var(--muted); font-size: 14px; }
.catalog-toolbar { margin-bottom: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.category-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.category-filter { padding: 8px 15px; color: var(--muted); border: 1px solid var(--line); background: transparent; border-radius: 20px; font-size: 11px; font-weight: 700; cursor: pointer; }
.category-filter.active { color: var(--white); border-color: var(--green); background: var(--green); }
#sortSelect { padding: 8px 30px 8px 12px; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); background: transparent; font-size: 11px; font-weight: 700; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 18px; }
.product-card { min-width: 0; }
.product-visual { aspect-ratio: .88; position: relative; display: grid; place-items: center; overflow: hidden; background: var(--product-bg); }
.product-visual::before { content: ""; width: 55%; aspect-ratio: 1; position: absolute; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; }
.product-object { z-index: 1; font-size: clamp(68px, 8vw, 118px); filter: drop-shadow(0 16px 15px rgba(36,44,39,.19)); transform: rotate(var(--rotation, -5deg)); transition: transform .35s ease; }
.product-card:hover .product-object { transform: rotate(0deg) scale(1.06); }
.product-badge { position: absolute; z-index: 2; top: 13px; left: 13px; padding: 5px 9px; color: var(--green); background: var(--yellow); font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.quick-add { width: 38px; height: 38px; position: absolute; z-index: 2; right: 12px; bottom: 12px; display: grid; place-items: center; color: var(--white); border: 0; background: var(--green); border-radius: 50%; font-size: 20px; cursor: pointer; opacity: 0; transform: translateY(5px); transition: opacity .2s, transform .2s; }
.product-card:hover .quick-add, .quick-add:focus { opacity: 1; transform: translateY(0); }
.product-info { padding: 15px 2px 0; }
.product-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.product-info h3 { margin: 6px 0 6px; font-family: var(--font-display); font-size: 15px; line-height: 1.25; }
.product-price { display: flex; align-items: baseline; gap: 6px; font-weight: 700; }
.product-price small { color: var(--muted); font-size: 9px; font-weight: 500; }
.catalog-empty { padding: 60px; text-align: center; color: var(--muted); }

.quote-banner { margin: 0 clamp(0px, 3.8vw, 60px); padding: clamp(54px, 7vw, 90px) clamp(24px, 7vw, 100px); display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(60px, 10vw, 150px); color: var(--white); background: var(--green); }
.quote-copy h2 { color: var(--yellow); }
.quote-copy > p:nth-of-type(2) { max-width: 530px; margin: 25px 0 34px; color: rgba(255,255,255,.72); }
.quote-points { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.18); }
.quote-points span { padding: 19px 10px 0 0; }
.quote-points i, .quote-points b { display: block; }
.quote-points i { margin-bottom: 6px; color: var(--yellow); font-size: 9px; font-style: normal; }
.quote-points b { font-size: 10px; }
.quote-form { padding: clamp(24px, 3.5vw, 44px); color: var(--ink); background: var(--paper); box-shadow: 16px 16px 0 rgba(10,35,29,.45); }
.form-heading { margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.form-heading > span { width: 28px; height: 28px; display: grid; place-items: center; color: var(--yellow); background: var(--green); border-radius: 50%; }
.form-heading h3 { margin: 0; font-family: var(--font-display); font-size: 21px; }
.quote-form label { display: block; margin-bottom: 17px; }
.quote-form label > span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.quote-form input, .quote-form textarea { width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); outline: none; color: var(--ink); background: transparent; resize: vertical; font-size: 13px; }
.quote-form input:focus, .quote-form textarea:focus { border-bottom-color: var(--green); }
.quote-form .button { width: 100%; margin-top: 4px; justify-content: space-between; }
.quote-form small { display: block; margin-top: 12px; color: var(--muted); text-align: center; font-size: 9px; }

.section-heading.centered { max-width: 650px; margin: 0 auto 54px; text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); }
.steps article { position: relative; padding: 15px 11% 20px; text-align: center; border-right: 1px solid var(--line); }
.steps article:last-child { border: 0; }
.steps article > span { position: absolute; top: 0; left: 18px; color: #b1b9b4; font-size: 10px; font-weight: 800; }
.step-icon { width: 72px; height: 72px; margin: 0 auto 22px; display: grid; place-items: center; color: var(--terracotta); border: 1px solid #ccd2ce; border-radius: 50%; font-family: var(--font-display); font-size: 24px; }
.steps h3 { margin: 0 0 9px; font-family: var(--font-display); font-size: 17px; }
.steps p { max-width: 260px; margin: 0 auto; color: var(--muted); font-size: 12px; }

.about { min-height: 420px; padding: 70px clamp(24px, 9vw, 150px); display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 80px; overflow: hidden; color: var(--white); background: var(--terracotta); }
.about-number { position: relative; font-family: var(--font-display); font-size: clamp(80px, 13vw, 190px); font-weight: 800; letter-spacing: -.09em; line-height: .8; color: rgba(255,255,255,.08); white-space: nowrap; }
.about-number span { color: var(--yellow); font-size: .3em; vertical-align: middle; }
.about-copy { max-width: 600px; }
.about-copy > p:nth-of-type(2) { margin: 22px 0 27px; color: rgba(255,255,255,.78); }

footer { color: rgba(255,255,255,.65); background: var(--green-dark); }
.footer-main { padding: 68px clamp(24px, 7.5vw, 120px); display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 50px; }
.footer-brand { color: var(--white); }
.footer-brand .brand-mark { color: var(--green); background: var(--yellow); }
.footer-main > div:first-child p { margin: 22px 0 0; font-size: 13px; }
.footer-main h3 { margin: 0 0 19px; color: var(--white); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.footer-main > div:not(:first-child):not(:last-child) a { display: block; margin: 0 0 10px; font-size: 12px; }
.footer-main a:hover { color: var(--white); }
.footer-cta p { margin: 0 0 15px; color: var(--white); font-family: var(--font-display); font-size: 15px; font-weight: 700; }
.footer-bottom { padding: 18px clamp(24px, 7.5vw, 120px); display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.1); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }

.drawer-backdrop { position: fixed; inset: 0; z-index: 99; background: rgba(7,29,24,.48); opacity: 0; visibility: hidden; transition: .3s; }
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.cart-drawer { width: min(440px, 100%); position: fixed; z-index: 100; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; background: var(--paper); box-shadow: -20px 0 55px rgba(8,32,26,.2); transform: translateX(105%); transition: transform .35s cubic-bezier(.7,0,.2,1); }
.cart-drawer.open { transform: translateX(0); }
.drawer-header { padding: 28px 28px 20px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
.drawer-header h2 { margin: 0; font-family: var(--font-display); font-size: 28px; }
.drawer-header button { align-self: start; border: 0; background: transparent; font-size: 30px; cursor: pointer; }
.cart-items { padding: 0 28px; overflow-y: auto; }
.cart-item { padding: 18px 0; display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; border-bottom: 1px solid var(--line); }
.cart-item-visual { width: 72px; height: 78px; display: grid; place-items: center; background: var(--product-bg); font-size: 36px; }
.cart-item h4 { margin: 0 0 4px; font-family: var(--font-display); font-size: 13px; }
.cart-item p { margin: 0 0 8px; color: var(--muted); font-size: 11px; }
.quantity { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.quantity button { width: 25px; height: 24px; border: 0; background: transparent; cursor: pointer; }
.quantity span { min-width: 24px; text-align: center; font-size: 11px; }
.remove-item { border: 0; background: transparent; color: var(--muted); font-size: 18px; cursor: pointer; }
.cart-empty { margin: auto; padding: 40px; text-align: center; }
.cart-empty > span { width: 58px; height: 58px; margin: 0 auto 20px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 25px; }
.cart-empty h3 { margin: 0 0 8px; font-family: var(--font-display); }
.cart-empty p { margin: 0 0 22px; color: var(--muted); font-size: 13px; }
.cart-summary { margin-top: auto; padding: 23px 28px 28px; border-top: 1px solid var(--line); background: var(--white); }
.cart-summary > div { display: flex; justify-content: space-between; font-size: 13px; }
.cart-summary strong { font-size: 20px; }
.cart-summary p { color: var(--muted); font-size: 10px; }
.cart-summary .button { width: 100%; justify-content: space-between; }
.toast { position: fixed; z-index: 120; left: 50%; bottom: 24px; padding: 12px 18px; color: var(--white); background: var(--green-dark); box-shadow: var(--shadow); font-size: 12px; font-weight: 700; opacity: 0; pointer-events: none; transform: translate(-50%, 15px); transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .menu-button { display: block; }
  .hero-content { width: 65vw; margin-left: 6vw; }
  .trust-strip { width: 70vw; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-banner { grid-template-columns: 1fr; gap: 48px; }
  .quote-copy { max-width: 650px; }
  .about { grid-template-columns: 1fr 1.2fr; gap: 30px; }
  .footer-main { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer-cta { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .announcement { justify-content: flex-start; height: 32px; padding-left: 16px; font-size: 8px; }
  .language-toggle { right: 14px; }
  .site-header { height: 68px; padding: 0 16px; }
  .mobile-nav, .search-panel { top: 100px; }
  .cart-button > span:not(.cart-count) { display: none; }
  .hero { min-height: 740px; align-items: flex-end; }
  .hero-image { background-position: 58% center; }
  .hero-overlay { background: linear-gradient(0deg, rgba(29,19,13,.82) 0%, rgba(40,22,15,.47) 56%, rgba(20,10,6,.02) 100%); }
  .hero-content { width: auto; margin: 0; padding: 60px 22px 150px; }
  .hero h1 { font-size: clamp(43px, 12vw, 63px); }
  .hero-copy { max-width: 92%; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .trust-strip { left: 16px; right: 16px; width: auto; min-height: 84px; }
  .trust-strip > div { padding: 0 8px; flex-direction: column; justify-content: center; gap: 4px; text-align: center; }
  .trust-icon { width: 23px; height: 23px; flex-basis: 23px; }
  .trust-strip strong { font-size: 8px; }
  .trust-strip small { display: none; }
  .section { padding: 70px 18px; }
  .section-heading.split { align-items: start; flex-direction: column; gap: 15px; }
  .catalog-toolbar { align-items: start; flex-direction: column; }
  .category-filters { flex-wrap: nowrap; width: calc(100vw - 36px); overflow-x: auto; padding-bottom: 5px; }
  .category-filter { white-space: nowrap; }
  .product-grid { gap: 25px 10px; }
  .product-object { font-size: 64px; }
  .quick-add { opacity: 1; transform: none; }
  .product-info h3 { font-size: 13px; }
  .quote-banner { margin: 0; padding: 60px 18px; }
  .quote-points { gap: 8px; }
  .quote-form { box-shadow: 8px 8px 0 rgba(10,35,29,.45); }
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .steps article { padding: 28px 20px 35px; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps article > span { top: 25px; }
  .about { padding: 70px 22px; grid-template-columns: 1fr; gap: 40px; }
  .about-number { font-size: 105px; }
  .footer-main { padding: 55px 22px; grid-template-columns: 1fr 1fr; gap: 42px 20px; }
  .footer-main > div:first-child, .footer-cta { grid-column: 1 / -1; }
  .footer-bottom { padding: 18px 22px; flex-direction: column; gap: 6px; }
}

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