/**
 * ExoMind Landing Page – design aligned with exomindscottsdale.com
 * Enqueued by template-exomind-landing.php
 */

/* ----- Base & container ----- */
#exomind-landing.exomind-landing {
	margin: 0;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, sans-serif;
	font-size: 17px;
	line-height: 1.65;
	color: #333;
}
.exomind-landing .exomind-section {
	margin: 0;
	padding: 4.5rem 0;
}
.exomind-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

/* ----- Section titles (Scottsdale: centered, clear hierarchy) ----- */
.exomind-section-title {
	margin: 0 0 1.25rem;
	font-size: clamp(1.75rem, 3.5vw, 2.25rem);
	font-weight: 700;
	color: #211E1F;
	line-height: 1.3;
	text-align: center;
	position: relative;
	padding-bottom: 0.75rem;
}
.exomind-section-title::after {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	background: #BF1F2D;
	margin: 0.75rem auto 0;
	border-radius: 2px;
}
.exomind-lead {
	margin: 0 0 1.25rem;
	font-size: 1.1rem;
	line-height: 1.7;
	color: #555555;
	text-align: center;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}
.exomind-para {
	margin: 0 0 1rem;
	line-height: 1.7;
	color: #555555;
}

/* ----- Section grid (image + content) ----- */
.exomind-section-grid {
	display: block;
}
.exomind-section-grid.exomind-has-image {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}
.exomind-section-grid.exomind-has-image .exomind-section-title { text-align: left; }
.exomind-section-grid.exomind-has-image .exomind-section-title::after { margin-left: 0; margin-right: auto; }
.exomind-section-grid.exomind-has-image .exomind-lead { text-align: left; margin-left: 0; margin-right: 0; }
.exomind-section-media {
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.exomind-section-media img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	min-height: 280px;
}
.exomind-section-media--top {
	grid-column: 1 / -1;
	max-width: 800px;
	margin: 0 auto 2rem;
}
.exomind-section-media--top img { min-height: 240px; }

/* ----- Hero (Scottsdale: full-bleed slider, centered overlay, two CTAs) ----- */
.exomind-hero {
	position: relative;
	width: 100%;
	min-height: 85vh;
	overflow: hidden;
}
.exomind-hero-tms-banner {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 3;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	text-align: center;
	padding: 0.6rem 1rem;
	font-size: 0.875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 500;
}
.exomind-hero-media {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.exomind-hero-media .exomind-hero-video,
.exomind-hero-media .exomind-hero-fallback {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.exomind-hero-media .exomind-hero-video {
	/* autoplay with muted required for most browsers */
}
.exomind-hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.65) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 2rem;
}
.exomind-hero-inner {
	max-width: 720px;
}
.exomind-hero-title {
	margin: 0 0 0.85rem;
	color: #fff;
	font-size: clamp(1.85rem, 4.5vw, 3rem);
	font-weight: 700;
	line-height: 1.2;
	text-shadow: 0 2px 8px rgba(0,0,0,0.35);
	letter-spacing: -0.02em;
}
.exomind-hero-sub {
	margin: 0 0 1.75rem;
	color: rgba(255,255,255,0.95);
	font-size: clamp(1.05rem, 2.2vw, 1.25rem);
	line-height: 1.5;
}
.exomind-hero-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
}
.exomind-btn {
	display: inline-block;
	padding: 0.9rem 1.85rem;
	border-radius: 4px;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	transition: opacity 0.2s, transform 0.2s, background 0.2s, color 0.2s;
}
.exomind-btn:hover {
	opacity: 0.95;
	transform: translateY(-1px);
}
.exomind-btn-primary {
	background: #BF1F2D;
	color: #fff;
	border: 2px solid #BF1F2D;
}
.exomind-btn-primary:hover {
	background: #9e1924;
	border-color: #9e1924;
	color: #fff;
}
.exomind-btn-secondary {
	background: transparent;
	color: #fff;
	border: 2px solid #fff;
}
.exomind-btn-secondary:hover {
	background: rgba(255,255,255,0.15);
	color: #fff;
	border-color: #fff;
}

/* ----- Quick Links (Scottsdale: below hero, horizontal pills) ----- */
.exomind-quick-links {
	background: #f5f2ed;
	padding: 2rem 1rem;
	border-bottom: 1px solid rgba(0,0,0,0.06);
}
.exomind-quick-heading {
	margin: 0 0 1.25rem;
	text-align: center;
	font-size: 1.35rem;
	font-weight: 600;
	color: #211E1F;
}
.exomind-quick-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}
.exomind-quick-btn {
	display: inline-block;
	padding: 0.65rem 1.2rem;
	background: #BF1F2D;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	font-size: 0.9rem;
	font-weight: 500;
	transition: background 0.2s, color 0.2s;
}
.exomind-quick-btn:hover {
	background: #9e1924;
	color: #fff;
}

