/**
 * Page: Services
 * --------------------------------------------------------------------------
 * File: assets/css/pages/services.css
 *
 * Services Hero + Services Grid + Services Process +
 * Services Strategic DNA + Services CTA.
 *
 * IMPORTANT:
 * All rules in this file are intended for the dedicated
 * Services page only.
 *
 * @package GDQ
 */


/* ==========================================================================
   SERVICES HERO
   ========================================================================== */

   .gdq-services-hero {
	position: relative;
	overflow: hidden;
	background: var(--color-primary, #0b1f3a);
	color: #ffffff;
	min-height: clamp(560px, 70vh, 760px);
	display: flex;
	align-items: center;
}


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

.gdq-services-hero__background {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	background: var(--color-primary, #0b1f3a);
}


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

.gdq-services-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	overflow: hidden;
}


/*
 * Real hero image.
 *
 * This supports the uploaded Services hero image when it is rendered
 * as a normal <img> element inside .gdq-services-hero__image.
 */

.gdq-services-hero__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}


/*
 * Keep the existing placeholder available as a fallback.
 */

.gdq-services-hero__image-placeholder {
	position: absolute;
	inset: 0;

	display: flex;
	align-items: center;
	justify-content: center;

	background:
		linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.02),
			rgba(255, 255, 255, 0.06)
		);
}

.gdq-services-hero__image-placeholder span {
	position: relative;
	z-index: 1;

	color: rgba(255, 255, 255, 0.25);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}


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

.gdq-services-hero__background::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;

	background:
		linear-gradient(
			90deg,
			rgba(7, 18, 34, 0.96) 0%,
			rgba(7, 18, 34, 0.88) 22%,
			rgba(7, 18, 34, 0.65) 45%,
			rgba(7, 18, 34, 0.35) 68%,
			rgba(7, 18, 34, 0.10) 88%,
			rgba(7, 18, 34, 0.02) 100%
		);

	pointer-events: none;
}


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

.gdq-services-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
}

.gdq-services-hero__content {
	max-width: 760px;
	padding: clamp(5rem, 10vw, 9rem) 0;
}

.gdq-services-hero__heading {
	margin: 0;
	max-width: 760px;
	color: #ffffff;
}

.gdq-services-hero__accent {
	color: var(--gdq-color-accent);
}

.gdq-services-hero__intro {
	margin: 1.75rem 0 0;
	max-width: 650px;

	color: rgba(255, 255, 255, 0.78);
	font-size: 1.1rem;
	line-height: 1.8;
}


/* ==========================================================================
   SERVICES CONTENT / GRID
   ========================================================================== */

.gdq-services-grid {
	background: #111111;
	color: #ffffff;

	padding-top: clamp(5rem, 8vw, 8rem);
	padding-bottom: clamp(5rem, 8vw, 8rem);
}

.gdq-services-grid__header {
	margin-bottom: clamp(3rem, 6vw, 5rem);
}

.gdq-services-grid__header .gdq-section-header__heading {
	color: #ffffff;
}


/*
 * Services heading:
 *
 * Creative Solutions. Strategic Impact.
 *
 * Only "Strategic Impact." receives the GDQ gold accent.
 */

.gdq-services-grid__header .gdq-section-header__accent {
	color: var(--gdq-color-accent);
}

.gdq-services-grid__header .gdq-section-header__intro {
	color: rgba(255, 255, 255, 0.7);
}

.gdq-services-grid__items {
	align-items: stretch;
}


/* ==========================================================================
   SERVICE CARDS
   ========================================================================== */

.gdq-services-grid__items .gdq-card--service {
	display: flex;
	flex-direction: column;
	height: 100%;
}


/* --------------------------------------------------------------------------
   SERVICE CARD IMAGE PLACEHOLDER
   -------------------------------------------------------------------------- */

.gdq-services-grid__items .gdq-card--service .gdq-card__media--placeholder,
.gdq-services-grid__items .gdq-card--service .gdq-card__media--image {
	position: relative;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 100%;
	aspect-ratio: 4 / 3;

	margin-top: var(--gdq-space-4);
	margin-bottom: var(--gdq-space-4);

	background:
		linear-gradient(
			135deg,
			var(--gdq-color-bg-surface-alt),
			var(--gdq-color-bg-primary)
		);

	border: 1px solid var(--gdq-color-border);
	border-radius: var(--gdq-radius-sm);

	overflow: hidden;
}

