/* ==========================================================================
   ELVARA FINANCE — home.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 home.php.
   ========================================================================== */


/* ==========================================================================
   1. HERO
   ========================================================================== */

.hero {
	padding-top: 40px;
	padding-bottom: 80px;
	overflow: hidden;
}

.hero__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 40px;
}

.hero__copy {
	display: flex;
	flex-direction: column;
}

.hero__eyebrow {
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 4px;
}

.hero__heading {
	font-size: 44px;
	font-weight: 600;
	line-height: 1.15;
	margin-bottom: 12px;
}

.hero__subheading {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
	margin-bottom: 12px;
}

.hero__body {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.65;
	margin-bottom: 24px;
}

.hero__badges {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 24px;
	margin-bottom: 28px;
}

.hero__badge {
	display: flex;
	align-items: center;
}

.hero__badge img {
	height: 40px;
	width: auto;
	object-fit: contain;
}

.hero__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
}

.hero__visual {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.hero__visual-img {
	width: 100%;
	max-width: 560px;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 8px 40px rgba(22, 23, 72, 0.10);
}


/* ==========================================================================
   2. SERVICES OVERVIEW
   ========================================================================== */

.services-overview {
	padding-top: 0px;
	padding-bottom: 80px;
}

.services-overview__inner {
	display: grid;
	grid-template-columns: 260px 1fr;
	align-items: start;
	gap: 48px;
}

.services-overview__intro {
	display: flex;
	flex-direction: column;
}

.services-overview__eyebrow {
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 4px;
}

.services-overview__heading {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.25;
	margin-bottom: 12px;
}

.services-overview__body {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.65;
	margin-bottom: 24px;
}

.services-overview__cta {
	align-self: flex-start;
}

.services-overview__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

.service-card {
	background-color: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 12px;
	padding: 20px;
	transition: box-shadow var(--duration) var(--ease-out),
	            transform var(--duration) var(--ease-out);
}

.service-card:hover {
	box-shadow: 0 4px 24px rgba(22, 23, 72, 0.08);
	transform: translateY(-2px);
}

.service-card__header {
	flex-shrink: 0;
}

.service-card__icon img {
	width: 56px;
	height: 56px;
	object-fit: contain;
}

.service-card__content {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;
	gap: 0px;
}

.service-card__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
}

.service-card__number {
	flex-shrink: 0;
	align-self: flex-start;
}

.service-card__number {
    color: #198166;
	font-size: 20px;
	font-weight: 600;
	line-height: 1;
}

.service-card__title {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 4px;
}

.service-card__body {
	font-size: 15px;
	font-weight: 400;
	line-height: 1.6;
}


/* ==========================================================================
   3. COMPARISON TABLE
   ========================================================================== */

.comparison {
	padding-top: 0px;
	padding-bottom: 80px;
}

.comparison__inner {
	display: grid;
	grid-template-columns: 320px 1fr;
	align-items: start;
	gap: 120px;
}

.comparison__intro {
	display: flex;
	flex-direction: column;
}

.comparison__eyebrow {
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 16px;
}

.comparison__heading {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.25;
	margin-bottom: 14px;
}

.comparison__body {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.65;
}

.comparison__visual {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border-radius: 8px;
}

.comparison__img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
}


/* ==========================================================================
   4. TEAM
   ========================================================================== */

.team {
	padding-top: 0px;
	padding-bottom: 80px;
}

.team__inner {
	display: grid;
	grid-template-columns: 300px 1fr;
	align-items: start;
	gap: 40px;
}

.team__intro {
	display: flex;
	flex-direction: column;
	position: sticky;
	top: 100px;
}

.team__eyebrow {
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 16px;
}

.team__heading {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.25;
	margin-bottom: 12px;
}

.team__body {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.65;
}

.team__cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	align-items: stretch;
	gap: 20px;
}

.team-card {
	background-color: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
	display: flex;
	flex-direction: column;
	padding: 28px;
}

.team-card__number {
	display: block;
	font-size: 26px;
	font-weight: 600;
	line-height: 1;
	margin-bottom: 12px;
	color: var(--color-accent);
}

.team-card__title {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 4px;
}

.team-card__body {
	font-size: 15px;
	font-weight: 400;
	line-height: 1.6;
}


/* ==========================================================================
   5. DATA PROTECTION
   ========================================================================== */

.data-protection {
	padding-top: 0px;
	padding-bottom: 80px;
}

.data-protection__eyebrow {
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 4px;
}

.data-protection__inner {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	margin-top: 12px;
}

.data-protection__item {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 16px;
	padding-right: 20px;
}

.data-protection__item + .data-protection__item {
	border-left: 1px solid var(--color-border);
	padding-left: 40px;
	padding-right: 40px;
}

.data-protection__item:last-child {
	padding-right: 0;
}

.data-protection__icon {
	flex-shrink: 0;
	margin-top: 4px;
}

.data-protection__text {
	display: flex;
	flex-direction: column;
}

.data-protection__icon img {
	width: 80px;
	height: 80px;
	object-fit: contain;
}

.data-protection__title {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 4px;
}

.data-protection__body {
	font-size: 15px;
	font-weight: 400;
	line-height: 1.6;
}


/* ==========================================================================
   6. WHY FIRMS
   ========================================================================== */

.why-firms {
	padding-top: 80px;
	padding-bottom: 80px;
}

.why-firms__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: start;
	gap: 64px;
}

