/*
 * Wintech Timber visual refresh
 * A premium, practical merchant aesthetic layered over the existing site.
 * Content, prices and functionality remain owned by the existing components.
 */

:root {
  --green: #126232;
  --green-dark: #0a4525;
  --green-deep: #052d1a;
  --green-bright: #19743c;
  --orange: #e97825;
  --ink: #17221b;
  --muted: #617067;
  --cream: #f7f4ec;
  --cream-dark: #ece7da;
  --line: rgba(15, 72, 38, .16);
  --shadow: 0 26px 70px rgba(4, 43, 24, .14);
  --shadow-soft: 0 14px 38px rgba(4, 43, 24, .09);
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-small: 10px;
  --radius-card: 18px;
  --radius-large: 28px;
}

body {
  background: #fffdf9;
  color: var(--ink);
  letter-spacing: -.006em;
}

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -.035em;
}

h2 {
  font-size: clamp(2.45rem, 4.6vw, 4.45rem);
}

h3 {
  letter-spacing: -.022em;
}

.site-container {
  width: min(1240px, calc(100% - 48px));
}

.section {
  padding-block: clamp(88px, 9vw, 132px);
}

.eyebrow {
  gap: 12px;
  margin-bottom: 19px;
  color: var(--green-bright);
  font-size: .7rem;
  letter-spacing: .2em;
}

.eyebrow::before {
  width: 28px;
  height: 3px;
  flex-basis: 28px;
  border-radius: 99px;
  background: var(--orange);
}

.eyebrow.light {
  color: #b9dbc3;
}

.split-heading {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .7fr);
  gap: clamp(48px, 8vw, 110px);
}

.split-heading > p {
  padding-left: 25px;
  border-left: 2px solid rgba(18, 98, 50, .22);
  color: #536158;
  line-height: 1.75;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(18, 98, 50, .34);
}

/* Header */
.utility-bar {
  background: #042617;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.utility-inner {
  min-height: 38px;
  color: rgba(255, 255, 255, .72);
  font-size: .72rem;
  letter-spacing: .045em;
}

.site-header {
  background: rgba(255, 253, 249, .95);
  border-bottom: 1px solid rgba(13, 75, 37, .11);
  box-shadow: 0 12px 35px rgba(4, 43, 24, .07);
}

.header-inner {
  min-height: 92px;
}

.brand {
  padding: 8px 0;
}

.brand img {
  filter: saturate(.95) contrast(1.05);
}

.main-nav {
  gap: 23px;
}

.main-nav a {
  color: #26362c;
  font-size: .85rem;
  font-weight: 750;
  letter-spacing: .006em;
}

.main-nav a::after {
  height: 3px;
  bottom: 25px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--green));
}

.header-action {
  color: #314238;
}

.saved-header-button {
  width: 40px;
  height: 40px;
  border-color: rgba(18, 98, 50, .18);
  background: white;
  box-shadow: 0 5px 16px rgba(4, 43, 24, .06);
}

.basket-button {
  min-height: 46px;
  padding: 11px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green-bright), var(--green));
  box-shadow: 0 9px 22px rgba(8, 81, 39, .2);
}

.search-panel {
  background: rgba(247, 244, 236, .98);
  border-bottom: 1px solid var(--line);
}

.search-panel-inner {
  min-height: 140px;
}

.search-panel input {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  padding: 14px 16px;
}

.search-panel button {
  min-height: 49px;
  border-radius: 10px;
  padding-inline: 22px;
}

/* Hero and first-screen actions */
.hero {
  min-height: 760px;
}

.hero-media {
  background-position: center 45%;
  filter: saturate(.85) contrast(1.04);
}

.hero-overlay {
  background:
    radial-gradient(circle at 82% 22%, rgba(233, 120, 37, .16), transparent 25%),
    linear-gradient(90deg, rgba(2, 31, 17, .98) 0%, rgba(4, 44, 23, .9) 45%, rgba(4, 44, 23, .34) 77%, rgba(4, 44, 23, .14) 100%);
}

.hero::after {
  height: 240px;
  background: linear-gradient(transparent, rgba(2, 29, 16, .54));
}

.hero-content {
  position: relative;
  padding: 126px 0 136px 42px;
}

