/* ============================================================
   PSYCHOLOGY CENTER — PURPLE THEME
   ============================================================ */

:root {
  --purple-900: #2D0A6B;
  --purple-800: #3B0F8C;
  --purple-700: #5B21B6;
  --purple-600: #7C3AED;
  --purple-500: #8B5CF6;
  --purple-400: #A78BFA;
  --purple-300: #C4B5FD;
  --purple-200: #DDD6FE;
  --purple-100: #EDE9FE;
  --purple-50:  #F5F3FF;

  --accent: #7C3AED;
  --accent-light: #8B5CF6;
  --accent-dark: #5B21B6;

  --text-primary: #1A1A2E;
  --text-secondary: #4A4A6A;
  --text-muted: #7A7A9A;
  --text-white: #FFFFFF;

  --bg-white: #FFFFFF;
  --bg-light: #F8F7FF;
  --bg-section: #F5F3FF;

  --border: #E5E0FF;
  --shadow-sm: 0 2px 8px rgba(124, 58, 237, 0.08);
  --shadow-md: 0 8px 32px rgba(124, 58, 237, 0.12);
  --shadow-lg: 0 16px 64px rgba(124, 58, 237, 0.16);

  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --transition: 0.25s ease;
  --font: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;

  --container: 1200px;
  --header-h: 72px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

/* ============================================================
   LAYOUT
   ============================================================ */

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

.section {
  padding: 96px 0;
}

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-600);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section__desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

#form {
  scroll-margin-top: 120px;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124,58,237,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn--outline:hover {
  background: var(--purple-50);
  transform: translateY(-2px);
}

.btn--ghost {
  background: var(--purple-50);
  color: var(--accent);
  border-color: var(--purple-100);
}
.btn--ghost:hover {
  background: var(--purple-100);
  transform: translateY(-2px);
}

.btn--white {
  background: white;
  color: var(--accent);
  border-color: white;
}
.btn--white:hover {
  background: var(--purple-50);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn--full { width: 100%; }
.btn--sm { padding: 10px 20px; font-size: 14px; }

/* ============================================================
   HEADER
   ============================================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(124, 58, 237, 0.06);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo--white .logo__icon {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.logo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__text strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.logo__text span {
  font-size: 12px;
  color: var(--text-muted);
}

.logo--white .logo__text strong,
.logo--white .logo__text span {
  color: rgba(255,255,255,0.9);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav__link:hover {
  color: var(--accent);
  background: var(--purple-50);
}

.header__phone {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}

.header__phone:hover {
  color: var(--accent-dark);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  padding-top: calc(var(--header-h) + 96px);
  padding-bottom: 96px;
  background: linear-gradient(135deg, #F5F3FF 0%, #EDE9FE 40%, #F8F7FF 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167,139,250,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-600);
  background: var(--purple-100);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

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

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat__num {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat__label {
  font-size: 13px;
  color: var(--text-muted);
}

/* FORM CARD */
.form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.form-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-card__sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form__group {
  margin-bottom: 16px;
}

.form__error {
  margin: 0 0 16px;
  color: #b42318;
  font-size: 13px;
  font-weight: 600;
}

.form__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form__input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--bg-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}

.form__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(124,58,237,0.1);
}

.form__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237C3AED' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  margin-bottom: 20px;
  line-height: 1.5;
}

.form__checkbox input {
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

/* ============================================================
   ABOUT
   ============================================================ */

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

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

.about__card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.about__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--purple-300);
}

.about__icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.about__card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.about__card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   SERVICES
   ============================================================ */

.services {
  background: var(--bg-section);
}

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

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card--featured {
  border-color: var(--accent);
  background: linear-gradient(145deg, var(--purple-900), var(--purple-700));
  color: white;
}

.service-card--featured .service-card__title,
.service-card--featured .service-card__desc,
.service-card--featured .service-card__list li {
  color: rgba(255,255,255,0.9);
}

.service-card__badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: linear-gradient(135deg, #F59E0B, #EF4444);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

.service-card__icon {
  font-size: 32px;
}

.service-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.service-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-card__list li {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
}

.service-card__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--purple-400);
}

