/* ===== Arobase Designs – Design System (v2.0) =====
   Brand primary: #FC3D18
   Secondary: #111111 / #FFFFFF / #FAF8F7 / #777777 / #E9E5E3
*/

/* ---------- Design Tokens ---------- */
:root {
	/* Brand colours */
	--color-primary:        #FC3D18;
	--color-primary-dark:   #E02E0A;
	--color-primary-light:  #FF6B4A;
	--color-primary-soft:   rgba(252, 61, 24, 0.08);
	--color-primary-softer: rgba(252, 61, 24, 0.04);

	--color-black:          #111111;
	--color-white:          #FFFFFF;
	--color-bg:             #FFFFFF;
	--color-bg-light:       #FAF8F7;
	--color-bg-soft:        #F5F2F0;
	--color-text:           #111111;
	--color-text-muted:     #777777;
	--color-text-light:     #999999;
	--color-border:         #E9E5E3;
	--color-border-strong:  #D4CFCC;

	/* Gradients */
	--gradient-primary:     linear-gradient(135deg, #FC3D18 0%, #FF6B4A 100%);
	--gradient-dark:        linear-gradient(135deg, #111111 0%, #2A2A2A 100%);
	--gradient-hero:        radial-gradient(circle at 20% 20%, rgba(252, 61, 24, 0.06) 0%, transparent 55%),
	                        radial-gradient(circle at 80% 80%, rgba(252, 61, 24, 0.04) 0%, transparent 50%);

	/* Typography */
	--font-sans:            'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--font-weight-regular:  400;
	--font-weight-medium:   500;
	--font-weight-semibold: 600;
	--font-weight-bold:     700;
	--font-weight-extrabold:800;

	--fs-xs:    0.75rem;   /* 12px */
	--fs-sm:    0.875rem;  /* 14px */
	--fs-base:  1rem;      /* 16px */
	--fs-md:    1.125rem;  /* 18px */
	--fs-lg:    1.25rem;   /* 20px */
	--fs-xl:    1.5rem;    /* 24px */
	--fs-2xl:   1.875rem;  /* 30px */
	--fs-3xl:   2.25rem;   /* 36px */
	--fs-4xl:   3rem;      /* 48px */
	--fs-5xl:   3.5rem;    /* 56px */

	--lh-tight:  1.2;
	--lh-snug:   1.35;
	--lh-normal: 1.65;
	--lh-relaxed:1.75;

	/* Spacing scale */
	--space-1:  4px;
	--space-2:  8px;
	--space-3:  12px;
	--space-4:  16px;
	--space-5:  20px;
	--space-6:  24px;
	--space-7:  32px;
	--space-8:  40px;
	--space-9:  48px;
	--space-10: 64px;
	--space-11: 80px;
	--space-12: 96px;
	--space-13: 120px;

	/* Radii */
	--radius-sm:   8px;
	--radius:      12px;
	--radius-lg:   16px;
	--radius-xl:   24px;
	--radius-full: 999px;

	/* Shadows */
	--shadow-xs:  0 1px 2px rgba(17, 17, 17, 0.04);
	--shadow-sm:  0 2px 8px rgba(17, 17, 17, 0.06);
	--shadow:     0 4px 20px rgba(17, 17, 17, 0.06);
	--shadow-md:  0 8px 28px rgba(17, 17, 17, 0.08);
	--shadow-lg:  0 12px 40px rgba(17, 17, 17, 0.10);
	--shadow-primary: 0 8px 24px rgba(252, 61, 24, 0.28);
	--shadow-primary-hover: 0 12px 32px rgba(252, 61, 24, 0.36);

	/* Layout */
	--container-max: 1200px;
	--container-narrow: 800px;
	--header-height: 88px;

	/* Transitions */
	--ease: cubic-bezier(0.25, 0.1, 0.25, 1);
	--duration: 0.2s;

	/* Backward-compatible aliases (so existing templates keep working) */
	--primary:       var(--color-black);
	--primary-soft:  #2A2A2A;
	--accent:        var(--color-primary);
	--accent-2:      var(--color-primary-dark);
	--accent-gradient: var(--gradient-primary);
	--text:          var(--color-text);
	--text-light:    var(--color-text-muted);
	--bg-light:      var(--color-bg-light);
	--bg-soft:       var(--color-primary-soft);
	--border:        var(--color-border);
	--white:         var(--color-white);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: var(--fs-base);
	font-weight: var(--font-weight-regular);
	color: var(--color-text);
	line-height: var(--lh-normal);
	background: var(--color-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
	border-radius: var(--radius-sm);
}

a {
	color: var(--color-primary);
	text-decoration: none;
	transition: color var(--duration) var(--ease);
}
a:hover { color: var(--color-primary-dark); }

/* Focus visibility for accessibility */
:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 3px;
}

/* Skip link */
.skip-link {
	position: absolute;
	top: -100px;
	left: var(--space-4);
	background: var(--color-primary);
	color: var(--color-white);
	padding: var(--space-3) var(--space-5);
	border-radius: var(--radius-sm);
	z-index: 10000;
	font-weight: var(--font-weight-semibold);
}
.skip-link:focus { top: var(--space-4); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
	color: var(--color-black);
	line-height: var(--lh-tight);
	margin: 0 0 var(--space-4);
	font-weight: var(--font-weight-extrabold);
	letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, var(--fs-4xl)); }
h2 { font-size: clamp(1.75rem, 4vw, var(--fs-3xl)); }
h3 { font-size: var(--fs-lg); font-weight: var(--font-weight-bold); }
h4 { font-size: var(--fs-md); font-weight: var(--font-weight-bold); }

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

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

.eyebrow {
	display: inline-block;
	background: var(--color-primary-soft);
	color: var(--color-primary);
	font-size: var(--fs-xs);
	font-weight: var(--font-weight-bold);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 6px 16px;
	border-radius: var(--radius-full);
	margin-bottom: var(--space-5);
}

/* ---------- Layout ---------- */
.container {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--space-8);
}

