/* =========================================================
   NextiGo Sourcing — Main Stylesheet
   Design system: Premium + Minimal + International + Editorial
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--ngs-font-body);
	color: var(--ngs-color-charcoal);
	background: var(--ngs-color-offwhite);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px,1px,1px,1px);
	white-space: nowrap;
}
.ngs-skip-link {
	position: absolute;
	top: -100px; left: 1rem;
	background: var(--ngs-color-charcoal);
	color: var(--ngs-color-white);
	padding: 0.75rem 1.25rem;
	z-index: 10000;
	transition: top var(--ngs-transition);
}
.ngs-skip-link:focus { top: 1rem; }

:focus-visible {
	outline: 2px solid var(--ngs-color-copper);
	outline-offset: 3px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--ngs-font-heading);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 0.75rem;
	letter-spacing: -0.01em;
}
.ngs-h1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); font-weight: 800; }
.ngs-h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); }
p { margin: 0 0 1rem; color: var(--ngs-color-charcoal-soft); }

.ngs-eyebrow {
	display: inline-block;
	font-family: var(--ngs-font-heading);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ngs-color-copper);
	margin-bottom: 0.75rem;
}

.ngs-section-heading { max-width: 720px; margin-bottom: var(--ngs-space-md); }
.ngs-section-heading.ngs-align-center { margin-left: auto; margin-right: auto; text-align: center; }
.ngs-section-subtitle { font-size: 1.05rem; color: var(--ngs-color-grey); max-width: 620px; }
.ngs-align-center { text-align: center; }

/* ---------- Layout ---------- */
.ngs-container { width: 100%; max-width: var(--ngs-container); margin: 0 auto; padding: 0 1.5rem; }
.ngs-section { padding: var(--ngs-space-xl) 0; }
.ngs-page-wrap { padding: var(--ngs-space-lg) 0; }
.ngs-page-header { margin-bottom: var(--ngs-space-lg); }
.ngs-layout { display: grid; grid-template-columns: 1fr; gap: var(--ngs-space-lg); }
.ngs-layout--with-sidebar { grid-template-columns: 2.2fr 1fr; }
.ngs-prose { max-width: 760px; }
.ngs-prose p { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.ngs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.95rem 1.9rem;
	font-family: var(--ngs-font-heading);
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border: 1px solid transparent;
	border-radius: var(--ngs-radius);
	transition: background var(--ngs-transition), color var(--ngs-transition), border-color var(--ngs-transition), transform var(--ngs-transition);
	white-space: nowrap;
}
.ngs-btn--primary { background: var(--ngs-color-copper); color: var(--ngs-color-white); }
.ngs-btn--primary:hover { background: var(--ngs-color-copper-dark); transform: translateY(-2px); }
.ngs-btn--ghost { background: transparent; color: var(--ngs-color-charcoal); border-color: var(--ngs-color-charcoal); }
.ngs-btn--ghost:hover { background: var(--ngs-color-charcoal); color: var(--ngs-color-white); }

/* ---------- Header ---------- */
.ngs-header {
	position: sticky; top: 0; z-index: 999;
	background: rgba(246, 243, 238, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--ngs-color-border);
	transition: padding var(--ngs-transition);
}
.ngs-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 0; transition: padding var(--ngs-transition); }
.ngs-header.is-scrolled .ngs-header__inner { padding: 0.85rem 0; }
.ngs-header__logo-text { font-family: var(--ngs-font-heading); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; }
.ngs-header__brand img { max-height: 44px; width: auto; }

.ngs-menu { display: flex; align-items: center; gap: 1.9rem; }
.ngs-menu-item { position: relative; }
.ngs-menu-link {
	font-family: var(--ngs-font-heading);
	font-weight: 600;
	font-size: 0.92rem;
	padding: 0.5rem 0;
	position: relative;
}
.ngs-menu-link::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
	background: var(--ngs-color-copper); transform: scaleX(0); transform-origin: left;
	transition: transform var(--ngs-transition);
}
.ngs-menu-link:hover::after, .ngs-menu-item--current .ngs-menu-link::after { transform: scaleX(1); }

