:root {
  --navy-900: #060e1a;
  --navy-800: #0a1628;
  --navy-700: #0d1e36;
  --navy-600: #122035;
  --navy-500: #1a3050;
  --navy-400: #254468;
  --gold:     #c9a84c;
  --gold-lt:  #e8cf82;
  --gold-dk:  #a07828;
  --slate:    #8fa3b8;
  --slate-lt: #c4d3e0;
  --white:    #ffffff;
  --bg:       #f4f7fb;
  --bg2:      #eaeef5;
  --text:     #1a2535;
  --text-2:   #4b5f74;
  --danger:   #e05252;
  --success:  #27a96b;

  --primary:      var(--navy-700);
  --primary-dark: var(--navy-800);
  --accent:       var(--gold);

  --radius:    10px;
  --radius-lg: 18px;
  --shadow:    0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.18);
  --transition: 0.22s ease;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font: inherit; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  background: var(--navy-800);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(201,168,76,0.12);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 24px;
}
.logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo span { color: var(--gold); }

.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__list a {
  color: var(--slate-lt);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav__list a:hover,
.nav__list a.active { color: var(--gold); background: rgba(201,168,76,0.08); }
.nav__list .nav-btn {
  background: var(--gold);
  color: var(--navy-900);
  font-weight: 700;
  border-radius: 8px;
}
.nav__list .nav-btn:hover { background: var(--gold-lt); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-900);
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-lt); border-color: var(--gold-lt); }

.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-outline-dark {
  background: transparent;
  color: var(--navy-700);
  border-color: #c5d0e0;
}
.btn-outline-dark:hover { background: var(--navy-700); color: var(--white); border-color: var(--navy-700); }

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; }
.btn-danger { background: var(--danger); color: var(--white); border-color: var(--danger); }

.hero {
  background: linear-gradient(140deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--navy-500) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 500px at 85% 50%, rgba(201,168,76,0.05) 0%, transparent 65%),
    radial-gradient(ellipse 500px 600px at 5% 90%, rgba(26,48,80,0.5) 0%, transparent 60%);
  pointer-events: none;
}
.hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 72px 0 52px;
  flex: 1;
}
.hero__text { position: relative; z-index: 1; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.13;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.hero__title em { color: var(--gold); font-style: normal; }
.hero__subtitle {
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 1.72;
  margin-bottom: 36px;
  max-width: 450px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__image { position: relative; z-index: 1; }
.hero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  backdrop-filter: blur(8px);
}
.hero-card h2 { font-size: 1.3rem; color: var(--white); margin-bottom: 10px; font-weight: 700; }
.hero-card p { color: var(--slate); margin-bottom: 24px; font-size: 0.92rem; }
.hero-card ul { display: flex; flex-direction: column; gap: 14px; }
.hero-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--slate-lt);
  font-size: 0.92rem;
}
.hero-card li::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-stats { background: rgba(0,0,0,0.2); border-top: 1px solid rgba(255,255,255,0.05); }
.hero-stats__inner { display: flex; }
.hero-stat {
  flex: 1;
  padding: 28px 20px;
  border-right: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}
.hero-stat:last-child { border-right: none; }
.hero-stat__value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat__label {
  font-size: 0.78rem;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.page-hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-600) 100%);
  padding: 48px 0 36px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
}
.page-hero__title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.page-hero__subtitle { font-size: 1rem; color: var(--slate); max-width: 480px; }

.section { padding: 60px 0; }
.section--light { background: var(--bg); }
.section--dark { background: var(--navy-800); }
.section--dark .section-title,
.section--dark h2 { color: var(--white); }
.section--dark p { color: var(--slate); }
.section--white { background: var(--white); }

.section-title {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.section-title--center { text-align: center; }
.section-lead {
  color: var(--text-2);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 32px;
  text-align: center;
}

.section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.section__flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.section__item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--bg2);
  transition: box-shadow var(--transition), transform var(--transition);
}
.section__item:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.section__item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.section__item p { color: var(--text-2); font-size: 0.9rem; }

