/* ==========================================================================
   Dyna-Sling Inc. — site stylesheet
   Palette carried over from the original site:
   #e35034 primary  #ec7929 secondary  #353434 / #434343 / #4b4b4b darks
   ========================================================================== */

:root {
	--orange:        #e35034;
	--orange-dark:   #c43e25;
	--orange-light:  #ec7929;
	--ink:           #353434;
	--ink-2:         #434343;
	--ink-3:         #4b4b4b;
	--grey:          #565656;
	--grey-light:    #a7a7a7;
	--rule:          #e5e5e5;
	--page:          #f8f8f8;
	--white:         #ffffff;

	--wrap:      1160px;
	--radius:    10px;
	--radius-lg: 16px;

	--shadow-sm: 0 1px 2px rgba(53, 52, 52, .06), 0 2px 8px rgba(53, 52, 52, .05);
	--shadow-md: 0 2px 6px rgba(53, 52, 52, .07), 0 12px 28px rgba(53, 52, 52, .09);

	--sans: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* --- reset ---------------------------------------------------------------- */

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

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

body {
	margin: 0;
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
	color: var(--grey);
	background: var(--page);
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); text-decoration: underline; }

h1, h2, h3, h4 {
	margin: 0 0 .5em;
	color: var(--ink);
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -.015em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.05rem; }

p  { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: .45em; }

:focus-visible {
	outline: 3px solid var(--orange);
	outline-offset: 2px;
	border-radius: 3px;
}

/* --- layout helpers ------------------------------------------------------- */

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: 24px;
}

.section       { padding: clamp(48px, 8vw, 90px) 0; }
.section--tint { background: var(--white); }

.section-head          { max-width: 760px; margin-bottom: 40px; }
.section-head--center  { margin-inline: auto; text-align: center; }
.section-head p        { font-size: 1.1rem; margin-bottom: 0; }

.eyebrow {
	display: block;
	margin-bottom: 10px;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--orange);
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 200;
	padding: 12px 20px;
	background: var(--orange);
	color: var(--white);
	font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; text-decoration: none; }

/* --- buttons -------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	gap: .55em;
	padding: 14px 30px;
	border: 2px solid transparent;
	border-radius: 999px;
	background: var(--orange);
	color: var(--white);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: background .2s ease, transform .2s ease, box-shadow .2s ease,
	            color .2s ease, border-color .2s ease;
}
.btn:hover {
	background: var(--orange-dark);
	color: var(--white);
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, .55);
	color: var(--white);
}
.btn--ghost:hover {
	background: var(--white);
	border-color: var(--white);
	color: var(--ink);
}

.btn--outline {
	background: transparent;
	border-color: var(--orange);
	color: var(--orange);
}
.btn--outline:hover { background: var(--orange); color: var(--white); }

/* --- header / navigation -------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--ink);
	border-bottom: 3px solid var(--orange);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 84px;
}

.logo { display: block; flex-shrink: 0; }
.logo img { width: 190px; }

.nav-toggle {
	display: none;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 8px;
	background: transparent;
	color: var(--white);
	cursor: pointer;
}
.nav-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	margin: 4px auto;
	background: currentColor;
	transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav ul {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nav li { margin: 0; }

.nav a {
	display: block;
	padding: 10px 18px;
	border-radius: 999px;
	color: rgba(255, 255, 255, .82);
	font-size: .95rem;
	font-weight: 600;
	transition: background .2s ease, color .2s ease;
}
.nav a:hover        { background: var(--ink-3); color: var(--white); text-decoration: none; }
.nav a[aria-current="page"] { background: var(--orange); color: var(--white); }

/* --- hero ----------------------------------------------------------------- */

.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(420px, 62vh, 600px);
	padding: 80px 0;
	background: var(--ink-2) center / cover no-repeat;
	color: var(--white);
	overflow: hidden;
}
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg,
		rgba(30, 29, 29, .92) 0%,
		rgba(53, 52, 52, .82) 45%,
		rgba(53, 52, 52, .45) 100%);
}
.hero .wrap { position: relative; z-index: 1; }