.hero-content::before {
  content: "";
  position: absolute;
  left: 0;
  top: 132px;
  width: 3px;
  height: 150px;
  border-radius: 99px;
  background: linear-gradient(var(--orange), rgba(233, 120, 37, .08));
}

.hero h1 {
  max-width: 840px;
  margin-bottom: 27px;
  font-size: clamp(4rem, 7.6vw, 7.5rem);
  line-height: .98;
  letter-spacing: -.065em;
  text-shadow: 0 8px 35px rgba(0, 0, 0, .22);
}

.hero p {
  max-width: 690px;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(1.05rem, 1.65vw, 1.28rem);
}

.button {
  min-height: 54px;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: .86rem;
  letter-spacing: .018em;
  box-shadow: none;
}

.button-primary {
  background: linear-gradient(135deg, #238448, var(--green));
  box-shadow: 0 13px 30px rgba(2, 30, 16, .25);
}

.button-light {
  border-color: rgba(255, 255, 255, .48);
  background: rgba(255, 255, 255, .07);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 28px rgba(3, 35, 19, .17);
}

.hero-proof {
  width: fit-content;
  gap: 0;
  margin-top: 54px;
  padding: 17px 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: rgba(1, 25, 13, .28);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .12);
  backdrop-filter: blur(10px);
}

.hero-proof span {
  padding-inline: 24px;
}

.hero-proof span:first-child {
  padding-left: 0;
}

.quick-strip {
  position: relative;
  z-index: 4;
  background: var(--cream);
  color: var(--ink);
}

.quick-strip-grid {
  position: relative;
  transform: translateY(-34px);
  overflow: hidden;
  border: 1px solid rgba(15, 72, 38, .13);
  border-radius: 16px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 26px 68px rgba(3, 41, 22, .16);
}

.quick-strip a,
.quick-strip a:first-child {
  min-height: 116px;
  border-color: rgba(15, 72, 38, .12);
  padding: 25px 32px;
}

.quick-strip a:hover {
  background: #f8f5ed;
}

.quick-strip span {
  color: #758079;
  font-size: .66rem;
}

.quick-strip strong {
  color: var(--green-deep);
  font-size: 1.08rem;
}

.quick-strip a::after {
  color: var(--orange);
}

/* Project discovery */
.section-cream,
.catalogue-section,
.visit-info,
.legal-page {
  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, .96), transparent 32%),
    linear-gradient(180deg, #f8f5ee, #f3efe5);
}

.project-grid {
  grid-template-columns: 1.12fr .94fr .94fr;
  gap: 22px;
}

.project-card {
  min-height: 500px;
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(4, 43, 24, .15);
}

.project-card-shade {
  background: linear-gradient(0deg, rgba(2, 29, 16, .96), rgba(3, 34, 18, .16) 76%);
}

.project-card::after {
  inset: 10px;
  border-color: rgba(255, 255, 255, .2);
  border-radius: 12px;
}

.project-card-copy {
  padding: 38px;
}

.project-card-copy > span {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  color: #d6e8db;
  font-size: .72rem;
}

.project-card h3 {
  font-size: clamp(1.8rem, 2.5vw, 2.65rem);
}

.category-links {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .68);
  box-shadow: 0 10px 28px rgba(4, 43, 24, .045);
}

.category-links a {
  min-height: 68px;
  align-items: center;
}

.category-links a:hover {
  background: white;
}

/* Products */
.product-grid {
  gap: 24px;
}

.product-card {
  overflow: hidden;
  border: 1px solid rgba(18, 98, 50, .13);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(4, 43, 24, .055);
}

.product-card:hover {
  border-color: rgba(18, 98, 50, .32);
  transform: translateY(-7px);
  box-shadow: 0 28px 60px rgba(4, 43, 24, .14);
}

.product-image-wrap {
  aspect-ratio: 1.08 / 1;
  background: linear-gradient(145deg, #f3f1e9, #e8ebe3);
}

.product-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom: 1px solid rgba(18, 98, 50, .09);
  pointer-events: none;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.055);
}

.product-badge {
  top: 16px;
  left: 16px;
  padding: 7px 11px;
  border: 1px solid rgba(18, 98, 50, .12);
  box-shadow: 0 7px 18px rgba(4, 43, 24, .1);
}

.product-card-body {
  padding: 24px;
}

.product-card h3 {
  margin: 9px 0 14px;
  font-size: 1.33rem;
}

