/* =====================================================================
   صفوت مشعل العزمة — العلاج الفيزيائي
   Damascene physiotherapy site · RTL Arabic
   Palette inspired by old Damascus: limestone ivory, glazed-tile teal,
   Damask-rose terracotta, and brass ornament.
   ===================================================================== */

:root {
  /* colours */
  --ivory:      #F6F0E4;   /* limestone / parchment */
  --ivory-2:    #FBF7EF;   /* card surface */
  --teal:       #0E4D45;   /* glazed tile green (brand) */
  --teal-deep:  #0A3B35;
  --teal-soft:  #16655c;
  --rose:       #B0472F;   /* Damask rose / brick */
  --rose-deep:  #8F3826;
  --brass:      #C29A45;   /* ornament gold */
  --brass-soft: #d8b975;
  --ink:        #241F17;   /* warm near-black */
  --muted:      #5E5648;   /* warm grey-brown */
  --line:       #E4D9C3;   /* hairline on ivory */
  --wa:         #25D366;   /* WhatsApp green */
  --wa-deep:    #128C7E;

  /* type */
  --serif: 'Amiri', 'Times New Roman', serif;
  --sans:  'Tajawal', 'Segoe UI', 'Noto Sans Arabic', Tahoma, Arial, sans-serif;

  --wrap: 1120px;
  --radius: 14px;
  --shadow: 0 18px 40px -24px rgba(36, 31, 23, 0.45);
  --shadow-sm: 0 8px 22px -16px rgba(36, 31, 23, 0.5);
}

/* ---------- reset-ish ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.75;
  font-size: 17px;
  font-weight: 400;
  overflow-x: hidden;
  /* faint 8-point-star field across the whole page */
  background-image:
    radial-gradient(circle at 100% 0, rgba(14,77,69,0.05), transparent 45%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%230E4D45' stroke-opacity='0.05' stroke-width='1'%3E%3Cpath d='M36 8 L44 20 L36 20 Z M36 8 L28 20 L36 20 Z M64 36 L52 44 L52 36 Z M64 36 L52 28 L52 36 Z M36 64 L28 52 L36 52 Z M36 64 L44 52 L36 52 Z M8 36 L20 28 L20 36 Z M8 36 L20 44 L20 36 Z'/%3E%3Crect x='24' y='24' width='24' height='24'/%3E%3Crect x='24' y='24' width='24' height='24' transform='rotate(45 36 36)'/%3E%3C/g%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.25; margin: 0 0 .5em; color: var(--teal-deep); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(var(--wrap), 92%); margin-inline: auto; }

.skip-link {
  position: absolute; inset-inline-start: -999px; top: 8px; z-index: 200;
  background: var(--teal); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { inset-inline-start: 12px; }

/* =====================================================================
   Buttons
   ===================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--sans); font-weight: 700; font-size: 1rem;
  padding: .78em 1.5em; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn-lg { font-size: 1.08rem; padding: .95em 1.8em; }
.btn-block { width: 100%; justify-content: center; }

.btn-wa {
  background: var(--wa); color: #06301f;
  box-shadow: 0 12px 26px -12px rgba(37, 211, 102, 0.7);
}
.btn-wa:hover { background: #21c15d; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(37,211,102,0.8); }
.btn-wa .wa-ico { color: #06301f; }

.btn-ghost {
  background: transparent; color: var(--teal-deep);
  border: 1.5px solid var(--brass);
}
.btn-ghost:hover { background: rgba(194,154,69,0.12); transform: translateY(-2px); }

/* =====================================================================
   Header
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 240, 228, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 1.2rem;
  min-height: 72px;
}
.brand { display: flex; align-items: center; gap: .7rem; color: var(--teal); }
.brand-mark { display: inline-flex; color: var(--teal); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--serif); font-size: 1.28rem; color: var(--teal-deep); }
.brand-text em { font-style: normal; font-size: .78rem; color: var(--muted); letter-spacing: .2px; }

.site-nav { margin-inline-start: auto; display: flex; gap: 1.5rem; }
.site-nav a {
  position: relative; font-weight: 500; color: var(--ink); padding: .3em 0;
}
.site-nav a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 2px;
  background: var(--brass); transform: scaleX(0); transform-origin: center;
  transition: transform .22s ease;
}
.site-nav a:hover::after { transform: scaleX(1); }

.header-wa { padding: .6em 1.15em; font-size: .95rem; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--teal-deep); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================================
   Hero
   ===================================================================== */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(246,240,228,0) 0%, var(--ivory) 100%),
    linear-gradient(135deg, #f0e7d4 0%, var(--ivory) 55%);
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem);
}
.hero-pattern {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%230E4D45' stroke-opacity='0.06' stroke-width='1.1'%3E%3Crect x='40' y='40' width='40' height='40' transform='rotate(45 60 60)'/%3E%3Crect x='40' y='40' width='40' height='40'/%3E%3Ccircle cx='60' cy='60' r='4'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-inner {
  position: relative; display: grid;
  grid-template-columns: 1fr minmax(240px, 340px);
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
}
.hero-content { max-width: 620px; }

