/*
Theme Name: Collin County Assisted Living
Theme URI: https://collincountyassistedliving.com/
Author: Optimum Solution
Author URI: https://optimsoln.com/
Description: Custom theme for Collin County Assisted Living in Anna, TX — a small, family-style residential care home. Creates all pages, SEO content, menus and starter blog posts on activation. Includes schedule-a-tour and contact forms, LocalBusiness / Service / FAQ structured data and per-page SEO fields.
Version: 1.1.2
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: ccal
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--green-900: #02362a;
	--green-800: #0b4535;
	--green-700: #135744;
	--sage: #6b8f71;
	--sage-300: #b9cdb9;
	--sage-100: #e6eee3;
	--sage-50: #f2f6f0;
	--gold: #a88431;
	--gold-500: #c39d47;
	--gold-200: #ead9ab;
	--gold-100: #f6eed8;
	--cream: #f8f4ec;
	--cream-200: #efe6d6;
	--white: #ffffff;
	--ink: #1d2a25;
	--ink-soft: #46554f;
	--line: #e3dccd;

	--font-head: "Lora", Georgia, "Times New Roman", serif;
	--font-body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

	--radius: 14px;
	--radius-lg: 24px;
	--shadow: 0 1px 2px rgba(2, 54, 42, 0.06), 0 8px 24px rgba(2, 54, 42, 0.07);
	--shadow-lg: 0 2px 6px rgba(2, 54, 42, 0.06), 0 20px 48px rgba(2, 54, 42, 0.12);
	--container: 1200px;
	--gutter: 20px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 18px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-900); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--green-900); line-height: 1.2; margin: 0 0 0.5em; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.65rem, 1.25rem + 1.6vw, 2.35rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--green-900); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.center { text-align: center; margin-top: 28px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { min-height: 58px; padding: 14px 30px; font-size: 1.06rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--green-900); color: #fff; }
.btn--primary:hover { background: var(--green-700); color: #fff; }
.btn--gold { background: var(--gold-500); color: var(--green-900); }
.btn--gold:hover { background: var(--gold-200); color: var(--green-900); }
.btn--ghost { background: transparent; color: var(--green-900); border-color: var(--green-900); }
.btn--ghost:hover { background: var(--green-900); color: #fff; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--outline-light:hover { background: #fff; color: var(--green-900); }

.eyebrow {
	display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
	font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold);
}

/* ==========================================================================
   Top bar + header
   ========================================================================== */
