/* Railway City Pools & Spas, v2 (editorial navy / off-white) */
:root {
	--navy: #06233f;
	--navy-2: #0b3157;
	--blue: #0b5fa5;
	--blue-2: #094f8a;
	--aqua: #5fd0d8;
	--aqua-soft: #e6f3f6;
	--paper: #f2f2f0;
	--sand: #f2f2f0;
	--ink: #16202b;
	--muted: #5d6874;
	--line: #e2e2dc;
	--white: #fff;
	--radius: 4px;
	--radius-sm: 4px;
	--shadow: 0 1px 2px rgba(6, 35, 63, .05), 0 10px 30px rgba(6, 35, 63, .07);
	--shadow-lg: 0 24px 60px rgba(6, 35, 63, .16);
	--font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; font: 400 16.5px/1.7 var(--font); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; color: var(--navy); line-height: 1.1; letter-spacing: -.005em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.8rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.55rem; }
h1 em, h2 em, .display em { font-style: italic; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.icon { width: 1.05em; height: 1.05em; flex: none; }
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 10px 16px; }
.hp { position: absolute; left: -9999px; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; }

/* Labels and buttons */
.eyebrow { display: block; font: 500 .74rem/1 var(--font); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.4rem; }
.eyebrow--light { color: rgba(255, 255, 255, .72); }
.lead { font-size: clamp(1rem, 1.3vw, 1.08rem); color: var(--muted); max-width: 34rem; line-height: 1.75; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: 1.05em 2em; border-radius: 999px; font: 500 .74rem/1 var(--font); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--primary, .btn--navy { background: var(--navy); color: var(--white); }
.btn--primary:hover, .btn--navy:hover { background: var(--blue); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--paper); color: var(--navy); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .7); color: var(--white); background: transparent; }
.btn--ghost-light:hover { background: var(--white); color: var(--navy); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--sm { padding: .95em 1.6em; }
.btn--lg { padding: 1.2em 2.3em; }
.btn--block { width: 100%; }
.link-caps { display: inline-flex; align-items: center; gap: .6em; font: 500 .74rem/1 var(--font); letter-spacing: .22em; text-transform: uppercase; color: var(--navy); text-decoration: none; }
.link-caps .icon { transition: transform .2s; }
.link-caps:hover .icon { transform: translateX(4px); }
.link-caps--light { color: var(--white); }
.link-caps--light:hover { color: var(--aqua); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--white); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
.site-header__inner { display: flex; align-items: center; gap: 2.5rem; height: 82px; padding: 0 clamp(20px, 5vw, 72px); }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--white); }
.brand img { width: 44px; height: 44px; }
.brand .brand__logo { width: auto; height: 52px; }
.site-footer .brand .brand__logo { height: 60px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font: 600 1.35rem/1 var(--display); letter-spacing: .01em; }
.brand__text small { font: 500 .62rem/1.6 var(--font); letter-spacing: .3em; text-transform: uppercase; color: var(--aqua); }
.brand--light { color: var(--white); }
.nav > ul { display: flex; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav a { display: block; padding: .8rem 1rem; color: var(--white); font: 500 .74rem/1 var(--font); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }
.nav a:hover { color: var(--aqua); }
.nav .has-sub > a::after { content: ""; display: inline-block; margin-left: .55em; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.nav .sub { position: absolute; top: 100%; left: 0; min-width: 250px; list-style: none; margin: 0; padding: .6rem 0; background: var(--white); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.nav .sub a { color: var(--navy); padding: .85rem 1.4rem; letter-spacing: .14em; }
.nav .sub a:hover { background: var(--paper); color: var(--navy); }
.nav__mobile-cta { display: none; }
.site-header__cta { display: flex; align-items: center; gap: 1.4rem; margin-left: auto; }
.header-phone { display: inline-flex; align-items: center; gap: .5rem; color: var(--white); text-decoration: none; font-size: .9rem; letter-spacing: .04em; }
.header-phone .icon { color: var(--aqua); }
.header-phone:hover { color: var(--aqua); }
.nav-toggle { display: none; background: none; border: 0; padding: .3rem; color: var(--white); cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }

/* Home hero: split navy panel */
.hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: var(--navy); color: var(--white); min-height: min(78vh, 700px); }
.hero__text { padding: clamp(4rem, 8vw, 7rem) clamp(24px, 5vw, 72px); align-self: center; }
.hero h1 { color: var(--white); margin-bottom: 1.6rem; }
.hero h1 em { display: block; }
.hero .lead { color: rgba(255, 255, 255, .8); margin-bottom: 2.6rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__media { position: relative; margin: 2.2rem 0 0; display: flex; flex-direction: column; }
.hero__media img { flex: 1; width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.hero__media figcaption { padding: 1.1rem 0 1.3rem; }
.hero__media figcaption a { display: inline-flex; align-items: center; gap: .6em; color: var(--white); font: 500 .74rem/1 var(--font); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; }
.hero__media figcaption a:hover { color: var(--aqua); }

/* Inner page hero */
.page-hero { background: var(--navy); color: var(--white); }
.page-hero__inner { display: grid; grid-template-columns: 1fr; min-height: 340px; }
.page-hero--image .page-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.page-hero__text { padding: clamp(3.5rem, 7vw, 6rem) clamp(24px, 5vw, 72px); align-self: center; max-width: 760px; }
.page-hero h1 { color: var(--white); font-size: clamp(2.4rem, 4.4vw, 3.8rem); }
.page-hero .lead { color: rgba(255, 255, 255, .8); margin: 0; }
.page-hero__media { margin-top: 2rem; }
.page-hero__media img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; }

/* Path cards */
.paths { padding: 2.75rem clamp(14px, 1.6vw, 24px) 3.5rem; }
.paths__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1vw, 16px); }
.path { background: var(--white); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.path__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--aqua-soft); }
.path__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.path:hover .path__img img { transform: scale(1.04); }
.path__body { padding: 2rem 2.6rem 2.6rem; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.path__body h2 { font-size: 1.7rem; margin-bottom: .6rem; }
.path__body p { color: var(--muted); font-size: .97rem; flex: 1; margin-bottom: 1.8rem; }

/* Reviews band */
.quotes { background: var(--navy); color: var(--white); text-align: center; padding: clamp(3.5rem, 6vw, 5rem) 24px; }
.quotes .eyebrow { margin-bottom: 2.2rem; letter-spacing: .32em; font-size: .82rem; }
.quote { display: none; margin: 0 auto; max-width: 980px; }
.quote.is-active { display: block; animation: fadeIn .5s ease; }
.quote blockquote { margin: 0 0 2rem; font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.7; color: rgba(255, 255, 255, .92); }
.quote figcaption { font-size: 1.05rem; }
.quotes__nav { display: flex; justify-content: center; gap: 9rem; margin-top: 1.6rem; }
.quotes__nav button { background: none; border: 0; color: rgba(255, 255, 255, .7); font-size: 2.2rem; line-height: 1; cursor: pointer; padding: .2rem .8rem; }
.quotes__nav button:hover { color: var(--white); }
.quotes__more { margin: 1.4rem 0 0; }
.quotes__more a { color: rgba(255, 255, 255, .7); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Service area: card over map */
.area { position: relative; width: min(100% - 48px, 1200px); margin: clamp(4rem, 7vw, 6rem) auto; display: grid; grid-template-columns: 380px 1fr; align-items: center; }
.area__map { grid-column: 2; grid-row: 1; aspect-ratio: 16 / 9.2; overflow: hidden; box-shadow: var(--shadow); }
.area__map svg { width: 100%; height: 100%; }
.area__card { grid-column: 1 / span 1; grid-row: 1; position: relative; z-index: 1; margin-right: -80px; margin-top: 12rem; background: var(--white); padding: 3rem 2.8rem; box-shadow: var(--shadow-lg); }
.area__card h2 { font-size: clamp(1.9rem, 2.8vw, 2.4rem); border-left: 2px solid var(--navy); padding-left: .9rem; margin-left: -.9rem; }
.area__card p { color: var(--muted); font-size: .97rem; margin-bottom: 2rem; }

/* Sections */
.section { padding: clamp(4.5rem, 8vw, 7rem) 0; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--sand { background: var(--paper); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, .8); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section-head { max-width: 46rem; margin-bottom: 3.2rem; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.section-head--row { display: flex; justify-content: space-between; align-items: end; gap: 2rem; max-width: none; flex-wrap: wrap; }
.section-head--row h2 { margin: 0; }
.display { font-size: clamp(2.2rem, 4vw, 3.4rem); }

/* Purpose */
.purpose { background: var(--white); }
.purpose .display { max-width: 22ch; margin-bottom: 3.5rem; }
.purpose__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; border-top: 1px solid var(--line); padding-top: 2.6rem; }
.purpose__grid h3 { font-size: 1.6rem; }
.purpose__grid p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Pool types */
.type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.type { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; text-decoration: none; color: var(--white); background: var(--navy-2); }
.type img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.type::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 35, 63, 0) 35%, rgba(6, 35, 63, .92) 100%); }
.type:hover img { transform: scale(1.05); }
.type__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.6rem; }
.type__body h3 { color: var(--white); font-size: 1.7rem; margin-bottom: .4rem; }
.type__body p { margin: 0; font-size: .9rem; color: rgba(255, 255, 255, .82); line-height: 1.55; }

