/* =====================================================================
   GLSH Theme — Design System & Components
   Dark navy + warm gold premium aesthetic.
   ===================================================================== */

:root {
	--glsh-primary: #2563EB;        /* electric blue */
	--glsh-primary-2: #06B6D4;      /* cyan */
	--glsh-primary-dark: #1D4ED8;
	--glsh-secondary: #8B5CF6;      /* violet */
	--glsh-accent: #F59E0B;         /* amber */
	--glsh-ink: #0F172A;            /* dark band / footer color */
	--glsh-bg: #FFFFFF;             /* page background (LIGHT) */
	--glsh-bg-2: #F4F8FF;           /* tinted section / card bg */
	--glsh-bg-3: #0F172A;           /* dark band */
	--glsh-text: #0F172A;           /* body text (dark) */
	--glsh-muted: #586781;          /* secondary text */
	--glsh-border: rgba(15, 23, 42, 0.10);
	--glsh-glass: rgba(255, 255, 255, 0.72);
	--glsh-glass-border: rgba(15, 23, 42, 0.08);
	--glsh-shadow: 0 18px 50px rgba(15, 23, 42, 0.10);
	--glsh-shadow-lg: 0 30px 70px rgba(15, 23, 42, 0.16);
	--glsh-glow: 0 14px 40px rgba(37, 99, 235, 0.22);
	--glsh-gradient: linear-gradient(120deg, var(--glsh-primary), var(--glsh-primary-2) 60%, var(--glsh-secondary));
	--glsh-radius: 16px;
	--glsh-radius-sm: 10px;
	--glsh-radius-lg: 24px;
	--glsh-container: 1200px;
	--glsh-gap: 24px;

	--font-body: 'Roboto', 'Segoe UI', system-ui, -apple-system, sans-serif;
	--font-display: 'Roboto', 'Segoe UI', system-ui, -apple-system, sans-serif;

	--transition: 240ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----------  RESET / BASE  ---------- */

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

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

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--glsh-text);
	background: var(--glsh-bg);
	-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(--glsh-primary);
	text-decoration: none;
	transition: color var(--transition);
}
a:hover, a:focus { color: var(--glsh-primary-2); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 0.5em;
	color: var(--glsh-text);
}

h1 { font-size: clamp(2.2rem, 4vw + 1rem, 3.6rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.8rem, 2.2vw + 1rem, 2.6rem); letter-spacing: -0.3px; }
h3 { font-size: clamp(1.3rem, 1vw + 1rem, 1.6rem); }
h4 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.2px; }

p { margin: 0 0 1em; }

::selection { background: var(--glsh-primary); color: var(--glsh-bg); }

.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: 9999;
	padding: 12px 18px; background: var(--glsh-primary); color: var(--glsh-bg);
}
.skip-link:focus { left: 12px; top: 12px; }

/* ----------  LAYOUT  ---------- */

.glsh-container {
	width: 100%;
	max-width: var(--glsh-container);
	margin: 0 auto;
	padding: 0 24px;
}

.glsh-section {
	padding: clamp(60px, 8vw, 110px) 0;
	position: relative;
}

.glsh-section--tight { padding: 60px 0; }

.glsh-section-head {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 56px;
}
.glsh-section-head .eyebrow {
	color: var(--glsh-primary);
	font-family: var(--font-body);
	font-weight: 600;
	letter-spacing: 4px;
	text-transform: uppercase;
	font-size: 13px;
	margin-bottom: 14px;
	display: inline-block;
}
.glsh-section-head p {
	color: var(--glsh-muted);
	font-size: 1.05rem;
}

/* Decorative gold underline */
.glsh-underline {
	display: inline-block;
	width: 80px; height: 3px;
	background: linear-gradient(90deg, var(--glsh-primary), var(--glsh-primary-2));
	border-radius: 3px;
	margin: 12px auto 0;
}

/* ----------  HEADER / NAV  ---------- */

