/* ============================================================
   Centre Psycho-Conseils — warm mint "v1" aesthetic
   First-version hero look (rounded frame, dashed ring, badge,
   check-marks, mint gradient, bold headings) + a VARIED body
   (no repeated white boxes). Large, readable text.
   ============================================================ */

:root {
  --bg:        #FBF8F1;   /* warm cream background */
  --bg-tint:   #EFF6F3;   /* soft mint tinted section */
  --white:     #FFFFFF;
  --teal:      #3FA796;   /* primary accent (the v1 mint-teal) */
  --teal-dark: #2E8475;
  --teal-soft: #E5F2EF;
  --ink:       #2D3A36;   /* charcoal text */
  --muted:     #6B7B75;
  --line:      #E7E0D3;

  --head: 'Poppins', system-ui, sans-serif;   /* bold modern headings */
  --body: 'Inter', system-ui, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 8px 24px rgba(45,58,54,.07);
  --shadow-md: 0 16px 42px rgba(45,58,54,.11);
  --shadow-lg: 0 28px 66px rgba(45,58,54,.16);
  --transition: all .3s ease;
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 18px; color-scheme: light only; }
@media (max-width: 600px) { html { font-size: 17px; } }

body { font-family: var(--body); background: var(--bg); color: var(--ink); line-height: 1.7; font-size: 1.05rem; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4 { font-family: var(--head); color: var(--ink); line-height: 1.2; font-weight: 700; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.6rem; position: relative; z-index: 1; }
section { padding: clamp(3.5rem,7vw,6.5rem) 0; position: relative; }

/* ---------- Little decorative drawings (rings, dots, soft blobs) ---------- */
.deco { position: absolute; pointer-events: none; z-index: 0; display: none; }
@media (min-width: 760px) { .deco { display: block; } }
.deco-ring  { border: 2px dashed var(--teal); border-radius: 50%; opacity: .38; }
.deco-ring.solid { border-style: solid; opacity: .22; }
.deco-dots  { background-image: radial-gradient(var(--teal) 2px, transparent 2px); background-size: 15px 15px; opacity: .3; }
.deco-soft  { background: var(--teal-soft); border-radius: 50%; filter: blur(10px); opacity: .55; }
.bg-teal .deco-ring, .creds .deco-ring { border-color: rgba(255,255,255,.5); }
.bg-teal .deco-dots, .creds .deco-dots { background-image: radial-gradient(rgba(255,255,255,.6) 2px, transparent 2px); opacity: .35; }
.eyebrow { display: inline-block; color: var(--teal-dark); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; margin-bottom: .5rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .6rem; padding: 1rem 1.9rem; border-radius: 999px; font-family: var(--body); font-weight: 600; font-size: 1.05rem; cursor: pointer; border: 2px solid transparent; transition: var(--transition); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--teal-dark); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--teal-dark); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--bg); border-bottom: 1px solid var(--line); transition: transform .35s ease; }
.site-header.header-hidden { transform: translateY(-100%); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 0; }
.logo { display: flex; align-items: center; gap: .55rem; font-family: var(--head); font-weight: 700; font-size: 1.12rem; color: var(--ink); white-space: nowrap; flex-shrink: 0; }
.logo .mark { width: 38px; height: 38px; border-radius: 11px; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: 1.05rem; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 1.2rem; }
.nav-links a { font-weight: 500; color: var(--ink); font-size: .95rem; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-right { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.nav-appt-btn { padding: .58rem 1.05rem; font-size: .92rem; }
.lang-switch button { padding: .3rem .5rem; }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--ink); cursor: pointer; }
.nav-cta-mobile { display: none; }

