/*
Theme Name: MDENT
Theme URI: https://mdent.lt
Author: MDENT
Description: Custom conversion-focused theme for MDENT odontologijos centras Panevėžyje. Champagne/ink boutique design, WooCommerce-ready, zero page-builder dependencies.
Version: 1.8.4
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: mdent
*/

/* ========== 1. Design tokens ========== */
:root {
	--bg: oklch(0.992 0.004 80);
	--fg: oklch(0.22 0.015 50);
	--card: oklch(1 0 0);
	--primary: oklch(0.24 0.015 55);
	--primary-fg: oklch(0.985 0.005 80);
	--secondary: oklch(0.96 0.012 75);
	--muted: oklch(0.965 0.008 75);
	--muted-fg: oklch(0.5 0.02 60);
	--champagne: oklch(0.88 0.045 80);
	--champagne-deep: oklch(0.72 0.07 70);
	--champagne-text: oklch(0.55 0.075 65); /* darker variant for text on light bg (contrast) */
	--sand: oklch(0.94 0.018 75);
	--ink: oklch(0.18 0.01 50);
	--border: oklch(0.91 0.012 75);
	--input: oklch(0.93 0.01 75);
	--ring: oklch(0.75 0.06 70);
	--destructive: oklch(0.55 0.18 25);

	--r-sm: 0.5rem;
	--r-md: 0.75rem;
	--r-lg: 1.25rem;
	--r-xl: 1.75rem;
	--r-2xl: 2.25rem;
	--r-3xl: 3rem;

	--shadow-soft: 0 1px 2px oklch(0.2 0.02 60 / 0.04), 0 8px 24px oklch(0.2 0.02 60 / 0.06);
	--shadow-elegant: 0 20px 60px -20px oklch(0.2 0.02 60 / 0.12), 0 4px 16px oklch(0.2 0.02 60 / 0.04);

	--font-display: "Cormorant Garamond", ui-serif, Georgia, serif;
	--font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

/* ========== 2. Fonts (self-hosted, latin + latin-ext) ========== */
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:400;font-display:swap;src:url('assets/fonts/cormorant-garamond-400-italic-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:400;font-display:swap;src:url('assets/fonts/cormorant-garamond-400-italic-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/cormorant-garamond-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/cormorant-garamond-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;src:url('assets/fonts/cormorant-garamond-500-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;src:url('assets/fonts/cormorant-garamond-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:300;font-display:swap;src:url('assets/fonts/inter-300-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:300;font-display:swap;src:url('assets/fonts/inter-300-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/inter-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/inter-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('assets/fonts/inter-500-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('assets/fonts/inter-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('assets/fonts/inter-600-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('assets/fonts/inter-600-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}

/* ========== 3. Base ========== */
*, *::before, *::after { box-sizing: border-box; border-color: var(--border); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.65;
	font-feature-settings: "ss01", "cv11";
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, .font-display {
	font-family: var(--font-display);
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.1;
	margin: 0 0 0.5em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
p { margin: 0 0 1em; }
em.gold, .gold { font-style: normal; color: var(--champagne-text); }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; overflow: hidden; position: absolute !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; width: auto; height: auto;
	position: fixed !important; top: 8px; left: 8px; z-index: 100;
	background: var(--card); padding: 0.75rem 1.25rem; border-radius: var(--r-md);
	box-shadow: var(--shadow-elegant);
}

/* ========== 4. Layout ========== */
.wrap { margin-inline: auto; max-width: 80rem; padding-inline: 1.5rem; }
@media (min-width: 64rem) { .wrap { padding-inline: 2.5rem; } }
.section { padding-block: 5rem; }
@media (min-width: 64rem) { .section { padding-block: 7.5rem; } }
.section--tight { padding-block: 2rem; }
@media (min-width: 64rem) { .section--tight { padding-block: 2.75rem; } }
/* The first section after a page hero sits close to it — no double gap. */
.page-hero + .section--tight, .page-hero + section.section--tight { padding-top: 0.5rem; }
@media (min-width: 64rem) { .page-hero + .section--tight, .page-hero + section.section--tight { padding-top: 1rem; } }
.bg-warm { background: linear-gradient(180deg, oklch(0.992 0.004 80) 0%, oklch(0.97 0.012 75) 100%); }
.bg-champagne { background: linear-gradient(135deg, oklch(0.94 0.025 80) 0%, oklch(0.88 0.045 75) 100%); }
.bg-sand { background: var(--sand); }

/* Section header pattern */
.kicker {
	display: flex; align-items: center; gap: 0.75rem;
	font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase;
	color: var(--champagne-text); margin-bottom: 1.5rem;
}
.kicker::before { content: ""; height: 1px; width: 2rem; background: var(--champagne-deep); }
.section-head { max-width: 42rem; margin-bottom: 3.5rem; }
.section-head p.sub { color: var(--muted-fg); font-size: 1.125rem; margin-top: 1.25rem; max-width: 36rem; }
.section-head--row { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 64rem) {
	.section-head--row { flex-direction: row; align-items: flex-end; justify-content: space-between; max-width: none; }
	.section-head--row > p { max-width: 28rem; color: var(--muted-fg); margin: 0; }
}

/* ========== 5. Buttons ========== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	border-radius: 999px; padding: 1rem 1.75rem;
	font-family: var(--font-sans); font-size: 0.875rem; letter-spacing: 0.02em; line-height: 1;
	text-decoration: none; cursor: pointer; border: 1px solid transparent;
	transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
}
.btn svg { width: 1rem; height: 1rem; }
.btn--primary { background: var(--primary); color: var(--primary-fg); box-shadow: var(--shadow-elegant); }
.btn--primary:hover { background: var(--ink); }
.btn--light { background: var(--bg); color: var(--fg); box-shadow: var(--shadow-elegant); }
.btn--light:hover { background: var(--champagne); }
.btn--outline { border-color: var(--border); color: var(--fg); background: transparent; }
.btn--outline:hover { background: var(--sand); }
.btn--ghost-inverted { border-color: oklch(1 0 0 / 0.4); color: #fff; background: transparent; }
.btn--ghost-inverted:hover { background: oklch(1 0 0 / 0.1); }
.btn--sm { padding: 0.65rem 1.25rem; font-size: 0.8125rem; }

/* ========== 6. Header / nav ========== */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 50;
	transition: background-color 0.4s, backdrop-filter 0.4s, border-color 0.4s;
	border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-solid {
	background: oklch(0.992 0.004 80 / 0.88);
	-webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
	border-bottom-color: var(--border);
}
/* Mobile: no backdrop blur — backdrop-filter turns the header into the
   containing block for the fixed-position mobile menu and collapses it
   after scrolling. A near-opaque background looks the same. */
@media (max-width: 63.99rem) {
	.site-header.is-scrolled, .site-header.is-solid {
		-webkit-backdrop-filter: none; backdrop-filter: none;
		background: oklch(0.992 0.004 80 / 0.97);
	}
}
.site-header__bar { display: flex; align-items: center; justify-content: space-between; height: 5rem; }
.site-header__logo img { height: 3.1rem; width: auto; display: block; }
@media (max-width: 40rem) { .site-header__logo img { height: 2.8rem; } }
.site-header:not(.is-scrolled):not(.is-solid).site-header--overlay .site-header__logo img { filter: none; }
.site-nav { display: none; }
.site-nav a { font-size: 0.875rem; letter-spacing: 0.02em; text-decoration: none; color: oklch(0.22 0.015 50 / 0.75); transition: color 0.2s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--fg); }
.site-header--overlay:not(.is-scrolled) .site-nav a { color: oklch(1 0 0 / 0.85); }
.site-header--overlay:not(.is-scrolled) .site-nav a:hover { color: #fff; }
.site-header__actions { display: none; }
.site-header__phone { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; text-decoration: none; color: oklch(0.22 0.015 50 / 0.75); white-space: nowrap; }
.site-header__phone svg { flex: none; width: 1rem; height: 1rem; }
.contact-quick svg, .promise .ico svg, .checklist .ck svg { flex: none; }
svg[aria-hidden="true"] { max-width: 1.5rem; max-height: 1.5rem; }
.site-header__phone:hover { color: var(--fg); }
.site-header--overlay:not(.is-scrolled) .site-header__phone { color: oklch(1 0 0 / 0.85); }
.site-header__burger { display: inline-flex; padding: 0.5rem; margin-right: -0.5rem; background: none; border: 0; cursor: pointer; color: inherit; }
.site-header--overlay:not(.is-scrolled) .site-header__burger { color: #fff; }
.site-header.menu-open .site-header__burger { color: var(--fg); }
.site-header__burger svg { width: 1.5rem; height: 1.5rem; }
@media (min-width: 64rem) {
	.site-nav { display: flex; align-items: center; gap: 2.25rem; }
	.site-header__actions { display: flex; align-items: center; gap: 1rem; }
	.site-header__burger { display: none; }
}
/* Mobile menu: full-screen panel below the header. Scrollable nav list with
   hairline dividers + accordion services; CTA bar pinned at the bottom. */
.mobile-menu {
	display: none; position: fixed; left: 0; right: 0; top: 5rem; bottom: 0;
	background: var(--bg); border-top: 1px solid var(--border); z-index: 49;
	flex-direction: column;
}
.site-header.menu-open { background: var(--bg); }
.site-header.menu-open .mobile-menu { display: flex; animation: mdent-menu-in 0.22s ease; }
@keyframes mdent-menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
body.mdent-menu-open { overflow: hidden; }

.mobile-menu__scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0.25rem 1.5rem 1rem; }
.mobile-menu__scroll > ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu__scroll > ul > li { border-bottom: 1px solid var(--border); }
.mobile-menu__scroll > ul > li:last-child { border-bottom: 0; }
.mobile-menu__scroll a {
	display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
	min-height: 3.4rem; padding: 0.5rem 0;
	text-decoration: none; color: var(--fg); font-size: 1.1rem; font-weight: 500;
}
.mobile-menu__scroll a:active { color: var(--champagne-text); }

/* Services accordion */
.mobile-menu .menu-item-has-children > a::after {
	content: ""; flex: none;
	border-left: 5px solid transparent; border-right: 5px solid transparent;
	border-top: 6px solid oklch(0.22 0.015 50 / 0.45);
	transition: transform 0.25s;
}
.mobile-menu .menu-item-has-children.is-open > a::after { transform: rotate(180deg); }
.mobile-menu .sub-menu { display: none; list-style: none; margin: 0; padding: 0 0 0.9rem; }
.mobile-menu .menu-item-has-children.is-open > .sub-menu { display: block; }
.mobile-menu .sub-menu a {
	min-height: 2.9rem; padding: 0.35rem 0 0.35rem 1rem;
	font-size: 1rem; font-weight: 400; color: oklch(0.22 0.015 50 / 0.72);
	border-left: 2px solid var(--border);
}
.mobile-menu .sub-menu a:active { border-left-color: var(--champagne-deep); }

/* Pinned CTA bar — always visible, safe-area aware. Both buttons keep their
   own colours regardless of menu link rules. */
.mobile-menu__cta {
	flex: none; display: flex; flex-direction: column; gap: 0.7rem;
	padding: 1rem 1.5rem calc(1.1rem + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid var(--border); background: var(--bg);
	box-shadow: 0 -8px 24px oklch(0.2 0.02 60 / 0.05);
}
.mobile-menu__cta .btn { justify-content: center; width: 100%; }
.mobile-menu__cta .btn--primary { color: var(--primary-fg) !important; }
.mobile-menu__cta .btn--outline { color: var(--fg) !important; }

/* Burger icon: hamburger ↔ X */
.site-header__burger .burger-icon--close { display: none; }
.site-header.menu-open .site-header__burger .burger-icon--open { display: none; }
.site-header.menu-open .site-header__burger .burger-icon--close { display: block; }

/* Cookiebot's floating consent badge is replaced by the "Sutikimo
   nustatymai" link in the footer (see footer.php + theme.js) — the badge
   overlapped content/the sticky CTA bar and rendered inconsistently. */
#CookiebotWidget { display: none !important; }

/* Submenu (services) */
.site-nav .menu-item-has-children { position: relative; }
.site-nav .menu-item-has-children > a::after {
	content: ""; display: inline-block; margin-left: 0.4rem; vertical-align: 0.1em;
	border-left: 4px solid transparent; border-right: 4px solid transparent;
	border-top: 5px solid currentColor; opacity: 0.55; transition: transform 0.25s;
}
.site-nav .menu-item-has-children.is-open > a::after { transform: rotate(180deg); }
.site-nav .sub-menu {
	position: absolute; top: calc(100% + 0.75rem); left: 50%; transform: translateX(-50%);
	background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg);
	box-shadow: var(--shadow-elegant); padding: 0.75rem; min-width: 16rem;
	display: none; flex-direction: column; gap: 0.1rem; list-style: none; margin: 0;
}
/* Invisible bridge across the gap so hover survives the mouse travel
   from the parent link down to the panel. */
.site-nav .sub-menu::before {
	content: ""; position: absolute; left: 0; right: 0; top: -0.85rem; height: 0.85rem;
}
.site-nav .menu-item-has-children:hover .sub-menu,
.site-nav .menu-item-has-children:focus-within .sub-menu,
.site-nav .menu-item-has-children.is-open .sub-menu { display: flex; }
.site-nav .sub-menu a { display: block; padding: 0.55rem 0.9rem; border-radius: var(--r-sm); color: var(--fg) !important; }
.site-nav .sub-menu a:hover { background: var(--sand); }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 2.25rem; margin: 0; padding: 0; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }

/* ========== 7. Hero ========== */
.hero { position: relative; min-height: 100svh; display: flex; overflow: hidden; }
.hero--short { min-height: 0; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s ease-out forwards; }
.hero__media::after {
	content: ""; position: absolute; inset: 0;
	/* Uniform dark wash across the whole photo — keeps the eyebrow/h1/sub
	   legible no matter how bright the chosen photo is — with extra depth
	   behind the fixed header (top) and the headline/CTA (bottom). */
	background: linear-gradient(180deg,
		oklch(0.15 0.01 50 / 0.58) 0%,
		oklch(0.15 0.01 50 / 0.4) 7rem,
		oklch(0.15 0.01 50 / 0.4) 55%,
		oklch(0.15 0.01 50 / 0.7) 100%);
}
.hero__inner {
	position: relative; z-index: 2; width: 100%;
	display: flex; flex-direction: column; justify-content: flex-end;
	padding-top: 10rem; padding-bottom: 6rem; min-height: 100svh;
}
.hero__eyebrow {
	display: flex; align-items: center; gap: 0.75rem;
	font-size: 0.8125rem; letter-spacing: 0.18em; text-transform: uppercase;
	color: oklch(1 0 0 / 0.85); margin-bottom: 2rem;
}
.hero__eyebrow::before { content: ""; height: 1px; width: 2.5rem; background: var(--champagne); }
.hero h1 { color: #fff; max-width: 48rem; font-size: clamp(2.75rem, 7vw, 5.5rem); line-height: 1.02; }
.hero h1 em { font-style: normal; color: var(--champagne); }
.hero__sub { margin-top: 2rem; max-width: 36rem; font-size: 1.125rem; color: oklch(1 0 0 / 0.85); line-height: 1.7; }
.hero__cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }
/* Mobile: stacked full-width hero buttons — no wrapping collisions. */
@media (max-width: 40rem) {
	.hero .hero__cta { flex-direction: column; align-items: stretch; }
	.hero .hero__cta .btn { width: 100%; justify-content: center; }
}
.hero__cards { margin-top: 4rem; display: grid; grid-template-columns: 1fr; gap: 1rem; max-width: 56rem; }
@media (min-width: 40rem) { .hero__cards { grid-template-columns: repeat(3, 1fr); } }
.hero-card {
	display: flex; align-items: center; gap: 1rem;
	border-radius: var(--r-lg); padding: 1rem 1.25rem;
	background: oklch(0.992 0.004 80 / 0.85);
	-webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
	border: 1px solid oklch(1 0 0 / 0.4); box-shadow: var(--shadow-soft);
}
.hero-card__icon {
	flex: none; height: 2.5rem; width: 2.5rem; border-radius: 999px;
	background: var(--sand); display: flex; align-items: center; justify-content: center;
	color: var(--champagne-text);
}
.hero-card__icon svg { width: 1.25rem; height: 1.25rem; }
.hero-card b { display: block; font-size: 0.875rem; font-weight: 500; }
.hero-card span { font-size: 0.75rem; color: var(--muted-fg); }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }

/* Page hero (inner pages) */
.page-hero { position: relative; padding-top: 8.5rem; padding-bottom: 2.5rem; background: linear-gradient(180deg, oklch(0.97 0.012 75) 0%, oklch(0.992 0.004 80) 100%); }
.page-hero--short { padding-top: 7.5rem; padding-bottom: 1.75rem; }
.page-hero .kicker { margin-bottom: 1rem; }
.page-hero h1 { max-width: 52rem; }
.page-hero .lead { font-size: 1.15rem; color: var(--muted-fg); max-width: 40rem; margin-top: 1.25rem; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.chip {
	display: inline-flex; align-items: center; gap: 0.5rem;
	border: 1px solid var(--border); border-radius: 999px; padding: 0.45rem 1rem;
	font-size: 0.8125rem; color: oklch(0.22 0.015 50 / 0.75); background: var(--card);
}
.chip b { font-weight: 600; color: var(--fg); }
.page-hero__cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Breadcrumbs */
.breadcrumbs { font-size: 0.8125rem; color: var(--muted-fg); margin-bottom: 1.5rem; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { color: var(--fg); }
.breadcrumbs .sep { margin-inline: 0.4rem; opacity: 0.5; }

/* ========== 8. Cards & grids ========== */
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
	position: relative; border-radius: var(--r-2xl); background: var(--card);
	border: 1px solid var(--border); padding: 2rem;
	transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.5s;
}
@media (min-width: 64rem) { .card { padding: 2.5rem; } }
a.card { display: block; text-decoration: none; overflow: hidden; }
.hover-lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-elegant); }
.card__icon {
	height: 3rem; width: 3rem; border-radius: 999px; background: var(--sand);
	display: flex; align-items: center; justify-content: center; margin-bottom: 1.75rem;
	color: var(--champagne-text);
}
.card__icon svg { width: 1.25rem; height: 1.25rem; }
.card h3 { font-size: 1.5rem; margin-bottom: 0; }
.card p { margin: 0.75rem 0 0; font-size: 0.9rem; color: var(--muted-fg); line-height: 1.6; }
.card__more {
	margin-top: 1.75rem; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
	color: oklch(0.22 0.015 50 / 0.6); transition: color 0.3s;
}
a.card:hover .card__more { color: var(--champagne-text); }
.card__price { margin-top: 1rem; font-size: 0.8125rem; color: var(--champagne-text); font-weight: 500; }

/* Trust strip (bordered grid) */
.trust-grid {
	display: grid; grid-template-columns: 1fr; gap: 1px;
	background: var(--border); border: 1px solid var(--border);
	border-radius: var(--r-3xl); overflow: hidden;
}
@media (min-width: 40rem) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-grid__item { background: var(--card); padding: 2rem; transition: background-color 0.3s; }
@media (min-width: 64rem) { .trust-grid__item { padding: 2.5rem; } }
.trust-grid__item:hover { background: var(--sand); }
.trust-grid__item .t { font-family: var(--font-display); font-size: 1.5rem; margin-top: 1.5rem; }
.trust-grid__item .d { font-size: 0.875rem; color: var(--muted-fg); margin-top: 0.5rem; }

/* ========== 9. About / split sections ========== */
.split { display: grid; gap: 4rem; align-items: center; }
@media (min-width: 64rem) { .split { grid-template-columns: 5fr 7fr; } .split--rev { grid-template-columns: 7fr 5fr; } }
.split__img { position: relative; }
.split__img .frame { border-radius: var(--r-3xl); overflow: hidden; box-shadow: var(--shadow-elegant); aspect-ratio: 5/4; }
.split__img .frame img { width: 100%; height: 100%; object-fit: cover; }
.split__badge {
	display: none; position: absolute; bottom: -2.5rem; left: -2.5rem; max-width: 20rem;
	background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg);
	box-shadow: var(--shadow-elegant); padding: 1.5rem;
}
@media (min-width: 64rem) { .split__badge { display: block; } }
.split__badge .k { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--champagne-text); }
.split__badge .q { font-family: var(--font-display); font-size: 1.25rem; margin-top: 0.5rem; line-height: 1.35; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; border-top: 1px solid var(--border); padding-top: 2rem; margin-top: 2.5rem; }
.stats .n { font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.25rem); }
.stats .l { font-size: 0.75rem; letter-spacing: 0.03em; color: var(--muted-fg); margin-top: 0.25rem; }
.checklist { list-style: none; margin: 2.5rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.checklist li { display: flex; align-items: center; gap: 1rem; color: oklch(0.22 0.015 50 / 0.85); }
.checklist .ck {
	flex: none; height: 1.75rem; width: 1.75rem; border-radius: 999px;
	background: oklch(0.88 0.045 80 / 0.4); display: flex; align-items: center; justify-content: center;
	color: var(--champagne-text);
}
.checklist .ck svg { width: 0.9rem; height: 0.9rem; }

/* ========== 10. Team ========== */
.team-grid { display: grid; gap: 2.5rem; }
@media (min-width: 40rem) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .team-grid { grid-template-columns: repeat(4, 1fr); gap: 1.75rem; } }
.team-card { text-decoration: none; display: block; }
.team-card__photo { border-radius: var(--r-2xl); overflow: hidden; aspect-ratio: 4/5; background: var(--sand); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.7s; }
.team-card:hover .team-card__photo img { transform: scale(1.03); }
.team-card h3 { font-size: 1.4rem; margin: 1.25rem 0 0; }
.team-card .role { font-size: 0.8125rem; letter-spacing: 0.04em; color: var(--champagne-text); margin-top: 0.3rem; }
.team-card .spec { font-size: 0.85rem; color: var(--muted-fg); margin-top: 0.55rem; line-height: 1.55; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.tags span { border: 1px solid var(--border); border-radius: 999px; padding: 0.3rem 0.8rem; font-size: 0.72rem; color: oklch(0.22 0.015 50 / 0.7); }

/* ========== 11. Journey ========== */
.journey { position: relative; }
.journey__line { display: none; }
@media (min-width: 64rem) {
	.journey__line {
		display: block; position: absolute; left: 0; right: 0; top: 3.25rem; height: 1px;
		background: linear-gradient(90deg, transparent, var(--champagne), transparent);
	}
}
.journey__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 40rem) { .journey__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .journey__grid { grid-template-columns: repeat(7, 1fr); gap: 1rem; } }
.journey__step { position: relative; text-align: center; }
.journey__badge {
	position: relative; z-index: 1; margin-inline: auto; height: 6.5rem; width: 6.5rem; border-radius: 999px;
	background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-soft);
	display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.journey__badge .n { font-size: 0.72rem; letter-spacing: 0.2em; color: var(--champagne-text); }