.product-card-summary {
  color: #657168;
}

.product-buy-row {
  padding-top: 17px;
  border-top: 1px solid rgba(18, 98, 50, .11);
}

.product-buy-row strong {
  color: var(--green-deep);
  font-size: 1.2rem;
}

.view-product-link {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(18, 98, 50, .27);
}

.product-option-picker select,
.product-quantity,
.add-button {
  border-radius: 8px;
}

.add-button {
  background: #f8fbf8;
}

.add-button:hover,
.add-button.added {
  box-shadow: 0 8px 18px rgba(18, 98, 50, .15);
}

/* Signature service bands */
.cnc-home-band,
.trade-band,
.faq-section,
.values-band,
.planner-help-band,
.cnc-process-section,
.shed-planning-section {
  background-color: var(--green-deep);
}

.cnc-home-band {
  background: linear-gradient(120deg, #0d6936, #084827 64%, #073a22);
}

.cnc-home-grid,
.trade-grid {
  min-height: 700px;
}

.cnc-home-copy,
.trade-copy {
  padding-block: 105px;
}

.cnc-panel-visual,
.trade-image-card {
  box-shadow: -28px 0 70px rgba(1, 25, 13, .22);
}

.cnc-visual-label,
.trade-stat {
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(1, 25, 13, .22);
}

.tick-list li {
  padding: 13px 0 13px 38px;
  border-bottom: 1px solid rgba(255, 255, 255, .11);
}

.tick-list li::before {
  top: 13px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: rgba(185, 219, 195, .14);
  font-size: .7rem;
}

.service-grid {
  grid-template-columns: .82fr 1.18fr;
}

.service-list article {
  grid-template-columns: 54px 1fr;
  gap: 24px;
  margin-bottom: 10px;
  padding: 25px 24px;
  border: 1px solid rgba(18, 98, 50, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .58);
}

.service-list article:last-child {
  border-bottom: 1px solid rgba(18, 98, 50, .12);
}

.service-list article > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
  font-size: .72rem;
}

.service-list article:hover {
  padding-inline: 24px;
  border-color: rgba(18, 98, 50, .28);
  background: white;
  box-shadow: var(--shadow-soft);
}

.customer-paths-grid {
  gap: 18px;
}

.customer-paths-grid > a {
  min-height: 320px;
  padding: 34px;
  border-radius: 17px;
  background: linear-gradient(145deg, white, #fbfaf6);
}

.customer-paths-grid > a > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
}

.customer-paths-grid > a:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.visit-cta {
  min-height: 570px;
}

.visit-cta::after {
  background: linear-gradient(90deg, rgba(2, 31, 17, .97), rgba(4, 50, 26, .74));
}

.visit-details {
  padding: 38px;
  border-radius: 18px;
  background: rgba(1, 26, 14, .5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .16);
  backdrop-filter: blur(12px);
}

/* Inner-page continuity */
.page-hero::before {
  background:
    linear-gradient(110deg, rgba(2, 31, 17, .98), rgba(4, 45, 24, .7)),
    url("../images/hero-yard.jpg") center 60% / cover;
}

.page-hero::after {
  right: -7vw;
  bottom: -22vw;
  width: 48vw;
  height: 48vw;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 0 0 80px rgba(255, 255, 255, .018), 0 0 0 160px rgba(255, 255, 255, .012);
}

.page-hero-grid {
  min-height: 535px;
}

.page-hero h1,
.contact-hero h1 {
  font-size: clamp(3.5rem, 6.4vw, 6.6rem);
  line-height: 1;
  letter-spacing: -.06em;
}

.page-hero-note {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-left: 3px solid var(--orange);
  border-radius: 16px;
  background: rgba(1, 27, 14, .48);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .16);
  backdrop-filter: blur(10px);
}

.product-finder-section {
  background:
    radial-gradient(circle at 86% 0%, rgba(37, 126, 69, .22), transparent 26%),
    var(--green-deep);
}

.product-finder-grid {
  gap: 16px;
}

.product-finder-grid button {
  min-height: 230px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
}

.product-finder-grid button:hover {
  background: rgba(255, 255, 255, .095);
  transform: translateY(-5px);
}

