/* =====================================================================
   Top Grade Movers — pages/home.css
   Homepage (front-page.php) section styles only.
   ===================================================================== */

/* =========================================================
   1. HERO
   ========================================================= */
.hero {
	position: relative;
	background: var(--secondary-color);
	color: var(--text-color-light);
	overflow: hidden;
	padding-block: clamp(3.5rem, 6vw, 6rem);
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: var(--secondary-color);
}

.hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(var(--secondary-deep-rgb), .96) 0%, rgba(var(--secondary-deep-rgb), .82) 42%, rgba(var(--secondary-deep-rgb), .45) 100%);
}

.hero__container {
	position: relative;
	z-index: 2;
}

/* Figma's 80px column gap only fits once each column has room to breathe;
   below 1200px the existing .g-5 (48px) default takes over instead. */
@media (min-width: 1200px) {
	.hero__row {
		--bs-gutter-x: 80px;
	}
}

.hero__eyebrow {
	color: var(--primary-color);
}

.hero__title {
	font-weight: var(--font-weight-light);
	font-size: var(--h1-size);
	line-height: 1.02;
	letter-spacing: -.02em;
	color: var(--text-color-light);
	margin-bottom: var(--gap-lg);
}

.hero__title b,
.hero__title strong {
	font-weight: var(--font-weight-extrabold);
}

.hero__title .is-accent {
	color: var(--primary-color);
	font-weight: var(--font-weight-extrabold);
}

.hero__text {
	color: var(--text-color-light);
	font-size: 1.125rem;
	max-width: 560px;
	margin-bottom: var(--card-spacing);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--gap-md);
	margin-bottom: 2.75rem;
}

.hero__actions .tg-btn {
	padding: 1.25rem 2.75rem;
	font-size: var(--body-size);
	letter-spacing: .075em;
}

/* Hero stat trio */
.hero-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 3rem;
	padding-top: 2.3125rem;
	border-top: 1px solid rgba(var(--white-rgb), .12);
}

.hero-stat__num {
	font-family: var(--font-primary);
	font-weight: var(--font-weight-extrabold);
	font-size: 2.25rem;
	line-height: 1;
	color: var(--text-color-light);
}


.hero-stat__label {
	display: block;
	margin-top: .4rem;
	font-size: .72rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: rgba(var(--white-rgb), .6);
}

/* =========================================================
   2. QUOTE FORM CARD
   ========================================================= */
.quote-card {
	background: var(--background-color);
	border-radius: var(--radius-sm);
	box-shadow: 0 30px 60px -20px rgba(var(--black-rgb), .55);
	padding: clamp(1.75rem, 3vw, 2.5rem);
	position: relative;
	color: var(--text-color);
}

.quote-card__step {
	position: absolute;
	top: -16px;
	left: 2.25rem;
	background: var(--primary-color);
	color: var(--text-color-light);
	font-size: .7rem;
	font-weight: var(--font-weight-semibold);
	letter-spacing: .12em;
	text-transform: uppercase;
	padding: var(--gap-sm) .9rem;
	border-radius: var(--radius-sm);
}

.quote-card__title {
	font-size: 1.375rem;
	font-weight: var(--font-weight-extrabold);
	margin-bottom: .35rem;
	color: var(--heading-color);
}

.quote-card__subtitle {
	font-size: var(--body-size-2xs);
	color: var(--text-muted-soft);
	margin-bottom: 1.5rem;
}

.quote-card .tg-label {
	font-size: .72rem;
	font-weight: var(--font-weight-semibold);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--heading-color);
	margin-bottom: .4rem;
}

.quote-card .tg-input {
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	padding: .8rem 1rem;
	font-size: .95rem;
	color: var(--heading-color);
}

.quote-card .tg-input::placeholder {
	color: var(--text-muted-on-dark);
}

.quote-card .tg-input:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 .2rem rgba(var(--primary-rgb), .15);
}

.quote-card__note {
	display: flex;
	align-items: center;
	gap: var(--gap-sm);
	font-size: .82rem;
	color: var(--muted-color);
	margin: 1.25rem 0 var(--gap-lg);
}

.quote-card__note svg {
	color: var(--primary-color);
	flex: 0 0 auto;
}

.quote-card .tg-btn {
	width: 100%;
}

.quote-card__dots {
	display: flex;
	justify-content: center;
	gap: var(--gap-sm);
	margin-top: 1.25rem;
}

.wpcf7 .wpcf7-form p {
	margin: 20px 0;
}

.quote-card__dots span {
	width: 26px;
	height: 4px;
	border-radius: var(--radius-sm);
	background: var(--border-color);
}