.journey__badge .t { font-family: var(--font-display); font-size: 0.95rem; margin-top: 0.2rem; line-height: 1.15; padding-inline: 0.5rem; }
.journey__step p { margin-top: 1.1rem; font-size: 0.85rem; color: var(--muted-fg); line-height: 1.6; }

/* ========== 12. Reviews ========== */
.review-card { border-radius: var(--r-2xl); background: var(--card); border: 1px solid var(--border); padding: 2.25rem; }
.review-card .stars { display: flex; gap: 0.15rem; color: var(--champagne-deep); }
.review-card .stars svg { width: 1rem; height: 1rem; fill: var(--champagne); color: var(--champagne); }
.review-card blockquote { margin: 1.4rem 0 0; font-family: var(--font-display); font-size: 1.4rem; line-height: 1.35; color: oklch(0.22 0.015 50 / 0.9); }
.review-card footer { margin-top: 1.75rem; display: flex; align-items: center; gap: 0.85rem; }
.review-card .avatar {
	height: 2.5rem; width: 2.5rem; border-radius: 999px; font-size: 0.9rem;
	background: linear-gradient(135deg, oklch(0.94 0.025 80), oklch(0.88 0.045 75));
	display: flex; align-items: center; justify-content: center;
}
.review-card .who b { display: block; font-size: 0.875rem; font-weight: 500; }
.review-card .who span { font-size: 0.75rem; color: var(--muted-fg); }
.rating-line { display: flex; align-items: center; gap: 0.75rem; }
.rating-line .stars { display: flex; }
.rating-line .stars svg { width: 1.15rem; height: 1.15rem; fill: var(--champagne); color: var(--champagne); }
.rating-line span { font-size: 0.875rem; color: var(--muted-fg); }

