/*
Theme Name: TVK Physio
Theme URI: https://tvkphysio.com
Author: TVK Physio
Description: A modern, specialist physiotherapy clinic theme built for TVK Physio, featuring a home hero slider, ten specialist service pages, an about story, blog and contact page. Brand colours: maroon #8B0000 and gold #FFCC00.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: tvk-physio
*/

/* =================================================================
   1. DESIGN TOKENS
================================================================= */
:root{
	--maroon: #8B0000;
	--maroon-dark: #5c0000;
	--maroon-light: #a81616;
	--gold: #FFCC00;
	--gold-dark: #d9ad00;
	--ink: #1c1210;
	--ink-soft: #3a2c28;
	--cream: #FFFBF2;
	--paper: #FFFFFF;
	--surface: #FBF4E9;
	--gray: #6b615d;
	--gray-light: #e9e1d8;
	--border: #ece3d6;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 20px 45px -20px rgba(60,10,10,.35);
	--shadow-sm: 0 8px 20px -10px rgba(60,10,10,.25);
	--container: 1240px;
	--ff-head: 'Poppins', 'Segoe UI', sans-serif;
	--ff-body: 'Inter', 'Segoe UI', sans-serif;
}

/* =================================================================
   2. RESET & BASE
================================================================= */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; overflow-x:hidden; }
svg{ width:1em; height:1em; flex-shrink:0; vertical-align:-0.125em; }
body{
	margin:0;
	font-family:var(--ff-body);
	color:var(--ink);
	background:var(--paper);
	font-size:16px;
	line-height:1.65;
	-webkit-font-smoothing:antialiased;
	overflow-x:hidden;
	max-width:100vw;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,h5{ font-family:var(--ff-head); line-height:1.2; margin:0 0 .5em; color:var(--ink); font-weight:700; }
p{ margin:0 0 1em; }
button{ font-family:inherit; cursor:pointer; }
.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }
.container-narrow{ max-width:860px; margin:0 auto; padding:0 24px; }
section{ position:relative; }
.visually-hidden{ position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
::selection{ background:var(--gold); color:var(--ink); }

/* =================================================================
   3. UTILITIES
================================================================= */
.eyebrow{
	display:inline-block; font-family:var(--ff-head); font-weight:700; letter-spacing:.14em;
	text-transform:uppercase; font-size:.76rem; color:var(--maroon); margin-bottom:14px;
	padding:6px 14px; background:rgba(139,0,0,.08); border-radius:100px;
}
.eyebrow.on-dark{ color:var(--gold); background:rgba(255,204,0,.14); }
.section-head{ max-width:720px; margin:0 auto 48px; text-align:center; }
.section-head h2{ font-size:clamp(1.7rem,3vw,2.4rem); }
.section-head p{ color:var(--gray); font-size:1.08rem; }
.section-head.align-left{ margin:0 0 40px; text-align:left; }

.btn{
	display:inline-flex; align-items:center; gap:8px; font-family:var(--ff-head); font-weight:600;
	font-size:.98rem; padding:14px 28px; border-radius:100px; border:2px solid transparent;
	transition:.25s ease; white-space:nowrap;
}
.btn-primary{ background:var(--gold); color:var(--maroon-dark); border-color:var(--gold); }
.btn-primary:hover{ background:var(--gold-dark); border-color:var(--gold-dark); transform:translateY(-2px); }
.btn-outline{ background:transparent; color:var(--paper); border-color:rgba(255,255,255,.6); }
.btn-outline:hover{ background:rgba(255,255,255,.12); border-color:#fff; transform:translateY(-2px); }
.btn-maroon{ background:var(--maroon); color:#fff; border-color:var(--maroon); }
.btn-maroon:hover{ background:var(--maroon-dark); border-color:var(--maroon-dark); transform:translateY(-2px); }
.btn-ghost{ background:transparent; color:var(--maroon); border-color:var(--maroon); }
.btn-ghost:hover{ background:var(--maroon); color:#fff; }
.btn-sm{ padding:10px 20px; font-size:.88rem; }
.btn svg{ width:16px; height:16px; }

.pill-badge{
	display:inline-flex; align-items:center; gap:8px; background:var(--surface); border:1px solid var(--border);
	border-radius:100px; padding:8px 16px; font-size:.85rem; font-weight:600; color:var(--maroon-dark);
}

/* =================================================================
   4. HEADER
================================================================= */
.site-header{
	position:sticky; top:0; z-index:1000; background:rgba(255,255,255,.92); backdrop-filter:blur(10px);
	border-bottom:1px solid var(--border);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:20px; padding:14px 24px; flex-wrap:nowrap; }
.site-branding{ display:flex; align-items:center; gap:12px; flex-shrink:0; }
.site-branding img,
.site-branding svg,
.site-branding .custom-logo-link img{
	height:52px; width:auto; max-width:220px; max-height:52px; object-fit:contain; display:block;
}
.site-branding .site-title{ font-family:var(--ff-head); font-weight:800; font-size:1.3rem; color:var(--maroon); }
.site-branding .site-title span{ color:var(--gold-dark); }

.nav-menu{ display:flex; align-items:center; gap:2px; }
.nav-menu li a{
	display:block; padding:10px 16px; font-family:var(--ff-head); font-weight:600; font-size:.96rem;
	color:var(--ink-soft); border-radius:100px; transition:.2s; white-space:nowrap;
}
.nav-menu li a:hover, .nav-menu li.current-menu-item > a{ background:rgba(139,0,0,.08); color:var(--maroon); }

.header-actions{ display:flex; align-items:center; gap:14px; flex-shrink:0; }
.header-phone{ display:flex; align-items:center; gap:8px; font-family:var(--ff-head); font-weight:600; color:var(--ink-soft); font-size:.92rem; white-space:nowrap; }
.header-phone svg{ width:18px; height:18px; color:var(--maroon); flex-shrink:0; }
.menu-toggle{ display:none; background:none; border:none; padding:8px; flex-shrink:0; }
.menu-toggle span{ display:block; width:26px; height:3px; background:var(--maroon); margin:5px 0; border-radius:3px; }

/* =================================================================
   5. HERO SLIDER
================================================================= */
.hero-slider{ position:relative; overflow:hidden; color:#fff; min-height:640px; }
.hero-slide{
	position:absolute; top:0; right:0; bottom:0; left:0; display:flex; align-items:center;
	background-size:cover; background-position:center; background-color:var(--maroon-dark);
	opacity:0; visibility:hidden; z-index:1; pointer-events:none;
	transition:opacity 1.2s ease, visibility 0s linear 1.2s, transform 6s ease;
	transform:scale(1.06);
}
.hero-slide.is-active{
	opacity:1; visibility:visible; z-index:2; pointer-events:auto;
	transition:opacity 1.2s ease, transform 6.5s ease;
	transform:scale(1);
}
.hero-slide::after{
	content:''; position:absolute; top:0; right:0; bottom:0; left:0;
	background:linear-gradient(90deg, rgba(20,3,3,.86) 0%, rgba(20,3,3,.55) 45%, rgba(20,3,3,.25) 100%);
}
.hero-slide-content{ position:relative; z-index:2; max-width:640px; padding:100px 0; }
.hero-slide-content .eyebrow{ }
.hero-slide-content h1, .hero-slide-content h2{ color:#fff; font-size:clamp(2.1rem,4.4vw,3.4rem); margin-bottom:20px; }
.hero-slide-content p.lead{ font-size:1.15rem; color:rgba(255,255,255,.9); margin-bottom:30px; max-width:540px; }
.hero-slide-content ul{ margin-bottom:30px; }
.hero-slide-content ul li{ display:flex; gap:10px; align-items:flex-start; margin-bottom:10px; color:rgba(255,255,255,.92); }
.hero-slide-content ul li svg{ flex:none; width:20px; height:20px; color:var(--gold); margin-top:2px; }
.hero-cta-row{ display:flex; gap:14px; flex-wrap:wrap; }
@media (prefers-reduced-motion: reduce){
	.hero-slide, .hero-slide.is-active{ transition:opacity .3s ease; transform:none; }
}

.hero-controls{ position:absolute; z-index:3; bottom:26px; left:0; right:0; display:flex; justify-content:center; gap:10px; }
.hero-dot{ width:10px; height:10px; border-radius:50%; background:rgba(255,255,255,.4); border:none; padding:0; transition:.2s; }
.hero-dot.is-active{ background:var(--gold); width:26px; border-radius:6px; }
.hero-arrow{
	position:absolute; z-index:3; top:50%; transform:translateY(-50%); width:46px; height:46px; border-radius:50%;
	background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.3); color:#fff; display:flex; align-items:center; justify-content:center;
}
.hero-arrow:hover{ background:var(--gold); color:var(--maroon-dark); border-color:var(--gold); }
.hero-arrow.prev{ left:24px; } .hero-arrow.next{ right:24px; }
@media(max-width:640px){ .hero-arrow{ display:none; } }

/* Small page hero (non-home pages) */
.page-hero{
	position:relative; color:#fff; padding:96px 0 70px; background-size:cover; background-position:center;
	background-color:var(--maroon-dark);
}
.page-hero::after{ content:''; position:absolute; top:0; right:0; bottom:0; left:0; background:linear-gradient(120deg, rgba(15,2,2,.88), rgba(90,0,0,.55)); }
.page-hero .container{ position:relative; z-index:2; max-width:760px; }
.page-hero h1{ color:#fff; font-size:clamp(2rem,4vw,2.9rem); }
.page-hero p{ color:rgba(255,255,255,.88); font-size:1.1rem; }
.breadcrumb{ display:flex; gap:8px; align-items:center; font-size:.85rem; color:rgba(255,255,255,.7); margin-bottom:18px; font-weight:600; letter-spacing:.03em; text-transform:uppercase; }
.breadcrumb a{ color:rgba(255,255,255,.7); } .breadcrumb a:hover{ color:var(--gold); }

/* =================================================================
   6. SERVICE / CARD GRIDS
================================================================= */
.services-grid{ display:flex; flex-wrap:wrap; align-items:stretch; gap:22px; }
.services-grid > *{ flex:0 1 calc(33.333% - 15px); min-width:260px; align-self:stretch; }
.service-card{
	background:var(--paper); border:1px solid var(--border); border-radius:var(--radius); padding:32px 26px;
	transition:.25s ease; display:flex; flex-direction:column; width:100%;
}
.service-card:hover{ box-shadow:var(--shadow); transform:translateY(-6px); border-color:transparent; }
.service-card .icon-wrap{ width:64px; height:64px; margin-bottom:18px; border-radius:50%; overflow:hidden; background:var(--surface); }
.service-card .icon-wrap img{ width:100%; height:100%; object-fit:cover; }
.service-card h3{ font-size:1.14rem; margin-bottom:10px; }
.service-card p{ color:var(--gray); font-size:.96rem; flex-grow:1; }
.service-card .card-link{ margin-top:14px; font-family:var(--ff-head); font-weight:700; color:var(--maroon); font-size:.9rem; display:inline-flex; align-items:center; gap:6px; }
.service-card .card-link svg{ width:16px; height:16px; transition:.2s; }
.service-card:hover .card-link svg{ transform:translateX(4px); }

@media(max-width:980px){ .services-grid > *{ flex-basis:calc(50% - 11px); } }
@media(max-width:620px){ .services-grid > *{ flex-basis:100%; } }

/* =================================================================
   7. FEATURE / STAT / VALUE BLOCKS
================================================================= */
.feature-strip{ display:flex; flex-wrap:wrap; gap:18px; }
.feature-strip > *{ flex:1 1 calc(25% - 14px); min-width:150px; }
.feature-box{
	background:var(--surface); border-radius:var(--radius-sm); padding:26px 20px; text-align:left; border:1px solid var(--border);
}
.feature-box strong{ display:block; font-family:var(--ff-head); font-size:1.1rem; color:var(--maroon); margin-bottom:6px; }
.feature-box span{ color:var(--gray); font-size:.9rem; }
@media(max-width:900px){ .feature-strip > *{ flex-basis:calc(50% - 9px); } }

.stats-row{ display:flex; flex-wrap:wrap; gap:18px; margin-top:44px; }
.stats-row > *{ flex:1 1 calc(25% - 14px); min-width:130px; }
.stat-box{ text-align:center; padding:22px 10px; border-left:1px solid var(--border); }
.stat-box:first-child{ border-left:none; }
.stat-box .num{ font-family:var(--ff-head); font-weight:800; font-size:clamp(1.7rem,3vw,2.4rem); color:var(--maroon); display:block; }
.stat-box .label{ color:var(--gray); font-size:.88rem; }
@media(max-width:700px){ .stats-row > *{ flex-basis:calc(50% - 9px); } .stat-box{ border-left:none; border-top:1px solid var(--border); } }

/* Split section (image + text) */
.split{ display:flex; flex-wrap:wrap; gap:64px; align-items:center; }
.split > *{ flex:1 1 calc(50% - 32px); min-width:280px; }
.split.reverse{ flex-direction:row-reverse; }
.split .media img{ border-radius:var(--radius); box-shadow:var(--shadow); }
.split .media{ position:relative; }
@media(max-width:900px){ .split{ gap:36px; } .split.reverse{ flex-direction:column; } .split > *{ flex-basis:100%; } }

/* Numbered list (values / approach) */
.numbered-list{ display:flex; flex-direction:column; gap:22px; }
.numbered-item{ display:flex; gap:18px; }
.numbered-item .num{
	flex:none; width:44px; height:44px; border-radius:50%; background:var(--maroon); color:#fff; display:flex;
	align-items:center; justify-content:center; font-family:var(--ff-head); font-weight:700;
}
.numbered-item h4{ margin-bottom:4px; font-size:1.05rem; }
.numbered-item p{ color:var(--gray); margin:0; font-size:.95rem; }

/* =================================================================
   8. CTA BAND
================================================================= */
.cta-band{
	position:relative; color:#fff; padding:80px 0; text-align:center; background-size:cover; background-position:center;
	background-color:var(--maroon-dark);
}
.cta-band::after{ content:''; position:absolute; top:0; right:0; bottom:0; left:0; background:linear-gradient(120deg, rgba(15,2,2,.88), rgba(90,0,0,.6)); }
.cta-band .container{ position:relative; z-index:2; max-width:680px; }
.cta-band h2{ color:#fff; font-size:clamp(1.7rem,3.4vw,2.5rem); }
.cta-band p{ color:rgba(255,255,255,.88); font-size:1.08rem; margin-bottom:30px; }
.cta-row{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* =================================================================
   9. SERVICE DETAIL PAGE
================================================================= */
.service-detail-grid{ display:flex; flex-wrap:wrap; gap:56px; align-items:flex-start; }
.service-detail-grid .main{ flex:2 1 480px; }
.service-detail-grid aside.main{ flex:1 1 280px; }
.service-detail-grid .main h2{ font-size:1.5rem; margin-top:2.2em; }
.service-detail-grid .main h2:first-child{ margin-top:0; }
.condition-list{ display:flex; flex-wrap:wrap; gap:2px 20px; list-style:none; }
.condition-list li{ display:flex; gap:10px; align-items:flex-start; color:var(--ink-soft); font-size:.97rem; padding:6px 0; flex:1 1 calc(50% - 10px); min-width:220px; }
.condition-list li svg{ flex:none; width:18px; height:18px; color:var(--maroon); margin-top:3px; }
@media(max-width:560px){ .condition-list li{ flex-basis:100%; } }

.sidebar-card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:28px; position:sticky; top:100px; }
.sidebar-card h3{ font-size:1.1rem; }
.sidebar-card p{ color:var(--gray); font-size:.94rem; }
.sidebar-card .btn{ width:100%; justify-content:center; margin-top:6px; }
.sidebar-card .contact-line{ display:flex; gap:10px; align-items:center; margin-top:14px; font-size:.92rem; color:var(--ink-soft); }
.sidebar-card .contact-line svg{ width:18px; height:18px; color:var(--maroon); flex:none; }
.sidebar-services{ margin-top:26px; }
.sidebar-services li a{ display:block; padding:9px 0; border-bottom:1px solid var(--border); font-size:.92rem; font-weight:600; color:var(--ink-soft); }
.sidebar-services li a:hover{ color:var(--maroon); }
.sidebar-services li:last-child a{ border-bottom:none; }

@media(max-width:900px){ .service-detail-grid .main, .service-detail-grid aside.main{ flex-basis:100%; } .sidebar-card{ position:static; } }

/* =================================================================
   10. VALUES / APPROACH SECTIONS
================================================================= */
.values-grid{ display:flex; flex-wrap:wrap; gap:22px; }
.values-grid > *{ flex:1 1 calc(50% - 11px); min-width:260px; }
.value-card{ background:var(--paper); border:1px solid var(--border); border-radius:var(--radius); padding:28px; }
.value-card .num-badge{ width:40px; height:40px; border-radius:10px; background:rgba(255,204,0,.18); color:var(--maroon); display:flex; align-items:center; justify-content:center; font-family:var(--ff-head); font-weight:800; margin-bottom:14px; }
.value-card h3{ font-size:1.08rem; margin-bottom:6px; }
.value-card p{ color:var(--gray); font-size:.94rem; margin:0; }
@media(max-width:700px){ .values-grid > *{ flex-basis:100%; } }

/* =================================================================
   11. BLOG
================================================================= */
.blog-grid{ display:flex; flex-wrap:wrap; align-items:stretch; gap:26px; }
.blog-grid > *{ flex:0 1 calc(33.333% - 18px); min-width:260px; align-self:stretch; }
.blog-card{ border-radius:var(--radius); overflow:hidden; border:1px solid var(--border); background:#fff; transition:.25s; display:flex; flex-direction:column; width:100%; }
.blog-card:hover{ box-shadow:var(--shadow); transform:translateY(-6px); }
.blog-card .thumb{ aspect-ratio:3/2; overflow:hidden; }
.blog-card .thumb img{ width:100%; height:100%; object-fit:cover; }
.blog-card .body{ padding:22px 22px 26px; flex-grow:1; display:flex; flex-direction:column; }
.blog-card .meta{ font-size:.78rem; color:var(--maroon); font-weight:700; text-transform:uppercase; letter-spacing:.06em; margin-bottom:8px; }
.blog-card h3{ font-size:1.08rem; margin-bottom:10px; }
.blog-card p{ color:var(--gray); font-size:.92rem; flex-grow:1; }
.blog-card .read-more{ margin-top:12px; font-weight:700; font-size:.86rem; color:var(--maroon); display:inline-flex; align-items:center; gap:6px; }
@media(max-width:980px){ .blog-grid > *{ flex-basis:calc(50% - 13px); } }
@media(max-width:640px){ .blog-grid > *{ flex-basis:100%; } }

.single-post-content{ max-width:760px; margin:0 auto; }
.single-post-content .featured{ border-radius:var(--radius); margin-bottom:34px; box-shadow:var(--shadow); }
.single-post-content h2{ font-size:1.5rem; margin-top:1.6em; }
.single-post-content ul{ list-style:disc; padding-left:22px; margin-bottom:1em; }
.single-post-content ul li{ margin-bottom:.4em; }
.post-meta-row{ display:flex; gap:16px; align-items:center; color:var(--gray); font-size:.88rem; margin-bottom:20px; }
.pagination-row{ display:flex; justify-content:space-between; margin-top:50px; padding-top:24px; border-top:1px solid var(--border); }

/* =================================================================
   12. CONTACT PAGE
================================================================= */
.contact-grid{ display:flex; flex-wrap:wrap; gap:50px; align-items:flex-start; }
.contact-grid > *{ flex:1 1 380px; }
.contact-info-card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:34px; }
.contact-info-card + .contact-info-card{ margin-top:20px; }
.contact-row{ display:flex; gap:16px; margin-bottom:20px; }
.contact-row:last-child{ margin-bottom:0; }
.contact-row .ic{ flex:none; width:46px; height:46px; border-radius:50%; background:var(--maroon); color:#fff; display:flex; align-items:center; justify-content:center; }
.contact-row .ic svg{ width:22px; height:22px; }
.contact-row h4{ margin-bottom:3px; font-size:.98rem; }
.contact-row p{ margin:0; color:var(--gray); font-size:.92rem; }
.hours-table{ width:100%; border-collapse:collapse; margin-top:6px; }
.hours-table td{ padding:9px 0; border-bottom:1px solid var(--border); font-size:.93rem; }
.hours-table td:first-child{ font-weight:600; color:var(--ink-soft); }
.hours-table td:last-child{ text-align:right; color:var(--gray); }
.hours-table tr:last-child td{ border-bottom:none; }

.contact-form{ background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:34px; box-shadow:var(--shadow-sm); }
.form-row{ display:flex; flex-wrap:wrap; gap:16px; margin-bottom:16px; }
.form-row .form-group{ flex:1 1 calc(50% - 8px); min-width:180px; }
.form-group{ display:flex; flex-direction:column; gap:6px; }
.form-group.full{ flex-basis:100%; }
.form-group label{ font-size:.85rem; font-weight:600; color:var(--ink-soft); }
.form-group input, .form-group select, .form-group textarea{
	border:1px solid var(--border); border-radius:var(--radius-sm); padding:12px 14px; font-family:var(--ff-body);
	font-size:.95rem; background:var(--paper); color:var(--ink);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus{ outline:2px solid var(--gold); border-color:var(--gold); }
@media(max-width:560px){ .form-row .form-group{ flex-basis:100%; } }

.map-embed{ border-radius:var(--radius); overflow:hidden; border:1px solid var(--border); margin-top:20px; }
.map-embed iframe{ width:100%; height:340px; border:0; display:block; }

/* =================================================================
   13. FOOTER
================================================================= */
.site-footer{ background:var(--ink); color:rgba(255,255,255,.78); padding:70px 0 0; }
.footer-grid{ display:flex; flex-wrap:wrap; gap:40px; padding-bottom:50px; border-bottom:1px solid rgba(255,255,255,.1); }
.footer-grid > *{ flex:1 1 220px; }
.footer-brand{ flex:1.4 1 260px; }
.footer-brand img{ height:46px; margin-bottom:16px; }
.footer-brand p{ color:rgba(255,255,255,.62); font-size:.92rem; }
.footer-badge{ display:inline-flex; align-items:center; gap:8px; margin-top:14px; background:rgba(255,204,0,.12); color:var(--gold); padding:8px 14px; border-radius:100px; font-size:.82rem; font-weight:600; }
.footer-col h4{ color:#fff; font-family:var(--ff-head); font-size:1rem; margin-bottom:18px; }
.footer-col ul li{ margin-bottom:11px; }
.footer-col ul li a{ color:rgba(255,255,255,.68); font-size:.92rem; transition:.2s; }
.footer-col ul li a:hover{ color:var(--gold); }
.footer-col .contact-line{ display:flex; gap:10px; align-items:flex-start; margin-bottom:14px; font-size:.9rem; color:rgba(255,255,255,.7); }
.footer-col .contact-line svg{ width:18px; height:18px; flex:none; margin-top:2px; color:var(--gold); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding:24px 0; font-size:.84rem; color:rgba(255,255,255,.5); flex-wrap:wrap; gap:10px; }
.footer-bottom a{ color:rgba(255,255,255,.5); } .footer-bottom a:hover{ color:var(--gold); }
@media(max-width:900px){ .footer-grid > *{ flex-basis:calc(50% - 20px); } }
@media(max-width:560px){ .footer-grid > *{ flex-basis:100%; } }

/* =================================================================
   14. MOBILE NAV
================================================================= */
.nav-close{ display:none; }
@media(max-width:980px){
	.menu-toggle{ display:block; }
	.nav-drawer{
		position:fixed; top:0; right:-100%; bottom:0; width:min(320px,86vw); height:100vh; background:#fff;
		display:flex; flex-direction:column; padding:26px; transition:right .3s ease;
		box-shadow:-10px 0 40px rgba(0,0,0,.15); overflow-y:auto; z-index:1001;
	}
	.nav-drawer.is-open{ right:0; }
	.nav-close{
		display:flex; align-items:center; justify-content:center; align-self:flex-end;
		width:40px; height:40px; margin-bottom:20px; border:1px solid var(--border); border-radius:50%;
		background:var(--surface); color:var(--maroon); flex-shrink:0;
	}
	.nav-close svg{ width:18px; height:18px; }
	.nav-close:hover{ background:var(--maroon); color:#fff; border-color:var(--maroon); }
	.nav-menu{ flex-direction:column; align-items:flex-start; gap:4px; width:100%; }
	.nav-menu li{ width:100%; }
	.nav-menu li a{ width:100%; padding:14px 16px; }
	.header-phone{ display:none; }
	body.nav-open{ overflow:hidden; }
	.nav-backdrop{ display:none; position:fixed; top:0; right:0; bottom:0; left:0; background:rgba(10,0,0,.5); z-index:999; }
	.nav-backdrop.is-open{ display:block; }
}

/* Very narrow phones / foldable cover screens (e.g. ~280–360px wide):
   drop the header "Book Appointment" button so the logo + hamburger always
   fit with room to spare. Booking is still one tap away via the menu > Contact. */
@media(max-width:420px){
	.header-actions .btn{ display:none; }
	.container{ padding:0 14px; }
	.header-inner{ padding:12px 14px; gap:10px; }
	.site-branding img,
	.site-branding svg,
	.site-branding .custom-logo-link img{ height:40px; max-height:40px; max-width:160px; }
}

/* =================================================================
   15. RESPONSIVE MISC
================================================================= */
@media(max-width:980px){
	.split{ gap:30px; }
}
@media(max-width:640px){
	.hero-slider{ min-height:560px; }
	.hero-slide-content{ padding:70px 0; }
	.feature-strip > *{ flex-basis:calc(50% - 9px); }
}

/* Page fallback header for generic pages/404 */
.generic-hero{ padding:80px 0 40px; text-align:center; }
.error-404{ text-align:center; padding:100px 0; }
.error-404 .code{ font-family:var(--ff-head); font-weight:800; font-size:5rem; color:var(--gold-dark); }

/* Skip link */
.skip-link{ position:absolute; left:-9999px; top:0; background:var(--maroon); color:#fff; padding:12px 18px; z-index:10000; }
.skip-link:focus{ left:10px; top:10px; }