/* ==========================================================================
   Gerstejn KFZ-Meisterbetrieb — Stylesheet
   ========================================================================== */

:root {
  --bg: #0a0a0d;
  --bg-alt: #121216;
  --bg-card: #17171c;
  --border: #29292f;
  --text: #f2f1ec;
  --text-muted: #a9a8b0;
  --gold: #cc9d4e;
  --gold-light: #e8c789;
  --blue: #3fa9ff;
  --red: #ff3b3b;
  --radius: 14px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --max-width: 1180px;
  --font-head: "Rajdhani", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 1em;
  color: var(--text-muted);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  display: inline-block;
}

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  color: #fff;
}

section {
  padding: 96px 0;
  position: relative;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  max-width: 100%;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #1a1206;
  box-shadow: 0 10px 30px -10px rgba(204, 157, 78, 0.6);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -10px rgba(204, 157, 78, 0.75);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(242, 241, 236, 0.28);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}

.btn-small {
  padding: 10px 18px;
  font-size: 0.85rem;
}

.btn-whatsapp {
  background: transparent;
  border-color: #25d366;
  color: #25d366;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  background: rgba(37, 211, 102, 0.1);
  border-color: #2ee375;
  color: #2ee375;
}

.btn-outline-gold {
  background: transparent;
  border-color: rgba(204, 157, 78, 0.55);
  color: var(--gold-light);
}

.btn-outline-gold:hover {
  transform: translateY(-2px);
  background: rgba(204, 157, 78, 0.1);
  border-color: var(--gold-light);
  color: #fff;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(10, 10, 13, 0.92);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  border-bottom-color: var(--border);
}

.site-header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.main-nav {
  grid-column: 2;
  justify-self: center;
}

.header-cta {
  grid-column: 3;
  justify-self: end;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
}

.brand img {
  height: 42px;
  width: 42px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(204, 157, 78, 0.4);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  color: #fff;
}

.brand-text span {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  white-space: nowrap;
}

@media (max-width: 400px) {
  .brand-text span {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
  }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: #fff;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}

.header-phone svg {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 18% 10%, rgba(63, 169, 255, 0.16), transparent 60%),
    radial-gradient(ellipse 70% 55% at 85% 100%, rgba(255, 59, 59, 0.14), transparent 60%),
    linear-gradient(180deg, #08080a, #0a0a0d 60%, #0a0a0d);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black, transparent 75%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 56px;
  align-items: center;
}

.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(23, 23, 28, 0.7);
  border: 1px solid var(--border);
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  margin-bottom: 26px;
  font-size: 0.86rem;
}

.hero-rating .stars {
  color: var(--gold);
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.hero-rating strong {
  color: #fff;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  color: #fff;
  margin-bottom: 22px;
}

.hero h1 .accent {
  background: linear-gradient(120deg, var(--gold-light), var(--gold) 45%, var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.12rem;
  max-width: 46ch;
  color: var(--text-muted);
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.hero-meta div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-meta svg {
  flex-shrink: 0;
  color: var(--gold);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual .glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle at 50% 45%, rgba(204, 157, 78, 0.28), transparent 62%);
  filter: blur(10px);
  z-index: 0;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  border: 1px solid rgba(204, 157, 78, 0.35);
  box-shadow: var(--shadow);
  max-width: 640px;
  width: 100%;
}

.hero-badge {
  position: absolute;
  z-index: 2;
  bottom: -22px;
  left: -18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-badge .num {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold-light);
}

.hero-badge .label {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ---------- Hero v2 (redesign, matches reference layout) ---------- */

.hero-v2 {
  padding: 160px 0 0;
  align-items: stretch;
}

.hero-v2 .container {
  display: block;
  position: relative;
  max-width: none;
  padding-left: clamp(24px, 5vw, 90px);
  padding-right: 24px;
}

.hero-v2 .hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 0 0 130px;
}

.hero-logo {
  width: min(540px, 95%);
  aspect-ratio: 736 / 493;
  height: auto;
  margin-top: -20px;
  margin-bottom: 22px;
}

.hero-headline {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-transform: uppercase;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 20px;
}

.hero-headline .accent {
  color: var(--gold-light);
  font-style: italic;
}

.hero-v2 .hero-lead {
  max-width: 42ch;
}

.header-cta .btn,
.hero-v2 .hero-actions .btn {
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 56%;
  overflow: hidden;
  z-index: 1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(10, 10, 13, 0.55) 12%, transparent 34%);
  z-index: 1;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--bg) 0%, transparent 24%);
  z-index: 1;
}

/* ---------- Trust bar ---------- */

.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 26px 0;
}