.catalogue-toolbar,
.catalogue-sidebar,
.contact-form-card,
.hours-card,
.legal-grid article,
.planner-shell {
  border-color: rgba(18, 98, 50, .13);
  border-radius: 16px;
  box-shadow: 0 16px 42px rgba(4, 43, 24, .075);
}

.catalogue-toolbar {
  padding: 24px;
}

.catalogue-toolbar input,
.catalogue-toolbar select,
.contact-form input,
.contact-form select,
.contact-form textarea {
  min-height: 46px;
  border-radius: 9px;
  background: #fff;
}

.catalogue-sidebar {
  top: 126px;
}

.catalogue-sidebar > button {
  min-height: 45px;
  border-radius: 8px;
  padding-inline: 10px;
}

.catalogue-sidebar > button.active {
  background: var(--cream);
}

.sidebar-help {
  border-radius: 12px;
  background: linear-gradient(145deg, var(--green), var(--green-deep));
}

.popular-searches button {
  min-height: 34px;
  padding-inline: 13px;
}

.product-detail-hero {
  background:
    radial-gradient(circle at 5% 5%, rgba(247, 244, 236, .96), transparent 34%),
    #fffdf9;
}

.product-detail-image {
  border-radius: 22px;
  box-shadow: 0 26px 65px rgba(4, 43, 24, .13);
}

.product-detail-copy h1 {
  line-height: 1;
}

.product-detail-lists article,
.support-cards article,
.cnc-capability-grid article,
.cnc-needs-grid article,
.shed-benefit-grid article {
  border-radius: 16px;
}

.contact-hero {
  background:
    radial-gradient(circle at 12% 10%, rgba(29, 116, 60, .23), transparent 28%),
    var(--green-deep);
}

.contact-form-card {
  padding: 42px;
}

.planner-shell {
  overflow: hidden;
}

.planner-tabs {
  background: #f0ede5;
}

.planner-result {
  background: linear-gradient(145deg, #18713b, #0c4c29);
}

.planner-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--green-deep);
  color: white;
}

.planner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at 82% 25%, rgba(77, 161, 91, .28), transparent 28%), linear-gradient(120deg, #052d19, #084728 63%, #06351e);
}

.planner-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .11;
  background-image: linear-gradient(rgba(255, 255, 255, .2) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .2) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent 34%, black);
}

.planner-hero-grid {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.15fr .55fr;
  gap: 90px;
  align-items: center;
  padding-block: 80px;
}

.planner-hero h1 {
  max-width: 840px;
  margin-bottom: 24px;
  font-size: clamp(3.3rem, 6.7vw, 6.4rem);
  letter-spacing: -.055em;
}

.planner-hero-grid > div > p {
  max-width: 710px;
  color: rgba(255, 255, 255, .75);
  font-size: 1.1rem;
}

.planner-hero-grid > aside {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, .23);
  background: rgba(2, 30, 16, .55);
  backdrop-filter: blur(8px);
}

