/* * COLOR PALETTE & DESIGN TOKENS
* Built around the core brand color #ad3400 
*/
:root { font-family: "Inter", sans-serif; }
@supports (font-variation-settings: normal) {
  :root { font-family: "InterVariable", sans-serif; font-optical-sizing: auto; }
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/InterVariable.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/InterVariable-Italic.woff2") format("woff2");
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/Montserrat-VF.woff2") format("woff2");
}
@font-face {
  font-family: Montserrat;
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/Montserrat-Italic-VF.woff2") format("woff2");
}
:root {
	/* Brand Color Palette */
	--brand-50: #fff3ec;
	--brand-100: #ffe3d3;
	--brand-200: #ffc4a3;
	--brand-300: #ff9d66;
	--brand-400: #ff6e20;
	--brand-500: #eb4f00;
	--brand-600: #ad3400;/* Core Brand */
	--brand-700: #8f2600;
	--brand-800: #701f00;
	--brand-900: #5c1c04;
	/* Neutrals */
	--gray-50: #fbfaf9;
	--gray-100: #f4f2ef;
	--gray-200: #e8e5e1;
	--gray-300: #d5d0ca;
	--gray-600: #5c5754;
	--gray-800: #3b3633;
	--gray-900: #2d2a29;
	/* Semantic Variables */
	--bg-color: var(--gray-100);
	--surface-color: var(--gray-50);
	--card-color: #ffffff;
	--text-main: var(--gray-900);
	--text-muted: var(--gray-600);
	--border-color: var(--gray-200);
	--decor-color: var(--brand-100);
	--decor-color-2: var(--brand-200);
	--brand-core: var(--brand-600);
	/* Shadows conveying depth using brand tones */
	--shadow-sm: 0 2px 4px rgba(173, 52, 0, 0.04), 0 1px 2px rgba(173, 52, 0, 0.02);
	--shadow-md: 0 4px 12px rgba(173, 52, 0, 0.08), 0 2px 4px rgba(173, 52, 0, 0.04);
	--shadow-lg: 0 12px 24px rgba(173, 52, 0, 0.12), 0 4px 8px rgba(173, 52, 0, 0.06);
	/* Typography */
	--font-headings: 'Montserrat', sans-serif;
	--font-body: 'Inter', sans-serif;
}

/* RESET & BASE STYLES */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-body);
	background-color: var(--bg-color);
	color: var(--text-main);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	background-image: linear-gradient(to bottom, var(--decor-color) 2px, transparent 2px), linear-gradient(to right, var(--decor-color) 2px, transparent 2px);
  background-size: 3rem 3rem;
  background-position: center top;
}

img, svg {
	max-width: 100%;
	display: block;
}

a {
	color: var(--brand-600);
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover, a:focus-visible {
	color: var(--brand-800);
}

/* ACCESSIBILITY */
:focus-visible {
	outline: 3px solid var(--brand-400);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
	font-family: var(--font-headings);
	color: var(--text-main);
	line-height: 1.2;
	margin-bottom: 0.75em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.5rem, 5vw, 4.5rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--brand-900);
}

h2 {
	font-size: clamp(2rem, 3vw, 2.5rem);
	font-weight: 700;
	color: var(--brand-core);
	position: relative;
	display: inline-block;
	margin-bottom: 1.5rem;
}

h2::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -8px;
	width: 3ch;
	height: 4px;
	background-color: var(--brand-400);
	border-radius: 2px;
}

h3 {
	font-size: 1.25rem;
	font-weight: 700;
}

p {
	margin-bottom: 1rem;
	color: var(--text-muted);
	text-wrap: pretty;
	max-width: 80ch;
}

/* LAYOUT CONTAINERS */
.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.section-padding {
	padding: 5rem 0;
}

/* HEADER & NAVIGATION */
header {
	background-color: var(--brand-core);
	background-image: linear-gradient(135deg,var(--brand-500), var(--brand-core) 25%,  var(--brand-core) 75%, var(--brand-800));
	box-shadow: var( --shadow-sm);
	position: sticky;
	top: 0;
	z-index: 1000;
	border-bottom: 1px solid var( --border-color);
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 5rem;
	color: white;
}

.logo {
	font-family: var(--font-headings);
	font-weight: 800;
	font-size: 1.5rem;
	color: var(--brand-core);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.logo span {
	color: var(--gray-900);
}

nav {
	display: flex;
	align-items: center;
}

nav ul {
	list-style: none;
	display: flex;
	gap: 2rem;
	transition: max-height 0.3s ease;
}

nav a {
	color: var(--surface-color);
	font-weight: 600;
	font-size: 0.95rem;
	position: relative;
	padding: 0.5rem 0;
}


nav a:hover, nav a:focus-visible {
	color: var(--brand-200);
}

nav a::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	bottom: 0;
	left: 0;
	background-color: var(--brand-500);
	transition: width 0.3s ease;
}

nav a:hover::after {
	width: 100%;
}

.menu-toggle {
	display: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: var(--surface-color);
	background: none;
	border: none;
}

#menu-checkbox {
	display: none;
}

/* BUTTONS */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 2rem;
	font-family: var(--font-headings);
	font-weight: 700;
	font-size: 1rem;
	color: #ffffff;
	background: linear-gradient(135deg,var(--brand-500) 20%, var(--brand-core) 80%, var(--brand-800));
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: var(--shadow-md);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.button:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
	background: linear-gradient(135deg, var(--brand-400), var(--brand-core));
	color: #ffffff;
}

.button:active {
	transform: translateY(1px);
	box-shadow: var(--shadow-sm);
}

.button.centered {
	margin: 2rem auto;
	display: flex;
	width: max-content;
}

