/* ==========================================================================
   Starting-price offers ($2,995 dental implants and clear aligners)
   Loaded per page from the "head" editable region of:
     index.html            #offers (two offer cards under the video hero)
     dental-implants.html  .offer-hero-line, #implants-offer, Cherry in #implants-financing
     clear-aligners.html   .offer-hero-line, #aligners-offer, Cherry in #aligners-financing
   Switch-off: remove those blocks and this file's <link>; nothing else depends on it.
   ========================================================================== */


/* Shared price typography
   ========================================================================== */

.offer-price {
	display: block;
	color: var(--client-primary);
	font-size: 2.25rem;
	font-weight: 300;
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.offer-asterisk {
	font-size: 0.55em;
	vertical-align: super;
	line-height: 0;
	margin-left: 0.05em;
}

.offer-fineprint {
	color: var(--client-text-dark);	/* #394149 on #e6f2fb = 9.11:1 */
	margin: 1rem 0 0;
	line-height: 1.4;
}

@media (min-width: 768px) {
	.offer-price {
		font-size: 3rem;
	}
}


/* Actions (phone + Weave consultation)
   ========================================================================== */

.offer-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 1.25rem;
}

/* platforma.css sets .btn { white-space: nowrap }; at 360px "Schedule a Free
   Consultation" (~296px at 1.25rem) exceeds the ~258px inside the panel, so
   let offer labels wrap inside the button. */
.offer-actions .btn {
	white-space: normal;
	line-height: 1.3;
	max-width: 100%;
}

@media (max-width: 575.98px) {
	.offer-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.offer-actions .btn {
		width: 100%;
	}
}


/* Homepage offer cards (#offers)
   Sits directly under #home-hero, whose curvy-bottom wave is white,
   so the section itself stays white and the cards carry the tint.
   ========================================================================== */

#offers {
	padding-top: 2.5rem;
	padding-bottom: 1rem;
}

#offers .offer-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background-color: var(--client-bg-light);
	border: 2px solid #e9ecef;
	border-top: 4px solid var(--client-accent);
	border-radius: 12px;
	padding: 2rem 1.5rem 1.5rem;
}

#offers .offer-card-title {
	margin: 0;
	font-weight: 300;
}

#offers .offer-eyebrow {
	display: block;
	color: var(--client-text-dark);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 0.75rem;
}

#offers .offer-from {
	display: block;
	color: var(--client-text-dark);
	font-size: 1.1rem;
	font-weight: 400;
	margin-bottom: 0.15rem;
}

#offers .offer-line {
	color: var(--client-text-dark);
	font-size: 1.1rem;
	margin: 0.75rem 0 0;
}

#offers .offer-learn {
	margin: 1rem 0 0;
}

#offers .offer-learn a {
	color: var(--client-primary);
	font-weight: 500;
	text-decoration: none;
}

#offers .offer-learn a:hover,
#offers .offer-learn a:focus {
	text-decoration: underline;
}

#offers .offer-fineprint {
	margin-top: auto;
	padding-top: 1rem;
}


/* Hub hero price line (#implants-hero / #aligners-hero)
   ID-scoped to beat "#implants-hero p" / "#aligners-hero p".
   ========================================================================== */

#implants-hero .offer-hero-line,
#aligners-hero .offer-hero-line {
	display: inline-block;
	color: white;
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	background-color: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 30px;
	padding: 0.4rem 1.25rem;
	margin: 0 0 1.5rem;
	max-width: 100%;
}

/* The hero buttons beside the price line: allow wrapping instead of overflow
   on narrow phones (platforma.css .btn is nowrap). */
#implants-hero .hero-content .btn,
#aligners-hero .hero-content .btn {
	white-space: normal;
	max-width: 100%;
}

@media (min-width: 768px) {
	#implants-hero .offer-hero-line,
	#aligners-hero .offer-hero-line {
		font-size: 1.2rem;
	}
}


/* Hub offer section (#implants-offer / #aligners-offer)
   Follows the tinted welcome banner, so it sits on white with a tinted panel.
   ========================================================================== */

.offer-section {
	padding-top: 3rem;
	padding-bottom: 1rem;
}

.offer-section .offer-panel {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
	background-color: var(--client-bg-light);
	border: 2px solid #e9ecef;
	border-top: 4px solid var(--client-accent);
	border-radius: 12px;
	padding: 2rem 1.5rem 1.5rem;
}

.offer-section .offer-section-title {
	margin: 0 0 0.75rem;
	font-size: 1.5rem;
	font-weight: 300;
}

.offer-section .offer-section-title .offer-price {
	margin-top: 0.25rem;
}

.offer-section .offer-lead {
	color: var(--client-text-dark);
	font-size: 1.1rem;
	margin: 0;
}

@media (min-width: 768px) {
	.offer-section .offer-panel {
		padding: 2.5rem 2.5rem 1.75rem;
	}

	.offer-section .offer-section-title {
		font-size: 1.75rem;
	}
}


/* Phone gutter: 16px sides for the offer blocks
   ========================================================================== */

@media (max-width: 575.98px) {
	#offers > .container,
	.offer-section > .container {
		padding-left: 16px;
		padding-right: 16px;
	}

	#offers .offer-card,
	.offer-section .offer-panel {
		padding-left: 1rem;
		padding-right: 1rem;
	}
}


/* Outline variant of the site button (homepage "Take the Quiz")
   ========================================================================== */

.btn-outline-primary.offer-btn-outline {
	background-color: transparent;
	border-color: var(--client-primary);
	color: var(--client-primary);
}

.btn-outline-primary.offer-btn-outline:hover,
.btn-outline-primary.offer-btn-outline:focus-visible {
	background-color: var(--client-primary);
	border-color: var(--client-primary);
	color: white;
}


/* Cherry in the hub financing rows (no logo asset: text wordmark)
   ========================================================================== */

.offer-cherry-wordmark {
	display: inline-block;
	color: var(--client-text-dark);
	font-size: 1.9rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1;
	text-decoration: none;
}

.offer-cherry-wordmark:hover,
.offer-cherry-wordmark:focus {
	color: var(--client-primary);
	text-decoration: none;
}
