:root {
  --stx-deep-green: #035933;
  --stx-green: #1a9342;
  --stx-teal: #1a9d8e;
  --stx-aqua: #4ebdae;
  --stx-ink: #12362b;
  --stx-text: #38564d;
  --stx-muted: #6d817b;
  --stx-line: #dcebe4;
  --stx-mist: #f3faf7;
  --stx-soft: #e7f5ef;
  --stx-white: #ffffff;
  --stx-shadow: 0 22px 60px rgba(3, 89, 51, 0.12);
  --stx-shadow-soft: 0 14px 34px rgba(18, 54, 43, 0.08);
  --stx-radius-xl: 34px;
  --stx-radius-lg: 24px;
  --stx-radius-md: 16px;
  --stx-container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--stx-text);
  background: var(--stx-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--stx-deep-green); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--stx-teal); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.55em;
  color: var(--stx-ink);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.12;
}
h1 { font-size: clamp(2.75rem, 5.7vw, 5.8rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.8rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
p { margin: 0 0 1.2rem; }
ul, ol { margin: 0 0 1.5rem; }
address { font-style: normal; }
::selection { color: var(--stx-white); background: var(--stx-teal); }

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus, .skip-link:focus {
  z-index: 100000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  color: var(--stx-white);
  background: var(--stx-deep-green);
  border-radius: 10px;
}
:focus-visible { outline: 3px solid var(--stx-aqua); outline-offset: 4px; }

.stx-container { width: min(calc(100% - 40px), var(--stx-container)); margin-inline: auto; }
.stx-narrow { max-width: 820px; }
.stx-section { padding: clamp(76px, 9vw, 126px) 0; }
.stx-standard-main { padding: 80px 0 110px; }
.stx-editor-content { font-size: 1.08rem; }
.stx-editor-content > * { max-width: 760px; margin-inline: auto; }
.stx-editor-content > .alignwide { max-width: 1120px; }
.stx-editor-content > .alignfull { max-width: none; }
.stx-editor-content img { border-radius: var(--stx-radius-lg); }

.stx-eyebrow {
  margin: 0 0 18px;
  color: var(--stx-teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}
.stx-eyebrow-light { color: #baf6e8; }
.stx-section-heading { max-width: 790px; margin-bottom: 48px; }
.stx-section-heading h2 { max-width: 760px; }
.stx-section-lead, .stx-page-lead, .stx-hero-lead, .stx-large-copy {
  color: var(--stx-text);
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  line-height: 1.75;
}
.stx-text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 760; text-decoration: none; }
.stx-text-link span { transition: transform 180ms ease; }
.stx-text-link:hover span { transform: translateX(5px); }

.stx-button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.stx-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 760;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}
.stx-button:hover { transform: translateY(-2px); }
.stx-button-primary { color: var(--stx-white); background: var(--stx-deep-green); box-shadow: 0 10px 24px rgba(3,89,51,.18); }
.stx-button-primary:hover { color: var(--stx-white); background: var(--stx-green); }
.stx-button-light { color: var(--stx-deep-green); background: var(--stx-white); box-shadow: 0 12px 28px rgba(0,0,0,.12); }
.stx-button-light:hover { color: var(--stx-deep-green); background: #edfff8; }
.stx-button-outline-light { color: var(--stx-white); border-color: rgba(255,255,255,.44); background: rgba(255,255,255,.08); }
.stx-button-outline-light:hover { color: var(--stx-white); background: rgba(255,255,255,.18); }
.stx-button-ghost { color: var(--stx-deep-green); border-color: var(--stx-line); background: var(--stx-white); }

/* Header */
.stx-site-header { position: relative; z-index: 100; background: var(--stx-white); }
.stx-topbar { color: rgba(255,255,255,.88); background: var(--stx-deep-green); font-size: .78rem; }
.stx-topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.stx-topbar p { margin: 0; }
.stx-topbar-links { display: flex; gap: 20px; }
.stx-topbar a { color: var(--stx-white); text-decoration: none; }
.stx-header-main { border-bottom: 1px solid rgba(3,89,51,.09); background: rgba(255,255,255,.96); }
.stx-header-main.is-sticky { position: fixed; top: 0; right: 0; left: 0; box-shadow: 0 10px 35px rgba(18,54,43,.08); animation: stx-slide-down 200ms ease; }
@keyframes stx-slide-down { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.stx-header-inner { min-height: 94px; display: flex; align-items: center; gap: 28px; }
.stx-brand { flex: 0 0 210px; }
.stx-default-logo, .custom-logo-link { display: inline-flex; align-items: center; }
.stx-default-logo img, .custom-logo { width: 190px; height: auto; max-height: 72px; object-fit: contain; object-position: left center; }
.stx-primary-navigation { margin-left: auto; }
.stx-primary-menu { display: flex; align-items: center; gap: 5px; margin: 0; padding: 0; list-style: none; }
.stx-primary-menu > li { position: relative; }
.stx-primary-menu a { display: flex; align-items: center; min-height: 44px; padding: 10px 13px; color: var(--stx-ink); border-radius: 11px; font-size: .92rem; font-weight: 690; text-decoration: none; }
.stx-primary-menu > li > a:hover, .stx-primary-menu > li.current-menu-item > a, .stx-primary-menu > li.current-menu-ancestor > a { color: var(--stx-deep-green); background: var(--stx-mist); }
.stx-primary-menu .menu-item-has-children > a::after { content: "⌄"; margin-left: 7px; font-size: .8rem; }
.stx-primary-menu .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 270px;
  margin: 0;
  padding: 10px;
  list-style: none;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  border: 1px solid var(--stx-line);
  border-radius: 16px;
  background: var(--stx-white);
  box-shadow: var(--stx-shadow-soft);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}
.stx-primary-menu li:hover > .sub-menu, .stx-primary-menu li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: translateY(0); }
.stx-primary-menu .sub-menu a { min-height: 42px; white-space: normal; }
.stx-primary-menu .sub-menu a:hover { background: var(--stx-mist); }
.stx-header-actions { display: flex; align-items: center; gap: 12px; }
.stx-header-cta { padding: 11px 16px; color: var(--stx-white); background: var(--stx-deep-green); border-radius: 12px; font-size: .86rem; font-weight: 760; text-decoration: none; white-space: nowrap; }
.stx-header-cta:hover { color: var(--stx-white); background: var(--stx-green); }
.stx-menu-toggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; margin-left: auto; padding: 0; border: 1px solid var(--stx-line); border-radius: 12px; background: var(--stx-white); }
.stx-menu-icon { width: 21px; display: grid; gap: 4px; }
.stx-menu-icon i { display: block; height: 2px; background: var(--stx-deep-green); border-radius: 10px; transition: transform 160ms ease, opacity 160ms ease; }
.stx-menu-toggle[aria-expanded="true"] .stx-menu-icon i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.stx-menu-toggle[aria-expanded="true"] .stx-menu-icon i:nth-child(2) { opacity: 0; }
.stx-menu-toggle[aria-expanded="true"] .stx-menu-icon i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.stx-hero { position: relative; overflow: hidden; color: var(--stx-white); background: linear-gradient(120deg, #014526 0%, var(--stx-deep-green) 52%, #087566 100%); }
.stx-hero-backdrop { position: absolute; inset: 0; opacity: .34; background-image: radial-gradient(circle at 15% 20%, rgba(78,189,174,.6), transparent 28%), radial-gradient(circle at 80% 90%, rgba(26,147,66,.5), transparent 34%), linear-gradient(120deg, transparent 0 70%, rgba(255,255,255,.05) 70%); }
.stx-hero-grid { position: relative; min-height: 720px; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(42px, 7vw, 90px); align-items: center; padding-top: 84px; padding-bottom: 84px; }
.stx-hero-copy { position: relative; z-index: 2; }
.stx-hero h1 { max-width: 800px; color: var(--stx-white); }
.stx-hero-lead { max-width: 720px; color: rgba(255,255,255,.82); }
.stx-hero .stx-button-row { margin-top: 30px; }
.stx-hero-proof { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 44px; color: rgba(255,255,255,.72); font-size: .8rem; font-weight: 720; letter-spacing: .08em; text-transform: uppercase; }
.stx-hero-proof span { position: relative; padding-left: 17px; }
.stx-hero-proof span::before { position: absolute; top: 50%; left: 0; width: 7px; height: 7px; content: ""; transform: translateY(-50%); border-radius: 50%; background: var(--stx-aqua); }
.stx-hero-media { position: relative; min-height: 550px; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 44px 12px 44px 12px; box-shadow: 0 30px 70px rgba(0,0,0,.28); }
.stx-hero-media::after { position: absolute; inset: 0; content: ""; background: linear-gradient(to top, rgba(2,50,31,.5), transparent 45%); }
.stx-hero-media img { width: 100%; height: 100%; min-height: 550px; object-fit: cover; }
.stx-hero-media figcaption { position: absolute; z-index: 2; right: 20px; bottom: 18px; padding: 7px 10px; color: rgba(255,255,255,.86); background: rgba(3,89,51,.66); backdrop-filter: blur(8px); border-radius: 8px; font-size: .68rem; }

/* Home content */
.stx-intro-section { background: var(--stx-white); }
.stx-intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.stx-intro-grid h2 { max-width: 600px; }
.stx-large-copy { margin-bottom: 28px; }
.stx-services-section { background: var(--stx-mist); }
.stx-service-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stx-service-card { position: relative; min-height: 355px; padding: 30px; overflow: hidden; border: 1px solid var(--stx-line); border-radius: var(--stx-radius-lg); background: var(--stx-white); box-shadow: 0 8px 25px rgba(18,54,43,.04); transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.stx-service-card::after { position: absolute; right: -35px; bottom: -45px; width: 145px; height: 145px; content: ""; border-radius: 50%; background: radial-gradient(circle, rgba(78,189,174,.19), transparent 70%); }
.stx-service-card:hover { transform: translateY(-6px); border-color: rgba(26,157,142,.5); box-shadow: var(--stx-shadow-soft); }
.stx-service-card h3 { margin-top: 45px; }
.stx-service-card p { color: var(--stx-muted); font-size: .96rem; }
.stx-service-card .stx-text-link { position: absolute; z-index: 2; bottom: 28px; left: 30px; }
.stx-card-index { color: var(--stx-teal); font-size: .78rem; font-weight: 840; letter-spacing: .14em; }

.stx-process-section { padding: clamp(80px, 9vw, 130px) 0; color: rgba(255,255,255,.78); background: var(--stx-ink); }
.stx-process-section h2, .stx-process-section h3 { color: var(--stx-white); }
.stx-process-section .stx-section-lead { color: rgba(255,255,255,.66); }
.stx-process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: var(--stx-radius-lg); background: rgba(255,255,255,.12); }
.stx-process-card { min-height: 280px; padding: 32px; background: var(--stx-ink); }
.stx-process-card > span { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; margin-bottom: 34px; color: var(--stx-ink); background: var(--stx-aqua); border-radius: 13px; font-size: .76rem; font-weight: 850; }
.stx-process-card p { margin: 0; color: rgba(255,255,255,.64); }

.stx-product-card-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.stx-product-card { grid-column: span 2; overflow: hidden; border: 1px solid var(--stx-line); border-radius: var(--stx-radius-lg); background: var(--stx-white); box-shadow: 0 8px 28px rgba(18,54,43,.04); }
.stx-product-card:nth-child(4), .stx-product-card:nth-child(5) { grid-column: span 3; }
.stx-product-card-media { display: block; height: 270px; overflow: hidden; }
.stx-product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms ease; }
.stx-product-card:hover .stx-product-card-media img { transform: scale(1.045); }
.stx-product-card-body { padding: 26px 28px 30px; }
.stx-product-card h3 a { color: var(--stx-ink); text-decoration: none; }
.stx-product-card-body > p:not(.stx-eyebrow) { color: var(--stx-muted); display: -webkit-box; overflow: hidden; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }

.stx-quality-feature { background: linear-gradient(180deg, var(--stx-white), var(--stx-mist)); }
.stx-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(42px, 8vw, 100px); align-items: center; }
.stx-feature-grid figure { margin: 0; overflow: hidden; border-radius: 12px 44px 12px 44px; box-shadow: var(--stx-shadow); }
.stx-feature-grid figure img { width: 100%; min-height: 560px; object-fit: cover; }
.stx-check-list { padding: 0; list-style: none; }
.stx-check-list li { position: relative; margin: 12px 0; padding-left: 32px; }
.stx-check-list li::before { position: absolute; top: .48em; left: 0; width: 18px; height: 18px; content: "✓"; color: var(--stx-white); background: var(--stx-teal); border-radius: 50%; font-size: .68rem; font-weight: 900; line-height: 18px; text-align: center; }
.stx-feature-grid .stx-button { margin-top: 16px; }

/* Page heroes and content */
.stx-page-hero { padding: clamp(72px, 8vw, 112px) 0; overflow: hidden; background: linear-gradient(135deg, var(--stx-mist), #e4f7f0); }
.stx-page-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(42px, 7vw, 90px); align-items: center; }
.stx-page-hero-copy h1 { font-size: clamp(2.65rem, 5vw, 5rem); }
.stx-page-hero-media { margin: 0; overflow: hidden; border-radius: 40px 12px 40px 12px; box-shadow: var(--stx-shadow); }
.stx-page-hero-media img { width: 100%; height: 460px; object-fit: cover; }
.stx-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; color: var(--stx-muted); font-size: .8rem; }
.stx-breadcrumbs a { color: var(--stx-muted); text-decoration: none; }
.stx-page-banner { padding: 72px 0; margin-bottom: 70px; background: var(--stx-mist); }
.stx-page-banner h1 { font-size: clamp(2.5rem, 5vw, 4.7rem); }
.stx-page-additions { padding-top: 0; }

.stx-two-column-copy { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 8vw, 120px); }
.stx-values-section { padding: clamp(76px, 9vw, 126px) 0; background: var(--stx-mist); }
.stx-value-grid, .stx-feature-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stx-value-grid article, .stx-feature-card-grid article { padding: 30px; border: 1px solid var(--stx-line); border-radius: var(--stx-radius-lg); background: var(--stx-white); }
.stx-value-grid article p, .stx-feature-card-grid article p { margin-bottom: 0; color: var(--stx-muted); }