.planner-hero-grid > aside > span,
.planner-form-heading > span,
.planner-result > span {
  color: #a9d4b8;
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.planner-hero-grid > aside > strong {
  display: block;
  margin: 12px 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.planner-hero-grid > aside p {
  margin: 0;
  color: rgba(255, 255, 255, .66);
  font-size: .82rem;
}

.planner-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.planner-hero-proof span {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .82);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.planner-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.planner-tabs button {
  min-height: 70px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 900;
  cursor: pointer;
}

.planner-tabs button:last-child {
  border-right: 0;
}

.planner-tabs button.active {
  background: white;
  color: var(--green);
  box-shadow: inset 0 -4px 0 var(--green);
}

.planner-workspace {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: stretch;
}

.planner-form,
.planner-result {
  padding: 46px;
}

.planner-form-heading > span,
.planner-result > span {
  color: var(--green);
}

.planner-result > span {
  color: #b8d9c2;
}

.planner-form-heading h2 {
  margin: 8px 0 12px;
  font-size: clamp(2rem, 3.4vw, 3.3rem);
}

.planner-form-heading p {
  max-width: 590px;
  color: var(--muted);
  font-size: .86rem;
}

.planner-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
}

.planner-field {
  display: block;
}

.planner-field > span {
  display: block;
  margin-bottom: 7px;
  color: #405047;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.planner-field > div {
  min-height: 52px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border: 1px solid var(--line);
  background: #fafaf7;
}

.planner-field input,
.planner-field select {
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 13px 14px;
  color: var(--green-deep);
  font-weight: 800;
  outline: none;
}

.planner-field input {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.planner-field select {
  cursor: pointer;
  font-size: .82rem;
}

.planner-field small {
  padding: 0 13px;
  color: var(--muted);
  font-size: .67rem;
}

.planner-field > div:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(18, 100, 46, .1);
}

.planner-field-fixed > div {
  background: #f0f4ef;
}

.planner-field-fixed strong {
  padding: 11px 14px;
  color: var(--green-deep);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.planner-field-wide {
  grid-column: 1 / -1;
}

.planner-result {
  position: relative;
  color: white;
}

.planner-result h2 {
  margin: 8px 0 2px;
  font-size: 1.5rem;
}

.planner-result-main {
  display: block;
  margin-bottom: 29px;
  font-family: var(--font-display);
  font-size: clamp(3.3rem, 6vw, 5.8rem);
  line-height: 1;
}

.planner-result-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 26px;
  border-top: 1px solid rgba(255, 255, 255, .22);
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}

.planner-result-metrics > div {
  min-width: 0;
  padding: 15px 10px;
  border-right: 1px solid rgba(255, 255, 255, .22);
}

.planner-result-metrics > div:first-child {
  padding-left: 0;
}

.planner-result-metrics > div:last-child {
  border-right: 0;
}

.planner-result-metrics span {
  display: block;
  color: rgba(255, 255, 255, .6);
  font-size: .62rem;
  text-transform: uppercase;
}

.planner-result-metrics strong {
  display: block;
  overflow-wrap: anywhere;
  font-family: var(--font-display);
  font-size: .94rem;
}

.planner-result > p {
  color: rgba(255, 255, 255, .7);
  font-size: .76rem;
}

.planner-price-panel {
  margin: 0 0 20px;
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(2, 38, 20, .2);
}

.planner-price-heading,
.planner-price-line,
.planner-price-total {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 13px 15px;
}

.planner-price-heading {
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .65);
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.planner-price-line {
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.planner-price-line > div {
  min-width: 0;
}

.planner-price-line > div > strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: .75rem;
  line-height: 1.35;
}

.planner-price-line > div > span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, .6);
  font-size: .64rem;
}

.planner-price-line > strong {
  font-family: var(--font-display);
  font-size: 1rem;
  white-space: nowrap;
}

.planner-price-total {
  background: rgba(2, 30, 16, .28);
}

.planner-price-total span {
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.planner-price-total strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.planner-add-button {
  width: 100%;
  min-height: 52px;
  margin-top: 9px;
  border: 0;
  cursor: pointer;
}

.planner-add-button:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.planner-product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.planner-product-links a {
  border-bottom: 1px solid rgba(255, 255, 255, .38);
  color: white;
  font-size: .7rem;
  font-weight: 900;
}

.planner-help-band {
  background: var(--green-deep);
  color: white;
}

.planner-help-band > .site-container {
  min-height: 270px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.planner-help-band h2 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

@media (max-width: 1060px) {
  .planner-hero-grid {
    grid-template-columns: 1fr .65fr;
    gap: 45px;
  }

  .planner-workspace {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .planner-hero-grid {
    min-height: 760px;
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 70px;
  }

  .planner-hero h1 {
    font-size: clamp(3rem, 13vw, 4.5rem);
  }

  .planner-tabs button {
    min-height: 60px;
    padding: 8px;
    font-size: .78rem;
  }

  .planner-form,
  .planner-result {
    padding: 30px 22px;
  }

  .planner-fields,
  .planner-result-metrics {
    grid-template-columns: 1fr;
  }

  .planner-field-wide {
    grid-column: auto;
  }

  .planner-result-metrics > div,
  .planner-result-metrics > div:first-child {
    padding: 11px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
  }

  .planner-result-metrics > div:last-child {
    border-bottom: 0;
  }

  .planner-price-heading,
  .planner-price-line,
  .planner-price-total {
    gap: 12px;
    padding-inline: 12px;
  }

  .planner-add-button {
    min-height: 58px;
    white-space: normal;
  }

  .planner-help-band > .site-container {
    min-height: 350px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .planner-help-band .button-row,
  .planner-help-band .button {
    width: 100%;
  }
}

/* Privacy-friendly assistant: answers from the current site and WooCommerce catalogue. */
.website-assistant {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9997;
  font-family: var(--font-body);
}

.assistant-toggle {
  min-height: 54px;
  display: grid;
  grid-template-columns: 36px auto;
  gap: 11px;
  align-items: center;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green-bright), var(--green));
  color: #fff;
  padding: 8px 18px 8px 9px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(3, 31, 17, .28);
  transition: transform .2s ease, box-shadow .2s ease;
}

.assistant-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 19px 42px rgba(3, 31, 17, .34);
}

.assistant-toggle-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
}