.container-narrow {
	max-width: var(--container-narrow);
	margin: 0 auto;
	padding: 0 var(--space-8);
}

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

.section-heading {
	text-align: center;
	max-width: 640px;
	margin: 0 auto var(--space-10);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-8); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-7); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }

.bg-light { background: var(--color-bg-light); }
.bg-soft  { background: var(--color-bg-soft); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	background: var(--color-primary);
	color: var(--color-white) !important;
	padding: 14px 28px;
	border-radius: var(--radius-full);
	text-decoration: none;
	font-weight: var(--font-weight-semibold);
	font-size: var(--fs-sm);
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform var(--duration) var(--ease),
	            box-shadow var(--duration) var(--ease),
	            background-color var(--duration) var(--ease);
	box-shadow: var(--shadow-primary);
	line-height: 1.3;
}
.btn:hover {
	background: var(--color-primary-dark);
	transform: translateY(-2px);
	box-shadow: var(--shadow-primary-hover);
	color: var(--color-white) !important;
}
.btn:active { transform: translateY(0); }

.btn-outline {
	background: transparent;
	color: var(--color-black) !important;
	border: 1.5px solid var(--color-border-strong);
	box-shadow: none;
}
.btn-outline:hover {
	border-color: var(--color-primary);
	color: var(--color-primary) !important;
	background: var(--color-primary-softer);
	box-shadow: var(--shadow-sm);
	transform: translateY(-2px);
}

.btn-white {
	background: var(--color-white);
	color: var(--color-black) !important;
	box-shadow: var(--shadow);
}
.btn-white:hover {
	background: var(--color-bg-light);
	color: var(--color-primary) !important;
}

.btn-row {
	display: flex;
	gap: var(--space-4);
	justify-content: center;
	flex-wrap: wrap;
}

/* ---------- Header ---------- */
.site-header {
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--color-border);
	position: sticky;
	top: 0;
	z-index: 999;
}
.site-header .container {
	min-height: var(--header-height);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-6);
}

.site-logo a {
	font-size: var(--fs-xl);
	font-weight: var(--font-weight-extrabold);
	color: var(--color-black);
	text-decoration: none;
	letter-spacing: -0.02em;
	display: flex;
	align-items: center;
}
.site-logo img {
	max-height: 48px;
	width: auto;
	border-radius: 0;
}

.primary-nav { flex: 1; display: flex; justify-content: center; }
.primary-nav ul {
	display: flex;
	gap: var(--space-8);
	list-style: none;
	margin: 0;
	padding: 0;
}
.primary-nav a {
	text-decoration: none;
	color: var(--color-black);
	font-weight: var(--font-weight-medium);
	font-size: var(--fs-sm);
	transition: color var(--duration) var(--ease);
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
	color: var(--color-primary);
}

