/*
Theme Name: Southern AutoInsertion
Theme URI: https://www.autoinsertion.com
Author: Southern Machinery
Author URI: https://www.smthelp.com
Description: WordPress theme for Southern Machinery THT auto insertion export marketing with React/TypeScript islands.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: southern-autoinsertion
*/

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
	--sm-green: #90c641;
	--sm-teal: #0aa5a5;
	--ink: #0f172a;
	--muted: #64748b;
	--surface: #ffffff;
	--bg: #f8fafc;
	--border: #e2e8f0;
	--line: #cbd5e1;
	--success-bg: #edf9df;
	--teal-bg: #e7f8f8;
	--warning-bg: #fff7ed;
	--warning: #b45309;
	--header-bg: rgba(255, 255, 255, 0.94);
	--header-link: #334155;
	--header-active: #045f5f;
	--primary-hover: #078787;
	--secondary-hover: #1e293b;
	--ghost-bg: #ffffff;
	--shadow: 0 18px 45px rgba(15, 23, 42, 0.09);
	--radius: 8px;
}

html[data-sm-theme="warm"] {
	--sm-green: #a9bf45;
	--sm-teal: #0d8f86;
	--ink: #2c261f;
	--muted: #746b5f;
	--surface: #fffdf7;
	--bg: #faf8f2;
	--border: #e7dccb;
	--line: #d7c8b6;
	--success-bg: #eef5dc;
	--teal-bg: #e2f2ed;
	--warning-bg: #fff4df;
	--warning: #9a5f18;
	--header-bg: rgba(250, 248, 242, 0.94);
	--header-link: #4c4338;
	--header-active: #075f59;
	--primary-hover: #08756f;
	--secondary-hover: #40372f;
	--ghost-bg: #fffaf0;
	--shadow: 0 18px 45px rgba(44, 38, 31, 0.11);
}

html[data-sm-theme="dark"] {
	--sm-green: #9bd35a;
	--sm-teal: #28c2bd;
	--ink: #eef5f4;
	--muted: #a7b4b5;
	--surface: #171c22;
	--bg: #101418;
	--border: #2c3941;
	--line: #3d4c55;
	--success-bg: #21391f;
	--teal-bg: #123d41;
	--warning-bg: #3b2b18;
	--warning: #f1b45f;
	--header-bg: rgba(15, 20, 24, 0.94);
	--header-link: #d2dfdf;
	--header-active: #b9fbf4;
	--primary-hover: #19a7a3;
	--secondary-hover: #26333c;
	--ghost-bg: #1c242b;
	--shadow: 0 20px 50px rgba(0, 0, 0, 0.34);
	color-scheme: dark;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: "Plus Jakarta Sans", Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	overflow-x: hidden;
	text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
	font-family: "Plus Jakarta Sans", Arial, Helvetica, sans-serif;
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

img {
	display: block;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: var(--header-active);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
	outline: 3px solid rgba(10, 165, 165, 0.35);
	outline-offset: 3px;
}

button,
input,
select,
textarea {
	font-size: 16px;
}

button {
	cursor: pointer;
}

.sm-skip-link {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 1000;
	padding: 10px 14px;
	background: var(--ink);
	color: #fff;
	border-radius: var(--radius);
	transition: top 180ms ease;
}

.sm-skip-link:focus {
	top: 16px;
}

.sm-container {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
}

.sm-section {
	padding: 88px 0;
}

.sm-section--white {
	background: var(--surface);
}

.sm-main {
	min-height: 60vh;
}

.sm-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--header-bg);
	border-bottom: 1px solid var(--border);
	backdrop-filter: blur(14px);
}

.sm-header__inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 24px;
	min-height: 76px;
}

.sm-logo {
	display: inline-flex;
	align-items: center;
	min-width: 184px;
}

.sm-logo img {
	width: 190px;
	height: auto;
}

.sm-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-width: 0;
}

.sm-nav a {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 12px;
	border-radius: 6px;
	color: var(--header-link);
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	transition: background 180ms ease, color 180ms ease;
}

