/* Railway City Pools & Spas, v3: full-bleed photography, condensed caps headings, aqua accents.
   Layered on top of main.css: overrides tokens site-wide, adds the v3 home sections. */
:root {
	--navy: #1d2f3a;
	--navy-2: #263d4a;
	--blue: #1b8fc6;
	--blue-2: #1679a8;
	--aqua: #2aa9e0;
	--aqua-soft: #e7f5fb;
	--paper: #f4f6f7;
	--sand: #f4f6f7;
	--ink: #1f2a30;
	--muted: #5c6a72;
	--line: #dfe5e8;
	--slate: #1d2f3a;
	--slate-2: #16242c;
	--font: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
	--display: "Oswald", "Arial Narrow", Impact, sans-serif;
	--radius: 2px;
}

body { font-size: 17px; background: var(--white); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .01em; line-height: 1.08; color: var(--slate); }
h1 em, h2 em, .display em { font-style: normal; color: var(--aqua); }
h3 { font-size: 1.35rem; letter-spacing: .02em; }
.display { font-size: clamp(2rem, 3.6vw, 3rem); }
.eyebrow { font-family: var(--font); font-weight: 600; letter-spacing: .2em; color: var(--aqua); }
.eyebrow--light { color: #8fd6f5; }
.lead { color: var(--muted); }

/* Buttons: square-cornered aqua, used everywhere */
.btn, .v3-btn { border-radius: 0; font: 600 .78rem/1 var(--font); letter-spacing: .16em; text-transform: uppercase; }
.btn--primary, .btn--navy, .v3-btn { background: var(--aqua); color: #fff; border: 1px solid var(--aqua); }
.btn--primary:hover, .btn--navy:hover, .v3-btn:hover { background: var(--blue-2); border-color: var(--blue-2); color: #fff; }
.btn--light { background: #fff; color: var(--slate); }
.btn--outline { border-color: var(--slate); color: var(--slate); }
.v3-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 1.15em 2.1em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.v3-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .85); color: #fff; }
.v3-btn--ghost:hover { background: #fff; color: var(--slate); border-color: #fff; }
.v3-btn--small { padding: .95em 1.5em; font-size: .72rem; }
.link-caps { color: var(--aqua); font-weight: 600; }

/* Header: slate bar; transparent over the home hero until scrolled */
.site-header { background: var(--slate); }
.site-header__inner { height: 88px; }
.brand .brand__logo { height: 56px; }
.nav a { font: 500 .8rem/1 var(--font); letter-spacing: .16em; }
.nav a:hover, .header-phone:hover { color: var(--aqua); }
.nav .sub { border-top: 3px solid var(--aqua); border-radius: 0; }
.nav .sub a { color: var(--slate); }
.header-phone { font: 500 1rem/1 var(--font); letter-spacing: .03em; }
.site-header--overlay { position: fixed; left: 0; right: 0; background: linear-gradient(180deg, rgba(10, 20, 26, .62), rgba(10, 20, 26, 0)); transition: background .3s, box-shadow .3s; }
.site-header--overlay.is-scrolled { background: var(--slate); }
.home main { padding-top: 0; }

/* Inner page hero: full-bleed photo with a dark wash, title bottom-left */
.page-hero { position: relative; background: var(--slate); }
.page-hero--image .page-hero__inner { display: block; min-height: clamp(320px, 46vh, 500px); }
.page-hero__media { position: absolute; inset: 0; margin: 0; }
.page-hero__media img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.page-hero--image .page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 26, 33, .82) 0%, rgba(15, 26, 33, .45) 55%, rgba(15, 26, 33, .15) 100%); }
.page-hero__text { position: relative; z-index: 1; max-width: 820px; padding: clamp(4rem, 9vw, 7rem) clamp(24px, 6vw, 88px); }
.page-hero--image .page-hero__text { padding-top: clamp(6rem, 12vw, 9rem); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.page-hero h1::after { content: ""; display: block; width: 64px; height: 3px; background: var(--aqua); margin-top: 1.2rem; }

/* Shared v3 pieces */
.v3-section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.v3-title { font-size: clamp(2rem, 4vw, 3.1rem); margin: 0 0 1rem; }
.v3-title--center { text-align: center; }
.v3-title--light { color: #fff; }
.v3-sub { text-align: center; color: var(--muted); max-width: 40rem; margin: 0 auto 3rem; font-size: 1.05rem; }
.v3-center { text-align: center; margin: 3rem 0 0; }
.v3-rule { display: block; width: 64px; height: 3px; background: var(--aqua); margin: 1.4rem 0 1.6rem; }
.v3-kicker { font: 600 .8rem/1 var(--font); letter-spacing: .26em; text-transform: uppercase; color: #bfe9fb; margin: 0 0 1.3rem; }

/* Hero slideshow */
.v3-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--slate); }
.v3-hero__slides, .v3-hero__slide { position: absolute; inset: 0; }
.v3-hero__slide { opacity: 0; transition: opacity 1.4s ease; }
.v3-hero__slide.is-active { opacity: 1; }
.v3-hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 9s ease-out; }
.v3-hero__slide.is-active img { transform: scale(1); }
.v3-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 22, 28, .78) 0%, rgba(12, 22, 28, .45) 50%, rgba(12, 22, 28, .1) 100%), linear-gradient(0deg, rgba(12, 22, 28, .45), rgba(12, 22, 28, 0) 35%); }
.v3-hero__content { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 4rem; }
.v3-hero h1 { color: #fff; font-size: clamp(3rem, 7.4vw, 6.4rem); font-weight: 500; line-height: .98; letter-spacing: .005em; margin: 0; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.v3-hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 34rem; color: rgba(255, 255, 255, .92); margin: 0 0 2.4rem; }
.v3-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.v3-hero__dots { position: absolute; z-index: 2; right: clamp(20px, 4vw, 56px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: .8rem; }
.v3-hero__dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .55); cursor: pointer; }
.v3-hero__dots button.is-active { background: var(--aqua); }
.v3-hero__down { position: absolute; z-index: 2; left: 50%; bottom: 1.6rem; transform: translateX(-50%) rotate(90deg); color: #fff; opacity: .85; }
.v3-hero__down .icon { width: 30px; height: 30px; }

/* Intro statement */
.v3-intro { padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(3.5rem, 7vw, 5.5rem); text-align: center; }
.v3-intro__inner { max-width: 900px; }
.v3-statement { font: 500 clamp(1.45rem, 2.5vw, 2rem)/1.35 var(--font); text-transform: none; letter-spacing: 0; color: var(--aqua); margin: 0 0 1.4rem; }
.v3-intro p { color: var(--muted); font-size: 1.05rem; max-width: 46rem; margin: 0 auto; }

/* Three full-bleed photo tiles */
.v3-tiles { display: grid; grid-template-columns: repeat(3, 1fr); }
.v3-tile { position: relative; display: block; aspect-ratio: 4 / 3.4; overflow: hidden; color: #fff; text-decoration: none; background: var(--slate); }
.v3-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.v3-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 22, 28, .82) 0%, rgba(12, 22, 28, .1) 60%); transition: background .3s; }
.v3-tile:hover img { transform: scale(1.06); }
.v3-tile:hover::after { background: linear-gradient(0deg, rgba(12, 22, 28, .88) 0%, rgba(42, 169, 224, .25) 100%); }
.v3-tile__body { position: absolute; z-index: 1; left: clamp(20px, 3vw, 40px); right: 20px; bottom: clamp(22px, 3vw, 38px); }
.v3-tile__title { display: block; font: 500 clamp(1.7rem, 2.6vw, 2.4rem)/1.02 var(--display); text-transform: uppercase; max-width: 11ch; margin-bottom: .9rem; }
.v3-tile__more { display: inline-flex; align-items: center; gap: .5em; font: 600 .74rem/1 var(--font); letter-spacing: .2em; text-transform: uppercase; }
.v3-tile__more .icon { transition: transform .2s; }
.v3-tile:hover .v3-tile__more .icon { transform: translateX(5px); }

