/* ==========================================================================
   ELVARA FINANCE — services.css
   Every spacing, font-size, font-weight, line-height value lives here.
   Font-family and color inherited from global.css only.
   Organised section by section matching services.php.
   ========================================================================== */


/* ==========================================================================
   1. SERVICES HERO
   ========================================================================== */

.sv-hero {
	padding-top: 40px;
	padding-bottom: 80px;
	text-align: center;
}

.sv-hero__eyebrow {
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 8px;
	justify-content: center;
}
/* Centered eyebrow variant — line on both sides */
.eyebrow--centered {
    justify-content: center;
}

.eyebrow--centered::before {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background-color: var(--color-accent);
    flex-shrink: 0;
}

.sv-hero__heading {
	font-size: 48px;
	font-weight: 600;
	line-height: 1.12;
	margin-bottom: 4px;
	max-width: 720px;
	margin-inline: auto;
	margin-bottom: 16px;
}

.sv-hero__subheading {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.55;
	max-width: 560px;
	margin-inline: auto;
	margin-bottom: 4px;
}

.sv-hero__body {
	font-size: 15px;
	font-weight: 400;
	line-height: 1.65;
	max-width: 600px;
	margin-inline: auto;
	margin-bottom: 36px;
}

.sv-hero__badges {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0;
	margin-bottom: 36px;
}

.sv-hero__badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding-inline: 32px;
}

.sv-hero__badge + .sv-hero__badge {
	border-left: 1px solid var(--color-border);
}

.sv-hero__badge img {
	height: 36px;
	width: auto;
	object-fit: contain;
}

.sv-hero__badge-label {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
}


.sv-hero__badges-mobile {
	display: none;
}

.sv-hero__badges-mobile img {
	display: block;
	width: 100%;
	height: auto;
}

.sv-hero__actions {
	display: flex;
	justify-content: center;
}


/* ==========================================================================
   2. CHANNEL LOGOS STRIP
   ========================================================================== */

.sv-channels {
	padding-top: 0;
	padding-bottom: 80px;
}

.sv-channels__eyebrow {
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 32px;
	justify-content: center;
}

.sv-channels__inner {
	display: flex;
	align-items: stretch;
	gap: 0;
}

.sv-channels__primary {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    width: 420px; /* lock primary to a fixed width */
}

.sv-channels__primary-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding-inline: 36px;
	padding-block: 16px;
}

.sv-channels__primary-item + .sv-channels__primary-item {
	border-left: 1px solid var(--color-border);
}

.sv-channels__primary-item img {
	height: 55px;
	width: auto;
	object-fit: contain;
}

.sv-channels__primary-label {
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
}

.sv-channels__divider {
	width: 1px;
	background-color: var(--color-border);
	flex-shrink: 0;
	align-self: stretch;
	margin-inline: 0;
}

.sv-channels__secondary {
    display: flex;
    flex: 1;           /* take all remaining width */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: 48px;
    gap: 16px;
}

.sv-channels__secondary-logos {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 28px;
}

.sv-channels__secondary-logos img {
	height: 55px;
	width: auto;
	object-fit: contain;
}

.sv-channels__secondary-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    margin-left: 0;      /* remove the auto margin */
    padding-left: 0;     /* remove left padding */
    min-width: unset;    /* remove min-width */
}

.sv-channels__secondary-title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.sv-channels__secondary-body {
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
}


/* ==========================================================================
   3. CORE SERVICES GRID
   ========================================================================== */

.sv-core {
	padding-top: 0;
	padding-bottom: 24px;
}

.sv-core__eyebrow {
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 24px;
	justify-content: center;
}

.sv-core__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background-color: var(--color-border);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
	overflow: hidden;
}

.sv-core-card {
    background-color: var(--color-bg);
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    gap: 0;
}

.sv-core-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.sv-core-card__icon {
    margin-bottom: 0; 
    flex-shrink: 0;
}


.sv-core-card__icon img {
	width: 48px;
	height: 48px;
	object-fit: contain;
}

.sv-core-card__title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0; /* title margin now handled by header */
}

.sv-core-card__body {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.65;
	margin-bottom: 20px;
	flex: 1;
}