.hero__inner { max-width: 660px; }
.hero h1 { color: var(--white); margin-bottom: .35em; }
.hero h1 em {
	display: block;
	font-style: normal;
	color: var(--orange-light);
}
.hero p {
	font-size: clamp(1.05rem, 1.8vw, 1.25rem);
	color: rgba(255, 255, 255, .88);
	margin-bottom: 2em;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* page banner (interior pages) */

.page-hero {
	padding: clamp(52px, 8vw, 84px) 0;
	background: var(--ink);
	color: var(--white);
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.page-hero h1 { color: var(--white); margin-bottom: .3em; }
.page-hero p {
	max-width: 680px;
	margin-bottom: 0;
	font-size: 1.12rem;
	color: rgba(255, 255, 255, .8);
}

/* --- cards / grids -------------------------------------------------------- */

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

.card {
	display: flex;
	flex-direction: column;
	padding: 32px;
	background: var(--white);
	border: 1px solid var(--rule);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
	transform: translateY(-4px);
	border-color: rgba(227, 80, 52, .35);
	box-shadow: var(--shadow-md);
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

.card__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 20px;
	border-radius: 14px;
	background: rgba(227, 80, 52, .1);
	color: var(--orange);
	font-size: 1.35rem;
	font-weight: 700;
}

/* product / accessory tiles */

.tile {
	overflow: hidden;
	background: var(--white);
	border: 1px solid var(--rule);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	transition: transform .25s ease, box-shadow .25s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tile__body { padding: 20px 24px 24px; }
.tile__body h3 { font-size: 1.1rem; margin-bottom: .25em; }
.tile__body p  { margin-bottom: 0; font-size: .95rem; }

/* --- split (text + media) ------------------------------------------------- */

.split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}
.split--reverse .split__media { order: 2; }

.split__media img {
	width: 100%;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
}

/* --- feature list --------------------------------------------------------- */

.spec-list { list-style: none; margin: 0 0 1.5em; padding: 0; }
.spec-list li {
	position: relative;
	padding-left: 34px;
	margin-bottom: .8em;
}
.spec-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .45em;
	width: 18px;
	height: 10px;
	border-left: 3px solid var(--orange);
	border-bottom: 3px solid var(--orange);
	transform: rotate(-45deg);
	border-radius: 1px;
}

/* --- stats band ----------------------------------------------------------- */

.stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	background: var(--rule);
	border: 1px solid var(--rule);
	border-radius: var(--radius-lg);
	overflow: hidden;
}
.stat { padding: 30px 24px; background: var(--white); text-align: center; }
.stat strong {
	display: block;
	font-size: clamp(1.7rem, 3.4vw, 2.4rem);
	line-height: 1.1;
	color: var(--orange);
	letter-spacing: -.02em;
}
.stat span {
	display: block;
	margin-top: 6px;
	font-size: .88rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--grey-light);
}

/* --- callout / CTA band --------------------------------------------------- */

.cta {
	padding: clamp(48px, 7vw, 78px) 0;
	background: linear-gradient(120deg, var(--orange) 0%, var(--orange-light) 100%);
	color: var(--white);
	text-align: center;
}
.cta h2 { color: var(--white); }
.cta p {
	max-width: 620px;
	margin: 0 auto 1.8em;
	font-size: 1.12rem;
	color: rgba(255, 255, 255, .92);
}
.cta .btn {
	background: var(--white);
	color: var(--ink);
}
.cta .btn:hover { background: var(--ink); color: var(--white); }

.note {
	padding: 20px 24px;
	border-left: 4px solid var(--orange);
	border-radius: 0 var(--radius) var(--radius) 0;
	background: rgba(227, 80, 52, .06);
	font-size: .95rem;
}
.note p:last-child { margin-bottom: 0; }

/* --- video ---------------------------------------------------------------- */

.video-frame {
	position: relative;
	padding-top: 56.25%;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
	background: var(--ink);
}
.video-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* --- figures / charts ----------------------------------------------------- */

.figure {
	margin: 0 0 1.5em;
	padding: 20px;
	background: var(--white);
	border: 1px solid var(--rule);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	overflow-x: auto;
}
.figure img { margin-inline: auto; }
.figure figcaption {
	margin-top: 14px;
	font-size: .88rem;
	color: var(--grey-light);
	text-align: center;
}

/* --- contact / distributor blocks ----------------------------------------- */

.info-card {
	padding: 32px;
	background: var(--white);
	border: 1px solid var(--rule);
	border-top: 4px solid var(--orange);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
}
.info-card h3 { margin-bottom: .6em; }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 14px 0;
	border-bottom: 1px solid var(--rule);
	margin: 0;
}
.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-list span {
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--grey-light);
}
.contact-list strong, .contact-list a { font-size: 1.05rem; color: var(--ink); font-weight: 600; }
.contact-list a:hover { color: var(--orange); }

.territories {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.territories li {
	margin: 0;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--page);
	border: 1px solid var(--rule);
	font-size: .9rem;
	font-weight: 600;
	color: var(--ink-3);
}

/* --- footer --------------------------------------------------------------- */

.site-footer {
	padding: clamp(48px, 6vw, 68px) 0 0;
	background: var(--ink);
	color: rgba(255, 255, 255, .7);
	font-size: .95rem;
}
.site-footer h4 {
	margin-bottom: 1em;
	color: var(--white);
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: var(--orange-light); text-decoration: none; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55em; }
.site-footer__logo { width: 175px; margin-bottom: 18px; }

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1.2fr;
	gap: 40px;
	padding-bottom: 42px;
}

.site-footer__bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px;
	padding: 22px 0;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: .88rem;
	color: rgba(255, 255, 255, .5);
}
.site-footer__bar p { margin: 0; }

/* --- responsive ----------------------------------------------------------- */

@media (max-width: 900px) {
	.grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.split { grid-template-columns: 1fr; }
	.split--reverse .split__media { order: 0; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
	.nav-toggle { display: block; }

	.nav {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		display: none;
		padding: 12px 24px 20px;
		background: var(--ink);
		border-bottom: 3px solid var(--orange);
	}
	.nav.is-open { display: block; }
	.nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
	.nav a { padding: 13px 16px; border-radius: 8px; }

	.site-header__inner { position: relative; min-height: 72px; }
}

@media (max-width: 560px) {
	body { font-size: 16px; }
	.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
	.stats { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.card, .info-card { padding: 24px; }
	.hero__actions .btn { width: 100%; justify-content: center; }
}

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