.sm-nav a:hover,
.sm-nav a.is-active {
	background: var(--teal-bg);
	color: var(--header-active);
}

.sm-header__actions {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	justify-content: flex-end;
}

.sm-header__actions .sm-btn {
	min-height: 42px;
	padding: 10px 14px;
	font-size: 14px;
}

.sm-theme-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 8px 11px;
	border: 1px solid var(--border);
	border-radius: 7px;
	background: var(--ghost-bg);
	color: var(--ink);
	font-weight: 800;
	font-size: 13px;
	line-height: 1;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
	transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.sm-theme-toggle:hover {
	border-color: var(--sm-teal);
	transform: translateY(-1px);
}

.sm-theme-toggle__swatches {
	display: inline-grid;
	grid-template-columns: repeat(3, 10px);
	gap: 3px;
	align-items: center;
}

.sm-theme-toggle__swatches span {
	width: 10px;
	height: 10px;
	border-radius: 999px;
	border: 1px solid rgba(15, 23, 42, 0.14);
}

.sm-theme-toggle__swatches span:nth-child(1) {
	background: var(--sm-green);
}

.sm-theme-toggle__swatches span:nth-child(2) {
	background: var(--sm-teal);
}

.sm-theme-toggle__swatches span:nth-child(3) {
	background: var(--ink);
}

.sm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 18px;
	border: 1px solid transparent;
	border-radius: 7px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.sm-btn svg,
.sm-video-button svg,
.sm-advantage span svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: 0 0 auto;
}

.sm-btn:hover {
	transform: translateY(-1px);
}

.sm-btn--primary {
	background: var(--sm-teal);
	color: #fff;
	box-shadow: 0 10px 28px rgba(10, 165, 165, 0.24);
}

.sm-btn--primary:hover {
	background: var(--primary-hover);
	color: #fff;
}

.sm-btn--secondary {
	background: var(--ink);
	color: #fff;
}

.sm-btn--secondary:hover {
	background: var(--secondary-hover);
	color: #fff;
}

.sm-btn--ghost {
	background: var(--ghost-bg);
	color: var(--ink);
	border-color: var(--border);
}

.sm-btn--ghost:hover {
	border-color: var(--sm-teal);
	color: var(--header-active);
}

.sm-cta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.sm-hero {
	padding-top: 76px;
	background:
		linear-gradient(180deg, #ffffff 0%, #f8fafc 55%, #eef7f3 100%);
}

.sm-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
	gap: 44px;
	align-items: start;
}

.sm-hero__copy {
	padding-top: 18px;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1 {
	max-width: 780px;
	margin-bottom: 22px;
	font-size: 56px;
	line-height: 1.05;
	font-weight: 800;
	color: var(--ink);
}

h2 {
	margin-bottom: 14px;
	font-size: 34px;
	line-height: 1.18;
	font-weight: 800;
}

h3 {
	margin-bottom: 10px;
	font-size: 20px;
	line-height: 1.28;
	font-weight: 800;
}

.sm-lead {
	max-width: 720px;
	margin-bottom: 22px;
	color: #334155;
	font-size: 19px;
	line-height: 1.7;
}

.sm-value-line {
	display: inline-flex;
	margin: 0 0 24px;
	padding: 9px 12px;
	background: var(--success-bg);
	border: 1px solid rgba(144, 198, 65, 0.45);
	border-radius: 6px;
	color: #315d0f;
	font-weight: 800;
}

.sm-proof-strip {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 34px;
}

.sm-proof-strip div {
	padding: 18px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
}

.sm-proof-strip strong {
	display: block;
	margin-bottom: 4px;
	color: #057878;
	font-size: 28px;
	line-height: 1;
}

.sm-proof-strip span {
	display: block;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.45;
}

.sm-hero__form {
	position: sticky;
	top: 96px;
}

.sm-hero__media {
	margin-top: 48px;
}

.sm-hero__media img,
.sm-product-hero img,
.sm-machine-media img {
	width: 100%;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow);
	object-fit: cover;
}