.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.trust-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

.trust-item strong {
  color: #fff;
}

/* ---------- Services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(204, 157, 78, 0.5);
  background: #1b1b21;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(204, 157, 78, 0.18), rgba(63, 169, 255, 0.12));
  color: var(--gold-light);
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1.08rem;
  color: #fff;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ---------- Leistungen v2 (flat outline style, matches reference) ---------- */

.services-label {
  text-align: center;
  color: var(--gold-light);
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.95rem;
  margin: 0 0 56px;
}

.services-grid-flat {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px 24px;
}

.service-flat {
  text-align: center;
}

.service-flat-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
}

.service-flat-icon svg {
  width: 100%;
  height: 100%;
}

.service-flat h3 {
  color: #fff;
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.service-flat p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* ---------- About ---------- */

.about {
  background: var(--bg-alt);
}

.about .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.about-media .frame {
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgba(204, 157, 78, 0.4);
  border-radius: var(--radius);
  z-index: -1;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0 34px;
}

.about-value {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.about-value svg {
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 3px;
}

.about-value h4 {
  font-size: 0.98rem;
  color: #fff;
  margin-bottom: 4px;
}

.about-value p {
  font-size: 0.88rem;
  margin-bottom: 0;
}

.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.team-chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.team-chip strong {
  color: #fff;
  font-weight: 600;
}

/* ---------- Reviews ---------- */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 0.95rem;
}

.review-card p {
  color: var(--text);
  font-size: 0.96rem;
  margin-bottom: 0;
  flex-grow: 1;
}

.review-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.review-foot strong {
  color: #fff;
  display: block;
  font-size: 0.9rem;
}

.reviews-cta {
  margin-top: 44px;
  text-align: center;
}

/* ---------- Contact ---------- */

.contact {
  background: var(--bg-alt);
}

.contact .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.contact-row {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.contact-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-row:first-child {
  padding-top: 0;
}

.contact-row svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-row h4 {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-body);
}

.contact-row a,
.contact-row span {
  color: #fff;
  font-size: 1rem;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 6px;
}

.hours-table td {
  padding: 4px 0;
  font-size: 0.94rem;
  color: var(--text);
}

.hours-table td:last-child {
  text-align: right;
  color: var(--text-muted);
}

.hours-table tr.today td {
  color: var(--gold-light);
  font-weight: 600;
}

.contact-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 340px;
  filter: grayscale(0.4) contrast(1.05);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  display: block;
}

.map-placeholder {
  height: 100%;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 30px;
  background:
    radial-gradient(ellipse 60% 60% at 50% 40%, rgba(63, 169, 255, 0.1), transparent 70%),
    var(--bg-card);
}

.map-placeholder svg {
  color: var(--gold);
  margin-bottom: 4px;
}

.map-placeholder p {
  color: #fff;
  font-weight: 600;
  margin-bottom: 4px;
}

.map-hint {
  max-width: 34ch;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(120deg, #14100a, #0a0a0d 60%, #0a1420);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  margin-bottom: 14px;
}

.cta-band p {
  max-width: 50ch;
  margin: 0 auto 30px;
}

.cta-band .btn-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 64px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 34ch;
  font-size: 0.92rem;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.footer-col h4 {
  color: #fff;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.94rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 26px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
}

.footer-bottom a:hover {
  color: var(--gold-light);
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Team page hero ---------- */

.team-hero {
  padding: 160px 0 30px;
  text-align: center;
}

.team-hero .eyebrow {
  justify-content: center;
}

.team-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}

.team-hero p {
  max-width: 56ch;
  margin: 0 auto;
}

/* ---------- Org chart ---------- */

.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 24px 40px;
}

.org-node {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  text-align: center;
  width: 220px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.org-node:hover {
  transform: translateY(-4px);
  border-color: rgba(204, 157, 78, 0.5);
}

.org-photo {
  position: relative;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 90% 70% at 50% 20%, rgba(255, 255, 255, 0.06), transparent 65%),
    linear-gradient(160deg, #24242b, #101013);
}

.org-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -50px 40px -20px rgba(0, 0, 0, 0.55);
}

.org-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.org-initials {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.6rem;
  letter-spacing: 0.02em;
}

