/*
Theme Name: ELMA Clinic
Theme URI: https://elmaclinic.ma
Author: ELMA Clinic
Description: Thème WordPress sur mesure pour ELMA Clinic : soins, packs, réservation, WhatsApp et intégrations externes.
Version: 1.0.4
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: elma-clinic
*/

:root {
	--ink: #20221d;
	--paper: #f7f6f2;
	--canvas: #d7d4cd;
	--olive: #2c361e;
	--olive-soft: #697254;
	--sand: #e8e2d6;
	--line: rgba(32, 34, 29, .15);
	--white: #fff;
	--radius: 30px;
	--ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--canvas);
	color: var(--ink);
	font-family: "DM Sans", sans-serif;
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Syne", sans-serif; font-weight: 500; letter-spacing: -.045em; line-height: .98; }
h1 em, h2 em { font-family: Georgia, serif; font-weight: 400; }
:focus-visible { outline: 3px solid #b7654e; outline-offset: 3px; }
::selection { background: var(--olive); color: var(--white); }

.skip-link { position: fixed; left: 20px; top: -100px; z-index: 1000; padding: 12px 18px; background: #fff; border-radius: 12px; }
.skip-link:focus { top: 20px; }
.site-shell { width: min(1460px, calc(100% - 28px)); margin: 14px auto; overflow: clip; }
.site-main { display: grid; gap: 14px; }
.section, .hero, .contact-section { border-radius: var(--radius); overflow: hidden; }
.section { padding: clamp(58px, 7vw, 112px) clamp(24px, 5.5vw, 84px); background: var(--paper); }

.topbar {
	position: sticky;
	top: 14px;
	z-index: 100;
	height: 88px;
	margin-bottom: 14px;
	padding: 0 22px 0 30px;
	display: grid;
	grid-template-columns: 210px 1fr 210px;
	align-items: center;
	background: rgba(249, 248, 244, .93);
	border: 1px solid rgba(255,255,255,.6);
	border-radius: 26px;
	backdrop-filter: blur(18px);
	box-shadow: 0 12px 30px rgba(34,35,28,.07);
}
.admin-bar .topbar { top: 46px; }
.brand { display: inline-flex; width: 134px; align-items: center; min-width: 0; }
.brand .custom-logo-link, .brand .brand-link { display: inline-flex; max-width: 100%; align-items: center; }
.brand img, .brand .custom-logo { display: block; width: auto; max-width: 100%; height: auto; max-height: 52px; object-fit: contain; }
.main-nav { justify-self: center; }
.menu { display: flex; gap: clamp(22px, 3vw, 44px); padding: 0; margin: 0; list-style: none; }
.menu a { position: relative; font-size: 14px; }
.menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: currentColor; transition: right .35s var(--ease); }
.menu a:hover::after { right: 0; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.header-cta { padding: 14px 25px; color: #fff; background: var(--olive); border-radius: 999px; font-size: 14px; font-weight: 600; transition: transform .3s var(--ease), background .3s; }
.header-cta:hover { transform: translateY(-2px); background: #3b472a; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: var(--ink); }
.menu-toggle span { display: block; width: 18px; height: 1px; margin: 5px auto; background: #fff; transition: transform .3s, opacity .3s; }

.hero {
	min-height: 810px;
	padding: clamp(44px, 6vw, 90px) clamp(24px, 5.5vw, 84px) 32px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background-color: #ddd1bf;
	background-image: linear-gradient(90deg, rgba(225,216,202,.93) 0%, rgba(225,216,202,.55) 38%, rgba(225,216,202,.04) 69%), url("assets/images/elma-clinic-kenitra-hero-beaute-precise.webp");
	background-position: center, center;
	background-size: cover;
}
.hero-copy { max-width: 680px; padding-top: 30px; }
.eyebrow, .kicker { margin-bottom: 20px; font-size: 11px; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.hero h1 { margin-bottom: 24px; font-size: clamp(66px, 8.4vw, 132px); }
.hero h1 em { display: inline-block; color: var(--olive); }
.hero-intro { max-width: 470px; font-size: clamp(17px, 1.45vw, 21px); }
.booking-panel { margin-top: 50px; padding: 26px; background: rgba(249,248,244,.93); border: 1px solid rgba(255,255,255,.7); border-radius: 24px; backdrop-filter: blur(16px); box-shadow: 0 25px 55px rgba(52,44,31,.12); }
.booking-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
.booking-heading .kicker { margin-bottom: 8px; }
.booking-heading h2 { margin: 0; font-size: clamp(26px, 2.5vw, 38px); }
.booking-note { display: flex; gap: 6px; align-items: center; color: #4f5741; font-size: 12px; white-space: nowrap; }
.booking-note .material-symbols-rounded { font-size: 18px; }
.booking-form { display: grid; grid-template-columns: 1.35fr repeat(4, 1fr) 1.2fr; gap: 12px; align-items: end; }
.field { display: grid; gap: 7px; min-width: 0; }
.field > span { font-size: 11px; font-weight: 600; }
.field small { font-weight: 400; color: #7a7b74; }
.field input, .field select { width: 100%; height: 50px; padding: 0 14px; color: var(--ink); background: #fff; border: 1px solid rgba(32,34,29,.14); border-radius: 10px; outline: 0; }
.field input:focus, .field select:focus { border-color: var(--olive-soft); box-shadow: 0 0 0 3px rgba(105,114,84,.12); }
.booking-submit { grid-column: span 2; display: flex; gap: 8px; }
.button { min-height: 50px; padding: 0 20px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; border: 1px solid transparent; border-radius: 999px; cursor: pointer; font-size: 13px; font-weight: 600; transition: transform .3s var(--ease), background-color .3s, color .3s; }
.button:hover { transform: translateY(-2px); }
.button .material-symbols-rounded { font-size: 18px; }
.button-dark { flex: 1; color: #fff; background: var(--olive); }
.button-dark:disabled { cursor: wait; opacity: .65; }
.button-whatsapp { padding-inline: 16px; color: var(--olive); background: transparent; border-color: rgba(44,54,30,.3); }
.form-status { grid-column: 1 / -1; margin: 0; color: #6a6d64; font-size: 11px; }
.form-status.is-error { color: #a24432; }
.form-status.is-success { color: #37622f; }
.honeypot { position: absolute; left: -9999px; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 52px; }
.section-head h2, .packs-intro h2, .expertise-copy h2, .contact-copy h2 { margin-bottom: 0; font-size: clamp(44px, 5vw, 78px); }
.section-head > p { max-width: 390px; margin-bottom: 5px; color: #686a62; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-card { min-width: 0; }
.service-link { width: 100%; padding: 0; text-align: left; color: inherit; background: transparent; border: 0; cursor: pointer; }
.service-media { height: clamp(240px, 27vw, 410px); overflow: hidden; background: #ddd8cf; border-radius: 18px; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-link:hover .service-media img { transform: scale(1.035); }
.service-meta { display: flex; justify-content: space-between; align-items: center; padding: 18px 2px 8px; border-bottom: 1px solid var(--line); font-size: 11px; }
.service-meta .material-symbols-rounded { font-size: 18px; transition: transform .3s var(--ease); }
.service-link:hover .service-meta .material-symbols-rounded { transform: translate(3px,-3px); }
.service-card h3 { margin: 18px 0 10px; font-size: clamp(24px, 2.2vw, 34px); }
.service-card p { min-height: 48px; color: #6e7068; font-size: 13px; }
.service-card strong { font-size: 12px; font-weight: 600; }

.packs-section { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(45px, 8vw, 130px); background: #e9e5dc; }
.packs-intro { align-self: start; position: sticky; top: 132px; }
.packs-intro h2 { margin-bottom: 28px; }
.packs-intro > p:not(.kicker) { max-width: 490px; color: #64675f; }
.text-link { display: inline-flex; align-items: center; gap: 16px; margin-top: 30px; padding-bottom: 6px; border-bottom: 1px solid currentColor; font-size: 13px; }
.text-link .material-symbols-rounded { font-size: 17px; }
.pack-stack { display: grid; gap: 16px; }
.pack-card { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 330px; overflow: hidden; background: var(--paper); border-radius: 20px; }
.pack-image { overflow: hidden; }
.pack-image img { width: 100%; height: 100%; object-fit: cover; }
.pack-copy { padding: clamp(24px, 3vw, 42px); display: flex; flex-direction: column; }
.pack-number { font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.pack-copy h3 { margin: 35px 0 14px; font-size: clamp(32px, 3vw, 48px); }
.pack-copy > p:not(.pack-number) { color: #696b64; font-size: 13px; }
.pack-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 25px; border-top: 1px solid var(--line); }
.circle-action { width: 45px; height: 45px; display: grid; place-items: center; color: #fff; background: var(--olive); border: 0; border-radius: 50%; cursor: pointer; }

.expertise-section { background: var(--olive); color: #eef0e8; }
.expertise-words { display: grid; margin-bottom: 70px; font-family: "Syne", sans-serif; font-size: clamp(50px, 7.5vw, 114px); letter-spacing: -.06em; line-height: .86; }
.expertise-words span:nth-child(2) { color: #aeb49e; padding-left: 16%; }
.expertise-words span:nth-child(3) { padding-left: 38%; }
.expertise-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.expertise-image { position: relative; height: 620px; overflow: hidden; border-radius: 18px; }
.expertise-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); }
.expertise-image > span { position: absolute; left: 24px; bottom: 22px; font-family: "Syne", sans-serif; font-size: 13px; line-height: 1; text-transform: uppercase; }
.expertise-copy h2 { margin-bottom: 28px; }
.expertise-copy > p:not(.kicker) { color: #c9cdbf; max-width: 540px; }
.proof-list { padding: 30px 0 0; margin: 44px 0 0; border-top: 1px solid rgba(255,255,255,.18); list-style: none; }
.proof-list li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.proof-list strong, .proof-list small { display: block; }
.proof-list small { color: #aeb4a5; font-size: 12px; }

.reviews-section { background: #f1efe9; }
.rating-mark { text-align: right; }
.rating-mark span, .rating-mark strong { display: block; }
.rating-mark span { font-weight: 600; }
.rating-mark strong { color: #9a7948; letter-spacing: .1em; }
.integration-placeholder { min-height: 210px; padding: 34px; display: flex; align-items: center; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.integration-placeholder > .material-symbols-rounded { font-size: 54px; color: var(--olive-soft); }
.integration-placeholder strong { font-family: "Syne", sans-serif; font-size: 25px; }
.integration-placeholder p { margin: 6px 0 0; color: #74766f; }
.external-feed { width: 100%; }

.social-section { padding-bottom: clamp(70px, 8vw, 130px); }
.social-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; }
.social-head h2 { margin: 0; font-size: clamp(34px, 4vw, 58px); }
.social-head a { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 5px; border-bottom: 1px solid; font-size: 13px; }
.social-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.social-grid a { aspect-ratio: .82; overflow: hidden; border-radius: 14px; }
.social-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.social-grid a:hover img { transform: scale(1.04); filter: saturate(.85); }

.contact-section { padding: clamp(58px, 7vw, 105px) clamp(24px, 5.5vw, 84px) 25px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); color: #f5f2e9; background: #1f2718; }
.contact-copy h2 { margin-bottom: 38px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button-light { color: var(--ink); background: #f5f2e9; }
.button-outline-light { color: #f5f2e9; border-color: rgba(255,255,255,.38); }
.contact-details { display: grid; grid-template-columns: 1.25fr 1fr .9fr; gap: 18px; margin-top: 70px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); }
.contact-details small { color: #9ea493; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.contact-details p { margin: 8px 0 0; font-size: 13px; }
.map-wrap { position: relative; min-height: 520px; overflow: hidden; border-radius: 18px; background: #e8e6dd; }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 350px; border: 0; filter: none; }
.site-footer { grid-column: 1 / -1; margin-top: 30px; padding-top: 24px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; border-top: 1px solid rgba(255,255,255,.16); color: #adb2a4; font-size: 11px; }
.site-footer img { max-height: 46px; width: auto; filter: brightness(0) invert(1); opacity: .85; }
.site-footer p { margin: 0; }
.site-footer p:nth-child(2) { text-align: center; }
.site-footer p:last-child { text-align: right; }

.whatsapp-float { position: fixed; right: 25px; bottom: 24px; z-index: 90; min-height: 48px; padding: 0 18px; display: flex; align-items: center; gap: 8px; color: #fff; background: #244821; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; box-shadow: 0 12px 28px rgba(20,33,17,.22); font-size: 12px; font-weight: 600; transition: transform .3s var(--ease); }
.whatsapp-float:hover { transform: translateY(-3px); }
.material-symbols-rounded { font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24; }

.reveal { opacity: 1; transform: none; transition: opacity .75s var(--ease) var(--delay, 0ms), transform .75s var(--ease) var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.content-page { min-height: 60vh; padding: clamp(55px, 7vw, 100px); background: var(--paper); border-radius: var(--radius); }
.content-narrow { width: min(780px, 100%); margin: 0 auto; }
.entry-card h1, .not-found h1 { font-size: clamp(48px, 7vw, 90px); }
.entry-card img { height: auto; }
.button-primary { min-height: 50px; padding: 0 22px; display: inline-flex; align-items: center; color: #fff; background: var(--olive); border-radius: 999px; font-weight: 600; }

@media (max-width: 1160px) {
	.booking-form { grid-template-columns: repeat(4, 1fr); }
	.booking-submit { grid-column: span 2; }
	.service-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 14px; }
	.service-media { height: 420px; }
	.contact-section { grid-template-columns: 1fr; }
	.map-wrap { min-height: 430px; }
}

@media (max-width: 920px) {
	.site-shell { width: min(1460px, calc(100% - 16px)); margin: 8px auto; }
	.topbar { top: 8px; height: 74px; grid-template-columns: 1fr auto; padding: 0 14px 0 20px; border-radius: 22px; }
	.admin-bar .topbar { top: 54px; }
	.brand { width: 110px; }
	.header-cta { padding: 12px 18px; }
	.menu-toggle { display: block; }
	.main-nav { position: fixed; inset: 90px 8px auto; padding: 30px; background: var(--paper); border-radius: 22px; box-shadow: 0 24px 50px rgba(30,31,27,.16); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .3s var(--ease); }
	.main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.main-nav .menu { flex-direction: column; gap: 5px; }
	.main-nav .menu a { display: block; padding: 12px 0; font-family: "Syne", sans-serif; font-size: 25px; }
	.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
	.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
	.hero { min-height: 900px; background-image: linear-gradient(90deg, rgba(225,216,202,.88), rgba(225,216,202,.2)), url("assets/images/elma-clinic-kenitra-hero-beaute-precise.webp"); background-position: 62% center; }
	.hero-copy { padding-top: 40px; }
	.booking-form { grid-template-columns: repeat(2, 1fr); }
	.field-service { grid-column: span 2; }
	.packs-section { grid-template-columns: 1fr; }
	.packs-intro { position: static; }
	.expertise-layout { grid-template-columns: 1fr; }
	.expertise-image { height: 560px; }
	.expertise-copy { max-width: 650px; }
	.social-grid { grid-template-columns: repeat(3, 1fr); }
	.social-grid a:nth-child(n+4) { display: none; }
}

@media (max-width: 620px) {
	:root { --radius: 22px; }
	.site-main { gap: 8px; }
	.section { padding: 55px 20px; }
	.header-cta { display: none; }
	.hero { min-height: 0; padding: 40px 20px 20px; background-position: 64% top; }
	.hero-copy { min-height: 510px; padding-top: 35px; }
	.hero h1 { font-size: clamp(60px, 19vw, 84px); }
	.hero-intro { max-width: 280px; font-size: 15px; }
	.booking-panel { margin: 0; padding: 20px 16px; border-radius: 18px; }
	.booking-heading { display: block; }
	.booking-note { margin-top: 12px; }
	.booking-form { grid-template-columns: 1fr; }
	.field-service, .booking-submit { grid-column: auto; }
	.booking-submit { flex-direction: column; }
	.button { width: 100%; }
	.section-head { display: block; margin-bottom: 34px; }
	.section-head > p { margin-top: 18px; }
	.service-grid { display: flex; gap: 12px; margin-right: -20px; padding-right: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.service-card { flex: 0 0 83%; scroll-snap-align: start; }
	.service-media { height: 370px; }
	.pack-card { grid-template-columns: 1fr; }
	.pack-image { height: 260px; }
	.pack-copy h3 { margin-top: 25px; }
	.expertise-words { margin-bottom: 45px; font-size: 15.5vw; }
	.expertise-words span:nth-child(2) { padding-left: 7%; }
	.expertise-words span:nth-child(3) { padding-left: 20%; }
	.expertise-image { height: 430px; }
	.integration-placeholder { display: block; min-height: 0; padding: 25px; }
	.integration-placeholder > .material-symbols-rounded { margin-bottom: 20px; }
	.social-head { display: block; }
	.social-head a { margin-top: 16px; }
	.social-grid { gap: 6px; }
	.social-grid a { border-radius: 8px; }
	.contact-section { padding: 55px 20px 20px; }
	.contact-details { grid-template-columns: 1fr 1fr; margin-top: 50px; }
	.contact-details > div:first-child { grid-column: 1 / -1; }
	.map-wrap { min-height: 350px; }
	.site-footer { grid-template-columns: 1fr; gap: 12px; text-align: left; }
	.site-footer p:nth-child(2), .site-footer p:last-child { text-align: left; }
	.whatsapp-float { right: 14px; bottom: 14px; width: 50px; height: 50px; padding: 0; justify-content: center; }
	.whatsapp-float > span:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	.reveal { opacity: 1; transform: none; }
}

/* ELMA 1.0.2 — SEO service pages, accurate pricing and live maps */
.service-link { display: block; }
.service-discover { display: inline-flex; align-items: center; gap: 10px; margin-top: 11px; padding-bottom: 5px; border-bottom: 1px solid var(--olive); color: var(--olive); font-size: 12px; font-weight: 600; }
.service-card p { min-height: 44px; }
.map-directions { position: absolute; left: 18px; bottom: 18px; display: inline-flex; gap: 8px; align-items: center; padding: 12px 16px; border-radius: 40px; background: #fff; color: #1f281a; box-shadow: 0 8px 24px rgba(0,0,0,.14); font-size: 12px; font-weight: 600; z-index: 2; }
.map-directions .material-symbols-rounded { font-size: 19px; }
.service-detail { background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.service-detail-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.85fr); gap: clamp(20px,5vw,80px); align-items: center; min-height: 610px; padding: clamp(30px,5vw,80px); background: #ebe7dd; }
.service-detail-lead h1 { font-size: clamp(46px,6vw,91px); max-width: 750px; }
.service-detail-lead > p:not(.kicker) { max-width: 530px; color: #56594f; font-size: clamp(16px,1.5vw,21px); }
.service-detail-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 35px; }
.service-detail-photo { height: 530px; width: 100%; margin: 0; overflow: hidden; border-radius: 22px; }
.service-detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.service-detail-body { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(250px,.65fr); gap: clamp(25px,7vw,120px); padding: clamp(35px,6vw,90px); }
.service-detail-content { max-width: 780px; }
.service-detail-content h2 { font-size: clamp(29px,3.1vw,42px); margin: 35px 0 18px; }
.service-detail-content h2:first-child { margin-top: 0; }
.service-detail-content h3 { font-size: clamp(21px,2vw,26px); margin: 28px 0 10px; }
.service-detail-content p { font-size: 16px; line-height: 1.8; color: #595d53; margin-bottom: 18px; }
.service-detail-aside { align-self: start; position: sticky; top: 135px; border-top: 2px solid var(--olive); padding: 25px; border-radius: 14px; background: #ebece5; }
.service-detail-aside h2 { font-size: 34px; }
.service-detail-aside > p:not(.kicker) { color: #676b62; font-size: 14px; }
.related-services h2 { font-size: clamp(36px,4.4vw,60px); }
.related-service-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; margin-top: 33px; }
.related-service-links a { padding: 23px 24px; border: 1px solid var(--line); border-radius: 18px; display: flex; justify-content: space-between; align-items: center; font-family: 'Syne',sans-serif; font-size: 19px; transition: background .2s; }
.related-service-links a:hover { background: #e7e6df; }
@media (max-width: 920px) { .service-detail-hero { grid-template-columns: 1fr; } .service-detail-photo { height: 420px; } .service-detail-body { grid-template-columns: 1fr; } .service-detail-aside { position: static; } }
@media (max-width: 620px) { .service-detail-hero { padding: 45px 22px 22px; } .service-detail-lead h1 { font-size: clamp(44px,12vw,66px); } .service-detail-photo { height: 320px; } .service-detail-body { padding: 38px 22px; } .related-service-links { grid-template-columns: 1fr; } .map-directions { bottom: 15px; left: 12px; font-size: 11px; } }

/* ELMA 1.0.3 - curated horizontal editorial category carousel */
.elma-carousel-tools{display:flex;justify-content:flex-end;gap:8px;margin:0 0 16px}
.elma-carousel-arrow{height:42px;width:42px;border:1px solid #d4d6ca;border-radius:50%;background:transparent;color:#30371f;cursor:pointer;font-size:22px}
.elma-carousel-arrow:hover,.elma-carousel-arrow:focus-visible{background:#30371f;color:white}
.service-grid.elma-category-carousel{display:flex!important;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:12px;overscroll-behavior-inline:contain;grid-template-columns:none}
.elma-category-carousel::-webkit-scrollbar{display:none}
.elma-category-carousel .service-card{flex:0 0 calc((100% - 32px)/3);scroll-snap-align:start;min-width:0}
.elma-category-carousel .service-card p{min-height:42px}
.elma-live-treatments{padding:24px 0}
.elma-live-treatments>p{color:#6e7068}
.elma-live-list{list-style:none;margin:20px 0;padding:0;border-top:1px solid #dddcd4}
.elma-live-list li{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #dddcd4}
.elma-live-list small{color:#707266;white-space:nowrap}
@media(max-width:900px){.elma-category-carousel .service-card{flex-basis:calc((100% - 16px)/2)}}
@media(max-width:640px){.elma-category-carousel .service-card{flex-basis:83%}.elma-carousel-arrow{height:38px;width:38px}}

/* ELMA 1.0.4 - hardening against WordPress/global CSS collisions and cached layout */
.site-shell { width: calc(100% - 28px); max-width: 1460px; margin-inline: auto; }
.main-nav .menu a { color: var(--ink); text-decoration: none; }
.header-actions .header-cta { color: #fff; }
@media(max-width:920px) { .site-shell { width: calc(100% - 16px); } }