.section__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--bg2);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: box-shadow var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow); }
.stat-card__value {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-dk);
  margin-bottom: 6px;
  line-height: 1;
}
.stat-card__label {
  font-size: 0.8rem;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.stat-card--large .stat-card__value { font-size: 2.8rem; }
.stat-card--dark {
  background: var(--navy-600);
  border-color: rgba(201,168,76,0.15);
}
.stat-card--dark .stat-card__value { color: var(--gold); }
.stat-card--dark .stat-card__label { color: var(--slate); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--bg2);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--gold);
}
.service-card__title { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.service-card__desc {
  color: var(--text-2);
  font-size: 0.88rem;
  line-height: 1.65;
  flex: 1;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy-500);
  font-size: 0.88rem;
  font-weight: 700;
  margin-top: 4px;
  transition: color var(--transition), gap var(--transition);
}
.service-card:hover .service-card__link { color: var(--gold-dk); gap: 10px; }

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.about__text h2 { font-size: 1.9rem; font-weight: 800; margin-bottom: 18px; }
.about__text p { color: var(--text-2); margin-bottom: 14px; line-height: 1.7; }
.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about__stats .stat-card:first-child { grid-column: 1 / -1; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.team-member {
  background: var(--white);
  border: 1px solid var(--bg2);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.team-member:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.team-member__avatar {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-500));
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto 16px;
}
.team-member h3 { font-size: 1rem; font-weight: 700; margin-bottom: 5px; }
.team-member__role {
  font-size: 0.78rem;
  color: var(--gold-dk);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.team-member p:last-child { font-size: 0.86rem; color: var(--text-2); }

.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.principle {
  text-align: center;
  padding: 32px 22px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--bg2);
  transition: box-shadow var(--transition), transform var(--transition);
}
.principle:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.principle h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.principle p { font-size: 0.88rem; color: var(--text-2); }

.list { display: flex; flex-direction: column; gap: 14px; }
.list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-2);
  font-size: 0.95rem;
}
.list li::before {
  content: '';
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23c9a84c'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
  margin-top: 1px;
}
.section__text h2 { font-size: 1.9rem; font-weight: 800; margin-bottom: 18px; }

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--bg2);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.contact-card__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-500));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.3rem;
  overflow: hidden;
}
.contact-card__icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: brightness(0) invert(1) sepia(1) saturate(3) hue-rotate(5deg);
}
.contact-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 10px; }
.contact-card address,
.contact-card p { font-size: 0.86rem; color: var(--text-2); font-style: normal; }
.contact-card a { color: var(--navy-500); transition: color var(--transition); }
.contact-card a:hover { color: var(--gold-dk); }
.contact-card .small { font-size: 0.78rem; color: var(--slate); margin-top: 4px; }

.contact-form-wrapper {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--bg2);
  box-shadow: var(--shadow);
}
.map-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--bg2);
  text-align: center;
}
.map-placeholder iframe { width: 100%; display: block; }
.map-placeholder p { padding: 12px; font-size: 0.82rem; color: var(--text-2); }

.form,
.admin-form,
.profile-form { display: flex; flex-direction: column; gap: 20px; }
.form__group,
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form__group label,
.form-group label {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.form__group input, .form-group input,
.form__group select, .form-group select,
.form__group textarea, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #d1d9e8;
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form__group input:focus, .form-group input:focus,
.form__group select:focus, .form-group select:focus,
.form__group textarea:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}
.form__group textarea, .form-group textarea { min-height: 120px; resize: vertical; }
.form__group input[readonly], .form-group input[readonly] {
  background: var(--bg);
  color: var(--text-2);
  cursor: not-allowed;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-actions { display: flex; gap: 12px; }

.admin-form h2 {
  font-size: 1.2rem;
  font-weight: 700;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--bg2);
  margin-bottom: 4px;
}

