/* ============================================
   TML ZAHNKLINIK — Stylesheet
   Palette: Near-black (#111110), warm gold (#C9A368),
   ivory (#F7F4EE), soft ink text (#1B1A18)
   Display: Cormorant Garamond / Body: Manrope
   ============================================ */

:root {
  --black: #111110;
  --black-soft: #1a1917;
  --anthracite: #2a2824;
  --anthracite-soft: #35322c;
  --gold: #c9a368;
  --gold-light: #e3c896;
  --ivory: #f7f4ee;
  --ivory-dim: #ece7dc;
  --ink: #1b1a18;
  --ink-light: #6b6760;
  --white: #ffffff;
  --line: rgba(201, 163, 104, 0.25);

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Manrope', sans-serif;

  --container: 1240px;
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin: 0 0 10px;
  text-transform: uppercase;
}
.eyebrow.light { color: var(--gold-light); }
.eyebrow.center { text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 28px;
  color: var(--black);
  letter-spacing: -0.01em;
}
.section-title.center { text-align: center; }
.section-title.light { color: var(--white); }

.check {
  color: var(--gold);
  font-weight: 700;
  margin-right: 8px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--black);
}
.btn-primary:hover { background: var(--gold-light); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn.small { padding: 10px 20px; font-size: 0.72rem; }
.btn.full { width: 100%; justify-content: center; }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, var(--anthracite-soft) 0%, var(--anthracite) 100%);
  border-bottom: 1px solid rgba(201, 163, 104, 0.35);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 28px -18px rgba(0, 0, 0, 0.55);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo-main {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.03em;
}
.logo-sub {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--ivory-dim);
}

.main-nav {
  display: flex;
  gap: 30px;
}
.main-nav a {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--white);
  opacity: 0.82;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--gold-light);
  border-color: var(--gold);
  opacity: 1;
}

.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch {
  background: rgba(247, 244, 238, 0.06);
  border: 1px solid rgba(247, 244, 238, 0.22);
  color: var(--ivory);
  padding: 8px 12px;
  border-radius: var(--radius);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lang-switch:hover { border-color: var(--gold); background: rgba(201, 163, 104, 0.12); }
.chevron { font-size: 0.7rem; color: var(--gold-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gold);
  display: block;
}

/* ============ HERO ============ */
.hero {
  background: var(--ivory);
  position: relative;
  overflow: hidden;
}
.hero-visual {
  width: 100%;
  line-height: 0;
}
.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============ KOSTENLOS BANNER ============ */
.kostenlos-cta { background: var(--black); }
.kostenlos-action {
  display: block;
  cursor: pointer;
}
.kostenlos-action img {
  width: 100%;
  display: block;
  transition: opacity 0.2s ease;
}
.kostenlos-action:hover img { opacity: 0.92; }

/* ============ CONSULTATIONS ============ */
.consultations { padding: 90px 0; background: var(--white); }
.consult-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.consult-card {
  background: var(--ivory);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.consult-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.08);
}
.consult-media img {
  width: 100%;
  aspect-ratio: 4/2.8;
  object-fit: cover;
  display: block;
}
.consult-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.consult-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--ink-light);
}
.consult-body h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--black);
  margin: 0;
}
.consult-tag {
  display: inline-block;
  background: rgba(76, 175, 145, 0.15);
  color: #2f7d68;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  width: fit-content;
}
.consult-body .btn {
  margin-top: auto;
  justify-content: center;
}

/* ============ SERVICES ============ */
.services { padding: 90px 0; background: var(--ivory); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.08);
}
.service-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}
.service-text { padding: 16px 14px 20px; }
.service-text h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 6px;
  color: var(--black);
}
.service-text p {
  font-size: 0.78rem;
  color: var(--ink-light);
  margin: 0;
  line-height: 1.4;
}