/* Language switcher (FR / EN / AR) */
.lang-switch { display: inline-flex; gap: 2px; background: var(--teal-soft); border-radius: 999px; padding: 3px; }
.lang-switch button { border: none; background: transparent; cursor: pointer; font-family: var(--body); font-size: .78rem; font-weight: 700; color: var(--teal-dark); padding: .32rem .55rem; border-radius: 999px; line-height: 1; transition: var(--transition); }
.lang-switch button.active { background: #fff; color: var(--teal-dark); box-shadow: var(--shadow-sm); }
.lang-switch-mobile { display: none; }

/* ---------- Hero (v1 look, fits in one screen) ---------- */
.hero { background: linear-gradient(160deg, var(--teal-soft) 0%, var(--bg) 60%); position: relative; overflow: hidden; display: flex; align-items: center; min-height: calc(100vh - 66px); min-height: calc(100svh - 66px); padding-block: clamp(1rem, 3vh, 2.2rem); }
.hero > .container { position: relative; z-index: 1; width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 940px) { .hero-grid.with-photo { grid-template-columns: 1.1fr .9fr; } }
.hero-eyebrow { display: inline-block; background: #fff; color: var(--teal-dark); font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; padding: .45rem 1rem; border-radius: 999px; box-shadow: var(--shadow-sm); margin-bottom: 1rem; }
.hero h1 { font-size: clamp(1.8rem, 1rem + 2.4vw, 2.9rem); margin-bottom: .9rem; }
.hero h1 .accent { color: var(--teal-dark); }
.hero .lead { font-size: clamp(1rem, .85rem + .6vw, 1.15rem); color: var(--muted); max-width: 560px; margin-bottom: 1.4rem; }
.hero-btns { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-mini-trust { display: flex; flex-wrap: wrap; gap: .8rem 1.3rem; margin-top: 1.3rem; }
.hero-mini-trust div { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .92rem; }
.hero-mini-trust i { color: var(--teal); }

.hero-photo { position: relative; display: grid; place-items: center; }
.hero-photo .ring { position: absolute; inset: -20px -20px auto auto; width: 150px; height: 150px; border: 2px dashed var(--teal); border-radius: 50%; opacity: .5; z-index: 0; }
.hero-photo .frame { position: relative; z-index: 1; width: min(330px, 70%); max-height: calc(100svh - 150px); border-radius: 30px 30px 30px 90px; overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #fff; }
.hero-photo .frame img { width: 100%; height: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top center; }
@media (max-width: 939px) {
  .hero { min-height: 0; padding-block: clamp(2rem, 6vw, 3.5rem); }
  .hero-photo .frame { max-height: none; }
  /* On mobile: show intro, then the photo, then the buttons */
  .hero-grid { display: flex; flex-direction: column; gap: 1.8rem; }
  .hero-text { display: contents; }
  .hero-intro  { order: 1; }
  .hero-photo  { order: 2; }
  .hero-actions { order: 3; }
}
.hero-photo .badge-float { position: absolute; z-index: 2; bottom: 20px; inset-inline-start: -16px; background: #fff; color: var(--ink); border-radius: 14px; padding: .8rem 1.05rem; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: .7rem; }
.hero-photo .badge-float .b-ic { width: 42px; height: 42px; border-radius: 11px; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: 1.1rem; }
.hero-photo .badge-float strong { display: block; font-family: var(--head); font-size: 1rem; }
.hero-photo .badge-float em { color: var(--muted); font-style: normal; font-size: .85rem; }

/* ---------- Credentials band (colored strip) ---------- */
.creds { background: linear-gradient(160deg, var(--teal) 0%, var(--teal-dark) 100%); color: #EAF6F2; padding: clamp(2rem,4vw,2.6rem) 0; }
.creds-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
@media (min-width: 720px) { .creds-grid { grid-template-columns: repeat(4,1fr); } }
.cred { display: flex; align-items: center; gap: 1rem; }
@media (min-width: 720px) { .cred { padding-inline: .4rem; } .cred:not(:last-child) { border-inline-end: 1px solid rgba(255,255,255,.18); } }
.cred .c-ic { width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; font-size: 1.25rem; flex-shrink: 0; }
.cred .c-t { font-family: var(--head); font-weight: 600; font-size: 1.04rem; color: #fff; line-height: 1.3; }
.cred .c-s { font-size: .88rem; opacity: .8; }

/* ---------- Section heads ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.2rem; }
.section-head h2 { font-size: clamp(2rem,4.2vw,2.9rem); margin: .2rem 0 .8rem; position: relative; display: inline-block; }
.section-head h2::after { content: ""; display: block; width: 60px; height: 3px; background: var(--teal); border-radius: 2px; margin: 1rem auto 0; }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.bg-teal .section-head p { color: #D7EDE7; }

.bg-tint { background: var(--bg-tint); }
.bg-white { background: var(--white); }
.bg-teal { background: linear-gradient(160deg, var(--teal) 0%, var(--teal-dark) 100%); color: #EAF6F2; }
.bg-teal h2, .bg-teal h3 { color: #fff; }
.bg-teal h2::after { background: rgba(255,255,255,.7); }
.bg-teal .eyebrow { color: #D7EDE7; }

/* ---------- Feature row (image + text) ---------- */
.feature { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 940px) { .feature { grid-template-columns: .95fr 1.05fr; gap: 3.5rem; } .feature.reverse > .feature-media { order: 2; } }
.feature-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; height: 340px; box-shadow: var(--shadow-md); }
@media (min-width: 940px) { .feature-media { position: sticky; top: 100px; height: 430px; } }
.feature-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.feature-media .badge { position: absolute; top: 18px; inset-inline-start: 18px; background: var(--teal); color: #fff; border-radius: 14px; padding: .9rem 1.1rem; text-align: center; box-shadow: var(--shadow-md); }
.feature-media .badge .n { font-family: var(--head); font-weight: 700; font-size: 1.7rem; line-height: 1; }
.feature-media .badge .x { font-size: .78rem; opacity: .92; }
.feature-media .dots { position: absolute; width: 120px; height: 120px; background-image: radial-gradient(rgba(255,255,255,.85) 2px, transparent 2px); background-size: 18px 18px; inset-inline-end: 14px; bottom: 14px; opacity: .5; }
.feature-text { align-self: center; }
.feature-text h2 { font-size: clamp(1.9rem,4vw,2.7rem); margin-bottom: 1rem; }
.feature-text p { color: var(--muted); margin-bottom: 1.2rem; font-size: 1.1rem; }
.cred-list { display: grid; gap: 1rem; margin: 1.4rem 0; }
.cred-list li { display: flex; gap: 1rem; align-items: flex-start; font-size: 1.06rem; }
.cred-list li i { color: var(--teal-dark); background: var(--teal-soft); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: .9rem; margin-top: .1rem; }
.cred-list li strong { color: var(--ink); }

/* ---------- Expertise: numbered list ---------- */
.exp-grid { display: grid; grid-template-columns: 1fr; gap: 1.6rem 3rem; }
@media (min-width: 760px) { .exp-grid { grid-template-columns: 1fr 1fr; } }
.exp-item { display: flex; gap: 1.3rem; align-items: flex-start; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.exp-item .e-num { font-family: var(--head); font-weight: 700; font-size: 2.2rem; color: var(--teal); opacity: .5; line-height: 1; min-width: 2.4rem; }
.exp-item h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.exp-item p { color: var(--muted); font-size: 1.02rem; }

/* ---------- Quote band ---------- */
.quote-wrap { max-width: 900px; margin: 0 auto; text-align: center; }
.quote-wrap .q-icon { font-size: 2.6rem; color: #CFEAE3; margin-bottom: 1rem; }
.quote-wrap blockquote { font-family: var(--head); font-size: clamp(1.4rem,3vw,2.05rem); line-height: 1.45; color: #fff; font-weight: 600; }
.quote-wrap .author { margin-top: 1.6rem; color: #D7EDE7; font-weight: 600; font-family: var(--body); }

/* ---------- Services cards (one card section) ---------- */
.grid { display: grid; gap: 1.8rem; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .grid-3 { grid-template-columns: repeat(3,1fr); } }
.card { background: #fff; border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow-sm); transition: var(--transition); border-top: 4px solid var(--teal); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card .ic { width: 64px; height: 64px; border-radius: 16px; background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; font-size: 1.55rem; margin-bottom: 1.2rem; }
.card h3 { font-size: 1.32rem; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: 1.02rem; }
.card .more { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.1rem; color: var(--teal-dark); font-weight: 700; font-size: .98rem; }
.card .more:hover { gap: .8rem; }

/* ---------- Services: compact two-column list (no per-item CTA) ---------- */
.svc-group + .svc-group { margin-top: 2.6rem; }
.svc-group-title { display: flex; align-items: center; gap: .8rem; font-family: var(--head); font-size: 1.15rem; font-weight: 700; color: var(--teal-dark); margin-bottom: 1.3rem; }
.svc-group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.svc-group-title i { color: var(--teal); }
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
@media (min-width: 760px) { .svc-grid { grid-template-columns: 1fr 1fr; gap: 1.3rem 2rem; } }
.svc-item { display: flex; gap: 1.1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.3rem 1.4rem; transition: var(--transition); }
.svc-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--teal-soft); }
.svc-item .ic { width: 50px; height: 50px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; font-size: 1.25rem; flex-shrink: 0; }
.svc-item h3 { font-size: 1.14rem; margin-bottom: .2rem; }
.svc-item p { color: var(--muted); font-size: .98rem; line-height: 1.55; }
.svc-cta { text-align: center; margin-top: 2.6rem; }

/* ---------- Why: borderless icon features ---------- */
.features { display: grid; grid-template-columns: 1fr; gap: 2.4rem; text-align: center; }
@media (min-width: 760px) { .features { grid-template-columns: repeat(3,1fr); } }
.feature-ic { width: 86px; height: 86px; border-radius: 50%; background: #fff; color: var(--teal); display: grid; place-items: center; font-size: 2rem; margin: 0 auto 1.2rem; box-shadow: var(--shadow-sm); }
.features h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.features p { color: var(--muted); font-size: 1.04rem; max-width: 320px; margin: 0 auto; }

/* ---------- Steps: timeline ---------- */
.timeline { display: grid; grid-template-columns: 1fr; gap: 2rem; position: relative; }
@media (min-width: 760px) { .timeline { grid-template-columns: repeat(3,1fr); } .timeline::before { content: ""; position: absolute; top: 33px; left: 16%; right: 16%; height: 2px; background: var(--teal-soft); } }
.tl-step { text-align: center; position: relative; }
.tl-step .s-num { width: 66px; height: 66px; border-radius: 50%; background: var(--teal); color: #fff; font-family: var(--head); font-weight: 700; font-size: 1.6rem; display: grid; place-items: center; margin: 0 auto 1.2rem; box-shadow: 0 0 0 8px var(--bg); position: relative; z-index: 1; }
.bg-tint .tl-step .s-num { box-shadow: 0 0 0 8px var(--bg-tint); }
.tl-step h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.tl-step p { color: var(--muted); font-size: 1.02rem; max-width: 300px; margin: 0 auto; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; border: 1px solid transparent; transition: var(--transition); }
.faq-item.open { border-color: var(--teal); box-shadow: var(--shadow-md); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.35rem 1.7rem; cursor: pointer; }
.faq-q h4 { font-family: var(--head); font-size: 1.1rem; font-weight: 600; margin: 0; color: var(--ink); }
.faq-item.open .faq-q h4 { color: var(--teal-dark); }
.faq-ic { width: 38px; height: 38px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; flex-shrink: 0; transition: var(--transition); }
.faq-item.open .faq-ic { background: var(--teal); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 360px; }
.faq-a-inner { padding: 0 1.7rem 1.4rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1.1rem; font-size: 1.04rem; }

/* ---------- Contact ---------- */
.contact-cols { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 900px) { .contact-cols { grid-template-columns: 1fr 1fr; } }
.info-card { background: #fff; border-radius: var(--radius-lg); padding: 2.3rem; box-shadow: var(--shadow-sm); }
.info-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.info-item:last-of-type { border-bottom: none; }
.info-item .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; flex-shrink: 0; font-size: 1.1rem; }
.info-item .t { font-weight: 700; }
.info-item .s { color: var(--muted); overflow-wrap: anywhere; }
.info-item > div { min-width: 0; }   /* lets long text wrap instead of overflowing */
.form-group { margin-bottom: 1.2rem; display: flex; flex-direction: column; gap: .45rem; }
.form-group label { font-weight: 600; font-size: 1rem; }
.form-control { width: 100%; max-width: 100%; padding: .95rem 1.1rem; border: 1px solid var(--line); border-radius: 12px; font-family: var(--body); font-size: 1.05rem; background: var(--bg); transition: var(--transition); color: var(--ink); }
.form-control:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
textarea.form-control { resize: vertical; min-height: 130px; }
.socials { display: flex; gap: .7rem; margin-top: 1.4rem; }
.socials a { width: 44px; height: 44px; border-radius: 50%; background: var(--teal-soft); display: grid; place-items: center; color: var(--teal-dark); }
.socials a:hover { background: var(--teal); color: #fff; }

/* ---------- CTA banner ---------- */
.cta-banner { text-align: center; }
.cta-banner h2 { font-size: clamp(2rem,4.5vw,3rem); margin-bottom: 1rem; }
.cta-banner p { max-width: 600px; margin: 0 auto 2rem; color: #E3F2EE; font-size: 1.15rem; }
.cta-banner .hero-btns { justify-content: center; }
.bg-teal .btn-ghost { background: #fff; color: var(--teal-dark); }
.bg-teal .btn-outline { color: #fff; border-color: rgba(255,255,255,.6); }
.bg-teal .btn-outline:hover { background: rgba(255,255,255,.14); }

/* ---------- Footer (no nav column) ---------- */
.site-footer { background: var(--ink); color: #C7D0CC; padding: 4rem 0 1.8rem; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 820px) { .footer-top { grid-template-columns: 1.5fr 1fr auto; } }
.site-footer h4 { color: #fff; margin-bottom: 1rem; font-family: var(--head); font-size: 1.05rem; }
.site-footer a { color: #C7D0CC; }
.site-footer a:hover { color: var(--teal); }
.footer-brand .logo { color: #fff; margin-bottom: 1rem; }
.footer-brand p { font-size: 1rem; opacity: .85; max-width: 360px; }
.footer-contact li { display: flex; gap: .7rem; padding: .4rem 0; font-size: 1rem; overflow-wrap: anywhere; }
.footer-contact i { color: var(--teal); margin-top: .3rem; }
.footer-socials { display: flex; gap: .7rem; margin-top: 1.2rem; }
.footer-socials a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; }
.footer-socials a:hover { background: var(--teal); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 3rem; padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; font-size: .92rem; opacity: .85; }
.footer-bottom .links { display: flex; gap: 1.4rem; }
.footer-credit { text-align: center; padding-top: .9rem; font-size: .82rem; }
.footer-credit a { color: rgba(255,255,255,.5); letter-spacing: .02em; }
.footer-credit a:hover { color: var(--teal); }

/* ---------- Floating WhatsApp ---------- */
.fab { position: fixed; bottom: 26px; inset-inline-end: 26px; width: 62px; height: 62px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: var(--shadow-lg); z-index: 1100; }
.fab:hover { transform: scale(1.08); }

/* ---------- Scroll progress bar (top) ---------- */
.scroll-progress { position: fixed; top: 0; inset-inline-start: 0; height: 4px; width: 0%; background: linear-gradient(90deg, var(--teal), var(--teal-dark)); z-index: 2000; transition: width .1s linear; }

/* ---------- Expertise: image + sticky list ---------- */
.exp-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 940px) { .exp-layout { grid-template-columns: .8fr 1.2fr; gap: 3.5rem; } }
.exp-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); position: relative; min-height: 320px; }
@media (min-width: 940px) { .exp-media { position: sticky; top: 100px; height: 460px; } }
.exp-media img { width: 100%; height: 100%; object-fit: cover; }
.exp-media .tag { position: absolute; bottom: 16px; inset-inline-start: 16px; background: rgba(45,58,54,.78); color: #fff; padding: .6rem 1rem; border-radius: 12px; font-size: .92rem; backdrop-filter: blur(4px); }

/* ---------- Parallax photo band (divider) ---------- */
.photo-band { position: relative; padding: clamp(5rem,12vw,9rem) 0; background-size: cover; background-position: center; background-attachment: fixed; text-align: center; color: #fff; overflow: hidden; }
.photo-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(46,132,117,.86), rgba(45,58,54,.82)); }
.photo-band .container { position: relative; z-index: 1; }
.photo-band .eyebrow { color: #D7EDE7; }
.photo-band h2 { color: #fff; font-size: clamp(1.8rem,4vw,2.8rem); max-width: 760px; margin: .3rem auto 1.4rem; }
.photo-band p { color: #EAF6F2; max-width: 620px; margin: 0 auto 1.8rem; font-size: 1.12rem; }
@media (max-width: 760px) { .photo-band { background-attachment: scroll; } }

/* ---------- Quote over photo ---------- */
.quote-band { position: relative; background-size: cover; background-position: center; background-attachment: fixed; overflow: hidden; }
.quote-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(63,167,150,.92), rgba(46,132,117,.92)); }
.quote-band .container { position: relative; z-index: 1; }
@media (max-width: 760px) { .quote-band { background-attachment: scroll; } }

/* ---------- CTA over photo ---------- */
.cta-band { position: relative; background-size: cover; background-position: center; background-attachment: fixed; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(46,132,117,.9), rgba(45,58,54,.88)); }
.cta-band .container { position: relative; z-index: 1; }
.cta-band .cta-banner h2, .cta-band .cta-banner p { color: #fff; }
.cta-band .eyebrow { color: #D7EDE7; }
@media (max-width: 760px) { .cta-band { background-attachment: scroll; } }

/* ---------- Reveal on scroll (with directions + stagger) ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.reveal.from-left  { transform: translateX(-40px); }
.reveal.from-right { transform: translateX(40px); }
.reveal.zoom       { transform: scale(.94); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive nav ---------- */
@media (max-width: 992px) {
  .menu-toggle { display: block; }
  .nav-appt-btn { display: none; }
  .nav-links { position: fixed; inset: 0 0 0 28%; flex-direction: column; align-items: flex-start; background: var(--bg); padding: 5.5rem 2rem; gap: 1.6rem; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .3s ease; z-index: 1050; font-size: 1.15rem; }
  .nav-links.open { transform: translateX(0); }
  .nav-cta-mobile { display: block; margin-top: .6rem; }
  /* Center the logo on mobile, keep the menu button pinned right */
  .nav { position: relative; justify-content: center; }
  /* keep the menu button above the open menu panel so it can close it */
  .nav-right { position: absolute; inset-inline-end: 0; top: 50%; transform: translateY(-50%); z-index: 1060; }
  /* language switcher: hide the header one, show the one inside the mobile menu */
  .nav-right .lang-switch { display: none; }
  .lang-switch-mobile { display: block; margin-bottom: .6rem; }
}

/* ---------- Arabic / RTL ---------- */
[dir="rtl"] { text-align: right; }
[dir="rtl"] body, [dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4,
[dir="rtl"] .btn, [dir="rtl"] .logo { font-family: 'Tajawal', 'Inter', sans-serif; }
[dir="rtl"] .eyebrow, [dir="rtl"] .hero-eyebrow { letter-spacing: normal; }
[dir="rtl"] .section-head, [dir="rtl"] .features, [dir="rtl"] .timeline,
[dir="rtl"] .quote-wrap, [dir="rtl"] .cta-banner, [dir="rtl"] .photo-band .container { text-align: center; }
[dir="rtl"] .hero-photo .frame { border-radius: 30px 30px 90px 30px; }

/* Footer: centered on mobile (was left-aligned) */
@media (max-width: 819px) {
  .footer-top { text-align: center; }
  .footer-brand .logo { justify-content: center; }
  .footer-brand p { margin-inline: auto; }
  .footer-socials { justify-content: center; }
  .footer-contact li { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}