.gdq-services-grid__items .gdq-card--service .gdq-card__media--placeholder::before {
	content: "";

	position: absolute;
	inset: 10%;

	border: 1px dashed var(--gdq-color-border);

	pointer-events: none;
}

.gdq-services-grid__items .gdq-card--service .gdq-card__placeholder-label {
	position: relative;
	z-index: 1;

	color: var(--gdq-color-text-body);

	font-size: var(--gdq-text-caption-size);
	font-weight: 600;

	letter-spacing: 0.12em;
	line-height: 1.3;

	text-align: center;
	text-transform: uppercase;
}


/* --------------------------------------------------------------------------
   REAL IMAGE SUPPORT
   -------------------------------------------------------------------------- */

.gdq-services-grid__items .gdq-card--service .gdq-card__media {
	overflow: hidden;
}

.gdq-services-grid__items .gdq-card--service .gdq-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}


/* --------------------------------------------------------------------------
   SERVICE CARD BULLETS
   -------------------------------------------------------------------------- */

.gdq-services-grid__items .gdq-card--service .gdq-card__bullets {
	margin-top: 0;
	margin-bottom: 0;
}


/* --------------------------------------------------------------------------
   LEARN MORE
   -------------------------------------------------------------------------- */

.gdq-services-grid__items .gdq-card--service .gdq-card__action {
	margin-top: auto;
	padding-top: var(--gdq-space-4);
}


/* ==========================================================================
   SERVICES PAGE — OUR STRATEGIC DNA
   ========================================================================== */

/* Match the About page feature cards, scoped to Services. */
.site-main--services .gdq-why-choose__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--gdq-space-4);
	width: 100%;
	margin-top: 0;
}

.site-main--services .gdq-why-choose__grid .gdq-card {
	min-width: 0;
	height: 100%;
	margin: 0;
	background-color: transparent;
	border: 1px solid var(--gdq-color-accent);
	border-radius: var(--gdq-radius-md);
	padding: var(--gdq-space-3);
}

.site-main--services .gdq-why-choose__grid .gdq-card__icon {
	margin-bottom: var(--gdq-space-2);
}

.site-main--services .gdq-why-choose__grid .gdq-card__icon svg {
	width: 24px;
	height: 24px;
}

.site-main--services .gdq-why-choose__grid .gdq-card__title {
	font-size: var(--gdq-text-h5-size);
	margin-bottom: var(--gdq-space-2);
}

.site-main--services .gdq-why-choose__grid .gdq-card__description {
	font-size: var(--gdq-text-small-size);
	line-height: 1.5;
}

@media (max-width: 900px) {
	.site-main--services .gdq-why-choose__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.site-main--services .gdq-why-choose__grid {
		grid-template-columns: 1fr;
	}
}


/* ==========================================================================
   SERVICES PAGE — OUR PROCESS
   ========================================================================== */

/*
 * Remove the connector lines beside/between the process circles.
 *
 * This selector only affects the Process Timeline when displayed on the
 * Services page.
 */

.site-main--services .gdq-process-timeline__marker::after {
	display: none !important;
}


/* ==========================================================================
   SERVICES PAGE — CTA
   ========================================================================== */

/*
 * CTA IMAGE + DARK OVERLAY
 * --------------------------------------------------------------------------
 * Uses the dedicated Services CTA image while preserving the existing
 * CTA content, typography and buttons.
 *
 * Image:
 * CTA-Services-Page.jpeg
 */

.site-main--services .gdq-cta-home .gdq-cta-banner {
	position: relative;
	overflow: hidden;

	background:
		linear-gradient(
			135deg,
			var(--gdq-color-bg-surface-alt),
			var(--gdq-color-bg-primary)
		);
}


/* --------------------------------------------------------------------------
   SERVICES CTA — REAL IMAGE
   -------------------------------------------------------------------------- */

.site-main--services .gdq-cta-home .gdq-cta-banner::before {
	content: "";

	position: absolute;
	inset: 0;

	background-image:
		url("/wp-content/uploads/2026/09/CTA-Services-Page.jpeg");

	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;

	z-index: 0;

	pointer-events: none;
}


/* --------------------------------------------------------------------------
   SERVICES CTA — DARK IMAGE OVERLAY
   -------------------------------------------------------------------------- */

