/* ==========================================================
   Kancelaria Radcy Prawnego dr Agnieszka Bednarczyk-Płachta
   style.css — wersja prototyp
   ========================================================== */

/* ─── 1. ZMIENNE ─────────────────────────────────────────── */
:root {
  --c-dark:        #0c0c1e;
  --c-dark-2:      #12122a;
  --c-gold:        #c9a84c;
  --c-gold-light:  #e0c47a;
  --c-gold-dim:    rgba(201, 168, 76, 0.15);
  --c-light:       #f8f7f4;
  --c-light-2:     #edecea;
  --c-text-light:  #f0f0ef;
  --c-text-muted:  #8a8aa0;
  --c-text-dark:   #1a1a2a;
  --c-text-mid:    #4a4a60;
  --c-border-gold: rgba(201, 168, 76, 0.25);

  --ff-heading: 'Playfair Display', Georgia, serif;
  --ff-body:    'Lato', 'Helvetica Neue', sans-serif;

  --fw-light:  300;
  --fw-normal: 400;
  --fw-bold:   700;

  --spacing-section: 100px;
  --max-w: 1200px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.35s var(--ease);
}

/* ─── 2. RESET & BAZA ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--ff-body);
  font-weight: var(--fw-normal);
  background: var(--c-dark);
  color: var(--c-text-light);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── 3. TYPOGRAFIA ──────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--ff-heading);
  font-weight: var(--fw-bold);
  line-height: 1.2;
}

.section-label {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--c-gold);
  display: block;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

.section-title--light { color: var(--c-text-light); }
.section-title--dark  { color: var(--c-text-dark); }

/* ─── 4. PRZYCISKI ───────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 15px 42px;
  border: 1px solid var(--c-gold);
  color: var(--c-gold);
  background: transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-gold);
  transform: translateX(-105%);
  transition: transform var(--transition);
  z-index: 0;
}

.btn:hover::before { transform: translateX(0); }
.btn:hover { color: var(--c-dark); }
.btn span { position: relative; z-index: 1; }

.btn--solid {
  background: var(--c-gold);
  color: var(--c-dark);
}
.btn--solid::before { background: var(--c-gold-light); }
.btn--solid:hover { color: var(--c-dark); }

/* ─── 5. LAYOUT HELPERS ──────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

.section { padding: var(--spacing-section) 0; }
.section--dark  { background: var(--c-dark); }
.section--dark2 { background: var(--c-dark-2); }
.section--light { background: var(--c-light); color: var(--c-text-dark); }

/* Złota linia dekoracyjna */
.gold-line {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--c-gold);
  margin: 1.5rem 0;
}

/* ─── 6. NAWIGACJA ───────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 28px 0;
  transition: background var(--transition), padding var(--transition), backdrop-filter var(--transition);
}

.nav.scrolled {
  background: rgba(12, 12, 30, 0.97);
  backdrop-filter: blur(12px);
  padding: 18px 0;
  border-bottom: 1px solid var(--c-border-gold);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--ff-heading);
  font-size: 1.05rem;
  font-weight: var(--fw-bold);
  color: var(--c-text-light);
  line-height: 1.3;
}

.nav__logo span {
  display: block;
  font-family: var(--ff-body);
  font-size: 0.65rem;
  font-weight: var(--fw-normal);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-top: 2px;
}

.nav__links {
  display: flex;
  gap: 42px;
  align-items: center;
}

.nav__links a {
  font-size: 0.72rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--c-gold);
  transition: width var(--transition);
}

.nav__links a:hover,
.nav__links a.active { color: var(--c-text-light); }
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  font-size: 0.7rem !important;
  padding: 10px 26px;
  border: 1px solid var(--c-border-gold);
  color: var(--c-gold) !important;
  transition: background var(--transition), border-color var(--transition) !important;
}

.nav__cta:hover {
  background: var(--c-gold-dim);
  border-color: var(--c-gold) !important;
}

.nav__cta::after { display: none !important; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--c-text-light);
  transition: var(--transition);
}

/* ─── 7. HERO ────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: var(--c-dark);
  position: relative;
  overflow: hidden;
}

/* Subtelna siatka w tle */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.hero__content {
  padding: 140px 40px 100px 80px;
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  color: var(--c-text-light);
  line-height: 1.1;
  margin-bottom: 1.8rem;
}

.hero__title em {
  font-style: italic;
  color: var(--c-gold);
}

.hero__tagline {
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: var(--fw-light);
  color: var(--c-text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}

.hero__divider {
  width: 48px;
  height: 1px;
  background: var(--c-gold);
  margin: 2rem 0;
}

.hero__desc {
  font-size: 0.95rem;
  color: var(--c-text-muted);
  max-width: 440px;
  line-height: 1.8;
  margin-bottom: 3rem;
}

.hero__actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 80px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.hero__scroll::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--c-border-gold);
}