/* ----- Alternating section backgrounds (Scottsdale) ----- */
.exomind-intro { background: #fff; }
.exomind-key-benefits {
    background: hsl(40 20% 94% / 1);
}.exomind-royal-benefits { background: #fff; }

/* Key Benefits: 50/50 image + text row, then cards full width */
.exomind-key-benefits__top {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: start;
	margin-bottom: 2rem;
}
@media (min-width: 768px) {
	.exomind-key-benefits__top {
		grid-template-columns: 1fr 1fr;
		gap: 2.5rem;
		align-items: center;
	}
}
.exomind-key-benefits__media {
	min-width: 0;
}
.exomind-key-benefits__media .exomind-section-media {
	margin: 0;
	max-width: 100%;
}
.exomind-key-benefits__media .exomind-section-media img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	min-height: 200px;
}
.exomind-key-benefits__title {
	text-align: left;
	margin-bottom: 1rem;
}
.exomind-key-benefits__title::after {
	margin: 0.75rem 0 0;
}
.exomind-key-benefits__intro {
	text-align: left;
	margin-bottom: 0;
}

.exomind-brain-injury { background: #fff; }
.exomind-safety { background: #f9f8f6; }
.exomind-how { background: #fff; }
.exomind-results { background: #f9f8f6; }
.exomind-conditions { background: #fff; }
.exomind-before-after { background: #f9f8f6; }
.exomind-testimonial { background: #fff; }
.exomind-faqs { background: #fff; }
.exomind-quiz { background: #f5f2ed; }
.exomind-compare { background: #fff; }
.exomind-cta { background: #f9f8f6; }

/* ----- Benefit cards (Scottsdale: Key Benefits list style) ----- */
.exomind-benefit-list,
.exomind-bullets {
	margin: 0.5rem 0 1rem;
	padding-left: 1.5rem;
	color: #555555;
	line-height: 1.75;
}
.exomind-benefit-list li,
.exomind-bullets li {
	margin-bottom: 0.75rem;
}
.exomind-benefit-list strong {
	color: #211E1F;
}
.exomind-benefit-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1.5rem;
	margin-top: 1.5rem;
}
.exomind-benefit-card {
	background: #fff;
	border-radius: 6px;
	padding: 1.5rem 1.75rem;
	box-shadow: 0 1px 8px rgba(0,0,0,0.06);
	border-left: 4px solid #BF1F2D;
	transition: box-shadow 0.2s;
}
.exomind-benefit-card:hover {
	box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.exomind-benefit-card-title {
	margin: 0 0 0.5rem;
	font-size: 1.1rem;
	font-weight: 700;
	color: #211E1F;
	line-height: 1.3;
}
.exomind-benefit-card-text {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.65;
	color: #555555;
}

/* ----- Comparison table (Scottsdale: EXOMIND vs others) ----- */
.exomind-compare .exomind-lead {
	margin-bottom: 2rem;
}
.exomind-table-wrap {
	overflow-x: auto;
	margin: 2rem 0;
	border-radius: 6px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
	border: 1px solid #e5e5e5;
}
.exomind-compare-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
	background: #fff;
}
.exomind-compare-table th,
.exomind-compare-table td {
	padding: 0.85rem 1rem;
	text-align: left;
	border-bottom: 1px solid #eee;
}
.exomind-compare-table thead th {
	background: #BF1F2D;
	color: #fff;
	font-weight: 600;
	border-bottom: none;
}
.exomind-compare-table thead th:first-child {
	border-radius: 6px 0 0 0;
}
.exomind-compare-table thead th:last-child {
	border-radius: 0 6px 0 0;
}
.exomind-compare-table tbody tr:nth-child(even) {
	background: #fafafa;
}
.exomind-compare-table tbody tr:last-child td {
	border-bottom: none;
}
.exomind-compare-table td:first-child {
	font-weight: 600;
	color: #211E1F;
}
.exomind-compare-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
	margin-top: 2rem;
}
.exomind-compare-ctas .exomind-btn-secondary {
	color: #BF1F2D;
	border-color: #BF1F2D;
	background: transparent;
}
.exomind-compare-ctas .exomind-btn-secondary:hover {
	background: rgba(191, 31, 45, 0.08);
	color: #BF1F2D;
}

/* ----- Quiz (Scottsdale: card, progress, steps) ----- */
.exomind-quiz-container {
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
}
.exomind-quiz .exomind-section-title::after { margin-bottom: 0; }
.exomind-quiz-steps {
	background: #fff;
	border-radius: 8px;
	padding: 2rem;
	box-shadow: 0 2px 16px rgba(0,0,0,0.08);
	border: 1px solid #e8e6e1;
	margin-top: 1.5rem;
}
.exomind-quiz-progress {
	height: 5px;
	background: #e8e4dd;
	border-radius: 3px;
	margin-bottom: 2rem;
	overflow: hidden;
}
.exomind-quiz-progress-bar {
	height: 100%;
	background: #BF1F2D;
	border-radius: 3px;
	transition: width 0.35s ease;
}
.exomind-quiz-step {
	animation: exomind-fadeIn 0.3s ease;
}
@keyframes exomind-fadeIn {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}
.exomind-quiz-fieldset {
	border: none;
	padding: 0;
	margin: 0 0 1.5rem;
}
.exomind-quiz-legend {
	font-size: 1.1rem;
	font-weight: 600;
	color: #211E1F;
	margin-bottom: 1rem;
	line-height: 1.4;
	display: block;
}
.exomind-quiz-hint {
	font-weight: 400;
	color: #555555;
	font-size: 0.9rem;
}
.exomind-quiz-options {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}
.exomind-quiz-option {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	cursor: pointer;
	font-size: 1rem;
	color: #555555;
	line-height: 1.4;
	padding: 0.6rem 0.9rem;
	border-radius: 6px;
	background: #f9f8f6;
	border: 2px solid transparent;
	transition: background 0.2s, border-color 0.2s;
}
.exomind-quiz-option:hover {
	background: #f0ede8;
}
.exomind-quiz-option:has(input:checked) {
	border-color: #BF1F2D;
	background: rgba(191, 31, 45, 0.06);
}
.exomind-quiz-option input {
	margin: 0;
	flex-shrink: 0;
}
.exomind-quiz-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid #e8e4dd;
}
.exomind-quiz-step--form .exomind-quiz-form {
	margin-top: 1rem;
}
.exomind-quiz-form .gform_wrapper {
	display: block !important;
}
.exomind-quiz-form .gfield_label {
	font-weight: 600;
	color: #211E1F;
	margin-bottom: 0.35rem;
}
.exomind-form-note {
	margin-bottom: 1rem;
	font-style: italic;
	color: #555555;
}

/* ----- CTA (Scottsdale: centered, phone + button) ----- */
.exomind-cta .exomind-container {
	text-align: center;
}
.exomind-cta .exomind-section-title::after { margin-bottom: 0; }
.exomind-cta .exomind-para {
	text-align: center;
	max-width: 680px;
	margin-left: auto;
	margin-right: auto;
}
.exomind-cta-phone {
	margin: 1.25rem 0;
	font-size: 1.2rem;
}
.exomind-cta-phone a {
	color: #BF1F2D;
	font-weight: 600;
	text-decoration: none;
}
.exomind-cta-phone a:hover {
	text-decoration: underline;
}
.exomind-cta .exomind-btn-primary {
	margin-top: 0.5rem;
}

/* ----- Key Benefits at Royal Spine Surgery (icon cards) ----- */
.exomind-royal-benefits__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin-top: 1.5rem;
}
.exomind-royal-benefits__card {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	background: #fff;
	border-radius: 10px;
	padding: 1.25rem;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-left: 4px solid #BF1F2D;
}
.exomind-royal-benefits__img {
	margin: 0;
	flex-shrink: 0;
	width: 80px;
	height: 80px;
}
.exomind-royal-benefits__img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}
.exomind-royal-benefits__content {
	flex: 1;
	min-width: 0;
}
.exomind-royal-benefits__title {
	margin: 0 0 0.4rem;
	font-size: 1.1rem;
	font-weight: 700;
	color: #211E1F;
	line-height: 1.3;
}
.exomind-royal-benefits__text {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #555555;
}

/* ----- Before & After (one image per row, no red overlay) ----- */
.exomind-before-after__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin-top: 1.5rem;
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}
.exomind-before-after__card {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
	border: 1px solid rgba(0, 0, 0, 0.06);
}
.exomind-before-after__card img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

/* ----- Patient testimonial (full width, video centered) ----- */
.exomind-testimonial {
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}
.exomind-testimonial__inner {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 4.5rem 1.5rem;
	text-align: center;
}
.exomind-testimonial__title {
	margin-bottom: 2rem;
}
.exomind-testimonial__video-wrap {
	max-width: 900px;
	margin: 0 auto;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
	background: #000;
}
.exomind-testimonial__video {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: middle;
}

/* ----- FAQs accordion (white + red) ----- */
.exomind-faq-accordion {
	max-width: 720px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}
.exomind-faq-item {
	margin-bottom: 0;
	border: 1px solid rgba(191, 31, 45, 0.2);
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.exomind-faq-item + .exomind-faq-item {
	margin-top: 0.75rem;
}
.exomind-faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 1rem 1.25rem;
	font-size: 1.05rem;
	font-weight: 600;
	color: #211E1F;
	background: #fff;
	cursor: pointer;
	list-style: none;
	transition: background 0.2s, color 0.2s;
}
.exomind-faq-question::-webkit-details-marker,
.exomind-faq-question::marker {
	display: none;
}
.exomind-faq-question::after {
	content: '';
	flex-shrink: 0;
	width: 0.5rem;
	height: 0.5rem;
	border-right: 2px solid #BF1F2D;
	border-bottom: 2px solid #BF1F2D;
	transform: rotate(45deg);
	transition: transform 0.2s;
}
.exomind-faq-item[open] .exomind-faq-question {
	background: #BF1F2D;
	color: #fff;
	border-bottom: 1px solid rgba(191, 31, 45, 0.15);
}
.exomind-faq-item[open] .exomind-faq-question::after {
	border-color: #fff;
	transform: rotate(-135deg);
}
.exomind-faq-question:hover {
	background: #f9f8f6;
}
.exomind-faq-item[open] .exomind-faq-question:hover {
	background: #a61b28;
}
.exomind-faq-answer {
	padding: 1.25rem 1.25rem 1.5rem;
	background: #fff;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	font-size: 1rem;
	line-height: 1.65;
	color: #555555;
}
.exomind-faq-answer p {
	margin: 0 0 0.75rem;
}
.exomind-faq-answer p:last-child {
	margin-bottom: 0;
}
/* legacy flat FAQ content (if used elsewhere) */
.exomind-faqs-content p {
	margin-bottom: 1rem;
}
.exomind-faqs-content strong {
	color: #211E1F;
	display: block;
	margin-top: 1rem;
}
.exomind-faqs-content strong:first-child {
	margin-top: 0;
}

/* ----- Responsive (Scottsdale-style stacking) ----- */
@media (max-width: 768px) {
	.exomind-hero { min-height: 70vh; }
	.exomind-hero-ctas { flex-direction: column; }
	.exomind-hero-title { font-size: 1.75rem; }
	.exomind-quick-nav { flex-direction: column; align-items: stretch; }
	.exomind-quick-btn { text-align: center; }
	.exomind-landing .exomind-section { padding: 3rem 0; }
	.exomind-section-grid.exomind-has-image {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
	.exomind-section-grid.exomind-has-image .exomind-section-title { text-align: center; }
	.exomind-section-grid.exomind-has-image .exomind-section-title::after { margin-left: auto; margin-right: auto; }
	.exomind-section-grid.exomind-has-image .exomind-lead { text-align: center; margin-left: auto; margin-right: auto; }
	.exomind-section-media--top { margin-bottom: 1rem; }
	.exomind-benefit-cards { grid-template-columns: 1fr; }
	.exomind-table-wrap { margin: 1rem 0; }
	.exomind-compare-table th,
	.exomind-compare-table td { padding: 0.6rem 0.75rem; font-size: 0.85rem; }
	.exomind-compare-ctas { flex-direction: column; }
}

section#conditions .exomind-section-media {
    box-shadow: none ! Important;
}

section#brain-injury .exomind-section-media {
    box-shadow: none ! Important;
}

.exomind-testimonial__inner {
    background: #f9f8f6!important;
}

/* Mobile: force video to cover entire hero section */
@media (max-width: 768px) {
	.exomind-hero {
		min-height: 70vh;
		height: 70vh;
	}
	.exomind-hero-media {
		overflow: hidden;
	}
	.exomind-hero-media .exomind-hero-video {
		top: 50%;
		left: 50%;
		width: auto;
		height: auto;
		min-width: 100%;
		min-height: 100%;
		transform: translate(-50%, -50%);
		object-fit: cover;
		object-position: center;
	}
}

section#testimonial {
    padding: 0;
}