/* ========== 13. Before / after ========== */
.ba { position: relative; border-radius: var(--r-3xl); overflow: hidden; box-shadow: var(--shadow-elegant); aspect-ratio: 16/9; background: var(--sand); cursor: ew-resize; user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__after { clip-path: inset(0 0 0 var(--ba-pos, 50%)); }
.ba__handle {
	position: absolute; top: 0; bottom: 0; left: var(--ba-pos, 50%); width: 2px; margin-left: -1px;
	background: #fff; box-shadow: 0 0 12px oklch(0 0 0 / 0.35); pointer-events: none;
}
.ba__handle::after {
	content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	height: 2.75rem; width: 2.75rem; border-radius: 999px; background: #fff; color: var(--fg);
	display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.ba__label { position: absolute; bottom: 1rem; font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; background: oklch(0.18 0.01 50 / 0.55); color: #fff; padding: 0.35rem 0.9rem; border-radius: 999px; }
.ba__label--before { left: 1rem; }
.ba__label--after { right: 1rem; }

/* ========== 14. Forms / register ========== */
.lead-form {
	border-radius: var(--r-2xl); border: 1px solid var(--border); box-shadow: var(--shadow-soft);
	background: linear-gradient(180deg, oklch(0.992 0.004 80) 0%, oklch(0.97 0.012 75) 100%);
	padding: 2rem;
}
@media (min-width: 64rem) { .lead-form { padding: 3rem; } }
.lead-form__grid { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .lead-form__grid { grid-template-columns: repeat(2, 1fr); } .lead-form__grid .full { grid-column: span 2; } }
.field label, .field .lbl {
	display: block; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
	color: var(--muted-fg); margin-bottom: 0.5rem;
}
.field .req { color: var(--champagne-text); }
.field input, .field select, .field textarea {
	width: 100%; border-radius: var(--r-md); background: var(--bg);
	border: 1px solid var(--border); padding: 0.9rem 1rem; font: inherit; font-size: 0.95rem;
	color: var(--fg); transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 6.5rem; }
.field input:focus, .field select:focus, .field textarea:focus {
	outline: none; border-color: var(--champagne-deep);
	box-shadow: 0 0 0 3px oklch(0.88 0.045 80 / 0.4);
}
.lead-form__foot { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 0.5rem; }
@media (min-width: 40rem) { .lead-form__foot { flex-direction: row; align-items: center; justify-content: space-between; grid-column: span 2; } }
.lead-form__foot .note { font-size: 0.75rem; color: var(--muted-fg); max-width: 20rem; line-height: 1.5; margin: 0; }
.form-success { text-align: center; padding: 4rem 1rem; }
.form-success .ico {
	margin-inline: auto; height: 3.5rem; width: 3.5rem; border-radius: 999px;
	background: oklch(0.88 0.045 80 / 0.4); color: var(--champagne-text);
	display: flex; align-items: center; justify-content: center;
}
.form-success .ico svg { width: 1.5rem; height: 1.5rem; }
.form-success h3 { margin-top: 1.5rem; font-size: 1.9rem; }
.form-success p { color: var(--muted-fg); }
.form-error { border: 1px solid var(--destructive); background: oklch(0.55 0.18 25 / 0.06); color: var(--destructive); border-radius: var(--r-md); padding: 0.9rem 1.1rem; font-size: 0.875rem; margin-bottom: 1.25rem; }
.hp-field { position: absolute !important; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Register promises column */
.promises { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2.25rem; }
.promise { display: flex; align-items: center; gap: 1rem; color: oklch(0.22 0.015 50 / 0.85); }
.promise .ico {
	flex: none; height: 2.25rem; width: 2.25rem; border-radius: 999px; background: var(--sand);
	display: flex; align-items: center; justify-content: center; color: var(--champagne-text);
}
.promise .ico svg { width: 1rem; height: 1rem; }
.contact-quick { margin-top: 2.5rem; border-top: 1px solid var(--border); padding-top: 1.75rem; display: flex; flex-direction: column; gap: 0.8rem; font-size: 0.95rem; }
.contact-quick a { text-decoration: none; display: inline-flex; align-items: center; gap: 0.6rem; }
.contact-quick a:hover { color: var(--champagne-text); }
.contact-quick svg { width: 1rem; height: 1rem; color: var(--champagne-text); }

/* ========== 15. Pricelist ========== */
.price-nav { position: sticky; top: 5rem; z-index: 10; background: oklch(0.992 0.004 80 / 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding-block: 0.75rem; }
.price-nav__inner { display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; }
.price-nav__inner::-webkit-scrollbar { display: none; }
.price-nav a {
	flex: none; text-decoration: none; font-size: 0.8125rem; padding: 0.5rem 1rem;
	border-radius: 999px; border: 1px solid var(--border); color: oklch(0.22 0.015 50 / 0.75);
	transition: background-color 0.2s, color 0.2s;
	background: var(--card);
}
.price-nav a:hover, .price-nav a.is-active { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }
.price-search { position: relative; max-width: 28rem; }
.price-search input {
	width: 100%; border-radius: 999px; border: 1px solid var(--border); background: var(--card);
	padding: 0.9rem 1.15rem 0.9rem 2.9rem; font: inherit; font-size: 0.95rem;
}
.price-search input:focus { outline: none; border-color: var(--champagne-deep); box-shadow: 0 0 0 3px oklch(0.88 0.045 80 / 0.4); }
.price-search svg { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); width: 1.1rem; height: 1.1rem; color: var(--muted-fg); }
.price-section { margin-top: 3.5rem; scroll-margin-top: 9rem; }
.price-section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.75rem; margin-bottom: 1.25rem; }
.price-section__head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0; }
.price-section__links { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.price-table { border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; background: var(--card); }
.price-row {
	display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
	padding: 0.95rem 1.4rem; border-top: 1px solid var(--border);
}
.price-row:first-child { border-top: 0; }
.price-row:nth-child(even) { background: oklch(0.97 0.012 75 / 0.5); }
.price-row .t { font-size: 0.95rem; }
.price-row .d { display: block; font-size: 0.78rem; color: var(--muted-fg); margin-top: 0.15rem; }
.price-row .p { font-weight: 600; font-size: 0.95rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-row.is-hidden { display: none; }
.price-section.is-hidden { display: none; }
.price-empty { text-align: center; color: var(--muted-fg); padding: 3rem 1rem; display: none; }
.price-note { font-size: 0.8125rem; color: var(--muted-fg); margin-top: 2.5rem; max-width: 46rem; }

/* ========== 16. FAQ accordion ========== */
.faq { border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; background: var(--card); }
.faq details { border-top: 1px solid var(--border); }
.faq details:first-child { border-top: 0; }
.faq summary {
	list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: 1.25rem 1.5rem; font-family: var(--font-display); font-size: 1.2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-sans); font-size: 1.25rem; color: var(--champagne-text); transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 1.5rem 1.4rem; color: var(--muted-fg); font-size: 0.95rem; line-height: 1.7; max-width: 52rem; }

/* ========== 17. CTA banner ========== */
.cta-banner { border-radius: var(--r-3xl); background: var(--ink); color: oklch(0.985 0.005 80 / 0.9); padding: 3rem 2rem; text-align: center; position: relative; overflow: hidden; }
@media (min-width: 64rem) { .cta-banner { padding: 4.5rem; } }
.cta-banner::before {
	content: ""; position: absolute; top: -6rem; right: -6rem; height: 16rem; width: 16rem; border-radius: 999px;
	background: oklch(0.72 0.07 70 / 0.25); filter: blur(60px);
}
.cta-banner h2 { color: #fff; max-width: 36rem; margin-inline: auto; }
.cta-banner h2 em { font-style: normal; color: var(--champagne); }
.cta-banner p { color: oklch(0.985 0.005 80 / 0.7); max-width: 30rem; margin: 1rem auto 0; }
.cta-banner .hero__cta { justify-content: center; }

/* ========== 18. Prose (service/article content) ========== */
.prose { max-width: 46rem; font-size: 1.02rem; line-height: 1.75; color: oklch(0.22 0.015 50 / 0.85); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.55rem, 2.8vw, 2.05rem); margin-top: 1.9em; margin-bottom: 0.4em; color: var(--fg); }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); margin-top: 1.6em; margin-bottom: 0.35em; color: var(--fg); }
.prose strong { color: var(--fg); font-weight: 600; }
.prose img { border-radius: var(--r-lg); }
.prose ul, .prose ol { padding-left: 1.4rem; color: oklch(0.22 0.015 50 / 0.85); }
.prose li { margin-block: 0.4rem; }
.prose a { color: var(--champagne-text); text-decoration-color: oklch(0.72 0.07 70 / 0.4); }
.prose blockquote { border-left: 2px solid var(--champagne-deep); margin: 1.5em 0; padding: 0.25em 0 0.25em 1.25em; font-family: var(--font-display); font-size: 1.2em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.prose table td, .prose table th { border: 1px solid var(--border); padding: 0.6rem 0.9rem; text-align: left; }
.prose figure { margin: 1.5em 0; }
.prose figure img { width: 100%; border-radius: var(--r-lg); }
.prose .prose-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5em 0; }
.prose .prose-gallery img { width: 100%; height: auto; border-radius: var(--r-lg); margin: 0; }
@media (max-width: 40rem) { .prose .prose-gallery { grid-template-columns: 1fr; } }
.prose .wp-block-image img { height: auto; }

/* ========== 19. Footer ========== */
.site-footer { background: var(--ink); color: oklch(0.985 0.005 80 / 0.85); }
.site-footer__grid { display: grid; gap: 3rem; padding-block: 5rem 0; }
@media (min-width: 64rem) { .site-footer__grid { grid-template-columns: 5fr 3fr 2fr 2fr; } }
/* Inverted logo sits directly on the dark footer — no white chip. */
.site-footer__logo { display: inline-block; }
.site-footer__logo img { height: 3rem; width: auto; display: block; filter: invert(1) brightness(1.15); }
.site-footer__tag { margin-top: 2rem; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.5; color: oklch(0.985 0.005 80 / 0.7); max-width: 26rem; }
.site-footer h4 { font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--champagne); margin-bottom: 1.25rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.8rem; font-size: 0.875rem; }
.site-footer li { display: flex; gap: 0.75rem; }
.site-footer li svg { width: 1rem; height: 1rem; margin-top: 0.2rem; flex: none; color: var(--champagne); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--champagne); }
.site-footer__social { margin-top: 2.5rem; display: flex; gap: 0.75rem; }
.site-footer__social a {
	height: 2.5rem; width: 2.5rem; border-radius: 999px; border: 1px solid oklch(1 0 0 / 0.2);
	display: flex; align-items: center; justify-content: center; transition: all 0.25s;
}
.site-footer__social a:hover { background: var(--champagne); color: var(--ink); border-color: var(--champagne); }
.site-footer__social svg { width: 1rem; height: 1rem; }
.site-footer__map { margin-top: 4rem; border-radius: var(--r-2xl); overflow: hidden; border: 1px solid oklch(1 0 0 / 0.1); aspect-ratio: 16/6; }
.site-footer__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(40%); }
.site-footer__bottom {
	margin-top: 3rem; padding-block: 2rem 5rem; border-top: 1px solid oklch(1 0 0 / 0.1);
	display: flex; flex-direction: column; gap: 1rem; font-size: 0.75rem; color: oklch(0.985 0.005 80 / 0.55);
}
@media (min-width: 40rem) { .site-footer__bottom { flex-direction: row; justify-content: space-between; } }
.site-footer__bottom a { color: inherit; }
.footer-link-btn {
	font: inherit; color: inherit; background: none; border: 0; padding: 0;
	cursor: pointer; text-decoration: none;
}
.footer-link-btn:hover { color: var(--champagne); }

