/* ═══════════════════════════════════════════════════
   РЕНЕССАНС-АРТ — СТИЛИ
   Редактируй в Notepad++ и всё!
   ═══════════════════════════════════════════════════ */

/* --- Цвета --- */
:root {
  --dark: #1A202C;
  --dark2: #2D3748;
  --steel: #4A5568;
  --steel-light: #718096;
  --orange: #F97316;
  --orange-light: #FB923C;
  --orange-dark: #C2410C;
  --stone: #78716C;
  --stone-light: #A8A29E;
  --stone-dark: #44403C;
  --white: #FFFFFF;
  --white60: rgba(255,255,255,0.6);
  --white10: rgba(255,255,255,0.1);
  --white05: rgba(255,255,255,0.05);
  --light-bg: #F7FAFC;
}

/* --- Сброс --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--dark);
  background: var(--light-bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Утилиты --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media(min-width:640px) { .container { padding: 0 24px; } }
@media(min-width:1024px) { .container { padding: 0 32px; } }

.accent { color: var(--orange); }
.accent-stone { color: var(--stone-light); }

/* --- Кнопки --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; border-radius: 10px; cursor: pointer;
  transition: all 0.2s; border: 2px solid transparent;
  font-size: 14px; padding: 10px 20px;
}
.btn-primary { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.3); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
@media(max-width:640px) {
  .btn-lg { padding: 12px 20px; font-size: 14px; }
}

/* --- Секции --- */
.section { padding: 80px 0; }
@media(min-width:640px) { .section { padding: 100px 0; } }
.dark-section { background: linear-gradient(180deg, var(--dark) 0%, var(--dark2) 100%); color: var(--white); }
.light-section { background: var(--light-bg); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.section-header.light h2 { color: var(--white); }
.section-header p { margin-top: 16px; font-size: 16px; color: var(--steel-light); max-width: 600px; margin-left: auto; margin-right: auto; }
.section-header.light p { color: var(--white60); }
.section-line { width: 80px; height: 6px; background: var(--orange); border-radius: 10px; margin: 20px auto 0; }
@media(min-width:640px) { .section-header h2 { font-size: 36px; } }
@media(min-width:1024px) { .section-header h2 { font-size: 48px; } }

/* --- Шапка --- */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent; transition: all 0.3s;
}
#header.scrolled {
  background: rgba(26,32,44,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 20px; font-weight: 800; color: var(--white);
}
.logo-icon { font-size: 18px; }
.logo-icon img { vertical-align: middle; }
.nav-desktop { display: none; align-items: center; gap: 4px; }
.nav-desktop a {
  color: rgba(255,255,255,0.8); font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: 8px; transition: all 0.2s;
}
.nav-desktop a:hover { background: rgba(255,255,255,0.1); color: var(--white); }
@media(min-width:1024px) { .nav-desktop { display: flex; } }

.burger {
  display: block; background: none; border: none; color: var(--white);
  font-size: 24px; cursor: pointer; padding: 8px;
}
@media(min-width:1024px) { .burger { display: none; } }

.mobile-menu {
  display: none; position: fixed; top: 0; right: 0; bottom: 0;
  width: 280px; background: var(--dark); z-index: 200;
  padding: 20px; border-left: 1px solid rgba(255,255,255,0.1);
  transform: translateX(100%); transition: transform 0.3s;
}
.mobile-menu.open { display: block; transform: translateX(0); }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.burger-close { background: none; border: none; color: var(--white); font-size: 20px; cursor: pointer; }
.mobile-nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  color: rgba(255,255,255,0.8); font-size: 16px; font-weight: 500;
  padding: 12px; border-radius: 8px; transition: all 0.2s;
}
.mobile-nav a:hover { background: rgba(255,255,255,0.1); color: var(--orange); }

