/* =========================================================
   Dr. Duaa Taim — public site
   Palette & rhythm follow the reference design (mint / deep teal)
   ========================================================= */
:root {
  --mint: #DFF1EE;
  --mint-2: #EEF7F5;
  --mint-3: #F5FBFA;
  --ink: #0E3A40;
  --ink-2: #082A2F;
  --teal: #2BC0AC;
  --teal-2: #6FDCC9;
  --deep: #0F6E62;
  --text: #3B5658;
  --muted: #5F7C7E;
  --line: #CDE7E2;
  --white: #fff;
  --radius: 28px;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Outfit', system-ui, sans-serif;
  --shadow: 0 18px 40px -22px rgba(14, 58, 64, .35);
}
.lang-ar { --serif: 'El Messiri', 'Fraunces', serif; --sans: 'Tajawal', 'Outfit', system-ui, sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: clip; font-family: var(--sans); color: var(--text); background: var(--white); font-size: 1.05rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--deep); }
img { max-width: 100%; height: auto; }
h1, h2, h3, .display-xl, .display-lg, .display-md, .display-sm, .display-serif, .hero-title { font-family: var(--serif); color: var(--ink); font-weight: 700; letter-spacing: -.02em; }
.lang-ar h1, .lang-ar h2, .lang-ar h3, .lang-ar .display-lg, .lang-ar .hero-title { letter-spacing: 0; line-height: 1.35; }
.skip-link { position: absolute; inset-inline-start: 1rem; top: -60px; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 2000; }
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.container-xl { max-width: 1240px; }
.narrow { max-width: 820px; margin-inline: auto; }
.section { padding: 110px 0; }
.soft-band { background: var(--mint-2); }
.dark-band { background: var(--ink); }
.text-mint { color: var(--teal-2) !important; }
.text-deep { color: var(--deep); }
.text-white-75 { color: rgba(255,255,255,.78); }
.text-muted-teal { color: var(--muted); }

.eyebrow { font: 600 .82rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--deep); margin-bottom: 1rem; }
.lang-ar .eyebrow { letter-spacing: 0; font-size: .95rem; }
.display-xl { font-size: clamp(3rem, 7vw, 6.4rem); line-height: .98; }
.display-lg { font-size: clamp(2.2rem, 4.6vw, 4.1rem); line-height: 1.05; margin-bottom: 1.2rem; }
.display-md { font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1.12; }
.display-sm { font-size: 1.7rem; }
.display-serif { font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.05; }
.lead-text { font-size: 1.18rem; color: var(--text); max-width: 760px; }
.h-sub { font: 700 1.3rem var(--serif); color: var(--ink); margin-bottom: .8rem; }

