/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent: #c9305a;
  --accent-dark: #a82049;
  --black: #111111;
  --gray: #f5f5f5;
  --gray-mid: #e8e8e8;
  --text: #333333;
  --text-light: #777777;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 6px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --transition: 0.22s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

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

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
input, select, textarea, button { font-family: var(--font); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 90px 0; }
.section--gray { background: var(--gray); }

.section__head { text-align: center; margin-bottom: 56px; }
.section__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn--accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,48,90,0.35);
}
.btn--outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn--outline:hover {
  background: var(--black);
  color: var(--white);
}
.btn--lg { padding: 16px 40px; font-size: 16px; }
.btn--sm { padding: 10px 22px; font-size: 13px; }
.btn--full { width: 100%; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-mid);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.logo { display: flex; flex-direction: column; line-height: 1.2; flex-shrink: 0; }
.logo__main {
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.5px;
}
.logo__sub { font-size: 10px; color: var(--accent); letter-spacing: 1px; text-transform: uppercase; font-weight: 500; }
.logo--white .logo__main { color: var(--white); }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav__link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: all var(--transition);
}
.nav__link:hover { background: var(--gray); color: var(--accent); }

.header__right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header__phone {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  transition: color var(--transition);
}
.header__phone:hover { color: var(--accent); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  padding: 140px 0 90px;
  background: var(--white);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero__title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  color: var(--black);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero__text {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 36px;
  max-width: 420px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero__stats { display: flex; gap: 40px; }
.stat__num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--black);
  line-height: 1;
}
.stat__label { font-size: 13px; color: var(--text-light); }

.hero__image { position: relative; }
.hero__img-wrap {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.hero__badge {
  position: absolute;
  bottom: -16px;
  left: -24px;
  background: var(--white);
  border-radius: 50px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__badge svg { color: var(--accent); }

/* ===== ABOUT ===== */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about__images {
  position: relative;
  height: 520px;
}
.about__img {
  position: absolute;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}
.about__img--1 {
  width: 72%;
  height: 72%;
  top: 0; left: 0;
}
.about__img--2 {
  width: 58%;
  height: 58%;
  bottom: 0; right: 0;
  border: 6px solid var(--white);
}

.about__content .section__label { margin-bottom: 12px; }
.about__content .section__title { margin-bottom: 20px; text-align: left; }
.about__text { color: var(--text-light); margin-bottom: 32px; font-size: 16px; }

.about__list { display: flex; flex-direction: column; gap: 24px; }
.about__item { display: flex; gap: 16px; align-items: flex-start; }
.about__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(201,48,90,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.about__item strong { display: block; font-size: 15px; font-weight: 600; color: var(--black); margin-bottom: 4px; }
.about__item p { font-size: 14px; color: var(--text-light); line-height: 1.5; }

/* ===== SERVICES ===== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card__icon {
  height: 200px;
  overflow: hidden;
}
.service-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  padding: 20px 20px 8px;
}
.service-card__text { font-size: 14px; color: var(--text-light); padding: 0 20px 12px; line-height: 1.5; }
.service-card__price {
  display: block;
  padding: 0 20px 20px;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}
.services__cta { text-align: center; margin-top: 48px; }

/* ===== WORKS ===== */
.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.work-item {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
}
.work-item img { transition: transform 0.4s ease; }
.work-item:hover img { transform: scale(1.06); }
.works__social { text-align: center; margin-top: 40px; display: flex; align-items: center; justify-content: center; gap: 16px; }
.works__social p { color: var(--text-light); }

/* ===== PRICES ===== */
.prices__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.price-block__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--accent);
}
.price-list { display: flex; flex-direction: column; gap: 14px; }
.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
}
.price-list li span:first-child { color: var(--text); }
.price-list li span:last-child { font-weight: 600; color: var(--black); white-space: nowrap; }
.price-list li::after {
  content: '';
  flex: 1;
  border-bottom: 1px dotted var(--gray-mid);
  margin: 0 4px 3px;
}
.prices__note { text-align: center; margin-top: 32px; font-size: 13px; color: var(--text-light); }