/* --- Hero --- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,32,44,0.94) 0%, rgba(26,32,44,0.82) 50%, rgba(194,65,12,0.45) 100%);
}

.spark {
  position: absolute; width: 14px; height: 14px; border-radius: 50%;
  background: var(--orange-light); box-shadow: 0 0 12px rgba(249,115,22,0.5);
  animation: spark 2s ease-in-out infinite;
}
.spark-1 { right: 10%; top: 22%; }
.spark-2 { right: 18%; top: 18%; animation-delay: 0.5s; width: 10px; height: 10px; }
.spark-3 { right: 7%; top: 30%; animation-delay: 1s; width: 12px; height: 12px; }
@keyframes spark {
  0%,100% { opacity: 0; transform: scale(0); }
  50% { opacity: 1; transform: scale(1); }
}

.hero-content { position: relative; z-index: 10; padding: 100px 0 60px; max-width: 720px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(249,115,22,0.2); border: 1px solid rgba(249,115,22,0.3);
  padding: 6px 14px; border-radius: 50px; font-size: 13px; font-weight: 600;
  color: var(--orange-light); margin-bottom: 20px; backdrop-filter: blur(4px);
}
.hero h1 {
  font-size: 30px; font-weight: 900; line-height: 1.15; color: var(--white);
  letter-spacing: -0.02em;
}
.hero p {
  margin-top: 20px; font-size: 15px; line-height: 1.7; color: rgba(255,255,255,0.75);
}
@media(min-width:640px) {
  .hero h1 { font-size: 44px; }
  .hero p { font-size: 17px; }
}
@media(min-width:1024px) {
  .hero h1 { font-size: 64px; }
  .hero p { font-size: 19px; }
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-top: 60px;
}
.stat {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  padding: 16px; border-radius: 12px; backdrop-filter: blur(8px);
  transition: background 0.2s;
}
.stat:hover { background: rgba(255,255,255,0.1); }
.stat-value { display: block; font-size: 24px; font-weight: 900; color: var(--orange); }
.stat-label { display: block; font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.9); margin-top: 4px; }
.stat-detail { display: block; font-size: 10px; color: rgba(255,255,255,0.5); }
@media(min-width:640px) {
  .stats { grid-template-columns: repeat(4,1fr); gap: 16px; }
  .stat { padding: 20px; }
  .stat-value { font-size: 32px; }
  .stat-label { font-size: 13px; }
  .stat-detail { font-size: 11px; }
}

.scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  animation: float 3s ease-in-out infinite;
}
.scroll-mouse {
  width: 24px; height: 36px; border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px; display: flex; justify-content: center; padding-top: 8px;
}
.scroll-dot { width: 4px; height: 8px; background: var(--orange); border-radius: 4px; animation: bounce 1.5s infinite; }
@keyframes float { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* --- Карточки услуг --- */
.cards-grid { display: grid; gap: 20px; }
.cards-3 { grid-template-columns: 1fr; }
.cards-2 { grid-template-columns: 1fr; }
@media(min-width:640px) { .cards-3 { grid-template-columns: 1fr 1fr; } .cards-2 { grid-template-columns: 1fr 1fr; } }
@media(min-width:1024px) { .cards-3 { grid-template-columns: 1fr 1fr 1fr; } }

.service-card {
  position: relative; background: var(--white05); border: 1px solid rgba(255,255,255,0.1);
  padding: 24px; border-radius: 16px; backdrop-filter: blur(4px);
  transition: all 0.3s; overflow: hidden;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(249,115,22,0.5); background: var(--white10); box-shadow: 0 20px 40px rgba(249,115,22,0.1); }
.service-card.soon { opacity: 0.7; }
.card-top-line { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--orange); }
.service-icon { font-size: 28px; margin-bottom: 12px; }
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.service-card p { font-size: 13px; color: var(--white60); line-height: 1.6; }
.badge-soon {
  background: var(--orange); color: var(--white); font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 4px;
}
.features { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.features span {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--white05); border: 1px solid rgba(255,255,255,0.05);
  padding: 4px 10px; border-radius: 6px; font-size: 12px; color: rgba(255,255,255,0.7);
}