.primary-nav .sub-menu {
	list-style: none;
	display: none;
	position: absolute;
	background: var(--color-white);
	box-shadow: var(--shadow-lg);
	border-radius: var(--radius);
	padding: var(--space-3) 0;
	margin-top: var(--space-4);
	min-width: 240px;
	border: 1px solid var(--color-border);
}
.primary-nav li { position: relative; }
.primary-nav li:hover > .sub-menu { display: block; }
.primary-nav .sub-menu li a {
	display: block;
	padding: 10px 22px;
	font-size: var(--fs-sm);
}
.primary-nav .sub-menu li a:hover {
	background: var(--color-primary-soft);
	color: var(--color-primary);
}

.header-cta { display: flex; align-items: center; gap: var(--space-4); }

.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: var(--space-2);
}
.nav-toggle span {
	width: 24px;
	height: 2px;
	background: var(--color-black);
	border-radius: 2px;
	transition: transform var(--duration) var(--ease);
}

/* ---------- Hero ---------- */
.hero {
	background: var(--color-bg);
	background-image: var(--gradient-hero);
	padding: var(--space-13) 0 var(--space-12);
	text-align: center;
	position: relative;
	overflow: hidden;
}
.hero h1 {
	max-width: 780px;
	margin: 0 auto var(--space-5);
}
.hero h1 .highlight {
	color: var(--color-primary);
}
.hero p.lead {
	max-width: 620px;
	margin: 0 auto var(--space-8);
	font-size: var(--fs-md);
}
.hero .btn-row { margin-bottom: var(--space-8); }

.badge-row {
	display: flex;
	gap: var(--space-3);
	justify-content: center;
	flex-wrap: wrap;
	margin-top: var(--space-8);
}
.badge-pill {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-full);
	padding: 8px 18px;
	font-size: var(--fs-xs);
	font-weight: var(--font-weight-semibold);
	color: var(--color-text-muted);
	box-shadow: var(--shadow-xs);
}

/* Page hero (inner pages) */
.page-hero {
	background: var(--color-black);
	background-image:
		radial-gradient(circle at 80% 0%, rgba(252, 61, 24, 0.25), transparent 55%),
		radial-gradient(circle at 10% 100%, rgba(252, 61, 24, 0.15), transparent 50%);
	color: var(--color-white);
	padding: var(--space-11) 0 var(--space-10);
	text-align: center;
}
.page-hero .eyebrow {
	background: rgba(255, 255, 255, 0.1);
	color: var(--color-primary-light);
}
.page-hero h1 { color: var(--color-white); }
.page-hero p {
	color: rgba(255, 255, 255, 0.72);
	max-width: 620px;
	margin: 0 auto;
	font-size: var(--fs-md);
}

/* ---------- Stats bar ---------- */
.stats-bar {
	background: var(--color-black);
	padding: var(--space-8) 0;
}
.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--space-6);
	text-align: center;
}
.stat-number {
	font-size: var(--fs-3xl);
	font-weight: var(--font-weight-extrabold);
	color: var(--color-white);
	margin-bottom: var(--space-1);
	line-height: 1;
}
.stat-label {
	color: rgba(255, 255, 255, 0.6);
	font-size: var(--fs-sm);
}

/* ---------- Cards ---------- */
.card {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: var(--space-7);
	transition: transform 0.25s var(--ease),
	            box-shadow 0.25s var(--ease),
	            border-color 0.25s var(--ease);
}
.card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-md);
	border-color: transparent;
}
.card .icon {
	width: 52px;
	height: 52px;
	background: var(--color-primary-soft);
	border-radius: 14px;
	margin-bottom: var(--space-5);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
}
.card h3 { margin-bottom: var(--space-3); }
.card p { margin-bottom: var(--space-4); }
.card a {
	font-weight: var(--font-weight-semibold);
	font-size: var(--fs-sm);
}

/* ---------- Process steps ---------- */
.process-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--space-6);
}
.process-step { text-align: center; position: relative; }
.process-step .step-number {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--gradient-primary);
	color: var(--color-white);
	font-weight: var(--font-weight-extrabold);
	font-size: var(--fs-lg);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto var(--space-5);
	box-shadow: var(--shadow-primary);
}

