/*
Theme Name: Cardio Tanger
Theme URI: https://cardiologue-tanger.com/
Author: MisahaTech
Description: Thème one-page bilingue (français / arabe) pour cabinet de cardiologie, avec prise de rendez-vous en ligne, agenda et gestion des rendez-vous dans l'administration WordPress.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cardio-tanger
Tags: one-column, rtl-language-support, custom-logo, medical
*/

/* ---------- Tokens ---------- */
:root {
	--navy: #0f2a47;
	--navy-2: #17406a;
	--navy-3: #0a1f36;
	--red: #d0233f;
	--red-dark: #a91a32;
	--red-soft: #fdeef0;
	--blue-soft: #eaf2fb;
	--bg: #f6f8fb;
	--surface: #ffffff;
	--text: #13233a;
	--muted: #5a6a7f;
	--line: #e2e8f0;
	--green: #138a4a;
	--green-soft: #e3f6ea;
	--amber: #b26b00;
	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 24px;
	--shadow-sm: 0 1px 2px rgba(15, 42, 71, .06), 0 2px 8px rgba(15, 42, 71, .05);
	--shadow: 0 10px 30px -10px rgba(15, 42, 71, .18), 0 2px 6px rgba(15, 42, 71, .05);
	--shadow-lg: 0 30px 60px -20px rgba(15, 42, 71, .28);
	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--container: 1180px;
	--header-h: 76px;
}
.lang-ar { --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
@supports not (overflow: clip) { body { overflow-x: hidden; } }
.lang-ar body, body.lang-ar { line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.02em; }
.lang-ar h1, .lang-ar h2, .lang-ar h3 { letter-spacing: 0; line-height: 1.4; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid rgba(208, 35, 63, .45); outline-offset: 2px; border-radius: 6px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.container--narrow { max-width: 820px; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; transform: translateY(-100%); z-index: 999; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; transform: none; color: #fff; }
.ct-icon { width: 1.2em; height: 1.2em; flex-shrink: 0; }
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
	--b: var(--navy);
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .8em 1.35em; border-radius: 999px; border: 1.5px solid transparent;
	font: inherit; font-weight: 700; font-size: .96rem; line-height: 1.2; cursor: pointer;
	transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px -8px rgba(208, 35, 63, .65); }
.btn--primary:hover { background: var(--red-dark); color: #fff; }
.btn--ghost { background: var(--surface); color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--wa { background: var(--green); color: #fff; }
.btn--wa:hover { background: #0f733d; color: #fff; }
.btn--sm { padding: .6em 1.1em; font-size: .9rem; }
.btn--lg { padding: 1em 1.6em; font-size: 1.02rem; }
.btn--block { width: 100%; white-space: normal; text-align: center; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.eyebrow {
	display: inline-flex; align-items: center; gap: .5em;
	font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	color: var(--red); margin-bottom: 14px;
}
.lang-ar .eyebrow { letter-spacing: 0; font-size: .9rem; }
.eyebrow .ct-icon { width: 1.1em; height: 1.1em; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-3); color: #c9d6e6; font-size: .84rem; }
.topbar__inner { display: flex; align-items: center; gap: 24px; min-height: 40px; }
.topbar__inner > * { display: inline-flex; align-items: center; gap: 8px; }
.topbar__addr { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: block !important; }
.topbar__addr .ct-icon { vertical-align: -3px; margin-inline-end: 6px; }
.topbar__phone { color: #fff; font-weight: 600; }
.topbar__phone:hover { color: #ffc2cc; }
.topbar__status i { width: 8px; height: 8px; border-radius: 50%; background: #e05a6d; display: inline-block; }
.topbar__status.is-open i { background: #3ad07a; box-shadow: 0 0 0 4px rgba(58, 208, 122, .18); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .88);
	backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand__logo { max-height: 52px; width: auto; }
.brand__mark {
	width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
	background: linear-gradient(140deg, var(--red), #e8506a); color: #fff;
	box-shadow: 0 8px 18px -8px rgba(208, 35, 63, .8);
}
.brand__mark .ct-icon { width: 26px; height: 26px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; white-space: nowrap; }
.brand__text strong { font-size: 1.08rem; font-weight: 800; }
.brand__text small { font-size: .78rem; color: var(--muted); font-weight: 500; }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light .brand__text small { color: #9fb2c8; }

.main-nav { margin-inline-start: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a { display: block; white-space: nowrap; padding: 8px 11px; border-radius: 10px; color: var(--text); font-weight: 600; font-size: .94rem; }
.main-nav a:hover, .main-nav a.is-active { color: var(--red); background: var(--red-soft); }
.main-nav__mobile-extra { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.main-nav + .site-header__actions { margin-inline-start: 0; }
.lang-switch {
	display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px;
	border: 1.5px solid var(--line); color: var(--navy); font-weight: 700; font-size: .9rem; background: var(--surface);
}
.lang-switch:hover { border-color: var(--navy); color: var(--navy); }
.lang-switch[lang="ar"] span { font-family: "IBM Plex Sans Arabic", sans-serif; }
.lang-switch[lang="fr"] span { font-family: "Plus Jakarta Sans", sans-serif; }
.nav-toggle {
	display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line);
	background: var(--surface); color: var(--navy); cursor: pointer; place-items: center;
}
.nav-toggle .ct-icon { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; background:
	radial-gradient(900px 500px at 85% 10%, rgba(208, 35, 63, .09), transparent 60%),
	radial-gradient(700px 500px at 5% 90%, rgba(23, 64, 106, .09), transparent 60%),
	linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
[dir="rtl"] .hero { background:
	radial-gradient(900px 500px at 15% 10%, rgba(208, 35, 63, .09), transparent 60%),
	radial-gradient(700px 500px at 95% 90%, rgba(23, 64, 106, .09), transparent 60%),
	linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.hero__bg { position: absolute; inset: auto 0 40px; height: 120px; pointer-events: none; opacity: .5; }
.hero__ecg { width: 100%; height: 100%; }
.hero__ecg path { fill: none; stroke: rgba(208, 35, 63, .25); stroke-width: 2; stroke-dasharray: 1800; stroke-dashoffset: 1800; animation: ecg 4.5s ease-in-out infinite; }
@keyframes ecg { 0% { stroke-dashoffset: 1800; } 60%, 100% { stroke-dashoffset: 0; } }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--red); display: block; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 560px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 36px; }
.hero__badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__badges li {
	display: flex; flex-direction: column; padding: 12px 18px; border-radius: var(--radius);
	background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-width: 130px;
}
.hero__badges strong { display: inline-flex; align-items: center; gap: 6px; font-size: 1.25rem; color: var(--navy); font-weight: 800; }
.hero__badges strong .ct-icon { width: 18px; height: 18px; color: var(--red); }
.hero__badges strong .is-star { color: #f4b400; }
.hero__badges span { font-size: .82rem; color: var(--muted); }

.hero__visual { position: relative; padding: 24px 24px 40px; }
.hero__photo {
	position: relative; aspect-ratio: 4 / 5; border-radius: 32px; overflow: hidden;
	background: linear-gradient(150deg, var(--navy-2), var(--navy) 60%, var(--navy-3));
	box-shadow: var(--shadow-lg); max-width: 460px; margin-inline: auto;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); pointer-events: none; }
.hero__illus { position: absolute; inset: 0; display: grid; place-items: center; }
.hero__heart { width: 58%; fill: rgba(208, 35, 63, .92); filter: drop-shadow(0 20px 40px rgba(208, 35, 63, .45)); animation: beat 1.6s ease-in-out infinite; transform-origin: center; }
@keyframes beat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.07); } 28% { transform: scale(1); } 42% { transform: scale(1.05); } 70% { transform: scale(1); } }
.hero__line { position: absolute; width: 90%; inset-inline-start: 5%; top: 50%; transform: translateY(-50%); }
.hero__line path { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: ecg2 3s linear infinite; }
@keyframes ecg2 { to { stroke-dashoffset: -420; } }
.float-card {
	position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px;
	background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line);
	max-width: 290px; animation: float 6s ease-in-out infinite;
}
.float-card small { display: block; color: var(--muted); font-size: .78rem; }
.float-card strong { color: var(--navy); font-size: .95rem; }
.float-card__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--navy-2); flex-shrink: 0; }
.float-card__icon--red { background: var(--red-soft); color: var(--red); }
.float-card--slot { inset-inline-start: -6px; bottom: 6px; cursor: pointer; }
.float-card--slot:hover { border-color: var(--red); }
.float-card--pulse { inset-inline-end: -4px; top: 46px; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head--start { text-align: start; margin: 0; }
.section-head--light h2 { color: #fff; }
.section-head--light .eyebrow { color: #ff9aab; }

/* About */
.about { background: var(--surface); }
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about__media { position: relative; }
.about__frame { aspect-ratio: 5 / 6; border-radius: 28px; overflow: hidden; background: linear-gradient(160deg, var(--blue-soft), #dbe7f5); }
.about__frame img { width: 100%; height: 100%; object-fit: cover; }
.about__placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--navy-2); }
.about__placeholder .ct-icon { width: 38%; height: 38%; opacity: .5; stroke-width: 1.2; }
.about__stat {
	position: absolute; inset-inline-end: -18px; bottom: 32px; padding: 20px 24px; border-radius: 20px;
	background: var(--red); color: #fff; box-shadow: 0 20px 40px -15px rgba(208, 35, 63, .7); text-align: center;
}
.about__stat strong { display: block; font-size: 2.3rem; line-height: 1; font-weight: 800; }
.about__stat span { font-size: .85rem; opacity: .9; }
.about__content > p { color: var(--muted); font-size: 1.04rem; }
.checklist { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--navy); }
.checklist .ct-icon { color: var(--red); width: 22px; height: 22px; margin-top: 2px; }
.checklist--sm li { font-weight: 500; color: var(--text); font-size: .96rem; }
.checklist--sm .ct-icon { width: 18px; height: 18px; color: var(--green); }
.langs { display: inline-flex; gap: 10px; align-items: center; padding: 12px 18px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); color: var(--muted); }
.langs .ct-icon { color: var(--navy-2); }
.langs strong { color: var(--navy); }

/* Services */
.services__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.service {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); margin-bottom: 20px; transition: background .2s, color .2s; }
.service:hover .service__icon { background: var(--red); color: #fff; }
.service__icon .ct-icon { width: 26px; height: 26px; }
.service p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Steps */
.steps { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-3) 100%); color: #c9d6e6; position: relative; overflow: hidden; }
.steps::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(208, 35, 63, .25), transparent 70%); inset-inline-end: -160px; top: -200px; }
.steps__list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; padding: 32px 28px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.step__num { position: absolute; inset-inline-end: 24px; top: 18px; font-size: 3.4rem; font-weight: 800; line-height: 1; color: rgba(255, 255, 255, .08); }
.step__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(208, 35, 63, .18); color: #ff8fa2; margin-bottom: 20px; }
.step__icon .ct-icon { width: 26px; height: 26px; }
.step h3 { color: #fff; }
.step p { margin: 0; font-size: .95rem; }

/* ---------- Booking ---------- */
.booking-section { background: var(--bg); }
.booking-wrap { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 48px; align-items: start; }
.booking-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.booking-aside > p { color: var(--muted); }
.booking-aside__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 24px 0 16px; }
.booking-aside__card h3 { display: flex; align-items: center; gap: 8px; font-size: 1rem; }
.booking-aside__card h3 .ct-icon { color: var(--red); }
.booking-aside__call { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 14px 20px; border-radius: var(--radius); background: var(--blue-soft); }
.booking-aside__call span { color: var(--muted); font-size: .92rem; }
.booking-aside__call a { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--navy); }
.urgent { display: flex; gap: 12px; margin-top: 16px; padding: 14px 18px; border-radius: var(--radius); background: var(--red-soft); color: #7d1426; font-size: .88rem; line-height: 1.55; }
.urgent .ct-icon { color: var(--red); width: 22px; height: 22px; margin-top: 1px; }
.urgent a { color: var(--red-dark); font-weight: 800; text-decoration: underline; }

.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.hours li:last-child { border-bottom: 0; }
.hours li > span:last-child { text-align: end; font-weight: 600; color: var(--navy); }
.hours li.is-closed > span:last-child { color: var(--muted); font-weight: 500; }
.hours li.is-today { color: var(--red); font-weight: 700; }
.hours li.is-today > span:last-child { color: var(--red); }

.booking-card { background: var(--surface); border-radius: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); padding: 36px; min-width: 0; }
.booking { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
.booking__step { border: 0; padding: 0; margin: 0; min-width: 0; }
.booking__step legend { display: flex; align-items: center; gap: 12px; padding: 0; font-weight: 800; font-size: 1.08rem; color: var(--navy); margin-bottom: 16px; }
.booking__n { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: .86rem; flex-shrink: 0; }
.booking__step.is-done .booking__n { background: var(--green); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input, .seg input, .slot input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; margin: 0; }
.chip, .seg label, .slot { position: relative; }
.chip span {
	display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line);
	font-weight: 600; font-size: .92rem; cursor: pointer; transition: all .15s; background: var(--surface); user-select: none;
}
.chip span:hover { border-color: var(--navy-2); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span, .seg input:focus-visible + span { outline: 3px solid rgba(208, 35, 63, .4); outline-offset: 2px; }

.days { display: flex; align-items: center; gap: 8px; }
.days__track { display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; padding: 4px 2px 10px; flex: 1; scrollbar-width: none; }
.days__track::-webkit-scrollbar { display: none; }
.days__nav { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--navy); cursor: pointer; display: grid; place-items: center; flex-shrink: 0; }
.days__nav:hover { border-color: var(--navy); }
.days__nav--prev .ct-icon { transform: rotate(90deg); }
.days__nav--next .ct-icon { transform: rotate(-90deg); }
[dir="rtl"] .days__nav--prev .ct-icon { transform: rotate(-90deg); }
[dir="rtl"] .days__nav--next .ct-icon { transform: rotate(90deg); }
.day {
	flex: 0 0 74px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 2px;
	padding: 12px 6px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer;
	font: inherit; color: var(--text); transition: all .15s;
}
.day small { font-size: .74rem; color: var(--muted); font-weight: 600; text-transform: capitalize; }
.day strong { font-size: 1.35rem; line-height: 1.1; color: var(--navy); font-weight: 800; }
.day:hover:not([disabled]) { border-color: var(--navy-2); }
.day.is-today small { color: var(--red); }
.day[aria-selected="true"] { background: var(--red); border-color: var(--red); box-shadow: 0 10px 20px -10px rgba(208, 35, 63, .8); }
.day[aria-selected="true"] small, .day[aria-selected="true"] strong { color: #fff; }
.day[disabled] { opacity: .4; cursor: not-allowed; background: var(--bg); }


.slots { margin-top: 18px; min-height: 60px; }
.slots__group + .slots__group { margin-top: 16px; }
.slots__label { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.lang-ar .slots__label { letter-spacing: 0; text-transform: none; font-size: .88rem; }
.slots__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot span {
	display: block; text-align: center; padding: 10px 4px; border-radius: 12px; border: 1.5px solid var(--line);
	font-weight: 700; font-size: .95rem; cursor: pointer; transition: all .15s; color: var(--navy); background: var(--surface); direction: ltr;
}
.slot span:hover { border-color: var(--red); color: var(--red); }
.slot input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.slot input:disabled + span { cursor: not-allowed; color: #a7b2c0; background: var(--bg); text-decoration: line-through; border-style: dashed; }
.slot input:disabled + span:hover { border-color: var(--line); }
.slot input:focus-visible + span { outline: 3px solid rgba(208, 35, 63, .4); outline-offset: 2px; }
.slots__empty, .slots__loading { padding: 18px; border-radius: 14px; background: var(--bg); color: var(--muted); text-align: center; font-size: .94rem; }
.slots__loading::before { content: ""; display: inline-block; width: 14px; height: 14px; border: 2px solid var(--line); border-top-color: var(--red); border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -2px; margin-inline-end: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-weight: 600; font-size: .9rem; color: var(--navy); }
.field em { font-style: normal; color: var(--muted); font-weight: 400; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea {
	width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line);
	background: var(--bg); color: var(--text); transition: border-color .15s, background .15s, box-shadow .15s;
}
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--navy-2); background: var(--surface); box-shadow: 0 0 0 4px rgba(23, 64, 106, .1); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--red); background: var(--red-soft); }
.field textarea { resize: vertical; min-height: 90px; }
.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--bg); border: 1.5px solid var(--line); gap: 4px; align-self: flex-start; }
.seg span { display: block; padding: 7px 18px; border-radius: 9px; font-weight: 600; cursor: pointer; font-size: .94rem; }
.seg input:checked + span { background: var(--surface); box-shadow: var(--shadow-sm); color: var(--navy); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--red); flex-shrink: 0; }
.consent.is-invalid span { color: var(--red); }

.booking__footer { display: grid; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.booking__summary { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--green-soft); color: var(--green); }
.booking__summary small { display: block; font-size: .78rem; color: #3b7a56; }
.booking__summary strong { color: #0b5c31; }
.booking__error { margin: 0; padding: 12px 16px; border-radius: 12px; background: var(--red-soft); color: var(--red-dark); font-weight: 600; font-size: .92rem; }

.booking-success { text-align: center; padding: 24px 8px; outline: 0; }
.booking-success__icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green); margin: 0 auto 20px; animation: pop .4s ease; }
.booking-success__icon .ct-icon { width: 38px; height: 38px; stroke-width: 2.5; }
@keyframes pop { 0% { transform: scale(.5); opacity: 0; } 80% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.booking-success p { color: var(--muted); max-width: 440px; margin-inline: auto; }
.booking-success__recap { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.booking-success__recap div { padding: 14px; border-radius: 14px; background: var(--bg); }
.booking-success__recap dt { font-size: .8rem; color: var(--muted); }
.booking-success__recap dd { margin: 0; font-weight: 800; color: var(--navy); }
.booking-success__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- Reviews ---------- */
.reviews { padding: 0 0 96px; background: var(--bg); }
.reviews__inner { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; padding: 44px 48px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.reviews__score { text-align: center; padding-inline-end: 48px; border-inline-end: 1px solid var(--line); }
.reviews__score > strong { display: block; font-size: 4rem; line-height: 1; font-weight: 800; color: var(--navy); }
.stars { display: flex; gap: 2px; justify-content: center; color: #f4b400; margin: 10px 0 6px; }
.stars .ct-icon { width: 22px; height: 22px; }
.reviews__score span { font-size: .86rem; color: var(--muted); }
.reviews__text h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.reviews__text p { color: var(--muted); }

/* ---------- Info ---------- */
.info { background: var(--surface); }
.info__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.info-card { padding: 30px 28px; border-radius: var(--radius-lg); background: var(--bg); border: 1px solid var(--line); }
.info-card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--surface); color: var(--red); box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.info-card p { color: var(--muted); font-size: .95rem; }
.info-card .mt { margin-top: 22px; }
.info-card__fee { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.info-card__fee strong { color: var(--navy); font-size: 1.15rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg); }
.faq__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 56px; align-items: start; }
.faq__grid .section-head .btn { margin-top: 10px; }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s; }
.faq__item[open] { box-shadow: var(--shadow-sm); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 700; color: var(--navy); cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ct-icon { color: var(--red); transition: transform .2s; }
.faq__item[open] summary .ct-icon { transform: rotate(180deg); }
.faq__item p { padding: 0 24px 20px; margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { background: var(--surface); }
.contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: stretch; }
.contact__list { list-style: none; padding: 0; margin: 10px 0 28px; display: grid; gap: 16px; }
.contact__list li { display: flex; gap: 16px; align-items: center; }
.contact__list small { display: block; color: var(--muted); font-size: .82rem; }
.contact__list strong, .contact__list a { font-weight: 700; color: var(--navy); font-size: 1.02rem; }
.contact__list a:hover { color: var(--red); }
.contact__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); flex-shrink: 0; }
.contact__icon--wa { background: var(--green-soft); color: var(--green); }
.contact__map { min-height: 380px; border-radius: 28px; overflow: hidden; background: var(--blue-soft); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.contact__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-3); color: #9fb2c8; padding-top: 72px; font-size: .94rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.site-footer__brand p { margin: 18px 0 22px; max-width: 320px; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__links--legal { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .08); }
.site-footer a { color: #c9d6e6; }
.site-footer a:hover { color: #fff; }
.site-footer .hours li { border-color: rgba(255, 255, 255, .08); font-size: .88rem; }
.site-footer .hours li > span:last-child { color: #fff; }
.site-footer .hours li.is-today, .site-footer .hours li.is-today > span:last-child { color: #ff9aab; }
.site-footer .hours li.is-closed > span:last-child { color: #6f8399; }
.site-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .ct-icon { color: #ff8fa2; margin-top: 3px; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .84rem; }
.site-footer__bottom p { margin: 0; }

/* WhatsApp float + mobile CTA */
.wa-float {
	position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 60; display: inline-flex; align-items: center; gap: 10px;
	height: 56px; padding: 0 20px 0 18px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 700;
	box-shadow: 0 14px 30px -10px rgba(19, 138, 74, .7); transition: transform .2s;
}
.wa-float:hover { color: #fff; transform: translateY(-2px); }
.wa-float .ct-icon { width: 24px; height: 24px; }
.mobile-cta { display: none; }

/* ---------- Pages ---------- */
.page { min-height: 50vh; }
.entry + .entry { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.entry__content { font-size: 1.04rem; }
.page--404 { text-align: center; }
.page__icon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 24px; background: var(--red-soft); color: var(--red); margin-bottom: 20px; }
.page__icon .ct-icon { width: 42px; height: 42px; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
	.hero__line path, .hero__ecg path { stroke-dashoffset: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1181px) and (max-width: 1340px) {
	.site-header__actions .hide-sm { display: none; }
}
@media (max-width: 1180px) {
	.nav-toggle { display: grid; }
	.main-nav {
		position: fixed; top: var(--nav-top, var(--header-h)); inset-inline: 0; bottom: 0;
		background: var(--surface); padding: 20px 20px 110px; border-top: 1px solid var(--line);
		overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
		transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s ease; overflow-y: auto; z-index: 40;
	}
	.nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
	.main-nav ul { flex-direction: column; gap: 2px; }
	.main-nav a { padding: 14px 16px; font-size: 1.08rem; border-radius: 12px; }
	.main-nav__mobile-extra { display: grid; gap: 10px; margin-top: 20px; }
}
@media (max-width: 960px) {
	:root { --header-h: 68px; }
	.topbar__addr { display: none !important; }
	.topbar__inner { justify-content: space-between; }
	.hero { padding: 48px 0 72px; }
	.hero__grid, .about__grid, .booking-wrap, .faq__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
	.hero__grid { gap: 32px; }
	.hero__visual { max-width: 460px; margin-inline: auto; width: 100%; }
	.about__grid { gap: 48px; }
	.about__media { max-width: 440px; margin-inline: auto; width: 100%; }
	.booking-aside { position: static; }
	.steps__list { grid-template-columns: 1fr; }
	.info__grid { grid-template-columns: 1fr; }
	.reviews__inner { grid-template-columns: 1fr; text-align: center; padding: 36px 24px; gap: 28px; }
	.reviews__score { padding: 0 0 28px; border: 0; border-bottom: 1px solid var(--line); }
	.faq__grid { gap: 28px; }
	.section { padding: 72px 0; }
	.reviews { padding-bottom: 72px; }
	.wa-float span { display: none; }
	.wa-float { width: 56px; padding: 0; justify-content: center; bottom: 86px; inset-inline-end: 16px; }
	.mobile-cta {
		display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; inset-inline: 0; bottom: 0; z-index: 55;
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96);
		backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(15, 42, 71, .08);
	}
	.mobile-cta .btn { padding: .85em 1em; }
	.site-footer { padding-bottom: 76px; }
}
@media (max-width: 640px) {
	.container { padding-inline: 16px; }
	.hide-sm { display: none; }
	.lang-switch .ct-icon { display: none; }
	.brand__mark { width: 40px; height: 40px; border-radius: 12px; }
	.brand__text strong { font-size: 1rem; }
	.hero__ctas .btn { flex: 1 1 100%; }
	.hero__badges li { flex: 1 1 calc(50% - 12px); min-width: 0; padding: 10px 14px; }
	.hero__visual { padding: 10px 6px 36px; }
	.float-card { padding: 10px 14px; max-width: 240px; }
	.float-card--pulse { top: 18px; inset-inline-end: -2px; }
	.float-card--slot { inset-inline-start: -2px; bottom: 6px; }
	.services__grid { grid-template-columns: 1fr; }
	.about__stat { inset-inline-end: 8px; bottom: 16px; padding: 14px 18px; }
	.booking-card { padding: 22px 18px; border-radius: 22px; }
	.form-grid { grid-template-columns: minmax(0, 1fr); }
	.days__nav { display: none; }
	.day { flex-basis: 66px; }
	.slots__grid { grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); }
	.booking-success__recap { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.topbar__status { font-size: .78rem; }
}
[dir="rtl"] .hero__badges strong[dir="ltr"] { justify-content: flex-end; }
.main-nav .main-nav__mobile-extra .btn { display: flex; padding: .85em 1.2em; font-size: 1rem; }
.main-nav .main-nav__mobile-extra .btn--primary { color: #fff; background: var(--red); }
.topbar__phone { white-space: nowrap; }
@media (max-width: 640px) {
	.topbar__status { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: block !important; }
	.topbar__status i { margin-inline-end: 6px; vertical-align: 1px; }
	.topbar__inner { gap: 12px; }
}
/* backdrop-filter would turn the header into the containing block of the fixed menu panel */
.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--surface); }