/* ============ BEFORE / AFTER ============ */
.before-after { background: var(--black); padding: 90px 0; }
.ba-carousel {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ba-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  flex: 1;
  overflow: hidden;
  align-items: start;
}
.ba-card { margin: 0; }
.ba-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.ba-media img { width: 100%; height: auto; display: block; }
.ba-tag {
  position: absolute;
  left: 10px;
  background: rgba(17,17,16,0.75);
  backdrop-filter: blur(2px);
  color: var(--white);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 20px;
}
.ba-tag.top { top: 10px; }
.ba-tag.bottom { bottom: 10px; background: var(--gold); color: var(--black); }
.ba-card figcaption {
  text-align: center;
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--ivory-dim);
}
.ba-nav {
  background: var(--black-soft);
  border: 1px solid var(--line);
  color: var(--gold);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.ba-nav:hover { background: var(--gold); color: var(--black); }

/* ============ WHY US ============ */
.why-us { padding: 90px 0; background: var(--ivory); }
.why-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.why-media img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 2.4/1;
  object-fit: cover;
}
.why-content {
  max-width: 760px;
}
.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}
.why-list li { font-size: 0.92rem; }

/* ============ JOURNEY ============ */
.journey { padding: 90px 0; background: var(--white); }
.journey-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}
.journey-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 32px;
  right: 32px;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--gold) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 140px;
  position: relative;
  z-index: 1;
}
.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--black);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 14px;
}
.step p { font-size: 0.82rem; margin: 0; color: var(--ink); }

/* ============ ARZT BIOGRAFIE ============ */
.doctor-bio { padding: 100px 0 110px; background: var(--ivory); overflow: hidden; }
.doctor-bio-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 72px;
  align-items: center;
}

/* --- media / photo collage --- */
.doctor-bio-media {
  position: relative;
  padding: 18px 34px 34px 0;
}
.doctor-bio-media::before {
  content: '';
  position: absolute;
  top: 0;
  left: -18px;
  width: 100%;
  height: 100%;
  border: 1.5px solid var(--gold);
  border-radius: 18px;
  z-index: 0;
}
.doctor-bio-media-main {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 34px 60px -24px rgba(17, 17, 16, 0.35);
}
.doctor-bio-media-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.doctor-bio-media-accent {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  border: 7px solid var(--ivory);
  box-shadow: 0 26px 48px -18px rgba(17, 17, 16, 0.4);
}
.doctor-bio-media-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- content --- */
.doctor-bio-content .eyebrow { margin-bottom: 12px; }
.doctor-bio-content .section-title { margin-bottom: 22px; }
.doctor-bio-lead {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--black);
  line-height: 1.5;
  margin: 0 0 24px;
}
.doctor-bio-content p {
  font-size: 0.96rem;
  line-height: 1.85;
  color: var(--ink-light);
  margin: 0 0 20px;
}
.doctor-bio-content p strong { color: var(--ink); font-weight: 700; }
.doctor-bio-closing {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--black);
  line-height: 1.6;
  margin: 30px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

@media (max-width: 880px) {
  .doctor-bio { padding: 70px 0 60px; }
  .doctor-bio-grid { grid-template-columns: 1fr; gap: 20px; }
  .doctor-bio-media {
    padding: 12px 26px 56px 0;
    max-width: 420px;
    margin: 0 auto;
  }
  .doctor-bio-media::before { left: -10px; border-radius: 14px; }
  .doctor-bio-media-main img { height: 320px; }
  .doctor-bio-media-accent { width: 48%; right: 0; bottom: 0; border-width: 6px; }
  .doctor-bio-content { text-align: left; }
}

@media (max-width: 640px) {
  .doctor-bio { padding: 56px 0 48px; }
  .doctor-bio-media { padding: 10px 20px 48px 0; max-width: 320px; }
  .doctor-bio-media-main img { height: 260px; }
  .doctor-bio-media-accent { width: 50%; right: 0; bottom: 0; border-width: 5px; }
  .doctor-bio-lead { font-size: 1.12rem; }
  .doctor-bio-content p { font-size: 0.92rem; line-height: 1.8; }
}