.ngs-sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px;
	background: var(--ngs-color-white); border: 1px solid var(--ngs-color-border);
	box-shadow: 0 18px 40px rgba(20,18,15,0.12);
	padding: 0.5rem 0; opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity var(--ngs-transition), transform var(--ngs-transition), visibility var(--ngs-transition);
}
.ngs-menu-item--has-children:hover > .ngs-sub-menu,
.ngs-menu-item--has-children:focus-within > .ngs-sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.ngs-sub-menu .ngs-menu-link { display: block; padding: 0.65rem 1.2rem; }
.ngs-submenu-toggle { display: none; }

.ngs-header__actions { display: flex; align-items: center; gap: 1.25rem; }
.ngs-header__cta { padding: 0.75rem 1.4rem; }

.ngs-header__menu-toggle { display: none; background: none; border: none; padding: 0.5rem; }
.ngs-hamburger { display: block; width: 24px; height: 16px; position: relative; }
.ngs-hamburger span { position: absolute; left: 0; right: 0; height: 2px; background: var(--ngs-color-charcoal); transition: transform var(--ngs-transition), opacity var(--ngs-transition); }
.ngs-hamburger span:nth-child(1) { top: 0; }
.ngs-hamburger span:nth-child(2) { top: 7px; }
.ngs-hamburger span:nth-child(3) { top: 14px; }
.ngs-header__menu-toggle[aria-expanded="true"] .ngs-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ngs-header__menu-toggle[aria-expanded="true"] .ngs-hamburger span:nth-child(2) { opacity: 0; }
.ngs-header__menu-toggle[aria-expanded="true"] .ngs-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.ngs-mobile-menu {
	position: fixed; inset: 0; top: 0; z-index: 1000;
	background: var(--ngs-color-charcoal); color: var(--ngs-color-offwhite);
	transform: translateX(100%); transition: transform 400ms cubic-bezier(0.22,1,0.36,1);
	overflow-y: auto;
}
.ngs-mobile-menu.is-open { transform: translateX(0); }
.ngs-mobile-menu__inner { padding: 6rem 1.75rem 3rem; }
.ngs-mobile-menu__list li { border-bottom: 1px solid rgba(246,243,238,0.12); }
.ngs-mobile-menu__list .ngs-menu-link, .ngs-mobile-menu__list a { display: block; padding: 1.1rem 0; font-family: var(--ngs-font-heading); font-size: 1.15rem; font-weight: 600; color: var(--ngs-color-offwhite); }
.ngs-mobile-menu__cta { margin-top: 2rem; width: 100%; }

/* ---------- Hero ---------- */
.ngs-hero { position: relative; min-height: 88vh; display: flex; align-items: center; color: var(--ngs-color-white); overflow: hidden; }
.ngs-hero__media { position: absolute; inset: 0; z-index: 0; }
.ngs-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.ngs-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,15,0.55) 0%, rgba(20,18,15,0.75) 100%); }
.ngs-hero__content { position: relative; z-index: 1; max-width: 820px; padding: 6rem 1.5rem; }
.ngs-hero__headline { font-size: clamp(2.5rem, 6vw, 4.5rem); color: var(--ngs-color-white); }
.ngs-hero__subheadline { font-size: 1.15rem; color: rgba(246,243,238,0.88); max-width: 620px; margin-bottom: 2.25rem; }
.ngs-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.ngs-hero .ngs-btn--ghost { border-color: var(--ngs-color-white); color: var(--ngs-color-white); }
.ngs-hero .ngs-btn--ghost:hover { background: var(--ngs-color-white); color: var(--ngs-color-charcoal); }

/* ---------- Trust Strip ---------- */
.ngs-trust-strip { background: var(--ngs-color-charcoal); color: var(--ngs-color-offwhite); padding: 1.75rem 0; }
.ngs-trust-strip__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.5rem; }
.ngs-trust-strip__item { font-family: var(--ngs-font-heading); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.9; }

/* ---------- Grids & Cards ---------- */
.ngs-grid { display: grid; gap: 1.75rem; }
.ngs-grid--categories { grid-template-columns: repeat(3, 1fr); }
.ngs-grid--services { grid-template-columns: repeat(4, 1fr); }
.ngs-grid--why { grid-template-columns: repeat(3, 1fr); }
.ngs-grid--case-studies { grid-template-columns: repeat(3, 1fr); }
.ngs-grid--blog { grid-template-columns: repeat(3, 1fr); }
.ngs-grid--archive { grid-template-columns: repeat(3, 1fr); }

