/* =====================================================================
   SPC Physiotherapy — Frontend styles
   Mobile-first, performant, accessible. No framework dependency.
   ===================================================================== */

/* ---------- Brand font: Helvetica (self-hosted) ---------- */
@font-face {
	font-family: "Helvetica Neue Local";
	src: url("../fonts/Helvetica-Light.ttf") format("truetype");
	font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
	font-family: "Helvetica Neue Local";
	src: url("../fonts/Helvetica.ttf") format("truetype");
	font-weight: 400 500; font-style: normal; font-display: swap;
}
@font-face {
	font-family: "Helvetica Neue Local";
	src: url("../fonts/Helvetica-Bold.ttf") format("truetype");
	font-weight: 600 800; font-style: normal; font-display: swap;
}

:root {
	/* Brand palette — only two colours across the whole site */
	--brand: #e91b1e;        /* red */
	--brand-dark: #c1161a;   /* darker red — hover/gradient only */
	--brand-light: #fdeaea;  /* light red tint — soft backgrounds */
	--accent: #31bff1;       /* cyan */
	--accent-dark: #16a6dc;  /* darker cyan — hover only */
	--accent-light: #e6f7fe; /* light cyan tint */
	--ink: #1f2933;
	--muted: #5b6b7a;
	--bg: #ffffff;
	--bg-soft: #f6fafc;
	--line: #e7edf1;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(233, 27, 30, .10);
	--shadow-lg: 0 20px 50px rgba(233, 27, 30, .14);
	--container: 1180px;
	--font: 'Helvetica Neue Local', 'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--font);
	color: var(--ink);
	background: var(--bg);
	line-height: 1.65;
	font-size: 16px;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--muted { background: var(--bg-soft); }

.skip-link {
	position: absolute; left: -999px; top: 0; z-index: 999;
	background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 8px; justify-content: center;
	font-weight: 600; font-size: 15px; line-height: 1;
	padding: 13px 26px; border-radius: 50px; border: 2px solid transparent;
	cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
	white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; fill: currentColor; }
.btn--lg { padding: 16px 34px; font-size: 16px; }
.btn--lg svg { width: 20px; height: 20px; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(233,27,30,.28); }
.btn--primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(233,27,30,.36); }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: #fff; color: var(--brand); transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--brand); }
.btn--white:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--brand-dark); color: rgba(255,255,255,.85); font-size: 13.5px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 16px; }
.topbar__info { display: flex; flex-wrap: wrap; gap: 22px; }
.topbar__info li { display: inline-flex; align-items: center; gap: 7px; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; fill: #fff; flex: none; }
.topbar__social { display: flex; gap: 8px; }
.topbar__social a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.12); transition: transform .2s, filter .2s; }
.topbar__social a:hover { transform: translateY(-2px); filter: brightness(1.1); }
.topbar__social svg { width: 14px; height: 14px; fill: #fff; }
.topbar__social .social--fb { background: #1877f2; }
.topbar__social .social--tw { background: #1da1f2; }
.topbar__social .social--yt { background: #ff0000; }
.topbar__social .social--blog { background: #ff8000; }

/* ---------- Header / nav ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100; background: #fff;
	box-shadow: 0 2px 14px rgba(0,0,0,.05); transition: box-shadow .3s;
}
.site-header.is-stuck { box-shadow: 0 6px 22px rgba(0,0,0,.10); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 16px; }
.brand img { height: 60px; width: auto; }
.primary-nav { display: flex; align-items: center; gap: 22px; }
.primary-nav > ul { display: flex; align-items: center; gap: 22px; }
.primary-nav > ul > li { display: flex; align-items: center; }
.primary-nav a { color: var(--ink); font-weight: 500; font-size: 15px; position: relative; padding: 6px 0; }
.primary-nav a::after {
	content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--brand); transition: width .25s;
}
.primary-nav a:hover::after, .primary-nav a.is-active::after { width: 100%; }
.primary-nav a.is-active { color: var(--brand); }
.primary-nav a.nav-cta { color: #fff !important; flex: none; white-space: nowrap; padding: 10px 16px; }
.nav-cta::after { display: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--brand); border-radius: 3px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Treatment dropdown ---------- */
.has-dropdown { position: relative; }
.has-dropdown > a { display: inline-flex; align-items: center; }
.dropdown-toggle {
	display: none; background: none; border: 0; cursor: pointer; padding: 4px; margin-left: 2px;
	color: var(--ink); vertical-align: middle;
}
.dropdown-toggle svg { width: 18px; height: 18px; fill: currentColor; transition: transform .25s; }
.has-dropdown > .dropdown {
	position: absolute; top: calc(100% + 10px); left: 0; min-width: 210px; background: #fff;
	border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
	padding: 8px; display: block; opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .22s, transform .22s, visibility .22s; z-index: 120;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li { list-style: none; }
.dropdown a { display: block; padding: 9px 14px; border-radius: 8px; font-size: 14.5px; color: var(--ink); }
.dropdown a::after { display: none; }
.dropdown a:hover { background: var(--brand-light); color: var(--brand); }

/* ---------- Hero (plain image banner slider) ---------- */
.hero { position: relative; overflow: hidden; background: var(--brand-dark); }
.hero__slides { position: relative; width: 100%; height: clamp(320px, 52vw, 620px); }
.hero__slide {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
	opacity: 0; transition: opacity 1.1s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__dots { position: absolute; z-index: 2; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero__dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: rgba(255,255,255,.35); cursor: pointer; padding: 0; transition: background .2s, width .2s; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.hero__dots button.is-active { background: #fff; width: 30px; border-radius: 8px; }
.hero__nav {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
	width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
	background: rgba(255,255,255,.85); color: var(--brand); display: grid; place-items: center;
	box-shadow: 0 4px 14px rgba(0,0,0,.2); transition: background .2s, transform .2s;
}
.hero__nav:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.hero__nav svg { width: 26px; height: 26px; }
.hero__nav--prev { left: 18px; }
.hero__nav--next { right: 18px; }
@media (max-width: 600px) {
	.hero__nav { width: 40px; height: 40px; }
	.hero__nav svg { width: 22px; height: 22px; }
	.hero__nav--prev { left: 10px; }
	.hero__nav--next { right: 10px; }
}

/* ---------- Feature strip ---------- */
.features { padding: 56px 0 0; position: relative; z-index: 5; }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
	background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px;
	display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feature__icon { flex: none; width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-light); }
.feature__icon svg { width: 28px; height: 28px; fill: var(--brand); }
.feature h3 { font-size: 17px; margin: 0 0 3px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- Section heads ---------- */
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 13px; margin: 0 0 8px; }
.eyebrow--light { color: var(--accent-light); }
.section-title { font-size: clamp(1.6rem, 3.6vw, 2.4rem); color: var(--ink); }
.section-sub { color: var(--muted); max-width: 620px; margin: 0 auto; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 54px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.about__badge {
	position: absolute; right: -14px; bottom: -22px; background: var(--brand); color: #fff; padding: 18px 24px;
	border-radius: var(--radius); box-shadow: var(--shadow-lg); text-align: center;
}
.about__badge strong { display: block; font-size: 26px; line-height: 1; }
.about__badge span { font-size: 13px; opacity: .9; }
.lead { font-weight: 600; color: var(--brand); font-size: 18px; margin-bottom: 14px; }
.ticklist { margin: 18px 0 26px; display: grid; gap: 10px; }
.ticklist li { position: relative; padding-left: 32px; color: var(--ink); font-weight: 500; }
.ticklist li::before {
	content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
	background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M20 6L9 17l-5-5 1.4-1.4L9 14.2l9.6-9.6z'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
	background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
	box-shadow: var(--shadow); transition: transform .28s, box-shadow .28s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card__img { aspect-ratio: 3/2; overflow: hidden; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-card__img img { transform: scale(1.08); }
.service-card__body { padding: 22px; }
.service-card h3 { font-size: 19px; margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.link-arrow { font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Counters ---------- */
.counters {
	padding: 60px 0; color: #fff; position: relative; overflow: hidden;
	background:
		linear-gradient(120deg, rgba(193,22,26,.88), rgba(233,27,30,.82)),
		url('../images/page-banner-bg.jpg') center/cover no-repeat;
	background-attachment: scroll, fixed;
}
.counters__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.counter__num { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; }
.counter__plus { font-size: 1.6rem; font-weight: 800; color: #fff; }
.counter p { margin: 4px 0 0; color: rgba(255,255,255,.85); font-weight: 500; }

/* ---------- Why choose ---------- */
.why__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.why__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: transform .25s, box-shadow .25s; }
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.why-card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-light); display: grid; place-items: center; margin-bottom: 14px; }
.why-card__icon svg { width: 27px; height: 27px; fill: var(--brand); }
.why-card h3 { font-size: 17px; margin-bottom: 6px; }
.why-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- Specialities cards (image + icon) ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.spec-card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
	box-shadow: var(--shadow); text-align: center; transition: transform .25s, box-shadow .25s;
}
.spec-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.spec-card__media { position: relative; }
.spec-card__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.spec-card__icon {
	position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%);
	width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff;
	display: grid; place-items: center; box-shadow: var(--shadow); border: 3px solid #fff;
}
.spec-card__icon svg { width: 22px; height: 22px; }
.spec-card__title { font-size: 15.5px; margin: 34px 14px 20px; color: var(--ink); }

/* ---------- Gallery peek ---------- */
.peek__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.peek figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.peek img { width: 100%; height: auto; display: block; object-fit: contain; transition: transform .5s; }
.peek figure:hover img { transform: scale(1.04); }

/* ---------- Testimonials (Google reviews style) ---------- */
.g-stars { display: inline-flex; gap: 2px; }
.g-stars svg { width: 18px; height: 18px; fill: #fbbc04; }

.reviews-badge {
	display: flex; align-items: center; gap: 14px; margin: 0 auto 34px; padding: 14px 24px;
	background: #fff; border: 1px solid var(--line); border-radius: 50px; box-shadow: var(--shadow);
	width: fit-content; justify-content: center;
}
.reviews-badge__logo svg { width: 30px; height: 30px; display: block; }
.reviews-badge__text { display: flex; flex-direction: column; line-height: 1.2; }
.reviews-badge__text strong { font-size: 16px; color: var(--ink); }
.reviews-badge__text span { font-size: 12.5px; color: var(--muted); }
.reviews-badge__score { font-size: 22px; font-weight: 800; color: #fbbc04; }

.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.review__head { display: flex; align-items: center; gap: 12px; }
.review__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 18px; flex: none; }
.review__meta { flex: 1; line-height: 1.25; }
.review__meta strong { display: block; color: var(--ink); font-size: 15px; }
.review__meta span { font-size: 12.5px; color: var(--muted); }
.review__g { flex: none; }
.review__g svg { width: 22px; height: 22px; display: block; }
.review__rating { display: flex; align-items: center; gap: 8px; margin: 14px 0 10px; }
.review__ago { font-size: 12px; color: var(--muted); }
.review blockquote { margin: 0; font-size: 14.5px; color: var(--ink); line-height: 1.6; }

.nowrap { white-space: nowrap; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--brand), var(--accent)); color: #fff; padding: 56px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #1a2229; color: #c2ccd4; font-size: 14.5px; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 36px; padding: 60px 20px 44px; }
.footer-col__title { color: #fff; font-size: 17px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-col__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 42px; height: 3px; background: var(--accent); border-radius: 3px; }
.footer-col p { color: #9aa7b0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a, .footer-contact a { color: #c2ccd4; }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); padding-left: 4px; }
.footer-links a { transition: padding .2s, color .2s; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; color: #9aa7b0; }
.footer-contact svg { width: 18px; height: 18px; fill: var(--accent); flex: none; margin-top: 3px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: transform .2s, filter .2s; }
.footer-social a:hover { transform: translateY(-3px); filter: brightness(1.1); }
.footer-social svg { width: 17px; height: 17px; fill: #fff; }
.footer-social .social--fb { background: #1877f2; }
.footer-social .social--tw { background: #1da1f2; }
.footer-social .social--blog { background: #ff8000; }
.footer-social .social--yt { background: #ff0000; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; text-align: center; }
.site-footer__bottom p { margin: 0; color: #8794a0; font-size: 13.5px; }

/* ---------- Floating actions ---------- */
.floating-actions { position: fixed; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.floating-actions--right { right: 18px; }
.floating-actions--left { left: 18px; }
.fab { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-lg); transition: transform .2s; }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 26px; height: 26px; fill: #fff; }
.fab--call { background: var(--brand); }
.fab--wa { background: #25d366; }
.fab--top { background: var(--ink); opacity: 0; pointer-events: none; transition: opacity .3s, transform .2s; }
.fab--top.is-visible { opacity: 1; pointer-events: auto; }

/* ---------- Scroll reveal ---------- */
[data-animate] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
[data-animate].is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
	.about__grid, .why__grid { grid-template-columns: 1fr; gap: 40px; }
	.services__grid { grid-template-columns: repeat(2, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
	.topbar__info li:nth-child(3) { display: none; }
	.nav-toggle { display: flex; }
	.primary-nav {
		position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); background: #fff;
		flex-direction: column; align-items: stretch; gap: 0; padding: 90px 26px 30px;
		transform: translateX(100%); transition: transform .3s ease; box-shadow: -10px 0 40px rgba(0,0,0,.15);
		overflow-y: auto;
	}
	.primary-nav.is-open { transform: translateX(0); }
	.primary-nav ul { flex-direction: column; gap: 0; }
	.primary-nav li { border-bottom: 1px solid var(--line); }
	.primary-nav a { display: block; padding: 14px 0; }
	.nav-cta { margin-top: 20px; }

	/* Dropdown becomes an inline accordion on mobile */
	.has-dropdown { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
	.has-dropdown > a { flex: 1; }
	.dropdown-toggle { display: inline-flex; }
	.has-dropdown.is-open .dropdown-toggle svg { transform: rotate(180deg); }
	.has-dropdown > .dropdown {
		position: static; width: 100%; min-width: 0; border: 0; box-shadow: none; border-radius: 0;
		padding: 0 0 6px 12px; opacity: 1; visibility: visible; transform: none; transition: none;
		display: none;
	}
	.has-dropdown.is-open > .dropdown { display: block; }
	.dropdown li { border-bottom: 0; }
	.dropdown a { padding: 10px 0; }
	body.nav-open { overflow: hidden; }
	.nav-backdrop { position: fixed; inset: 0; background: rgba(12,30,45,.5); z-index: 99; opacity: 0; pointer-events: none; transition: opacity .3s; }
	.nav-backdrop.is-open { opacity: 1; pointer-events: auto; }
}
@media (max-width: 760px) {
	.section { padding: 54px 0; }
	.features { padding: 40px 0 0; }
	.features__grid { grid-template-columns: 1fr; gap: 16px; }
	.counters__grid { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
	.why__cards { grid-template-columns: 1fr; }
	.peek__grid, .testimonials__grid { grid-template-columns: 1fr; }
	.about__badge { right: 14px; }
	.cta-band__inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
	.services__grid { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.topbar__info { gap: 14px; font-size: 12.5px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	[data-animate] { opacity: 1; transform: none; }
	.hero__slide { transition: opacity .3s; transform: none; }
}

/* =====================================================================
   INNER PAGES
   ===================================================================== */

/* ---------- Page hero / breadcrumb ---------- */
.page-hero { position: relative; background-size: cover; background-position: center; color: #fff; padding: 44px 0; text-align: center; }
.page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(193,22,26,.92), rgba(49,191,241,.80)); }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); margin: 0 0 10px; }
.crumbs { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14.5px; }
.crumbs a { color: rgba(255,255,255,.85); }
.crumbs a:hover { color: #fff; }
.crumbs__sep { color: rgba(255,255,255,.5); }
.crumbs__current { color: var(--accent-light); font-weight: 600; }

/* ---------- Mission / Vision / Values ---------- */
.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mv-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 26px; text-align: center; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.mv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mv-card__icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 18px; background: var(--brand-light); display: grid; place-items: center; }
.mv-card__icon svg { width: 32px; height: 32px; fill: var(--brand); }
.mv-card h3 { font-size: 20px; margin-bottom: 8px; }
.mv-card p { color: var(--muted); margin: 0; }

/* ---------- Treatment rows ---------- */
.treat-list { display: grid; gap: 40px; }
.treat-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.treat-row--rev .treat-row__media { order: 2; }
.treat-row__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 3/2; }
.treat-row__no { display: inline-block; font-size: 15px; font-weight: 700; color: #fff; background: var(--accent); border-radius: 50px; padding: 4px 14px; margin-bottom: 12px; }
.treat-row__body h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); color: var(--brand); margin-bottom: 10px; }
.treat-row__body > p { color: var(--muted); }

/* ---------- Technique grid ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tech-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.tech-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tech-card__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-light); display: grid; place-items: center; margin-bottom: 14px; }
.tech-card__icon svg { width: 24px; height: 24px; fill: var(--accent); }
.tech-card h3 { font-size: 18px; margin-bottom: 6px; }
.tech-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- Treatment detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; align-items: start; }
.detail-main__img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); margin-bottom: 24px; object-fit: cover; aspect-ratio: 16/9; }
.detail-main h3 { font-size: 1.3rem; margin: 22px 0 12px; }
.detail-side { display: grid; gap: 20px; position: sticky; top: 100px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.side-card h3 { font-size: 18px; margin-bottom: 14px; }
.side-links li { border-bottom: 1px solid var(--line); }
.side-links li:last-child { border-bottom: 0; }
.side-links a { display: block; padding: 11px 0; font-weight: 500; color: var(--ink); }
.side-links a:hover { color: var(--brand); padding-left: 6px; }
.side-links a.is-active { color: var(--brand); font-weight: 700; }
.side-card--cta { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; text-align: center; }
.side-card--cta h3, .side-card--cta p { color: #fff; }
.side-card--cta p { opacity: .9; }

/* ---------- Blog listing ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
	box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card__media { overflow: hidden; aspect-ratio: 16/10; }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card__media img { transform: scale(1.06); }
.blog-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.blog-card__date { color: var(--brand); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.blog-card__title { font-size: 1.15rem; margin: 8px 0 10px; line-height: 1.35; }
.blog-card__excerpt { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; flex: 1; }
.blog-card__more { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; font-size: 14.5px; }
.blog-card__more svg { width: 18px; height: 18px; transition: transform .25s; }
.blog-card:hover .blog-card__more svg { transform: translateX(4px); }
.blog-more-wrap { text-align: center; margin-top: 38px; }
.blog-card__title a { color: inherit; }
.blog-card__title a:hover { color: var(--brand); }

/* ---------- Single blog post ---------- */
.blog-post__meta { display: flex; flex-wrap: wrap; gap: 20px; margin: 18px 0 14px; }
.blog-post__meta span { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 14px; }
.blog-post__meta svg { width: 16px; height: 16px; fill: var(--brand); }
.blog-post p { margin-bottom: 16px; }
.blog-post h3 { font-size: 1.3rem; margin: 26px 0 12px; }
.blog-post__share { display: flex; align-items: center; gap: 10px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.blog-post__share span { font-weight: 600; color: var(--ink); }
.blog-post__share a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; transition: transform .2s, filter .2s; }
.blog-post__share a:hover { transform: translateY(-3px); filter: brightness(1.1); }
.blog-post__share svg { width: 16px; height: 16px; fill: #fff; }
.blog-post__share .social--fb { background: #1877f2; }
.blog-post__share .social--tw { background: #1da1f2; }
.blog-post__share .social--wa { background: #25d366; }

.recent-posts li { border-bottom: 1px solid var(--line); }
.recent-posts li:last-child { border-bottom: 0; }
.recent-posts a { display: flex; gap: 12px; align-items: center; padding: 12px 0; }
.recent-posts img { width: 66px; height: 66px; border-radius: 10px; object-fit: cover; flex: none; }
.recent-posts__title { display: block; color: var(--ink); font-weight: 600; font-size: 14px; line-height: 1.35; }
.recent-posts a:hover .recent-posts__title { color: var(--brand); }
.recent-posts__date { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; }

/* ---------- Home gallery carousel ---------- */
.gallery-carousel { position: relative; }
.gallery-carousel__track {
	display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
	scroll-behavior: smooth; padding: 6px 4px 14px; -ms-overflow-style: none; scrollbar-width: none;
}
.gallery-carousel__track::-webkit-scrollbar { display: none; }
.gallery-carousel__slide {
	position: relative; flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start;
	border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3;
	display: block; transition: transform .3s, box-shadow .3s;
}
.gallery-carousel__slide:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.gallery-carousel__slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-carousel__slide:hover img { transform: scale(1.08); }
.gallery-carousel__cap {
	position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between;
	gap: 10px; padding: 16px; color: #fff;
	background: linear-gradient(180deg, rgba(12,30,45,0) 40%, rgba(193,22,26,.85));
	opacity: 0; transition: opacity .3s;
}
.gallery-carousel__slide:hover .gallery-carousel__cap { opacity: 1; }
.gallery-carousel__title { font-weight: 600; font-size: 15px; }
.gallery-carousel__icon { flex: none; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; }
.gallery-carousel__icon svg { width: 20px; height: 20px; }
.gallery-carousel__nav {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
	width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
	background: var(--brand); color: #fff; display: grid; place-items: center;
	box-shadow: var(--shadow-lg); transition: background .2s, transform .2s;
}
.gallery-carousel__nav:hover { background: var(--brand-dark); transform: translateY(-50%) scale(1.08); }
.gallery-carousel__nav svg { width: 24px; height: 24px; }
.gallery-carousel__nav--prev { left: -16px; }
.gallery-carousel__nav--next { right: -16px; }
@media (max-width: 992px) { .gallery-carousel__slide { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 600px) {
	.gallery-carousel__slide { flex-basis: 85%; }
	.gallery-carousel__nav--prev { left: 6px; }
	.gallery-carousel__nav--next { right: 6px; }
}

/* ---------- Gallery ---------- */
.gallery-tabs { display: flex; gap: 12px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.gallery-tabs__link { padding: 11px 28px; border-radius: 50px; border: 1px solid var(--line); background: #fff; font-weight: 600; color: var(--muted); }
.gallery-tabs__link.is-active, .gallery-tabs__link:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; color: #fff; font-weight: 600; font-size: 15px; background: linear-gradient(transparent, rgba(11,34,51,.82)); }
.gallery-item__zoom { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .25s, background .2s; }
.gallery-item:hover .gallery-item__zoom { opacity: 1; transform: none; }
.gallery-item__zoom:hover { background: #fff; }
.gallery-item__zoom svg { width: 22px; height: 22px; fill: var(--brand); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,22,34,.92); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.is-open { display: flex; }
.lightbox__figure { margin: 0; max-width: 90vw; max-height: 88vh; text-align: center; }
.lightbox__figure img { max-width: 100%; max-height: 78vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox__figure figcaption { color: #fff; margin-top: 14px; font-weight: 500; }
.lightbox__close { position: absolute; top: 20px; right: 26px; background: none; border: 0; color: #fff; font-size: 42px; line-height: 1; cursor: pointer; }

/* ---------- Video gallery ---------- */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.video-item { margin: 0; }
.video-item__frame { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; }
.video-item__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-item figcaption { margin-top: 12px; font-weight: 600; text-align: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: start; }
.info-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-top: 16px; box-shadow: var(--shadow); }
.info-card__icon { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--brand-light); display: grid; place-items: center; }
.info-card__icon svg { width: 24px; height: 24px; fill: var(--brand); }
.info-card h3 { font-size: 16px; margin: 2px 0 4px; }
.info-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Forms ---------- */
.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-lg); }
.form-title { font-size: 1.4rem; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; color: var(--ink); }
.form-field input, .form-field textarea {
	width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink);
	background: var(--bg-soft); transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-field input:focus, .form-field textarea:focus { outline: 0; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(233,27,30,.14); }
.form-field textarea { resize: vertical; }

/* ---------- Alerts ---------- */
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-weight: 500; font-size: 14.5px; }
.alert--success { background: var(--accent-light); color: var(--accent-dark); border: 1px solid #b9e6f9; }
.alert--error { background: var(--brand-light); color: var(--brand-dark); border: 1px solid #f6c9ca; }
.alert--error p { margin: 0; }

/* ---------- Appointment ---------- */
.appt-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 44px; align-items: start; }
.appt-call { display: flex; align-items: center; gap: 14px; margin-top: 22px; background: var(--brand-light); border-radius: var(--radius); padding: 16px 20px; }
.appt-call__icon { width: 46px; height: 46px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; flex: none; }
.appt-call__icon svg { width: 24px; height: 24px; fill: #fff; }
.appt-call div span { display: block; font-size: 13px; color: var(--muted); }
.appt-call a { font-size: 20px; font-weight: 700; color: var(--brand); }

/* ---------- Map ---------- */
.map-wrap { line-height: 0; }
.map-wrap iframe { display: block; width: 100%; }

/* ---------- Inner-page responsive ---------- */
@media (max-width: 992px) {
	.mv-grid, .tech-grid, .gallery-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
	.detail-grid, .contact-grid, .appt-grid { grid-template-columns: 1fr; }
	.detail-side { position: static; }
	.video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
	.treat-row { grid-template-columns: 1fr; }
	.treat-row--rev .treat-row__media { order: 0; }
	.mv-grid, .tech-grid, .gallery-grid, .blog-grid { grid-template-columns: 1fr; }
	.form-row { grid-template-columns: 1fr; }
	.contact-form-wrap { padding: 24px; }
	.page-hero { padding: 34px 0; }
}