/* ========== 19b. Cart icon + badge ========== */
.mdent-cart-link {
	position: relative; display: none; align-items: center; justify-content: center;
	height: 2.5rem; width: 2.5rem; border-radius: 999px;
	color: oklch(0.22 0.015 50 / 0.75); transition: background-color 0.2s, color 0.2s;
}
.mdent-cart-link.has-items { display: inline-flex; }
.mdent-cart-link:hover { background: var(--sand); color: var(--fg); }
.mdent-cart-link svg { width: 1.3rem; height: 1.3rem; }
.site-header--overlay:not(.is-scrolled) .mdent-cart-link { color: oklch(1 0 0 / 0.9); }
.site-header--overlay:not(.is-scrolled) .mdent-cart-link:hover { background: oklch(1 0 0 / 0.15); color: #fff; }
.site-header.menu-open .mdent-cart-link { color: oklch(0.22 0.015 50 / 0.75); }

.mdent-cart-count {
	position: absolute; top: -1px; right: -1px;
	min-width: 1.05rem; height: 1.05rem; padding: 0 0.2rem;
	border-radius: 999px; background: oklch(0.55 0.18 25); color: #fff;
	font-size: 0.65rem; font-weight: 600; line-height: 1;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 0 0 2px var(--bg);
	font-variant-numeric: tabular-nums;
}

/* Mobile slot next to the burger; desktop uses the actions area. */
.site-header__mobile-cart { display: flex; align-items: center; margin-left: auto; margin-right: 0.5rem; }
@media (min-width: 64rem) { .site-header__mobile-cart { display: none; } }
@media (max-width: 63.99rem) { .site-header__logo { margin-right: auto; } }
.site-header__actions .btn { white-space: nowrap; }
/* Mid-desktop: the larger logo needs breathing room — tighten nav gaps and
   collapse the phone link to icon-only (full number returns on wide screens). */
@media (min-width: 64rem) and (max-width: 81rem) {
	.site-nav ul { gap: 1.4rem; }
	.site-header__actions { gap: 0.6rem; }
	.site-header__phone-num { display: none; }
	.site-header__phone {
		height: 2.5rem; width: 2.5rem; justify-content: center;
		border: 1px solid oklch(0.22 0.015 50 / 0.2); border-radius: 999px;
	}
	.site-header--overlay:not(.is-scrolled) .site-header__phone { border-color: oklch(1 0 0 / 0.35); }
}

/* Floating action: phone when the cart is empty (desktop only, as before),
   cart FAB on all screens while the cart has items. */
.mdent-cart-fab {
	position: fixed; z-index: 41; right: 1rem; bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
	height: 3.25rem; width: 3.25rem; border-radius: 999px;
	background: var(--primary); color: var(--primary-fg);
	display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow-elegant); transition: transform 0.25s;
}
/* hover:hover excludes touch — iOS/iPadOS Safari keeps :hover active after
   a tap until the next tap elsewhere, leaving touch users stuck at 1.06x. */