/* Zdjęcie w hero */
.hero__photo-wrap {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Delikatna poświata za zdjęciem */
.hero__photo-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 60% 50%, rgba(201,168,76,0.05) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.hero__photo {
  width: 370px;
  height: 370px;
  object-fit: cover;
  object-position: center 8%;
  position: relative;
  z-index: 2;
  box-shadow:
    0 0 0 1px rgba(201, 168, 76, 0.4),
    14px 14px 0 rgba(201, 168, 76, 0.08),
    0 24px 60px rgba(0, 0, 0, 0.65);
}

/* Złoty akcent pionowy */
.hero__accent {
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 2px;
  background: linear-gradient(transparent, var(--c-gold), transparent);
  z-index: 3;
}

/* ─── 8. O KANCELARII ────────────────────────────────────── */
.about {
  background: var(--c-light);
  color: var(--c-text-dark);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__text p {
  font-size: 1rem;
  color: var(--c-text-mid);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.about__text p:last-child { margin-bottom: 0; }

.about__highlight {
  font-size: 1.4rem !important;
  font-family: var(--ff-heading) !important;
  font-style: italic;
  color: var(--c-text-dark) !important;
  font-weight: var(--fw-normal) !important;
}

.about__visual {
  position: relative;
}

.about__card {
  background: var(--c-dark);
  color: var(--c-text-light);
  padding: 40px;
  position: relative;
}

.about__card::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: 8px;
  bottom: 8px;
  border: 1px solid var(--c-border-gold);
  pointer-events: none;
}

.about__card-title {
  font-size: 2.5rem;
  color: var(--c-gold);
  font-family: var(--ff-heading);
  margin-bottom: 0.5rem;
}

.about__card-sub {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.about__card-list {
  margin-top: 2rem;
}

.about__card-list li {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  gap: 12px;
}

.about__card-list li::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--c-gold);
  flex-shrink: 0;
}

/* ─── 9. SPECJALIZACJE ───────────────────────────────────── */
.specializations { background: var(--c-dark-2); }

.specializations__header {
  text-align: center;
  margin-bottom: 60px;
}

.specializations__header .section-label { justify-content: center; display: flex; }

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

.spec-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  padding: 48px 36px;
  transition: background var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.spec-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.spec-card:hover {
  background: rgba(201, 168, 76, 0.05);
  border-color: var(--c-border-gold);
}

.spec-card:hover::before { transform: scaleX(1); }

.spec-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spec-card__icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--c-gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.spec-card__title {
  font-family: var(--ff-heading);
  font-size: 1.15rem;
  color: var(--c-text-light);
  margin-bottom: 0.8rem;
}

.spec-card__desc {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  line-height: 1.8;
}

/* ─── 10. LICZBY / STATYSTYKI ────────────────────────────── */
.stats { background: var(--c-dark); border-top: 1px solid var(--c-border-gold); border-bottom: 1px solid var(--c-border-gold); }

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  padding: 60px 40px;
  text-align: center;
  border-right: 1px solid var(--c-border-gold);
  position: relative;
}

.stat-item:last-child { border-right: none; }

.stat-item__number {
  font-family: var(--ff-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--c-gold);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-item__label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  line-height: 1.5;
}

/* ─── 11. TICKER PROJEKTÓW ───────────────────────────────── */
.ticker {
  background: var(--c-gold);
  color: var(--c-dark);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
}

.ticker__track {
  display: flex;
  gap: 0;
  animation: ticker-scroll 28s linear infinite;
  white-space: nowrap;
}

.ticker:hover .ticker__track { animation-play-state: paused; }

.ticker__item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 48px;
  font-size: 0.78rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.ticker__item-name {
  color: rgba(12, 12, 30, 0.75);
}

.ticker__item-value {
  color: var(--c-dark);
  font-size: 0.9rem;
}

.ticker__item-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(12, 12, 30, 0.35);
  flex-shrink: 0;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── 12. KONTAKT ────────────────────────────────────────── */
.contact { background: var(--c-dark-2); }

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__info { }

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}

.contact__detail-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--c-border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__detail-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--c-gold);
  fill: none;
  stroke-width: 1.5;
}

.contact__detail-label {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 4px;
}

.contact__detail-value {
  font-size: 0.95rem;
  color: var(--c-text-light);
  line-height: 1.6;
}

/* Formularz */
.contact__form { }

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--c-text-light);
  font-family: var(--ff-body);
  font-size: 0.9rem;
  padding: 14px 18px;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  resize: none;
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--c-text-muted); }

.form-input:focus,
.form-textarea:focus {
  border-color: var(--c-gold);
  background: rgba(201, 168, 76, 0.04);
}

.form-textarea { height: 130px; }