.topbar { background: var(--green-900); color: #dfe9e2; font-size: .9rem; }
.topbar__inner { display: flex; gap: 28px; align-items: center; justify-content: space-between; min-height: 40px; }
.topbar__item { display: flex; align-items: center; gap: 8px; margin: 0; }
.topbar__item .icon { color: var(--gold-200); flex: none; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
@media (max-width: 860px) { .topbar__item--hide-sm { display: none; } .topbar__inner { justify-content: center; } }

.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { flex: none; display: block; }
.brand img { width: 205px; height: auto; }
.header-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.header-phone { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-900); line-height: 1.2; }
.header-phone small { display: block; font-size: .75rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; }
.header-phone strong { font-size: 1rem; white-space: nowrap; }
.header-phone small { white-space: nowrap; }
.header-phone__icon { width: 38px; height: 38px; border-radius: 50%; background: var(--sage-100); display: grid; place-items: center; color: var(--green-900); }
.header-tour { min-height: 42px; padding: 8px 18px; font-size: .92rem; white-space: nowrap; }

.nav-toggle { display: none; background: var(--sage-100); color: var(--green-900); border: 0; width: 50px; height: 50px; border-radius: 12px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle__close { display: none; }

/* Desktop nav */
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.main-nav .menu > li { position: relative; }
.main-nav .menu a { display: block; white-space: nowrap; padding: 8px 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; border-radius: 8px; }
.main-nav .menu a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a, .main-nav .current_page_parent > a { color: var(--green-900); background: var(--sage-50); }
.main-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.main-nav .sub-menu { list-style: none; margin: 0; padding: 10px; position: absolute; left: 0; top: 100%; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { padding: 9px 14px; }
.main-nav__mobile-cta { display: none; }

@media (max-width: 1200px) {
	.header-phone > span:last-child { display: none; }
}
@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.header-tour { display: none; }
	.header-phone > span:last-child { display: block; }
	.main-nav { position: fixed; inset: 124px 0 0 0; background: #fff; padding: 20px var(--gutter) 120px; overflow-y: auto; display: none; z-index: 99; border-top: 1px solid var(--line); }
	.nav-open .main-nav { display: block; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: block; }
	.main-nav .menu { flex-direction: column; gap: 0; }
	.main-nav .menu > li { border-bottom: 1px solid var(--line); }
	.main-nav .menu a { padding: 15px 6px; font-size: 1.1rem; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px 14px; min-width: 0; }
	.main-nav .sub-menu a { padding: 10px 6px; font-weight: 600; font-size: 1.05rem; color: var(--ink-soft); }
	.main-nav .menu-item-has-children > a::after { display: none; }
	.main-nav__mobile-cta { display: grid; gap: 12px; margin-top: 24px; }
}
@media (max-width: 860px) { .main-nav { inset: 124px 0 0 0; } }
@media (max-width: 560px) {
	.brand img { width: 190px; }
	.site-header__inner { min-height: 76px; gap: 12px; }
	.main-nav { inset: 116px 0 0 0; }
	.header-phone > span:last-child { display: none; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section--white { background: #fff; }
.section--sage { background: var(--sage-100); }
.section-head { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.section-head p:last-child { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 0; }

/* Hero */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); background: linear-gradient(180deg, var(--cream) 0%, var(--sage-50) 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -180px; top: -160px; width: 560px; height: 560px; border-radius: 50%; background: var(--gold-100); opacity: .7; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero__lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 28px; }
.hero__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; font-size: .92rem; color: var(--green-900); }
.hero__chips .icon { color: var(--gold); }
.hero__media { position: relative; }
.hero__media > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 8px solid #fff; }
.hero__badge { position: absolute; left: 28px; bottom: -26px; display: flex; gap: 12px; align-items: center; background: #fff; padding: 14px 18px; border-radius: var(--radius); box-shadow: var(--shadow-lg); line-height: 1.3; font-size: .92rem; color: var(--ink-soft); }
.hero__badge strong { display: block; color: var(--green-900); font-size: 1rem; }
.hero__badge-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--green-900); color: var(--gold-200); }
@media (max-width: 920px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__media { max-width: 640px; }
	.hero__badge { left: 16px; bottom: -22px; }
	.hero__media { margin-bottom: 22px; }
}

/* Hero with background photo */
.hero--photo { background: var(--green-900); padding: clamp(88px, 12vw, 168px) 0 clamp(96px, 12vw, 176px); }
.hero--photo::before { display: none; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 40%; z-index: 0; }
.hero--photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(2, 40, 31, .92) 0%, rgba(2, 40, 31, .80) 38%, rgba(2, 40, 31, .30) 68%, rgba(2, 40, 31, .05) 100%); }
.hero--photo .hero__inner { position: relative; z-index: 2; grid-template-columns: minmax(0, 640px); }
.hero--photo h1 { color: #fff; }
.hero--photo .eyebrow { color: var(--gold-200); }
.hero--photo .hero__lead { color: #e4ece6; }
.hero--photo .hero__chips li { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); color: #fff; backdrop-filter: blur(4px); }
.hero--photo .hero__chips .icon { color: var(--gold-200); }
@media (max-width: 900px) {
	.hero--photo::after { background: linear-gradient(180deg, rgba(2, 40, 31, .78) 0%, rgba(2, 40, 31, .88) 100%); }
	.hero__bg { object-position: 60% center; }
}

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.feature__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--green-900); color: var(--gold-200); margin-bottom: 18px; }
.feature h3 { font-size: 1.25rem; }
.feature p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* Service cards */
.service-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 8px 0 8px; }
.service-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.service-card__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--sage-100); }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; }
.service-card__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 34px 22px 24px; }
.service-card__icon { position: absolute; top: -26px; left: 22px; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-500); color: var(--green-900); box-shadow: var(--shadow); }
.service-card__title { font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; color: var(--green-900); margin-bottom: 8px; }
.service-card__text { color: var(--ink-soft); font-size: 1rem; line-height: 1.6; flex: 1; }
.service-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; color: var(--green-700); font-size: .98rem; }
@media (max-width: 1100px) { .service-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .service-cards { grid-template-columns: 1fr; } }
.prose .service-cards { grid-template-columns: repeat(2, 1fr); margin: 32px 0 40px; }
@media (max-width: 600px) { .prose .service-cards { grid-template-columns: 1fr; } }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.split--reverse .split__media { order: 2; }
.split__copy > p { color: var(--ink-soft); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 38px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 26px; height: 26px; border-radius: 50%; background: var(--sage-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2302362A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4 10-10'/%3E%3C/svg%3E") center / 14px no-repeat; }
.checklist--2col { grid-template-columns: 1fr 1fr; column-gap: 28px; }
@media (max-width: 640px) { .checklist--2col { grid-template-columns: 1fr; } }

/* Compare table */
.compare { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.compare table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 1rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--green-900); color: #fff; font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; }
.compare thead th.compare__us { background: var(--gold-500); color: var(--green-900); }
.compare tbody th { font-weight: 700; color: var(--green-900); width: 26%; }
.compare td.compare__us { background: var(--gold-100); font-weight: 600; }
.compare tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 640px) { .compare table { min-width: 0; font-size: .92rem; } .compare th, .compare td { padding: 12px 10px; } .compare thead th { font-size: .95rem; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px 26px; }
.step__num { position: absolute; top: 18px; right: 22px; font-family: var(--font-head); font-size: 3rem; font-weight: 700; color: var(--gold-200); line-height: 1; }
.step__icon { width: 60px; height: 60px; border-radius: 50%; background: #fff; border: 2px solid var(--gold-200); display: grid; place-items: center; color: var(--green-900); margin-bottom: 16px; }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.prose .steps { grid-template-columns: 1fr; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.review { margin: 0; background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.review__stars { display: flex; gap: 2px; color: var(--gold); margin-bottom: 12px; }
.review__stars .icon { fill: currentColor; }
.review blockquote { margin: 0 0 16px; font-family: var(--font-head); font-style: italic; font-size: 1.12rem; color: var(--ink); }
.review figcaption strong { display: block; color: var(--green-900); }
.review figcaption span { color: var(--ink-soft); font-size: .95rem; }

/* FAQ */
.faq-list { margin: 0 0 40px; }
.prose .faq-list { margin-top: 44px; }
.faq-list__title { margin-bottom: 18px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; position: relative; font-weight: 700; font-size: 1.08rem; color: var(--green-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--sage-100); display: grid; place-items: center; font-size: 1.3rem; font-weight: 600; line-height: 1; }
.faq[open] summary::after { content: "–"; background: var(--gold-500); }
.faq summary:hover { background: var(--sage-50); }
.faq__answer { padding: 0 24px 6px; color: var(--ink-soft); }

/* Area chips + map */
.area-chips { list-style: none; padding: 0; margin: 20px 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.area-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--sage-50); border: 1px solid var(--sage-300); font-weight: 600; font-size: .95rem; color: var(--green-900); }
.area-chips .icon { color: var(--gold); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #fff; background: var(--sage-100); }
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; }
.prose .map-embed { margin: 32px 0; }

/* Blog cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; }
.post-card__img { display: block; aspect-ratio: 3/2; overflow: hidden; background: var(--sage-100); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card__img img { transform: scale(1.03); }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card__date { font-size: .85rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.post-card__title { font-size: 1.3rem; }
.post-card__title a { color: var(--green-900); text-decoration: none; }
.post-card__title a:hover { text-decoration: underline; }
.post-card__body > p { color: var(--ink-soft); font-size: 1rem; flex: 1; }
.post-card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; border-radius: 8px; background: #fff; border: 1px solid var(--line); text-decoration: none; }
.pagination .current { background: var(--green-900); color: #fff; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero { background: linear-gradient(180deg, var(--sage-50), var(--cream)); padding: clamp(36px, 5vw, 64px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero__inner { display: grid; gap: 40px; align-items: center; }
.page-hero--media .page-hero__inner { grid-template-columns: 1.15fr 1fr; }
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); margin-bottom: 16px; }
.page-hero__intro { font-size: 1.18rem; color: var(--ink-soft); max-width: 680px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.page-hero__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 6px solid #fff; aspect-ratio: 3/2; object-fit: cover; }
@media (max-width: 900px) { .page-hero--media .page-hero__inner { grid-template-columns: 1fr; } .page-hero__media { max-width: 560px; } }

.breadcrumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .92rem; color: var(--ink-soft); }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--gold); }
.breadcrumbs a { color: var(--ink-soft); }

.page-body { padding-top: clamp(44px, 6vw, 72px); padding-bottom: clamp(56px, 7vw, 96px); }
.page-body--sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 4vw, 64px); align-items: start; }
@media (max-width: 1000px) { .page-body--sidebar { grid-template-columns: 1fr; } }

/* Prose */
.prose { max-width: 800px; }
.page-body:not(.page-body--sidebar) .prose { max-width: none; }
.prose > h2 { margin-top: 1.7em; }
.prose > h2:first-child { margin-top: 0; }
.prose > h3 { margin-top: 1.4em; }
.prose > p, .prose > ul, .prose > ol { color: var(--ink); }
.prose ul:not(.checklist):not(.area-chips):not(.contact-cards):not(.side-links) { padding-left: 1.3em; }
.prose ul:not(.checklist) li { margin-bottom: .4em; }
.prose ul:not(.checklist) li::marker { color: var(--gold); }
.prose .checklist { margin: 8px 0 28px; }
.ccal-figure { margin: 36px 0; }
.ccal-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.ccal-figure figcaption { font-size: .92rem; color: var(--ink-soft); margin-top: 10px; text-align: center; }

.callout { margin: 32px 0; padding: 22px 26px; background: var(--gold-100); border-left: 5px solid var(--gold-500); border-radius: 0 var(--radius) var(--radius) 0; }
.callout p { margin: 0; }
.callout .callout__title { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: var(--green-900); margin-bottom: 6px; }

.inline-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; margin: 44px 0 0; padding: 30px 32px; border-radius: var(--radius-lg); background: var(--green-900); color: #dfe9e2; }
.inline-cta p { margin: 0; }
.inline-cta .inline-cta__title { font-family: var(--font-head); font-size: 1.45rem; font-weight: 600; color: #fff; margin-bottom: 6px; }
.inline-cta > div:first-child { flex: 1 1 340px; }
.inline-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.inline-cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.inline-cta .btn--ghost:hover { background: #fff; color: var(--green-900); }

.price-box { text-align: center; background: #fff; border: 2px solid var(--gold-200); border-radius: var(--radius-lg); padding: 36px 28px; margin: 0 0 40px; box-shadow: var(--shadow); }
.price-box p { margin-bottom: 8px; color: var(--ink-soft); }
.price-box .price-box__label { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); font-size: .85rem; }
.price-box .price-box__value { font-family: var(--font-head); font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); font-weight: 700; color: var(--green-900); margin-bottom: 4px; }
.price-box .btn { margin-top: 14px; }

/* Sidebar */
.sidebar { position: sticky; top: 120px; display: grid; gap: 20px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.side-card p { font-size: 1rem; }
.side-card .side-card__title { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--green-900); margin-bottom: 10px; }
.side-card--green { background: var(--green-900); border-color: var(--green-900); color: #dfe9e2; }
.side-card--green .side-card__title { color: #fff; }
.side-card__phone { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.2rem; line-height: 1.2; }
.side-card__phone small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-200); }
.side-card__phone .icon { color: var(--gold-200); }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links a { display: flex; align-items: center; gap: 10px; padding: 11px 10px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; }
.side-links a .icon { color: var(--gold); }
.side-links a:hover, .side-links .is-current a { background: var(--sage-50); color: var(--green-900); }
.side-card__address { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; word-break: break-word; }
.side-card__address .icon { color: var(--gold); flex: none; margin-top: 3px; }
@media (max-width: 1000px) { .sidebar { position: static; } }

/* Contact + forms */
.split-form { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 36px; align-items: start; margin-bottom: 48px; }
.split-form__form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.split-form__aside { background: var(--sage-100); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 36px); }
.split-form h2 { font-size: 1.7rem; }
@media (max-width: 900px) { .split-form { grid-template-columns: 1fr; } }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.field { margin: 0 0 14px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: .98rem; margin-bottom: 6px; color: var(--green-900); }
.req { color: #a33; }
.field input, .field select, .field textarea {
	width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
	background: var(--cream); border: 1.5px solid var(--line); border-radius: 10px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 4px rgba(107,143,113,.25); background: #fff; }
.form-privacy { font-size: .9rem; color: var(--ink-soft); }
.form-notice { padding: 14px 18px; border-radius: 10px; font-weight: 600; }
.form-notice--error { background: #fdecea; color: #8a1f17; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.contact-cards { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 14px; }
.contact-cards li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 12px; padding: 14px 16px; }
.contact-cards strong { display: block; color: var(--green-900); font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
.contact-cards a, .contact-cards span { word-break: break-word; }
.contact-cards__icon { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--green-900); color: var(--gold-200); }

.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 700; }

/* ==========================================================================
   CTA band + footer
   ========================================================================== */
.cta-band { background: var(--green-900); color: #dfe9e2; padding: clamp(48px, 6vw, 72px) 0; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; font-size: 1.12rem; max-width: 620px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.site-footer { background: #022a21; color: #c6d6cc; font-size: 1rem; padding-top: 64px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.site-footer__brand img { width: 250px; margin-bottom: 18px; }
.site-footer__title { font-family: var(--font-head); font-size: 1.2rem; color: var(--gold-200); margin-bottom: 16px; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.site-footer__contact li { display: flex; gap: 12px; align-items: flex-start; word-break: break-word; }
.site-footer__contact .icon { color: var(--gold-200); flex: none; margin-top: 3px; }
.site-footer__license { display: flex; gap: 8px; align-items: center; font-size: .95rem; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.social a:hover { background: var(--gold-500); color: var(--green-900); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; padding-bottom: 26px; font-size: .9rem; }
.site-footer__bottom p { margin: 0; }
@media (max-width: 1000px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Photo row */
.photo-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.photo-trio figure { margin: 0; }
.photo-trio img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.photo-trio figcaption { margin-top: 12px; text-align: center; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--green-900); }
@media (max-width: 760px) { .photo-trio { grid-template-columns: 1fr; } }

/* Schedule-a-tour popup */
.tour-modal { width: min(720px, calc(100% - 24px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(2, 54, 42, .35); background: #fff; color: var(--ink); overflow: auto; }
.tour-modal::backdrop { background: rgba(2, 30, 23, .6); }
.tour-modal[open] { animation: modal-in .22s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.tour-modal__inner { position: relative; padding: clamp(24px, 4vw, 40px); }
.tour-modal h2 { font-size: 1.9rem; margin-bottom: 8px; }
.tour-modal__lead { color: var(--ink-soft); font-size: 1rem; margin-bottom: 22px; }
.tour-modal__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--sage-100); color: var(--green-900); cursor: pointer; display: grid; place-items: center; }
.tour-modal__close:hover { background: var(--sage-300); }
.tour-modal .btn--lg { width: 100%; }
body.modal-open { overflow: hidden; }

/* Mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
	.mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; box-shadow: 0 -6px 20px rgba(2,54,42,.18); }
	.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; font-weight: 700; text-decoration: none; font-size: 1.05rem; }
	.mobile-bar__call { background: var(--green-900); color: #fff; }
	.mobile-bar__tour { background: var(--gold-500); color: var(--green-900); }
	body { padding-bottom: 60px; }
}

/* WordPress core */
.alignwide { max-width: 1100px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-block-image img { border-radius: var(--radius); }
