/* ============================================================
   Dr. Safaa El Behiry — design system
   Warm, child-friendly, professional. RTL-first, logical properties.
   ============================================================ */

:root {
  --cream: #faf6f0;
  --cream-2: #f3ece1;
  --white: #ffffff;
  --plum: #3b2a35;
  --plum-2: #2b1e27;
  --plum-soft: #e8e0e5;
  --text: #4a3630;
  --text-2: #6b554c;
  --muted: #8d7c74;
  --line: #e8ddd0;
  --terracotta: #c9795c;
  --terracotta-deep: #a95b41;
  --terracotta-soft: #f5e0d6;
  --mustard: #e5c57a;
  --mustard-deep: #a37f2b;
  --mustard-soft: #f8edd1;
  --sage: #9fb39c;
  --sage-deep: #5c7a5a;
  --sage-soft: #e4ece2;
  --wa: #1fa65a;
  --wa-deep: #178a4a;
  --danger: #c0442c;

  --font-body: 'Cairo', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Baloo Bhaijaan 2', 'Cairo', system-ui, sans-serif;

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-xs: 0 1px 2px rgba(59, 42, 53, .05);
  --shadow-sm: 0 4px 14px -4px rgba(59, 42, 53, .10);
  --shadow: 0 14px 34px -10px rgba(59, 42, 53, .18);
  --shadow-lg: 0 30px 70px -20px rgba(59, 42, 53, .28);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;
  --container: 1180px;
}