.auth-page {
  min-height: calc(100vh - 68px);
  background: linear-gradient(140deg, var(--navy-900) 0%, var(--navy-700) 100%);
  display: flex;
  align-items: center;
  padding: 48px 0;
}
.auth-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}
.auth-hero { padding: 32px 0; }
.auth-hero h1 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.auth-hero p { color: var(--slate); font-size: 1rem; line-height: 1.7; }
.auth-features { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.auth-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--slate-lt);
  font-size: 0.88rem;
}
.auth-feature-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
.auth-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
  border-radius: var(--radius);
  background: var(--bg);
  padding: 4px;
}
.auth-tab {
  flex: 1;
  padding: 10px;
  background: none;
  border: none;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-2);
  transition: all var(--transition);
}
.auth-tab.active {
  background: var(--navy-700);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(13,30,54,0.2);
}
.auth-form { display: flex; flex-direction: column; gap: 18px; }
.auth-form h2 { font-size: 1.35rem; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.hidden { display: none !important; }

.alert { padding: 12px 18px; border-radius: var(--radius); font-size: 0.88rem; font-weight: 500; }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.alert-info { background: #eff6ff; border: 1px solid #bfdbfe; color: #1d4ed8; }

.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  flex-wrap: wrap;
}
.profile-avatar {
  width: 78px;
  height: 78px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-500));
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  font-weight: 800;
  flex-shrink: 0;
}
.profile-role { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.profile-role h2 { font-size: 1.35rem; font-weight: 800; }
.role-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.role-admin { background: rgba(201,168,76,0.14); color: var(--gold-dk); }
.role-client { background: rgba(13,30,54,0.07); color: var(--navy-500); }

.admin-nav {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--bg2);
  padding: 6px;
  display: inline-flex;
  gap: 4px;
  flex-wrap: wrap;
}
.admin-nav__list { display: flex; flex-wrap: wrap; gap: 4px; }
.admin-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text-2);
  transition: all var(--transition);
  cursor: pointer;
}
.admin-nav__link:hover { background: var(--bg); color: var(--text); }
.admin-nav__link.active { background: var(--navy-700); color: var(--white); }

.requests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.request-card {
  background: var(--white);
  border: 1px solid var(--bg2);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: box-shadow var(--transition);
}
.request-card:hover { box-shadow: var(--shadow); }
.request-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.request-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.status-new { background: #eff6ff; color: #1d4ed8; }
.status-in_progress { background: #fffbeb; color: #b45309; }
.status-completed { background: #f0fdf4; color: #166534; }
.status-cancelled { background: #fef2f2; color: #b91c1c; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--text-2); }
.empty-state p { font-size: 1rem; margin-bottom: 20px; }

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.admin-stat-card {
  background: var(--white);
  border: 1px solid var(--bg2);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: box-shadow var(--transition);
}
.admin-stat-card:hover { box-shadow: var(--shadow); }
.admin-stat-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-500));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.admin-stat-value { font-size: 1.9rem; font-weight: 800; color: var(--text); line-height: 1; margin-bottom: 3px; }
.admin-stat-label { font-size: 0.78rem; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.04em; }

.admin-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--bg2); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.admin-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-2);
  background: var(--bg);
  border-bottom: 2px solid var(--bg2);
}
.admin-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--bg2);
  color: var(--text);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #f9fbff; }

