/* Cityhost Imaging, main stylesheet */
:root {
	--navy: #071D60;
	--navy-2: #0B2A80;
	--navy-deep: #04123F;
	--teal: #08B4B3;
	--teal-dark: #068584;
	--ink: #12214D;
	--muted: #53608A;
	--line: #DCE4F2;
	--tint: #F2F7FB;
	--white: #fff;
	--radius: 16px;
	--shadow: 0 10px 30px rgba(7, 29, 96, .08);
	--font-head: "Fraunces", Georgia, "Times New Roman", serif;
	--font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--navy-2); }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; color: #fff; }
.ico { flex: none; vertical-align: middle; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .85em 1.5em; border-radius: 999px; font: 600 1rem var(--font-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--teal { background: var(--teal); color: var(--navy-deep); }
.btn--teal:hover { background: #fff; color: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--ghost-dark { border-color: var(--navy); color: var(--navy); }
.btn--ghost-dark:hover { background: var(--navy); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; color: var(--navy); border-bottom: 2px solid var(--teal); padding-bottom: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand__text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-head); }
.brand__text strong { font-size: 1.4rem; letter-spacing: -.01em; }
.brand__text span { font-family: var(--font-body); font-size: .72rem; letter-spacing: .32em; text-transform: uppercase; color: var(--teal-dark); margin-top: 4px; font-weight: 600; }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light .brand__text span { color: var(--teal); }
.custom-logo-link img { max-height: 52px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__list a { display: block; padding: .5em .8em; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .98rem; }
.nav__list a:hover, .nav__list .current-menu-item a, .nav__list .current_page_item a { background: var(--tint); color: var(--navy); }
.nav__cta { padding: .65em 1.2em; font-size: .95rem; }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); padding: 8px; cursor: pointer; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }

@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; }
	.nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; gap: 14px; }
	.nav.is-open { display: flex; }
	.nav__list { flex-direction: column; }
	.nav__list a { padding: .8em 1em; }
	.nav__cta { justify-content: center; }
}

/* Hero */
.hero, .page-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 600px at 85% -10%, #123a9c 0%, transparent 60%), linear-gradient(160deg, var(--navy-deep), var(--navy) 55%, var(--navy-2)); }
.hero { padding: clamp(64px, 10vw, 130px) 0; }
.hero__inner { position: relative; z-index: 1; }
.hero h1, .page-hero h1 { color: #fff; max-width: 15ch; }
.hero h1 em { font-style: italic; color: var(--teal); }
.hero__copy { max-width: 640px; position: relative; z-index: 2; }
.lead { font-size: 1.2rem; color: rgba(255, 255, 255, .85); max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.page-hero { padding: clamp(52px, 8vw, 96px) 0; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { max-width: 22ch; font-size: clamp(2rem, 4.4vw, 3.1rem); }
.beam { position: absolute; right: -6%; top: 0; width: min(640px, 70vw); height: 100%; z-index: 0; opacity: .9; pointer-events: none; }
.page-hero .beam { width: min(460px, 60vw); opacity: .55; }
@media (max-width: 700px) { .beam { opacity: .35; right: -30%; } }

.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-dark); margin: 0 0 .8em; }
.eyebrow--light { color: var(--teal); }

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tint { background: var(--tint); }
.section__head { max-width: 680px; margin-bottom: 44px; }
.section__head p { color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.split--form { grid-template-columns: .8fr 1.2fr; }
@media (max-width: 860px) { .split, .split--form { grid-template-columns: 1fr; } }

/* Cards */
.cards { display: grid; gap: 22px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .cards--3, .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards--2, .cards--3, .cards--4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.section--tint .card { border-color: transparent; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(7, 29, 96, .12); }
.card p:last-child { margin-bottom: 0; color: var(--muted); }
.card__num { display: inline-block; font-family: var(--font-head); font-size: 2rem; color: var(--teal); margin-bottom: 10px; }
.card--navy { background: var(--navy); border-color: var(--navy); }
.card--teal { background: var(--teal-dark); border-color: var(--teal-dark); }
.card--navy p, .card--teal p { color: #fff !important; }
.card__big { font-family: var(--font-head); font-size: 1.35rem; line-height: 1.4; }
.card--outline { box-shadow: none; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; }
.ticks .ico { color: #fff; background: var(--teal); border-radius: 50%; padding: 4px; width: 30px; height: 30px; margin-top: 2px; }
.ticks strong { display: block; color: var(--navy); }
.ticks span { color: var(--muted); }

.list { list-style: none; padding: 0; margin: 0; }
.list li { padding: 10px 0 10px 30px; border-bottom: 1px solid var(--line); position: relative; }
.list li:last-child { border: 0; }
.list li::before { content: ""; position: absolute; left: 4px; top: 1.1em; width: 12px; height: 7px; border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg); }

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 0; margin: 0; counter-reset: s; }
.steps li { position: relative; padding-top: 12px; }
.steps span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 16px; }
.steps p { color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.banner { background: #E8F8F8; border-left: 4px solid var(--teal); padding: 16px 20px; border-radius: 8px; margin-bottom: 36px; color: var(--navy); }
.service-list { display: grid; gap: 0; }
.service { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); align-items: baseline; }
.service:last-child { border-bottom: 1px solid var(--line); }
.service h2 { font-size: 1.5rem; margin: 0; }
.service p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .service { grid-template-columns: 1fr; gap: 6px; } }

.roadmap { background: var(--tint); border-radius: var(--radius); padding: 32px; }
.roadmap ol { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 2px dashed var(--teal); }
.roadmap li { position: relative; padding: 0 0 24px 18px; }
.roadmap li:last-child { padding-bottom: 0; }
.roadmap li::before { content: ""; position: absolute; left: -35px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); }
.roadmap li.is-now::before { background: var(--teal); }
.roadmap strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: 1.15rem; }
.roadmap span { color: var(--muted); }