.why-firms__intro {
	display: flex;
	flex-direction: column;
}

.why-firms__eyebrow {
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 16px;
	color: var(--color-accent);
}

.why-firms__eyebrow::after  {
	background-color: var(--color-accent);
}

.why-firms__heading {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.25;
	margin-bottom: 16px;
}

.why-firms__body {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.65;
}

.why-firms__list {
	display: flex;
	flex-direction: column;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 18px;
}

.why-firms__item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.why-firms__check {
	flex-shrink: 0;
	margin-top: 2px;
	width: 22px;
	height: 22px;
}

.why-firms__item-text {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
}


/* ==========================================================================
   7. BUILT FOR
   ========================================================================== */

.built-for {
	border-top: 1px solid var(--color-border);
	padding-top: 80px;
	padding-bottom: 80px;
}

.built-for__eyebrow {
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 24px;
}

.built-for__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	margin-top: 24px;
}

.built-for__item {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 20px;
	padding-right: 40px;
}

.built-for__item + .built-for__item {
	border-left: 1px solid var(--color-border);
	padding-left: 40px;
	padding-right: 40px;
}

.built-for__item:last-child {
	padding-right: 0;
}

.built-for__icon {
	flex-shrink: 0;
	margin-top: 4px;
}

.built-for__icon img {
	width: 80px;
	height: 80px;
	object-fit: contain;
}

.built-for__text {
	display: flex;
	flex-direction: column;
}

.built-for__title {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 10px;
}

.built-for__body {
	font-size: 15px;
	font-weight: 400;
	line-height: 1.6;
}


/* ==========================================================================
   8. CTA BAND
   ========================================================================== */

.cta-band {
	padding-top: 72px;
	padding-bottom: 72px;
}

.cta-band__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.cta-band__copy {
	display: flex;
	flex-direction: column;
	max-width: 560px;
}

.cta-band__heading {
	font-size: 28px;
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: 12px;
}

.cta-band__body {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.65;
}

.cta-band .btn--primary {
	flex-shrink: 0;
	white-space: nowrap;
}


/* ==========================================================================
   9. RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
	.services-overview__inner,
	.team__inner {
		grid-template-columns: 280px 1fr;
		gap: 48px;
	}
}

@media (max-width: 900px) {
	.hero__inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.hero__visual {
		justify-content: center;
	}

	.hero__heading {
		font-size: 38px;
	}

	.services-overview__inner,
	.team__inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.services-overview__intro,
	.team__intro {
		position: static;
	}
	
	.comparison__inner {
    	grid-template-columns: 1fr;
    	gap: 40px;
    }
    
    .comparison__visual {
    	width: 100%;
    	overflow-x: visible;
    }
    
    .comparison__img {
    	width: 100%;
    	height: auto;
    	display: block;
    }

	.why-firms__inner {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.cta-band__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }
    
    .data-protection__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .data-protection__item + .data-protection__item {
        border-left: none;
        padding-left: 0;
        padding-right: 0;
    }
    
    .data-protection__item {
        padding-right: 0;
    }
    
    .built-for__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .built-for__item + .built-for__item {
        border-left: none;
        padding-left: 0;
        padding-right: 0;
    }
    
    .built-for__item {
        padding-right: 0;
    }

	.cta-band .btn--primary {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 768px) {
    .comparison__inner {
        grid-template-columns: 1fr;
        gap: 00px;
    }
    
    .comparison__eyebrow {
        font-size: 12px;
        font-weight: 600;
        margin-bottom: 4px;
    }
    
    .team__eyebrow {
        font-size: 12px;
        font-weight: 600;
        margin-bottom: 4px;
    }

	.team__cards {
		grid-template-columns: 1fr;
	}
	
	.services-overview__inner, .team__inner {
        grid-template-columns: 1fr;
        gap: 0px;
    }

	.data-protection__inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	
	.why-firms {
        padding-top: 40px;
        padding-bottom: 40px;
    }
	
	.why-firms__inner {
        grid-template-columns: 1fr;
        gap: 0px;
    }

	.built-for__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

@media (max-width: 600px) {
    .hero {
        padding-top: 40px;
        padding-bottom: 40px;
        overflow: hidden;
    }
	.hero__heading {
		font-size: 30px;
	}
	
	.services-overview__intro,
	.team__intro {
		position: static;
		margin-bottom: 24px;
	}
	
	.comparison__eyebrow {
        font-size: 12px;
        font-weight: 600;
        margin-bottom: 4px;
    }

	.services-overview__grid {
		grid-template-columns: 1fr;
	}

	.hero__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.hero__actions .btn {
		width: 100%;
		justify-content: center;
	}
	.services-overview {
        padding-top: 0px;
        padding-bottom: 40px;
    }
	
	/*Why Ecommerce Accounting is Different*/
	
	.comparison {
        padding-top: 0px;
        padding-bottom: 40px;
    }
	.comparison__inner {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    
    /*Team Who's Behind the Work*/
    
    .team {
        padding-top: 0px;
        padding-bottom: 40px;
    }
    
    .team__body {
        font-size: 16px;
        font-weight: 400;
        line-height: 1.65;
        margin-bottom: 0px;
    }
    .services-overview__inner, .team__inner {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    
    .data-protection {
        padding-top: 0px;
        padding-bottom: 40px;
    }
    
    .why-firms__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .built-for {
        border-top: 1px solid var(--color-border);
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
}