.glsh-site-header {
	position: sticky; top: 0;
	z-index: 100;
	background: rgba(11, 23, 48, 0.85);
	backdrop-filter: saturate(180%) blur(12px);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--glsh-border);
	transition: background var(--transition);
}
.glsh-site-header.is-scrolled {
	background: rgba(11, 23, 48, 0.96);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.glsh-nav-inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 24px; padding: 14px 0;
}
.glsh-logo { display: inline-flex; align-items: center; gap: 12px; }
.glsh-logo img { height: 48px; width: auto; }
.glsh-logo-text {
	font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
	color: var(--glsh-text); white-space: nowrap;
}
.glsh-logo-text span { color: var(--glsh-primary); }

.glsh-nav {
	display: flex; align-items: center; gap: 28px;
	margin-left: auto;
}
.glsh-nav ul {
	list-style: none; margin: 0; padding: 0;
	display: flex; align-items: center; gap: 6px;
}
.glsh-nav a {
	color: var(--glsh-text); font-weight: 500; font-size: 0.95rem;
	padding: 8px 14px; border-radius: var(--glsh-radius-sm);
	position: relative;
}
.glsh-nav a:hover, .glsh-nav .current-menu-item > a, .glsh-nav .current_page_item > a {
	color: var(--glsh-primary); background: rgba(45, 127, 249, 0.08);
}
.glsh-nav .menu-item-has-children > a::after {
	content: ""; display: inline-block; width: 6px; height: 6px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg); margin-left: 6px; vertical-align: 2px;
}
.glsh-nav .sub-menu {
	position: absolute; top: 100%; left: 0;
	background: var(--glsh-bg-2); border: 1px solid var(--glsh-border);
	min-width: 220px; padding: 8px; border-radius: var(--glsh-radius);
	flex-direction: column; gap: 0;
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
	box-shadow: var(--glsh-shadow);
}
.glsh-nav li:hover > .sub-menu,
.glsh-nav li:focus-within > .sub-menu {
	opacity: 1; visibility: visible; transform: translateY(0);
}
.glsh-nav .sub-menu li { width: 100%; }
.glsh-nav .sub-menu a { width: 100%; padding: 10px 14px; }
.glsh-nav li { position: relative; }

.glsh-mobile-toggle {
	display: none;
	background: transparent; border: 1px solid var(--glsh-border);
	color: var(--glsh-text); padding: 8px 10px; border-radius: var(--glsh-radius-sm);
	cursor: pointer;
}
.glsh-mobile-toggle:hover { border-color: var(--glsh-primary); color: var(--glsh-primary); }

/* ----------  BUTTONS  ---------- */

.glsh-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 14px 28px;
	font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
	border-radius: 999px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: all var(--transition);
	text-decoration: none;
	letter-spacing: 0.2px;
}
.glsh-btn--primary {
	background: linear-gradient(135deg, var(--glsh-primary-2), var(--glsh-primary));
	color: var(--glsh-bg);
	box-shadow: 0 10px 30px rgba(45, 127, 249, 0.25);
}
.glsh-btn--primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 40px rgba(45, 127, 249, 0.35);
	color: var(--glsh-bg);
}
.glsh-btn--outline {
	border-color: var(--glsh-primary);
	color: var(--glsh-primary);
	background: transparent;
}
.glsh-btn--outline:hover {
	background: var(--glsh-primary); color: var(--glsh-bg); transform: translateY(-2px);
}
.glsh-btn--ghost {
	color: var(--glsh-text);
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.08);
}
.glsh-btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: var(--glsh-primary); }
.glsh-btn--lg { padding: 16px 36px; font-size: 1rem; }
.glsh-btn--sm { padding: 10px 18px; font-size: 0.85rem; }
.glsh-btn .icon { width: 16px; height: 16px; }

/* ----------  HERO  ---------- */