.stx-brief-section { padding: clamp(72px, 8vw, 110px) 0; background: var(--stx-mist); }
.stx-brief-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 8vw, 110px); align-items: start; }
.stx-check-list-large li { padding: 17px 18px 17px 48px; margin: 0 0 10px; border: 1px solid var(--stx-line); border-radius: 14px; background: var(--stx-white); }
.stx-check-list-large li::before { top: 19px; left: 17px; }
.stx-product-scope-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(40px, 8vw, 100px); align-items: start; }
.stx-tag-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.stx-tag-list li { padding: 16px 18px; color: var(--stx-ink); border: 1px solid var(--stx-line); border-radius: 14px; background: var(--stx-mist); font-weight: 650; }
.stx-product-support-section { padding: clamp(76px, 9vw, 126px) 0; background: linear-gradient(135deg, #0b3f30, var(--stx-ink)); }
.stx-product-support-section h2, .stx-product-support-section h3 { color: var(--stx-white); }
.stx-product-support-section .stx-feature-card-grid article { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.06); }
.stx-product-support-section .stx-feature-card-grid article p { color: rgba(255,255,255,.68); }
.stx-compliance-note { margin: 36px 0 0; padding: 22px 24px; border-left: 4px solid var(--stx-teal); border-radius: 10px; color: var(--stx-text); background: #fff; font-size: .88rem; }

/* Contact */
.stx-contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 22px; }
.stx-contact-panel, .stx-enquiry-panel { padding: clamp(30px, 5vw, 52px); border: 1px solid var(--stx-line); border-radius: var(--stx-radius-xl); }
.stx-contact-panel { color: rgba(255,255,255,.78); background: linear-gradient(145deg, var(--stx-deep-green), #087468); }
.stx-contact-panel h2, .stx-contact-panel a { color: var(--stx-white); }
.stx-contact-panel .stx-eyebrow { color: #baf6e8; }
.stx-contact-panel .stx-button { margin-top: 20px; }
.stx-enquiry-panel { background: var(--stx-mist); }
.stx-contact-form input:not([type="submit"]), .stx-contact-form textarea, .stx-contact-form select { width: 100%; padding: 13px 15px; border: 1px solid var(--stx-line); border-radius: 12px; background: var(--stx-white); }
.stx-contact-form input[type="submit"], .stx-contact-form button[type="submit"] { padding: 13px 22px; color: var(--stx-white); border: 0; border-radius: 12px; background: var(--stx-deep-green); font-weight: 760; }

/* CTA */
.stx-cta-section { padding: 40px 0; color: rgba(255,255,255,.8); background: linear-gradient(120deg, var(--stx-deep-green), #087568); }
.stx-cta-inner { min-height: 280px; display: grid; grid-template-columns: 1fr auto; gap: 45px; align-items: center; }
.stx-cta-inner h2 { max-width: 760px; color: var(--stx-white); }
.stx-cta-inner p:not(.stx-eyebrow) { max-width: 720px; }
.stx-cta-inner .stx-eyebrow { color: #baf6e8; }

/* Posts */
.stx-archive-header { margin-bottom: 48px; }
.stx-archive-header h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); }
.stx-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stx-post-card { overflow: hidden; border: 1px solid var(--stx-line); border-radius: var(--stx-radius-lg); background: var(--stx-white); }
.stx-post-card-image img { width: 100%; height: 240px; object-fit: cover; }
.stx-post-card-body { padding: 25px; }
.stx-post-card-body h2 { font-size: 1.55rem; }
.stx-post-card-body h2 a { color: var(--stx-ink); text-decoration: none; }
.stx-post-card-meta { color: var(--stx-muted); font-size: .8rem; }
.stx-single-header { padding: 30px 0 35px; }
.stx-single-header h1 { font-size: clamp(2.5rem, 5vw, 4.7rem); }
.stx-single-image { margin: 0 0 45px; overflow: hidden; border-radius: var(--stx-radius-xl); }
.stx-single-image img { width: 100%; }
.stx-404 { min-height: 650px; display: flex; align-items: center; padding: 90px 0; text-align: center; background: var(--stx-mist); }
.stx-404 .stx-button-row { justify-content: center; margin-top: 30px; }
.navigation.pagination { margin-top: 45px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--stx-line); border-radius: 10px; text-decoration: none; }
.page-numbers.current { color: var(--stx-white); background: var(--stx-deep-green); }

/* Footer */
.stx-site-footer { color: rgba(255,255,255,.7); background: #082c22; }
.stx-footer-grid { display: grid; grid-template-columns: 1.35fr .75fr .95fr 1fr; gap: 48px; padding-top: 80px; padding-bottom: 68px; }
.stx-site-footer h2 { color: var(--stx-white); font-size: 1rem; letter-spacing: .02em; }
.stx-footer-brand .stx-default-logo, .stx-footer-brand .custom-logo-link { padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.96); }
.stx-footer-brand .stx-default-logo img, .stx-footer-brand .custom-logo { width: 230px; filter: drop-shadow(0 8px 18px rgba(0,0,0,.08)); }
.stx-footer-brand > p { max-width: 430px; margin-top: 24px; }
.stx-footer-menu, .stx-footer-links { margin: 0; padding: 0; list-style: none; }
.stx-footer-menu li, .stx-footer-links li { margin: 8px 0; }
.stx-site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.stx-site-footer a:hover { color: var(--stx-aqua); }
.stx-footer-language { margin-top: 20px; }
.stx-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.stx-footer-bottom .stx-container { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.stx-footer-bottom p { margin: 0; font-size: .75rem; }
.stx-back-to-top { position: fixed; z-index: 90; right: 22px; bottom: 22px; width: 46px; height: 46px; display: grid; place-items: center; visibility: hidden; opacity: 0; transform: translateY(10px); color: var(--stx-white); border: 0; border-radius: 14px; background: var(--stx-deep-green); box-shadow: var(--stx-shadow-soft); transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease; }
.stx-back-to-top.is-visible { visibility: visible; opacity: 1; transform: translateY(0); }

/* WordPress elements */
.wp-block-button__link { border-radius: 14px; }
.wp-caption, .gallery-caption { color: var(--stx-muted); font-size: .85rem; }
.bypostauthor { display: block; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-right: auto; margin-left: auto; }

@media (max-width: 1120px) {
  .stx-topbar p { display: none; }
  .stx-topbar-inner { justify-content: flex-end; }
  .stx-header-actions .stx-header-cta { display: none; }
  .stx-brand { flex-basis: 170px; }
  .stx-default-logo img, .custom-logo { width: 165px; }
  .stx-primary-menu a { padding-inline: 9px; font-size: .86rem; }
  .stx-service-card-grid { grid-template-columns: repeat(2, 1fr); }
  .stx-service-card { min-height: 310px; }
  .stx-footer-grid { grid-template-columns: 1.2fr .8fr .9fr; }
  .stx-footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .stx-topbar { display: none; }
  .stx-header-inner { min-height: 82px; }
  .stx-menu-toggle { display: inline-flex; }
  .stx-primary-navigation { position: fixed; z-index: 110; top: 82px; right: 0; bottom: 0; left: 0; display: none; overflow-y: auto; margin: 0; padding: 20px; background: rgba(255,255,255,.98); }
  .stx-primary-navigation.is-open { display: block; }
  .stx-primary-menu { display: block; max-width: 680px; margin: 0 auto; }
  .stx-primary-menu a { min-height: 52px; padding: 13px 14px; border-bottom: 1px solid var(--stx-line); border-radius: 0; font-size: 1rem; }
  .stx-primary-menu .menu-item-has-children > a { padding-right: 58px; }
  .stx-primary-menu .sub-menu { position: static; min-width: 0; display: none; padding: 0 0 0 18px; visibility: visible; opacity: 1; transform: none; border: 0; border-radius: 0; box-shadow: none; }
  .stx-primary-menu .menu-item-has-children.submenu-open > .sub-menu { display: block; }
  .stx-primary-menu .menu-item-has-children > a::after { margin-left: auto; }
  .stx-header-actions { margin-left: 0; }
  .stx-hero-grid, .stx-page-hero-grid, .stx-intro-grid, .stx-two-column-copy, .stx-feature-grid, .stx-brief-grid, .stx-product-scope-grid, .stx-contact-grid { grid-template-columns: 1fr; }
  .stx-hero-grid { min-height: auto; padding-top: 72px; padding-bottom: 72px; }
  .stx-hero-media, .stx-hero-media img { min-height: 430px; }
  .stx-page-hero-media img { height: 390px; }
  .stx-process-grid { grid-template-columns: repeat(2, 1fr); }
  .stx-product-card-grid { grid-template-columns: repeat(2, 1fr); }
  .stx-product-card, .stx-product-card:nth-child(4), .stx-product-card:nth-child(5) { grid-column: span 1; }
  .stx-feature-grid figure img { min-height: 430px; }
  .stx-cta-inner { grid-template-columns: 1fr; padding-top: 50px; padding-bottom: 50px; }
  .stx-post-grid { grid-template-columns: repeat(2, 1fr); }
  .stx-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stx-footer-grid > div:last-child { grid-column: auto; }
}

@media (max-width: 640px) {
  .stx-container { width: min(calc(100% - 28px), var(--stx-container)); }
  h1 { font-size: clamp(2.45rem, 13vw, 3.7rem); }
  h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .stx-header-inner { gap: 12px; }
  .stx-brand { flex-basis: auto; }
  .stx-default-logo img, .custom-logo { width: 145px; max-height: 58px; }
  .stx-header-actions { order: 2; }
  .stx-primary-navigation { top: 82px; }
  .stx-hero-media, .stx-hero-media img { min-height: 330px; }
  .stx-hero-media { border-radius: 30px 10px 30px 10px; }
  .stx-hero-proof { display: grid; grid-template-columns: repeat(2, 1fr); }
  .stx-service-card-grid, .stx-process-grid, .stx-product-card-grid, .stx-value-grid, .stx-feature-card-grid, .stx-tag-list, .stx-post-grid, .stx-footer-grid { grid-template-columns: 1fr; }
  .stx-service-card { min-height: 300px; }
  .stx-product-card-media { height: 240px; }
  .stx-page-hero-media img { height: 310px; }
  .stx-feature-grid figure img { min-height: 330px; }
  .stx-cta-inner .stx-button-row { align-items: stretch; }
  .stx-cta-inner .stx-button { width: 100%; }
  .stx-footer-bottom .stx-container { display: block; padding-top: 18px; padding-bottom: 18px; }
  .stx-footer-bottom p + p { margin-top: 8px; }
  .alignleft, .alignright { float: none; margin: 0 0 1.2rem; }
}

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

.admin-bar .stx-header-main.is-sticky { top: 32px; }
@media (max-width: 782px) { .admin-bar .stx-header-main.is-sticky { top: 46px; } }

.stx-comments-area { margin-top: 70px; padding-top: 45px; border-top: 1px solid var(--stx-line); }
.comment-list { padding: 0; list-style: none; }
.comment-list .comment { margin: 0 0 18px; padding: 22px; border: 1px solid var(--stx-line); border-radius: 16px; }
.comment-form input:not([type="submit"]), .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--stx-line); border-radius: 12px; }
.comment-form input[type="submit"] { padding: 13px 22px; color: white; border: 0; border-radius: 12px; background: var(--stx-deep-green); font-weight: 760; }

/* Built-in four-language dropdown — English is the first-time default */
.stx-language-switcher {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  overflow: visible;
  border: 0;
  border-radius: 10px;
}
.stx-language-switcher::after {
  position: absolute;
  right: 11px;
  width: 7px;
  height: 7px;
  content: "";
  pointer-events: none;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.stx-language-select {
  min-width: 138px;
  min-height: 36px;
  margin: 0;
  padding: 7px 34px 7px 11px;
  color: var(--stx-ink);
  border: 1px solid var(--stx-line);
  border-radius: 10px;
  outline: 0;
  background: var(--stx-white);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-size: .74rem;
  font-weight: 800;
  line-height: 1.2;
}
.stx-language-select:hover { border-color: var(--stx-teal); }
.stx-language-select:focus-visible {
  border-color: var(--stx-teal);
  box-shadow: 0 0 0 3px rgba(26,157,142,.20);
}
.stx-site-footer .stx-language-switcher { color: var(--stx-white); }
.stx-site-footer .stx-language-select {
  color: var(--stx-white);
  border-color: rgba(255,255,255,.28);
  background-color: rgba(255,255,255,.08);
}
.stx-site-footer .stx-language-select option { color: var(--stx-ink); background: var(--stx-white); }
.stx-google-translate-element {
  position: fixed !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt { display: none !important; }
body { top: 0 !important; }

@media (max-width: 640px) {
  .stx-language-select {
    min-width: 116px;
    min-height: 33px;
    padding: 6px 29px 6px 9px;
    font-size: .68rem;
  }
  .stx-language-switcher::after { right: 10px; width: 6px; height: 6px; }
}


/* v1.3.0 exact supplied StapleTex branding */
.stx-original-logo {
  padding: 7px 10px;
  border-radius: 10px;
  background: #000;
  line-height: 0;
}
.stx-original-logo img {
  width: 190px;
  max-height: 67px;
  object-fit: contain;
  object-position: left center;
}
.stx-footer-brand .stx-original-logo {
  padding: 9px 12px;
  background: #000;
}
.stx-footer-brand .stx-original-logo img {
  width: 230px;
  filter: none;
}

/* Product category galleries: four representative images per category. */
.stx-product-gallery-section { padding-top: 20px; }
.stx-product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.stx-product-gallery-item {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--stx-line);
  border-radius: var(--stx-radius-lg);
  background: var(--stx-white);
  box-shadow: var(--stx-shadow-soft);
}
.stx-product-gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 7 / 5;
  object-fit: cover;
  transition: transform 220ms ease;
}
.stx-product-gallery-item:hover img { transform: scale(1.018); }

@media (max-width: 700px) {
  .stx-product-gallery { grid-template-columns: 1fr; gap: 14px; }
  .stx-original-logo img { width: 168px; max-height: 60px; }
}