/* ---------- Portfolio ---------- */
.portfolio-card { overflow: hidden; padding: 0; }
.portfolio-thumb {
	height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-white);
	font-size: var(--fs-3xl);
	font-weight: var(--font-weight-extrabold);
	background: var(--gradient-primary);
}
.portfolio-body { padding: var(--space-7); }
.portfolio-tag {
	display: inline-block;
	font-size: var(--fs-xs);
	font-weight: var(--font-weight-bold);
	color: var(--color-primary);
	background: var(--color-primary-soft);
	padding: 4px 12px;
	border-radius: var(--radius-full);
	margin-bottom: var(--space-3);
}
.portfolio-result {
	font-size: var(--fs-sm);
	font-weight: var(--font-weight-bold);
	color: var(--color-black);
	margin-top: var(--space-4);
	padding-top: var(--space-4);
	border-top: 1px solid var(--color-border);
}

/* ---------- Testimonials ---------- */
.testimonial-card {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: var(--space-7);
}
.testimonial-card .stars {
	color: #F5A623;
	margin-bottom: var(--space-4);
	letter-spacing: 2px;
	font-size: var(--fs-sm);
}
.testimonial-card .author {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	margin-top: var(--space-5);
}
.testimonial-card .author-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--gradient-primary);
	color: var(--color-white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: var(--font-weight-bold);
	flex-shrink: 0;
}
.testimonial-card .author-name {
	font-weight: var(--font-weight-bold);
	color: var(--color-black);
	font-size: var(--fs-sm);
}
.testimonial-card .author-role {
	font-size: var(--fs-xs);
	color: var(--color-text-muted);
}

/* ---------- Tech strip ---------- */
.tech-strip {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-8);
	align-items: center;
	opacity: 0.75;
}
.tech-strip span {
	font-weight: var(--font-weight-bold);
	color: var(--color-text-muted);
	font-size: var(--fs-sm);
	letter-spacing: 0.02em;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	margin-bottom: var(--space-3);
	padding: 4px 24px;
	background: var(--color-white);
}
.faq-item summary {
	cursor: pointer;
	font-weight: var(--font-weight-semibold);
	color: var(--color-black);
	padding: 18px 0;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
	content: "+";
	font-size: 22px;
	color: var(--color-primary);
	font-weight: var(--font-weight-regular);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding-bottom: 18px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
	background: var(--color-black);
	background-image:
		radial-gradient(circle at 20% 20%, rgba(252, 61, 24, 0.3), transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(252, 61, 24, 0.2), transparent 50%);
	color: var(--color-white);
	text-align: center;
	padding: var(--space-11) 0;
	border-radius: var(--radius);
}
.cta-band h2 { color: var(--color-white); }
.cta-band p { color: rgba(255, 255, 255, 0.72); }

/* ---------- Contact ---------- */
.contact-layout {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: var(--space-10);
}
.contact-info-card {
	background: var(--color-bg-light);
	border-radius: var(--radius);
	padding: var(--space-8);
}
.contact-info-item {
	display: flex;
	gap: var(--space-4);
	margin-bottom: var(--space-6);
}
.contact-info-item .icon {
	width: 44px;
	height: 44px;
	background: var(--color-white);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	flex-shrink: 0;
	box-shadow: var(--shadow-sm);
}
.contact-info-item h4 { margin-bottom: 4px; font-size: var(--fs-sm); }
.contact-info-item p { margin: 0; font-size: var(--fs-sm); }

.social-row { display: flex; gap: var(--space-3); margin-top: var(--space-3); }
.social-row a {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--color-white);
	border: 1px solid var(--color-border);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: var(--fs-sm);
	font-weight: var(--font-weight-bold);
	color: var(--color-black);
	transition: all var(--duration) var(--ease);
}
.social-row a:hover {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: var(--color-white);
}

/* Forms */
.contact-form label {
	display: block;
	font-weight: var(--font-weight-semibold);
	font-size: var(--fs-sm);
	margin-bottom: var(--space-2);
	color: var(--color-black);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1.5px solid var(--color-border);
	border-radius: var(--radius-sm);
	font-family: inherit;
	font-size: var(--fs-base);
	margin-bottom: var(--space-5);
	background: var(--color-white);
	color: var(--color-text);
	transition: border-color var(--duration) var(--ease);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px var(--color-primary-soft);
}
.contact-form textarea { min-height: 140px; resize: vertical; }

.form-notice {
	padding: var(--space-4) var(--space-5);
	border-radius: var(--radius-sm);
	margin-bottom: var(--space-5);
	font-size: var(--fs-sm);
	font-weight: var(--font-weight-medium);
}
.form-notice.success {
	background: #E8F8EF;
	color: #0A7A3A;
	border: 1px solid #B2E5C7;
}
.form-notice.error {
	background: #FDECEA;
	color: #C62828;
	border: 1px solid #F5C6C2;
}

