/* === LANDING.CSS ===
   НАЗНАЧЕНИЕ: Стили лендинга Slim Studio
   Эстетика: Роскошь (Cormorant Garamond + DM Sans), тёплые тона
*/

:root {
  --cream:       #faf7f2;
  --cream-dark:  #f2ece0;
  --gold:        #c8a882;
  --gold-dark:   #a07850;
  --brown:       #5a4a3a;
  --brown-light: #8a7a6a;
  --charcoal:    #1e1a16;
  --white:       #ffffff;
  --radius:      12px;
  --shadow:      0 4px 24px rgba(90,74,58,0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--brown);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── Container ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-dark); color: var(--white);
  padding: 14px 32px; border-radius: 50px;
  font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 600;
  transition: background .2s, transform .2s;
}
.btn-primary:hover { background: var(--brown); transform: translateY(-1px); }
.btn-primary.btn-large { padding: 18px 48px; font-size: 1.1rem; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--brown);
  padding: 14px 24px; border-radius: 50px;
  border: 1.5px solid var(--gold);
  font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 500;
  transition: all .2s;
}
.btn-secondary svg { width: 20px; height: 20px; }
.btn-secondary:hover { background: var(--cream-dark); }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  background: rgba(250,247,242,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,168,130,0.2);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: var(--shadow); }

.nav-logo svg { height: 36px; width: auto; }

.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: .95rem; color: var(--brown-light); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--gold-dark); }

.nav-right { display: flex; align-items: center; gap: 16px; }

.nav-lang { display: flex; gap: 4px; }
.nav-lang button {
  background: none; border: 1px solid transparent; padding: 4px 10px;
  border-radius: 20px; font-size: .85rem; color: var(--brown-light);
  cursor: pointer; transition: all .2s;
}
.nav-lang button.active { border-color: var(--gold); color: var(--gold-dark); font-weight: 600; }
.nav-lang button:hover:not(.active) { background: var(--cream-dark); }

.nav-cta {
  background: var(--gold-dark); color: var(--white);
  padding: 9px 22px; border-radius: 50px; white-space: nowrap;
  font-size: .9rem; font-weight: 600; transition: background .2s;
}
.nav-cta:hover { background: var(--brown); }

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

/* ── HERO ── */
.hero {
  width: 100%;
  min-height: calc(100vh - 64px);
  margin-top: 64px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0 0 60px 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% top;
  transform: scale(0.9);
  transform-origin: center top;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(250,247,242,0.88) 28%, rgba(250,247,242,0.2) 60%, transparent 100%),
    linear-gradient(to top, rgba(250,247,242,0.6) 0%, transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 460px;
  padding: 0 0 0 56px;
}
.hero-content h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--charcoal);
  margin: 16px 0 12px;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--brown-light);
  margin-bottom: 32px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.hero-btn { margin-top: 0; }

.hero-inner { display: none; }
.hero-image { display: none; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(242,236,224,0.9); border: 1px solid var(--gold);
  padding: 6px 16px; border-radius: 50px;
  font-size: .85rem; color: var(--gold-dark); font-weight: 500; margin-bottom: 24px;
}
.hero-badge svg { width: 16px; height: 16px; color: var(--gold-dark); }

.hero-content h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 600; line-height: 1.1;
  color: var(--charcoal); margin-bottom: 20px;
}
.hero-content h1 em { color: var(--gold-dark); font-style: italic; }

.hero-sub {
  font-size: 1.1rem; color: var(--brown);
  max-width: 480px; margin-bottom: 36px; line-height: 1.7;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats { display: flex; gap: 32px; }
.hero-stat strong {
  display: block; font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 600; color: var(--gold-dark); line-height: 1;
}
.hero-stat span { font-size: .8rem; color: var(--brown-light); margin-top: 2px; display: block; }

/* ── MARQUEE ── */
.marquee-wrap {
  background: var(--gold-dark); color: var(--white);
  padding: 14px 0; overflow: hidden; white-space: nowrap; width: 100%;
}
.marquee-track {
  display: inline-flex; gap: 48px; will-change: transform;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-size: .95rem; font-weight: 500; letter-spacing: .02em;
  padding: 0 8px; flex-shrink: 0;
}
.marquee-track span:not(:last-child)::after {
  content: ' ·'; margin-left: 48px; opacity: .6;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECTIONS ── */
.section { padding: 96px 0; }
.section-eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold-dark);
  margin-bottom: 12px;
}
.section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 600;
  color: var(--charcoal); margin-bottom: 16px; line-height: 1.2;
}
.section-sub { font-size: 1.05rem; color: var(--brown-light); max-width: 580px; margin-bottom: 56px; }

