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

:root {
  --white: #ffffff;
  --bg: #f8f7f5;
  --bg-gray: #f2f1ee;
  --text: #1a1a1a;
  --text-mid: #4a4a4a;
  --text-light: #888;
  --accent: #b8965a;
  --accent-dark: #9a7a48;
  --accent-light: #f0e8d8;
  --wa-green: #25d366;
  --wa-dark: #1da851;
  --border: #e8e5df;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.14);
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 64px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Mulish', -apple-system, sans-serif;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) { .container { padding: 0 32px; } }
@media (min-width: 1200px) { .container { padding: 0 40px; } }

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

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

.section-head { text-align: center; margin-bottom: 48px; }
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}
.section-sub {
  font-size: 16px;
  color: var(--text-mid);
  margin-top: 12px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(184,150,90,0.35); }
.btn--wa { background: var(--wa-green); color: var(--white); }
.btn--wa:hover { background: var(--wa-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.35); }
.btn--outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn--outline:hover { background: var(--accent); color: var(--white); transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: 14px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo__icon {
  width: 38px; height: 38px;
  background: var(--accent); color: var(--white);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  letter-spacing: 0.05em; flex-shrink: 0;
}
.logo__text { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--text); white-space: nowrap; }
.logo__kz { color: var(--accent); }
.logo--light .logo__text { color: var(--white); }
.logo--light .logo__kz { color: var(--accent-light); }

.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header__inner {
  height: 100%; max-width: 1200px; margin: 0 auto;
  padding: 0 16px; display: flex; align-items: center; gap: 16px;
}
@media (min-width: 768px) { .header__inner { padding: 0 32px; gap: 24px; } }

.nav { display: none; align-items: center; gap: 8px; margin-left: auto; }
.nav__link {
  font-size: 14px; font-weight: 500; color: var(--text-mid);
  padding: 6px 12px; border-radius: 8px; transition: all var(--transition); white-space: nowrap;
}
.nav__link:hover { color: var(--accent); background: var(--accent-light); }
@media (min-width: 1024px) { .nav { display: flex; } }

.header__actions { display: none; align-items: center; gap: 10px; margin-left: auto; }
@media (min-width: 1024px) { .header__actions { display: flex; margin-left: 0; } }
.header__phone { font-size: 14px; font-weight: 700; color: var(--text); white-space: nowrap; transition: color var(--transition); }
.header__phone:hover { color: var(--accent); }

.btn-wa {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--wa-green); color: var(--white);
  border-radius: 50px; font-size: 13px; font-weight: 600;
  padding: 8px 16px; transition: all var(--transition); white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,211,102,0.3); }

.header__mobile-phone { display: flex; align-items: center; margin-left: auto; gap: 8px; }
@media (min-width: 1024px) { .header__mobile-phone { display: none; } }
.header__mobile-phone .hmp-call {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; background: var(--accent); color: white; border-radius: 50%; font-size: 14px;
}
.header__mobile-phone .hmp-wa {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; background: var(--wa-green); color: white; border-radius: 50%; font-size: 14px;
}

.burger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer;
  padding: 8px; border-radius: 8px; transition: background var(--transition);
  flex-shrink: 0; -webkit-tap-highlight-color: transparent;
}
.burger:hover { background: var(--bg-gray); }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s ease; transform-origin: center; }
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) { .burger { display: none; } }

.mobile-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(16px);
  z-index: 999; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav a {
  font-family: var(--font-display); font-size: 28px; font-weight: 600;
  color: var(--text); padding: 12px 40px; border-radius: 12px; transition: all var(--transition);
}
.mobile-nav a:hover { color: var(--accent); background: var(--accent-light); }
.mobile-nav__contacts { margin-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.mobile-nav__contacts .btn { min-width: 220px; }

.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: var(--header-h); overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__img {
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  transform: scale(1.05);
  animation: heroZoom 12s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.45) 50%, rgba(10,10,10,0.2) 100%);
}
.hero__content {
  position: relative; z-index: 1; padding: 40px 16px 0; max-width: 760px;
  animation: fadeUp 0.9s ease 0.3s both;
}
@media (min-width: 768px) { .hero__content { padding: 60px 32px 0; } }
@media (min-width: 1200px) { .hero__content { padding: 80px 40px 0; max-width: 1200px; padding-left: calc((100vw - 1200px)/2 + 40px); padding-right: 40px; } }

