/* =====================================================================
CS Technologies — Base / Reset / Typography / Buttons
===================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font-primary);
	font-size: var(--fs-md);
	line-height: var(--lh-normal);
	color: var(--text-secondary);
	background: var(--bg-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--primary);
	text-decoration: none;
	transition: color var(--transition-fast);
}

a:hover {
	color: var(--primary-dark);
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

button {
	font-family: inherit;
	cursor: pointer;
	border: none;
	background: none;
}

/* ===== Headings ===== */
h1, h2, h3, h4, h5, h6 {
	color: var(--text-primary);
	font-weight: var(--fw-bold);
	line-height: var(--lh-tight);
	margin: 0 0 var(--space-4);
}

h1 { font-size: var(--fs-h1); font-weight: var(--fw-extrabold); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-h5); }
h6 { font-size: var(--fs-h6); }

p {
	margin: 0 0 var(--space-4);
}

p:last-child {
	margin-bottom: 0;
}

strong,
b {
	font-weight: var(--fw-bold);
	color: var(--text-primary);
}

/* ===== Layout helpers ===== */
.container {
	width: min(100% - 40px, var(--container-width));
	margin-inline: auto;
}

.container--narrow {
	width: min(100% - 40px, 860px);
	margin-inline: auto;
}

.section {
	padding-block: var(--space-11);
}

.section--light { background: var(--bg-light); }
.section--blue { background: var(--bg-blue); }
.section--dark { background: var(--bg-dark); color: var(--text-white); }
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--text-white); }

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ===== Section heading block ===== */
.section-head {
	max-width: 720px;
	margin: 0 auto var(--space-9);
	text-align: center;
}

.section-head--left {
	text-align: left;
	margin-inline: 0;
}

.eyebrow {
	display: inline-block;
	font-size: var(--fs-sm);
	font-weight: var(--fw-semibold);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--white);
	margin-bottom: var(--space-3);
	background: #b45309;
	padding: 2px 12px;
	border: 1px solid #b45309;
	border-radius: 100px;
}

.section-head p {
	color: var(--text-secondary);
	font-size: var(--fs-lg);
	margin-top: var(--space-4);
}

.lead {
	font-size: var(--fs-lg);
	color: var(--text-secondary);
	line-height: var(--lh-relaxed);
}

/* ===== Buttons ===== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	border-radius: var(--radius-full);
	padding: 14px 28px;
	font-size: var(--fs-md);
	font-weight: var(--fw-semibold);
	line-height: 1;
	text-align: center;
	transition: var(--transition-normal);
	cursor: pointer;
	white-space: nowrap;
}

.btn-primary {
	background: #a34e00;
	color: var(--white);
	border-color: #c75f00;
}

.btn-primary:hover {
	background: var(--secondary-dark);
	color: var(--white);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.btn-secondary {
	background: var(--primary);
	color: var(--white);
}

.btn-secondary:hover {
	background: var(--primary-dark);
	color: var(--white);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.btn-outline {
	background: transparent;
	color: var(--primary);
	box-shadow: inset 0 0 0 2px var(--primary);
}

.btn-outline:hover {
	background: var(--primary);
	color: var(--white);
}

.btn-ghost {
	background: transparent;
	color: var(--text-primary);
}

.btn-ghost:hover {
	color: var(--primary);
}

.btn-white {
	background: var(--white);
	color: var(--primary-dark);
}

.btn-white:hover {
	background: var(--primary-light);
	color: var(--primary-dark);
	transform: translateY(-2px);
}

.btn-lg { padding: 17px 34px; font-size: var(--fs-lg); }
.btn-block { width: 100%; }

.btn svg { width: 18px; height: 18px; }

/* ===== Screen reader only ===== */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: var(--z-modal);
	background: var(--primary);
	color: #fff;
	padding: 12px 20px;
	border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
	left: 0;
	color: #fff;
}

/* ===== WordPress core alignment/caption ===== */
.alignleft { float: left; margin: 0 var(--space-6) var(--space-4) 0; }
.alignright { float: right; margin: 0 0 var(--space-4) var(--space-6); }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: var(--fs-sm); color: var(--text-light); }