.ngs-card {
	display: flex; flex-direction: column;
	background: var(--ngs-color-white);
	border: 1px solid var(--ngs-color-border);
	overflow: hidden;
	transition: transform var(--ngs-transition), box-shadow var(--ngs-transition);
}
.ngs-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(20,18,15,0.1); }
.ngs-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ngs-color-offwhite-dim); }
.ngs-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(0.22,1,0.36,1); }
.ngs-card:hover .ngs-card__media img { transform: scale(1.06); }
.ngs-card__media-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--ngs-color-offwhite-dim), var(--ngs-color-border)); }
.ngs-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.ngs-card__title { font-size: 1.15rem; margin-bottom: 0.5rem; }
.ngs-card__excerpt { font-size: 0.92rem; color: var(--ngs-color-grey); flex: 1; }
.ngs-card__link { font-family: var(--ngs-font-heading); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ngs-color-copper); margin-top: 0.75rem; }

.ngs-card--service { padding: 2rem 1.75rem; position: relative; }
.ngs-card__index { font-family: var(--ngs-font-heading); font-size: 2.25rem; font-weight: 800; color: var(--ngs-color-border); display: block; margin-bottom: 0.75rem; }

/* ---------- Timeline (How We Work) ---------- */
.ngs-timeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem; counter-reset: step; position: relative; }
.ngs-timeline__step { position: relative; padding-top: 1.5rem; border-top: 3px solid var(--ngs-color-copper); }
.ngs-timeline__num { font-family: var(--ngs-font-heading); font-size: 1.5rem; font-weight: 800; color: var(--ngs-color-copper); display: block; margin-bottom: 0.5rem; }
.ngs-timeline__title { font-size: 1.05rem; }
.ngs-timeline__desc { font-size: 0.88rem; color: var(--ngs-color-grey); }

/* ---------- Why NextiGo ---------- */
.ngs-why-card { background: var(--ngs-color-white); border: 1px solid var(--ngs-color-border); padding: 2rem; }
.ngs-why-card__num { font-family: var(--ngs-font-heading); font-weight: 800; font-size: 1.1rem; color: var(--ngs-color-copper); display: block; margin-bottom: 0.75rem; }