.card {
  background: var(--white);
  border: 1px solid var(--bg2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.footer {
  background: var(--navy-900);
  color: var(--slate);
  padding: 32px 0 20px;
  border-top: 1px solid rgba(201,168,76,0.08);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__logo { font-size: 1.15rem; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.footer__logo span { color: var(--gold); }
.footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__links a { color: var(--slate); font-size: 0.85rem; transition: color var(--transition); }
.footer__links a:hover { color: var(--gold); }
.footer__copy { font-size: 0.8rem; }

.btn-ai-analyze {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-500));
  color: var(--white);
  border: 1.5px solid rgba(201,168,76,0.25);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-ai-analyze:hover:not(:disabled) {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}
.btn-ai-analyze:disabled { opacity: 0.55; cursor: not-allowed; }

.ai-result {
  margin-top: 20px;
  border: 1.5px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  overflow: hidden;
}
.ai-result__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-500));
}
.ai-result__icon { font-size: 1.1rem; }
.ai-result__title { font-weight: 700; font-size: 0.9rem; flex: 1; color: var(--white); }
.ai-result__badge { font-size: 0.75rem; font-weight: 700; padding: 3px 12px; border-radius: 20px; }
.badge--high { background: var(--success); color: var(--white); }
.badge--mid  { background: #f59e0b; color: var(--white); }
.badge--low  { background: var(--danger); color: var(--white); }

.ai-result__body { padding: 18px 20px; }
.ai-result__row { display: flex; gap: 10px; margin-bottom: 9px; font-size: 0.88rem; }
.ai-result__label { color: var(--slate); min-width: 180px; font-weight: 500; }
.ai-result__value { color: var(--gold); font-weight: 700; }
.ai-result__advice {
  margin-top: 12px;
  padding: 11px 15px;
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.86rem;
  color: var(--slate-lt);
  line-height: 1.6;
}
.ai-result__scores { margin-top: 14px; }
.ai-scores__title {
  font-size: 0.72rem;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.ai-score-row { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; font-size: 0.83rem; }
.ai-score-label { width: 160px; color: var(--slate-lt); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-score-bar-wrap {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border-radius: 4px;
  height: 6px;
  overflow: hidden;
}
.ai-score-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  border-radius: 4px;
  transition: width 0.4s ease;
}
.ai-score-pct { width: 36px; text-align: right; color: var(--gold); font-size: 0.78rem; font-weight: 700; }
.ai-error {
  margin-top: 12px;
  padding: 11px 15px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  color: #b91c1c;
  font-size: 0.86rem;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 999;
  justify-content: center;
  align-items: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.modal.show { display: flex; }
.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 460px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
  text-align: center;
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--bg);
  border: none;
  border-radius: 8px;
  width: 30px; height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-2);
  cursor: pointer;
  transition: background var(--transition);
}
.modal-close:hover { background: var(--bg2); }
.modal-title { font-size: 1.25rem; font-weight: 800; margin-bottom: 10px; }
.modal-body { font-size: 0.92rem; color: var(--text-2); }
.modal-success .modal-title { color: var(--success); }
.modal-error .modal-title { color: var(--danger); }

@media (max-width: 960px) {
  .hero__content { grid-template-columns: 1fr; gap: 32px; }
  .hero__image { display: none; }
  .hero-stats__inner { flex-wrap: wrap; }
  .hero-stat { flex: 0 0 50%; }
  .section__flex { grid-template-columns: 1fr; gap: 32px; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .auth-container { grid-template-columns: 1fr; }
  .auth-hero { display: none; }
  .section__stats { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy-800);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 12px;
  }
  .nav.nav--open { display: block; }
  .nav__list { flex-direction: column; gap: 2px; }
  .nav__list a { display: block; }
  .nav-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 20px 16px; }
  .section { padding: 44px 0; }
  .page-hero { padding: 36px 0 26px; }
  .hero__content { padding: 52px 0 36px; }
  .profile-header { flex-direction: column; align-items: flex-start; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .modal-content { padding: 24px 18px; }
  .container { padding: 0 16px; }
  .section__grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .contacts-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .principles { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .auth-form-wrapper { padding: 22px 18px; }
  .hero-card { padding: 24px 20px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 1.7rem; }
  .hero__actions { flex-direction: column; }
  .hero-stat { flex: 0 0 100%; }
  .about__stats { grid-template-columns: 1fr; }
  .section__stats { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }
  .requests-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .contacts-grid { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .section__grid { grid-template-columns: 1fr; }
  .section { padding: 32px 0; }
  .page-hero { padding: 28px 0 20px; }
  .hero__content { padding: 40px 0 28px; }
  .container { padding: 0 14px; }
  .team-member--clickable h3 { font-size: 0.88rem; }
  .form-actions { flex-direction: column; }
  .admin-nav__list { gap: 2px; }
  .admin-nav__link { padding: 8px 12px; font-size: 0.82rem; }
}

/* ══════════════════════════════════════
   АНИМАЦИИ
══════════════════════════════════════ */

/* Ключевые кадры */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Герой — вход при загрузке страницы */
.hero-anim-text {
  animation: slideInLeft 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-anim-card {
  animation: slideInRight 0.75s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Scroll-reveal: начальное состояние */
.anim-fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1) var(--delay, 0s),
              transform 0.6s cubic-bezier(0.22,1,0.36,1) var(--delay, 0s);
}
.anim-card {
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.5s cubic-bezier(0.22,1,0.36,1) calc(var(--i, 0) * 0.1s),
              transform 0.5s cubic-bezier(0.22,1,0.36,1) calc(var(--i, 0) * 0.1s);
}
/* Видимое состояние (добавляется JS через IntersectionObserver) */
.anim-fade-up.is-visible,
.anim-card.is-visible {
  opacity: 1;
  transform: none;
}

/* Золотая линия под заголовками секций — появление */
.section-title::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: 10px;
  transition: width 0.7s 0.4s cubic-bezier(0.22,1,0.36,1);
}
.section-title--center::after { margin-left: auto; margin-right: auto; }
.section-title.is-visible::after { width: 56px; }

/* Кнопки — улучшенный hover */
.btn {
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.22s;
}
.btn:hover::after { opacity: 1; }
.btn { transform: translateY(0); transition: all var(--transition), transform 0.18s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Карточки услуг — усиленный hover */
.section__item {
  transition: box-shadow 0.3s, transform 0.3s;
}
.section__item:hover {
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  transform: translateY(-6px);
}
/* После появления карточки hover работает поверх анимации */
.anim-card.is-visible { transition: opacity 0s, transform 0.28s, box-shadow 0.28s; }
.anim-card.is-visible:hover { transform: translateY(-6px) !important; }

/* Карточка stat-card — hover эффект */
.stat-card {
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}
.stat-card:hover {
  box-shadow: 0 8px 32px rgba(201,168,76,0.12);
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-3px);
}

/* Строка навигации — подчёркивание при hover */
.nav__list a {
  position: relative;
}
.nav__list a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform 0.22s cubic-bezier(0.22,1,0.36,1);
}
.nav__list a:hover::after,
.nav__list a.active::after { transform: scaleX(1); }