.org-photo.tier-1 { background: radial-gradient(ellipse 90% 70% at 50% 15%, rgba(232, 199, 137, 0.16), transparent 65%), linear-gradient(160deg, #2a2115, #14100a); }
.org-photo.tier-1 .org-initials { color: var(--gold-light); }

.org-photo.tier-2 { background: radial-gradient(ellipse 90% 70% at 50% 15%, rgba(86, 184, 255, 0.16), transparent 65%), linear-gradient(160deg, #17232c, #0c1216); }
.org-photo.tier-2 .org-initials { color: #8cc9ff; }

.org-photo.tier-3 { background: radial-gradient(ellipse 90% 70% at 50% 15%, rgba(255, 255, 255, 0.08), transparent 65%), linear-gradient(160deg, #24242b, #101013); }
.org-photo.tier-3 .org-initials { color: #d8d8dc; }

.org-photo.tier-4 { background: radial-gradient(ellipse 90% 70% at 50% 15%, rgba(63, 169, 255, 0.1), transparent 65%), linear-gradient(160deg, #1e1e24, #101013); }
.org-photo.tier-4 .org-initials { color: #a9a8b0; }

.org-photo.tier-partner { background: radial-gradient(ellipse 90% 70% at 50% 15%, rgba(255, 59, 59, 0.14), transparent 65%), linear-gradient(160deg, #241615, #130c0c); }
.org-photo.tier-partner .org-initials { color: #ff9b8a; font-size: 2.1rem; }

.org-body {
  padding: 20px 16px 26px;
}

.org-node h3 {
  color: #fff;
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.org-role {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.org-sub {
  display: block;
  font-size: 0.74rem;
  color: #ff9b8a;
  margin: -8px 0 14px;
}

.org-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--gold-light);
}

.org-icon svg {
  width: 100%;
  height: 100%;
}

.org-icon.tier-2 { color: #8cc9ff; }
.org-icon.tier-3 { color: #d8d8dc; }
.org-icon.tier-4 { color: #a9a8b0; }
.org-icon.tier-partner { color: #ff9b8a; }

.org-connector {
  width: 2px;
  height: 44px;
  background: linear-gradient(180deg, var(--border), rgba(204, 157, 78, 0.45));
}

.org-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 24px;
  margin-top: 44px;
  padding-top: 40px;
  border-top: 2px solid var(--border);
  max-width: 1080px;
}

.org-node-wrap {
  position: relative;
}

.org-node-wrap::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 40px;
  background: var(--border);
}

.org-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin-top: 20px;
  padding: 18px 26px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
}

.org-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.org-legend .org-icon {
  width: 15px;
  height: 15px;
}

.partner-section {
  margin-top: 68px;
  padding-top: 52px;
  border-top: 1px solid var(--border);
}

.partner-section .section-head p {
  color: var(--text-muted);
}

.partner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.photo-note {
  max-width: 46ch;
  margin: 34px auto 0;
  text-align: center;
  font-size: 0.86rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .org-row {
    gap: 34px 16px;
    padding-top: 34px;
    margin-top: 34px;
  }

  .org-node-wrap::before {
    top: -34px;
    height: 34px;
  }
}

/* ---------- Simple legal pages ---------- */

.legal {
  padding: 160px 0 100px;
  max-width: 820px;
}

.legal h1 {
  color: #fff;
  font-size: 2.1rem;
  margin-bottom: 30px;
}

.legal h2 {
  color: #fff;
  font-size: 1.25rem;
  margin-top: 36px;
}

.legal p, .legal li {
  color: var(--text-muted);
}

.legal a {
  color: var(--gold-light);
}

.legal ul {
  padding-left: 20px;
  list-style: disc;
}

.legal ul li {
  margin-bottom: 6px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.back-link:hover {
  color: var(--gold-light);
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .main-nav,
  .header-phone {
    display: none;
  }

  .header-cta .btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    margin-bottom: 20px;
  }

  .hero-visual img {
    max-width: 440px;
  }

  .hero-v2 {
    display: block;
    min-height: auto;
    padding: 130px 0 0;
  }

  .hero-v2 .container {
    padding-top: 0;
  }

  .hero-v2 .hero-content {
    max-width: 100%;
    padding: 30px 0 0;
  }

  .hero-media {
    position: static;
    width: 100%;
    height: 320px;
    margin-top: 34px;
    border-radius: 14px;
  }

  .hero-media::before {
    display: none;
  }

  .about .container {
    grid-template-columns: 1fr;
  }

  .about-media {
    max-width: 420px;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid-flat {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .contact .container {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  section {
    padding: 72px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-grid-flat {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-meta {
    flex-direction: column;
    gap: 12px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .hero-badge {
    left: 0;
    right: 0;
    margin: 0 auto;
  }
}

/* ---------- Mobile nav drawer ---------- */

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(8, 8, 10, 0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateY(-100%);
  transition: transform 0.35s ease;
}

.mobile-nav.open {
  transform: translateY(0);
}

.mobile-nav a {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.mobile-nav .btn {
  margin-top: 10px;
}