/* ---------- Feature list ---------- */
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li {
	padding: 13px 0 13px 32px;
	position: relative;
	border-bottom: 1px solid var(--color-border);
	color: var(--color-text);
}
.feature-list li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 13px;
	width: 20px;
	height: 20px;
	background: var(--gradient-primary);
	color: var(--color-white);
	border-radius: 50%;
	font-size: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: var(--font-weight-bold);
}

/* ---------- Footer ---------- */
.site-footer {
	background: var(--color-black);
	color: rgba(255, 255, 255, 0.7);
	padding: var(--space-11) 0 var(--space-7);
}
.footer-columns {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: var(--space-8);
	margin-bottom: var(--space-10);
}
.footer-col h4 {
	color: var(--color-white);
	font-size: var(--fs-sm);
	font-weight: var(--font-weight-bold);
	margin-bottom: var(--space-5);
	letter-spacing: 0.02em;
}
.footer-logo {
	font-size: var(--fs-xl);
	font-weight: var(--font-weight-extrabold);
	color: var(--color-white);
	margin-bottom: var(--space-4);
}
.footer-col p { color: rgba(255, 255, 255, 0.55); font-size: var(--fs-sm); }
.footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.footer-col li { margin-bottom: var(--space-3); }
.footer-col a {
	color: rgba(255, 255, 255, 0.65);
	font-size: var(--fs-sm);
	transition: color var(--duration) var(--ease);
}
.footer-col a:hover { color: var(--color-primary); }

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: var(--space-6);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: var(--fs-sm);
	color: rgba(255, 255, 255, 0.45);
}
.footer-bottom a {
	color: rgba(255, 255, 255, 0.55);
}
.footer-bottom a:hover { color: var(--color-primary); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
	font-size: var(--fs-xs);
	color: rgba(255, 255, 255, 0.55);
	margin-bottom: var(--space-5);
}
.breadcrumbs a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
}
.breadcrumbs a:hover { color: var(--color-white); }