/* Process */
.process { background: var(--paper); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.steps li { padding: 2.2rem 2rem 0 0; }
.steps li + li { padding-left: 2rem; border-left: 1px solid var(--line); }
.steps span { display: block; font: 500 .74rem/1 var(--font); letter-spacing: .28em; color: var(--muted); margin-bottom: 1.2rem; }
.steps h3 { font-size: 1.6rem; }
.steps p { margin: 0; font-size: .95rem; color: var(--muted); }
.process__cta { margin: 3rem 0 0; }
.process__video { margin: 3.5rem 0 0; }
.process__video video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--navy); box-shadow: var(--shadow-lg); }
.process__video figcaption { margin-top: .9rem; font: 500 .72rem/1.4 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* Work strip */
.work-strip { background: var(--navy); color: var(--white); padding: clamp(4rem, 7vw, 5.5rem) 0 0; }
.work-strip__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.work-strip__head h2 { color: var(--white); margin: 0; }
.work-strip__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .3) transparent; }
.work-card { position: relative; flex: 0 0 min(360px, 78vw); aspect-ratio: 4 / 3; overflow: hidden; scroll-snap-align: start; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.work-card:hover img { transform: scale(1.05); }
.work-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6, 35, 63, .85)); }
.work-card span { position: absolute; left: 1.2rem; bottom: 1rem; z-index: 1; color: var(--white); font-size: .92rem; }