.sm-hero__media img {
	max-height: 560px;
	object-fit: contain;
}

.sm-rfq-shell {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.sm-rfq-form {
	display: grid;
	gap: 16px;
	padding: 24px;
}

.sm-form-head h2 {
	margin-bottom: 6px;
	font-size: 24px;
}

.sm-form-head p {
	margin-bottom: 0;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.5;
}

.sm-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.sm-rfq-form label {
	display: grid;
	gap: 7px;
	color: #334155;
	font-size: 13px;
	font-weight: 800;
}

.sm-rfq-form input,
.sm-rfq-form select,
.sm-rfq-form textarea {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: #fff;
	color: var(--ink);
	line-height: 1.4;
}

.sm-rfq-form textarea {
	min-height: 112px;
	resize: vertical;
}

.sm-hp-field {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.sm-model-options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
}

.sm-model-options legend {
	width: 100%;
	margin-bottom: 2px;
	color: #334155;
	font-size: 13px;
	font-weight: 800;
}

.sm-model-options label {
	display: inline-flex;
	grid-template-columns: none;
	align-items: center;
	gap: 7px;
	min-height: 38px;
	padding: 7px 10px;
	background: #f8fafc;
	border: 1px solid var(--border);
	border-radius: 999px;
}

.sm-model-options input {
	width: 16px;
	min-height: 16px;
}

.sm-form-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.sm-form-message {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
}

.sm-form-message[role="alert"] {
	color: #b42318;
}

.sm-form-message.is-success {
	color: #047857;
}

.sm-section-head {
	max-width: 760px;
	margin-bottom: 34px;
}

.sm-section-head p {
	color: var(--muted);
	font-size: 17px;
}

.sm-section-head--split {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	max-width: none;
}

.sm-card-grid {
	display: grid;
	gap: 18px;
}

.sm-card-grid--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sm-product-tile,
.sm-category-card,
.sm-advantage,
.sm-video-card,
.sm-resource-card,
.sm-testimonial,
.sm-contact-panel {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.sm-product-tile a {
	display: grid;
	grid-template-rows: 210px 1fr;
	height: 100%;
	color: inherit;
}

.sm-product-tile img,
.sm-category-card img {
	width: 100%;
	height: 210px;
	object-fit: contain;
	background: #f1f5f9;
	border-bottom: 1px solid var(--border);
	border-radius: var(--radius) var(--radius) 0 0;
}

.sm-product-tile div {
	padding: 18px;
}

.sm-product-tile p,
.sm-category-card p,
.sm-advantage p,
.sm-success-copy p,
.sm-machine-block p,
.sm-line-flow p,
.sm-contact-panel p {
	color: var(--muted);
}

.sm-product-tile span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #067b7b;
	font-weight: 800;
}

.sm-product-tile span svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
}

.sm-advantage-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.sm-advantage {
	padding: 22px;
}

.sm-advantage span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin-bottom: 16px;
	background: var(--teal-bg);
	border-radius: 7px;
	color: #047878;
}

.sm-page-hero {
	padding: 72px 0;
	background:
		linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	border-bottom: 1px solid var(--border);
}

.sm-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
	color: var(--muted);
	font-size: 13px;
	font-weight: 700;
}

.sm-breadcrumb a {
	color: #047878;
}

.sm-product-filter {
	margin-bottom: 24px;
	padding: 18px;
	background: #f8fafc;
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.sm-filter-controls {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) auto;
	gap: 14px;
	align-items: end;
}

.sm-filter-controls label,
.sm-filter-fallback label {
	display: grid;
	gap: 8px;
	color: #334155;
	font-size: 13px;
	font-weight: 800;
}

.sm-filter-controls input,
.sm-filter-fallback input {
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid var(--line);
	border-radius: 6px;
}

.sm-filter-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.sm-filter-pills button {
	min-height: 42px;
	padding: 8px 12px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: #fff;
	color: #334155;
	font-weight: 800;
}