/* ---------- Legal pages ---------- */
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content h2 { margin-top: 44px; font-size: var(--fs-xl); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content ul { color: var(--color-text-muted); padding-left: 20px; }
.legal-content li { margin-bottom: 8px; }
.legal-updated { color: var(--color-text-muted); font-size: var(--fs-sm); margin-bottom: 40px; }

/* ---------- Reveal animation ---------- */
.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ---------- Mobile navigation ---------- */
.primary-nav.is-open {
	display: block;
	position: absolute;
	top: var(--header-height);
	left: 0;
	right: 0;
	background: var(--color-white);
	border-bottom: 1px solid var(--color-border);
	padding: var(--space-5) 0;
	box-shadow: var(--shadow-md);
}
.primary-nav.is-open ul {
	flex-direction: column;
	align-items: center;
	gap: var(--space-4);
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.process-steps { grid-template-columns: repeat(2, 1fr); }
	.footer-columns { grid-template-columns: repeat(2, 1fr); }
	.contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
	.container { padding: 0 var(--space-5); }
	.primary-nav { display: none; }
	.nav-toggle { display: flex; }
	.grid-3, .grid-2, .stats-grid { grid-template-columns: 1fr; }
	.grid-4 { grid-template-columns: 1fr; }
	.process-steps { grid-template-columns: 1fr; }
	.hero { padding: var(--space-11) 0 var(--space-10); }
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-columns { grid-template-columns: 1fr; }
	.footer-bottom {
		flex-direction: column;
		gap: var(--space-2);
		text-align: center;
	}
	section { padding: var(--space-10) 0; }
	.btn-row { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
	.stats-grid { grid-template-columns: 1fr 1fr; gap: var(--space-4); }
	.badge-row { gap: var(--space-2); }
	.badge-pill { font-size: 11px; padding: 6px 12px; }
}

/* ==========================================================================
   Milestone 7 – Header & Footer polish
   ========================================================================== */

/* Sticky header behaviour */
.site-header--sticky {
	position: sticky;
	top: 0;
	z-index: 999;
	transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-header--sticky.is-scrolled {
	background: rgba(255, 255, 255, 0.97);
	box-shadow: var(--shadow-sm);
	border-bottom-color: var(--color-border);
}

/* Transparent header on front page */
.site-header--transparent {
	background: transparent;
	border-bottom-color: transparent;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
}
.site-header--transparent .primary-nav a,
.site-header--transparent .site-logo-text {
	color: var(--color-black);
}
.site-header--transparent.is-scrolled {
	position: sticky;
	background: rgba(255, 255, 255, 0.97);
	border-bottom-color: var(--color-border);
	box-shadow: var(--shadow-sm);
}

/* Logo text fallback */
.site-logo-text {
	font-size: var(--fs-xl);
	font-weight: var(--font-weight-extrabold);
	color: var(--color-black);
	letter-spacing: -0.02em;
}
.site-logo img {
	max-height: 48px;
	width: auto;
	border-radius: 0;
}

/* Header CTA sizing */
.btn-header-cta {
	padding: 11px 22px;
	font-size: var(--fs-sm);
	white-space: nowrap;
}

/* Mobile nav toggle animation */
.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	border-radius: var(--radius-sm);
	transition: background 0.2s ease;
}
.nav-toggle:hover {
	background: var(--color-primary-soft);
}
.nav-toggle-bar {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--color-black);
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
	opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Improved mobile navigation panel */
.primary-nav.is-open {
	display: block;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: var(--color-white);
	border-bottom: 1px solid var(--color-border);
	padding: var(--space-5) 0 var(--space-6);
	box-shadow: var(--shadow-md);
	animation: arobaseNavSlide 0.25s ease;
}
@keyframes arobaseNavSlide {
	from { opacity: 0; transform: translateY(-8px); }
	to   { opacity: 1; transform: translateY(0); }
}
.primary-nav.is-open .primary-menu {
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	padding: 0 var(--space-5);
}
.primary-nav.is-open .primary-menu > li {
	border-bottom: 1px solid var(--color-border);
}
.primary-nav.is-open .primary-menu > li > a {
	display: block;
	padding: 14px 0;
	font-size: var(--fs-base);
}
.primary-nav.is-open .sub-menu {
	position: static;
	display: block;
	box-shadow: none;
	border: none;
	padding: 0 0 8px 16px;
	margin: 0;
	background: transparent;
}
.primary-nav.is-open .sub-menu a {
	padding: 8px 0;
	font-size: var(--fs-sm);
	color: var(--color-text-muted);
}

/* Prevent body scroll when mobile nav is open */
body.nav-open {
	overflow: hidden;
}

/* Footer social row refinements */
.footer-col--brand .social-row {
	margin-top: var(--space-5);
}
.social-row--footer a {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.75);
	transition: all 0.2s ease;
	text-decoration: none;
}
.social-row--footer a:hover {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: #fff;
}

.footer-tagline {
	color: rgba(255, 255, 255, 0.55);
	font-size: var(--fs-sm);
	margin-bottom: 0;
	max-width: 280px;
}
.footer-logo img {
	max-height: 40px;
	width: auto;
	border-radius: 0;
	margin-bottom: var(--space-3);
}
.footer-legal .sep {
	margin: 0 8px;
	opacity: 0.4;
}

/* Responsive header adjustments */
@media (max-width: 768px) {
	.primary-nav {
		display: none;
	}
	.primary-nav.is-open {
		display: block;
	}
	.nav-toggle {
		display: flex;
	}
	.btn-header-cta {
		display: none; /* hide CTA on small screens to save space; still available in menu */
	}
	.site-header .container {
		min-height: 72px;
	}
	.header-cta {
		gap: var(--space-2);
	}
}

@media (min-width: 769px) {
	.primary-nav {
		display: flex;
	}
	.nav-toggle {
		display: none;
	}
}

/* Page template polish */
.container-narrow {
	max-width: var(--container-narrow);
	margin-left: auto;
	margin-right: auto;
}
.map-embed {
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
}
.contact-follow-title {
	margin-top: var(--space-2);
	margin-bottom: var(--space-3);
	font-size: var(--fs-sm);
}
.contact-form .required {
	color: var(--color-primary);
}
.social-row--contact a {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--color-white);
	border: 1px solid var(--color-border);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: var(--fs-sm);
	font-weight: 700;
	color: var(--color-black);
	transition: all 0.2s ease;
}
.social-row--contact a:hover {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: #fff;
}

/* SEO / breadcrumb bar (light pages) */
.breadcrumb-bar {
	padding: var(--space-4) var(--space-8) 0;
	font-size: var(--fs-xs);
	color: var(--color-text-muted);
}
.breadcrumb-bar .breadcrumbs a {
	color: var(--color-text-muted);
}
.breadcrumb-bar .breadcrumbs a:hover {
	color: var(--color-primary);
}
.breadcrumb-bar ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}