/* ============ NETWORK / PARTNER SECTION ============ */
.network {
  background: var(--black);
  padding: 90px 0 60px;
}
.network-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: start;
}
.network-media {
  position: sticky;
  top: 100px;
}
.network-media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.network-media-frame img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}
.network-media-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 46px 26px 22px;
  background: linear-gradient(0deg, rgba(17,17,16,0.92) 0%, rgba(17,17,16,0.55) 55%, rgba(17,17,16,0) 100%);
}
.network-media-rule {
  display: block;
  width: 34px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 12px;
}
.network-media-overlay p {
  margin: 0;
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.45;
}
.network .eyebrow { color: var(--gold-light); }
.network .section-title { color: var(--white); margin-bottom: 32px; }

.network-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.network-card {
  background: var(--anthracite);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
}
.network-card.full { grid-column: 1 / -1; }
.network-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.network-card-icon { font-size: 1.2rem; line-height: 1; }
.network-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0;
}
.network-card p {
  color: var(--ivory-dim);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}
.network-card address {
  font-style: normal;
  color: var(--gold-light);
  font-size: 0.85rem;
  margin-top: 8px;
  display: block;
}

@media (max-width: 1024px) {
  .network-grid { grid-template-columns: 1fr; gap: 36px; }
  .network-media { position: static; }
  .network-media-frame img { height: 320px; }
}
@media (max-width: 640px) {
  .network-cards { grid-template-columns: 1fr; }
}

/* ============ TEAM ============ */
.team { background: var(--black); padding: 90px 0; }
.team-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}
.team .section-title { color: var(--white); margin-bottom: 4px; }
.team-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.team-slider {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.team-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  flex: 1;
  min-width: 0;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.team-rail::-webkit-scrollbar { display: none; }
.team-card {
  margin: 0;
  flex: 0 0 calc((100% - 32px) / 3);
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  scroll-snap-align: start;
}
.team-nav {
  background: var(--black-soft);
  border: 1px solid var(--line);
  color: var(--gold);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.team-nav:hover { background: var(--gold); color: var(--black); }
.team-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.team-card figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  display: flex;
  flex-direction: column;
}
.team-card figcaption strong { color: var(--white); font-size: 1rem; }
.team-card figcaption span { color: var(--ivory-dim); font-size: 0.78rem; }
.team-card figcaption .signature {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-light);
  font-size: 1.1rem;
  margin-top: 6px;
}
.team-badges {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.badge { display: flex; align-items: center; gap: 16px; }
.badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.badge p { color: var(--ivory-dim); font-size: 0.82rem; margin: 0; }

/* ============ TESTIMONIALS ============ */
.testimonials { background: var(--ivory); padding: 90px 0; }
.reviews-header { margin-bottom: 40px; }
.stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; }
.stars.small { font-size: 0.85rem; }

.reviews-panel {
  background: var(--black);
  border-radius: var(--radius);
  padding: 36px;
  display: grid;
  grid-template-columns: 0.85fr 2fr;
  gap: 36px;
  align-items: center;
}

.reviews-side-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-decoration: none;
  color: var(--white);
}
.reviews-side .g-icon { display: inline-flex; }
.reviews-side .g-icon.small { display: inline-flex; vertical-align: middle; }
.clinic-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  line-height: 1.2;
}
.reviews-count {
  font-size: 0.78rem;
  color: var(--ivory-dim);
}
.reviews-cta {
  margin-top: 6px;
}