.glsh-hero {
	position: relative;
	min-height: clamp(560px, 78vh, 760px);
	display: flex; align-items: center;
	padding: 80px 0 60px;
	overflow: hidden;
}
.glsh-hero::before {
	content: "";
	position: absolute; inset: 0;
	background-image: url('../images/hero-pattern.svg');
	background-size: cover;
	background-position: center;
	opacity: 1;
	z-index: 0;
}
.glsh-hero::after {
	content: "";
	position: absolute; inset: 0;
	background: radial-gradient(ellipse at 70% 30%, rgba(45, 127, 249, 0.18), transparent 60%),
				radial-gradient(ellipse at 20% 80%, rgba(58, 85, 160, 0.22), transparent 55%);
	z-index: 0;
}
.glsh-hero-inner { position: relative; z-index: 1; max-width: 760px; }

.glsh-hero .eyebrow {
	display: inline-block;
	padding: 6px 14px; border-radius: 999px;
	background: rgba(45, 127, 249, 0.12);
	color: var(--glsh-primary);
	font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
	margin-bottom: 22px;
	border: 1px solid rgba(45, 127, 249, 0.25);
}
.glsh-hero h1 {
	margin-bottom: 22px;
	background: linear-gradient(180deg, #fff, var(--glsh-text));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.glsh-hero h1 .accent {
	background: linear-gradient(135deg, var(--glsh-primary-2), var(--glsh-primary));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.glsh-hero p {
	font-size: clamp(1.05rem, 1vw + 0.6rem, 1.2rem);
	color: var(--glsh-muted);
	max-width: 600px;
	margin-bottom: 32px;
}
.glsh-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.glsh-hero-trust {
	margin-top: 48px;
	display: flex; flex-wrap: wrap; gap: 26px; align-items: center;
	color: var(--glsh-muted); font-size: 0.9rem;
}
.glsh-hero-trust strong { color: var(--glsh-primary); font-weight: 700; }

/* ----------  CARDS  ---------- */

.glsh-card {
	background: var(--glsh-bg-2);
	border: 1px solid var(--glsh-border);
	border-radius: var(--glsh-radius);
	padding: 32px;
	transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
	position: relative;
	overflow: hidden;
	height: 100%;
}
.glsh-card:hover {
	transform: translateY(-6px);
	border-color: rgba(45, 127, 249, 0.4);
	box-shadow: var(--glsh-shadow);
}
.glsh-card::before {
	content: "";
	position: absolute; top: 0; left: 0; right: 0; height: 3px;
	background: linear-gradient(90deg, var(--glsh-primary), var(--glsh-primary-2));
	transform: scaleX(0); transform-origin: left;
	transition: transform var(--transition);
}
.glsh-card:hover::before { transform: scaleX(1); }
.glsh-card h3 { margin-bottom: 12px; }
.glsh-card p { color: var(--glsh-muted); margin-bottom: 18px; }

.glsh-card-icon {
	width: 56px; height: 56px;
	display: inline-flex; align-items: center; justify-content: center;
	background: rgba(45, 127, 249, 0.12);
	border-radius: 14px;
	margin-bottom: 22px;
	color: var(--glsh-primary);
}
.glsh-card-icon svg { width: 28px; height: 28px; }

.glsh-card-link {
	display: inline-flex; align-items: center; gap: 8px;
	color: var(--glsh-primary); font-weight: 600;
	font-size: 0.92rem; letter-spacing: 0.3px;
}
.glsh-card-link::after {
	content: "->"; transition: transform var(--transition);
	font-family: var(--font-body);
}
.glsh-card-link:hover::after { transform: translateX(4px); }

/* ----------  GRID  ---------- */

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

@media (max-width: 980px) {
	.glsh-grid--3, .glsh-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.glsh-grid--2, .glsh-grid--3, .glsh-grid--4 { grid-template-columns: 1fr; }
}

/* ----------  STATS COUNTER  ---------- */

.glsh-stats {
	background: linear-gradient(135deg, var(--glsh-bg-2), var(--glsh-bg-3));
	border: 1px solid var(--glsh-border);
	border-radius: var(--glsh-radius-lg);
	padding: 48px;
}
.glsh-stat { text-align: center; }
.glsh-stat-num {
	font-family: var(--font-display);
	font-size: clamp(2.2rem, 3vw + 1rem, 3.4rem);
	font-weight: 700;
	color: var(--glsh-primary);
	line-height: 1; margin-bottom: 8px;
}
.glsh-stat-label {
	color: var(--glsh-muted); font-size: 0.92rem; letter-spacing: 1.5px; text-transform: uppercase;
}

/* ----------  WHY US (feature list)  ---------- */

.glsh-feature {
	display: flex; gap: 18px; align-items: flex-start;
}
.glsh-feature-icon {
	flex: 0 0 44px; width: 44px; height: 44px;
	display: inline-flex; align-items: center; justify-content: center;
	background: rgba(45, 127, 249, 0.12); border-radius: 12px; color: var(--glsh-primary);
}
.glsh-feature h4 { margin-bottom: 6px; }
.glsh-feature p { color: var(--glsh-muted); margin: 0; font-size: 0.95rem; }

/* ----------  TESTIMONIAL  ---------- */

.glsh-testimonial {
	background: var(--glsh-bg-2);
	border: 1px solid var(--glsh-border);
	border-radius: var(--glsh-radius);
	padding: 32px;
	position: relative;
	height: 100%;
}
.glsh-testimonial::before {
	content: "\201C";
	position: absolute; top: 14px; right: 22px;
	font-family: var(--font-display); font-size: 80px; line-height: 1;
	color: rgba(45, 127, 249, 0.2);
}
.glsh-testimonial-body { color: var(--glsh-text); margin-bottom: 22px; font-style: italic; }
.glsh-testimonial-author { display: flex; align-items: center; gap: 14px; }
.glsh-testimonial-avatar {
	width: 48px; height: 48px; border-radius: 50%;
	background: linear-gradient(135deg, var(--glsh-primary-2), var(--glsh-primary-dark));
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--font-display); color: var(--glsh-bg); font-weight: 700;
}
.glsh-testimonial-name { font-weight: 700; color: var(--glsh-text); }
.glsh-testimonial-role { color: var(--glsh-muted); font-size: 0.85rem; }

/* ----------  FOOTER  ---------- */

.glsh-site-footer {
	background: linear-gradient(180deg, var(--glsh-bg) 0%, #060d1f 100%);
	padding: 80px 0 30px;
	border-top: 1px solid var(--glsh-border);
	color: var(--glsh-muted);
}
.glsh-footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1.2fr;
	gap: 40px;
	margin-bottom: 60px;
}
@media (max-width: 900px) {
	.glsh-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.glsh-footer-grid { grid-template-columns: 1fr; }
}
.glsh-footer h4 {
	color: var(--glsh-text);
	font-family: var(--font-body); font-size: 1rem; font-weight: 700;
	margin-bottom: 18px; letter-spacing: 0.4px;
}
.glsh-footer ul { list-style: none; padding: 0; margin: 0; }
.glsh-footer li { margin-bottom: 10px; }
.glsh-footer a { color: var(--glsh-muted); }
.glsh-footer a:hover { color: var(--glsh-primary); }

.glsh-footer-about p { color: var(--glsh-muted); max-width: 320px; }
.glsh-social {
	display: flex; gap: 10px; margin-top: 18px;
}
.glsh-social a {
	width: 38px; height: 38px;
	display: inline-flex; align-items: center; justify-content: center;
	background: rgba(255, 255, 255, 0.06);
	border-radius: 10px;
	color: var(--glsh-text);
	transition: background var(--transition), color var(--transition), transform var(--transition);
}
.glsh-social a:hover {
	background: var(--glsh-primary); color: var(--glsh-bg); transform: translateY(-2px);
}
.glsh-social svg { width: 18px; height: 18px; }

.glsh-footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: var(--glsh-muted); }
.glsh-footer-contact svg { width: 18px; height: 18px; color: var(--glsh-primary); margin-top: 4px; flex-shrink: 0; }