.form-privacy {
  font-size: 0.75rem;
  color: var(--c-text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.form-privacy a { color: var(--c-gold); }

/* ─── 13. FOOTER ─────────────────────────────────────────── */
.footer {
  background: #060610;
  padding: 50px 0 30px;
  border-top: 1px solid var(--c-border-gold);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__logo {
  font-family: var(--ff-heading);
  font-size: 1rem;
  color: var(--c-text-light);
}

.footer__logo span {
  display: block;
  font-family: var(--ff-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-top: 4px;
}

.footer__links {
  display: flex;
  gap: 32px;
}

.footer__links a {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--c-gold); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.72rem;
  color: var(--c-text-muted);
}

.footer__oirp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-gold);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

/* ─── 14. STRONA: O DR AGNIESZCE ─────────────────────────── */
.page-hero {
  min-height: 45vh;
  background: var(--c-dark);
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  padding-top: 140px;
  border-bottom: 1px solid var(--c-border-gold);
}

.page-hero__content { }

.page-hero__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 1.2rem;
  display: block;
}

.page-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: var(--c-text-light);
}

/* Bio */
.bio {
  background: var(--c-light);
  color: var(--c-text-dark);
}

.bio__inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}

.bio__photo-wrap {
  position: sticky;
  top: 100px;
}

.bio__photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.bio__photo-caption {
  background: var(--c-dark);
  color: var(--c-text-light);
  padding: 20px 24px;
}

.bio__photo-name {
  font-family: var(--ff-heading);
  font-size: 1rem;
  margin-bottom: 4px;
}

.bio__photo-title {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.bio__text p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--c-text-mid);
  margin-bottom: 1.4rem;
}

/* Timeline */
.timeline { background: var(--c-dark); }

.timeline__list { }

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0 40px;
  position: relative;
  padding-bottom: 48px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 155px;
  top: 10px;
  bottom: 0;
  width: 1px;
  background: var(--c-border-gold);
}

.timeline-item:last-child::before { display: none; }

.timeline-item__year {
  font-family: var(--ff-heading);
  font-size: 0.85rem;
  color: var(--c-gold);
  text-align: right;
  padding-top: 2px;
  font-style: italic;
}

.timeline-item__dot {
  position: absolute;
  left: 148px;
  top: 8px;
  width: 16px;
  height: 16px;
  border: 1px solid var(--c-gold);
  background: var(--c-dark);
  transform: rotate(45deg);
  z-index: 1;
}

.timeline-item__content { padding-left: 36px; }

.timeline-item__title {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  color: var(--c-text-light);
  margin-bottom: 6px;
}

.timeline-item__org {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 12px;
}

.timeline-item__desc {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  line-height: 1.8;
}

/* Publikacje */
.publications { background: var(--c-dark-2); }

.pub-card {
  border: 1px solid var(--c-border-gold);
  padding: 40px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
  transition: background var(--transition);
}

.pub-card:hover { background: var(--c-gold-dim); }

.pub-card__year {
  font-family: var(--ff-heading);
  font-size: 2rem;
  color: var(--c-gold);
  font-style: italic;
  line-height: 1;
  text-align: center;
  padding-top: 4px;
}

.pub-card__label {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 8px;
}

.pub-card__title {
  font-family: var(--ff-heading);
  font-size: 1.05rem;
  color: var(--c-text-light);
  margin-bottom: 8px;
  line-height: 1.4;
}

.pub-card__publisher {
  font-size: 0.8rem;
  color: var(--c-text-muted);
}

/* Wyróżnienia */
.awards { background: var(--c-dark); }

.award-item {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.award-item:last-child { border-bottom: none; }

.award-item__num {
  font-family: var(--ff-heading);
  font-size: 3rem;
  color: var(--c-border-gold);
  font-style: italic;
  line-height: 1;
  flex-shrink: 0;
  width: 60px;
}

.award-item__title {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  color: var(--c-text-light);
  margin-bottom: 6px;
}

.award-item__sub {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  letter-spacing: 0.05em;
}

/* ─── 15. ANIMACJE SCROLL ────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }

/* ─── 16. RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }

  .hero__photo-wrap {
    position: absolute;
    right: 0;
    top: 0;
    width: 45%;
    opacity: 0.3;
  }

  .hero__content { padding: 140px 40px 100px 40px; }

  .about__inner { grid-template-columns: 1fr; gap: 48px; }
  .specializations__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-bottom: 1px solid var(--c-border-gold); }
  .stat-item:nth-child(even) { border-right: none; }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .bio__inner { grid-template-columns: 1fr; }
  .bio__photo-wrap { position: static; max-width: 340px; }
}

@media (max-width: 768px) {
  :root { --spacing-section: 70px; }

  .container { padding: 0 24px; }

  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .hero__content { padding: 120px 24px 80px; }
  .hero__scroll { left: 24px; }

  .specializations__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .footer__inner { flex-direction: column; gap: 24px; }
  .footer__links { flex-wrap: wrap; gap: 16px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }

  .timeline-item { grid-template-columns: 100px 1fr; }
  .timeline-item::before { left: 115px; }
  .timeline-item__dot { left: 108px; }

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