.quote-card__dots span.is-active {
	background: var(--primary-color);
}
.quote-card.is-js .quote-step {
	display: none;
}

.quote-card.is-js .quote-step.is-active {
	display: block;
}

.quote-step:focus {
	outline: none;
}

.quote-card__nav {
	display: flex;
	gap: var(--gap-sm);
	align-items: center;
}


.quote-card__nav .tg-btn {
	width: auto;
}

.quote-card__back {
	flex: 0 0 auto;
	border: 1px solid var(--border-color);
	color: var(--heading-color);
	background: transparent;
}

.quote-card__back:hover,
.quote-card__back:focus-visible {
	border-color: var(--primary-color);
	color: var(--primary-color);
}


.quote-card__next,
.quote-card__nav .wpcf7-submit {
	flex: 1 1 auto;
}


.quote-card .tg-btn--primary:hover {
	--bs-btn-hover-bg: #000;
	--bs-btn-hover-border-color: #000;
	color: var(--text-color-light);
}


.tg-choice .wpcf7-list-item {
	margin: 0;
}

.tg-choice {
	display: flex;
	flex-wrap: wrap;
	gap: var(--gap-sm);
}

.tg-choice .wpcf7-list-item label {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	margin: 0;
	padding: .55rem .9rem;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	font-size: .85rem;
	color: var(--heading-color);
	cursor: pointer;
	transition: border-color var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.tg-choice .wpcf7-list-item label:hover {
	border-color: var(--primary-color);
}


.tg-choice .wpcf7-list-item input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.tg-choice .wpcf7-list-item input:checked + span {
	color: inherit;
}

.tg-choice .wpcf7-list-item label:has(input:checked) {
	border-color: var(--primary-color);
	background: rgba(var(--primary-rgb), .08);
	color: var(--primary-color);
	font-weight: var(--font-weight-semibold);
}

/* Focus ring has to live on the chip since the real input is visually hidden. */
.tg-choice .wpcf7-list-item label:has(input:focus-visible) {
	outline: 2px solid var(--primary-color);
	outline-offset: 2px;
}

/* Unanswered required group — set by home.js, cleared on first change. CF7
   requires every radio group but can't mark it via HTML5 validation. */
.tg-choice.is-missing .wpcf7-list-item label {
	border-color: var(--primary-color);
}

.quote-card select.tg-input {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--heading-color) 50%), linear-gradient(135deg, var(--heading-color) 50%, transparent 50%);
	background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding-right: 2.25rem;
}

.quote-card textarea.tg-input {
	min-height: 5.5rem;
	resize: vertical;
}

.sp-form-status {
	font-size: .9rem;
	margin-top: 1rem;
}

.sp-form-status[data-state="error"] {
	color: var(--state-error);
}

.custom-column-gap {
	--bs-gutter-x: 1.5rem;
}

/* =========================================================
   3. TRUST / WELCOME (dark)
   Section shell `.section-dark` lives in components/sections.css.
   ========================================================= */
.trust__heading {
	color: var(--text-color-light);
	font-weight: var(--font-weight-extrabold);
	font-size: clamp(2rem, 4.5vw, 4rem);
	line-height: 1.05;
}

.trust__body p {
	color: var(--dark-text);
	margin-bottom: 1.25rem;
}

.trust__body p:last-child {
	margin-bottom: 0;
}

.trust__body b,
.trust__body strong {
	color: var(--text-color-light);
}

.trust__body .is-accent {
	color: var(--primary-color);
	font-weight: var(--font-weight-bold);
}

/* =========================================================
   4. WHY CHOOSE US (light)
   Section shell `.section-light` lives in components/sections.css.
   ========================================================= */
.why__heading {
	font-weight: var(--font-weight-extrabold);
	font-size: clamp(2rem, 4.5vw, 4rem);
	line-height: 1.02;
	color: var(--heading-color);
}

.why__heading .text-outline {
	color: var(--heading-color);
}

.why__body p {
	margin-bottom: 1.25rem;
}

.why__body .is-accent {
	color: var(--primary-color);
	font-weight: var(--font-weight-bold);
}

.why__body .why__focus {
	font-weight: var(--font-weight-bold);
	color: var(--heading-color);
}

/* =========================================================
   5. MISSION / VISION + 6. STATS BAR
   Both now live in components/sections.css (shared with the About
   page): `.mv-*`, `.mv-divider`, `.stats-bar`, `.stat-item`.
   ========================================================= */

/* =========================================================
   7. SERVICES (orange bg, accordion)
   ========================================================= */