.sm-filter-pills button.is-active {
	background: var(--sm-teal);
	border-color: var(--sm-teal);
	color: #fff;
}

.sm-category-card {
	overflow: hidden;
}

.sm-category-card__body {
	display: grid;
	gap: 12px;
	padding: 20px;
}

.sm-models {
	color: #047878;
	font-weight: 800;
}

.sm-category-card ul,
.sm-check-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sm-category-card li,
.sm-check-list li {
	position: relative;
	margin-bottom: 9px;
	padding-left: 24px;
	color: #334155;
}

.sm-category-card li::before,
.sm-check-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.7em;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--sm-green);
}

.sm-product-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
	gap: 42px;
	align-items: center;
}

.sm-product-hero img {
	aspect-ratio: 16 / 10;
	object-fit: contain;
	background: #fff;
}

.sm-stack {
	display: grid;
	gap: 44px;
}

.sm-machine-block {
	padding: 30px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: #fff;
}

.sm-machine-block__intro {
	display: flex;
	align-items: start;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 24px;
}

.sm-machine-block__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.85fr);
	gap: 28px;
	align-items: start;
}

.sm-machine-media {
	display: grid;
	gap: 14px;
}

.sm-machine-media img {
	aspect-ratio: 16 / 10;
	object-fit: contain;
	box-shadow: none;
}

.sm-table-wrap {
	width: 100%;
	margin-bottom: 24px;
	overflow-x: auto;
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.sm-spec-table {
	width: 100%;
	min-width: 620px;
	border-collapse: collapse;
	background: #fff;
}

.sm-spec-table th,
.sm-spec-table td {
	padding: 14px 16px;
	border-bottom: 1px solid var(--border);
	text-align: left;
	vertical-align: top;
}

.sm-spec-table thead th {
	background: #f1f5f9;
	color: #334155;
	font-size: 13px;
	text-transform: uppercase;
}

.sm-spec-table tbody th {
	width: 28%;
	color: var(--ink);
	font-weight: 800;
}

.sm-spec-table a {
	color: #047878;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.sm-status {
	display: inline-flex;
	padding: 5px 8px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
}

.sm-status--verified {
	background: var(--success-bg);
	color: #3f6212;
}

.sm-status--tbc {
	background: var(--warning-bg);
	color: var(--warning);
}

.sm-video-rail {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.sm-video-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 20px;
	min-height: 210px;
	padding: 20px;
}

.sm-video-card p {
	margin-bottom: 8px;
	color: #047878;
	font-size: 13px;
	font-weight: 800;
}

.sm-video-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid var(--border);
	border-radius: 7px;
	background: #f8fafc;
	color: var(--ink);
	font-weight: 800;
	transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.sm-video-button:hover {
	background: var(--sm-teal);
	border-color: var(--sm-teal);
	color: #fff;
}

.sm-video-modal {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: grid;
	place-items: center;
	padding: 20px;
}

.sm-video-modal__backdrop {
	position: absolute;
	inset: 0;
	padding: 0;
	border: 0;
	background: rgba(15, 23, 42, 0.72);
}

.sm-video-modal__panel {
	position: relative;
	width: min(980px, 100%);
	background: #000;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.sm-video-modal__close {
	position: absolute;
	right: 0;
	top: -48px;
	min-height: 42px;
	padding: 9px 12px;
	border: 1px solid rgba(255, 255, 255, 0.32);
	border-radius: 6px;
	background: #fff;
	color: var(--ink);
	font-weight: 800;
}

.sm-video-modal__frame {
	aspect-ratio: 16 / 9;
}

.sm-video-modal__frame iframe {
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: var(--radius);
}

.sm-resource-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.sm-resource-toolbar {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 6px;
}

.sm-resource-toolbar button {
	min-height: 40px;
	padding: 8px 12px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: #fff;
	color: #334155;
	font-weight: 800;
}

.sm-resource-toolbar button.is-active {
	background: var(--sm-teal);
	border-color: var(--sm-teal);
	color: #fff;
}

.sm-resource-card {
	display: grid;
	gap: 8px;
	padding: 18px;
	transition: border-color 180ms ease, transform 180ms ease;
}

.sm-resource-card:hover {
	transform: translateY(-1px);
	border-color: var(--sm-teal);
}

.sm-resource-card span {
	color: #047878;
	font-size: 12px;
	font-weight: 800;
}

.sm-resource-card strong {
	line-height: 1.35;
}

.sm-resource-card em {
	color: var(--muted);
	font-size: 13px;
	font-style: normal;
}

.sm-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
	gap: 42px;
	align-items: start;
}