.sv-core-card__turnaround {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

.sv-core-card__turnaround-label {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 2px;
    color: var(--color-accent);
}


.sv-core-card__turnaround-value {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}


/* ==========================================================================
   4. PRICING NOTICE BAND
   ========================================================================== */

.sv-pricing-band {
	padding-top: 0;
	padding-bottom: 80px;
}

.sv-pricing-band__inner {
    display: flex;
    align-items: center;        /* fix 3 — vertical centre everything */
    justify-content: space-between;
    gap: 24px;
    padding: 20px 28px;
    min-height: 52px;           /* fix 3 — give it height to centre against */
    border: 1px solid var(--color-accent);
    border-radius: var(--radius-card);
    background-color: #edf7f4;  /* fix 1 — light green tint */
}

.sv-pricing-band__left {
    display: flex;
    align-items: center;        /* fix 3 — icon and text vertically centred */
    gap: 16px;
}

.sv-pricing-band__icon {
	flex-shrink: 0;
}

.sv-pricing-band__icon img {
	width: 32px;
	height: 32px;
	object-fit: contain;
}

.sv-pricing-band__text {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--color-accent);  /* fix 2 — green text */
    margin-bottom: 0px;

}


/* ==========================================================================
   5. WHY FIRMS
   ========================================================================== */

.sv-why {
	padding-top: 0px;
	padding-bottom: 60px;
}

.sv-why__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: start;
	gap: 80px;
}

.sv-why__intro {
	display: flex;
	flex-direction: column;
}

.sv-why__eyebrow {
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 20px;
}

.sv-why__heading {
	font-size: 28px;
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 20px;
}

.sv-why__body {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.65;
}

.sv-why__body + .sv-why__body {
	margin-top: 12px;
}

.sv-why__list {
	display: flex;
	flex-direction: column;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 16px;
}

.sv-why__list-heading {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 16px;
	color: var(--color-accent);
}

.sv-why__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.sv-why__check {
	flex-shrink: 0;
	margin-top: 2px;
	width: 20px;
	height: 20px;
}

.sv-why__item-text {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
}


/* ==========================================================================
   6. CHALLENGES GRID
   ========================================================================== */

.sv-challenges {
	padding-top: 0px;
	padding-bottom: 80px;
}

.sv-challenges__eyebrow {
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 48px;
	justify-content: center;
}

.sv-challenges__grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 1px;
	background-color: var(--color-border);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
	overflow: hidden;
	margin-top: 8px;
}

.sv-challenge-card {
	background-color: var(--color-bg);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 32px 20px;
	gap: 0;
}

.sv-challenge-card__icon {
	margin-bottom: 16px;
}

.sv-challenge-card__icon img {
	width: 70px;
	height: 70px;
	object-fit: contain;
}

.sv-challenge-card__title {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 8px;
}

.sv-challenge-card__body {
	font-size: 13px;
	font-weight: 400;
	line-height: 1.6;
}


/* ==========================================================================
   7. HOW WE WORK — PROCESS STEPS
   ========================================================================== */

.sv-process {
	padding-top: 0px;
	padding-bottom: 80px;
}

.sv-process__eyebrow {
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 48px;
	justify-content: center;
}

/* Desktop — horizontal grid */
.sv-process__track {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1px;
	background-color: var(--color-border);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
	overflow: visible; /* must be visible so circles can overflow top */
	position: relative;
}

/* Each step card */
.sv-process-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 52px 20px 32px; /* top padding clears the overlapping circle */
	background-color: var(--color-bg);
	position: relative;
}

/* Number circle — centred on top edge of each card */
.sv-process-step__number {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: var(--color-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	position: absolute;
	top: -22px; /* half the circle height */
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
}

.sv-process-step__number span {
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	color: var(--color-white);
	font-family: var(--font-body);
}

.sv-process-step__icon {
	margin-bottom: 16px;
}

.sv-process-step__icon img {
	width: 72px;
	height: 72px;
	object-fit: contain;
}

.sv-process-step__title {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 8px;
	color: var(--color-accent);
}

.sv-process-step__body {
	font-size: 13px;
	font-weight: 400;
	line-height: 1.6;
}



/* ==========================================================================
   9. RESPONSIVE
   ========================================================================== */

/* ── 1200px — tighten channels layout ── */
@media (max-width: 1200px) {
	.sv-channels__secondary {
		gap: 20px;
		padding-left: 32px;
	}

	.sv-channels__primary-item {
		padding-inline: 24px;
	}

	.sv-channels__secondary-logos {
		gap: 18px;
	}
}

/* ── 1024px — compress tight grids ── */
@media (max-width: 1024px) {
	.sv-core__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.sv-challenges__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.sv-process__track {
    	grid-template-columns: repeat(3, 1fr);
    }

	.sv-process__track::before {
		top: 22px;
		left: calc(100% / 6);
		right: calc(100% / 6);
	}

	.sv-why__inner {
		gap: 56px;
	}
}

/* ── 900px — stack two-col sections ── */
@media (max-width: 900px) {

	.sv-hero__heading {
		font-size: 38px;
	}

	/* CHANNELS */

	.sv-channels__inner {
		flex-direction: column;
		gap: 32px;
	}

	.sv-channels__divider {
		width: 100%;
		height: 1px;
		margin-block: 0;
	}

	.sv-channels__primary {
		width: 100%;
		justify-content: center;
		align-items: center;
		flex-wrap: nowrap;
		gap: 0;
	}

	.sv-channels__primary-item {
		flex: 1;
		max-width: 180px;
		padding-inline: 20px;
		padding-block: 12px;
	}

	.sv-channels__primary-item img {
		height: 70px;
		width: auto;
		max-width: 100%;
	}

	.sv-channels__secondary {
		display: flex;
		flex: 1;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		padding-left: 0;
		gap: 16px;
	}

	.sv-channels__secondary-logos {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-wrap: nowrap;
		gap: 20px;
	}

	.sv-channels__secondary-logos img {
		height: 48px;
		width: auto;
	}

	.sv-channels__secondary-meta {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 4px;
		margin-left: 0;
		padding-left: 0;
		min-width: unset;
	}

	/* WHY */

	.sv-why__inner {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	/* CTA */

	.sv-cta-band__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 32px;
	}

	.sv-cta-band .btn--primary {
		width: 100%;
		justify-content: center;
	}

	/* PRICING */

	.sv-pricing-band__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}
}