/* ── METHODOLOGY ── */
.method-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 56px;
}
.method-card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px 24px; border: 1px solid var(--cream-dark);
  transition: box-shadow .2s, transform .2s;
}
.method-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.method-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem; font-weight: 600; color: var(--gold);
  line-height: 1; margin-bottom: 16px;
}
.method-card h3 { font-size: 1rem; font-weight: 600; color: var(--charcoal); margin-bottom: 8px; }
.method-card p { font-size: .9rem; color: var(--brown-light); line-height: 1.6; }

.method-includes {
  background: var(--cream-dark); border-radius: var(--radius);
  padding: 32px; border: 1px solid rgba(200,168,130,0.3);
}
.method-includes-title { font-weight: 600; color: var(--brown); margin-bottom: 20px; }
.method-includes ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; }
.method-includes li {
  display: flex; align-items: center; gap: 10px;
  font-size: .9rem; color: var(--brown);
}
.method-includes li svg { width: 16px; height: 16px; color: var(--gold-dark); flex-shrink: 0; }

/* ── GALLERY ── */
.gallery-section { padding: 96px 0 0; }
.gallery-section .container { margin-bottom: 40px; }
.gallery-carousel { position: relative; overflow: hidden; width: 100%; }
.gallery-track { display: flex; transition: transform .4s ease; width: 100%; }
.gallery-slide { min-width: 100%; aspect-ratio: 16/7; flex-shrink: 0; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }

.gallery-prev, .gallery-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.9); border: none; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%;
  font-size: 1.2rem; color: var(--brown);
  box-shadow: var(--shadow); transition: background .2s;
  display: flex; align-items: center; justify-content: center;
}
.gallery-prev { left: 20px; }
.gallery-next { right: 20px; }
.gallery-prev:hover, .gallery-next:hover { background: var(--white); }

.gallery-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px;
}
.gallery-dot {
  width: 32px; height: 32px; border-radius: 50%;
  background: transparent; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.gallery-dot::after {
  content: ''; display: block; width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.5); transition: background .2s;
}
.gallery-dot.active::after { background: var(--white); }

/* ── BEFORE/AFTER ── */
.ba-section { background: var(--cream-dark); overflow: hidden; }
.ba-marquee-wrap { overflow: hidden; padding: 16px 0 32px; width: 100%; }
.ba-marquee-track {
  display: inline-flex; gap: 24px; will-change: transform;
  animation: marquee 40s linear infinite;
}
.ba-card {
  background: var(--white); border-radius: var(--radius);
  padding: 20px; border: 1px solid rgba(200,168,130,0.2);
  width: 220px; flex-shrink: 0;
}
.ba-photos { display: flex; gap: 8px; margin-bottom: 12px; }
.ba-photo {
  flex: 1; aspect-ratio: 3/4; border-radius: 8px;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 8px; font-size: .7rem; font-weight: 600;
}
.ba-before { background: #d0ccc8; color: #666; }
.ba-after  { background: linear-gradient(135deg, var(--cream-dark), var(--gold)); color: var(--brown); }
.ba-result { text-align: center; font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: var(--gold-dark); }

/* ── EXPERTS ── */
.experts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.expert-card {
  display: flex; gap: 24px; align-items: flex-start;
  background: var(--white); border-radius: var(--radius);
  padding: 32px; border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow);
}
.expert-photo { width: 100px; height: 100px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.expert-photo img { width: 100%; height: 100%; object-fit: cover; }
.expert-role { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-dark); font-weight: 600; margin-bottom: 6px; }
.expert-info h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--charcoal); margin-bottom: 10px; }
.expert-info p { font-size: .9rem; color: var(--brown-light); line-height: 1.6; }