.assistant-toggle strong,
.assistant-toggle small {
  display: block;
}

.assistant-toggle strong {
  color: #fff;
  font-size: .79rem;
  line-height: 1.2;
}

.assistant-toggle small {
  margin-top: 2px;
  color: rgba(255, 255, 255, .74);
  font-size: .59rem;
}

.assistant-panel {
  position: absolute;
  right: 0;
  bottom: 68px;
  width: min(410px, calc(100vw - 44px));
  height: min(650px, calc(100dvh - 115px));
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(18, 98, 50, .18);
  border-radius: 18px;
  background: #f5f3ed;
  box-shadow: 0 28px 80px rgba(2, 30, 16, .3);
  animation: wintech-assistant-in .2s ease-out;
}

.assistant-panel[hidden] {
  display: none;
}

@keyframes wintech-assistant-in {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.assistant-header {
  min-height: 82px;
  display: grid;
  grid-template-columns: 43px 1fr 38px;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--green-deep), #0b4b2a);
  color: #fff;
}

.assistant-avatar {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 13px;
  background: rgba(255, 255, 255, .09);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
}

.assistant-header > div:nth-child(2) > span {
  display: block;
  color: #acd5b8;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.assistant-header h2 {
  margin: 2px 0 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: -.02em;
  line-height: 1.1;
}

.assistant-header > button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  padding: 0;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.assistant-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px 8px;
  scroll-behavior: smooth;
}

.assistant-message {
  max-width: 91%;
  margin: 0 0 13px;
}

.assistant-message.user {
  margin-left: auto;
}

.assistant-message-copy {
  border: 1px solid #dfe4dd;
  border-radius: 5px 15px 15px 15px;
  background: #fff;
  color: #27342c;
  padding: 11px 13px;
  font-size: .76rem;
  line-height: 1.55;
  box-shadow: 0 6px 16px rgba(5, 48, 26, .055);
}

.assistant-message.user .assistant-message-copy {
  border-color: var(--green);
  border-radius: 15px 5px 15px 15px;
  background: var(--green);
  color: #fff;
}

.assistant-products {
  display: grid;
  gap: 7px;
  margin-top: 8px;
}

.assistant-product {
  min-width: 0;
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr) 18px;
  gap: 10px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #d9dfd8;
  border-radius: 10px;
  background: #fff;
  padding: 7px;
  text-decoration: none;
}

.assistant-product:hover {
  border-color: var(--green);
}

.assistant-product img {
  width: 45px;
  height: 45px;
  border-radius: 7px;
  object-fit: cover;
  background: var(--cream);
}

.assistant-product span,
.assistant-product strong,
.assistant-product small {
  min-width: 0;
  display: block;
}

.assistant-product strong {
  overflow: hidden;
  color: var(--green-deep);
  font-size: .68rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.assistant-product small {
  margin-top: 2px;
  color: var(--green);
  font-size: .63rem;
  font-weight: 900;
}

.assistant-product b {
  color: var(--green);
  font-size: .8rem;
}

.assistant-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.assistant-links a {
  border: 1px solid #d2dad2;
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  padding: 6px 9px;
  font-size: .61rem;
  font-weight: 900;
  text-decoration: none;
}

.assistant-links a:hover {
  border-color: var(--green);
  background: #edf5ef;
}

.assistant-thinking {
  width: 62px;
  display: flex;
  gap: 4px;
  margin: 3px 0 13px;
  border: 1px solid #dfe4dd;
  border-radius: 5px 15px 15px 15px;
  background: #fff;
  padding: 12px 14px;
}

.assistant-thinking span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7b897f;
  animation: wintech-assistant-thinking 1s infinite ease-in-out;
}

.assistant-thinking span:nth-child(2) { animation-delay: .14s; }
.assistant-thinking span:nth-child(3) { animation-delay: .28s; }