.service-card--featured .service-card__list li::before {
  color: var(--purple-300);
}

/* ============================================================
   RENT SECTION
   ============================================================ */

.rent {
  background: var(--bg-white);
}

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

.rent__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 32px 0;
}

.rent__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
}

.rent__feature-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--purple-100);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.rent__room-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  transition: all var(--transition);
}

.rent__room-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--purple-300);
  transform: translateY(-2px);
}

.rent__room-card--single {
  display: block;
}

.rent__media {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.rent__gallery-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: block;
}

.rent__room-info {
  padding: 16px 20px;
  flex: 1;
}

.rent__room-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.rent__room-info p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.rent__price {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
}

.rent__room-card--single .rent__room-info {
  padding: 20px 24px;
}

.rent__room-card--single .rent__room-info p {
  font-size: 14px;
  margin-bottom: 10px;
}

/* ============================================================
   ADVANTAGES
   ============================================================ */

.advantages {
  background: var(--bg-section);
}

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

.adv-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}

.adv-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.adv-card__num {
  font-size: 40px;
  font-weight: 800;
  color: var(--purple-200);
  line-height: 1;
  margin-bottom: 16px;
  font-family: var(--font-display);
}

.adv-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.adv-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   PRICES
   ============================================================ */

.prices {
  background: var(--bg-white);
}

.prices__tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
}

.prices__tab {
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--border);
  background: var(--bg-light);
  color: var(--text-secondary);
  transition: all var(--transition);
}

.prices__tab--active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.prices__tab:hover:not(.prices__tab--active) {
  border-color: var(--purple-400);
  color: var(--accent);
}

.prices__content--hidden {
  display: none;
}

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

.price-card {
  background: var(--bg-light);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: all var(--transition);
}

.price-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.price-card--featured {
  border-color: var(--accent);
  background: linear-gradient(145deg, var(--purple-900), var(--purple-700));
}

.price-card--featured .price-card__title,
.price-card--featured .price-card__desc,
.price-card--featured .price-card__saving {
  color: rgba(255,255,255,0.85);
}

.price-card--featured .price-card__price {
  color: white;
}

.price-card__badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: linear-gradient(135deg, #F59E0B, #EF4444);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

.price-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}

.price-card__desc {
  font-size: 13px;
  color: var(--text-secondary);
  flex: 1;
}