@media (hover: hover) { .mdent-cart-fab:hover { transform: scale(1.06); } }
.mdent-cart-fab svg { width: 1.3rem; height: 1.3rem; }
.mdent-cart-fab .mdent-cart-count { top: -3px; right: -3px; box-shadow: 0 0 0 2px var(--primary); }
@media (min-width: 64rem) {
	.mdent-cart-fab { right: 2rem; bottom: calc(2rem + env(safe-area-inset-bottom, 0px)); height: 3.5rem; width: 3.5rem; }
}

/* ========== 20. Sticky CTA ========== */
/* Hidden at the top of the page — slides in only after the visitor scrolls
   past the hero, so it never collides with the hero's own buttons. */
.sticky-cta {
	position: fixed; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); left: 1rem; right: 1rem; z-index: 40; display: flex; gap: 0.75rem;
	opacity: 0; transform: translateY(120%); pointer-events: none;
	transition: opacity 0.3s, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
body.mdent-scrolled .sticky-cta { opacity: 1; transform: none; pointer-events: auto; }
body.mdent-menu-open .sticky-cta { opacity: 0; transform: translateY(120%); pointer-events: none; }
.sticky-cta a {
	flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	border-radius: 999px; padding: 0.95rem; font-size: 0.875rem; text-decoration: none;
	box-shadow: var(--shadow-elegant);
}
.sticky-cta svg { width: 1rem; height: 1rem; }
.sticky-cta__call { background: oklch(0.992 0.004 80 / 0.95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--border); color: var(--fg); }
.sticky-cta__book { background: var(--primary); color: var(--primary-fg); }
.floating-call { display: none; }
@media (min-width: 64rem) {
	.sticky-cta { display: none; }
	.floating-call {
		position: fixed; bottom: calc(2rem + env(safe-area-inset-bottom, 0px)); right: 2rem; z-index: 40;
		height: 3.5rem; width: 3.5rem; border-radius: 999px; background: var(--primary); color: var(--primary-fg);
		display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-elegant);
		transition: transform 0.25s;
	}
	.floating-call svg { width: 1.25rem; height: 1.25rem; }
}
@media (min-width: 64rem) and (hover: hover) {
	.floating-call:hover { transform: scale(1.06); }
}
body.has-sticky-cta { padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 64rem) { body.has-sticky-cta { padding-bottom: 0; } }