/* Financing band */
.financing-band { background: var(--white); }
.financing-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 3rem; flex-wrap: wrap; }
.financing-band__inner > div { max-width: 44rem; }
.financing-band__inner p:not(.eyebrow) { color: var(--muted); margin: 0; }
.financing-band__icon { display: none; }

/* FAQ */
.faq { max-width: 900px; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; padding: 1.5rem 3rem 1.5rem 0; font: 500 1.45rem/1.3 var(--display); color: var(--navy); position: relative; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: .4rem; top: 50%; transform: translateY(-50%); font: 300 1.8rem/1 var(--font); color: var(--navy); transition: transform .2s; }
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__list details p { padding: 0 0 1.6rem; margin: 0; color: var(--muted); max-width: 46rem; }

/* Full-width image band */
.image-band { height: clamp(260px, 32vw, 440px); overflow: hidden; }
.image-band img { width: 100%; height: 100%; object-fit: cover; }

/* Inquiry and contact */
.inquiry { background: var(--paper); }
.inquiry__grid, .contact-split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.inquiry p:not(.eyebrow), .contact-split p:not(.eyebrow) { color: var(--muted); }
.card { background: var(--white); padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow); }
.card h3 { font-size: 1.8rem; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: .85rem; }
.contact-list .icon { margin-top: .35em; color: var(--blue); }
.contact-list--big { margin-top: 2.2rem; font-size: 1.05rem; }
.contact-list--big a { color: var(--navy); text-decoration: none; }
.contact-list--big a:hover { text-decoration: underline; }
.callout { padding: 1.8rem 2rem; background: var(--white); border-left: 2px solid var(--navy); margin: 2rem 0; }
.callout h3 { font-size: 1.5rem; }