/* Service / accent color scopes */
[data-color="terracotta"] { --c: var(--terracotta); --c-deep: var(--terracotta-deep); --c-soft: var(--terracotta-soft); --c-ink: #fff; }
[data-color="plum"]       { --c: var(--plum);       --c-deep: var(--plum-2);         --c-soft: var(--plum-soft);       --c-ink: #fff; }
[data-color="mustard"]    { --c: var(--mustard);    --c-deep: var(--mustard-deep);   --c-soft: var(--mustard-soft);    --c-ink: var(--plum); }
[data-color="sage"]       { --c: var(--sage);       --c-deep: var(--sage-deep);      --c-soft: var(--sage-soft);       --c-ink: #fff; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--plum); line-height: 1.25; margin: 0; font-weight: 800; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
section { scroll-margin-top: calc(var(--header-h) + .5rem); }
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
[dir="rtl"] .dir-flip { transform: scaleX(-1); }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; inset-inline-start: 1rem; top: -100px; background: var(--plum); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 2000; text-decoration: none; }
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; line-height: 1.2; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn .icon { width: 1.2em; height: 1.2em; }
.btn-primary { background: var(--terracotta); color: #fff; box-shadow: 0 10px 24px -10px rgba(201, 121, 92, .7); }
.btn-primary:hover { background: var(--terracotta-deep); color: #fff; }
.btn-dark { background: var(--plum); color: #fff; }
.btn-dark:hover { background: var(--plum-2); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px rgba(31, 166, 90, .6); }
.btn-wa:hover { background: var(--wa-deep); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--plum); }
.btn-ghost:hover { border-color: var(--plum); background: #fff; }
.btn-light { background: #fff; color: var(--plum); }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.1rem; }
.btn-sm { padding: .6rem 1.1rem; font-size: .95rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(250, 246, 240, .84);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--plum); white-space: nowrap; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; color: var(--text-2); position: relative; padding: .25rem 0; transition: color .2s; }
.nav a:not(.btn)::after { content: ''; position: absolute; inset-inline: 0; bottom: -2px; height: 2px; background: var(--terracotta); border-radius: 2px; transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:not(.btn):hover, .nav a.is-active { color: var(--plum); }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.lang-btn { display: inline-flex; align-items: center; gap: .4rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .5rem .95rem; font-weight: 700; cursor: pointer; transition: border-color .2s, transform .2s; }
.lang-btn:hover { border-color: var(--plum); transform: translateY(-1px); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn .icon { width: 22px; height: 22px; }
.menu-btn .icon-close { display: none; }
.nav-open .menu-btn .icon-menu { display: none; }
.nav-open .menu-btn .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 4rem 0 4.5rem; min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .7; }
.hero-bg .b1 { width: 560px; height: 560px; background: var(--terracotta-soft); inset-inline-end: -140px; top: -160px; }
.hero-bg .b2 { width: 460px; height: 460px; background: var(--mustard-soft); inset-inline-start: -180px; bottom: -160px; }
.hero-bg .b3 { width: 320px; height: 320px; background: var(--sage-soft); inset-inline-start: 38%; top: 58%; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--terracotta-deep); font-size: .95rem; }
.eyebrow::before { content: ''; width: 26px; height: 3px; border-radius: 3px; background: var(--terracotta); flex: none; }
.hero-title { font-size: clamp(2.3rem, 5.2vw, 3.9rem); margin: 1rem 0 1.25rem; line-height: 1.2; text-wrap: balance; }
/* Audience line: its own smaller line, with a highlighter stroke that follows every wrapped line. */
.hero-title .accent { display: block; color: var(--terracotta); font-size: .72em; line-height: 1.4; margin-top: .3em; text-wrap: balance; text-decoration: underline; text-decoration-color: rgba(229, 197, 122, .55); text-decoration-thickness: .34em; text-underline-offset: -.16em; text-decoration-skip-ink: none; }
.hero-sub { font-size: 1.15rem; color: var(--text-2); max-width: 36rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.5rem; }
.trust { display: flex; flex-wrap: wrap; gap: 1rem 2.25rem; }
.trust-item { display: flex; align-items: center; gap: .75rem; }
.trust-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--terracotta); line-height: 1; min-width: 2ch; text-align: center; }
.trust-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--white); box-shadow: var(--shadow-sm); color: var(--terracotta-deep); flex: none; }
.trust-icon .icon { width: 22px; height: 22px; }
.trust-label { font-weight: 700; color: var(--plum); line-height: 1.25; }
.trust-sub { font-size: .85rem; color: var(--muted); line-height: 1.3; }
.hero-visual { position: relative; }
.hero-stage { position: absolute; inset: 0; display: none; opacity: 0; transition: opacity .9s var(--ease); }
.hero-stage canvas { width: 100% !important; height: 100% !important; display: block; outline: none; }
.hero-visual.is-loading-3d .hero-stage { display: block; }
.hero-visual.has-3d .hero-stage { display: block; opacity: 1; }
.hero-visual.has-3d .hero-art { opacity: 0; transition: opacity .9s var(--ease); pointer-events: none; }
.hero-art { width: 100%; max-width: 540px; margin-inline: auto; overflow: visible; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes twinkle { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }
.float { animation: float 6s ease-in-out infinite; }
.float-slow { animation: float 9s ease-in-out infinite; }
.float-slower { animation: float 12s ease-in-out infinite reverse; }
.twinkle { animation: twinkle 3s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; position: relative; }
.section-alt { background: var(--white); }
.section-head { max-width: 44rem; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: .75rem 0 1rem; }
.section-lead { color: var(--text-2); font-size: 1.1rem; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.9rem 1.75rem 1.75rem;
  display: flex; flex-direction: column; gap: 1rem; position: relative; overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--c), var(--c-soft)); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-top { display: flex; gap: 1rem; align-items: flex-start; }
.service-tile { width: 68px; height: 68px; flex: none; border-radius: 20px; background: var(--c); color: var(--c-ink); display: grid; place-items: center; box-shadow: 0 12px 22px -12px var(--c); }
.service-tile .icon { width: 32px; height: 32px; }
.service-title { font-size: 1.35rem; color: var(--plum); text-wrap: balance; }
.service-meta { color: var(--muted); font-size: .95rem; margin-top: .1rem; }
.service-price { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--terracotta-deep); margin-top: .2rem; line-height: 1.2; }
.service-tagline { font-weight: 700; color: var(--c-deep); }
.service-desc { color: var(--text-2); font-size: .98rem; }
.service-outcomes { display: grid; gap: .45rem; }
.service-outcomes li { display: flex; gap: .55rem; align-items: flex-start; font-size: .95rem; }
.service-outcomes .icon, .check-list .icon { width: 20px; height: 20px; color: var(--sage-deep); margin-top: .4rem; flex: none; }
.service-actions { margin-top: auto; display: flex; gap: .6rem; padding-top: .5rem; }
.service-actions .btn { flex: 1; }
.services-note { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 1.75rem; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.pillar { background: var(--white); border-radius: var(--radius); padding: 1.75rem; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--c-soft); color: var(--c-deep); margin-bottom: 1.1rem; }
.pillar-icon .icon { width: 26px; height: 26px; }
.pillar h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.pillar p { color: var(--text-2); font-size: .97rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step { position: relative; padding: 1.75rem 1.5rem; background: var(--cream); border-radius: var(--radius); border: 1px dashed #dccfc0; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s; }
.step:hover { transform: translateY(-5px); background: #fff; box-shadow: var(--shadow); border-style: solid; }
.step-num { font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: var(--terracotta); line-height: 1; }
.step-icon { position: absolute; top: 1.5rem; inset-inline-end: 1.5rem; width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--plum); box-shadow: var(--shadow-sm); }
.step-icon .icon { width: 22px; height: 22px; }
.step h3 { font-size: 1.2rem; margin: .75rem 0 .4rem; }
.step p { color: var(--text-2); font-size: .97rem; }
.steps-cta { text-align: center; margin-top: 2.5rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: center; }
.portrait-wrap { position: relative; max-width: 400px; margin-inline: auto; padding: 1rem; }
.portrait { position: relative; aspect-ratio: 4 / 5; border-radius: 42% 58% 60% 40% / 45% 38% 62% 55%; overflow: hidden; background: linear-gradient(160deg, var(--terracotta-soft), var(--mustard-soft)); display: grid; place-items: center; box-shadow: var(--shadow); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-initial { font-family: var(--font-display); font-size: 9rem; font-weight: 800; color: var(--terracotta); opacity: .85; line-height: 1; }
.portrait-badge { position: absolute; bottom: 10%; inset-inline-start: -2%; background: var(--plum); color: #fff; border-radius: 18px; padding: .8rem 1.1rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: .7rem; }
.portrait-badge strong { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--mustard); }
.portrait-badge span { font-size: .9rem; line-height: 1.2; opacity: .9; max-width: 8ch; }
.portrait-ring { position: absolute; inset: 0; border: 2px dashed var(--mustard); border-radius: 40% 60% 58% 42% / 48% 40% 60% 52%; pointer-events: none; animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.about-text p { color: var(--text-2); margin-bottom: 1rem; font-size: 1.05rem; }
.about-text .section-title { margin-bottom: 1.25rem; }
.credentials { display: grid; gap: .6rem; margin: 1.5rem 0; }
.credentials li { display: flex; align-items: center; gap: .7rem; font-weight: 600; color: var(--plum); }
.credentials .icon { width: 22px; height: 22px; color: var(--terracotta-deep); }
.stats-row { display: flex; gap: 2.5rem; flex-wrap: wrap; margin: 1.75rem 0; }
.stat-num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; color: var(--terracotta); line-height: 1; }
.stat-label { color: var(--muted); font-weight: 600; font-size: .95rem; }

/* ---------- Testimonials ---------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial { background: #fff; border-radius: var(--radius); padding: 2.1rem 1.75rem 1.75rem; border: 1px solid var(--line); position: relative; display: flex; flex-direction: column; gap: 1rem; }
.testimonial::before { content: '\201C'; position: absolute; top: .2rem; inset-inline-start: 1.25rem; font-family: Georgia, serif; font-size: 5rem; line-height: 1; color: var(--mustard); opacity: .6; }
.stars { display: flex; gap: .15rem; margin-top: 1.25rem; }
.stars .icon { width: 18px; height: 18px; fill: var(--mustard); stroke: var(--mustard-deep); }
.testimonial p { color: var(--text-2); flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: #fff; background: var(--c, var(--terracotta)); flex: none; }
.testimonial-author strong { display: block; color: var(--plum); line-height: 1.2; }
.testimonial-author span { color: var(--muted); font-size: .9rem; }
.sample-tag { position: absolute; top: 1rem; inset-inline-end: 1rem; font-size: .72rem; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .1rem .55rem; }
.sample-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 1.5rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: .85rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.25rem; transition: box-shadow .3s, border-color .3s; }
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: var(--terracotta-soft); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; font-weight: 700; color: var(--plum); font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 22px; height: 22px; color: var(--terracotta); transition: transform .3s var(--ease); flex: none; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-answer { padding: 0 0 1.2rem; color: var(--text-2); }
.faq-more { text-align: center; margin-top: 2.5rem; color: var(--text-2); display: flex; flex-direction: column; align-items: center; gap: .75rem; }

/* ---------- Contact ---------- */
.contact-grid { max-width: 46rem; margin-inline: auto; }
.contact-card { background: var(--plum); color: #fff; border-radius: var(--radius-lg); padding: 2.25rem; display: flex; flex-direction: column; gap: 1.5rem; position: relative; overflow: hidden; }
.contact-card::after { content: ''; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(229, 197, 122, .35), transparent 65%); inset-inline-end: -140px; bottom: -160px; }
.contact-card h3 { color: #fff; font-size: 1.5rem; position: relative; z-index: 1; }
.contact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem; position: relative; z-index: 1; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .ci { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; flex: none; color: var(--mustard); }
.contact-list .ci .icon { width: 20px; height: 20px; }
.contact-list small { display: block; opacity: .7; font-size: .85rem; line-height: 1.4; }
.contact-list a { color: #fff; text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.contact-list .val { font-weight: 600; direction: ltr; unicode-bidi: isolate; display: inline-block; }
.contact-card .btn { position: relative; z-index: 1; align-self: flex-start; }
.follow { display: block; opacity: .7; font-size: .85rem; margin-bottom: .5rem; }
.social-row { display: flex; gap: .6rem; position: relative; z-index: 1; }
.social-row a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; transition: background .2s, transform .2s; }
.social-row a:hover { background: var(--terracotta); transform: translateY(-2px); }
.social-row .icon { width: 20px; height: 20px; }
.map-wrap { margin-top: 2rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-wrap:empty { display: none; }
.map-wrap iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum-2); color: rgba(255, 255, 255, .8); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand p { max-width: 30rem; }
.site-footer h4 { color: var(--mustard); font-size: 1.05rem; margin-bottom: 1rem; font-family: var(--font-body); font-weight: 700; }
.footer-links { display: grid; gap: .5rem; }
.footer-links a { color: rgba(255, 255, 255, .8); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .9rem; }
.site-footer .lang-btn { color: var(--plum); border-color: transparent; }
.site-footer .lang-btn:hover { border-color: var(--mustard); }

/* ---------- Floating WhatsApp ---------- */
.fab {
  position: fixed; bottom: 1.25rem; inset-inline-end: 1.25rem; z-index: 800;
  display: flex; align-items: center; gap: .6rem; background: var(--wa); color: #fff; border-radius: 999px; padding: .85rem;
  text-decoration: none; font-weight: 700; box-shadow: 0 12px 30px -8px rgba(31, 166, 90, .6);
  transition: transform .3s var(--ease), padding .3s var(--ease), background .2s;
}
.fab .icon { width: 28px; height: 28px; }
.fab span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .4s var(--ease), padding .4s; }
.fab:hover { transform: translateY(-3px); padding-inline-end: 1.25rem; background: var(--wa-deep); }
.fab:hover span { max-width: 220px; padding-inline-start: .25rem; }

/* ---------- Modal ---------- */
.modal { border: 0; padding: 0; background: transparent; max-width: min(780px, 94vw); width: 100%; margin: auto; color: var(--text); }
.modal::backdrop { background: rgba(43, 30, 39, .6); backdrop-filter: blur(4px); }
.modal-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; max-height: 88vh; display: flex; flex-direction: column; animation: modalIn .4s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-head { background: linear-gradient(135deg, var(--c-soft), #fff 75%); padding: 2rem 2rem 1.5rem; display: flex; gap: 1.25rem; align-items: center; position: relative; padding-inline-end: 4rem; }
.modal-head .service-tile { width: 76px; height: 76px; }
.modal-head h3 { font-size: 1.7rem; }
.modal-close { position: absolute; top: 1rem; inset-inline-end: 1rem; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(59, 42, 53, .08); display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.modal-close:hover { background: rgba(59, 42, 53, .16); }
.modal-close .icon { width: 20px; height: 20px; }
.modal-body { padding: 1.5rem 2rem; overflow: auto; display: grid; gap: 1.5rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.fact { background: var(--cream); border-radius: var(--radius-sm); padding: .85rem 1rem; }
.fact small { display: block; color: var(--muted); font-size: .8rem; font-weight: 600; }
.fact strong { color: var(--plum); font-size: .98rem; }
.modal-body h4 { font-size: 1.1rem; margin-bottom: .6rem; }
.check-list { display: grid; gap: .5rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; color: var(--text-2); }
.modal-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.modal-foot { border-top: 1px solid var(--line); padding: 1.25rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: #fff; }
.modal-price strong { font-family: var(--font-display); font-size: 1.9rem; color: var(--terracotta-deep); line-height: 1; display: block; }
.modal-price small { display: block; color: var(--muted); font-size: .85rem; }
.modal-foot .actions { display: flex; gap: .6rem; flex-wrap: wrap; }
body.modal-open { overflow: hidden; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Secondary pages (CV, 404) ---------- */
.page-hero { padding: 4rem 0 3rem; text-align: center; background: linear-gradient(180deg, var(--cream-2), var(--cream)); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin: .5rem 0; }
.page-hero p { color: var(--text-2); font-size: 1.1rem; }
.timeline { position: relative; max-width: 820px; margin-inline: auto; padding-inline-start: 2.5rem; }
.timeline::before { content: ''; position: absolute; inset-inline-start: 11px; top: 8px; bottom: 8px; width: 3px; background: linear-gradient(var(--terracotta), var(--mustard)); border-radius: 3px; }
.tl-item { position: relative; margin-bottom: 1.5rem; }
.tl-item::before { content: ''; position: absolute; inset-inline-start: calc(-2.5rem + 2px); top: 1.4rem; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--terracotta); box-shadow: 0 0 0 4px var(--cream); }
.tl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.75rem; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.tl-card h3 { font-size: 1.2rem; margin-bottom: .25rem; }
.tl-card p { color: var(--muted); font-size: .95rem; }
.badge { display: inline-block; background: var(--terracotta-soft); color: var(--terracotta-deep); font-weight: 700; font-size: .85rem; padding: .3rem .9rem; border-radius: 999px; white-space: nowrap; }
.training-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.training-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.training-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.training-card .pillar-icon { margin-bottom: .9rem; background: var(--mustard-soft); color: var(--mustard-deep); }
.training-card h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.training-card p { color: var(--text-2); font-size: .95rem; margin-bottom: .6rem; }
.training-card .inst { color: var(--muted); font-size: .85rem; font-weight: 600; }
.page-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 2.5rem; }
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.notfound .big { font-family: var(--font-display); font-size: 7rem; font-weight: 800; color: var(--terracotta); line-height: 1; opacity: .9; }
.notfound h1 { font-size: 2rem; margin: .5rem 0; }
.notfound p { color: var(--text-2); margin-bottom: 1.5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .pillars, .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav {
    position: absolute; top: var(--header-h); inset-inline: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: .5rem 1.25rem 1.25rem; display: none;
  }
  .nav-open .nav { display: flex; }
  .nav a:not(.btn) { padding: .85rem .25rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav-cta { display: inline-flex; margin-top: 1rem; }
  .menu-btn { display: inline-flex; }
  .header-actions .btn-book { display: none; }

  .hero { min-height: auto; padding: 2.5rem 0 3.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-art { max-width: 400px; }
  .services-grid, .testimonials-grid, .training-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .modal-cols { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
}
@media (max-width: 640px) {
  .pillars, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .trust { gap: 1rem 1.25rem; }
  .service-actions { flex-direction: column; }
  .modal-head, .modal-body, .modal-foot { padding-inline: 1.25rem; }
  .modal-head { padding-inline-end: 3.5rem; }
  .testimonials-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; padding-bottom: .75rem; margin-inline: -1.25rem; padding-inline: 1.25rem; scrollbar-width: none; }
  .testimonials-grid::-webkit-scrollbar { display: none; }
  .testimonials-grid .testimonial { flex: 0 0 86%; scroll-snap-align: center; }
  .portrait-wrap { max-width: 300px; }
  .fab span { display: none; }
  .brand { font-size: 1.1rem; }
  .contact-card { padding: 1.5rem; }
  .contact-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .fab, .hero-bg, .contact { display: none !important; }
}