.glsh-copy {
	border-top: 1px solid var(--glsh-border); padding-top: 22px;
	display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
	font-size: 0.88rem;
}

/* ----------  PAGE HEADERS  ---------- */

.glsh-page-header {
	padding: 90px 0 60px;
	background: linear-gradient(180deg, var(--glsh-bg-2), var(--glsh-bg));
	border-bottom: 1px solid var(--glsh-border);
	position: relative;
	overflow: hidden;
}
.glsh-page-header::before {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(ellipse at 80% 0%, rgba(45, 127, 249, 0.15), transparent 60%);
}
.glsh-page-header-inner { position: relative; z-index: 1; max-width: 760px; }
.glsh-breadcrumbs {
	color: var(--glsh-muted); font-size: 0.88rem;
	margin-bottom: 14px;
}
.glsh-breadcrumbs a { color: var(--glsh-muted); }
.glsh-breadcrumbs a:hover { color: var(--glsh-primary); }
.glsh-breadcrumbs span.sep { margin: 0 8px; opacity: 0.6; }

/* ----------  FORMS  ---------- */

.glsh-field { margin-bottom: 18px; }
.glsh-field label {
	display: block; margin-bottom: 8px;
	color: var(--glsh-text); font-weight: 600; font-size: 0.92rem;
}
.glsh-input, .glsh-select, .glsh-textarea,
input[type="text"], input[type="email"], input[type="url"], input[type="tel"],
input[type="number"], input[type="search"], textarea, select {
	width: 100%;
	padding: 13px 16px;
	font-family: var(--font-body); font-size: 0.95rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--glsh-border);
	border-radius: var(--glsh-radius-sm);
	color: var(--glsh-text);
	transition: border-color var(--transition), background var(--transition);
}
.glsh-input:focus, .glsh-select:focus, .glsh-textarea:focus,
input:focus, textarea:focus, select:focus {
	outline: none;
	border-color: var(--glsh-primary);
	background: rgba(255, 255, 255, 0.07);
}
.glsh-textarea, textarea { min-height: 140px; resize: vertical; }
::placeholder { color: var(--glsh-muted); opacity: 1; }