.rc-form label { display: block; font: 500 .72rem/1.4 var(--font); letter-spacing: .18em; text-transform: uppercase; color: var(--navy); margin-bottom: 1.1rem; }
.rc-form input, .rc-form select, .rc-form textarea { display: block; width: 100%; margin-top: .5rem; padding: .85rem 0; font: 400 1rem/1.4 var(--font); letter-spacing: 0; text-transform: none; color: var(--ink); border: 0; border-bottom: 1px solid #c9ccc6; border-radius: 0; background: transparent; transition: border-color .15s; }
.rc-form select { padding-right: 1.5rem; }
.rc-form textarea { border: 1px solid #c9ccc6; padding: .8rem; margin-top: .7rem; }
.rc-form input:focus, .rc-form select:focus, .rc-form textarea:focus { outline: none; border-color: var(--navy); }
.rc-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.rc-form .rc-check { display: flex; gap: .6rem; align-items: center; letter-spacing: .02em; text-transform: none; font: 400 .9rem var(--font); color: var(--muted); }
.rc-form .rc-check input { width: auto; margin: 0; accent-color: var(--navy); }
.rc-form button { margin-top: .6rem; }
.rc-form__note { text-align: center; margin: 1.2rem 0 0; font-size: .9rem; color: var(--muted); }

/* CTA band (inner pages) */
.cta-band { background: var(--navy); color: rgba(255, 255, 255, .8); padding: clamp(3.5rem, 6vw, 5rem) 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: .4rem; }
.cta-band p { margin: 0; max-width: 40rem; }
.cta-band__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Prose (page content) */
.prose { max-width: 800px; }
.prose > * + h2 { margin-top: 2.8rem; }
.prose h2 { font-size: clamp(2rem, 3vw, 2.5rem); scroll-margin-top: 110px; }
.prose h3 { margin-top: 2rem; font-size: 1.6rem; }
.prose p, .prose li { color: #3a4550; }
.prose li { margin-bottom: .5rem; }
.prose .lead-in { font-size: 1.15rem; color: var(--ink); }
.prose ul.checks { list-style: none; padding: 0; }
.prose ul.checks li { position: relative; padding-left: 1.7rem; }
.prose ul.checks li::before { content: ""; position: absolute; left: 0; top: .72em; width: .7rem; height: 1px; background: var(--navy); }
.prose .actions { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.8rem 0; }
.prose .wp-block-button__link { display: inline-flex; padding: 1.05em 2em; border-radius: 999px; background: var(--navy); color: var(--white); font: 500 .74rem/1 var(--font); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }
.prose .wp-block-button__link:hover { background: var(--blue); color: var(--white); }
.prose img { border-radius: 0; }

.svc-block { display: grid; grid-template-columns: 56px 1fr; gap: 1.6rem; padding: 2.4rem 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.svc-block:first-of-type { border-top: 0; }
.svc-block__icon { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--line); background: var(--white); color: var(--navy); }
.svc-block__icon .icon { width: 24px; height: 24px; }
.svc-block h2 { margin-top: 0 !important; }

/* Single pool and archive */
.pool-layout { display: grid; grid-template-columns: 1fr 360px; gap: 4.5rem; align-items: start; }
.pool-aside { position: sticky; top: 110px; }
.pool-aside .card h3 { margin-bottom: .4rem; }
.facts { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; }
.facts li { display: flex; gap: .7rem; align-items: flex-start; padding: .65rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.facts .icon { color: var(--blue); margin-top: .3em; }
.pool-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.other-pools { grid-template-columns: repeat(3, 1fr); }
.pool-card { display: flex; flex-direction: column; background: var(--white); text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.pool-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.pool-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--aqua-soft); }
.pool-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.pool-card:hover .pool-card__img img { transform: scale(1.05); }
.pool-card__body { padding: 1.6rem 1.6rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.pool-card__body h3, .pool-card__body .h3 { font-family: var(--display); font-size: 1.6rem !important; font-weight: 500; }
.pool-card__body p { color: var(--muted); font-size: .94rem; flex: 1; }
.pool-card__link { display: inline-flex; align-items: center; gap: .5rem; font: 500 .72rem/1 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--navy); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery__item { display: block; overflow: hidden; aspect-ratio: 960 / 532; background: var(--aqua-soft); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery__item:hover img { transform: scale(1.05); }

.link-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.link-card { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; background: var(--white); text-decoration: none; font-family: var(--display); font-size: 1.4rem; color: var(--navy); box-shadow: var(--shadow); }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .7); padding: clamp(3.5rem, 6vw, 5rem) 0 0; font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 3rem; }
.site-footer h3 { color: var(--white); font: 500 .74rem/1 var(--font); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.4rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .7rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__brand p { margin: 1.4rem 0; max-width: 30ch; }
.social { display: flex; gap: .6rem; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--white); color: var(--navy); }
.social a:hover { background: var(--aqua); color: var(--navy); }
.site-footer .contact-list .icon { color: var(--aqua); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 4rem; padding: 1.6rem 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; }

.mobile-bar { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(4, 18, 33, .95); display: grid; place-items: center; padding: 4rem 1rem; }
.lightbox img { max-height: 85vh; width: auto; box-shadow: var(--shadow-lg); }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); border: 0; color: var(--white); cursor: pointer; border-radius: 50%; width: 48px; height: 48px; display: grid; place-items: center; font-size: 2rem; line-height: 1; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.reveal { opacity: 1; transform: none; }
	html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1180px) {
	.header-phone span { display: none; }
	.type-grid, .pool-cards { grid-template-columns: repeat(2, 1fr); }
	.type { aspect-ratio: 4 / 3; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.pool-layout { grid-template-columns: 1fr; }
	.pool-aside { position: static; }
}
@media (max-width: 960px) {
	.nav-toggle { display: block; }
	.site-header__cta .btn { display: none; }
	.nav { position: fixed; inset: 82px 0 0; background: var(--navy); padding: 1.5rem 24px 7rem; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
	.nav.is-open { transform: none; visibility: visible; transition: transform .25s ease; }
	.nav > ul { flex-direction: column; gap: 0; }
	.nav a { padding: 1.1rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; }
	.nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 0 1rem; min-width: 0; }
	.nav .sub a { color: rgba(255, 255, 255, .75); font-size: .74rem; }
	.nav .sub a:hover { background: transparent; color: var(--aqua); }
	.nav .has-sub > a::after { display: none; }
	.nav__mobile-cta { display: grid; gap: .8rem; margin-top: 2rem; }
	.hero, .page-hero--image .page-hero__inner { grid-template-columns: 1fr; }
	.hero__media, .page-hero__media { margin-top: 0; }
	.hero__media img { min-height: 280px; max-height: 420px; }
	.hero__media figcaption { padding-left: 24px; }
	.paths__grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
	.area { grid-template-columns: 1fr; }
	.area__map { grid-column: 1; grid-row: 1; }
	.area__card { grid-column: 1; grid-row: 2; margin: -3rem 1.2rem 0; }
	.purpose__grid, .steps { grid-template-columns: 1fr 1fr; }
	.steps li:nth-child(3) { padding-left: 0; border-left: 0; }
	.inquiry__grid, .contact-split__grid { grid-template-columns: 1fr; }
	.gallery, .other-pools, .link-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	body { font-size: 16px; padding-bottom: 62px; }
	.wrap { width: min(100% - 36px, var(--wrap)); }
	.site-header__inner { height: 70px; gap: 1rem; }
	.nav { inset: 70px 0 0; }
	.brand img { width: 38px; height: 38px; }
	.brand .brand__logo { height: 42px; width: auto; }
	.brand__text strong { font-size: 1.15rem; }
	.hero__actions .btn { width: 100%; }
	.type-grid, .pool-cards, .purpose__grid, .steps, .gallery, .other-pools, .site-footer__grid, .rc-form__row, .link-grid { grid-template-columns: 1fr; }
	.steps li, .steps li + li { padding: 1.8rem 0 0; border-left: 0; }
	.quotes__nav { gap: 4rem; }
	.svc-block { grid-template-columns: 1fr; }
	.mobile-bar { display: grid; grid-template-columns: 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--white); border-top: 1px solid var(--line); }
	.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .45rem; padding: 1.1rem; font: 500 .72rem/1 var(--font); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--navy); }
	.mobile-bar__primary { background: var(--navy); color: var(--white) !important; }
}