/* Лого — мерцание при hover */
.logo:hover span {
  display: inline-block;
  animation: scaleIn 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

/* ── Валидация формы ── */
.input-error {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 3px rgba(224,82,82,0.15) !important;
}
.field-error-msg {
  color: var(--danger);
  font-size: 0.8rem;
  margin-top: 4px;
}

/* ── Фото юристов с оверлеем ── */
.team-member--clickable {
  cursor: pointer;
  padding: 0;
  overflow: hidden;
}
.team-member--clickable h3,
.team-member--clickable .team-member__role,
.team-member--clickable p:last-child {
  padding: 0 20px;
}
.team-member--clickable h3 { padding-top: 16px; }
.team-member--clickable p:last-child { padding-bottom: 20px; }

.team-member__photo-wrap {
  position: relative;
  overflow: hidden;
  line-height: 0;
}
.team-member__photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.team-member__overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 25, 48, 0.72);
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.28s ease;
}
.team-member--clickable:hover .team-member__overlay { opacity: 1; }
.team-member--clickable:hover .team-member__photo { transform: scale(1.04); }

/* ── Модальное окно юриста ── */
.lawyer-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(6, 14, 26, 0.78);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lawyer-modal-overlay.show { display: flex; }

.lawyer-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: modalIn 0.25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.lawyer-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--bg2);
  color: var(--text-2);
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background var(--transition);
}
.lawyer-modal__close:hover { background: var(--bg); }

.lawyer-modal__header {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 32px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.lawyer-modal__photo-svg {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid rgba(201,168,76,0.4);
  flex-shrink: 0;
}
.lawyer-modal__name {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.lawyer-modal__role {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 4px;
}
.lawyer-modal__exp {
  color: var(--slate);
  font-size: 0.84rem;
}

.lawyer-modal__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.lawyer-modal__section h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dk);
  margin-bottom: 6px;
}
.lawyer-modal__section p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.65;
}

@media (max-width: 480px) {
  .lawyer-modal__header { flex-direction: column; text-align: center; }
  .lawyer-modal__body { padding: 20px 18px; }
}