.hero__tag {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); background: rgba(184,150,90,0.2);
  border: 1px solid rgba(184,150,90,0.4);
  padding: 6px 16px; border-radius: 50px; margin-bottom: 20px;
}
.hero__title {
  font-family: var(--font-display); font-size: clamp(38px, 8vw, 74px);
  font-weight: 700; line-height: 1.1; color: var(--white);
  margin-bottom: 20px; letter-spacing: -0.01em;
}
.hero__sub {
  font-size: clamp(15px, 2.5vw, 18px); color: rgba(255,255,255,0.82);
  max-width: 520px; margin-bottom: 36px; line-height: 1.7;
}
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.hero__btns .btn { min-width: 160px; padding: 16px 28px; font-size: 15px; }

.hero__stats {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,0.06); backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 16px; animation: fadeUp 0.9s ease 0.6s both;
}
@media (min-width: 768px) { .hero__stats { padding: 24px 32px; } }
@media (min-width: 1200px) { .hero__stats { padding: 24px calc((100vw - 1200px)/2 + 40px); } }

.hero__stat { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.hero__stat-num { font-family: var(--font-display); font-size: clamp(24px, 4vw, 36px); font-weight: 700; color: var(--accent); line-height: 1; }
.hero__stat-label { font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.65); text-align: center; letter-spacing: 0.05em; }
.hero__stat-sep { width: 1px; height: 40px; background: rgba(255,255,255,0.15); flex-shrink: 0; }

.about__inner { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 768px) { .about__inner { grid-template-columns: 1fr 1fr; gap: 60px; } }
.about__img-wrap { position: relative; border-radius: var(--radius-lg); overflow: visible; }
.about__img { width: 100%; aspect-ratio: 4/3; background-size: cover; background-position: center; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about__badge {
  position: absolute; bottom: -20px; right: -16px;
  background: var(--accent); color: var(--white);
  border-radius: var(--radius); padding: 16px 20px; text-align: center; box-shadow: var(--shadow-md);
}
@media (min-width: 768px) { .about__badge { bottom: -24px; right: -24px; } }
.about__badge-num { display: block; font-family: var(--font-display); font-size: 36px; font-weight: 700; line-height: 1; }
.about__badge-text { display: block; font-size: 12px; font-weight: 600; opacity: 0.9; margin-top: 4px; }
.about__content { padding-bottom: 12px; }
.about__text { color: var(--text-mid); margin-bottom: 16px; font-size: 15px; line-height: 1.75; }
.about__features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.about__feature { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--text-mid); }
.about__feature-icon {
  width: 24px; height: 24px; background: var(--accent); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
}

.services__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (min-width: 600px) { .services__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 900px) { .services__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1200px) { .services__grid { grid-template-columns: repeat(4, 1fr); } }

.service-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 18px; transition: all var(--transition); cursor: default; }
.service-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-card__icon { font-size: 32px; margin-bottom: 14px; line-height: 1; }
.service-card__title { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 8px; line-height: 1.3; }
.service-card__text { font-size: 13px; color: var(--text-light); line-height: 1.6; }
.service-card--cta { background: var(--accent); border-color: var(--accent); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; }
.service-card--cta:hover { background: var(--accent-dark); transform: translateY(-4px); }
.service-card--cta .service-card__cta-text { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--white); }
.service-card--cta p { font-size: 13px; color: rgba(255,255,255,0.8); }
.service-card--cta .btn { margin-top: 8px; background: var(--white); color: var(--accent); }
.service-card--cta .btn:hover { background: var(--white); color: var(--accent-dark); }