.services {
	background: var(--primary-color);
	color: var(--text-color-light);
	padding-block: var(--section-spacing);
	position: relative;
	overflow: hidden;
}

.services__ring {
	position: absolute;
	width: 660px;
	height: 660px;
	border-radius: var(--radius-full);
	border: 80px solid rgba(var(--white-rgb), .05);
	right: -150px;
	top: -150px;
	pointer-events: none;
}

/* Second, smaller ring — bottom-left, darker tint. */
.services::after {
	content: "";
	position: absolute;
	width: 430px;
	height: 430px;
	border-radius: var(--radius-full);
	border: 40px solid rgba(var(--black-rgb), .06);
	left: -100px;
	bottom: -100px;
	pointer-events: none;
}

.services__container {
	position: relative;
	z-index: 1;
}

.services__eyebrow {
	color: var(--text-color-light);
}

.services__heading {
	font-weight: var(--font-weight-extrabold);
	font-size: clamp(2.5rem, 4.7vw, 4.125rem);
	letter-spacing: -.025em;
	line-height: 1;
	color: var(--text-color-light);
}

.services__heading .text-outline {
	color: var(--text-color-light);
}

.services__intro {
	color: rgba(var(--white-rgb), .9);
	font-size: var(--body-size);
	line-height: 1.8;
}

/* Accordion */
.svc-accordion {
	display: flex;
	flex-direction: column;
	gap: var(--gap-lg);
}

.svc-item {
	background: rgba(var(--black-rgb), .18);
	border: 1px solid rgba(var(--white-rgb), .12);
	border-radius: var(--radius-4);
	overflow: hidden;
}

.svc-item__header {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 1.75rem 1.5rem;
	background: transparent;
	border: 0;
	text-align: left;
	color: var(--text-color-light);
	cursor: pointer;
}

.svc-item__index {
	font-weight: var(--font-weight-semibold);
	font-size: .6875rem;
	letter-spacing: .2em;
	color: rgba(var(--white-rgb), .6);
	flex: 0 0 auto;
}

.svc-item__title {
	font-weight: var(--font-weight-bold);
	font-size: 1.0625rem;
	color: var(--text-color-light);
	margin: 0;
	flex: 1;
}

.svc-item__toggle {
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	border-radius: var(--radius-full);
	background: rgba(var(--white-rgb), .12);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color var(--transition-base), transform var(--transition-base);
}

.services .eyebrow--line::before {
    background: white;
}

/* Base chevron points up; closed items show it pointing down, open items up. */
.svc-item__toggle svg {
	width: 14px;
	height: 14px;
	transform: rotate(180deg);
	transition: transform var(--transition-slow);
}

.svc-item.is-open .svc-item__toggle {
	background: var(--black);
}

.svc-item.is-open .svc-item__toggle svg {
	transform: rotate(0deg);
}

.svc-item__body {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows .35s ease;
}

.svc-item.is-open .svc-item__body {
	grid-template-rows: 1fr;
}

.svc-item__body-inner {
	overflow: hidden;
}

.svc-list {
	list-style: none;
	margin: 0;
	padding: 0 1.5rem 1.375rem;
}

.svc-list li {
	position: relative;
	padding-left: 1.125rem;
	margin-bottom: .625rem;
	color: rgba(var(--white-rgb), .92);
	font-size: .84375rem;
	line-height: 1.55;
}

.svc-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .5em;
	width: 8px;
	height: 8px;
	background: var(--text-color-light);
	transform: rotate(45deg);
}

.svc-list li b {
	color: var(--text-color-light);
	font-weight: var(--font-weight-bold);
}

/* Custom card */
.svc-custom {
	border: 2px dashed rgba(var(--white-rgb), .25);
	border-radius: var(--radius-4);
	padding: 20px 2rem;
	text-align: center;
}

.svc-custom__title {
	font-weight: var(--font-weight-extrabold);
	font-size: 1.875rem;
	color: var(--text-color-light);
	margin-bottom: var(--gap-sm);
}

.svc-accordion .contact-us-btn {
	padding: 20px;
}

.svc-custom__text {
	color: rgba(var(--white-rgb), .9);
	margin-bottom: 1.75rem;
}

.services__actions .tg-btn {
	padding: 1.28rem 2.75rem;
}

.services__actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: var(--gap-md);
	margin-top: 3rem;
}

/* =========================================================
   8. PROCESS + 9. CTA BAND
   Both now live in components/sections.css (shared with the About
   page): `.process*`, `.process-connector`, `.cta-band*`.
   ========================================================= */