/* --- Шаги --- */
.steps-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media(min-width:640px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media(min-width:1024px) { .steps-grid { grid-template-columns: repeat(4,1fr); } }

.step {
  position: relative; background: var(--white); border: 2px solid rgba(249,115,22,0.2);
  padding: 24px; border-radius: 16px; transition: all 0.3s;
}
.step:hover { border-color: rgba(249,115,22,0.6); box-shadow: 0 10px 30px rgba(249,115,22,0.1); }
.step-num {
  position: absolute; top: -14px; left: -8px;
  width: 40px; height: 40px; background: var(--orange); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px; font-size: 14px; font-weight: 900;
  box-shadow: 0 4px 12px rgba(249,115,22,0.3);
}
.step-icon { font-size: 28px; margin: 8px 0 12px; }
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--steel-light); line-height: 1.6; }

/* --- Оборудование --- */
.equip-card {
  overflow: hidden; border-radius: 16px; border: 1px solid rgba(255,255,255,0.1);
  background: var(--white05); backdrop-filter: blur(4px);
  transition: all 0.3s;
}
.equip-card:hover { border-color: rgba(249,115,22,0.4); box-shadow: 0 20px 40px rgba(249,115,22,0.1); }
.equip-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.equip-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.equip-card:hover .equip-img img { transform: scale(1.05); }
.equip-body { padding: 24px; }
.equip-body h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.equip-body p { font-size: 13px; color: var(--white60); margin-bottom: 14px; line-height: 1.6; }
.specs li { font-size: 13px; color: rgba(255,255,255,0.7); padding: 4px 0; }
.specs li::before { content: ''; }

/* --- CTA --- */
.cta-section {
  background: var(--dark);
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(249,115,22,0.04) 20px, rgba(249,115,22,0.04) 40px);
  padding: 60px 0;
}
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.cta-text h2 { font-size: 26px; font-weight: 800; color: var(--white); }
.cta-text p { margin-top: 10px; font-size: 16px; color: var(--white60); }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
@media(min-width:1024px) {
  .cta-inner { flex-direction: row; text-align: left; justify-content: space-between; }
  .cta-text { max-width: 600px; }
  .cta-text h2 { font-size: 34px; }
}

/* --- Галерея --- */
.carousel-wrapper { position: relative; max-width: 900px; margin: 0 auto; }
.carousel { overflow: hidden; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.carousel-track { display: flex; transition: transform 0.4s ease; }
.carousel-slide {
  flex: 0 0 100%; position: relative; aspect-ratio: 16/10;
}
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(26,32,44,0.9), transparent);
  padding: 28px 24px;
}
.carousel-caption strong { display: block; font-size: 18px; color: var(--white); }
.carousel-caption span { font-size: 13px; color: rgba(255,255,255,0.6); }

.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2);
  background: rgba(26,32,44,0.8); color: var(--white); font-size: 22px;
  cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center;
}
.carousel-btn:hover { background: var(--orange); border-color: var(--orange); }
.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }
@media(min-width:640px) { .carousel-prev { left: -48px; } .carousel-next { right: -48px; } }

.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.carousel-dots button {
  height: 12px; width: 12px; border-radius: 50%; border: none;
  background: rgba(26,32,44,0.3); cursor: pointer; transition: all 0.3s;
}
.carousel-dots button.active { width: 36px; border-radius: 6px; background: var(--orange); box-shadow: 0 4px 12px rgba(249,115,22,0.3); }

.carousel-thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 24px; }
.carousel-thumbs button {
  aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; border: 3px solid transparent;
  cursor: pointer; opacity: 0.6; transition: all 0.3s; background: none; padding: 0;
}
.carousel-thumbs button.active { border-color: var(--orange); opacity: 1; transform: scale(1.05); box-shadow: 0 8px 20px rgba(249,115,22,0.2); }
.carousel-thumbs button:hover { opacity: 1; }
.carousel-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* --- Почему мы --- */
.why-card {
  display: flex; gap: 20px; background: var(--white05); border: 1px solid rgba(255,255,255,0.1);
  padding: 28px; border-radius: 16px; backdrop-filter: blur(4px); transition: all 0.3s;
}
.why-card:hover { border-color: rgba(249,115,22,0.4); background: var(--white10); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.why-icon { font-size: 28px; flex-shrink: 0; width: 56px; height: 56px; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); border-radius: 14px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(249,115,22,0.3); }
.why-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.why-card p { font-size: 13px; color: var(--white60); line-height: 1.6; }