.price-card__price {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.price-card__price span {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.7;
}

.price-card__saving {
  font-size: 13px;
  color: #10B981;
  font-weight: 600;
}

/* ============================================================
   TEAM
   ============================================================ */

.team {
  background: var(--bg-section);
}

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

.team-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.team-card__avatar {
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-card__avatar--1 { background: linear-gradient(135deg, #5B21B6, #A78BFA); }
.team-card__avatar--2 { background: linear-gradient(135deg, #4C1D95, #8B5CF6); }
.team-card__avatar--3 { background: linear-gradient(135deg, #3B0F8C, #C4B5FD); }

.avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 3px solid rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: white;
}

.team-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-card__info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.team-card__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.team-card__role {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.team-card__exp {
  font-size: 13px;
  color: var(--text-muted);
}

.team-card__spec {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 4px;
  margin-bottom: 8px;
  flex: 1;
}

/* ============================================================
   REVIEWS
   ============================================================ */

.reviews {
  background: var(--bg-white);
}

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

.review-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--purple-300);
}

.review-card__stars {
  font-size: 18px;
  color: #F59E0B;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-card__text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__ava {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}

.review-card__author strong {
  display: block;
  font-size: 14px;
  color: var(--text-primary);
}

.review-card__author span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   FAQ
   ============================================================ */

.faq {
  background: var(--bg-section);
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq__item:has(.faq__answer:not([hidden])) {
  border-color: var(--accent);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}

.faq__question:hover {
  color: var(--accent);
}

.faq__arrow {
  font-size: 12px;
  color: var(--accent);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq__item.open .faq__arrow {
  transform: rotate(180deg);
}

.faq__answer {
  display: none;
  padding: 0 24px 20px;
}

.faq__item.open .faq__answer {
  display: block;
}

.faq__answer p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   CTA STRIP
   ============================================================ */

.cta-strip {
  background: linear-gradient(135deg, var(--purple-800), var(--purple-600));
  padding: 64px 0;
}

.cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-strip__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.cta-strip__sub {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
}

/* ============================================================
   CONTACTS
   ============================================================ */

.contacts {
  background: var(--bg-white);
}

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

.contacts__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contacts__icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contacts__item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contacts__item p, .contacts__item a {
  font-size: 16px;
  color: var(--text-primary);
  line-height: 1.5;
}

.contacts__item a:hover {
  color: var(--accent);
}

.contacts__social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 50px;
  background: var(--purple-50);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--purple-100);
  transform: translateY(-2px);
}

.contacts__map-embed {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: block;
}

.contacts__map {
  min-height: 420px;
}

.contacts__map-frame {
  width: 100%;
  min-height: 420px;
  aspect-ratio: 1200 / 420;
  overflow: hidden;
  border-radius: var(--radius);
}

.contacts__map-frame .contacts__map-embed {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--purple-900);
  color: rgba(255,255,255,0.8);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 48px;
}

.footer__brand p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  margin-top: 16px;
  max-width: 280px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}

.footer__links a {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--purple-300);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a {
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}

.footer__legal a:hover {
  color: var(--purple-300);
}

/* ============================================================
   MODAL
   ============================================================ */

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(45, 10, 107, 0.5);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.modal--open {
  opacity: 1;
  pointer-events: all;
}

.modal__box {
  background: white;
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.modal__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-400));
  color: white;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.modal__box h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal__box p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__form-wrap {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

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

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

  .rent__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

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

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

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

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

  .contacts__map-embed {
    height: 360px;
  }

  .contacts__map {
    min-height: 360px;
  }

  .contacts__map-frame {
    min-height: 360px;
  }

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

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: white;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 4px;
    z-index: 99;
  }
  .nav.open .nav__link {
    padding: 12px 16px;
    width: 100%;
  }

  .header__phone { display: none; }
  .burger { display: flex; }

  .logo__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .hero__stats { gap: 20px; }

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

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

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

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

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

  .team-card__avatar {
    height: 300px;
  }

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

  .rent__gallery-img {
    height: 260px;
  }

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

  .cta-strip__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 32px;
  }

  .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .about__grid { grid-template-columns: 1fr; }
  .hero__stats { flex-wrap: wrap; gap: 16px; }
  .prices__tabs { flex-direction: column; max-width: 300px; margin-left: auto; margin-right: auto; }
  .team-card__avatar {
    height: 260px;
  }
  .rent__gallery {
    grid-template-columns: 1fr;
  }

  .contacts__map-embed {
    height: 300px;
  }

  .contacts__map {
    min-height: 300px;
  }

  .contacts__map-frame {
    min-height: 300px;
  }
}

/* ============================================================
   LEGAL PAGES & COOKIES
   ============================================================ */

.legal-page {
  padding: calc(var(--header-h) + 48px) 0 80px;
  background: linear-gradient(180deg, #f8f5ff 0%, #fff 100%);
}

.legal-page__inner {
  max-width: 860px;
}

.legal-page__card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.legal-page__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  margin-bottom: 20px;
}

.legal-page__lead {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.legal-page__content {
  display: grid;
  gap: 16px;
  color: var(--text-primary);
}

.legal-page__content h2 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-top: 8px;
}

.legal-page__content p,
.legal-page__content li {
  font-size: 16px;
  color: var(--text-secondary);
}

.legal-page__content ul {
  list-style: disc;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.legal-page__content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(45, 10, 107, 0.18);
  backdrop-filter: blur(16px);
}

.cookie-banner--open {
  display: flex;
}

.cookie-banner__content {
  display: grid;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 14px;
}

.cookie-banner__content p {
  margin: 0;
}

.cookie-banner__content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__links {
  font-size: 13px;
}

.cookie-banner__btn {
  flex-shrink: 0;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
}

.cookie-banner__btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.form__checkbox span {
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 720px) {
  .legal-page__card {
    padding: 28px 20px;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__btn {
    width: 100%;
  }
}