.eyebrow {
  display: flex; align-items: center; gap: .7rem;
  color: var(--rose); font-weight: 500; font-size: .95rem; letter-spacing: .3px;
  margin-bottom: 1rem;
}
.eyebrow .line { width: 34px; height: 2px; background: var(--rose); display: inline-block; border-radius: 2px; }

.hero h1 {
  font-size: clamp(2.3rem, 5.6vw, 3.7rem);
  line-height: 1.18; margin-bottom: .6rem; color: var(--teal-deep);
  letter-spacing: -.2px;
}
.hero h1 .accent { color: var(--rose); }

.lede { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--muted); max-width: 54ch; }
.lede strong { color: var(--teal); font-weight: 700; }

.motto {
  font-family: var(--serif); font-style: italic; font-size: 1.35rem;
  color: var(--brass); margin: .2rem 0 1.6rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2rem; }

.hero-badges { display: flex; flex-wrap: wrap; gap: .9rem 1.7rem; }
.hero-badges li { position: relative; display: flex; flex-direction: column; line-height: 1.2; }
.hero-badges li span { font-family: var(--serif); font-weight: 700; font-size: 1.24rem; color: var(--teal); white-space: nowrap; }
.hero-badges li em { font-style: normal; font-size: .8rem; color: var(--muted); white-space: nowrap; }
/* separated by spacing only — wraps cleanly on narrow screens (no dangling rules) */
.hero-badges li + li { padding-inline-start: 0; border-inline-start: 0; }