/*
 * The image remains visible underneath this layer, while the black
 * transparency gives the existing CTA copy enough contrast to remain
 * highly readable.
 */

.site-main--services .gdq-cta-home .gdq-cta-banner::after {
	content: "";

	position: absolute;
	inset: 0;

	background: rgba(0, 0, 0, 0.58);

	z-index: 1;

	pointer-events: none;
}


/* --------------------------------------------------------------------------
   KEEP CTA CONTENT ABOVE IMAGE + OVERLAY
   -------------------------------------------------------------------------- */

.site-main--services .gdq-cta-home .gdq-cta-banner__inner {
	position: relative;
	z-index: 2;
}


/* ==========================================================================
   RESPONSIVE — TABLET
   ========================================================================== */

@media (max-width: 900px) {

	.gdq-services-hero {
		min-height: 600px;
	}

	.gdq-services-hero__content {
		max-width: 100%;
	}

	.gdq-services-hero__background::after {
		background:
			linear-gradient(
				90deg,
				rgba(11, 31, 58, 0.94),
				rgba(11, 31, 58, 0.72)
			);
	}


	/* ----------------------------------------------------------------------
	   Strategic DNA — Tablet
	   ---------------------------------------------------------------------- */

	.site-main--services .gdq-services-strategic-dna__grid {
		grid-template-columns:
			repeat(2, minmax(0, 1fr)) !important;
	}

	.site-main--services
	.gdq-services-strategic-dna__grid > * {
		border-left: 0 !important;
	}

	/*
	 * Vertical divider between columns.
	 */

	.site-main--services
	.gdq-services-strategic-dna__grid > :nth-child(even) {
		border-left: 1px solid rgba(255, 255, 255, 0.09) !important;
	}

	/*
	 * Horizontal divider between rows.
	 */

	.site-main--services
	.gdq-services-strategic-dna__grid > :nth-child(n + 3) {
		border-top: 1px solid rgba(255, 255, 255, 0.09);
	}

	.site-main--services
	.gdq-services-strategic-dna
	.gdq-card {
		padding: 2rem;
	}
}


/* ==========================================================================
   RESPONSIVE — MOBILE
   ========================================================================== */

@media (max-width: 640px) {

	.gdq-services-hero {
		min-height: 520px;
	}

	.gdq-services-hero__content {
		padding: 4rem 0;
	}

	.gdq-services-hero__intro {
		font-size: 1rem;
	}

	.gdq-services-grid__items
	.gdq-card--service
	.gdq-card__media--placeholder {
		margin-top: var(--gdq-space-3);
		margin-bottom: var(--gdq-space-3);
	}


	/* ----------------------------------------------------------------------
	   Strategic DNA — Mobile
	   ---------------------------------------------------------------------- */

	.site-main--services
	.gdq-services-strategic-dna__grid {
		grid-template-columns: 1fr !important;
	}

	.site-main--services
	.gdq-services-strategic-dna__grid > * {
		border-left: 0 !important;
		border-top: 1px solid rgba(255, 255, 255, 0.09);
	}

	.site-main--services
	.gdq-services-strategic-dna__grid > :first-child {
		border-top: 0;
	}

	.site-main--services
	.gdq-services-strategic-dna
	.gdq-card {
		padding: 2rem 0;
	}

	.site-main--services
	.gdq-services-strategic-dna
	.gdq-card__icon,

	.site-main--services
	.gdq-services-strategic-dna
	.gdq-icon {
		margin-bottom: 1.25rem;
	}


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

	.site-main--services
	.gdq-cta-home
	.gdq-cta-banner::after {
		inset: 0;
	}
}


/* ==========================================================================
   SERVICES — STRATEGIC DNA FOUR-COLUMN LAYOUT
   --------------------------------------------------------------------------
   This override applies ONLY to the Services page.
   It changes the shared Strategic DNA grid from the default 2-column
   tablet layout to four columns on desktop/tablet-sized screens.
   ========================================================================== */

@media (min-width: 768px) {

	.site-main--services .gdq-why-choose__grid.grid--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

}


/* ==========================================================================
   SERVICES PAGE — OUR PROCESS BACKGROUND
   --------------------------------------------------------------------------
   Match the "Our Process" section background to the "What We Do" section.
   This changes ONLY the background colour and does not alter the layout,
   typography, spacing, cards, timeline or content.
   ========================================================================== */