@keyframes wintech-assistant-thinking {
  0%, 60%, 100% { transform: translateY(0); opacity: .45; }
  30% { transform: translateY(-3px); opacity: 1; }
}

.assistant-suggestions {
  display: flex;
  overflow-x: auto;
  gap: 7px;
  padding: 8px 16px 12px;
  scrollbar-width: thin;
}

.assistant-suggestions[hidden] {
  display: none;
}

.assistant-suggestions button {
  flex: 0 0 auto;
  border: 1px solid #ccd6cc;
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  padding: 7px 10px;
  font-size: .63rem;
  font-weight: 900;
  cursor: pointer;
}

.assistant-suggestions button:hover {
  border-color: var(--green);
  background: #edf5ef;
}

.assistant-form {
  flex: 0 0 auto;
  margin: 0;
  padding: 12px 14px 13px;
  border-top: 1px solid #d9ded8;
  background: #fff;
}

.assistant-form > label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.assistant-form > div {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 7px;
}

.assistant-form input {
  min-width: 0;
  min-height: 43px;
  border: 1px solid #cbd3cb;
  border-radius: 9px;
  background: #fbfcfa;
  padding: 10px 12px;
  color: var(--ink);
  font-size: .74rem;
  outline: none;
}

.assistant-form input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(18, 98, 50, .1);
}

.assistant-form button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: var(--green);
  color: #fff;
  padding: 0;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
}

.assistant-form > p {
  margin: 7px 2px 0;
  color: #778078;
  font-size: .54rem;
  line-height: 1.4;
}

