/* ════════════════════════════════════
   GRUNTOVA BEAUTY — style.css
   Тема: светлая кремовая, точно по оригиналу
════════════════════════════════════ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #1c1510;
  background: #f7f3ec;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ── Variables ── */
:root {
  --cream:    #f7f3ec;
  --cream2:   #f0ebe0;
  --accent:   #b08d57;
  --accent2:  #8a6c3a;
  --text:     #1c1510;
  --muted:    #7a6e62;
  --border:   #e2d9cc;
  --dark:     #1a1208;
  --white:    #ffffff;
  --r:        3px;
  --r-lg:     10px;
  --nav-h:    64px;
  --tr:       0.25s ease;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.vis { opacity: 1; transform: none; }

/* ── Label (small caps gold) ── */
.label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: all var(--tr);
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.btn-dark {
  background: var(--dark);
  color: #fff;
}
.btn-dark:hover { background: #2d2010; box-shadow: 0 4px 16px rgba(0,0,0,0.22); }

.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border: 1px solid #c0b8ae;
}
.btn-outline-dark:hover { border-color: var(--text); background: rgba(28,21,16,.04); }

/* ════════════════════════════════════
   HEADER
════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background var(--tr), box-shadow var(--tr), backdrop-filter var(--tr);
}
.header.solid {
  background: rgba(247, 243, 236, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 32px;
}
.logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text);
  flex-shrink: 0;
  transition: color var(--tr);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo span:first-child {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}
.logo span:last-child {
  font-size: 16px;
}
.logo:hover { color: var(--accent); }

.nav {
  display: flex;
  gap: 32px;
  margin: 0 auto;
}
.nav a {
  font-size: 14px;
  color: var(--muted);
  transition: color var(--tr);
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--tr);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }

.nav-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--text);
  flex-shrink: 0;
  transition: color var(--tr);
}
.nav-phone svg { width: 15px; height: 15px; }
.nav-phone:hover { color: var(--accent); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: all var(--tr);
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(247, 243, 236, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 12px 28px 20px;
  z-index: 199;
}
.mobile-menu.open { display: flex; }
.mob-link {
  display: block;
  padding: 13px 0;
  font-size: 16px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color var(--tr), padding-left var(--tr);
}
.mob-link:last-child { border-bottom: none; }
.mob-link:hover { color: var(--accent); padding-left: 6px; }

/* ════════════════════════════════════
   HERO
════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--cream2);
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: hero-zoom 14s ease-out both;
}
@keyframes hero-zoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1.0); }
}

/* Subtle warm overlay only on left side for readability */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(247,243,236,0.72) 0%,
    rgba(247,243,236,0.5) 35%,
    rgba(247,243,236,0.05) 65%,
    transparent 100%
  );
  z-index: 1;
}

.hero-body {
  position: relative;
  z-index: 2;
  max-width: 520px;
  padding: calc(var(--nav-h) + 60px) 28px 20px;
  margin: 0 auto 0 max(28px, calc((100vw - 1120px)/2 + 28px));
  animation: fade-up 1s 0.2s ease both;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(44px, 5.5vw, 68px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--dark);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Hero bottom bar */
.hero-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 18px max(28px, calc((100vw - 1120px)/2 + 28px));
  border-top: 1px solid rgba(176, 141, 87, 0.25);
  background: rgba(247,243,236,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-top: 32px;
  animation: fade-up 1s 0.5s ease both;
}
.hero-footer-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.hero-footer-item svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
.hero-footer-item a {
  color: var(--muted);
  font-size: 13px;
  transition: color var(--tr);
}
.hero-footer-item a:hover { color: var(--accent); }

.hero-footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.hero-footer-socials a {
  display: flex;
  align-items: center;
  color: var(--muted);
  transition: color var(--tr);
}
.hero-footer-socials a svg { width: 17px; height: 17px; }
.hero-footer-socials a:hover { color: var(--accent); }

/* ════════════════════════════════════
   ABOUT
════════════════════════════════════ */
.about {
  padding: 96px 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-text h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 24px;
}
.about-text p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 14px;
}
.about-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.about-img:hover img { transform: scale(1.03); }

/* ════════════════════════════════════
   SERVICES
════════════════════════════════════ */
.services {
  padding: 96px 0;
  background: var(--cream);
}
.svc-head {
  max-width: 680px;
  margin-bottom: 64px;
}
.svc-head h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 16px;
}
.svc-intro {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

/* Service group */
.svc-group {
  margin-bottom: 56px;
}
.svc-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}
.svc-group-head h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  color: var(--text);
}
.svc-group-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.svc-count {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  flex-shrink: 0;
}
.svc-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0 28px;
}

/* 2-column service grid */
.svc-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 48px;
}
.svc-item {}
.svc-name {
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 4px;
}
.svc-price {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 6px;
}
.svc-desc {
  font-size: 13px;
  color: var(--accent2);
  line-height: 1.6;
}

.svc-cta {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

/* ════════════════════════════════════
   BENEFITS
════════════════════════════════════ */
.benefits {
  padding: 96px 0;
  background: var(--cream2);
}
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.ben-left h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 20px;
}
.ben-left > p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.ben-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ben-photos img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--r-lg);
}
.ben-photos img:first-child { margin-top: 28px; }

/* Feature grid 2x2 */
.ben-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 32px;
}
.ben-feature {}
.ben-icon {
  width: 44px; height: 44px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.ben-icon svg { width: 20px; height: 20px; color: var(--accent); }
.ben-feature h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--accent2);
  margin-bottom: 8px;
}
.ben-feature p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ════════════════════════════════════
   CONTACTS
════════════════════════════════════ */
.contacts {
  padding: 96px 0;
  background: var(--cream);
}
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.con-left h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 20px;
}
.con-left > p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
}
.con-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Contact rows */
.con-right {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
}
.con-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  transition: background var(--tr);
}
.con-row:last-child { border-bottom: none; }
.con-row:hover { background: var(--cream); }

.con-icon {
  width: 36px; height: 36px;
  background: var(--cream2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.con-icon svg { width: 16px; height: 16px; color: var(--accent); }

.con-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.con-row p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}
.con-row p a {
  color: var(--text);
  transition: color var(--tr);
}
.con-row p a:hover { color: var(--accent2); }

/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
.footer {
  background: var(--dark);
  padding: 48px 0 28px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}
.footer-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 21px;
  font-weight: 400;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
  transition: color var(--tr);
}
.footer-logo:hover { color: #d4aa6e; }
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}
.footer-brand a { color: rgba(255,255,255,0.65); transition: color var(--tr); }
.footer-brand a:hover { color: var(--accent); }
.footer-note { color: rgba(255,255,255,0.3) !important; font-size: 12px !important; margin-top: 4px; }

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-links a {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color var(--tr);
}
.footer-links a:hover { color: var(--accent); }

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  text-align: center;
}

/* ════════════════════════════════════
   RESPONSIVE
════════════════════════════════════ */
@media (max-width: 960px) {
  .nav, .nav-phone { display: none; }
  .burger { display: flex; }

  .hero-body {
    margin-left: 0;
    padding-left: 28px;
    padding-right: 28px;
  }

  .about-grid,
  .benefits-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-img { aspect-ratio: 16/9; }
  .ben-photos img:first-child { margin-top: 0; }
}

@media (max-width: 640px) {
  .svc-items { grid-template-columns: 1fr; }
  .ben-right { grid-template-columns: 1fr; }
  .hero-footer { gap: 14px; }
  .hero-footer-socials { margin-left: 0; }
  .footer-inner { flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 14px; }
}