/* ---------- Testimonials ---------- */
.ngs-testimonial-slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1.5rem; padding-bottom: 0.5rem; }
.ngs-testimonial-slider__slide { flex: 0 0 100%; scroll-snap-align: start; max-width: 700px; }
.ngs-testimonial { background: var(--ngs-color-white); border: 1px solid var(--ngs-color-border); padding: 2.5rem; }
.ngs-testimonial blockquote { margin: 0 0 1.5rem; font-size: 1.2rem; font-family: var(--ngs-font-heading); font-weight: 500; line-height: 1.5; }
.ngs-testimonial figcaption { display: flex; align-items: center; gap: 0.9rem; }
.ngs-testimonial__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.ngs-testimonial__name { display: block; font-weight: 700; font-family: var(--ngs-font-heading); }
.ngs-testimonial__company { display: block; font-size: 0.85rem; color: var(--ngs-color-grey); }
.ngs-testimonial-slider__controls { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.ngs-testimonial-slider__controls button { width: 44px; height: 44px; border: 1px solid var(--ngs-color-border); background: var(--ngs-color-white); }
.ngs-testimonial-slider__controls button:hover { background: var(--ngs-color-charcoal); color: var(--ngs-color-white); }

/* ---------- FAQ Accordion ---------- */
.ngs-faq__inner { max-width: 800px; margin: 0 auto; }
.ngs-accordion__item { border-bottom: 1px solid var(--ngs-color-border); }
.ngs-accordion__header { margin: 0; }
.ngs-accordion__trigger {
	width: 100%; display: flex; justify-content: space-between; align-items: center;
	background: none; border: none; text-align: left;
	padding: 1.4rem 0; font-family: var(--ngs-font-heading); font-weight: 600; font-size: 1.05rem;
}
.ngs-accordion__icon { transition: transform var(--ngs-transition); font-size: 1.3rem; color: var(--ngs-color-copper); }
.ngs-accordion__trigger[aria-expanded="true"] .ngs-accordion__icon { transform: rotate(45deg); }
.ngs-accordion__panel-inner { padding: 0 0 1.4rem; color: var(--ngs-color-grey); }

/* ---------- Final CTA ---------- */
.ngs-final-cta { background: var(--ngs-color-charcoal); color: var(--ngs-color-offwhite); padding: var(--ngs-space-xl) 0; }
.ngs-final-cta__inner { text-align: center; max-width: 640px; margin: 0 auto; }
.ngs-final-cta h2 { color: var(--ngs-color-white); }
.ngs-final-cta p { color: rgba(246,243,238,0.8); }

/* ---------- Footer ---------- */
.ngs-footer { background: var(--ngs-color-charcoal-soft); color: rgba(246,243,238,0.85); padding-top: var(--ngs-space-lg); }
.ngs-footer__top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2.5rem; padding-bottom: var(--ngs-space-lg); border-bottom: 1px solid rgba(246,243,238,0.12); }
.ngs-footer__logo { font-family: var(--ngs-font-heading); font-weight: 800; font-size: 1.2rem; color: var(--ngs-color-white); display: block; margin-bottom: 0.75rem; }
.ngs-footer__col h4 { color: var(--ngs-color-white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1.1rem; }
.ngs-footer__col ul li { margin-bottom: 0.65rem; }
.ngs-footer__col a:hover { color: var(--ngs-color-copper-light); }
.ngs-footer__social { display: flex; gap: 1rem; margin-top: 1rem; }
.ngs-newsletter-form { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1rem; }
.ngs-newsletter-form input { padding: 0.75rem 1rem; border: 1px solid rgba(246,243,238,0.25); background: transparent; color: var(--ngs-color-white); }
.ngs-newsletter-form button { padding: 0.75rem 1rem; background: var(--ngs-color-copper); color: var(--ngs-color-white); border: none; font-weight: 700; }
.ngs-footer__contact-list { margin-bottom: 0.5rem; }
.ngs-footer__bottom { display: flex; justify-content: space-between; align-items: center; padding: 1.75rem 0; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; }
.ngs-footer__legal { display: flex; gap: 1.5rem; }

.ngs-whatsapp-float {
	position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 500;
	width: 56px; height: 56px; border-radius: 50%;
	background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
	font-size: 1.5rem; box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

/* ---------- Forms ---------- */
.ngs-form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1.75rem; margin-bottom: 1.5rem; }
.ngs-form__group--full { grid-column: 1 / -1; }
.ngs-form__group label { display: block; font-family: var(--ngs-font-heading); font-weight: 600; font-size: 0.88rem; margin-bottom: 0.4rem; }
.ngs-form__group .req { color: var(--ngs-color-copper); }
.ngs-form input[type="text"], .ngs-form input[type="email"], .ngs-form input[type="tel"], .ngs-form input[type="date"], .ngs-form select, .ngs-form textarea {
	width: 100%; padding: 0.85rem 1rem; border: 1px solid var(--ngs-color-border); background: var(--ngs-color-white);
	transition: border-color var(--ngs-transition);
}
.ngs-form input:focus, .ngs-form select:focus, .ngs-form textarea:focus { border-color: var(--ngs-color-copper); }
.ngs-form__hint { font-size: 0.8rem; color: var(--ngs-color-grey); margin-top: 0.4rem; }
.ngs-form__honeypot { position: absolute; left: -9999px; top: -9999px; }
.ngs-form__errors { color: #a33; font-size: 0.9rem; margin-bottom: 1rem; }
.ngs-form__errors:empty { display: none; }
.ngs-form__submit { width: 100%; }
.ngs-form__success { margin-top: 1.5rem; padding: 1.5rem; background: var(--ngs-color-offwhite-dim); border: 1px solid var(--ngs-color-border); }
.ngs-form__reference { font-family: var(--ngs-font-heading); font-weight: 800; font-size: 1.1rem; color: var(--ngs-color-copper); }
.ngs-file-list { margin-top: 0.75rem; font-size: 0.85rem; }
.ngs-file-list li { padding: 0.3rem 0; color: var(--ngs-color-grey); }
.ngs-field-error { border-color: #a33 !important; }
.ngs-rfq-wrap { max-width: 900px; margin: 0 auto; }

.ngs-contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; }
.ngs-contact-info__list li { margin-bottom: 0.75rem; }
.ngs-contact-info__map { margin-top: 1.5rem; aspect-ratio: 4/3; background: var(--ngs-color-offwhite-dim); border: 1px solid var(--ngs-color-border); }
.ngs-contact-info__map iframe { width: 100%; height: 100%; border: 0; }
.ngs-contact-info__map--placeholder { display: flex; align-items: center; justify-content: center; text-align: center; padding: 1rem; color: var(--ngs-color-grey); font-size: 0.85rem; }
.ngs-contact-info__social { display: flex; gap: 1rem; margin-top: 1rem; }

/* ---------- Status Badges ---------- */
.ngs-status-badge { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; padding: 0.3rem 0.7rem; border-radius: 999px; background: var(--ngs-color-offwhite-dim); }
.ngs-status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ngs-color-grey-light); }
.ngs-status-badge--grey .ngs-status-dot { background: var(--ngs-color-grey-light); }
.ngs-status-badge--copper .ngs-status-dot { background: var(--ngs-color-copper); }
.ngs-status-badge--yellow .ngs-status-dot { background: var(--ngs-color-warning); }
.ngs-status-badge--blue .ngs-status-dot { background: var(--ngs-color-info); }
.ngs-status-badge--green .ngs-status-dot { background: var(--ngs-color-success); }
.ngs-status-badge--black .ngs-status-dot { background: var(--ngs-color-charcoal); }