/* ── TESTIMONIALS ── */
.testimonials-section { background: var(--cream-dark); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px; border: 1px solid rgba(200,168,130,0.2);
}
.testimonial-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card p { font-size: 1rem; color: var(--brown); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-name { font-weight: 600; font-size: .9rem; color: var(--gold-dark); }

/* ── PRICING ── */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 780px; margin: 0 auto; }
.pricing-card {
  background: var(--white); border-radius: 20px;
  padding: 40px 36px; border: 1.5px solid var(--cream-dark);
  position: relative; transition: box-shadow .2s;
}
.pricing-card:hover { box-shadow: var(--shadow); }
.pricing-popular {
  border-color: var(--gold-dark);
  box-shadow: 0 8px 32px rgba(160,120,80,0.15);
}
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold-dark); color: var(--white);
  padding: 4px 20px; border-radius: 50px; font-size: .8rem; font-weight: 600; white-space: nowrap;
}
.pricing-name { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-dark); font-weight: 600; margin-bottom: 12px; }
.pricing-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 600; color: var(--charcoal); line-height: 1; margin-bottom: 28px;
}
.pricing-price span { font-size: 1rem; font-family: 'DM Sans', sans-serif; color: var(--brown-light); }
.pricing-features { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.pricing-features li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--brown); }
.pricing-features li svg { width: 16px; height: 16px; color: var(--gold-dark); flex-shrink: 0; }
.btn-pricing {
  display: block; text-align: center; padding: 14px 24px;
  border-radius: 50px; border: 1.5px solid var(--gold-dark);
  color: var(--gold-dark); font-weight: 600; font-size: .95rem; transition: all .2s;
}
.btn-pricing:hover { background: var(--cream-dark); }
.btn-pricing-primary { background: var(--gold-dark); color: var(--white); border-color: var(--gold-dark); }
.btn-pricing-primary:hover { background: var(--brown); border-color: var(--brown); color: var(--white); }

/* ── FINAL CTA ── */
.final-cta {
  background: var(--charcoal); color: var(--white);
  padding: 100px 0; text-align: center;
}
.final-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 600; margin-bottom: 16px; color: var(--white);
}
.final-cta p { font-size: 1.1rem; color: rgba(255,255,255,0.65); margin-bottom: 40px; }
.final-cta .btn-primary { background: var(--gold); color: var(--charcoal); }
.final-cta .btn-primary:hover { background: var(--gold-dark); color: var(--white); }

/* ── FOOTER ── */
.footer { background: var(--charcoal); color: rgba(255,255,255,0.6); padding: 60px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; align-items: start; }
.footer-brand p { font-size: .9rem; margin-top: 12px; color: rgba(255,255,255,0.45); }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: .9rem; color: rgba(255,255,255,0.55); transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-contacts { display: flex; flex-direction: column; gap: 12px; }
.footer-contacts a, .footer-contacts span {
  display: flex; align-items: center; gap: 10px;
  font-size: .9rem; color: rgba(255,255,255,0.55); transition: color .2s;
}
.footer-contacts a:hover { color: var(--gold); }
.footer-contacts svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8rem;
}
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color .2s; }
.footer-bottom a:hover { color: var(--gold); }

/* ── Fade-in ── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; max-width: 100%; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero-content { padding: 0 0 0 32px; max-width: 320px; }
  .hero-bg img { object-position: 72% top; transform: scale(0.95); }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .method-includes ul { grid-template-columns: 1fr 1fr; }
  .experts-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; max-width: 100%; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand svg { height: 28px; }
}

@media (max-width: 600px) {
  .nav { padding: 14px 20px; }
  .hero { align-items: flex-end; padding-bottom: 40px; }
  .hero-content { padding: 0 20px; max-width: 100%; }
  .hero-content h1 { font-size: 2rem; }
  .hero-bg img { object-position: 75% top; transform: scale(1); }
  .method-grid { grid-template-columns: 1fr; }
  .method-includes ul { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .expert-card { flex-direction: column; align-items: center; text-align: center; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .gallery-slide { aspect-ratio: 4/3; }
}