/* ── 768px — collapse process to 2-col ── */
@media (max-width: 768px) {
	.sv-hero__heading {
		font-size: 32px;
	}

	.sv-hero__badge {
		padding-inline: 20px;
	}

	.sv-core__grid {
		grid-template-columns: 1fr;
	}

	.sv-challenges__grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	

	.sv-process__track {
    	grid-template-columns: repeat(2, 1fr);
    }
    
	.sv-process__track::before {
		display: none;
	}

	.sv-why__heading {
		font-size: 24px;
	}

	.sv-cta-band__heading {
		font-size: 24px;
	}
	
	.sv-process-step:last-child {
    	grid-column: 1 / -1;
    	max-width: 50%;
    	margin-inline: auto;
    }
    
    
}

/* ── 600px — single column final pass ── */
@media (max-width: 600px) {
    
    .eyebrow--centered {
    	text-align: center;
    }

	.sv-hero {
		padding-top: 40px;
		padding-bottom: 60px;
	}

	.sv-hero__heading {
		font-size: 28px;
	}

	/* Hero certifications */

    .sv-hero__badges {
    	display: none;
    }
    
    .sv-hero__badges-mobile {
    	display: block;
    	max-width: 620px;
    	margin-inline: auto;
    	margin-bottom: 36px;
    }

	/* CHANNELS */
	
	.sv-channels {
        padding-top: 0;
        padding-bottom: 40px;
    }

	.sv-channels__primary {
		width: 100%;
		justify-content: space-between;
		flex-wrap: nowrap;
		gap: 0;
	}

	.sv-channels__primary-item {
		flex: 1;
		padding-inline: 8px;
		padding-block: 12px;
	}

	.sv-channels__primary-item img {
		height: 48px;
		width: auto;
		max-width: 100%;
	}

	.sv-channels__secondary {
		padding-left: 0;
		width: 100%;
	}

	.sv-channels__secondary-logos {
		display: flex;
		flex-wrap: nowrap; /* ALWAYS ONE ROW */
		justify-content: center;
		align-items: center;
		gap: 12px;
		width: 100%;
	}

	.sv-channels__secondary-logos img {
		height: 32px;
		width: auto;
		max-width: 56px;
		flex-shrink: 1;
		min-width: 0;
	}

	.sv-channels__inner,
	.sv-channels__primary,
	.sv-channels__secondary,
	.sv-channels__secondary-logos {
		max-width: 100%;
		overflow-x: hidden;
	}
	
	/* Pricing Band */
	.sv-pricing-band {
        padding-top: 0;
        padding-bottom: 40px;
    }
    
    
    /* Why Elvara */
    .sv-why {
        padding-top: 0px;
        padding-bottom: 40px;
    }
    .sv-why__inner {
        grid-template-columns: 1fr;
        gap: 4px;
    }

	/* CHALLENGES */
    
    .sv-challenges {
        padding-top: 0px;
        padding-bottom: 40px;
    }
	.sv-challenges__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	/* PROCESS */
	.sv-process {
        padding-top: 0px;
        padding-bottom: 40px;
    }

	.sv-process__track {
		grid-template-columns: 1fr;
		gap: 32px;
		background-color: transparent;
		border: none;
	}

	.sv-process-step {
		border: 1px solid var(--color-border);
		border-radius: var(--radius-card);
		margin-top: 22px;
		padding-top: 52px;
	}
	
	.sv-process-step:last-child {
    	grid-column: auto;
    	max-width: 100%;
    	width: 100%;
    	margin-inline: 0;
    }
}