/* ========== 21. Reveal animations ========== */
@media (prefers-reduced-motion: no-preference) {
	.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
	.reveal.is-visible { opacity: 1; transform: translateY(0); }
	.reveal-d1.is-visible { transition-delay: 0.1s; }
	.reveal-d2.is-visible { transition-delay: 0.2s; }
	.reveal-d3.is-visible { transition-delay: 0.32s; }
}
@media (prefers-reduced-motion: reduce) {
	.hero__media img { animation: none; }
	html { scroll-behavior: auto; }
}

/* ========== 22. WooCommerce ========== */
.woocommerce-page .site-main, .mdent-plain-main { padding-top: 7rem; }
/* Product grid/cards, filters, badges: assets/css/shop-enhanced.css
   (ported layer). The rules below only cover WC elements it doesn't touch. */
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
/* View toggle keeps to the right edge even when no filter pills render. */
.mdent-shop-toolbar .mdent-view-toggle { margin-left: auto; }
/* WC core layout CSS floats li.product at ~17-22% width, which shrinks the
   cards to slivers inside the ported CSS grid — neutralise it everywhere. */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	clear: none !important;
}
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.wc-block-components-button {
	background: var(--primary) !important; color: var(--primary-fg) !important; border-radius: 999px !important;
	font-weight: 500 !important; padding: 0.7rem 1.3rem !important; font-size: 0.83rem !important; line-height: 1 !important;
	transition: background-color 0.25s;
	border: 0;
	cursor: pointer;
}
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--ink) !important; color: var(--primary-fg) !important; }
.woocommerce a.button.alt, .woocommerce button.button.alt { background: var(--primary) !important; color: var(--primary-fg) !important; }
.woocommerce nav.woocommerce-pagination ul { border: 0 !important; display: flex; gap: 0.4rem; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0 !important; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
	border-radius: 999px; border: 1px solid var(--border) !important; min-width: 2.4rem; height: 2.4rem;
	display: flex; align-items: center; justify-content: center; font-size: 0.875rem;
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--primary) !important; color: var(--primary-fg) !important; border-color: var(--primary) !important; }
.woocommerce .woocommerce-ordering select { border-radius: 999px; border: 1px solid var(--border); padding: 0.55rem 2rem 0.55rem 1rem; background-color: var(--card); font: inherit; font-size: 0.875rem; }
.woocommerce .woocommerce-result-count { color: var(--muted-fg); font-size: 0.875rem; }
.woocommerce div.product .product_title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.woocommerce div.product div.images img { border-radius: var(--r-xl); }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border-top-color: var(--champagne-deep) !important; background: var(--sand) !important;
	border-radius: var(--r-md); color: var(--fg) !important;
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--champagne-text) !important; }
.woocommerce-breadcrumb { color: var(--muted-fg) !important; font-size: 0.8125rem !important; margin-bottom: 1.5rem !important; }
.woocommerce-breadcrumb a { color: var(--muted-fg) !important; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
	border: 1px solid var(--border); border-radius: var(--r-md); padding: 0.8rem 1rem; background: var(--bg); font: inherit;
}
.woocommerce table.shop_table { border: 1px solid var(--border) !important; border-radius: var(--r-lg) !important; overflow: hidden; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color: var(--border) !important; }
.woocommerce-cart table.cart img { border-radius: var(--r-sm); }
.wc-block-components-button { border-radius: 999px !important; }

