/*
Theme Name: La Derma
Description: La Derma Medical Center, bilingual EN/AR, mega menu, conversion-focused.
Version: 1.0.24
Text Domain: laderma
*/

:root {
	--ink: #141210;
	--ink-2: #3d3833;
	--muted: #6f665d;
	--gold: #a9804f;
	--gold-dk: #8a6238;
	--gold-lt: #d8b98f;
	--grad: linear-gradient(135deg, #c9a271 0%, #a9804f 50%, #8a6238 100%);
	--cream: #f7f2ec;
	/* clinic interior greens: velvet chairs, glass-block walls, doors */
	--sage: #7e9784;
	--sage-dk: #4f6656;
	--sage-lt: #eaf1ec;
	--mint: #a3c7ba;
	--line: #e7ddd1;
	--white: #fff;
	--r: 14px;
	--shadow: 0 18px 40px -18px rgba(20, 18, 16, .25);
	--serif: "Cormorant Garamond", Georgia, serif;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
[dir="rtl"] { --serif: "Tajawal", sans-serif; --sans: "Tajawal", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font: 400 16px/1.65 var(--sans); color: var(--ink-2); background: var(--cream); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dk); }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-weight: 700; line-height: 1.35; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.35rem; }
[dir="rtl"] h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
[dir="rtl"] h2 { font-size: clamp(1.45rem, 2.7vw, 2.15rem); }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.skip { position: absolute; inset-inline-start: -999px; }
.skip:focus { inset-inline-start: 8px; top: 8px; z-index: 99; background: var(--white); padding: 8px 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 600 15px/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--grad); color: var(--white); box-shadow: 0 10px 24px -10px rgba(138, 98, 56, .7); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-line { border-color: currentColor; color: var(--white); }
.btn-line-dark { border-color: var(--ink); color: var(--ink); }
.btn-block { width: 100%; }
.btn-wa { background: #15803d; color: var(--white); border-color: #15803d; }
.btn-wa:hover { background: #166534; border-color: #166534; }
.cta-band .btn-wa { background: #15803d; }
.bc-wa { background: #15803d !important; border-color: #15803d !important; }
.bc-wa span, .bc-wa strong { color: var(--white) !important; display: inline-flex; align-items: center; gap: 6px; }
.btn-wa svg { flex: none; }
.eyebrow { font: 600 13px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dk); margin: 0 0 12px; }
.section-dark .eyebrow { color: #ecdcc2; }
[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: 15px; }

/* Top bar + header */
.topbar { background: var(--sage-dk); color: #e3ece6; font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; gap: 16px; min-height: 38px; align-items: center; }
.topbar a { color: var(--white); text-decoration: none; margin-inline-start: 18px; }
.topbar .lang { color: var(--gold-lt); font-weight: 600; }
.topbar-links { display: flex; align-items: center; }
.topbar-links > a, .tb-icons a { display: inline-flex; align-items: center; gap: 6px; }
.tb-icons { display: inline-flex; gap: 6px; margin-inline-start: 18px; }
.tb-icons a { margin: 0; width: 28px; height: 28px; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .08); transition: background .2s, color .2s; }
.tb-icons a:hover { background: var(--gold); color: var(--white); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(234, 241, 236, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .35); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.logo img { width: 132px; height: auto; }
.nav { margin-inline: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list > li > a, .mega-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font: 500 15px/1 var(--sans); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: 8px; }
.nav-list > li > a:hover, .mega-toggle:hover, .mega-toggle[aria-expanded="true"] { color: var(--gold-dk); background: var(--cream); }
.mega-toggle svg { transition: transform .2s; }
.mega-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-lang, .burger, .nav-head { display: none; }
.header-lang { display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; transition: border-color .2s, color .2s; }
.header-lang:hover { border-color: var(--gold); color: var(--gold-dk); }
.header-lang svg { color: var(--gold); }

/* Mega menu (desktop) */
.mega { position: absolute; inset-inline: 0; top: 100%; background: var(--cream); border-top: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .mega-toggle[aria-expanded="true"] + .mega { opacity: 1; visibility: visible; transform: none; }
.mega-in { display: grid; gap: 28px; padding: 32px 0 36px; }
.mega-5 { grid-template-columns: repeat(5, 1fr) 1.15fr; }
.mega-3 { grid-template-columns: repeat(3, 1fr) 1.3fr; }
.mega-h { font: 600 12px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--sage-dk); margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
[dir="rtl"] .mega-h { letter-spacing: 0; font-size: 14px; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { display: block; padding: 6px 0; color: var(--ink-2); text-decoration: none; font-size: 14.5px; }
.mega li a:hover { color: var(--gold-dk); padding-inline-start: 4px; transition: padding .15s; }
.mega-cta { background: var(--sage-lt); border-radius: var(--r); padding: 22px; align-self: start; }
.mega-cta p { margin: 0 0 14px; font-size: 14px; }
.mega-cta .mega-cta-t { font: 600 1.35rem/1.2 var(--serif); color: var(--ink); margin-bottom: 8px; }
.mega-all { display: block; margin-top: 14px; font-size: 14px; font-weight: 600; text-decoration: none; }

/* Hero */
.hero { background: linear-gradient(90deg, rgba(14, 12, 11, .86) 0%, rgba(14, 12, 11, .7) 55%, rgba(14, 12, 11, .45) 100%), var(--hero, none) center / cover no-repeat, var(--ink); padding: 88px 0 96px; color: #e9e1d8; }
[dir="rtl"] .hero { background: linear-gradient(270deg, rgba(14, 12, 11, .86) 0%, rgba(14, 12, 11, .7) 55%, rgba(14, 12, 11, .45) 100%), var(--hero, none) center / cover no-repeat, var(--ink); }
.hero h1, .hero .hero-points li { color: var(--white); }
.hero .lead { color: #e9e1d8; }
.hero .eyebrow { color: var(--gold-lt); }
.hero { min-height: min(78vh, 720px); display: grid; align-items: center; }
.hero-copy { max-width: 680px; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 60ch; }
.hero-points { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: center; font-weight: 500; color: var(--ink); }
.hero-points li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--grad) ; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10'/%3E%3C/svg%3E"); box-shadow: inset 0 0 0 5px #2a2522; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-card, .side-card { background: var(--sage-lt); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.card-t { font: 600 1.6rem/1.2 var(--serif); color: var(--ink); margin: 0 0 6px; }
.card-s { margin: 0 0 18px; font-size: 14.5px; color: var(--muted); }

/* Booking section */
.book { background: var(--sage-lt); padding: 88px 0; }
.book-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.book-list { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; }
.book-list li { padding-inline-start: 28px; position: relative; color: var(--ink); font-weight: 500; }
.book-list li::before { content: "\2713"; position: absolute; inset-inline-start: 0; color: var(--gold); font-weight: 700; }
.book-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.book-contact a { display: grid; gap: 2px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; text-decoration: none; }
.book-contact span { font-size: 13px; color: var(--muted); }
.book-contact strong { color: var(--ink); font-size: 1.05rem; }
.book-areas { font-size: 14px; color: var(--muted); margin: 0; }
.book .book-form { background: var(--cream); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.side-wa { margin-top: 10px; }

/* Form */
.book-form { display: grid; gap: 14px; }
.book-form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.book-form input, .book-form select { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; font: 400 16px var(--sans); background: var(--white); color: var(--ink); }
.book-form input:focus, .book-form select:focus { outline: 2px solid var(--gold-lt); border-color: var(--gold); }
.form-note { font-size: 12.5px; color: var(--muted); margin: 0; text-align: center; }

/* Trust strip */
.trust { background: var(--sage-dk); color: #e3ece6; }
.trust-in { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.trust-in div { padding: 26px 12px; border-inline-start: 1px solid rgba(255, 255, 255, .14); }
.trust-in div:first-child { border: 0; }
.trust strong { display: block; font: 600 2rem/1.1 var(--serif); color: #f3e3c6; }
.trust span { font-size: 14px; }

/* Sections */
.section { padding: 88px 0; }
.section-cream { background: var(--cream); }
.section-sage { background: var(--sage-lt); }
.section-dark { background: var(--sage-dk); color: #e3ece6; }
.section-dark h2 { color: var(--white); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--white); isolation: isolate; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); z-index: -2; }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 12, 11, 0) 35%, rgba(14, 12, 11, .82) 100%); transition: background .4s; }
.card:hover img { transform: scale(1.08); }
.card:hover::after { background: linear-gradient(180deg, rgba(14, 12, 11, .15) 0%, rgba(14, 12, 11, .9) 100%); }
.card-body { position: absolute; inset: auto 0 0; display: grid; gap: 6px; padding: 26px; }
.card .card-t { color: var(--white); font-size: 1.6rem; margin: 0; }
.card-d { font-size: 14.5px; color: #e9e1d8; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s, opacity .35s; }
.card:hover .card-d, .card:focus-visible .card-d { max-height: 120px; opacity: 1; }
.card-more { color: var(--gold-lt); font-weight: 600; font-size: 14px; }
@media (hover: none) { .card-d { max-height: none; opacity: 1; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.why li { background: var(--sage-lt); border-radius: var(--r); padding: 20px 22px; border-inline-start: 3px solid var(--sage); }
.why strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 4px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { counter-increment: s; position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--r); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: var(--white); font: 600 1.2rem var(--serif); margin-bottom: 16px; }
.steps strong { display: block; color: var(--ink); font-size: 1.15rem; margin-bottom: 6px; }
.docs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.doc { text-align: center; }
.doc img, .doc-ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); margin-bottom: 16px; background: #3f5446; }
.doc-ph { display: grid; place-items: center; font: 600 4rem var(--serif); color: var(--mint); }
.doc p { margin: 0; }
.doc-n { color: var(--white); font: 600 1.35rem var(--serif); }
.doc-r { color: #dcebe4; font-size: 14.5px; }
.doc-l { font-size: 13px; opacity: .7; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--sage-dk); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 12px 0 0; }

/* Inner pages */
.page-hero { background: linear-gradient(90deg, rgba(14, 12, 11, .9) 0%, rgba(14, 12, 11, .72) 60%, rgba(14, 12, 11, .5) 100%), var(--hero, none) center / cover no-repeat, var(--ink); color: #d9cfc4; padding: 64px 0 72px; }
[dir="rtl"] .page-hero { background: linear-gradient(270deg, rgba(14, 12, 11, .9) 0%, rgba(14, 12, 11, .72) 60%, rgba(14, 12, 11, .5) 100%), var(--hero, none) center / cover no-repeat, var(--ink); }
.page-hero h1 { color: var(--white); max-width: 22ch; }
.page-hero .lead { color: #d9cfc4; }
.crumbs { font-size: 13.5px; margin-bottom: 18px; }
.crumbs a { color: var(--gold-lt); text-decoration: none; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; padding: 64px 0 88px; align-items: start; }
.side { position: sticky; top: 108px; display: grid; gap: 20px; }
.side-trust p { margin: 0 0 6px; }
.toc { padding: 22px 24px; }
.toc-h { font: 600 12px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--sage-dk); margin: 0 0 10px; }
.toc ol { margin: 0; padding-inline-start: 1.2em; display: grid; gap: 6px; font-size: 14px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--gold-dk); }
.toc li::marker { color: var(--gold); }
.prose { font-size: 17px; max-width: 74ch; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; font-size: 1.3rem; }
.prose img { border-radius: 18px; margin: 28px 0; width: 100%; height: auto; max-height: 520px; object-fit: contain; background: var(--cream); box-shadow: var(--shadow); }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--gold); }
.prose .faq { margin: 8px 0 28px; }
.prose .faq summary { font-family: var(--sans); }

/* Treatment page panels */
.prose { max-width: none; }
.ps-intro > p:first-child { font-size: 1.2rem; line-height: 1.6; color: var(--ink); }
.ps { margin-top: 28px; padding: 36px; border-radius: 22px; background: var(--sage-lt); border: 1px solid var(--line); }
.ps:nth-of-type(odd) { background: var(--cream); border-color: var(--line); }
.ps > h2 { margin-top: 0; position: relative; padding-bottom: 14px; }
.ps > h2::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 56px; height: 3px; border-radius: 3px; background: var(--grad); }
.ps > p:last-child { margin-bottom: 0; }
.benefits { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 20px 0; }
.benefits li { margin: 0; background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 16px 52px; position: relative; font-size: 15.5px; transition: transform .25s, box-shadow .25s; }
[dir="rtl"] .benefits li { padding: 16px 52px 16px 18px; }
.benefits li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.benefits li::before { content: "\2713"; position: absolute; inset-inline-start: 16px; top: 15px; width: 24px; height: 24px; border-radius: 50%; background: var(--sage-dk); color: var(--white); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.timeline { list-style: none; counter-reset: tl; padding: 0 !important; margin: 24px 0; position: relative; }
.timeline::before { content: ""; position: absolute; inset-inline-start: 21px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { counter-increment: tl; position: relative; padding-inline-start: 64px; margin-bottom: 22px; min-height: 44px; }
.timeline li::before { content: counter(tl); position: absolute; inset-inline-start: 0; top: -4px; width: 44px; height: 44px; border-radius: 50%; background: var(--sage-dk); color: var(--white); display: grid; place-items: center; font: 600 1.15rem var(--serif); box-shadow: 0 0 0 6px var(--sage-lt); }
.ps:nth-of-type(odd) .timeline li::before { box-shadow: 0 0 0 6px var(--cream); }
.ps-why { background: var(--sage-dk) !important; color: #e3ece6; }
.ps-why h2, .ps-why strong { color: var(--white); }
.ps-why a { color: #ecdcc2; }
.ps-why .benefits li { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); }
.ps-why .benefits li::before { background: var(--mint); color: var(--sage-dk); }
.ps-faq { background: var(--sage-lt) !important; border-color: var(--line) !important; }
.page-cta { margin-top: 28px; padding: 32px; border-radius: 22px; background: var(--grad); color: var(--white); box-shadow: 0 24px 50px -24px rgba(138, 98, 56, .8); }
.page-cta p { margin: 0 0 18px; font-size: 1.12rem; color: var(--white); }
.page-cta a:not(.btn) { color: var(--white); }
.page-cta strong { color: var(--white); }
.page-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.page-cta .btn-gold { background: var(--ink); box-shadow: none; }
.page-cta .btn-line-dark { border-color: var(--white); color: var(--white); }

/* Google reviews */
.reviews { background: var(--cream); }
.rv-score { display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 0; color: var(--muted); }
.rv-score strong { font: 600 2rem var(--serif); color: var(--ink); }
.rv-stars { display: inline-flex; color: #f5b301; }
.rv-wrap { position: relative; }
.rv-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 18px; scrollbar-width: none; }
.rv-track::-webkit-scrollbar { display: none; }
.rv-card { scroll-snap-align: start; margin: 0; background: var(--sage-lt); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 14px; transition: transform .25s, box-shadow .25s; }
.rv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.rv-card blockquote { margin: 0; flex: 1; font-size: 15px; color: var(--ink-2); }
.rv-card figcaption { display: flex; align-items: center; gap: 10px; }
.rv-card figcaption img { border-radius: 50%; }
.rv-card figcaption span { display: grid; }
.rv-card small { color: var(--muted); font-size: 12.5px; }
.rv-nav { position: absolute; top: 45%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--sage-lt); box-shadow: var(--shadow); font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink); }
.rv-prev { inset-inline-start: -22px; }
.rv-next { inset-inline-end: -22px; }
[dir="rtl"] .rv-prev, [dir="rtl"] .rv-next { transform: scaleX(-1); }
.rv-links { text-align: center; margin: 22px 0 0; }
@media (max-width: 1100px) { .rv-track { grid-auto-columns: calc((100% - 24px) / 2); } .rv-nav { display: none; } }
@media (max-width: 720px) { .rv-track { grid-auto-columns: 85%; } }

/* Contact map */
.map-sec { padding: 72px 0 88px; background: var(--sage-lt); }
.map-sec + .book { background: var(--cream); }
.map-sec + .book .book-form, .map-sec + .book .book-contact a { background: var(--sage-lt); }
.map-sec + .book .book-form input, .map-sec + .book .book-form select { background: var(--white); }
.map-box { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); aspect-ratio: 16 / 7; background: var(--cream); }
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-btns { text-align: center; margin: 24px 0 0; }
@media (max-width: 720px) { .map-box { aspect-ratio: 4 / 5; } .map-sec { padding-bottom: 60px; } }

/* CTA band + footer */
.cta-band { background: var(--grad); color: var(--white); padding: 56px 0; }
.cta-band-in { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { margin: 0; max-width: 56ch; }
.cta-band-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-gold { background: var(--ink); box-shadow: none; }
.site-footer { background: var(--sage-lt); color: var(--ink-2); border-top: 1px solid #d6e2da; padding: 64px 0 0; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { background: transparent; border-radius: 0; padding: 0; width: 160px; margin-bottom: 16px; }
.footer-h { color: var(--ink); font-weight: 600; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink-2); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--gold-dk); }
.social { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 0; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cream); color: var(--c); transition: transform .25s, background .25s, color .25s; }
.social a:hover { transform: translateY(-3px); background: var(--grad); color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid #d6e2da; margin-top: 48px; padding: 20px 0; font-size: 13px; }
.mobile-bar { display: none; }

/* ≤1100px: drawer navigation */
@media (max-width: 1100px) {
	.burger { display: grid; gap: 5px; width: 46px; height: 46px; place-content: center; background: none; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
	.burger span { width: 20px; height: 2px; background: var(--ink); transition: .2s; }
	.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.nav-open .burger span:nth-child(2) { opacity: 0; }
	.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.header-lang { margin-inline-start: auto; }
	.site-header { backdrop-filter: none; background: var(--sage-lt); }
	.nav { position: fixed; inset: 0; z-index: 100; background: var(--cream); overflow-y: auto; overscroll-behavior: contain; padding: 0 16px 120px; margin: 0; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: .2s; }
	.nav-head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 2; background: var(--cream); padding: 14px 0; border-bottom: 1px solid var(--line); }
	.nav-close { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: var(--cream); color: var(--ink); cursor: pointer; }
	.nav-lock, .nav-lock body { overflow: hidden; height: 100%; }
	.nav-open .mobile-bar { display: none; }
	.nav-open .nav { visibility: visible; opacity: 1; transform: none; }
	.nav-open { overflow: hidden; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-list > li { border-bottom: 1px solid var(--line); }
	.nav-list > li > a, .mega-toggle { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 17px; }
	.nav-lang { display: block; }
	.mega { position: static; box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none; display: none; }
	.has-mega:hover .mega { display: none; }
	.mega-toggle[aria-expanded="true"] + .mega { display: block; }
	.mega-in { grid-template-columns: 1fr 1fr !important; gap: 20px; padding: 4px 0 20px; width: 100%; }
	.mega-cta { grid-column: 1 / -1; }
	.split, .book-in { grid-template-columns: 1fr; gap: 36px; }
	.cards { grid-template-columns: 1fr 1fr; }
	.docs { grid-template-columns: 1fr 1fr; }
	.page-grid { grid-template-columns: 1fr; }
	.side { position: static; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ≤720px: phone */
@media (max-width: 720px) {
	body { font-size: 15.5px; padding-bottom: 72px; }
	.topbar-loc { display: none; }
	.topbar-in { justify-content: center; }
	.header-in { min-height: 70px; gap: 12px; }
	.logo img { width: 104px; }
	.header-cta { display: none; }
	.header-lang { min-height: 46px; padding: 0 12px; }
	.mega-in { grid-template-columns: 1fr !important; }
	.hero { padding: 36px 0 44px; }
	.hero-btns .btn { flex: 1 1 100%; }
	.hero-card, .side-card { padding: 22px; }
	.trust-in { grid-template-columns: 1fr 1fr; }
	.trust-in div:nth-child(3) { border: 0; }
	.trust-in div { padding: 18px 8px; }
	.section { padding: 60px 0; }
	.cards, .steps { grid-template-columns: 1fr; }
	.docs { gap: 16px; }
	.page-hero { padding: 32px 0 40px; }
	.page-grid { padding: 40px 0 56px; gap: 36px; }
	.prose { font-size: 16px; }
	.ps, .page-cta { padding: 22px; }
	.benefits { grid-template-columns: 1fr; }
	.page-cta-btns .btn { flex: 1 1 100%; }
	.cta-band-in { flex-direction: column; align-items: stretch; text-align: center; }
	.cta-band-btns .btn { flex: 1; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.form-row, .book-contact { grid-template-columns: 1fr; }
	.book { padding: 60px 0; }
	.book .book-form { padding: 22px; }
	.hero, [dir="rtl"] .hero { min-height: 0; padding: 64px 0 72px; background: linear-gradient(rgba(14, 12, 11, .8), rgba(14, 12, 11, .8)), var(--hero, none) center / cover no-repeat, var(--ink); }
	.mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); position: fixed; inset-inline: 0; bottom: 0; z-index: 60; background: var(--sage-dk); border-top: 0; box-shadow: 0 -6px 18px -10px rgba(0, 0, 0, .35); }
	.mobile-bar a, .mobile-bar button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 0 2px; color: #e3ece6; text-decoration: none; font: 500 11.5px/1.2 var(--sans); background: none; border: 0; cursor: pointer; }
	.mobile-bar a > svg { color: var(--gold-lt); }
	.mobile-bar a:active > svg { color: var(--white); }
	.mobile-bar .mb-wa i { display: grid; place-items: center; width: 56px; height: 56px; margin-top: -30px; border-radius: 50%; background: #25d366; color: var(--white); border: 4px solid var(--sage-dk); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45); }
	.mobile-bar .mb-wa svg { width: 28px; height: 28px; }
	.mobile-bar .mb-wa span { color: var(--white); font-weight: 600; }
}

/* Animations */
@keyframes ld-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes ld-zoom { from { background-size: 112%; } to { background-size: 100%; } }
.hero-copy > * { animation: ld-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .1s; }
.hero-copy > :nth-child(3) { animation-delay: .2s; }
.hero-copy > :nth-child(4) { animation-delay: .3s; }
.hero-copy > :nth-child(5) { animation-delay: .4s; }
/* Eyebrow, headline and intro are the largest content on load (LCP): slide only, never start invisible. */
@keyframes ld-slide { from { transform: translateY(14px); } to { transform: none; } }
.hero-copy > :nth-child(-n+3) { animation-name: ld-slide; }
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.btn-gold { background-size: 200% 100%; background-image: linear-gradient(110deg, #c9a271 0%, #a9804f 40%, #e2c79f 50%, #a9804f 60%, #8a6238 100%); background-position: 100% 0; transition: background-position .6s, transform .15s, box-shadow .15s; }
.btn-gold:hover { background-position: 0 0; }
.doc img { transition: transform .5s; }
.doc:hover img { transform: translateY(-6px); }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* Reviews widget: hide the "Verified by Trustindex" badge. */
.ti-widget [class*="ti-verified"], .ti-widget .ti-verified-by-row, .ti-widget .ti-verified-by { display: none !important; }

/* Hero photos: full size on desktop, the phone copy (img/live/m/) up to 760px (same breakpoint as the preload in functions.php). */
.hero, .page-hero { --hero: var(--hero-d); }
@media (max-width: 760px) { .hero, .page-hero { --hero: var(--hero-m, var(--hero-d)); } }

/* Pages kept from the old Elementor site: their first section had a top margin for the old overlay header. */
.ld-el > .elementor > .elementor-section:first-child, .ld-el > .elementor > .e-con:first-child { margin-top: 0; }

/* Blog: article cards, empty state, pagination */
.page-hero .eyebrow { color: var(--gold-lt); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -20px rgba(20, 18, 16, .32); }
.post-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sage-lt); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.post-card:hover .post-img img { transform: scale(1.05); }
.post-body { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px 26px; flex: 1; }
.post-meta { margin: 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.post-t { margin: 0; font: 600 1.5rem/1.25 var(--serif); }
.post-t a { color: var(--ink); text-decoration: none; }
.post-t a:hover { color: var(--gold-dk); }
.post-x { margin: 0; color: var(--ink-2); font-size: 15px; }
.post-more { margin-top: auto; font-weight: 600; font-size: 14.5px; color: var(--gold-dk); text-decoration: none; }
.posts-nav { margin-top: 44px; text-align: center; }
.posts-nav .nav-links { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.posts-nav .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; background: var(--white); }
.posts-nav .page-numbers.current { background: var(--sage-dk); border-color: var(--sage-dk); color: var(--white); }
.blog-empty { max-width: 820px; margin: 0 auto; text-align: center; background: var(--sage-lt); border: 1px solid var(--line); border-radius: 22px; padding: 48px 40px; }
.blog-empty h2 { margin: 0 0 12px; }
.blog-empty > p:not(.eyebrow) { color: var(--ink-2); max-width: 60ch; margin: 0 auto 24px; }
.chips { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips a { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink); font-size: 14.5px; font-weight: 500; text-decoration: none; transition: border-color .15s, color .15s; }
.chips a:hover { border-color: var(--gold); color: var(--gold-dk); }
.blog-empty-btns { justify-content: center; }
.side-back a { font-weight: 600; color: var(--gold-dk); text-decoration: none; }
@media (max-width: 1100px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .posts { grid-template-columns: 1fr; } .blog-empty { padding: 36px 22px; } }

/* Landing page (La Derma) template: slim top bar, hero with the form, short footer */
.lp-top { position: sticky; top: 0; z-index: 30; background: var(--sage-lt); border-bottom: 1px solid var(--line); }
.lp-top-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 76px; }
.lp-top .logo img { display: block; height: auto; }
.lp-top-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.lp-hero { padding: 64px 0 72px; }
.lp-hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.lp-hero .hero-copy { max-width: none; }
.lp-hero .hero-points li { color: var(--white); }
.lp-form { background: var(--cream); color: var(--ink); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.lp-form .card-t { margin-bottom: 14px; }
.lp-form .wpforms-container { margin: 0 !important; }
.lp-form input:not([type=checkbox]):not([type=radio]):not([type=submit]), .lp-form select, .lp-form textarea { width: 100% !important; max-width: none !important; min-height: 48px; padding: 0 14px; border: 1px solid var(--line) !important; border-radius: 10px !important; font: 400 16px var(--sans) !important; background: var(--white) !important; }
.lp-form textarea { min-height: 96px; padding-top: 10px; }
.lp-form button[type=submit], .lp-form .wpforms-submit { width: 100%; min-height: 50px; border: 0 !important; border-radius: 999px !important; background: var(--grad) !important; color: var(--white) !important; font: 600 16px var(--sans) !important; cursor: pointer; }
.lp-cards { grid-template-columns: repeat(4, 1fr); }
.lp-cards .card { aspect-ratio: 4 / 5; }
.lp-why { max-width: 820px; }
.lp-why ul { padding-left: 1.2em; }
.lp-foot { padding: 28px 0 96px; text-align: center; font-size: 14px; color: var(--muted); background: var(--cream); }
.lp-foot a { color: var(--gold-dk); }
@media (max-width: 1100px) { .lp-hero-in { grid-template-columns: 1fr; } .lp-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .lp-top-btns .btn-line-dark { display: none; } .lp-cards { grid-template-columns: 1fr 1fr; gap: 12px; } .lp-cards .card-body { padding: 14px; } .lp-cards .card .card-t { font-size: 1.1rem; } }

/* Pages moved off Elementor: doctor portrait and video */
.prose .doc-photo { display: block; width: min(320px, 100%); height: auto; border-radius: 18px; box-shadow: var(--shadow); }
.prose video { display: block; width: 100%; max-width: 720px; border-radius: 16px; background: var(--ink); }