.site-main--services .gdq-process {
	background-color: #111111;
}


/* ==========================================================================
   HOMEPAGE — OUR SERVICES / WHAT WE DO
   --------------------------------------------------------------------------
   Uses the same dark background treatment as the GDQ dark sections.
   Does not change the section structure, copy, grid or cards.
   ========================================================================== */

.site-main--home .gdq-services-grid--home,
.gdq-services-grid--home {
	background-color: #111111;
	color: #ffffff;
}


/* Section heading */

.site-main--home .gdq-services-grid--home .gdq-section-header__heading,
.gdq-services-grid--home .gdq-section-header__heading {
	color: #ffffff;
}


/* Eyebrow */

.site-main--home .gdq-services-grid--home .gdq-section-header__eyebrow,
.gdq-services-grid--home .gdq-section-header__eyebrow {
	color: var(--gdq-color-accent, #c8a45b);
}


/* Supporting paragraph */

.site-main--home .gdq-services-grid--home .gdq-section-header__intro,
.gdq-services-grid--home .gdq-section-header__intro {
	color: rgba(255, 255, 255, 0.70);
}


/* Accent heading text */

.site-main--home .gdq-services-grid--home .gdq-section-header__accent,
.gdq-services-grid--home .gdq-section-header__accent {
	color: var(--gdq-color-accent, #c8a45b);
}


/* ==========================================================================
   HOMEPAGE — OUR SERVICES
   --------------------------------------------------------------------------
   Changes ONLY the "Our Services" section on the Homepage.
   ========================================================================== */

.site-main--home .gdq-services-grid {
	background-color: var(--gdq-color-bg-surface) !important;
	color: var(--gdq-color-text-heading);
}


/* --------------------------------------------------------------------------
   SECTION HEADER
   -------------------------------------------------------------------------- */

.site-main--home .gdq-services-grid .gdq-section-header__eyebrow {
	color: var(--gdq-color-accent) !important;
}

.site-main--home .gdq-services-grid .gdq-section-header__heading {
	color: var(--gdq-color-text-heading) !important;
}

.site-main--home .gdq-services-grid .gdq-section-header__intro {
	color: var(--gdq-color-text-body) !important;
}


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

.site-main--home .gdq-services-grid .gdq-card--service {
	background-color: var(--gdq-color-bg-primary);
	color: var(--gdq-color-text-heading);
	border-color: var(--gdq-color-border);
}


/* Card titles */

.site-main--home .gdq-services-grid .gdq-card--service .gdq-card__title {
	color: var(--gdq-color-text-heading) !important;
}


/* Card descriptions */

.site-main--home .gdq-services-grid .gdq-card--service .gdq-card__description,
.site-main--home .gdq-services-grid .gdq-card--service .gdq-card__excerpt {
	color: var(--gdq-color-text-body) !important;
}


/* Card icons */

.site-main--home .gdq-services-grid .gdq-card--service .gdq-card__icon,
.site-main--home .gdq-services-grid .gdq-card--service .gdq-icon {
	color: var(--gdq-color-accent) !important;
}


/* Card bullets */

.site-main--home .gdq-services-grid .gdq-card--service .gdq-card__bullets {
	color: var(--gdq-color-text-body);
}

.site-main--home .gdq-services-grid .gdq-card--service .gdq-card__bullets li {
	color: var(--gdq-color-text-body);
}


/* Learn More link */

.site-main--home .gdq-services-grid .gdq-card--service .gdq-card__action a {
	color: var(--gdq-color-accent) !important;
}


/* --------------------------------------------------------------------------
   SERVICE IMAGE PLACEHOLDERS
   -------------------------------------------------------------------------- */

.site-main--home
.gdq-services-grid
.gdq-card--service
.gdq-card__media--placeholder {
	background:
		linear-gradient(
			135deg,
			var(--gdq-color-bg-surface-alt),
			var(--gdq-color-bg-primary)
		);

	border-color: var(--gdq-color-border);
}

.site-main--home
.gdq-services-grid
.gdq-card--service
.gdq-card__placeholder-label {
	color: var(--gdq-color-text-body);
}


/* --------------------------------------------------------------------------
   MOBILE
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {

	.site-main--home .gdq-services-grid {
		background-color: var(--gdq-color-bg-surface) !important;
	}

}