.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (min-width: 768px) { .why__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.why-card { padding: 28px 20px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: all var(--transition); }
.why-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.why-card__num { font-family: var(--font-display); font-size: 42px; font-weight: 700; color: var(--accent-light); line-height: 1; margin-bottom: 12px; -webkit-text-stroke: 1px var(--accent); }
.why-card__title { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.why-card__text { font-size: 13px; color: var(--text-mid); line-height: 1.65; }

.process__steps { display: flex; flex-direction: column; gap: 0; position: relative; max-width: 720px; margin: 0 auto; }
.process__steps::before { content: ''; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: linear-gradient(to bottom, var(--accent), var(--accent-light)); border-radius: 2px; }
@media (min-width: 768px) { .process__steps::before { left: 35px; } }
.process__step { display: flex; gap: 24px; align-items: flex-start; padding: 0 0 36px; position: relative; }
.process__step:last-child { padding-bottom: 0; }
.process__step-num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  flex-shrink: 0; position: relative; z-index: 1; box-shadow: 0 4px 16px rgba(184,150,90,0.3);
}
@media (min-width: 768px) { .process__step-num { width: 72px; height: 72px; font-size: 28px; } }
.process__step-content { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; flex: 1; margin-top: 4px; transition: all var(--transition); }
.process__step:hover .process__step-content { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.process__step-content h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.process__step-content p { font-size: 14px; color: var(--text-mid); line-height: 1.65; }

.price__inner { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 768px) { .price__inner { grid-template-columns: 1fr 1fr; gap: 64px; } }
.price__text { color: var(--text-mid); font-size: 15px; line-height: 1.75; margin: 20px 0; }
.price__list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.price__list li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-mid); }
.price__list li::before { content: '✓'; width: 22px; height: 22px; background: var(--accent-light); color: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.price__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.price__photo { width: 100%; aspect-ratio: 4/3; background-size: cover; background-position: center; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.reviews__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 600px) { .reviews__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .reviews__grid { grid-template-columns: repeat(3, 1fr); } }
.review-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 22px; transition: all var(--transition); }
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--accent); }
.review-card__stars { color: #f5a623; font-size: 18px; letter-spacing: 2px; margin-bottom: 14px; }
.review-card__text { font-size: 14px; color: var(--text-mid); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.review-card__author { display: flex; align-items: center; gap: 12px; }
.review-card__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-light); color: var(--accent); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 14px; font-weight: 700; flex-shrink: 0; }
.review-card__name { font-size: 14px; font-weight: 700; color: var(--text); }
.review-card__info { font-size: 12px; color: var(--text-light); margin-top: 2px; }

.contacts__inner { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
@media (min-width: 768px) { .contacts__inner { grid-template-columns: 1fr 1fr; gap: 60px; } }
.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-item__icon { font-size: 24px; width: 48px; height: 48px; background: var(--accent-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item__label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 4px; }
.contact-item__val { font-size: 16px; font-weight: 600; color: var(--text); }
.contact-item__val--link { color: var(--accent); transition: color var(--transition); }
.contact-item__val--link:hover { color: var(--accent-dark); }
.contacts__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contacts__map-inner { width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-gray); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.contacts__map-placeholder { text-align: center; padding: 32px; }
.contacts__map-icon { font-size: 48px; margin-bottom: 12px; }
.contacts__map-text { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.contacts__map-sub { font-size: 14px; color: var(--text-light); margin-top: 6px; }

.footer { background: #111; color: rgba(255,255,255,0.75); padding: 48px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (min-width: 768px) { .footer__inner { grid-template-columns: 1fr 1fr 1fr; gap: 40px; } }
.footer__tagline { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 10px; line-height: 1.6; }
.footer__links, .footer__contacts { display: flex; flex-direction: column; gap: 10px; }
.footer__links a, .footer__contacts a, .footer__contacts span { font-size: 14px; color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer__links a:hover, .footer__contacts a:hover { color: var(--accent); }
.footer__bottom { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; font-size: 12px; color: rgba(255,255,255,0.35); text-align: center; }
@media (min-width: 768px) { .footer__bottom { flex-direction: row; justify-content: space-between; } }

.wa-float {
  position: fixed; bottom: 24px; right: 20px; z-index: 990;
  width: 60px; height: 60px; background: var(--wa-green); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(37,211,102,0.45); transition: all var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.wa-float:hover { transform: scale(1.12) translateY(-2px); box-shadow: 0 12px 40px rgba(37,211,102,0.55); }
.wa-float__ring { position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--wa-green); opacity: 0.5; animation: waRing 2.5s ease-in-out infinite; }
@keyframes waRing {
  0%   { transform: scale(1); opacity: 0.5; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1023px) { .header__actions { display: none !important; } }
body, html { max-width: 100%; overflow-x: hidden; }
section, .container { overflow-x: clip; }
::selection { background: var(--accent-light); color: var(--accent-dark); }