.hero-portrait {
  position: relative; align-self: center;
  display: flex; align-items: center; justify-content: center;
  width: min(322px, 86%); margin-inline: auto;
}
.hero-portrait-frame {
  position: relative; z-index: 2; margin: 0;
  width: 100%; aspect-ratio: 3 / 4;
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden; background: var(--ivory-2);
  border: 4px solid var(--ivory-2);
  box-shadow: 0 28px 55px -24px rgba(14,77,69,0.55), 0 0 0 1.5px var(--brass);
}
.hero-portrait-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; display: block;
}
.hero-portrait-deco {
  position: absolute; z-index: 1; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.hero-portrait-deco svg { width: min(372px, 96%); height: auto; transform: translateY(-8px); }
.hero-portrait-badge {
  position: absolute; z-index: 3; inset-block-end: -16px;
  left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: .45em;
  background: var(--ivory-2); color: var(--teal-deep);
  border: 1px solid var(--brass); border-radius: 999px;
  padding: .5em 1.05em; font-size: .82rem; font-weight: 700; white-space: nowrap;
  box-shadow: 0 10px 24px -12px rgba(36,31,23,0.5);
}
.hero-portrait-badge svg { color: var(--brass); flex-shrink: 0; }

/* =====================================================================
   Divider
   ===================================================================== */
.divider { display: flex; justify-content: center; padding: 2.5rem 0 .5rem; }

/* =====================================================================
   Section heads
   ===================================================================== */
.section-eyebrow {
  text-transform: none; color: var(--rose); font-weight: 700;
  font-size: .92rem; letter-spacing: 1px; margin-bottom: .4rem;
}
.section-eyebrow.light, .section-head.light .section-eyebrow { color: var(--brass-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.6rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.section-head.light h2 { color: var(--ivory); }
.section-sub { color: var(--muted); font-size: 1.05rem; }

/* =====================================================================
   About
   ===================================================================== */
.about { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.about-grid {
  display: grid; grid-template-columns: 320px 1fr; gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: center;
}
.about-figure { position: relative; }
.figure-frame {
  position: relative; aspect-ratio: 4/5; border-radius: 200px 200px var(--radius) var(--radius);
  background:
    radial-gradient(circle at 50% 30%, #ffffff 0, var(--ivory-2) 70%),
    var(--ivory-2);
  border: 2px solid var(--brass);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid; place-items: center;
}
.figure-frame::before {
  /* ablaq inner ring */
  content: ""; position: absolute; inset: 10px; border-radius: 190px 190px 8px 8px;
  border: 1px solid rgba(194,154,69,0.5);
  pointer-events: none;
}
.figure-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.figure-photo.is-missing { display: none; }
.figure-ornament { text-align: center; padding: 1.5rem; }
.figure-ornament .figure-name { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--teal-deep); margin: .8rem 0 .1rem; }
.figure-ornament .figure-role { font-size: .82rem; color: var(--muted); margin: 0; }
/* if a photo loads, hide the ornament behind it (class set by JS; :has() as modern fallback) */
.figure-frame.has-photo .figure-ornament { opacity: 0; }
.figure-frame:has(.figure-photo:not(.is-missing)) .figure-ornament { opacity: 0; }

.about-text h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.about-text > p { color: var(--muted); max-width: 60ch; }
.about-text strong { color: var(--teal); }
.about-values { margin-top: 1.6rem; display: grid; gap: 1rem; }
.about-values li { display: flex; gap: .8rem; align-items: flex-start; }
.about-values .v-ico { color: var(--brass); font-size: .8rem; margin-top: .45rem; }
.about-values strong { color: var(--teal-deep); font-family: var(--serif); font-size: 1.08rem; }
.about-values div { color: var(--muted); font-size: .98rem; line-height: 1.55; }

/* =====================================================================
   Cards (shared)
   ===================================================================== */
.services { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
/* 6 service cards: reflow with auto-fit so no lone card is orphaned at tablet width */
.services .cards { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  position: relative; background: var(--ivory-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.7rem 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card::before {
  /* brass corner flourish */
  content: ""; position: absolute; top: 0; inset-inline-start: 0;
  width: 46px; height: 46px; border-radius: var(--radius) 0 44px 0;
  border-top: 2px solid var(--brass); border-inline-start: 2px solid var(--brass);
  opacity: .55; pointer-events: none;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brass-soft); }

/* line-icon base (SVG sprite) */
.ico { width: 30px; height: 30px; display: block; }
/* service icon medallion — a Damascene seal that holds a physiotherapy glyph */
.svc-ico {
  display: inline-grid; place-items: center; width: 58px; height: 58px; margin-bottom: 1.1rem;
  border-radius: 50%; color: var(--teal);
  background: radial-gradient(circle at 50% 38%, rgba(255,255,255,.75), rgba(194,154,69,.10));
  border: 1px solid var(--brass-soft);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.35);
  transition: background .25s ease, color .25s ease, transform .25s ease, border-color .25s ease;
}
.service:hover .svc-ico {
  background: var(--teal); color: var(--ivory); border-color: var(--teal);
  transform: translateY(-2px) rotate(-4deg);
}
.service h3 { font-size: 1.28rem; margin-bottom: .1rem; }
.card-de { font-family: var(--sans); font-size: .82rem; color: var(--rose); font-weight: 500; margin-bottom: .7rem; direction: ltr; text-align: right; }
.service p:last-child { color: var(--muted); font-size: .98rem; margin: 0; line-height: 1.6; }

.services-cta {
  margin-top: 2.4rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
}
.services-cta p { color: var(--muted); margin: 0; }

/* hero eyebrow heartbeat */
.eyebrow-pulse { width: 42px; height: 12px; color: var(--rose); flex-shrink: 0; animation: pulseBeat 2.6s ease-in-out infinite; }
@keyframes pulseBeat { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }

/* =====================================================================
   Conditions — what we treat
   ===================================================================== */
.conditions { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.cond-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.cond {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--ivory-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.4rem; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cond:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brass-soft); }
.cond-ico {
  flex-shrink: 0; display: inline-grid; place-items: center; width: 48px; height: 48px;
  border-radius: 14px; color: var(--teal);
  background: rgba(14,77,69,0.06); border: 1px solid var(--brass-soft);
  transition: transform .2s ease, border-color .2s ease;
}
.cond-ico .ico { width: 26px; height: 26px; }
.cond h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.cond p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }

/* =====================================================================
   Method (dark band)
   ===================================================================== */
.method {
  background:
    linear-gradient(180deg, var(--teal-deep), var(--teal));
  color: var(--ivory); padding: clamp(2.8rem, 6vw, 4.5rem) 0;
  position: relative; overflow: hidden;
}
.method::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cg fill='none' stroke='%23C29A45' stroke-opacity='0.10' stroke-width='1'%3E%3Crect x='27' y='27' width='36' height='36' transform='rotate(45 45 45)'/%3E%3Crect x='27' y='27' width='36' height='36'/%3E%3C/g%3E%3C/svg%3E");
}
.method .wrap { position: relative; }
.method .section-eyebrow { color: var(--brass-soft); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 1rem; }
.steps li {
  position: relative; padding: 1.8rem 1.5rem 1.5rem;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(194,154,69,0.28);
  border-radius: var(--radius);
}
.step-badge {
  position: relative; display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 1rem;
  border-radius: 50%; color: var(--brass-soft);
  background: rgba(194,154,69,0.12); border: 1px solid rgba(194,154,69,0.5);
}
.step-badge .ico { width: 30px; height: 30px; }
.step-num {
  position: absolute; inset-block-start: -6px; inset-inline-end: -6px;
  display: inline-grid; place-items: center; width: 25px; height: 25px;
  font-family: var(--serif); font-size: 1rem; font-weight: 700; font-style: normal; color: var(--teal-deep);
  background: var(--brass); border-radius: 50%;
}
.steps h3 { color: var(--ivory); font-size: 1.3rem; margin-bottom: .3rem; }
.steps p { color: rgba(246,240,228,0.82); margin: 0; font-size: .98rem; }

/* =====================================================================
   Certificates
   ===================================================================== */
.certificates { padding: clamp(2.8rem, 6vw, 4.5rem) 0; }
.certs { grid-template-columns: repeat(4, 1fr); }
.cert { display: flex; flex-direction: column; text-align: center; align-items: center; padding-top: 2rem; }
.cert::before { display: none; }
.cert-seal { margin-bottom: .8rem; }
.cert h3 { font-size: 1.16rem; margin-bottom: .2rem; }
.cert-de { font-size: .8rem; color: var(--rose); direction: ltr; margin-bottom: .9rem; min-height: 2.4em; }
.cert-meta { display: flex; flex-direction: column; gap: .15rem; margin-bottom: 1rem; flex: 1; }
.cert-meta li { font-size: .86rem; color: var(--muted); }
.cert-meta li:first-child { color: var(--teal); font-weight: 500; }
.cert-link {
  margin-top: auto; color: var(--teal); font-weight: 700; font-size: .92rem;
  border-top: 1px solid var(--line); padding-top: .9rem; width: 100%;
  transition: color .18s ease;
}
.cert-link:hover { color: var(--rose); }

/* memberships */
.memberships { margin-top: 2.6rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.member {
  display: flex; align-items: center; gap: .75rem;
  background: var(--ivory-2); border: 1px solid var(--line); border-radius: 999px;
  padding: .55rem 1.35rem .55rem .8rem; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.member:hover { transform: translateY(-2px); border-color: var(--brass-soft); box-shadow: var(--shadow); }
.member-emblem { display: inline-flex; flex-shrink: 0; }
.member p { margin: 0; font-family: var(--serif); font-weight: 700; color: var(--teal-deep); font-size: 1.02rem; line-height: 1.35; }
.member-tag {
  display: inline-block; margin-inline-start: .35em; font-family: var(--sans);
  font-size: .7rem; font-weight: 700; color: var(--rose);
  border: 1px solid var(--rose); border-radius: 6px; padding: .08em .42em; vertical-align: middle;
}

/* =====================================================================
   Germany connection
   ===================================================================== */
.germany { padding: clamp(2.8rem, 6vw, 4.5rem) 0; }
.germany-grid {
  display: grid; grid-template-columns: 1fr 340px; gap: clamp(1.8rem, 4vw, 3rem);
  align-items: center;
}
.germany-text h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.germany-text > p { color: var(--muted); max-width: 58ch; }
.germany-text strong { color: var(--teal); }
.germany-links { display: grid; gap: .7rem; margin-top: 1.5rem; }
.glink {
  display: flex; flex-direction: column; padding: .95rem 1.2rem;
  background: var(--ivory-2); border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.glink:hover { border-color: var(--brass-soft); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.glink strong { color: var(--teal-deep); font-size: 1.02rem; }
.glink span { color: var(--muted); font-size: .84rem; direction: ltr; text-align: right; }

.germany-card {
  background: linear-gradient(160deg, var(--teal), var(--teal-deep));
  color: var(--ivory); border-radius: var(--radius); padding: 1.8rem;
  box-shadow: var(--shadow); border: 1px solid rgba(194,154,69,0.3);
}
.gcard-label { color: var(--brass-soft); font-size: .82rem; font-weight: 700; letter-spacing: .5px; margin: 0 0 .3rem; }
.gcard-addr { font-family: var(--serif); line-height: 1.7; margin-bottom: 1.3rem; direction: ltr; text-align: right; }
.gcard-tel { font-size: 1.25rem; font-weight: 700; margin: 0; color: #fff; }

/* the enhanced Germany section stacks; the bottom links+address stay 2-col */
.germany > .wrap > .germany-grid { margin-top: 0; }

/* center presentation: intro + stats */
.praxis-intro { max-width: 780px; margin: 0 auto 2rem; text-align: center; }
.praxis-intro > p { color: var(--muted); font-size: 1.05rem; }
.praxis-intro strong { color: var(--teal); font-weight: 700; }
.praxis-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.2rem; margin-top: 1.5rem; }
.praxis-stats li { display: flex; flex-direction: column; line-height: 1.25; }
.praxis-stats li span { font-family: var(--serif); font-weight: 700; font-size: 1.18rem; color: var(--teal); }
.praxis-stats li em { font-style: normal; font-size: .82rem; color: var(--muted); direction: ltr; text-align: center; }
.praxis-stats li:first-child span { font-size: 1.55rem; color: var(--rose); }

/* practice photo gallery (mosaic) */
.praxis-gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 152px; gap: .8rem;
  margin: 0 0 2.6rem;
}
.praxis-gallery figure {
  position: relative; margin: 0; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--ivory-2);
}
.praxis-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.praxis-gallery figure:hover img { transform: scale(1.06); }
.praxis-gallery .g-lg { grid-column: span 2; grid-row: span 2; }
.praxis-gallery figcaption {
  position: absolute; inset-inline: 0; inset-block-end: 0;
  padding: 1.4rem .9rem .55rem; color: var(--ivory); font-size: .84rem; font-weight: 700;
  background: linear-gradient(transparent, rgba(7,45,41,0.82));
}

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.faq-list { max-width: 800px; margin-inline: auto; display: grid; gap: .8rem; }
.faq-item {
  background: var(--ivory-2); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; transition: border-color .18s ease, box-shadow .18s ease;
}
.faq-item[open] { border-color: var(--brass-soft); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.35rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--serif); font-weight: 700; font-size: 1.14rem; color: var(--teal-deep);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-mark { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-mark::before, .faq-mark::after {
  content: ""; position: absolute; background: var(--brass); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.faq-mark::before { top: 8px; inset-inline: 0; height: 2px; }
.faq-mark::after { inset-inline-start: 8px; top: 0; bottom: 0; width: 2px; }
.faq-item[open] .faq-mark::after { transform: scaleY(0); opacity: 0; }
.faq-a { padding: 0 1.35rem 1.2rem; color: var(--muted); line-height: 1.75; }
.faq-a p { margin: 0; }

/* =====================================================================
   Contact
   ===================================================================== */
.contact {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--teal-deep) 0%, #072d29 100%);
  color: var(--ivory); padding: clamp(3rem, 7vw, 5rem) 0;
}
.contact-pattern {
  position: absolute; inset: 0; opacity: .6; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110' height='110' viewBox='0 0 110 110'%3E%3Cg fill='none' stroke='%23C29A45' stroke-opacity='0.09' stroke-width='1'%3E%3Cpath d='M55 15 L70 40 L55 40 Z M55 15 L40 40 L55 40 Z'/%3E%3Crect x='35' y='35' width='40' height='40'/%3E%3Crect x='35' y='35' width='40' height='40' transform='rotate(45 55 55)'/%3E%3C/g%3E%3C/svg%3E");
}
.contact-grid {
  position: relative; display: grid; grid-template-columns: 1fr 420px;
  gap: clamp(2rem, 5vw, 3.5rem); align-items: center;
}
.contact-intro h2 { color: var(--ivory); font-size: clamp(1.9rem, 4vw, 2.7rem); }
.contact-intro > p { color: rgba(246,240,228,0.85); max-width: 48ch; }
.section-eyebrow.light { color: var(--brass-soft); }
.contact-intro .btn-wa { margin: .6rem 0 1.8rem; }
.contact-facts { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.contact-facts li { display: flex; flex-direction: column; }
.contact-facts li span { color: var(--brass-soft); font-size: .8rem; font-weight: 700; letter-spacing: .5px; }
.contact-facts li em { font-style: normal; color: var(--ivory); font-size: 1.02rem; }

.contact-form {
  background: var(--ivory-2); color: var(--ink); border-radius: var(--radius);
  padding: 1.9rem; box-shadow: var(--shadow); border: 1px solid rgba(194,154,69,0.35);
}
.form-title { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--teal-deep); margin: 0 0 1.2rem; }
.contact-form label { display: block; font-weight: 500; color: var(--teal-deep); font-size: .92rem; margin-bottom: 1rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; margin-top: .4rem; padding: .75em .9em;
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 10px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--teal-soft); box-shadow: 0 0 0 3px rgba(22,101,92,0.15);
}
.contact-form textarea { resize: vertical; }
.form-hint { font-size: .82rem; color: var(--muted); text-align: center; margin: .9rem 0 0; }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer { background: #0A2C28; color: rgba(246,240,228,0.85); }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 2rem; align-items: center;
  padding: 2.6rem 0 2rem;
}
.footer-brand { display: flex; align-items: center; gap: .8rem; }
.footer-brand .brand-mark { color: var(--brass); }
.footer-brand strong { font-family: var(--serif); font-size: 1.25rem; color: var(--ivory); display: block; }
.footer-brand span { font-family: var(--serif); font-size: .86rem; color: rgba(246,240,228,0.6); }
.footer-nav { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }
.footer-nav a { color: rgba(246,240,228,0.8); font-size: .95rem; transition: color .18s ease; }
.footer-nav a:hover { color: var(--brass-soft); }
.footer-note { text-align: end; font-size: .9rem; color: rgba(246,240,228,0.7); margin: 0; }
.jasmine-line { color: var(--brass-soft); font-family: var(--serif); font-style: italic; }
.footer-bar { border-top: 1px solid rgba(246,240,228,0.12); }
.footer-bar p { text-align: center; padding: 1.1rem 0; margin: 0; font-size: .85rem; color: rgba(246,240,228,0.55); }

/* =====================================================================
   Floating WhatsApp
   ===================================================================== */
.wa-float {
  position: fixed; inset-block-end: 22px; inset-inline-start: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 30px -8px rgba(37,211,102,0.7);
  transition: transform .2s ease;
}
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa); animation: wa-pulse 2.6s ease-out infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .6; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { opacity: 0; }
}

/* =====================================================================
   Damascene animations — subtle, warm, unobtrusive
   ===================================================================== */
/* anchor offset so sticky header never hides section tops */
section[id] { scroll-margin-top: 84px; }

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
@keyframes portraitIn {
  from { opacity: 0; transform: translateY(12px) scale(.965); }
  to   { opacity: 1; transform: none; }
}
@keyframes twinkle {
  0%, 100% { opacity: .4; transform: scale(1); }
  50%      { opacity: .8; transform: scale(1.14); }
}
@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(12px, -18px) rotate(24deg); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(-14px, -12px) rotate(-22deg); }
}

/* hero entrance (staggered) */
.hero-content > * { animation: rise .8s both cubic-bezier(.2,.7,.2,1); }
.hero-content > .eyebrow      { animation-delay: .05s; }
.hero-content > h1            { animation-delay: .15s; }
.hero-content > .lede         { animation-delay: .30s; }
.hero-content > .motto        { animation-delay: .42s; }
.hero-content > .hero-cta     { animation-delay: .54s; }
.hero-content > .hero-badges  { animation-delay: .66s; }
.hero-portrait { animation: portraitIn 1s .25s both cubic-bezier(.2,.7,.2,1); }

/* faint drifting jasmine in the hero */
.hero-petal { position: absolute; z-index: 0; color: var(--brass); opacity: .10; pointer-events: none; }
.hero-petal svg { width: 100%; height: 100%; display: block; }
.hero-petal--1 { width: 62px; height: 62px; top: 16%; inset-inline-start: 7%; animation: drift1 27s ease-in-out infinite; }
.hero-petal--2 { width: 44px; height: 44px; bottom: 15%; inset-inline-end: 20%; animation: drift2 33s ease-in-out infinite; }

/* divider star gently twinkles */
.divider svg path { transform-box: fill-box; transform-origin: center; animation: twinkle 4.5s ease-in-out infinite; }

/* micro-interactions */
.cond:hover .cond-ico { transform: translateY(-2px); border-color: var(--brass); }
.cert-seal { transition: transform .3s ease; }
.cert:hover .cert-seal { transform: rotate(-8deg) scale(1.06); }
.brand-mark svg, .footer-brand .brand-mark svg { transition: transform .5s ease; }
.brand:hover .brand-mark svg { transform: rotate(45deg); }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-portrait { order: -1; margin-bottom: 1rem; width: min(260px, 68%); }
  .about-grid { grid-template-columns: 1fr; }
  .about-figure { max-width: 300px; margin-inline: auto; }
  .germany-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .certs { grid-template-columns: repeat(2, 1fr); }
  .cond-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 720px) {
  .site-nav, .header-wa { display: none; }
  .site-nav.is-open {
    display: flex; position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; gap: 0; background: var(--ivory);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: .5rem 0;
  }
  .site-nav.is-open a { padding: .9rem 6%; border-top: 1px solid var(--line); }
  .site-nav.is-open a::after { display: none; }
  .nav-toggle { display: flex; margin-inline-start: auto; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 1.4rem; }
  .footer-brand { justify-content: center; }
  .footer-note { text-align: center; }
  .hero-badges { gap: .8rem 1.35rem; }
  .contact-form { padding: 1.5rem; }
  .memberships { gap: .7rem; }
  .praxis-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 128px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .cards, .certs, .cond-grid { grid-template-columns: 1fr; }
  .contact-facts { gap: 1.4rem; }
  .wa-float { width: 52px; height: 52px; inset-block-end: 16px; inset-inline-start: 16px; }

  /* full-width buttons = comfortable tap targets on phones */
  .hero-cta { flex-direction: column; align-items: stretch; gap: .7rem; }
  .hero-cta .btn { justify-content: center; width: 100%; }
  .btn-lg { font-size: 1rem; padding: .9em 1.4em; }

  /* trust badges: compact, evenly wrapped, no dangling separators */
  /* no dangling separators when badges wrap on small screens */
  .hero-badges { gap: .7rem 1.4rem; }
  .hero-badges li span { font-size: 1.12rem; }
  .hero-badges li + li { padding-inline-start: 0; border-inline-start: 0; }

  .hero-portrait { width: min(240px, 74%); }
  .hero-portrait-badge { font-size: .74rem; padding: .45em .85em; }

  .contact-form { padding: 1.3rem; }
  .form-title { font-size: 1.25rem; }
  .member p { font-size: .94rem; }
  .germany-card { padding: 1.4rem; }
  .faq-item summary { font-size: 1.04rem; padding: 1rem 1.1rem; }
  .faq-a { padding: 0 1.1rem 1.1rem; }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 6px;
}