/* ══════════════════════════════════════
   SERVICE CARDS — React (svc-card)
══════════════════════════════════════ */
.svc-card {
  background: var(--white);
  border: 1px solid var(--bg2);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1),
              transform 0.55s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.28s, border-color 0.28s;
}
.svc-card--visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0s, transform 0.28s ease,
              box-shadow 0.28s, border-color 0.28s;
}
.svc-card--visible:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: rgba(201,168,76,0.4);
}
.svc-card__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  border-radius: 12px;
  border: 1px solid rgba(201,168,76,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.svc-card__title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
}
.svc-card__desc {
  color: var(--text-2);
  font-size: 0.88rem;
  line-height: 1.65;
  flex: 1;
}
.svc-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy-500);
  font-size: 0.88rem;
  font-weight: 700;
  margin-top: 4px;
  transition: color 0.22s, gap 0.22s;
}
.svc-card--visible:hover .svc-card__link {
  color: var(--gold-dk);
  gap: 10px;
}

/* ══════════════════════════════════════
   LAWYER PICKER — React
══════════════════════════════════════ */
.lawyer-picker {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 290px;
  overflow-y: auto;
  border: 1.5px solid #d1d9e8;
  border-radius: var(--radius);
  padding: 7px;
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.lawyer-picker:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}
.lawyer-picker::-webkit-scrollbar { width: 4px; }
.lawyer-picker::-webkit-scrollbar-track { background: var(--bg); border-radius: 4px; }
.lawyer-picker::-webkit-scrollbar-thumb { background: var(--bg2); border-radius: 4px; }

.lawyer-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1.5px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  user-select: none;
}
.lawyer-card:hover {
  border-color: rgba(201,168,76,0.28);
  background: rgba(201,168,76,0.04);
}
.lawyer-card--selected {
  border-color: var(--gold) !important;
  background: rgba(201,168,76,0.08) !important;
  box-shadow: 0 0 0 3px rgba(201,168,76,0.08);
}
.lawyer-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-500));
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.lawyer-card__avatar--auto {
  background: linear-gradient(135deg, var(--navy-500), var(--navy-400));
  font-size: 1.05rem;
}
.lawyer-card__info { flex: 1; min-width: 0; }
.lawyer-card__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lawyer-card__spec {
  font-size: 0.78rem;
  color: var(--text-2);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lawyer-card__check {
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 800;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

/* ===== Star picker (review form) ===== */
.star-picker { display: flex; gap: 4px; margin: 8px 0; }
.star-picker__star {
  font-size: 1.7rem;
  cursor: pointer;
  color: var(--bg2);
  transition: color 0.1s;
  line-height: 1;
  user-select: none;
}
.star-picker__star.active { color: var(--gold); }
.star-picker__star:hover { color: var(--gold-lt); }

.review-inline {
  background: var(--bg);
  border: 1.5px solid var(--bg2);
  border-radius: var(--radius);
  padding: 14px;
  margin-top: 10px;
}
.review-textarea {
  width: 100%;
  min-height: 68px;
  border: 1px solid var(--bg2);
  border-radius: var(--radius);
  padding: 8px 10px;
  font: inherit;
  font-size: 0.88rem;
  resize: vertical;
  outline: none;
  margin-top: 8px;
  background: var(--white);
}
.review-textarea:focus { border-color: var(--gold); }

/* ===== Notifications ===== */
.notif-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--danger);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  padding: 0 5px;
  margin-left: 6px;
  vertical-align: middle;
}
.notif-list { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.notif-item {
  background: var(--white);
  border: 1.5px solid var(--bg2);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: border-color var(--transition);
}
.notif-item--unread { border-color: rgba(201,168,76,0.4); background: #fffcf0; }
.notif-item__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 6px;
}
.notif-item__text { font-size: 0.9rem; color: var(--text); margin-bottom: 4px; }
.notif-item__date { font-size: 0.78rem; color: var(--slate); }

/* ===== Reviews section on index ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.review-pub-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--bg2);
  display: flex;
  flex-direction: column;
}
.review-pub-card__stars { color: var(--gold); font-size: 1.05rem; margin-bottom: 10px; letter-spacing: 2px; }
.review-pub-card__text {
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
  flex: 1;
}
.review-pub-card__author { font-weight: 700; font-size: 0.88rem; color: var(--text); }
.review-pub-card__service { font-size: 0.78rem; color: var(--slate); margin-top: 2px; }