.glsh-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .glsh-field-row { grid-template-columns: 1fr; } }

/* ----------  FLOATING WHATSAPP  ---------- */

.glsh-whatsapp {
	position: fixed; right: 22px; bottom: 22px;
	width: 60px; height: 60px;
	border-radius: 50%;
	background: linear-gradient(135deg, #25D366, #128C7E);
	color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
	z-index: 999;
	animation: glsh-pulse 2.5s ease-in-out infinite;
	transition: transform var(--transition);
}
.glsh-whatsapp:hover { transform: scale(1.08); color: #fff; }
.glsh-whatsapp svg { width: 30px; height: 30px; }
@keyframes glsh-pulse {
	0%, 100% { box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.4); }
	50%      { box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ----------  CASE STUDY / SERVICE DETAIL  ---------- */

.glsh-detail-hero {
	display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: center;
}
@media (max-width: 900px) { .glsh-detail-hero { grid-template-columns: 1fr; } }
.glsh-detail-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.glsh-pill {
	display: inline-flex; align-items: center;
	padding: 5px 12px; border-radius: 999px;
	background: rgba(45, 127, 249, 0.12);
	color: var(--glsh-primary);
	font-size: 0.8rem; font-weight: 600; letter-spacing: 0.5px;
	border: 1px solid rgba(45, 127, 249, 0.25);
}
.glsh-feature-list { list-style: none; padding: 0; margin: 0 0 28px; }
.glsh-feature-list li {
	padding: 10px 0 10px 30px; position: relative;
	border-bottom: 1px dashed var(--glsh-border);
	color: var(--glsh-text);
}
.glsh-feature-list li::before {
	content: ""; position: absolute; left: 4px; top: 16px;
	width: 14px; height: 8px;
	border-left: 2px solid var(--glsh-primary);
	border-bottom: 2px solid var(--glsh-primary);
	transform: rotate(-45deg);
}

.glsh-tech-stack { display: flex; flex-wrap: wrap; gap: 8px; }

/* ----------  BLOG  ---------- */

.glsh-post-card { display: flex; flex-direction: column; height: 100%; }
.glsh-post-card .glsh-thumb {
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--glsh-bg-3);
	overflow: hidden;
	border-radius: var(--glsh-radius);
	margin-bottom: 18px;
}
.glsh-post-card .glsh-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms; }
.glsh-post-card:hover .glsh-thumb img { transform: scale(1.05); }
.glsh-post-meta { color: var(--glsh-muted); font-size: 0.85rem; margin-bottom: 8px; }
.glsh-post-card h3 a { color: var(--glsh-text); }
.glsh-post-card h3 a:hover { color: var(--glsh-primary); }

.glsh-blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 50px; }
@media (max-width: 900px) { .glsh-blog-layout { grid-template-columns: 1fr; } }
.glsh-blog-sidebar .widget {
	background: var(--glsh-bg-2); border: 1px solid var(--glsh-border);
	border-radius: var(--glsh-radius); padding: 24px; margin-bottom: 24px;
}
.glsh-blog-sidebar .widget-title { margin-bottom: 16px; font-size: 1.05rem; }
.glsh-blog-sidebar ul { list-style: none; padding: 0; margin: 0; }
.glsh-blog-sidebar li { padding: 8px 0; border-bottom: 1px dashed var(--glsh-border); }
.glsh-blog-sidebar li:last-child { border: 0; }
.glsh-blog-sidebar a { color: var(--glsh-muted); }
.glsh-blog-sidebar a:hover { color: var(--glsh-primary); }

