/* =========================================================================
   About page (page-about.php) — light, warm, on-brand, retention-focused.
   The hero base comes from the theme's own `.page-hero` (css/pages.css); this
   stylesheet adds only the about-specific bits and keeps everything on the
   site color scheme via --ui-* / --bs-* variables (orange on this install).
   Sibling of css/financing.css.
   ====================================================================== */

/* ============================== HERO add-ons ============================== */
/* (.page-hero supplies the cream bg, orange accent bar, kicker, title, lede) */
.page-hero.about-hero { margin-bottom: 0; }

.about-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
}
.about-hero__grid--solo { grid-template-columns: 1fr; }
.about-hero__grid--solo .about-hero__content {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}
.about-hero__grid--solo .about-hero__cta,
.about-hero__grid--solo .about-hero__trust { justify-content: center; }
.about-hero__grid--solo .page-hero__lede { margin-left: auto; margin-right: auto; }

.about-hero__content { max-width: 620px; }

.about-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: .7rem;
	margin-top: 1.5rem;
}
.about-hero__cta .btn { display: inline-flex; align-items: center; gap: .5rem; }

.about-hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.4rem;
	margin: 1.4rem 0 0;
	padding: 0;
	list-style: none;
}
.about-hero__trust li {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	font-size: .92rem;
	font-weight: 600;
	color: var(--ui-ink-soft, #475569);
}
.about-hero__trust .bi { color: var(--ui-primary, #cf5b1f); font-size: 1rem; }

.about-hero__visual { display: flex; justify-content: center; }
.about-hero__visual img {
	width: 100%;
	max-width: 460px;
	border-radius: 20px;
	box-shadow: var(--ui-shadow-lift, 0 10px 25px -8px rgba(15, 23, 42, .15));
	object-fit: cover;
}

/* Shared section title nudge — beat the theme's large .section-title top margin
   so the page stays compact (same trick as financing.css). */
.about-story .section-title,
.about-why .section-title,
.about-pets .section-title,
.about-visit .section-title,
.about-faq .section-title { margin-top: .25rem !important; }

/* ============================== OUR STORY ============================== */
.about-story { padding: clamp(1.25rem, 2.8vw, 2.1rem) 0; background: var(--ui-surface, #fff); }
.about-story__head { max-width: 760px; margin: 0 auto 1.25rem; text-align: center; }
.about-story__lede {
	margin: .6rem auto 0;
	max-width: 720px;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--ui-ink-soft, #475569);
}
/* The existing editor content renders full-width inside .container, exactly
   as the page originally did — it carries its own headings/images/columns. */
.about-story__body.entry-page { padding: 0; }
.about-story__body .entry-content > :first-child { margin-top: 0; }

/* ======================= WHY FAMILIES CHOOSE US ======================= */
.about-why {
	padding: clamp(1.25rem, 2.8vw, 2.1rem) 0;
	background: var(--ui-surface-sunken, #f8fafc);
	border-top: 1px solid var(--ui-border, #e2e8f0);
	border-bottom: 1px solid var(--ui-border, #e2e8f0);
}
.about-why__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
	margin: 1.1rem 0 0;
	padding: 0;
	list-style: none;
}
.about-why__item {
	text-align: center;
	padding: 1.6rem 1.25rem;
	background: var(--ui-surface, #fff);
	border: 1px solid var(--ui-border, #e2e8f0);
	border-radius: var(--ui-radius, 14px);
	box-shadow: var(--ui-shadow-xs, 0 1px 2px rgba(15, 23, 42, .05));
}
.about-why__icon {
	display: inline-grid;
	place-items: center;
	width: 54px;
	height: 54px;
	margin-bottom: .75rem;
	border-radius: 50%;
	font-size: 1.5rem;
	color: var(--ui-primary, #cf5b1f);
	background: var(--ui-primary-soft, rgba(207, 91, 31, .08));
}
.about-why__title { margin: 0 0 .35rem; font-size: 1.08rem; font-weight: 800; color: var(--ui-ink, #0f172a); }
.about-why__text { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--ui-ink-soft, #475569); }

/* ============================= MEET OUR PETS ============================= */
.about-pets { padding: clamp(1.25rem, 2.8vw, 2.1rem) 0; background: var(--ui-surface, #fff); scroll-margin-top: 80px; }
.about-pets .section-title { margin-bottom: 1rem; }
.about-pets__more { margin-top: 1.5rem; text-align: center; }
.about-pets__more .btn { display: inline-flex; align-items: center; gap: .5rem; }

/* ================================ VISIT US ================================ */
.about-visit {
	padding: clamp(1.25rem, 2.8vw, 2.1rem) 0;
	background: var(--ui-surface-sunken, #f8fafc);
	border-top: 1px solid var(--ui-border, #e2e8f0);
	scroll-margin-top: 80px;
}
.about-visit__head { max-width: 720px; margin-bottom: 1.25rem; }
.about-visit__lede { margin: .5rem 0 0; font-size: 1.0625rem; line-height: 1.55; color: var(--ui-ink-soft, #475569); }
.about-visit__grid { display: grid; gap: 1.25rem; }
.about-visit__card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: clamp(1.25rem, 3vw, 2rem);
	align-items: center;
	padding: clamp(1.25rem, 3vw, 2rem);
	background: var(--ui-surface, #fff);
	border: 1px solid var(--ui-border, #e2e8f0);
	border-radius: 20px;
	box-shadow: var(--ui-shadow, 0 4px 14px rgba(15, 23, 42, .08));
}
.about-visit__name {
	display: flex;
	align-items: center;
	gap: .55rem;
	margin: 0 0 1rem;
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--ui-ink, #0f172a);
}
.about-visit__mark { width: 22px; height: 22px; flex: none; color: var(--ui-primary, #cf5b1f); }
.about-visit__row {
	display: flex;
	align-items: flex-start;
	gap: .65rem;
	margin: 0 0 .7rem;
	font-size: .98rem;
	line-height: 1.5;
	color: var(--ui-ink, #0f172a);
}
.about-visit__row .bi { margin-top: .2rem; color: var(--ui-primary, #cf5b1f); flex: none; }
.about-visit__row a { color: inherit; text-decoration: none; font-weight: 600; }
.about-visit__row a:hover { color: var(--ui-primary, #cf5b1f); }
.about-visit__hours span { color: var(--ui-ink-soft, #475569); font-size: .92rem; }
.about-visit__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1.1rem; }
.about-visit__actions .btn { display: inline-flex; align-items: center; gap: .5rem; }
.about-visit__social { display: inline-flex; gap: .65rem; }
.about-visit__social a {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	font-size: 1.05rem;
	color: var(--ui-primary, #cf5b1f);
	background: var(--ui-primary-soft, rgba(207, 91, 31, .08));
	transition: var(--ui-transition, 200ms ease);
}
.about-visit__social a:hover { color: #fff; background: var(--ui-primary, #cf5b1f); }
.about-visit__map .ratio { border-radius: var(--ui-radius, 14px); overflow: hidden; box-shadow: var(--ui-shadow-sm, 0 1px 3px rgba(15, 23, 42, .1)); }
.about-visit__map iframe { border: 0; width: 100%; height: 100%; }

/* ============================ GETTING STARTED ============================ */
.about-faq { padding: clamp(1.25rem, 2.8vw, 2.1rem) 0; background: var(--ui-surface, #fff); }
.about-faq__accordion { max-width: 820px; margin: 1.1rem auto 0; }
.about-faq .accordion-item {
	margin-bottom: .7rem;
	border: 1px solid var(--ui-border, #e2e8f0);
	border-radius: var(--ui-radius, 14px) !important;
	overflow: hidden;
	background: var(--ui-surface, #fff);
}
.about-faq .accordion-button {
	font-weight: 700;
	font-size: 1.02rem;
	color: var(--ui-ink, #0f172a);
	background: var(--ui-surface, #fff);
	padding: 1.05rem 1.2rem;
}
.about-faq .accordion-button:not(.collapsed) {
	color: var(--ui-primary, #cf5b1f);
	background: var(--ui-primary-soft, rgba(207, 91, 31, .08));
	box-shadow: none;
}
.about-faq .accordion-button:focus { border-color: transparent; box-shadow: 0 0 0 .2rem var(--ui-primary-soft, rgba(207, 91, 31, .15)); }
.about-faq .accordion-button::after {
	width: 1.1rem;
	height: 1.1rem;
	background-size: 1.1rem;
}
.about-faq .accordion-body { padding: 0 1.2rem 1.15rem; color: var(--ui-ink-soft, #475569); line-height: 1.6; }
.about-faq .accordion-body > :first-child { margin-top: 0; }
.about-faq .accordion-body > :last-child { margin-bottom: 0; }

/* ============================== FINAL CTA ============================== */
.about-cta { padding: clamp(1.4rem, 3vw, 2.4rem) 0; background: var(--ui-surface, #fff); }
.about-cta__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem 2.5rem;
	align-items: center;
	justify-content: space-between;
	padding: clamp(1.5rem, 3.5vw, 2.5rem);
	border-radius: 20px;
	background: linear-gradient(180deg, #ffffff 0%, #faf3ef 100%);
	border: 1px solid var(--ui-border, #e2e8f0);
	box-shadow: var(--ui-shadow-lift, 0 10px 25px -8px rgba(15, 23, 42, .15));
}
.about-cta__title { margin: 0 0 .4rem; font-size: clamp(1.35rem, 2.4vw, 1.9rem); font-weight: 800; color: var(--ui-ink, #0f172a); }
.about-cta__text { margin: 0; max-width: 52ch; line-height: 1.55; color: var(--ui-ink-soft, #475569); }
.about-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.about-cta__actions .btn { display: inline-flex; align-items: center; gap: .5rem; }
.about-cta__phone {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-weight: 700;
	color: var(--ui-ink, #0f172a);
	text-decoration: none;
}
.about-cta__phone .bi { color: var(--ui-primary, #cf5b1f); }
.about-cta__phone:hover { color: var(--ui-primary, #cf5b1f); }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 991px) {
	.about-hero__grid { grid-template-columns: 1fr; }
	.about-hero__content { max-width: none; }
	.about-hero__visual { order: -1; }
	.about-hero__visual img { max-width: 420px; }
	.about-visit__card { grid-template-columns: 1fr; }
	.about-visit__map { order: -1; }
	.about-cta__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 767px) {
	/* Trust band → smooth horizontal swipe so the page stays short (same
	   treatment as the financing steps). */
	.about-why__grid {
		display: flex;
		grid-template-columns: none;
		gap: .85rem;
		margin-top: 1.2rem;
		padding: 2px 2px .6rem;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-left: 2px;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.about-why__grid::-webkit-scrollbar { display: none; }
	.about-why__item { flex: 0 0 78%; scroll-snap-align: center; }
}

@media (max-width: 575px) {
	.about-hero__cta { gap: .6rem; }
	.about-hero__cta .btn { width: 100%; justify-content: center; }
	.about-visit__actions .btn { width: 100%; justify-content: center; }
	.about-cta__actions { width: 100%; }
	.about-cta__actions .btn { width: 100%; justify-content: center; }
}

/* Honor reduced-motion (the lazy map + accordion already respect it via Bootstrap). */
@media (prefers-reduced-motion: reduce) {
	.about-visit__social a { transition: none; }
}