.sm-testimonial-shell {
	min-height: 320px;
}

.sm-testimonial {
	display: none;
	padding: 26px;
}

.sm-testimonial.is-active,
.sm-testimonial:first-child {
	display: block;
}

.sm-testimonial blockquote {
	margin: 0 0 16px;
	color: #334155;
	font-size: 18px;
	line-height: 1.6;
}

.sm-tag {
	display: inline-flex;
	margin-bottom: 12px;
	padding: 5px 8px;
	background: var(--teal-bg);
	border-radius: 999px;
	color: #047878;
	font-size: 12px;
	font-weight: 800;
}

.sm-carousel-controls {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}

.sm-carousel-controls button {
	min-width: 44px;
	min-height: 44px;
	border: 1px solid var(--border);
	border-radius: 7px;
	background: #fff;
	font-weight: 800;
}

.sm-line-flow {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
	gap: 32px;
	align-items: start;
}

.sm-line-flow__diagram {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.sm-line-step {
	position: relative;
	display: grid;
	gap: 8px;
	min-height: 112px;
	padding: 18px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	color: var(--ink);
	font: inherit;
	text-align: left;
}

.sm-line-step span {
	color: #047878;
	font-weight: 800;
}

.sm-line-step.is-active {
	border-color: var(--sm-teal);
	box-shadow: 0 0 0 3px rgba(10, 165, 165, 0.14);
}

.sm-line-flow__detail {
	padding: 24px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	position: sticky;
	top: 96px;
}

.sm-two-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
}

.sm-timeline {
	display: grid;
	gap: 14px;
}

.sm-timeline div {
	padding: 18px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.sm-timeline strong {
	color: #047878;
	font-size: 22px;
}

.sm-contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.75fr) minmax(380px, 1fr);
	gap: 28px;
	align-items: start;
}

.sm-contact-panel {
	padding: 26px;
}

.sm-contact-panel a {
	color: #047878;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.sm-map {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	background: #fff;
}

.sm-map iframe {
	display: block;
	width: 100%;
	height: 420px;
	border: 0;
}

.sm-faq-list {
	display: grid;
	gap: 12px;
	max-width: 900px;
}

.sm-faq-list details {
	padding: 18px 20px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.sm-faq-list summary {
	cursor: pointer;
	font-weight: 800;
}

.sm-faq-list p {
	margin: 12px 0 0;
	color: var(--muted);
}

.sm-articles-hero {
	background:
		linear-gradient(135deg, rgba(144, 198, 65, 0.15), rgba(10, 165, 165, 0.1)),
		var(--bg);
}

.sm-article-sync {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 24px 0 0;
}

.sm-article-sync span,
.sm-source-link {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 7px 11px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--surface);
	color: var(--muted);
	font-size: 13px;
	font-weight: 800;
}

.sm-article-sync a,
.sm-source-link {
	color: var(--header-active);
}

.sm-article-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.sm-article-card {
	display: flex;
	flex-direction: column;
	min-height: 260px;
	padding: 22px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.sm-article-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.sm-article-card__meta span,
.sm-article-card__meta time {
	display: inline-flex;
	align-items: center;
	padding: 4px 8px;
	border-radius: 999px;
	background: var(--teal-bg);
}

.sm-article-card h3 {
	margin: 0 0 10px;
	font-size: 19px;
	line-height: 1.35;
}

.sm-article-card p {
	margin: 0 0 18px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.65;
}

.sm-article-card__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	color: var(--header-active);
	font-weight: 900;
}