article.glsh-post .glsh-thumb img { border-radius: var(--glsh-radius-lg); }
article.glsh-post .entry-content {
	font-size: 1.05rem; line-height: 1.8;
}
article.glsh-post .entry-content h2 { margin-top: 1.4em; }
article.glsh-post .entry-content blockquote {
	border-left: 4px solid var(--glsh-primary);
	padding: 12px 0 12px 22px;
	margin: 28px 0; font-style: italic; color: var(--glsh-muted);
}
article.glsh-post .entry-content code {
	background: rgba(45, 127, 249, 0.12);
	color: var(--glsh-primary-2);
	padding: 2px 8px; border-radius: 6px; font-size: 0.9em;
}
article.glsh-post .entry-content pre {
	background: #060d1f; padding: 18px; border-radius: var(--glsh-radius);
	overflow-x: auto;
}

/* Pagination */
.glsh-pagination { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 40px; justify-content: center; }
.glsh-pagination .page-numbers {
	padding: 10px 16px; border-radius: var(--glsh-radius-sm);
	background: var(--glsh-bg-2); border: 1px solid var(--glsh-border);
	color: var(--glsh-text); text-decoration: none;
}
.glsh-pagination .page-numbers:hover, .glsh-pagination .current {
	background: var(--glsh-primary); color: var(--glsh-bg); border-color: var(--glsh-primary);
}

/* ----------  QUOTE FORM (multi-step)  ---------- */

.glsh-quote-card {
	background: var(--glsh-bg-2);
	border: 1px solid var(--glsh-border);
	border-radius: var(--glsh-radius-lg);
	padding: 40px;
	box-shadow: var(--glsh-shadow);
}
.glsh-quote-steps {
	display: flex; gap: 6px; margin-bottom: 32px;
}
.glsh-quote-steps .dot {
	flex: 1; height: 4px; border-radius: 4px;
	background: rgba(255,255,255,0.08);
	transition: background var(--transition);
}
.glsh-quote-steps .dot.is-active { background: var(--glsh-primary); }

.glsh-quote-step { display: none; }
.glsh-quote-step.is-active { display: block; animation: glsh-fade 250ms ease both; }
.glsh-quote-step h3 { margin-bottom: 20px; }