/* ---------- Buyer Portal ---------- */
.ngs-buyer-portal__tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; border-bottom: 1px solid var(--ngs-color-border); padding-bottom: 1rem; }
.ngs-buyer-portal__tab { background: none; border: 1px solid var(--ngs-color-border); padding: 0.6rem 1.1rem; font-family: var(--ngs-font-heading); font-weight: 600; font-size: 0.85rem; }
.ngs-buyer-portal__tab.is-active { background: var(--ngs-color-charcoal); color: var(--ngs-color-white); border-color: var(--ngs-color-charcoal); }
.ngs-portal-table { width: 100%; border-collapse: collapse; }
.ngs-portal-table th, .ngs-portal-table td { text-align: left; padding: 0.9rem; border-bottom: 1px solid var(--ngs-color-border); }
.ngs-portal-empty { color: var(--ngs-color-grey); padding: 2rem 0; }
.ngs-buyer-portal__logout { margin-top: 2rem; }

/* ---------- Quality Control / Product Dev workflows ---------- */
.ngs-qc-workflow { margin-bottom: var(--ngs-space-lg); }
.ngs-qc-workflow__steps { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.5rem; }
.ngs-qc-workflow__steps li { display: flex; align-items: center; gap: 0.5rem; font-family: var(--ngs-font-heading); font-weight: 700; padding: 0.7rem 1.2rem; background: var(--ngs-color-white); border: 1px solid var(--ngs-color-border); }
.ngs-qc-workflow__arrow { color: var(--ngs-color-copper); }
.ngs-checkpoint-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 800px; margin: 0 auto; }
.ngs-checkpoint-list li { padding: 0.9rem 1.2rem; background: var(--ngs-color-white); border: 1px solid var(--ngs-color-border); font-weight: 600; font-family: var(--ngs-font-heading); font-size: 0.9rem; }
.ngs-tag-list { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.ngs-tag-list li { padding: 0.6rem 1.2rem; border: 1px solid var(--ngs-color-copper); color: var(--ngs-color-copper); font-family: var(--ngs-font-heading); font-weight: 700; font-size: 0.85rem; }

/* ---------- Supplier Map ---------- */
.ngs-supplier-map { display: flex; justify-content: center; margin-bottom: var(--ngs-space-lg); }
.ngs-supplier-map__svg { max-width: 360px; width: 100%; }
.ngs-supplier-map__dot { fill: var(--ngs-color-copper); stroke: var(--ngs-color-white); stroke-width: 2; }
.ngs-cluster-list { padding-top: 0; }

/* ---------- About ---------- */
.ngs-about-block { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; padding: 2rem 0; border-top: 1px solid var(--ngs-color-border); align-items: start; }
.ngs-about-block--reverse { background: var(--ngs-color-white); }

/* ---------- 404 ---------- */
.ngs-404 { text-align: center; padding: var(--ngs-space-xl) 0; max-width: 640px; margin: 0 auto; }
.ngs-404__code { font-family: var(--ngs-font-heading); font-size: 6rem; font-weight: 800; color: var(--ngs-color-border); display: block; }
.ngs-404__links { display: flex; gap: 1rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }

/* ---------- Comments ---------- */
.ngs-comments { margin-top: var(--ngs-space-lg); max-width: 760px; }
.ngs-comment-list { margin-top: 1.5rem; }
.ngs-comment-form textarea { min-height: 140px; }

/* ---------- Case Study Filter ---------- */
.ngs-case-filter { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: var(--ngs-space-md); }
.ngs-case-filter__btn { background: var(--ngs-color-white); border: 1px solid var(--ngs-color-border); padding: 0.55rem 1.1rem; font-family: var(--ngs-font-heading); font-weight: 600; font-size: 0.82rem; }
.ngs-case-filter__btn.is-active { background: var(--ngs-color-charcoal); color: var(--ngs-color-white); border-color: var(--ngs-color-charcoal); }

/* ---------- Animations ---------- */
[data-animate] { opacity: 0; transform: translateY(24px); transition: opacity 700ms cubic-bezier(0.22,1,0.36,1), transform 700ms cubic-bezier(0.22,1,0.36,1); }
[data-animate].is-visible { opacity: 1; transform: translateY(0); }
[data-animate][data-delay="1"] { transition-delay: 120ms; }
[data-animate][data-delay="2"] { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	[data-animate] { opacity: 1; transform: none; transition: none; }
	.ngs-card, .ngs-btn, .ngs-mobile-menu, .ngs-header__menu-toggle .ngs-hamburger span { transition: none !important; }
}

/* ---------- Breadcrumbs ---------- */
.ngs-breadcrumbs { margin-bottom: 1.5rem; font-size: 0.85rem; color: var(--ngs-color-grey); }
.ngs-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.ngs-breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 0.4rem; }