/* --- Камень --- */
.stone-section { background: linear-gradient(135deg, var(--stone-dark), var(--dark)); }
.stone-card {
  display: flex; flex-direction: column; border-radius: 20px;
  border: 1px solid rgba(168,162,158,0.2); overflow: hidden; background: rgba(255,255,255,0.03);
}
.stone-text { padding: 32px; }
.stone-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(168,162,158,0.2); border: 1px solid rgba(168,162,158,0.3);
  padding: 6px 14px; border-radius: 50px; font-size: 13px; font-weight: 700;
  color: var(--stone-light); margin-bottom: 20px;
}
.stone-text h2 { font-size: 28px; font-weight: 800; color: var(--white); margin-bottom: 16px; }
.stone-text p { font-size: 14px; color: var(--white60); line-height: 1.7; margin-bottom: 20px; }
.stone-img { aspect-ratio: 4/3; overflow: hidden; }
.stone-img img { width: 100%; height: 100%; object-fit: cover; }
@media(min-width:768px) {
  .stone-card { flex-direction: row; }
  .stone-text { padding: 48px; flex: 1; }
  .stone-img { flex: 1; aspect-ratio: auto; min-height: 400px; }
  .stone-text h2 { font-size: 38px; }
}
@media(min-width:1024px) { .stone-text h2 { font-size: 48px; } }

/* --- Контакты --- */
.contacts-grid { display: grid; gap: 24px; }
@media(min-width:1024px) { .contacts-grid { grid-template-columns: 2fr 3fr; } }

.contact-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--white); border: 2px solid rgba(26,32,44,0.08);
  padding: 18px; border-radius: 16px; transition: all 0.3s;
}
.contact-item:hover { border-color: rgba(249,115,22,0.4); box-shadow: 0 8px 24px rgba(249,115,22,0.05); }
.contact-icon { font-size: 20px; flex-shrink: 0; width: 44px; height: 44px; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); border-radius: 12px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(249,115,22,0.2); }
.contact-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--steel-light); }
.contact-value { font-size: 16px; font-weight: 700; color: var(--dark); }
a.contact-value:hover { color: var(--orange); }

.contacts-map { border-radius: 16px; overflow: hidden; border: 2px solid rgba(26,32,44,0.08); box-shadow: 0 8px 24px rgba(0,0,0,0.1); min-height: 400px; }
.contacts-map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; }

/* --- Подвал --- */
.footer-divider { height: 4px; background: linear-gradient(90deg, var(--dark), var(--orange), var(--dark)); }
.footer { background: var(--dark); color: var(--white); }
.footer-grid { display: grid; gap: 32px; padding: 56px 0; }
@media(min-width:640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media(min-width:1024px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr 1fr; } }

.footer-logo { font-size: 20px; margin-bottom: 16px; }
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7; }
.footer-col h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange); margin-bottom: 20px; }
.footer-col nav { display: flex; flex-direction: column; gap: 10px; }
.footer-col nav a { font-size: 13px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col nav a:hover { color: var(--white); }
.footer-contacts { display: flex; flex-direction: column; gap: 10px; }
.footer-contacts a { font-size: 13px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-contacts a:hover { color: var(--white); }
.footer-contacts span { font-size: 13px; color: rgba(255,255,255,0.6); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 28px 0;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 12px; color: rgba(255,255,255,0.4);
}
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: rgba(255,255,255,0.3); transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }
@media(min-width:640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* --- Анимация появления --- */
.fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