.glsh-options {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
@media (max-width: 540px) { .glsh-options { grid-template-columns: 1fr; } }
.glsh-option {
	border: 1px solid var(--glsh-border);
	background: rgba(255,255,255,0.03);
	padding: 18px;
	border-radius: var(--glsh-radius);
	cursor: pointer;
	transition: all var(--transition);
	font-weight: 500;
	display: block;
}
.glsh-option input { position: absolute; opacity: 0; pointer-events: none; }
.glsh-option:hover { border-color: rgba(45, 127, 249, 0.5); }
.glsh-option .label { display: block; font-weight: 700; }
.glsh-option .desc { display: block; color: var(--glsh-muted); font-size: 0.88rem; margin-top: 4px; }
.glsh-option.is-selected,
.glsh-option:has(input:checked) {
	border-color: var(--glsh-primary);
	background: rgba(45, 127, 249, 0.08);
	box-shadow: inset 0 0 0 1px var(--glsh-primary);
}

.glsh-quote-actions {
	display: flex; justify-content: space-between; gap: 12px;
	margin-top: 28px;
}

.glsh-quote-success {
	text-align: center; padding: 30px 0;
}
.glsh-quote-success .badge {
	width: 70px; height: 70px; border-radius: 50%;
	background: rgba(37, 211, 102, 0.15); color: #25D366;
	display: inline-flex; align-items: center; justify-content: center;
	margin-bottom: 22px; font-size: 36px;
}

.glsh-error { color: #ff8e8e; font-size: 0.9rem; margin-top: 8px; }

@keyframes glsh-fade {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ----------  CTA  ---------- */

.glsh-cta {
	background: linear-gradient(135deg, var(--glsh-bg-2), var(--glsh-bg-3));
	border: 1px solid var(--glsh-border);
	border-radius: var(--glsh-radius-lg);
	padding: 60px;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.glsh-cta::before {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(ellipse at 70% 30%, rgba(45, 127, 249, 0.2), transparent 60%);
}
.glsh-cta > * { position: relative; }
.glsh-cta p { max-width: 600px; margin: 0 auto 28px; color: var(--glsh-muted); }

/* ----------  CASE STUDY GRID + FILTERS  ---------- */

.glsh-filters {
	display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
	margin-bottom: 40px;
}
.glsh-filter-btn {
	padding: 8px 18px; border-radius: 999px;
	background: transparent;
	border: 1px solid var(--glsh-border);
	color: var(--glsh-muted);
	cursor: pointer; font-size: 0.9rem; font-weight: 500;
	transition: all var(--transition);
}
.glsh-filter-btn:hover { color: var(--glsh-primary); border-color: var(--glsh-primary); }
.glsh-filter-btn.is-active {
	background: var(--glsh-primary); color: var(--glsh-bg); border-color: var(--glsh-primary);
}

/* ----------  MOBILE NAV PANEL  ---------- */

@media (max-width: 900px) {
	.glsh-mobile-toggle { display: inline-flex; }
	.glsh-nav {
		position: fixed; inset: 64px 0 0 0;
		background: var(--glsh-bg);
		flex-direction: column;
		padding: 30px 24px;
		gap: 0;
		transform: translateX(100%);
		transition: transform 280ms ease;
		overflow-y: auto;
		border-top: 1px solid var(--glsh-border);
	}
	.glsh-nav.is-open { transform: translateX(0); }
	.glsh-nav ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
	.glsh-nav li { width: 100%; }
	.glsh-nav a { width: 100%; padding: 14px 8px; border-bottom: 1px solid var(--glsh-border); border-radius: 0; }
	.glsh-nav .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		background: transparent; border: 0; padding: 0 0 0 14px; box-shadow: none;
	}
	.glsh-nav .glsh-btn { margin-top: 14px; }
}

/* ----------  COMMENTS  ---------- */
.glsh-comments { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--glsh-border); }
.glsh-comments h2 { margin-bottom: 24px; }
.comment-list { list-style: none; padding: 0; }
.comment-list li { padding: 18px 0; border-bottom: 1px solid var(--glsh-border); }
.comment-meta strong { color: var(--glsh-primary); }
.comment-reply-link { color: var(--glsh-primary); }

/* ----------  UTILITIES  ---------- */

.glsh-center { text-align: center; }
.glsh-mt-0 { margin-top: 0; }
.glsh-mb-0 { margin-bottom: 0; }
.glsh-muted { color: var(--glsh-muted); }
.glsh-gold { color: var(--glsh-primary); }

.glsh-divider {
	height: 1px; background: var(--glsh-border); margin: 60px 0;
}

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