/* ---------- Sidebar widgets ---------- */
.ngs-widget { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--ngs-color-border); }
.ngs-widget-title { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* =========================================================
   Responsive breakpoints (Section 28)
   ========================================================= */
@media (max-width: 1024px) {
	.ngs-grid--categories, .ngs-grid--why, .ngs-grid--case-studies, .ngs-grid--blog, .ngs-grid--archive { grid-template-columns: repeat(2, 1fr); }
	.ngs-grid--services { grid-template-columns: repeat(2, 1fr); }
	.ngs-timeline { grid-template-columns: repeat(3, 1fr); }
	.ngs-layout--with-sidebar { grid-template-columns: 1fr; }
	.ngs-footer__top { grid-template-columns: repeat(3, 1fr); }
	.ngs-contact-layout { grid-template-columns: 1fr; }
	.ngs-checkpoint-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
	.ngs-header__nav { display: none; }
	.ngs-header__menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
	.ngs-header__cta { display: none; }
	.ngs-about-block { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
	.ngs-grid--categories, .ngs-grid--why, .ngs-grid--case-studies, .ngs-grid--blog, .ngs-grid--archive, .ngs-grid--services { grid-template-columns: 1fr; }
	.ngs-timeline { grid-template-columns: 1fr; }
	.ngs-form__grid { grid-template-columns: 1fr; }
	.ngs-footer__top { grid-template-columns: repeat(2, 1fr); }
	.ngs-hero { min-height: 78vh; }
	.ngs-checkpoint-list { grid-template-columns: 1fr; }
	.ngs-404__code { font-size: 4rem; }
}

@media (max-width: 480px) {
	.ngs-container { padding: 0 1.1rem; }
	.ngs-footer__top { grid-template-columns: 1fr; }
	.ngs-hero__content { padding: 4rem 1.25rem; }
	.ngs-btn { width: 100%; }
	.ngs-hero__actions { flex-direction: column; }
	.ngs-hero__actions .ngs-btn { width: 100%; }
}