@media (max-width: 720px) {
  .website-assistant {
    right: 13px;
    bottom: 13px;
  }

  .assistant-panel {
    position: fixed;
    right: 10px;
    bottom: 75px;
    width: calc(100vw - 20px);
    height: min(625px, calc(100dvh - 95px));
    border-radius: 15px;
  }

  .assistant-toggle {
    min-height: 51px;
    grid-template-columns: 34px auto;
    padding-right: 14px;
  }

  .assistant-toggle-icon {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 390px) {
  .assistant-toggle small {
    display: none;
  }

  .assistant-panel {
    height: calc(100dvh - 88px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .assistant-panel,
  .assistant-thinking span,
  .assistant-toggle {
    animation: none;
    transition: none;
  }
}

/* Footer */
.site-footer {
  padding-top: 86px;
  border-top: 5px solid var(--orange);
  background:
    radial-gradient(circle at 12% 0%, rgba(30, 111, 56, .2), transparent 30%),
    #031e11;
}

.footer-grid {
  gap: clamp(44px, 6vw, 82px);
}

.footer-grid h2 {
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: #dcebe0;
}

.footer-grid a {
  color: rgba(255, 255, 255, .68);
}

.footer-grid a:hover {
  color: white;
}

.footer-brand img {
  width: 168px;
}

.footer-bottom {
  padding-block: 24px;
}

@media (max-width: 1180px) {
  .header-inner {
    min-height: 78px;
  }

  .main-nav {
    padding: 16px 24px 28px;
    background: #fffdf9;
  }

  .main-nav a {
    padding: 15px 8px;
  }
}

@media (max-width: 1060px) {
  .site-container {
    width: min(100% - 40px, 1240px);
  }

  .hero-content {
    padding-left: 34px;
  }

  .project-grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-card:first-child {
    min-height: 470px;
  }

  .product-grid,
  .catalogue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-paths-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-container {
    width: min(100% - 28px, 1240px);
  }

  h2 {
    font-size: clamp(2.25rem, 11.5vw, 3.35rem);
  }

  .section {
    padding-block: 78px;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .split-heading > p {
    padding: 0;
    border: 0;
  }

  .hero {
    min-height: 690px;
  }

  .hero-media {
    background-position: 62% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(2, 31, 17, .97), rgba(4, 45, 24, .76));
  }

  .hero-content {
    padding: 82px 0 96px;
  }

  .hero-content::before {
    display: none;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 16vw, 5rem);
  }

  .hero-proof {
    width: 100%;
    gap: 15px 0;
    padding: 16px;
  }

  .hero-proof span,
  .hero-proof span:first-child {
    flex: 1 1 48%;
    padding-inline: 10px;
  }

  .quick-strip-grid {
    transform: translateY(-22px);
    border-radius: 13px;
  }

  .quick-strip a,
  .quick-strip a:first-child {
    min-height: 88px;
    padding: 18px 20px;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(15, 72, 38, .11);
  }

  .quick-strip a:last-child {
    border-bottom: 0;
  }

  .project-grid,
  .product-grid,
  .catalogue-grid,
  .customer-paths-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card:first-child {
    min-height: 420px;
    border-radius: 16px;
  }

  .project-card-copy {
    padding: 30px;
  }

  .category-links {
    grid-template-columns: 1fr;
  }

  .category-links a,
  .category-links a:first-child {
    min-height: 56px;
    padding: 14px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .category-links a:last-child {
    border-bottom: 0;
  }

  .product-card {
    border-radius: 14px;
  }

  .product-image-wrap {
    aspect-ratio: 1.25 / 1;
  }

  .cnc-home-grid,
  .trade-grid {
    min-height: 0;
  }

  .cnc-home-copy,
  .trade-copy {
    padding-block: 78px;
  }

  .service-list article,
  .service-list article:hover {
    gap: 14px;
    padding: 22px 18px;
  }

  .customer-paths-grid > a {
    min-height: 240px;
    padding: 28px;
  }

  .visit-details {
    padding: 26px;
  }

  .page-hero-grid {
    min-height: 590px;
  }

  .page-hero h1,
  .contact-hero h1 {
    font-size: clamp(3rem, 14vw, 4.7rem);
  }

  .page-hero-note,
  .catalogue-toolbar,
  .catalogue-sidebar,
  .contact-form-card,
  .hours-card,
  .legal-grid article,
  .planner-shell {
    border-radius: 13px;
  }

  .contact-form-card {
    padding: 28px 20px;
  }

  .site-footer {
    padding-top: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card:hover,
  .project-card:hover,
  .customer-paths-grid > a:hover,
  .product-finder-grid button:hover,
  .button:hover {
    transform: none;
  }
}


/* Existing WordPress, page-builder and block content */
.existing-site-content {
  position: relative;
  border-top: 1px solid var(--line);
  background: #fffdf9;
}
.existing-content-shell {
  overflow: hidden;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(18, 98, 50, .13);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(4, 43, 24, .075);
}
.existing-content-shell > h2 {
  margin-bottom: 28px;
  font-size: clamp(2rem, 4vw, 3rem);
}
.entry-content::after {
  content: "";
  display: table;
  clear: both;
}
.entry-content > :first-child { margin-top: 0; }
.entry-content > :last-child { margin-bottom: 0; }
.entry-content a:not(.button):not(.wp-block-button__link) {
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: rgba(18, 98, 50, .28);
  text-underline-offset: .16em;
}
.entry-content img {
  height: auto;
  border-radius: 12px;
}
.entry-content .wp-block-button__link {
  border-radius: 10px;
  background: var(--green);
  color: #fff;
}
.entry-content table {
  width: 100%;
  border-collapse: collapse;
}
.entry-content th,
.entry-content td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
}
.basket-count {
  min-width: 22px;
  min-height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  font-size: .72rem;
}

/* WooCommerce data remains plugin-owned; these rules only refresh presentation. */
.woocommerce-main {
  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, .96), transparent 32%),
    linear-gradient(180deg, #f8f5ee, #f3efe5);
}
.woocommerce ul.products {
  gap: 24px;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  border: 1px solid rgba(18, 98, 50, .13);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(4, 43, 24, .055);
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 60px rgba(4, 43, 24, .14);
}
.woocommerce ul.products li.product a img {
  aspect-ratio: 1.08 / 1;
}
.woocommerce ul.products li.product .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  min-height: 48px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--green-bright), var(--green));
  box-shadow: 0 9px 22px rgba(8, 81, 39, .16);
}
.woocommerce div.product {
  border: 1px solid rgba(18, 98, 50, .13);
  border-radius: 18px;
  box-shadow: 0 20px 55px rgba(4, 43, 24, .1);
}
.woocommerce table.shop_table,
.woocommerce-checkout #payment,
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
  border-radius: 12px;
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(4, 43, 24, .07);
}

@media (max-width: 720px) {
  .existing-content-shell {
    padding: 24px 18px;
    border-radius: 13px;
  }
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    border-radius: 14px;
  }
}