.sm-article-card__link svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.sm-eyebrow,
.sm-product-badge {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	margin: 0 0 12px;
	padding: 5px 9px;
	border-radius: 999px;
	background: var(--teal-bg);
	color: var(--header-active);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.35;
}

.sm-catalog-hero {
	background:
		linear-gradient(135deg, rgba(144, 198, 65, 0.16), rgba(10, 165, 165, 0.1)),
		var(--bg);
}

.sm-catalog-proof {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 22px 0 0;
}

.sm-catalog-proof span {
	padding: 7px 10px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--surface);
	color: var(--muted);
	font-size: 13px;
	font-weight: 700;
}

.sm-catalog-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-bottom: 34px;
}

.sm-catalog-categories a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 11px;
	border: 1px solid var(--border);
	border-radius: 6px;
	background: var(--surface);
	color: var(--header-link);
	font-size: 13px;
	font-weight: 800;
}

.sm-catalog-categories a:hover,
.sm-catalog-categories a.is-active {
	border-color: var(--sm-teal);
	background: var(--teal-bg);
	color: var(--header-active);
}

.sm-catalog-categories span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	min-height: 20px;
	padding: 1px 5px;
	border-radius: 999px;
	background: rgba(10, 165, 165, 0.14);
	font-size: 11px;
}

.sm-catalog-count {
	margin: 0;
	color: var(--muted);
	font-size: 14px;
	font-weight: 700;
}

.sm-company-product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.sm-company-product-card {
	display: grid;
	grid-template-rows: 188px 1fr;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.sm-company-product-card__image {
	display: block;
	background: #fff;
}

.sm-company-product-card__image img {
	width: 100%;
	height: 188px;
	object-fit: contain;
}

.sm-company-product-card__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 18px;
}

.sm-company-product-card h3 {
	margin: 0 0 10px;
	font-size: 18px;
	line-height: 1.35;
}

.sm-company-product-card h3 a:hover {
	color: var(--header-active);
}

.sm-company-product-card p:not(.sm-product-badge) {
	margin: 0 0 16px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.6;
}

.sm-catalog-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 34px;
	color: var(--muted);
	font-size: 14px;
	font-weight: 800;
}

.sm-catalog-pagination a {
	padding: 8px 12px;
	border: 1px solid var(--border);
	border-radius: 5px;
	background: var(--surface);
	color: var(--header-active);
}

.sm-company-product-detail {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
	gap: 28px;
}

.sm-company-product-detail article {
	max-width: 780px;
}

.sm-company-product-detail h2 {
	margin: 0 0 12px;
	font-size: 25px;
}

.sm-company-product-detail h2:not(:first-child) {
	margin-top: 30px;
}

.sm-company-product-detail p {
	color: var(--muted);
}

.sm-company-product-aside {
	display: flex;
	flex-direction: column;
	align-self: start;
	gap: 14px;
	padding: 22px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow);
}

.sm-company-product-aside h2,
.sm-company-product-aside p {
	margin: 0;
}

.sm-wp-content {
	max-width: 820px;
}

.sm-footer {
	background: #0b1220;
	color: #e2e8f0;
}

.sm-footer__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 26px;
	padding: 44px 0;
	border-bottom: 1px solid rgba(226, 232, 240, 0.14);
}

.sm-footer__cta h2 {
	margin-bottom: 8px;
	color: #fff;
}

.sm-footer__cta p,
.sm-footer__grid p,
.sm-footer__bottom p {
	color: #aab7c8;
}

.sm-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
	gap: 32px;
	padding: 46px 0;
}

.sm-logo--footer img {
	width: 190px;
	padding: 8px;
	background: #fff;
	border-radius: 7px;
}

.sm-footer h3 {
	color: #fff;
	font-size: 16px;
}

.sm-footer a {
	display: block;
	margin-bottom: 9px;
	color: #dbeafe;
}