/* Chat widget */
.rcw { position: fixed; right: 20px; bottom: 20px; z-index: 90; font-family: var(--font); }
.rcw__launcher { width: 60px; height: 60px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .9); cursor: pointer; display: grid; place-items: center; background: var(--navy); color: var(--white); box-shadow: 0 10px 30px rgba(11, 37, 64, .35); transition: transform .2s ease; margin-left: auto; }
.rcw__launcher:hover { transform: scale(1.06); }
.rcw__launcher svg { width: 28px; height: 28px; grid-area: 1 / 1; transition: opacity .2s, transform .2s; }
.rcw__launcher .icon-close { opacity: 0; transform: rotate(-90deg); }
.rcw.is-open .rcw__launcher .icon-close { opacity: 1; transform: none; }
.rcw.is-open .rcw__launcher .rcw__icon-chat { opacity: 0; transform: rotate(90deg); }
.rcw__teaser { position: relative; margin-bottom: 14px; max-width: 290px; margin-left: auto; animation: rcwIn .35s ease both; }
.rcw__teaser-body { display: flex; align-items: center; gap: .7rem; text-align: left; width: 100%; padding: .9rem 1.1rem; border: 0; border-radius: 16px 16px 4px 16px; background: var(--white); color: var(--ink); font: 400 .95rem/1.4 var(--font); box-shadow: var(--shadow-lg); cursor: pointer; }
.rcw__teaser-body img { border-radius: 50%; flex: none; background: var(--white); }
.rcw__teaser-close { position: absolute; top: -10px; right: -6px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--navy); color: var(--white); cursor: pointer; font-size: 16px; line-height: 1; }
.rcw__panel { position: absolute; right: 0; bottom: 76px; width: min(370px, calc(100vw - 32px)); max-height: min(640px, calc(100vh - 120px)); display: flex; flex-direction: column; background: var(--white); border-radius: 6px; box-shadow: 0 30px 80px rgba(11, 37, 64, .3); overflow: hidden; animation: rcwIn .25s ease both; }
.rcw__head { display: flex; align-items: center; gap: .8rem; padding: 1.1rem 1.2rem; background: var(--navy); color: var(--white); }
.rcw__head img { border-radius: 10px; flex: none; }
.rcw__head h2 { color: var(--white); font-size: 1.3rem; margin: 0; }
.rcw__head p { margin: 0; font-size: .85rem; opacity: .85; }
.rcw__close { margin-left: auto; background: rgba(255, 255, 255, .14); border: 0; color: var(--white); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.rcw__form, .rcw__done { padding: 1.1rem 1.2rem 1.2rem; overflow-y: auto; }
.rcw__bubble { display: inline-block; padding: .7rem 1rem; border-radius: 4px 16px 16px 16px; background: var(--aqua-soft); color: var(--navy); font-size: .95rem; margin-bottom: .8rem; }
.rcw__chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.rcw__chips button { border: 1.5px solid var(--line); background: var(--white); color: var(--navy); border-radius: 999px; padding: .4rem .8rem; font: 500 .85rem var(--font); cursor: pointer; transition: .15s; }
.rcw__chips button:hover { border-color: var(--blue); }
.rcw__chips button.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.rcw__form label { display: block; font: 500 .7rem/1.4 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--navy); margin-bottom: .8rem; }
.rcw__form input, .rcw__form textarea { display: block; width: 100%; margin-top: .35rem; padding: .7rem .9rem; font: 400 16px/1.4 var(--font); letter-spacing: 0; text-transform: none; border: 1px solid #d3d5cf; border-radius: 4px; background: #fbfcfd; resize: vertical; }
.rcw__form input:focus, .rcw__form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11, 111, 179, .12); background: var(--white); }
.rcw__error { color: #b42318; font-size: .88rem; margin: 0 0 .7rem; }
.rcw__fine { font-size: .75rem; color: var(--muted); margin: .7rem 0 0; line-height: 1.45; }
.rcw__done { text-align: center; padding-top: 2rem; padding-bottom: 2rem; }
.rcw__check { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; background: var(--aqua-soft); color: var(--blue); display: grid; place-items: center; }
.rcw__check .icon { width: 32px; height: 32px; }
.rcw__done h3 { margin-bottom: .4rem; }
.rcw__done p { color: var(--muted); font-size: .95rem; }
@keyframes rcwIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
	.rcw { right: 14px; bottom: 74px; }
	.mobile-bar { padding-right: 0; }
	.rcw__panel { position: fixed; left: 12px; right: 12px; bottom: 140px; width: auto; max-height: calc(100vh - 160px); }
}