.leader { display: flex; gap: 36px; align-items: center; }
.leader__avatar { flex: none; width: 140px; height: 140px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--teal-dark)); color: #fff; font: 600 2.6rem var(--font-head); }
.leader__role { color: var(--teal-dark); font-weight: 600; }
@media (max-width: 640px) { .leader { flex-direction: column; text-align: center; } }

/* CTA band */
.cta { background: linear-gradient(120deg, var(--navy-deep), var(--navy-2)); color: #fff; padding: clamp(48px, 7vw, 80px) 0; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .82); max-width: 56ch; margin: 0; }
.cta__inner { display: flex; justify-content: space-between; gap: 32px; align-items: center; flex-wrap: wrap; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Contact */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact__list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 20px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list .ico { color: var(--teal-dark); margin-top: 3px; }
.contact__list strong { display: block; color: var(--navy); }
.contact__list a { text-decoration: none; font-weight: 500; }
.map iframe { display: block; width: 100%; height: 420px; border: 0; }

/* Forms */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.tabs { display: flex; gap: 6px; background: var(--tint); padding: 5px; border-radius: 999px; margin-bottom: 26px; width: fit-content; max-width: 100%; }
.tabs button { border: 0; background: none; padding: .6em 1.2em; border-radius: 999px; font: 600 .95rem var(--font-body); color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.form p { margin: 0 0 18px; }
.form label { display: block; font-weight: 600; font-size: .93rem; color: var(--navy); margin-bottom: 6px; }
.form .req { color: #C0392B; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form input[type="date"], .form select, .form textarea {
	width: 100%; padding: .8em 1em; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(8, 180, 179, .18); }
.form input.is-invalid, .form select.is-invalid, .form textarea.is-invalid { border-color: #C0392B; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 600px) { .form__grid { grid-template-columns: 1fr; } }
.form__consent label { display: flex; gap: 10px; font-weight: 500; align-items: flex-start; }
.form__consent input { margin-top: .35em; accent-color: var(--navy); }
.form__hint { font-size: .88rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 10px; margin-bottom: 20px; }
.notice--ok { background: #E6F8F5; color: #064E4D; }
.notice--ok .ico { color: var(--teal-dark); margin-top: 2px; }
.notice--err { background: #FDECEA; color: #8A1F14; }

/* Prose (generic pages) */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.post { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .8); padding-top: 64px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--teal); }
.site-footer h3 { font-family: var(--font-body); color: #fff; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1em; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__slogan { font-family: var(--font-head); font-size: 1.2rem; font-style: italic; color: var(--teal); margin: 18px 0 8px; }
.site-footer__about { max-width: 40ch; font-size: .95rem; }
.footer-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ico { color: var(--teal); margin-top: 4px; }
.footer-link-icon { display: inline-flex; gap: 8px; align-items: center; }
.social { display: flex; gap: 16px; }
.site-footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0 28px; font-size: .85rem; color: rgba(255, 255, 255, .6); }

/* WhatsApp floating button */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}

/* Scroll reveal (progressive enhancement: only when JS adds .js) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
/* Hero photo (replaces the cone). Add at the very bottom of main.css */

/* Computer + tablet: photo on the right half, fading softly into the blue */
.hero-photo {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 52%;
	z-index: 0;
	pointer-events: none;
	-webkit-mask-image: linear-gradient(to right, transparent 0%, #000 45%);
	mask-image: linear-gradient(to right, transparent 0%, #000 45%);
}
.hero-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;          /* fills the box, never stretches */
	object-position: 62% center; /* keeps the patient and sonographer in view */
}
/* a light blue tint so the photo matches the page colours */
.hero-photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(7, 29, 96, .22);
}

/* Phones and small tablets: photo goes behind the text, with a dark tint on top */
@media (max-width: 860px) {
	.hero-photo {
		width: 100%;
		-webkit-mask-image: none;
		mask-image: none;
	}
	.hero-photo::after {
		background: linear-gradient(180deg, rgba(4, 18, 63, .80), rgba(7, 29, 96, .88));
	}
}