/* Shop toolbar (result count + ordering) */
.woocommerce .woocommerce-result-count { float: left; margin: 0.5rem 0 1.5rem !important; }
.woocommerce .woocommerce-ordering { float: right; margin: 0 0 1.5rem !important; }
.woocommerce ul.products { clear: both; }
.mdent-product-hero { padding-top: 7rem; padding-bottom: 0; background: none; }
.mdent-product-hero .breadcrumbs { margin-bottom: 0; }
.mdent-product-main { padding-top: 1.25rem; }

/* Sale badge */
.woocommerce span.onsale {
	background: var(--champagne-deep) !important; color: #fff !important;
	border-radius: 999px !important; padding: 0.4rem 0.9rem !important;
	font-size: 0.72rem !important; font-weight: 600 !important; letter-spacing: 0.06em;
	line-height: 1 !important; min-height: 0 !important; min-width: 0 !important;
	top: 0.9rem !important; left: 0.9rem !important; z-index: 5;
}

/* Star ratings */
.woocommerce .star-rating::before { color: var(--border); }
.woocommerce .star-rating span::before { color: var(--champagne-deep); }

/* ----- Single product -----
   Layout, gallery, add-to-cart, meta, details cards: shop-enhanced.css
   (the ported .mdent-sp layer). Only typography alignment lives here. */
.mdent-sp .mdent-sp-title { font-family: var(--font-display); letter-spacing: -0.02em; }
.mdent-sp .mdent-sp-desc details { border: 1px solid var(--border); border-radius: var(--r-md); padding: 0.9rem 1.2rem; margin: 0.6rem 0; background: var(--bg); }
.mdent-sp .mdent-sp-desc details summary { cursor: pointer; font-weight: 500; }
.woocommerce .related, .woocommerce .upsells { clear: both; }