/* ---------- Buttons ---------- */
.btn-pill { display: inline-flex; align-items: center; gap: .55rem; border-radius: 999px; padding: .9rem 1.8rem; font-weight: 500; border: 1.5px solid transparent; transition: transform .2s, background .2s, color .2s, box-shadow .2s; cursor: pointer; }
.btn-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-dark-teal { background: var(--ink); color: #fff; }
.btn-dark-teal:hover { background: var(--deep); color: #fff; }
.btn-teal { background: var(--teal); color: var(--ink-2); }
.btn-teal:hover { color: var(--ink-2); background: var(--teal-2); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-lg-pill { padding: 1.1rem 2.1rem; font-size: 1.1rem; }
.btn-sm-pill { padding: .55rem 1.1rem; font-size: .92rem; }
.arrow { display: inline-block; transition: transform .2s; }
.lang-ar .arrow { transform: scaleX(-1); }
.btn-pill:hover .arrow { transform: translateX(4px); }
.lang-ar .btn-pill:hover .arrow { transform: scaleX(-1) translateX(4px); }
.link-underline { color: var(--ink); font-weight: 500; border-bottom: 1.5px solid currentColor; padding-bottom: 3px; }

/* ---------- Header ---------- */
.site-header { background: var(--mint); position: sticky; top: 0; z-index: 1030; transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 24px -18px rgba(14,58,64,.6); }
.brand { display: inline-flex; align-items: center; gap: .35rem; flex-shrink: 0; }
/* Logo: fixed height whatever the uploaded size; multiply blends a white/grey logo background into the page colour */
.brand-logo { height: 52px !important; width: auto !important; max-width: 220px; object-fit: contain; mix-blend-mode: multiply; display: block; }
.card-logo { height: 42px !important; max-width: 180px; }
@media (max-width: 767px) { .brand-logo { height: 42px !important; max-width: 170px; } }
.brand-word { font: 700 1.7rem/1 var(--serif); color: var(--ink); letter-spacing: -.02em; }
.small-brand { font-size: 1.5rem; }
.brand-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--teal); margin-top: .7rem; }
.nav-links { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 500; }
.nav-links a.active, .nav-links a:hover { color: var(--deep); }
.has-sub { position: relative; }
.has-sub > a::after { content: ''; display: inline-block; margin-inline-start: .4rem; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(3px); }
.sub { list-style: none; position: absolute; top: 100%; inset-inline-start: -1rem; background: #fff; border-radius: 20px; padding: .8rem; min-width: 250px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.sub a { display: block; padding: .45rem .8rem; border-radius: 12px; font-weight: 400; }
.sub a:hover { background: var(--mint-2); }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.lang-switch { font-weight: 600; color: var(--deep); }
.nav-toggle { background: none; border: 0; width: 42px; height: 42px; display: grid; place-content: center; gap: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); display: block; transition: .2s; }
@media (max-width: 991.98px) {
  .nav-links { position: absolute; top: 100%; inset-inline: 0; background: var(--mint); flex-direction: column; gap: 0; padding: 1rem 1.5rem 1.5rem; display: none; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; background: transparent; padding: 0 1rem; }
}

/* ---------- Hero ---------- */
.hero { background: var(--mint); padding: 60px 0 0; overflow: hidden; }
.pill-badge { display: inline-block; background: #fff; color: var(--deep); font-weight: 600; font-size: .95rem; padding: .55rem 1.2rem; border-radius: 999px; margin-bottom: 1.8rem; }
.hero-title { font-size: clamp(3rem, 8.5vw, 7.6rem); line-height: .95; margin-bottom: 1.6rem; }
.lang-ar .hero-title { line-height: 1.2; }
.arch-row { display: flex; justify-content: center; align-items: flex-end; gap: 18px; margin-top: 70px; padding-bottom: 0; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.arch-row::-webkit-scrollbar { display: none; }
.arch { flex: 0 1 auto; width: clamp(120px, calc((100% - 108px) / 7), 200px); margin: 0; scroll-snap-align: center; }
.arch-img { border-radius: 999px 999px 0 0; overflow: hidden; aspect-ratio: 200 / 320; background: linear-gradient(180deg, #cdeae4, #b6e0d8); }
.arch-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.arch:hover .arch-img img { transform: scale(1.05); }
.arch-0, .arch-6 { margin-bottom: 80px; }
.arch-1, .arch-5 { margin-bottom: 30px; }
.arch-center .arch-img { outline: 3px solid var(--teal); outline-offset: 5px; }
.arch figcaption { font: 600 1.05rem var(--serif); color: var(--ink); text-align: center; padding: .6rem 0 1rem; }
.arch-ph, .moon-ph, .film-ph, .post-ph { display: block; width: 100%; height: 100%; min-height: 100%; background: radial-gradient(circle at 50% 35%, #ffffff8c 0 18%, transparent 19%), linear-gradient(160deg, #c7e9e2, #9fd8cf); }
.arch-ph.tall { aspect-ratio: 4/5; border-radius: 999px 999px var(--radius) var(--radius); }

.chips-band { background: var(--mint); padding: 28px 0 60px; }
.promise-chip { display: inline-block; background: #fff; color: var(--text); padding: .7rem 1.4rem; border-radius: 999px; font-size: 1rem; transition: .2s; }
.promise-chip b { color: var(--deep); }
.area-chip { background: var(--mint-2); }
.area-chip:hover { background: var(--ink); color: #fff; }

/* ---------- Service cloud (reference "price chips", without prices) ---------- */
.svc-cloud { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; margin: 60px auto 0; max-width: 1100px; }
.svc-chip { display: inline-flex; align-items: center; gap: 1rem; border-radius: 999px; padding: 1rem 1.8rem; font-size: 1.1rem; border: 1.5px solid transparent; transition: transform .25s, box-shadow .25s; }
.svc-chip b { font-family: var(--serif); font-size: 1.3rem; }
.svc-chip:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: var(--shadow); }
.svc-dark { background: var(--ink); color: #fff; padding: 1.35rem 2.2rem; font-size: 1.25rem; }
.svc-dark b { color: var(--teal-2); }
.svc-dark:hover { color: #fff; }
.svc-teal { background: var(--teal); color: var(--ink-2); }
.svc-soft { background: var(--mint); color: var(--ink); }
.svc-soft-lg { background: var(--mint); color: var(--ink); padding: 1.4rem 2.4rem; font-size: 1.3rem; }
.svc-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.svc-outline-lg { border-color: var(--line); color: var(--ink); background: #fff; padding: 1.4rem 2.4rem; font-size: 1.3rem; }

/* ---------- Nervous half-moon ---------- */
.half-moon { position: relative; max-width: 1060px; margin: 60px auto 0; }
.half-moon-img { aspect-ratio: 1 / 1 !important; border-radius: 0 0 999px 999px; overflow: hidden; background: var(--mint-2); }
.half-moon-img img { width: 100%; height: 100%; object-fit: cover; }
.float-tag { position: absolute; background: #fff; border-radius: 999px; padding: .7rem 1.4rem; box-shadow: 0 16px 34px -14px rgba(14,58,64,.35); font-weight: 500; color: var(--ink); white-space: nowrap; animation: bob 5s ease-in-out infinite; }
.ft-0 { top: 26%; inset-inline-start: 1%; }
.ft-1 { top: 70%; inset-inline-start: 12%; animation-delay: .6s; }
.ft-2 { bottom: -4%; inset-inline-start: 30%; animation-delay: 1.2s; }
.ft-3 { bottom: -4%; inset-inline-end: 28%; animation-delay: 1.8s; }
.ft-4 { top: 70%; inset-inline-end: 10%; animation-delay: 2.4s; }
.ft-5 { top: 26%; inset-inline-end: 0; animation-delay: 3s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (max-width: 767px) { .float-tag { position: static; display: inline-block; margin: .3rem; animation: none; } .half-moon { display: flex; flex-wrap: wrap; justify-content: center; } .half-moon-img { width: 100%; margin-bottom: 1rem; } }

/* ---------- First-visit film ---------- */
.film-frame { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; background: #154a50; }
.film-frame img { width: 100%; height: 100%; object-fit: cover; }
.play-pill { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 1rem; background: #fff; border: 0; border-radius: 999px; padding: .6rem 1.8rem .6rem .6rem; font: 500 1.15rem var(--sans); color: var(--ink); transition: .2s; }
.lang-ar .play-pill { padding: .6rem .6rem .6rem 1.8rem; }
.play-pill:hover { transform: translate(-50%, -50%) scale(1.05); }
.play-dot { width: 58px; height: 58px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; color: var(--ink); }

/* ---------- Kids ages ---------- */
.age-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2rem; margin-top: 70px; align-items: end; text-align: center; }
.age-circle { margin: 0 auto 1.4rem; border-radius: 50%; display: grid; place-content: center; transition: transform .3s; }
.age-circle:hover { transform: scale(1.06); }
.age-circle b { font: 700 2.4rem/1 var(--serif); }
.age-circle span { font-size: .95rem; }
.size-0 { width: 120px; height: 120px; } .size-1 { width: 145px; height: 145px; } .size-2 { width: 170px; height: 170px; } .size-3 { width: 195px; height: 195px; } .size-4 { width: 220px; height: 220px; }
.c-soft { background: var(--mint); color: var(--ink); } .c-pale { background: var(--mint-2); color: var(--ink); } .c-teal { background: var(--teal); color: var(--ink); } .c-dark { background: var(--ink); color: #fff; }
.c-dark b { color: #fff; }
.age p { max-width: 230px; margin: 0 auto; }
@media (max-width: 991px) { .age-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; } .age:last-child { grid-column: span 2; }
  .size-0 { width: 100px; height: 100px; } .size-1 { width: 115px; height: 115px; } .size-2 { width: 130px; height: 130px; } .size-3 { width: 145px; height: 145px; } .size-4 { width: 165px; height: 165px; } .age-circle b { font-size: 2rem; } }

/* ---------- Gallery carousel ---------- */
.gallery-carousel { border-radius: var(--radius); overflow: hidden; }
.gallery-carousel .carousel-item img { aspect-ratio: 16/8; object-fit: cover; }
.gallery-carousel .carousel-caption span { background: #fff; color: var(--ink); padding: .5rem 1.2rem; border-radius: 999px; }

/* ---------- Cards ---------- */
.review-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.review-card .stars { color: #F5B83D; letter-spacing: 2px; }
.stars .dim { color: var(--line); }
.review-text { font-size: 1.08rem; color: var(--ink); flex: 1; }
.review-card small { color: var(--muted); }
.masonry { columns: 3 300px; column-gap: 1.5rem; }
.masonry-item { break-inside: avoid; margin-bottom: 1.5rem; }

.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--line); display: flex; flex-direction: column; transition: .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-img { aspect-ratio: 16/10; display: block; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 1.6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.post-body time { font-size: .85rem; color: var(--muted); }
.post-body h3 { font-size: 1.35rem; line-height: 1.3; margin: 0; }
.post-body p { flex: 1; }

.svc-card { display: flex; flex-direction: column; gap: .6rem; background: var(--mint-2); border-radius: var(--radius); padding: 2rem; transition: .25s; color: var(--text); }
.svc-card img { border-radius: 18px; aspect-ratio: 16/10; object-fit: cover; margin-bottom: .6rem; }
.svc-card h2 { font-size: 1.5rem; margin: 0; }
.svc-card:hover { background: var(--mint); transform: translateY(-4px); color: var(--text); }

.side-card { background: var(--mint-2); border-radius: var(--radius); padding: 2rem; top: 110px; }
.mini-card { background: var(--mint-2); border-radius: 18px; padding: 1rem 1.2rem; font-weight: 500; color: var(--ink); }
.tick-list { list-style: none; padding: 0; }
.tick-list li { padding: .35rem 0; padding-inline-start: 1.8rem; position: relative; }
.tick-list li::before { content: '✓'; position: absolute; inset-inline-start: 0; color: var(--teal); font-weight: 700; }
.doctor-photo img { border-radius: 999px 999px var(--radius) var(--radius); width: 100%; object-fit: cover; aspect-ratio: 4/5; }
.pub-list li { margin-bottom: .5rem; }
.rounded-xl { border-radius: var(--radius); }

/* ---------- Page hero ---------- */
.page-hero { background: var(--mint); padding: 70px 0 80px; text-align: center; margin-bottom: 80px; }
.post-hero { text-align: start; }
.crumbs { font-size: .92rem; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 1.5rem; color: var(--muted); }
.post-hero .crumbs { justify-content: flex-start; }
.post-meta { color: var(--muted); font-size: .95rem; }

/* ---------- Prose (blog / service) ---------- */
.prose { font-size: 1.12rem; }
.prose h2 { font-size: 1.8rem; margin: 2.4rem 0 1rem; scroll-margin-top: 110px; }
.prose h3 { font-size: 1.35rem; margin: 1.8rem 0 .8rem; }
.prose img { border-radius: 20px; }
.prose a { color: var(--deep); border-bottom: 1px solid currentColor; }
.answer-block { background: var(--mint-2); border-inline-start: 4px solid var(--teal); border-radius: 16px; padding: 1.2rem 1.4rem; color: var(--ink); }
.toc { background: var(--mint-2); border-radius: 20px; padding: 1.4rem 1.6rem; margin-bottom: 2rem; }
.toc ol { margin: 0; padding-inline-start: 1.2rem; }
.author-box { display: flex; gap: 1rem; align-items: center; border: 1.5px solid var(--line); border-radius: 20px; padding: 1.2rem; margin: 3rem 0 1.5rem; }
.author-box img { border-radius: 50%; object-fit: cover; }
.share { display: flex; gap: 1rem; flex-wrap: wrap; color: var(--muted); }
.share a { font-weight: 600; }
.blog-search { max-width: 520px; }
.blog-search .form-control { border-radius: 999px; padding: .9rem 1.4rem; border: 1.5px solid var(--line); }

/* Alignment coming from the dashboard editor */
.prose .ql-align-center { text-align: center; } .prose .ql-align-right { text-align: right; } .prose .ql-align-left { text-align: left; } .prose .ql-align-justify { text-align: justify; }
.prose blockquote { border-inline-start: 4px solid var(--teal); background: var(--mint-2); padding: 1rem 1.2rem; border-radius: 14px; margin: 1.5rem 0; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1.5px solid var(--line); padding: 1.2rem 0; }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 1.2rem; margin: 0; }
.plus { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; background: var(--mint); position: relative; }
.plus::before, .plus::after { content: ''; position: absolute; inset: 50% auto auto 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: .2s; }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { padding-top: .8rem; }

/* ---------- Booking ---------- */
.booking-section { background: #fff; border-top: 60px solid var(--mint); }
.steps { list-style: none; padding: 0; margin: 2rem 0; border-top: 1px solid var(--line); }
.steps li { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.steps li span { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; font-size: .9rem; color: var(--ink); }
.steps li b { color: var(--ink); }
.form-card { background: var(--mint-2); border-radius: var(--radius); padding: 2.6rem; }
.form-label { font-weight: 500; color: var(--ink); }
.form-label span { color: var(--deep); }
.form-control, .form-select { border-radius: 14px; border: 1.5px solid var(--line); padding: .85rem 1.1rem; background-color: #fff; }
.form-control:focus, .form-select:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(43,192,172,.18); }
.is-invalid { border-color: #d9534f !important; }
.recaptcha-note { color: var(--muted); font-size: .78rem; max-width: 420px; }
.recaptcha-note a { color: var(--deep); }
.grecaptcha-badge { visibility: hidden; }

/* ---------- Contact ---------- */
.hours-table { --bs-table-bg: transparent; }
.hours-table tr.today th, .hours-table tr.today td { color: var(--deep); font-weight: 700; }
.map-wrap { border-radius: var(--radius); overflow: hidden; aspect-ratio: 21/8; background: var(--mint-2); }
.small-map { aspect-ratio: 4/3; border-radius: 18px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-2); color: rgba(255,255,255,.82); padding: 110px 0 40px; }
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: var(--teal-2); }
.hours-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 2rem; max-width: 560px; }
.hours-grid b { color: #fff; font-weight: 500; margin-inline-end: .5rem; }
.hours-grid .today b, .hours-grid .today span { color: var(--teal-2); }
.open-badge { display: inline-block; margin-top: 1.4rem; padding: .35rem .9rem; border-radius: 999px; background: rgba(255,255,255,.08); font-size: .9rem; }
.open-badge::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #e86f6f; margin-inline-end: .5rem; }
.open-badge.is-open::before { background: var(--teal); box-shadow: 0 0 0 4px rgba(43,192,172,.25); }
.appt-card { background: #fff; border-radius: var(--radius); padding: 2.6rem; color: var(--text); }
.appt-card a:not(.btn-pill) { color: var(--ink); }
.appt-card .btn-pill { color: #fff; }
.appt-card-head { border-bottom: 2px solid var(--ink); padding-bottom: 1rem; margin-bottom: 1rem; }
.appt-line { display: flex; align-items: flex-end; gap: 1.5rem; padding: .7rem 0; font-size: .82rem; letter-spacing: .15em; color: var(--muted); }
.appt-line span { width: 70px; }
.appt-line i { flex: 1; border-bottom: 1.5px dashed #9fd8cf; }
.footer-cols { border-top: 1px solid rgba(255,255,255,.12); margin-top: 90px; padding-top: 60px; }
.foot-h { font: 600 .85rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 1.2rem; }
.lang-ar .foot-h { letter-spacing: 0; font-size: 1rem; }
.footer-cols li { margin-bottom: .6rem; }
.footer-cols address { font-style: normal; }
.area-links { columns: 2; font-size: .92rem; }
.socials { display: flex; gap: .7rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 50px; padding-top: 28px; font-size: .9rem; }

.wa-float { position: fixed; bottom: 22px; inset-inline-end: 22px; width: 60px; height: 60px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 12px 30px -10px rgba(0,0,0,.45); z-index: 1040; transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .float-tag { animation: none; } html { scroll-behavior: auto; } }

@media (max-width: 767px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; }
  .section { padding: 70px 0; }
  .arch { width: 140px; flex-shrink: 0; }
  .arch-0, .arch-6 { margin-bottom: 40px; }
  .arch-row { justify-content: flex-start; padding-inline: 1rem; }
  .form-card, .appt-card { padding: 1.6rem; }
  .hours-grid { grid-template-columns: 1fr; }
  .map-wrap { aspect-ratio: 4/3; }
}

/* =========================================================
   PRINT → clean PDF (blog posts, service pages, contact)
   ========================================================= */
@media print {
  @page { size: A4; margin: 16mm 14mm; }
  body { font-size: 11.5pt; color: #000; background: #fff; }
  .site-header, .site-footer, .wa-float, .no-print, .booking-section, .skip-link, .share, .blog-search, iframe, .carousel-control-prev, .carousel-control-next, .btn-pill, .side-card .btn-pill { display: none !important; }
  .page-hero { background: none !important; padding: 0 0 8mm; margin: 0; border-bottom: 2px solid #0E3A40; }
  .section { padding: 6mm 0 !important; }
  .prose { font-size: 11.5pt; }
  .prose h2 { break-after: avoid; font-size: 16pt; }
  .prose a { border: 0; color: #000; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  img { max-height: 90mm; object-fit: cover; break-inside: avoid; }
  .answer-block, .toc { border: 1px solid #9fd8cf; background: #f3fbf9 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .faq-item { break-inside: avoid; }
  .faq-item:not([open]) .faq-a { display: block; }
  details > summary .plus { display: none; }
  .author-box { break-inside: avoid; }
  main::after { content: "عيادة د. دعاء تيم لطب الأسنان — خلدا، عمّان · +962 7 9921 0329 · duaataim.versetech.codes"; display: block; margin-top: 10mm; padding-top: 4mm; border-top: 1px solid #ccc; font-size: 9pt; color: #555; text-align: center; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
