/* Hair Pro Clinic website. Arabic-first (RTL), English (LTR). Logical properties only, so both directions work.
   Colours: Hair Pro navy + Hair Pro blue as the one accent, gold only for the logo world, green only for WhatsApp. */
:root {
  --navy: #0F1935;
  --navy-deep: #0B132B;
  --navy-2: #1A2851;
  --blue: #3247AD;
  --blue-bright: #4F6BEF;
  --blue-soft: #E8ECFB;
  --gold: #D1AA60;
  --paper: #F7F5F0;
  --tint: #F2F4FA;
  --white: #FFFFFF;
  --ink: #132046;
  --text: #2B3550;
  --muted: #687089;
  --line: rgba(19, 32, 70, .10);
  --line-light: rgba(255, 255, 255, .14);
  --wa: #1FAF57;
  --wa-dark: #178F46;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(15, 25, 53, .05), 0 12px 32px -12px rgba(15, 25, 53, .18);
  --container: 1200px;
  --gutter: 20px;
  --section: 72px;
  --font: 'IBM Plex Sans Arabic', 'Jost', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
.lang-en { --font: 'Jost', 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif; font-family: var(--font); }
@media (min-width: 900px) { :root { --section: 120px; --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.8; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.lang-en body, body.lang-en { line-height: 1.65; }
@media (min-width: 900px) { body { font-size: 18px; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.3; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
.lang-en h1, .lang-en h2 { letter-spacing: -.02em; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; }

/* icons */
.ico { width: 1.25em; height: 1.25em; flex: none; }
.lang-ar .ico-dir, [dir="rtl"] .ico-dir { transform: scaleX(-1); }
.ico-back { transform: scaleX(-1); }
.lang-ar .ico-back, [dir="rtl"] .ico-back { transform: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .7em 1.4em; border-radius: 999px; font-weight: 600; font-size: 1rem; line-height: 1.2; border: 1.5px solid transparent; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 42px; padding: .5em 1.1em; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: .8em 1.7em; font-size: 1.05rem; }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }
.btn-outline { color: var(--ink); border-color: var(--line); background: var(--white); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost-dark { color: var(--ink); background: var(--white); border-color: var(--line); }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; color: var(--blue); font-weight: 600; }
.link-arrow:hover { gap: .7em; }
.link-arrow, .link-arrow .ico { transition: gap .25s var(--ease); }

/* eyebrow + section heads */
.eyebrow { display: inline-flex; align-items: center; gap: .6em; font-size: .9rem; font-weight: 600; color: var(--blue); margin-bottom: .9em; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.lang-en .eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; }
.eyebrow-light { color: #9DB0FF; }
.section { padding-block: var(--section); }
.section-tint { background: var(--tint); }
.section-navy { background: var(--navy-deep); color: #C9D0E4; }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head.split > div { max-width: 640px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }
.section-navy .lead { color: #AEB8D3; }
.section-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 48px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 19, 43, .92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line-light); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand-name { font-weight: 600; font-size: 1.05rem; white-space: nowrap; }
.main-nav { display: none; }
.main-nav a { color: #C9D0E4; font-weight: 500; font-size: .98rem; padding: 6px 2px; position: relative; transition: color .2s; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--white); }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 2px; background: var(--blue-bright); border-radius: 2px; }
.nav-lang { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { color: #C9D0E4; font-weight: 500; font-size: .95rem; padding: 6px 4px; display: none; }
.lang-switch:hover { color: var(--white); }
.header-actions .btn span { display: none; }
.header-actions .btn { padding-inline: .8em; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-light); background: transparent; color: var(--white); cursor: pointer; }
.menu-toggle .ico { width: 22px; height: 22px; }
.menu-toggle .ico-close, .nav-open .menu-toggle .ico-open { display: none; }
.nav-open .menu-toggle .ico-close { display: block; }
/* backdrop-filter makes the header the containing block of fixed children, so drop it while the menu is open */
.nav-open { overflow: hidden; }
.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--navy-deep); }
.nav-open .main-nav { display: flex; flex-direction: column; position: fixed; top: 72px; inset-inline: 0; height: calc(100vh - 72px); height: calc(100dvh - 72px); z-index: 60; background: var(--navy-deep); padding: 24px var(--gutter); gap: 4px; overflow-y: auto; }
.nav-open .main-nav a { font-size: 1.3rem; padding: 14px 0; border-bottom: 1px solid var(--line-light); }
.nav-open .main-nav a[aria-current="page"]::after { display: none; }
.nav-open .nav-lang { display: block; color: #9DB0FF; }
@media (min-width: 1000px) {
  .main-nav { display: flex; gap: 30px; }
  .menu-toggle { display: none; }
  .lang-switch { display: inline-block; }
  .header-actions .btn span { display: inline; }
  .header-actions .btn { padding-inline: 1.1em; }
  .header-row { height: 84px; }
}

/* hero */
.hero, .page-hero { position: relative; background: var(--navy-deep); color: #C9D0E4; overflow: hidden; isolation: isolate; }
.hero-glow { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 70% at 85% 10%, rgba(50, 71, 173, .55), transparent 70%),
  radial-gradient(50% 60% at 10% 100%, rgba(50, 71, 173, .35), transparent 70%),
  linear-gradient(180deg, var(--navy-deep), var(--navy)); }
.lang-ar .hero-glow { transform: scaleX(-1); }
.hero-grid { display: grid; gap: 8px; padding-top: 40px; }
.hero h1, .page-hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: #9DB0FF; }
.hero-lead { font-size: 1.1rem; color: #B8C2DD; max-width: 56ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 32px; }
.hero-stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 560px; }
.hero-stats li { border-inline-start: 1px solid var(--line-light); padding-inline-start: 14px; }
.hero-stats strong { display: block; color: var(--white); font-size: 1.5rem; font-weight: 600; line-height: 1.2; font-family: 'Jost', var(--font); }
.hero-stats span { font-size: .85rem; color: #9AA6C6; line-height: 1.4; display: block; }
.hero-visual { position: relative; align-self: end; margin-inline: auto; max-width: 520px; }
.hero-visual::before { content: ""; position: absolute; inset: 18% 6% 0; background: radial-gradient(closest-side, rgba(79, 107, 239, .45), transparent); z-index: -1; }
.hero-visual img { width: 100%; -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent); mask-image: linear-gradient(to bottom, #000 80%, transparent); }
.hero-caption { position: absolute; bottom: 18px; inset-inline: 0; text-align: center; color: var(--white); font-weight: 500; font-size: .95rem; margin: 0; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; padding-top: 56px; }
  .hero-copy { padding-bottom: 72px; }
  .hero-visual { max-width: none; margin: 0; }
}
.page-hero .container { padding-block: 72px 80px; max-width: calc(860px + var(--gutter) * 2); margin-inline: auto; text-align: center; }
.page-hero .eyebrow { justify-content: center; }
.page-hero .eyebrow::before { display: none; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.page-hero .hero-lead { margin-inline: auto; }

/* trust strip */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-row { display: grid; gap: 4px; padding-block: 20px; }
.trust-item { display: flex; gap: 14px; align-items: center; padding: 10px 0; }
.trust-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); flex: none; }
.trust-item strong { display: block; color: var(--ink); font-weight: 600; line-height: 1.4; }
.trust-item small { color: var(--muted); font-size: .9rem; }
@media (min-width: 800px) { .trust-row { grid-template-columns: repeat(3, 1fr); padding-block: 28px; } .trust-item + .trust-item { border-inline-start: 1px solid var(--line); padding-inline-start: 24px; } }

/* results */
.results-layout { display: grid; gap: 32px; }
.results-layout > * { min-width: 0; }
.compare-title { font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.compare { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--tint); box-shadow: var(--shadow); user-select: none; }
.compare img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: opacity .3s ease; }
.compare.is-swapping img { opacity: 0; }
.compare-after { position: absolute; inset: 0; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.lang-ar .compare-before { clip-path: inset(0 0 0 calc(100% - var(--pos))); }
.compare-handle { position: absolute; top: 0; bottom: 0; inset-inline-start: var(--pos); width: 2px; background: var(--white); transform: translateX(-50%); pointer-events: none; }
.lang-ar .compare-handle { transform: translateX(50%); }
.compare-handle .ico { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; padding: 10px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare-tag { position: absolute; top: 14px; padding: 4px 12px; border-radius: 999px; background: rgba(11, 19, 43, .7); color: var(--white); font-size: .85rem; font-weight: 600; pointer-events: none; }
.tag-before { inset-inline-start: 14px; }
.tag-after { inset-inline-end: 14px; }
.compare figcaption { position: absolute; bottom: 0; inset-inline: 0; padding: 28px 16px 14px; color: var(--white); font-size: .9rem; font-weight: 500; background: linear-gradient(transparent, rgba(11, 19, 43, .85)); pointer-events: none; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.chip { font: inherit; font-size: .95rem; font-weight: 500; padding: .45em 1.1em; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--text); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.case { margin: 0; }
.case[hidden] { display: none; }
.case-img { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: var(--navy); }
.case-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s var(--ease); }
.case-img img.fit-contain { object-fit: contain; background: var(--navy-deep); }
.gallery.is-collapsed .is-extra { display: none; }
.gallery-more { display: flex; justify-content: center; margin-top: 28px; }
.gallery-more span { opacity: .6; font-weight: 500; }
.gallery:not(.is-collapsed) + .gallery-more { display: none; }
.case-img:hover img { transform: scale(1.03); }
.case figcaption { padding: 10px 2px 0; line-height: 1.5; }
.case figcaption strong { display: block; color: var(--ink); font-weight: 600; }
.case figcaption span { font-size: .88rem; color: var(--muted); }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1000px) {
  .results-layout { grid-template-columns: 380px 1fr; gap: 48px; align-items: start; }
  .results-compare { position: sticky; top: 108px; }
  .gallery-full { grid-template-columns: repeat(3, 1fr); }
}
/* case switcher under the slider */
.compare-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.compare-count { margin: 0; color: var(--muted); font-size: .95rem; }
.compare-count strong { color: var(--ink); font-weight: 700; }
.compare-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, color .2s; }
.compare-arrow:hover { border-color: var(--blue); color: var(--blue); }
.compare-arrow .ico { width: 20px; height: 20px; }
.compare-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 2px 6px; scrollbar-width: thin; }
.compare-thumb { flex: 0 0 56px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--tint); cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s; }
.compare-thumb img { width: 100%; height: 100%; object-fit: cover; }
.compare-thumb:hover { opacity: 1; }
.compare-thumb.is-active { border-color: var(--blue); opacity: 1; }
.compare-hint { margin: 4px 0 0; font-size: .85rem; color: var(--muted); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 760px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(11, 19, 43, .88); }
.lightbox img { max-height: 88vh; width: auto; border-radius: var(--radius-sm); }
.lightbox-close { position: fixed; top: 16px; inset-inline-end: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--white); color: var(--ink); display: grid; place-items: center; cursor: pointer; }

/* why */
.why-grid { display: grid; gap: 40px; }
.why-photo { margin: 32px 0 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; display: none; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.why-list li { display: flex; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.why-num { font-family: 'Jost', var(--font); font-size: 1rem; font-weight: 500; color: var(--blue); width: 36px; height: 36px; border: 1px solid var(--blue); border-radius: 50%; display: grid; place-items: center; flex: none; margin-top: 2px; }
.why-list h3 { margin-bottom: .2em; }
.why-list p { margin: 0; color: var(--muted); }
@media (min-width: 900px) { .why-grid { grid-template-columns: .85fr 1.15fr; gap: 80px; } .why-photo { display: block; } .why-intro { position: sticky; top: 108px; align-self: start; } }

/* techniques */
.tech-grid { display: grid; gap: 16px; }
.tech-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.tech-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tech-card h3 { font-size: 1.4rem; margin-bottom: .4em; }
.tech-card p { color: var(--muted); }
.tech-sub { font-size: .85rem; font-weight: 500; color: var(--blue); margin-bottom: .6em; }
.tech-note { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink) !important; font-weight: 500; font-size: .95rem; display: flex; gap: 8px; align-items: center; }
.tech-note .ico { color: var(--blue); }
.tech-card-cta { position: relative; padding: 0; overflow: hidden; min-height: 260px; border: 0; justify-content: end; }
.tech-card-cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tech-card-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(11, 19, 43, .9)); }
.tech-card-cta span { position: relative; z-index: 1; color: var(--white); font-weight: 600; font-size: 1.2rem; padding: 24px; display: flex; align-items: center; gap: 8px; }
@media (min-width: 700px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tech-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* doctors */
.doctor-grid { display: grid; gap: 24px; }
.doctor { background: linear-gradient(180deg, var(--navy-2), var(--navy)); border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; display: grid; }
.doctor-photo { position: relative; aspect-ratio: 4 / 4; overflow: hidden; background: radial-gradient(70% 70% at 50% 90%, rgba(79, 107, 239, .45), transparent 70%); }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.doctor-photo img.cutout { object-fit: cover; object-position: center top; padding-top: 28px; }
.doctor-body { padding: 26px 28px 30px; }
.doctor-body h3 { font-size: 1.55rem; margin-bottom: .1em; }
.doctor-title { color: #9DB0FF; font-weight: 500; }
.doctor-body > p:not(.doctor-title) { color: #B8C2DD; }
.doctor .ticks li { color: #DDE3F3; }
.doctor .btn { margin-top: 8px; }
.doctor-quote { margin: 48px auto 0; max-width: 760px; text-align: center; font-size: clamp(1.25rem, 2.4vw, 1.7rem); color: var(--white); font-weight: 500; line-height: 1.6; }
@media (min-width: 800px) { .doctor-grid { grid-template-columns: 1fr 1fr; } }
.page-doctors .doctor-photo { aspect-ratio: 4 / 5; }

/* lists */
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.6; }
.ticks .ico { color: #6E86FF; margin-top: .2em; }
.ticks-lg li { font-size: 1.05rem; color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--line); }
.ticks-lg .ico { color: var(--blue); }

/* journey */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 28px; padding-inline-start: 56px; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 19px; top: 40px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.dot { position: absolute; inset-inline-start: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-family: 'Jost', var(--font); font-weight: 600; display: grid; place-items: center; }
.timeline h3 { margin: 6px 0 .2em; }
.timeline p { color: var(--muted); margin: 0; }
.journey-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.journey-photos figure { margin: 0; position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 3 / 4; }
.journey-photos img { width: 100%; height: 100%; object-fit: cover; }
.journey-photos figcaption { position: absolute; bottom: 0; inset-inline: 0; padding: 24px 12px 10px; color: var(--white); font-size: .85rem; font-weight: 600; background: linear-gradient(transparent, rgba(11, 19, 43, .85)); }
@media (min-width: 1000px) {
  .timeline { grid-template-columns: repeat(6, 1fr); gap: 20px; }
  .timeline li { padding: 56px 0 0; }
  .timeline li::before { inset-inline-start: 40px; inset-inline-end: -20px; top: 19px; bottom: auto; width: auto; height: 2px; }
  .journey-photos { gap: 20px; margin-top: 56px; }
  .journey-photos figure { aspect-ratio: 4 / 3; }
}

/* treatments */
.treat-grid { display: grid; gap: 14px; }
.treat { background: var(--white); border-radius: var(--radius-sm); padding: 24px; border: 1px solid var(--line); }
.treat h3 { margin-bottom: .3em; }
.treat p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (min-width: 700px) { .treat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .treat-grid { grid-template-columns: repeat(5, 1fr); } }

/* reviews */
.reviews-head { display: grid; gap: 28px; align-items: center; margin-bottom: 40px; }
.rating { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px; border-radius: var(--radius); background: var(--tint); text-align: center; }
.rating-num { font-family: 'Jost', var(--font); font-size: 4rem; font-weight: 500; color: var(--ink); line-height: 1; }
.stars { display: inline-flex; gap: 2px; color: #F4B400; margin: 8px 0; }
.stars .ico { width: 22px; height: 22px; }
.stars-sm .ico { width: 16px; height: 16px; }
.rating-count { color: var(--muted); font-size: .92rem; }
.review-grid { display: grid; gap: 16px; }
.review { margin: 0; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column; }
.review p { font-size: 1.08rem; color: var(--ink); font-weight: 500; margin: 10px 0 14px; line-height: 1.6; }
.review footer { margin-top: auto; color: var(--muted); font-size: .85rem; }
@media (min-width: 800px) { .reviews-head { grid-template-columns: 260px 1fr; gap: 48px; } .review-grid { grid-template-columns: repeat(3, 1fr); } }

/* videos */
.video-row { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.video-row::-webkit-scrollbar { display: none; }
.short { margin: 0; scroll-snap-align: start; }
.short-play { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: #000; cursor: pointer; }
.short-play img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.short-play:hover img { transform: scale(1.04); }
.short-play iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play { position: absolute; top: 50%; left: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; }
.play .ico { width: 26px; height: 26px; margin-inline-start: 3px; }
.short figcaption { color: #DDE3F3; font-weight: 500; font-size: .95rem; margin-top: 12px; line-height: 1.5; }
@media (min-width: 800px) { .video-row { grid-auto-columns: calc((100% - 60px) / 4.3); gap: 20px; scrollbar-width: thin; } .video-row::-webkit-scrollbar { display: block; height: 6px; } }

/* faq */
.faq-grid { display: grid; gap: 32px; }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { margin: 0; font-size: 1.1rem; font-weight: 600; }
.qa-sign { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--line); }
.qa-sign::before, .qa-sign::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 1.6px; margin: -.8px 0 0 -5.5px; background: var(--ink); transition: transform .3s var(--ease); }
.qa-sign::after { transform: rotate(90deg); }
.qa[open] .qa-sign::after { transform: rotate(0); }
.qa p { color: var(--muted); padding-bottom: 22px; margin: 0; max-width: 70ch; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 80px; } .faq-intro { position: sticky; top: 108px; align-self: start; } }

/* branches */
.branch-grid { display: grid; gap: 16px; }
.branch { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.branch-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); margin-bottom: 16px; }
.branch h3 { font-size: 1.35rem; margin-bottom: .1em; }
.branch-area { color: var(--blue); font-weight: 500; margin-bottom: .6em; }
.branch p:not(.branch-area) { color: var(--muted); }
.branch .link-arrow { margin-top: auto; }
.branch-hours { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 18px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--blue-soft); }
.branch-hours .ico { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 2px; }
.branch-hours span { display: block; font-size: .82rem; color: var(--muted); }
.branch-hours strong { display: block; color: var(--ink); font-weight: 600; line-height: 1.5; }
.branch-map { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 16px; background: var(--tint); }
.branch-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.branch-map-link { position: absolute; inset: 0; display: grid; place-items: center; color: var(--blue); font-weight: 600; background: repeating-linear-gradient(45deg, var(--blue-soft) 0 12px, transparent 12px 24px); }
.branch-contact { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--white); justify-content: center; }
.big-phone { align-self: flex-start; font-family: 'Jost', var(--font); font-size: 2rem; font-weight: 500; color: var(--white); margin-bottom: 18px; letter-spacing: .02em; }
.branch-contact .btn { align-self: flex-start; }
@media (min-width: 900px) { .branch-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* cta band */
.cta-band { background: var(--navy-deep); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 120% at 80% 0%, rgba(50, 71, 173, .55), transparent 70%); }
.cta-inner { position: relative; display: grid; gap: 24px; padding-block: 72px; align-items: center; }
.cta-mark { width: 84px; height: 84px; object-fit: contain; opacity: .95; }
.cta-band h2 { color: var(--white); margin-bottom: .3em; }
.cta-band p { color: #B8C2DD; margin: 0; max-width: 52ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: auto 1fr auto; gap: 40px; padding-block: 96px; } }

/* inner pages */
.two-col { display: grid; gap: 40px; align-items: center; }
.photo-tall { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4 / 5; }
.photo-tall img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.photo-tall figcaption { position: absolute; bottom: 0; inset-inline: 0; padding: 40px 20px 16px; color: var(--white); font-weight: 500; background: linear-gradient(transparent, rgba(11, 19, 43, .85)); }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.1fr .9fr; gap: 80px; } }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare-table th, .compare-table td { padding: 18px 22px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table thead th { background: var(--navy-deep); color: var(--white); font-weight: 600; }
.compare-table tbody th { color: var(--ink); font-weight: 600; width: 26%; background: var(--tint); }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
.steps-3 { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
.steps-3 li { position: relative; background: var(--tint); border-radius: var(--radius); padding: 28px; padding-inline-start: 80px; }
.steps-3 .dot { inset-inline-start: 24px; top: 24px; background: var(--white); }
.steps-3 p { margin: 6px 0 0; color: var(--ink); font-weight: 600; font-size: 1.1rem; }
@media (min-width: 900px) { .steps-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* footer */
.site-footer { background: #080E21; color: #9AA6C6; padding-top: 72px; font-size: .95rem; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 48px; }
.footer-about img { width: 84px; height: 84px; object-fit: contain; margin-bottom: 14px; }
.footer-about p { max-width: 42ch; }
.site-footer h3 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-links a:hover { color: var(--white); }
.footer-links strong { color: #DDE3F3; font-weight: 500; }
.footer-links span { font-size: .88rem; }
.footer-phone { font-family: 'Jost', var(--font); font-size: 1.3rem; color: var(--white); }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; color: #DDE3F3; transition: all .2s; }
.socials a:hover { background: var(--white); color: var(--ink); }
.family { border-top: 1px solid var(--line-light); padding-block: 36px; }
.family-row { display: grid; gap: 12px; }
.family-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line-light); transition: border-color .2s; }
.family-item:hover { border-color: rgba(255, 255, 255, .4); }
.family-item img { width: 52px; height: 52px; object-fit: contain; }
.family-item strong { display: block; color: var(--white); font-weight: 500; }
.family-item small { color: #9AA6C6; }
.footer-bottom { border-top: 1px solid var(--line-light); padding-block: 22px 110px; font-size: .85rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; } .family-row { grid-template-columns: repeat(3, 1fr); } .footer-bottom { padding-bottom: 28px; } }

/* contact bar (mobile) + WhatsApp bubble (desktop) */
.contact-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s var(--ease); }
.contact-bar.is-visible { transform: none; }
.contact-bar .btn { min-height: 50px; }
.wa-float { display: none; }
@media (min-width: 900px) {
  .contact-bar { display: none; }
  .wa-float { position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(31, 175, 87, .6); transition: transform .25s var(--ease); }
  .wa-float:hover { transform: scale(1.06); }
  .wa-float .ico { width: 30px; height: 30px; }
}

/* blogs */
.blog-grid { display: grid; gap: 22px; }
@media (min-width: 700px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.blog-card:hover .blog-card-media img { transform: scale(1.04); }
.blog-card-body { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 24px; flex: 1; }
.blog-card-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; color: var(--muted); font-size: .88rem; }
.blog-card-tag { display: inline-flex; align-items: center; padding: .2em .7em; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-weight: 600; font-size: .8rem; }
.blog-card h3 { font-size: 1.2rem; line-height: 1.35; margin: 0; }
.blog-card h3 a { color: inherit; }
.blog-card h3 a:hover { color: var(--blue); }
.blog-card p { margin: 0; color: var(--muted); flex: 1; }
.blog-card .link-arrow { margin-top: 4px; }
.blog-empty { text-align: center; padding: 48px 24px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); background: var(--tint); }

.blog-layout { display: grid; gap: 40px; align-items: start; }
@media (min-width: 980px) { .blog-layout { grid-template-columns: minmax(0, 1.7fr) minmax(260px, .8fr); gap: 56px; } }
.blog-article { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.blog-cover { aspect-ratio: 16 / 9; background: var(--tint); overflow: hidden; }
.blog-cover img { width: 100%; height: 100%; object-fit: cover; }
.blog-article-body { padding: 28px 22px 36px; }
@media (min-width: 700px) { .blog-article-body { padding: 36px 40px 48px; } }
.blog-article-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-bottom: 18px; color: var(--muted); font-size: .92rem; }
.blog-article-body h1 { font-size: clamp(1.7rem, 2.4vw, 2.4rem); margin: 0 0 .5em; }
.blog-excerpt { font-size: 1.08rem; color: var(--muted); margin: 0 0 1.4em; }
.blog-content { color: var(--ink); line-height: 1.85; font-size: 1.05rem; }
.blog-content > *:first-child { margin-top: 0; }
.blog-content h2, .blog-content h3 { margin: 1.6em 0 .6em; line-height: 1.3; }
.blog-content p, .blog-content ul, .blog-content ol { margin: 0 0 1em; }
.blog-content ul, .blog-content ol { padding-inline-start: 1.2em; }
.blog-content img { max-width: 100%; height: auto; border-radius: var(--radius-sm); margin: 1.2em 0; }
.blog-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.blog-content .content-cta a,
.blog-content a.btn { color: inherit; text-decoration: none; }
.content-cta { margin: 1.6em 0; }
.content-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.content-cta .btn { min-height: 48px; }
.content-cta .btn .ico { width: 1.15em; height: 1.15em; flex: none; }
.blog-content .table-scroll,
.blog-content figure.table { margin: 1.5em 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.blog-content table { width: 100%; min-width: 520px; margin: 1.5em 0; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--white); font-size: .95rem; line-height: 1.65; }
.blog-content .table-scroll table,
.blog-content figure.table table { margin: 0; border: 0; border-radius: 0; min-width: 520px; }
.blog-content th,
.blog-content td { padding: 14px 16px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); color: var(--text); }
.blog-content th:last-child,
.blog-content td:last-child { border-inline-end: 0; }
.blog-content tr:last-child th,
.blog-content tr:last-child td { border-bottom: 0; }
.blog-content thead th { background: var(--navy-deep); color: var(--white); font-weight: 600; white-space: nowrap; }
.blog-content tbody th,
.blog-content tbody td:first-child { background: var(--tint); color: var(--ink); font-weight: 600; width: 28%; }
.blog-content tbody tr:nth-child(even) td:not(:first-child) { background: rgba(242, 244, 250, .45); }
.blog-content table p { margin: 0; }
.blog-content table strong { color: inherit; font-weight: 700; }
/* Editor tables that put the header row in tbody with <strong> */
.blog-content table > tbody > tr:first-child > td:has(strong) { background: var(--navy-deep); color: var(--white); font-weight: 600; border-bottom-color: rgba(255, 255, 255, .12); }
.blog-content table > tbody > tr:first-child > td:has(strong) strong { color: var(--white); }
@media (max-width: 699px) {
  .blog-content th,
  .blog-content td { padding: 12px; font-size: .9rem; }
}
.blog-faqs { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.blog-faqs h2 { font-size: 1.35rem; margin: 0 0 8px; }
.blog-faqs .faq-list { margin-top: 8px; }
.blog-aside { display: grid; gap: 18px; }
.blog-aside-card { background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.blog-aside-card h2 { font-size: 1.1rem; margin: 0 0 14px; }
.blog-related { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.blog-related a { display: block; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); color: var(--ink); font-weight: 600; transition: border-color .2s, transform .2s var(--ease); }
.blog-related a:hover { border-color: var(--blue); transform: translateX(-2px); }
html[dir="ltr"] .blog-related a:hover { transform: translateX(2px); }
.blog-aside-cta { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--white); }
.blog-aside-cta h2 { color: var(--white); }
.blog-aside-cta p { color: #B8C2DD; margin: 0 0 16px; }
.blog-aside-cta .btn { width: 100%; justify-content: center; }
.blog-back { margin-bottom: 24px; }

/* reveal on scroll (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}