.sm-footer a:hover {
	color: #fff;
}

.sm-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 20px 0 28px;
	border-top: 1px solid rgba(226, 232, 240, 0.14);
	font-size: 14px;
}

.sm-footer__bottom p {
	margin: 0;
}

.sm-whatsapp-float {
	position: fixed;
	right: max(18px, env(safe-area-inset-right));
	bottom: max(18px, env(safe-area-inset-bottom));
	z-index: 80;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 54px;
	padding: 12px 16px 12px 12px;
	border-radius: 999px;
	background: #25d366;
	color: #06140b;
	font-weight: 900;
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.sm-whatsapp-float:hover {
	color: #06140b;
	transform: translateY(-2px);
	box-shadow: 0 22px 52px rgba(0, 0, 0, 0.28);
}

.sm-whatsapp-float__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
}

.sm-whatsapp-float svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: #128c4a;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.is-hidden {
	display: none !important;
}

@media (max-width: 1100px) {
	.sm-header__inner {
		grid-template-columns: 1fr;
		gap: 10px;
		padding: 12px 0;
	}

	.sm-nav {
		justify-content: flex-start;
		width: 100%;
		overflow-x: auto;
		padding-bottom: 2px;
	}

	.sm-header__actions {
		display: flex;
		width: 100%;
		justify-content: flex-start;
		overflow-x: auto;
	}

	.sm-hero__grid,
	.sm-product-hero,
	.sm-split,
	.sm-line-flow,
	.sm-contact-grid {
		grid-template-columns: 1fr;
	}

	.sm-hero__form,
	.sm-line-flow__detail {
		position: static;
	}

	.sm-card-grid--three,
	.sm-article-grid,
	.sm-company-product-grid,
	.sm-advantage-grid,
	.sm-video-rail,
	.sm-resource-cards,
	.sm-line-flow__diagram {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 780px) {
	.sm-container {
		width: min(100% - 28px, 1180px);
	}

	.sm-section {
		padding: 56px 0;
	}

	.sm-page-hero,
	.sm-hero {
		padding-top: 48px;
	}

	h1 {
		font-size: 40px;
		line-height: 1.12;
	}

	h2 {
		font-size: 28px;
	}

	.sm-lead {
		font-size: 17px;
	}

	.sm-proof-strip,
	.sm-card-grid--three,
	.sm-article-grid,
	.sm-advantage-grid,
	.sm-video-rail,
	.sm-resource-cards,
	.sm-two-columns,
	.sm-form-grid,
	.sm-machine-block__grid,
	.sm-company-product-detail,
	.sm-line-flow__diagram,
	.sm-footer__grid,
	.sm-footer__cta,
	.sm-footer__bottom {
		grid-template-columns: 1fr;
		display: grid;
	}

	.sm-section-head--split,
	.sm-machine-block__intro,
	.sm-footer__cta,
	.sm-footer__bottom {
		align-items: start;
	}

	.sm-machine-block {
		padding: 20px;
	}

	.sm-product-tile a {
		grid-template-rows: 190px 1fr;
	}

	.sm-product-tile img,
	.sm-category-card img {
		height: 190px;
	}

	.sm-filter-controls {
		grid-template-columns: 1fr;
	}

	.sm-map iframe {
		height: 340px;
	}

	.sm-whatsapp-float {
		right: 14px;
		bottom: 14px;
		min-height: 50px;
		padding: 10px 13px 10px 10px;
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.sm-logo img {
		width: 170px;
	}

	.sm-nav a {
		padding: 8px 10px;
	}

	h1 {
		font-size: 32px;
	}

	h2 {
		font-size: 25px;
	}

	.sm-btn {
		width: 100%;
	}

	.sm-header__actions .sm-btn {
		width: auto;
	}

	.sm-theme-toggle {
		flex: 0 0 auto;
	}

	.sm-cta-row {
		width: 100%;
	}

	.sm-rfq-form {
		padding: 18px;
	}

	.sm-spec-table {
		min-width: 560px;
	}
}

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