/* Specializing in */
.v3-special { background: var(--paper); }
.v3-special__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 2.6rem; }
.v3-special__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 2.4rem 1.2rem; background: #fff; text-align: center; text-decoration: none; color: var(--slate); transition: background .2s, color .2s; }
.v3-special__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--aqua-soft); color: var(--aqua); transition: background .2s, color .2s; }
.v3-special__icon .icon { width: 28px; height: 28px; }
.v3-special__label { font: 500 1.05rem/1.25 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.v3-special__item:hover { background: var(--slate); color: #fff; }
.v3-special__item:hover .v3-special__icon { background: var(--aqua); color: #fff; }

/* Project grid */
.v3-work__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.v3-work__item { display: block; text-decoration: none; color: var(--slate); }
.v3-work__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .2s; }
.v3-work__item:hover img { opacity: .85; }
.v3-work__item span { display: block; margin-top: .9rem; font: 500 1.05rem/1.3 var(--display); text-transform: uppercase; letter-spacing: .03em; }

/* Review split: photo + slate panel with a curved edge */
.v3-review { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--slate); color: #fff; min-height: 520px; }
.v3-review__media { position: relative; overflow: hidden; }
.v3-review__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v3-review__panel { position: relative; padding: clamp(3rem, 6vw, 5rem) clamp(24px, 6vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.v3-review__panel::before { content: ""; position: absolute; top: 0; bottom: 0; left: -90px; width: 180px; background: var(--slate); border-radius: 50% 0 0 50% / 50% 0 0 50%; }
.v3-review__panel > * { position: relative; }
.v3-review__stars { display: flex; gap: .25rem; color: #ffc93c; margin-bottom: 1.4rem; }
.v3-review__stars .icon { width: 20px; height: 20px; fill: currentColor; }
.v3-quote { display: none; margin: 0; }
.v3-quote.is-active { display: block; animation: fadeIn .5s ease; }
.v3-quote blockquote { margin: 0 0 1.6rem; font: 500 clamp(1.2rem, 1.9vw, 1.55rem)/1.45 var(--font); }
.v3-quote figcaption { font: 600 .8rem/1 var(--font); letter-spacing: .2em; text-transform: uppercase; color: #8fd6f5; }
.v3-quote figcaption::before { content: ""; display: block; width: 44px; height: 2px; background: var(--aqua); margin-bottom: 1rem; }
.v3-review__nav { display: flex; align-items: center; gap: .6rem; margin-top: 2.4rem; flex-wrap: wrap; }
.v3-review__nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.v3-review__nav button:hover { background: var(--aqua); border-color: var(--aqua); }
.v3-review__nav .v3-btn { margin-left: .8rem; }

.v3-review--solo .v3-quote blockquote { font-size: clamp(1rem, 1.35vw, 1.15rem); line-height: 1.6; }

/* Process */
.v3-process { background: #fff; }
.v3-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: none; }
.v3-steps li { position: relative; padding-top: 1rem; }
.v3-steps__n { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--aqua); color: #fff; font: 500 1.4rem/1 var(--display); margin-bottom: 1.3rem; }
.v3-steps li:not(:last-child)::after { content: ""; position: absolute; top: calc(1rem + 27px); left: 70px; right: -1rem; border-top: 2px dashed var(--line); }
.v3-steps h3 { margin-bottom: .5rem; }
.v3-steps p { color: var(--muted); font-size: .98rem; margin: 0; }
.v3-video { margin: 4rem auto 0; max-width: 1000px; }
.v3-video video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--slate); }
.v3-video figcaption { margin-top: .9rem; text-align: center; color: var(--muted); font-size: .95rem; }

/* Serving band */
.v3-serve { position: relative; color: #fff; text-align: center; padding: clamp(5rem, 10vw, 8rem) 0; overflow: hidden; background: var(--slate); }
.v3-serve > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v3-serve::after { content: ""; position: absolute; inset: 0; background: rgba(14, 30, 40, .62); }
.v3-serve__inner { position: relative; z-index: 1; }
.v3-serve ul { list-style: none; margin: 1.6rem auto 1.2rem; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 2rem; max-width: 900px; }
.v3-serve li { display: inline-flex; align-items: center; gap: .45rem; font: 500 1.15rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; }
.v3-serve li .icon { color: var(--aqua); }
.v3-serve p { margin: 0; color: rgba(255, 255, 255, .85); }

/* Financing strip */
.v3-finance { background: var(--aqua); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.v3-finance__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.v3-finance .v3-title { color: #fff; margin-bottom: .5rem; }
.v3-finance p { margin: 0; max-width: 40rem; }
.v3-finance .v3-btn { background: var(--slate); border-color: var(--slate); }
.v3-finance .v3-btn:hover { background: #fff; color: var(--slate); border-color: #fff; }

/* FAQ */
.v3-faq { background: var(--paper); }
.v3-faq__inner { max-width: 900px; }
.v3-faq .faq__list { margin-top: 2.6rem; }
.faq__list summary { font: 500 1.15rem/1.35 var(--display); text-transform: uppercase; letter-spacing: .03em; color: var(--slate); }
.faq__list summary::after { color: var(--aqua); }

/* Contact block */
.v3-contact { background: var(--slate); color: rgba(255, 255, 255, .85); padding: clamp(4rem, 8vw, 6.5rem) 0; }
.v3-contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.v3-contact .contact-list--big a, .v3-contact .contact-list--big span { color: #fff; }
.v3-contact .contact-list .icon { color: var(--aqua); }
.v3-contact__form { box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.rc-form label { color: var(--slate); }
.rc-form input:focus, .rc-form select:focus, .rc-form textarea:focus { border-color: var(--aqua); }
.rc-form .rc-check input { accent-color: var(--aqua); }

/* Footer */
.site-footer { background: var(--slate-2); }
.site-footer h3 { font-family: var(--font); font-weight: 600; color: #fff; }
.site-footer .social a { background: rgba(255, 255, 255, .1); color: #fff; }
.site-footer .social a:hover { background: var(--aqua); color: #fff; }
.site-footer__bottom { border-top-color: rgba(255, 255, 255, .1); }

/* Mobile bar */
.mobile-bar__primary { background: var(--aqua) !important; }

/* Reveal motion for v3 blocks */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

.v3-feature__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.v3-feature__item { display: block; text-decoration: none; color: var(--slate); }
.v3-feature__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.v3-feature__item span { display: block; margin-top: .7rem; font: 500 1rem/1.3 var(--display); text-transform: uppercase; letter-spacing: .04em; }

.v3-story-nav { position: sticky; top: 88px; z-index: 20; display: flex; justify-content: center; gap: .4rem; flex-wrap: wrap; padding: .9rem 16px; background: #fff; border-bottom: 1px solid var(--line); }
.v3-story-nav a { padding: .55rem 1.2rem; font: 600 .75rem/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--slate); text-decoration: none; border: 1px solid var(--line); }
.v3-story-nav a:hover { background: var(--aqua); border-color: var(--aqua); color: #fff; }
.v3-story { scroll-margin-top: 150px; }
.v3-story--alt { background: var(--paper); }
.v3-story__intro { color: var(--muted); max-width: 44rem; font-size: 1.05rem; margin-bottom: 2.4rem; }
.v3-story__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; position: relative; }
.v3-story__steps li { position: relative; }
.v3-story__img { display: block; overflow: hidden; }
.v3-story__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s ease; }
.v3-story__img:hover img { transform: scale(1.04); }
.v3-story__n { display: inline-block; margin: 1rem 0 .5rem; padding: .35rem .7rem; background: var(--aqua); color: #fff; font: 600 .7rem/1 var(--font); letter-spacing: .16em; text-transform: uppercase; }
.v3-story__steps li:last-child .v3-story__n { background: var(--slate); }
.v3-story__steps h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.v3-story__steps p { color: var(--muted); font-size: .93rem; line-height: 1.55; margin: 0; }
.v3-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 3rem; }
.v3-ba figure { position: relative; margin: 0; }
.v3-ba img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.v3-ba figcaption { position: absolute; left: 0; bottom: 0; padding: .6rem 1.1rem; background: var(--slate); color: #fff; font: 500 1.1rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.v3-ba figure + figure figcaption { background: var(--aqua); }

@media (max-width: 1100px) {
	.v3-story__steps { grid-template-columns: repeat(3, 1fr); }
	.v3-feature__grid { grid-template-columns: repeat(2, 1fr); }
	.v3-special__grid { grid-template-columns: repeat(2, 1fr); }
	.v3-work__grid { grid-template-columns: repeat(2, 1fr); }
	.v3-steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.6rem; }
	.v3-steps li::after { display: none; }
}

@media (max-width: 900px) {
	.v3-tiles { grid-template-columns: 1fr; }
	.v3-tile { aspect-ratio: 16 / 9; }
	.v3-review { grid-template-columns: 1fr; }
	.v3-review__media { min-height: 300px; }
	.v3-review__panel::before { display: none; }
	.v3-contact__grid { grid-template-columns: 1fr; }
	.v3-hero__dots { top: auto; bottom: 1.6rem; right: 50%; transform: translateX(50%); flex-direction: row; }
	.v3-hero__down { display: none; }
}

@media (max-width: 640px) {
	.v3-story-nav { top: 70px; }
	.v3-story__steps { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .9rem; margin: 0 -16px; padding: 0 16px 1rem; }
	.v3-story__steps li { flex: 0 0 78%; scroll-snap-align: start; }
	.v3-ba { grid-template-columns: 1fr; }
	.site-header__inner { height: 70px; }
	.brand .brand__logo { height: 44px; }
	.site-header__cta .v3-btn { display: none; }
	.v3-hero { min-height: 92svh; align-items: flex-end; }
	.v3-hero::after { background: linear-gradient(0deg, rgba(12, 22, 28, .88) 0%, rgba(12, 22, 28, .55) 55%, rgba(12, 22, 28, .25) 100%); }
	.v3-hero__content { padding-bottom: 5rem; }
	.v3-hero h1 { font-size: clamp(2.7rem, 13vw, 3.6rem); }
	.v3-kicker { letter-spacing: .14em; font-size: .72rem; }
	.v3-hero__actions .v3-btn { flex: 1 1 100%; }
	.v3-tile { aspect-ratio: 4 / 3; }
	.v3-special__item { padding: 1.8rem .8rem; }
	.v3-special__icon { width: 54px; height: 54px; }
	.v3-special__label { font-size: .92rem; }
	.v3-work__grid { gap: .8rem; }
	.v3-work__item span { font-size: .9rem; }
	.v3-steps { grid-template-columns: 1fr; }
	.v3-review__nav .v3-btn { margin: .8rem 0 0; flex-basis: 100%; }
	.v3-finance__inner .v3-btn { width: 100%; }
	.page-hero--image .page-hero__inner { min-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
	.v3-hero__slide, .v3-hero__slide img { transition: none; }
	.reveal { opacity: 1; transform: none; }
}