/* ===== REVIEWS ===== */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--gray);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow var(--transition);
}
.review-card:hover { box-shadow: var(--shadow); }
.review-card__stars { color: #f5a623; font-size: 18px; margin-bottom: 14px; letter-spacing: 2px; }
.review-card__text { font-size: 14px; color: var(--text); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.review-card__author { display: flex; align-items: center; gap: 12px; }
.review-card__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.review-card__author strong { display: block; font-size: 14px; color: var(--black); }
.review-card__author span { font-size: 12px; color: var(--text-light); }

/* ===== BOOKING ===== */
.booking { background: var(--black); }
.booking .section__label { color: rgba(255,255,255,0.5); }
.booking .section__title { color: var(--white); text-align: left; }
.booking__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.booking__text { color: rgba(255,255,255,0.6); margin: 16px 0 32px; font-size: 16px; }
.booking__contacts { display: flex; flex-direction: column; gap: 16px; }
.booking__contact {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  transition: color var(--transition);
}
.booking__contact:hover { color: var(--accent); }
.booking__contact svg { color: var(--accent); flex-shrink: 0; }

.booking__form {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--black);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form__note { margin-top: 14px; font-size: 12px; color: var(--text-light); text-align: center; }
.form__note a { color: var(--accent); }

/* ===== CONTACTS ===== */
.contacts__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.contacts__info .section__label { margin-bottom: 12px; }
.contacts__info .section__title { text-align: left; margin-bottom: 32px; }
.contacts__list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 32px; }
.contacts__list li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text); }
.contacts__list svg { color: var(--accent); flex-shrink: 0; }
.contacts__list a:hover { color: var(--accent); }

.contacts__social { display: flex; gap: 12px; }
.social-link {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gray);
  display: flex; align-items: center; justify-content: center;
  color: var(--black);
  transition: all var(--transition);
}
.social-link:hover { background: var(--accent); color: var(--white); }

.contacts__map { height: 100%; min-height: 340px; }
.map-placeholder {
  height: 340px;
  background: var(--gray-mid);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-light);
  text-align: center;
}
.map-placeholder p { font-size: 15px; font-weight: 500; color: var(--black); }

/* ===== FOOTER ===== */
.footer { background: #0a0a0a; padding: 48px 0; }
.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
}
.footer__brand p { font-size: 12px; color: rgba(255,255,255,0.3); margin-top: 6px; }
.footer__links { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.footer__links a { font-size: 14px; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer__links a:hover { color: var(--white); }
.footer__copy { text-align: right; }
.footer__copy p { font-size: 13px; color: rgba(255,255,255,0.3); margin-bottom: 4px; }
.footer__copy a { font-size: 12px; color: rgba(255,255,255,0.3); transition: color var(--transition); }
.footer__copy a:hover { color: rgba(255,255,255,0.7); }

/* ===== FLOATING CTA ===== */
.float-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 99;
  background: var(--accent);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(201,48,90,0.4);
  transition: all var(--transition);
  animation: floatIn 0.5s ease 1s both;
}
.float-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201,48,90,0.5);
}
@keyframes floatIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== MOBILE ===== */
@media (max-width: 1024px) {
  .nav { display: none; }
  .header__phone { display: none; }
  .burger { display: flex; }
  .header__right .btn { display: none; }

  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 120px 0 70px; }
  .hero__img-wrap { aspect-ratio: 16/9; max-width: 560px; margin: 0 auto; }
  .hero__badge { left: 8px; }

  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__images { height: 320px; }

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

  .booking__inner { grid-template-columns: 1fr; gap: 40px; }
  .booking .section__title { text-align: left; }

  .contacts__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .footer__copy { text-align: center; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .services__grid { grid-template-columns: 1fr; }
  .works__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__actions { flex-direction: column; }
  .hero__stats { gap: 24px; }
  .booking__form { padding: 24px; }
  .float-cta { bottom: 20px; right: 20px; padding: 12px 22px; font-size: 14px; }
}

/* Mobile nav open state */
.nav.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--white);
  padding: 24px;
  gap: 8px;
  z-index: 99;
  border-top: 1px solid var(--gray-mid);
}
.nav.open .nav__link { font-size: 18px; padding: 12px 16px; }