.reviews-carousel {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.reviews-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  flex: 1;
  min-width: 0;
  scrollbar-width: none;
}
.reviews-rail::-webkit-scrollbar { display: none; }
.reviews-nav {
  background: var(--black-soft);
  border: 1px solid var(--line);
  color: var(--gold);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.reviews-nav:hover { background: var(--gold); color: var(--black); }

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  flex: 0 0 calc((100% - 32px) / 3);
  scroll-snap-align: start;
}
.review-card header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.review-card .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.review-card header div { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.review-card header strong { font-size: 0.85rem; color: var(--black); }
.review-date { font-size: 0.7rem; color: var(--ink-light); }
.review-card .g-icon.small { margin-left: auto; flex-shrink: 0; }
.review-stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.review-stars .verified {
  color: #4285F4;
  font-size: 0.7rem;
  border: 1px solid #4285F4;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.review-card p {
  font-size: 0.82rem;
  color: var(--ink-light);
  line-height: 1.5;
  margin: 0;
}

/* ============ CONTACT ============ */
.contact { background: var(--black); padding: 80px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .ico { font-size: 1.3rem; flex-shrink: 0; }
.contact-item strong { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.05em; display: block; margin-bottom: 4px; }
.contact-item p { margin: 0; color: var(--ivory-dim); font-size: 0.88rem; }
.contact-map { margin-top: 10px; border-radius: var(--radius); overflow: hidden; }
.contact-map img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 20px;
  color: var(--black);
}
.form-row { display: flex; gap: 14px; margin-bottom: 14px; }
.contact-form input, .contact-form select, .contact-form textarea {
  flex: 1;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd6c8;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ink);
  background: var(--ivory);
}
.contact-form textarea { margin-bottom: 14px; resize: vertical; }
.form-upload {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--ink-light);
  margin-bottom: 20px;
  padding: 10px 14px;
  border: 1px dashed #ddd6c8;
  border-radius: var(--radius);
  cursor: pointer;
}
.optional { color: #aaa; }

/* ============ FOOTER ============ */
.site-footer { background: var(--black); border-top: 1px solid var(--line); padding: 24px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-logo { display: flex; flex-direction: column; line-height: 1; }
.copyright { color: var(--ink-light); font-size: 0.78rem; margin: 0; }
.social-icons { display: flex; gap: 14px; font-size: 1rem; }
.back-to-top {
  background: var(--gold);
  color: var(--black);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
}

/* data-replace hint badge — visual cue only, remove freely */
[data-replace] { position: relative; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--anthracite);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 16px 32px 24px;
    gap: 16px;
  }
  .main-nav.open { display: flex; }
  .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }

  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .consult-grid { grid-template-columns: repeat(2, 1fr); }

  .ba-rail { grid-template-columns: repeat(2, 1fr); }

  .team-grid { grid-template-columns: 1fr; }
  .team-card { flex: 0 0 calc((100% - 16px) / 2); }
  .reviews-panel { grid-template-columns: 1fr; }
  .reviews-side-link { align-items: center; text-align: center; }
  .review-card { flex: 0 0 calc((100% - 16px) / 2); }
  .contact-grid { grid-template-columns: 1fr; }

  .journey-steps { flex-wrap: wrap; gap: 30px; justify-content: center; }
  .journey-steps::before { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .consult-grid { grid-template-columns: 1fr; }
  .ba-rail { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
  .why-list { grid-template-columns: 1fr; }
  .team-card { flex: 0 0 calc(100% - 30px); }
  .reviews-panel { padding: 24px; }
  .review-card { flex: 0 0 calc(100% - 30px); }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ============ MOBILE STICKY CONTACT BAR ============ */
.mobile-bar {
  display: none;
}

@media (max-width: 1024px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }

  .mobile-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    background: linear-gradient(180deg, var(--anthracite-soft) 0%, var(--anthracite) 100%);
    border-top: 1px solid rgba(201, 163, 104, 0.35);
    box-shadow: 0 -10px 24px -14px rgba(0, 0, 0, 0.45);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 4px 9px;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--ivory);
    text-align: center;
    position: relative;
  }
  .mobile-bar-item .ico { font-size: 1.15rem; line-height: 1; }
  .mobile-bar-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background: rgba(247, 244, 238, 0.12);
  }
  .mobile-bar-item--accent {
    color: var(--black);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    margin: 6px;
    border-radius: var(--radius);
    flex: 1.1;
  }
  .mobile-bar-item--accent::after { display: none; }
}