/* ===== Variables & Reset ===== */
:root {
  --white: #ffffff;
  --bg: #fafafa;
  --text: #2c2c2c;
  --text-light: #6b6b6b;
  --accent: #b8860b;         /* тёплое золото */
  --accent-light: #d4a843;
  --accent-bg: #fdf6e3;
  --accent-2: #8b5e6b;       /* приглушённый бордо-розовый */
  --accent-2-light: #b8879a;
  --border: #e8e8e8;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.08);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Raleway', -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

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

/* ===== Typography ===== */
.section-tag {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-tag.center { text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-title.center { text-align: center; }

.highlight {
  color: var(--accent);
  position: relative;
}
.highlight-italic {
  color: var(--accent-2);
  font-style: italic;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,134,11,0.25);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
}
.btn-lg { padding: 18px 40px; font-size: 1rem; }
.btn-full { width: 100%; }

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  font-size: 1.4rem;
  color: var(--accent);
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 1px;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-light);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--white);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: float 20s ease-in-out infinite;
}
.shape-1 {
  width: 500px;
  height: 500px;
  background: var(--accent);
  top: -10%;
  right: -8%;
  animation-delay: 0s;
}
.shape-2 {
  width: 350px;
  height: 350px;
  background: var(--accent-2);
  bottom: -5%;
  left: -5%;
  animation-delay: -7s;
}
.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--accent-light);
  top: 40%;
  left: 15%;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 24px 80px;
}
.hero-tag {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: var(--accent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; transform: scaleY(0.5); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===== About ===== */
.about {
  padding: 100px 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image { position: relative; }
.about-image-frame {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-bg), #f0e6d0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.about-placeholder-icon { font-size: 4rem; }
.about-placeholder-text {
  font-size: 0.85rem;
  color: var(--text-light);
}
.about-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--accent);
  color: var(--white);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(184,134,11,0.3);
}
.badge-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
}
.badge-text {
  font-size: 0.7rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
  margin-top: 2px;
}
.about-text {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 0.98rem;
}
.about-stats {
  display: flex;
  gap: 48px;
  margin-top: 32px;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}
.stat-plus {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* ===== Gallery ===== */
.gallery {
  padding: 100px 0;
  background: var(--bg);
}
.gallery-intro {
  text-align: center;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto 40px;
  font-size: 0.98rem;
}
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.filter-btn.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-item {
  transition: var(--transition);
}
.gallery-item.hidden {
  display: none;
}
.gallery-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}
.gallery-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.gallery-icon {
  font-size: 3rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44,44,44,0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  opacity: 0;
  transition: var(--transition);
}
.gallery-card:hover .gallery-overlay {
  opacity: 1;
}
.gallery-card:hover .gallery-img {
  transform: scale(1.05);
}
.gallery-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 6px;
}
.gallery-overlay p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}
.gallery-overlay .price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--accent-light);
}
.gallery-cta {
  text-align: center;
  margin-top: 48px;
}

/* ===== Process ===== */
.process {
  padding: 100px 0;
  background: var(--white);
}
.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 48px;
}
.step {
  text-align: center;
  max-width: 220px;
  position: relative;
}
.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--accent-bg);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 12px;
}
.step-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 8px;
}
.step p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}
.step-connector {
  width: 60px;
  height: 1px;
  background: var(--border);
  margin-top: 40px;
  flex-shrink: 0;
}

/* ===== Features ===== */
.features {
  padding: 80px 0;
  background: var(--bg);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-bg);
}
.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
.feature h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 8px;
}
.feature p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== Reviews ===== */
.reviews {
  padding: 100px 0;
  background: var(--white);
}
.reviews-slider {
  margin-top: 48px;
  overflow: hidden;
  position: relative;
}
.reviews-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
}
.review-card {
  min-width: calc(33.333% - 16px);
  background: var(--bg);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.review-stars {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.review-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}
.review-author strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
}
.review-author span {
  font-size: 0.82rem;
  color: var(--text-light);
}
.reviews-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.review-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.review-dots {
  display: flex;
  gap: 8px;
}
.review-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.review-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 80px 0;
  background: var(--white);
}
.cta-box {
  background: linear-gradient(135deg, var(--accent-bg), #f5ede0);
  border-radius: var(--radius);
  padding: 64px;
  text-align: center;
  border: 1px solid rgba(184,134,11,0.1);
}
.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  margin-bottom: 16px;
}
.cta-box p {
  color: var(--text-light);
  margin-bottom: 28px;
  font-size: 1rem;
}

/* ===== Contact ===== */
.contact {
  padding: 100px 0;
  background: var(--bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-text {
  color: var(--text-light);
  margin-bottom: 32px;
  font-size: 0.98rem;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
}
.method-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-method strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
}
.contact-method span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.contact-form-wrap {
  position: relative;
}
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184,134,11,0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 60px 40px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.form-success.show {
  display: block;
}
.success-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 16px;
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.form-success p {
  color: var(--text-light);
}

/* ===== Footer ===== */
.footer {
  padding: 48px 0 24px;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.footer-brand .logo-icon {
  font-size: 1.1rem;
}
.footer-brand .logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.footer-brand p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 4px;
}
.footer-links {
  display: flex;
  gap: 28px;
}
.footer-links a {
  font-size: 0.88rem;
  color: var(--text-light);
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-social {
  display: flex;
  gap: 12px;
}
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}
.social-link:hover {
  border-color: var(--accent);
  background: var(--accent-bg);
}
.footer-bottom {
  text-align: center;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ===== Scroll Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .about-grid {
    gap: 48px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image {
    max-width: 400px;
    margin: 0 auto;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .process-steps {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .step-connector {
    width: 1px;
    height: 32px;
    margin: 0;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .review-card {
    min-width: calc(100% - 16px);
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  .cta-box {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .about-stats {
    gap: 24px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