/* HERO SECTION */
.hero {
	position: relative;
	text-align: center;
	padding: 8rem 1.5rem;
	background-color: var(--brand-50);
	background-image: radial-gradient(var(--decor-color-2) 1px, transparent 2px), radial-gradient(var(--decor-color-2) 1px, transparent 2px);
	background-size: 40px 40px;
	background-position: 50% 0, calc(50% + 20px) 20px;
	border: 2px solid var(--decor-color);
	border-radius: 24px;
	margin: 2rem auto;
	max-width: calc(100% - 3rem);
	overflow: hidden;
	box-shadow: inset 0 0 0 1px var(--decor-color);
}

.hero::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle, var(--brand-100) 0%, transparent 70%);
	z-index: 0;
	opacity: 0.6;
}

.hero-content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
}

.hero h1 span {
	color: var(--brand-core);
	display: block;
	font-size: 0.6em;
	margin: 0.5em 0;
}

/* SERVICES SECTION */
.services-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.services-list {
	list-style: none;
	counter-reset: service-counter;
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.services-list li {
	position: relative;
	padding-left: 3.5rem;
}

.services-list li::after {
	counter-increment: service-counter;
	content: "0" counter(service-counter);
	position: absolute;
	left: 0.5rem;
	top: 0.5rem;
	font-family: var(--font-headings);
	font-weight: 800;
	font-size: 2rem;
	color: var(--brand-200);
	line-height: 1;
}

.image {
	width: 100%;
	aspect-ratio: 4/3;
	background: linear-gradient(135deg, var(--gray-200), var(--gray-100));
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--brand-core);
	font-family: var(--font-headings);
	font-weight: 700;
	box-shadow: var(--shadow-md);
	position: relative;
	overflow: hidden;
	border: 1px solid var(--border-color);
}

.image::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom right, rgba(173, 52, 0, 0.1), transparent);
}

/* CARDS GRID */
.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.card {
	background: var(--card-color);
	border-radius: 16px;
	padding: 2rem;
	border: 2px solid var(--border-color);
	box-shadow: var(--shadow-sm);
	transition: all 0.3s ease;
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 3;
	gap: 1rem;
	position: relative;
	overflow: hidden;
}

.card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: var(--brand-core);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	border-color: var(--brand-200);
}

.card:hover::before {
	transform: scaleX(1);
}

.card img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.card-img {
	width: 100%;
	aspect-ratio: 16/9;
	background-color: var(--brand-50);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--brand-400);
	font-weight: 600;
	margin-bottom: 1rem;
	border: 1px dashed var(--brand-200);
	overflow: clip;
}

/* INFO CALLOUT */
.info-callout {
	background-color: var(--brand-50);
	border-left: 4px solid var(--brand-core);
	padding: 2rem;
	border-radius: 0 12px 12px 0;
	margin-top: 4rem;
	position:relative;
	z-index:100;
	overflow:clip;
}

.info-callout.cta{
	border: 2px solid var(--brand-100);
}

.info-callout.cta::before{
	content:'';
	position:absolute;
	inset:0;
	background-image: radial-gradient(var(--brand-200) 1px, transparent 2px), radial-gradient(var(--brand-200) 1px, transparent 2px);
	background-size: 40px 40px;
	background-position: 50% 0, calc(50% + 20px) 20px;
	z-index:-1;
}

.info-callout h3 {
	color: var(--brand-800);
	margin-bottom: 0.5rem;
}

.info-callout p {
	color: var(--brand-900);
	margin: 0;
}

/* FOOTER */
footer {
	background-color: var(--gray-900);
	color: var(--gray-100);
	padding: 5rem 0 2rem;
	margin-top: 4rem;
	border-top: 4px solid var(--brand-core);
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 3rem;
	margin-bottom: 3rem;
}

.footer-grid h2 {
	color: var(--surface-color);
	font-size: 1.25rem;
	margin-bottom: 1.5rem;
}

.footer-grid h2::after {
	background-color: var(--brand-500);
}

.footer-grid ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.footer-grid a {
	color: var(--gray-300);
	transition: color 0.3s;
}

.footer-grid a:hover {
	color: var(--brand-400);
}

.footer-grid p {
	color: var(--gray-300);
}

.social-icons {
	display: flex;
	gap: 1rem;
	flex-direction: row !important;
}

.social-icons svg {
	fill: currentColor;
	width: 24px;
	height: 24px;
	transition: transform 0.3s ease, fill 0.3s ease;
}

.social-icons a:hover svg {
	transform: translateY(-3px);
	fill: var(--brand-400);
}

.footer-bottom {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid var(--gray-800);
	color: var(--gray-600);
	font-size: 0.875rem;
}

.footer-logo {
	font-family: var(--font-headings);
	font-weight: 800;
	font-size: 2rem;
	color: var(--brand-500);
	opacity: 0.8;
	margin-bottom: 1rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
	.services-wrapper {
		grid-template-columns: 1fr;
	}

	.header-content {
		flex-wrap: wrap;
	}

	.menu-toggle {
		display: block;
	}

	nav ul {
		width: 100%;
		flex-direction: column;
		gap: 0;
		max-height: 0;
		overflow: hidden;
		position: absolute;
		top: 5rem;
		left: 0;
		background-color: var(--surface-color);
		box-shadow: var(--shadow-md);
		border-top: 1px solid var(--border-color);
	}

	#menu-checkbox:checked ~ ul {
		max-height: 300px;
	}

	nav a {
		display: block;
		padding: 1rem 1.5rem;
		border-bottom: 1px solid var(--gray-100);
		color: var(--text-main)
	}
	
	nav a:hover, nav a:focus-visible {
		color:var(--brand-800);
	}

	.hero {
		padding: 4rem 1.5rem;
		margin: 1rem;
	}
		}