/* Cart & checkout (classic + blocks) */
.wc-page-content { min-height: 20rem; }
.wc-page-content .wp-block-woocommerce-cart { margin-top: 0; }
/* Checkout: form on the left, sticky order summary card on the right. */
.woocommerce-checkout form.woocommerce-checkout { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 64rem) {
	.woocommerce-checkout form.woocommerce-checkout { grid-template-columns: 7fr 5fr; column-gap: 3rem; align-items: start; }
	.woocommerce-checkout form.woocommerce-checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; }
	.woocommerce-checkout form.woocommerce-checkout #order_review_heading { grid-column: 2; grid-row: 1; margin: 0; }
	.woocommerce-checkout form.woocommerce-checkout #order_review { grid-column: 2; grid-row: 2; position: sticky; top: 6.5rem; }
}
.woocommerce-checkout #customer_details.col2-set { width: 100%; }
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 { float: none !important; width: 100% !important; }
.woocommerce-checkout #order_review {
	background: var(--card); border: 1px solid var(--border);
	border-radius: var(--r-xl); padding: 1.5rem; box-shadow: var(--shadow-soft);
}
.woocommerce-checkout #order_review table.shop_table { border: 0 !important; margin-bottom: 1rem; }
.woocommerce-checkout #order_review table.shop_table td,
.woocommerce-checkout #order_review table.shop_table th { border-color: var(--border) !important; padding: 0.7rem 0.4rem; }
.mdent-hidden-field, .woocommerce form .form-row.mdent-hidden-field { display: none !important; }
/* Mobile: one field per row — comfortable typing targets. */
@media (max-width: 48rem) {
	.woocommerce form .form-row-first,
	.woocommerce form .form-row-last { width: 100% !important; float: none !important; }
}
.woocommerce form .form-row label { font-size: 0.85rem; font-weight: 500; }
.woocommerce form .form-row input.input-text { width: 100%; }
.woocommerce-checkout #customer_details h3, .woocommerce-checkout h3#order_review_heading { font-size: 1.5rem; margin: 1.5rem 0 1rem; }
.woocommerce-checkout #payment { background: var(--sand) !important; border-radius: var(--r-lg) !important; }
.woocommerce-checkout #payment div.payment_box { background: var(--card) !important; border-radius: var(--r-md); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--card) !important; }
.woocommerce-checkout #payment #place_order { width: 100%; padding: 1.1rem !important; font-size: 1rem !important; }
.woocommerce form.checkout_coupon, .woocommerce form.login { border: 1px solid var(--border) !important; border-radius: var(--r-lg) !important; }
.woocommerce a.remove { color: var(--destructive) !important; }
.woocommerce a.remove:hover { background: var(--destructive) !important; color: #fff !important; }
.woocommerce #coupon_code { border: 1px solid var(--border); border-radius: 999px; padding: 0.7rem 1rem; font-size: 0.85rem; }
.woocommerce-cart .cart-collaterals .cart_totals { float: right; width: 100%; }
@media (min-width: 48rem) { .woocommerce-cart .cart-collaterals .cart_totals { width: 48%; } }

/* Shop category pills */
.shop-cats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 2rem; }
.shop-cats a {
	text-decoration: none; font-size: 0.8125rem; padding: 0.5rem 1rem; border-radius: 999px;
	border: 1px solid var(--border); background: var(--card); color: oklch(0.22 0.015 50 / 0.75);
}
.shop-cats a:hover, .shop-cats a.is-active { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }

/* Product strip (featured products on service/price pages) */
.product-strip { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .product-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .product-strip { grid-template-columns: repeat(3, 1fr); } }
.product-tile {
	display: flex; gap: 1.1rem; align-items: center; text-decoration: none;
	background: var(--card); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 1.1rem;
	transition: transform 0.4s, box-shadow 0.4s;
}
.product-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-elegant); }
.product-tile img { height: 4.5rem; width: 4.5rem; border-radius: var(--r-md); object-fit: cover; flex: none; background: var(--sand); }
.product-tile .ph { height: 4.5rem; width: 4.5rem; border-radius: var(--r-md); flex: none; background: linear-gradient(135deg, oklch(0.94 0.025 80), oklch(0.88 0.045 75)); display:flex; align-items:center; justify-content:center; color: var(--champagne-text); }
.product-tile .ph svg { width: 1.5rem; height: 1.5rem; }
.product-tile b { display: block; font-size: 0.9rem; font-weight: 500; line-height: 1.4; }
.product-tile .pr { font-size: 0.875rem; color: var(--champagne-text); font-weight: 600; margin-top: 0.3rem; display: block; }
.product-tile .go { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-fg); margin-top: 0.35rem; display: block; }

/* ========== 23. Blog / archive ========== */
.post-grid { display: grid; gap: 1.5rem; }
@media (min-width: 40rem) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; text-decoration: none; transition: transform 0.4s, box-shadow 0.4s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-elegant); }
.post-card__img { aspect-ratio: 16/9; background: var(--sand); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.post-card h3 { font-size: 1.3rem; margin: 0; }
.post-card time { font-size: 0.75rem; color: var(--muted-fg); letter-spacing: 0.05em; text-transform: uppercase; }
.post-card p { font-size: 0.875rem; color: var(--muted-fg); margin: 0; }
.pagination { display: flex; gap: 0.4rem; justify-content: center; margin-top: 3rem; }
.pagination .page-numbers {
	min-width: 2.4rem; height: 2.4rem; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--border); border-radius: 999px; text-decoration: none; font-size: 0.875rem;
}
.pagination .page-numbers.current { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }

/* ========== 24. Misc pages ========== */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 64rem) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-2xl); padding: 2rem; }
.contact-card h3 { font-size: 1.35rem; }
.contact-card ul { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.9rem; font-size: 0.95rem; }
.contact-card li { display: flex; gap: 0.8rem; align-items: flex-start; }
.contact-card li svg { width: 1.05rem; height: 1.05rem; margin-top: 0.22rem; color: var(--champagne-text); flex: none; }
.contact-card a { text-decoration: none; }
.contact-card a:hover { color: var(--champagne-text); }
.map-frame { border-radius: var(--r-2xl); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16/7; margin-top: 3rem; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.error-404 { text-align: center; padding-block: 10rem 6rem; }

.related-strip { margin-top: 0; }
.related-strip .card h3 { font-size: 1.25rem; }

/* Specialist authority card (service pages: aesthetics by A. Majevska) */
.specialist-card {
	display: grid; gap: 2rem; align-items: center;
	background: var(--card); border: 1px solid var(--border); border-radius: var(--r-2xl);
	padding: 2rem; box-shadow: var(--shadow-soft); overflow: hidden; position: relative;
}
@media (min-width: 48rem) { .specialist-card { grid-template-columns: 260px 1fr; padding: 2.5rem; } }
.specialist-card::before {
	content: ""; position: absolute; top: -5rem; right: -5rem; height: 14rem; width: 14rem;
	border-radius: 999px; background: oklch(0.88 0.045 80 / 0.25); filter: blur(50px); pointer-events: none;
}
.specialist-card__photo { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/5; max-width: 260px; }
.specialist-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.specialist-card__badge {
	position: absolute; top: 0.9rem; left: 0.9rem;
	background: oklch(0.992 0.004 80 / 0.9); backdrop-filter: blur(6px);
	border-radius: 999px; padding: 0.35rem 0.9rem; font-size: 0.72rem; letter-spacing: 0.06em;
}
.specialist-card h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0.35rem 0 0.2rem; }
.specialist-card .role { color: var(--champagne-text); font-size: 0.9rem; letter-spacing: 0.03em; }
.specialist-card p { color: oklch(0.22 0.015 50 / 0.8); margin: 1rem 0 0; line-height: 1.7; }
.specialist-card__links { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }

/* Abandoned-cart SMS popup (asms plugin): shop flow only — on content pages
   it covers the hero and the lead form. */
body:not(.woocommerce):not(.woocommerce-page) .asms-wc-cart-prompt { display: none !important; }

/* Doctor single */
.doctor-layout { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 64rem) { .doctor-layout { grid-template-columns: 2fr 3fr; } }
.doctor-layout .photo { border-radius: var(--r-2xl); overflow: hidden; box-shadow: var(--shadow-elegant); }
/* Sticky only beside the two-column bio — in the stacked mobile layout the
   stuck photo rides down the page and covers the text. */
@media (min-width: 64rem) { .doctor-layout .photo { position: sticky; top: 7rem; } }
.doctor-layout .photo img { width: 100%; display: block; }
