﻿:root {
  --bg: #090705;
  --white: #12100E;
  --border: #473928;
  --border-light: #594934;
  --text: #E8DDD0;
  --text-secondary: #B5A08C;
  --accent: #8F7653;
  --accent-hover: #A88A60;
  --gold: #CFA159;
  --wood: #A88A60;
  --gray: #A58E7A;
  --dark-footer: #090705;
  --quote-text: #F2EAE0;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.6);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.7);
  --shadow-xl: 0 16px 50px rgba(0,0,0,0.8);
}

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

body {
  font-family: 'Forum', serif;
  background-color: var(--bg);
  background-image:
    repeating-linear-gradient(90deg, transparent 0px, transparent 383px, rgba(207,161,89,0.025) 383px, rgba(207,161,89,0.025) 384px),
    repeating-linear-gradient(0deg, transparent 0px, transparent 383px, rgba(207,161,89,0.025) 383px, rgba(207,161,89,0.025) 384px),
    repeating-linear-gradient(90deg, transparent 0px, transparent 95px, rgba(207,161,89,0.01) 95px, rgba(207,161,89,0.01) 96px),
    repeating-linear-gradient(0deg, transparent 0px, transparent 95px, rgba(207,161,89,0.01) 95px, rgba(207,161,89,0.01) 96px);
  color: var(--text);
  line-height: 1.8;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.25s;
}
a:hover {
  color: var(--accent-hover);
  opacity: 1;
}
a:not(.btn):not(.card):not(.logo):not(.nav > a):not(.footer a):hover {
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

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

/* Animations */
.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
}
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Cascade animation delays for cards */
.card-grid > .fade-in-up:nth-child(1) { transition-delay: 0s; }
.card-grid > .fade-in-up:nth-child(2) { transition-delay: 0.1s; }
.card-grid > .fade-in-up:nth-child(3) { transition-delay: 0.2s; }
.card-grid > .fade-in-up:nth-child(4) { transition-delay: 0.3s; }
.card-grid > .fade-in-up:nth-child(5) { transition-delay: 0.4s; }
.card-grid > .fade-in-up:nth-child(6) { transition-delay: 0.5s; }
.services-grid > .fade-in-up:nth-child(1) { transition-delay: 0s; }
.services-grid > .fade-in-up:nth-child(2) { transition-delay: 0.1s; }
.services-grid > .fade-in-up:nth-child(3) { transition-delay: 0.2s; }
.services-grid > .fade-in-up:nth-child(4) { transition-delay: 0.3s; }
.services-grid > .fade-in-up:nth-child(5) { transition-delay: 0.4s; }
.services-grid > .fade-in-up:nth-child(6) { transition-delay: 0.5s; }
.advantages-grid > .fade-in-up:nth-child(1) { transition-delay: 0s; }
.advantages-grid > .fade-in-up:nth-child(2) { transition-delay: 0.1s; }
.advantages-grid > .fade-in-up:nth-child(3) { transition-delay: 0.2s; }
.advantages-grid > .fade-in-up:nth-child(4) { transition-delay: 0.3s; }
.artisan-grid > .fade-in-up:nth-child(1) { transition-delay: 0s; }
.artisan-grid > .fade-in-up:nth-child(2) { transition-delay: 0.08s; }
.artisan-grid > .fade-in-up:nth-child(3) { transition-delay: 0.16s; }
.artisan-grid > .fade-in-up:nth-child(4) { transition-delay: 0.24s; }
.artisan-grid > .fade-in-up:nth-child(5) { transition-delay: 0.32s; }
.artisan-grid > .fade-in-up:nth-child(6) { transition-delay: 0.4s; }

/* Typography */
h1, h2 {
  font-family: 'Monomakh', serif;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: #F2EAE0;
}
h3, h4, h5, h6 {
  font-family: 'Forum', serif;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: #F2EAE0;
}
h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 0.5em;
}
h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 0.5em;
}
h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.25;
  margin-bottom: 0.5em;
}
h4 {
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  line-height: 1.3;
  margin-bottom: 0.5em;
}

p, li, .text {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.8;
  margin-bottom: 1em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  text-align: center;
  border-radius: 6px;
  letter-spacing: 0.02em;
  gap: 8px;
  line-height: 1.2;
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover {
  background: rgba(143, 118, 83, 0.15);
  color: var(--accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  opacity: 1;
}
.btn-solid,
.btn.btn-solid {
  background: var(--accent);
  border: 2px solid var(--accent);
  color: #090705;
  box-shadow: 0 4px 14px rgba(143, 118, 83, 0.3);
}
.btn-solid:hover,
.btn.btn-solid:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #090705;
  box-shadow: 0 8px 24px rgba(143, 118, 83, 0.4);
  transform: translateY(-2px);
  opacity: 1;
}
.btn-gold {
  background: var(--gold);
  border: 2px solid var(--gold);
  color: #090705;
  box-shadow: 0 4px 14px rgba(207, 161, 89, 0.35);
  position: relative;
}
.btn-gold:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #090705;
  box-shadow: 0 8px 24px rgba(143, 118, 83, 0.4);
  transform: translateY(-2px);
  opacity: 1;
}
.btn-sm {
  padding: 10px 28px;
  font-size: 0.85rem;
}

/* Header */
.header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  font-family: 'Monomakh', serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.nav {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: nowrap;
}
.nav > a {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  padding: 8px 12px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease-in-out;
  white-space: nowrap;
}
.nav > a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
  opacity: 1;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.phone-link {
  font-weight: 600;
  white-space: nowrap;
  color: var(--accent) !important;
  border-bottom: none !important;
}
.header-phone {
  font-size: 20px;
  font-weight: 700;
  color: #CFA159;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.2);
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: color 0.3s, background 0.3s;
  white-space: nowrap;
}
.header-phone:hover {
  color: #A88A60;
  background: rgba(0,0,0,0.35);
}

/* Dropdown (legacy) */
.dropdown {
  position: relative;
}
.dropdown > a {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s;
}
.dropdown > a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
  opacity: 1;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1A1612;
  border: 1px solid var(--border);
  min-width: 240px;
  padding: 8px 0;
  z-index: 10;
  box-shadow: var(--shadow-lg);
  border-radius: 6px;
  margin-top: 4px;
}
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem;
  color: var(--text) !important;
  transition: background 0.2s;
  border-bottom: none !important;
}
.dropdown-menu a:hover {
  background: rgba(143, 118, 83, 0.1);
  opacity: 1;
}
.dropdown:hover .dropdown-menu,
.dropdown-menu.show {
  display: block;
}

/* Mobile phone link */
.header-phone-mobile {
  display: none;
}
@media (max-width: 768px) {
  .header-phone-mobile {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #CFA159;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    padding: 6px 10px;
    background: rgba(0,0,0,0.2);
    border-radius: 6px;
    white-space: nowrap;
  }
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* Footer */
.footer {
  position: relative;
  background: #070503;
  color: var(--text-secondary);
  padding: 80px 20px 0;
  overflow: hidden;
}
/* Gradient transition from content to footer */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent 0%, rgba(7,5,3,0.5) 50%, #070503 100%);
  pointer-events: none;
  z-index: 0;
}
/* Subtle wood-grain texture background */
.footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0px, transparent 40px, rgba(207,161,89,0.012) 40px, rgba(207,161,89,0.012) 41px),
    repeating-linear-gradient(0deg, transparent 0px, transparent 80px, rgba(207,161,89,0.008) 80px, rgba(207,161,89,0.008) 81px);
  pointer-events: none;
  z-index: 0;
}
.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(71,57,40,0.25);
}
.footer-brand h3 {
  font-family: 'Forum', serif;
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-brand p {
  font-size: clamp(0.9375rem, 1vw, 1rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 360px;
}
.footer-nav-col h3,
.footer-contacts h3 {
  font-family: 'Forum', serif;
  font-size: clamp(0.8125rem, 0.9vw, 0.875rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: var(--text-secondary);
  font-size: clamp(0.9375rem, 1vw, 1rem);
  transition: color 0.25s;
}
.footer-nav a:hover {
  color: var(--gold);
}
.footer-phone {
  display: inline-block;
  font-family: 'Forum', serif;
  font-size: 1.4rem;
  color: var(--gold);
  text-decoration: none;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
  transition: color 0.25s;
}
.footer-phone:hover {
  color: #E0B870;
}
.footer-email,
.footer-address {
  font-size: clamp(0.9375rem, 1vw, 1rem);
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.footer-social {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}
.footer-social a {
  font-family: 'Forum', serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.25s;
}
.footer-social a:hover {
  color: var(--gold);
}
.footer-bottom {
  position: relative;
  z-index: 1;
}
.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: clamp(0.8125rem, 0.9vw, 0.875rem);
  color: #594934;
}
.footer-privacy {
  color: var(--gold);
  text-decoration: underline;
  font-size: clamp(0.8125rem, 0.9vw, 0.875rem);
}
.footer-privacy:hover {
  color: var(--gold);
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}
.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  animation: heroZoom 8s ease-out forwards;
}
@keyframes heroZoom {
  0% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(9,7,5,0.75) 0%, rgba(9,7,5,0.4) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 20px;
}
.hero h1 {
  color: #F2EAE0;
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero p {
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  color: rgba(242, 234, 224, 0.8);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero .btn-outline {
  border-color: rgba(242, 234, 224, 0.6);
  color: #F2EAE0;
}
.hero .btn-outline:hover {
  background: rgba(143, 118, 83, 0.2);
  border-color: var(--accent);
  color: #F2EAE0;
  box-shadow: none;
}

/* Homepage hero - override padding only */
.hero-home {
  padding: 0;
}

/* Sections */
.section {
  padding: 80px 20px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: #F2EAE0;
}
.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 48px;
  font-size: clamp(0.875rem, 1vw, 1rem);
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Card */
.card {
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
  display: block;
  text-decoration: none;
  color: inherit;
}
.card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.8);
  border-color: var(--accent);
  border-width: 2px;
  transform: translateY(-6px);
}
.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: #1A1612;
  transition: transform 0.4s ease;
}
.card:hover .card-img {
  transform: scale(1.03);
}
.card-body {
  padding: 20px;
}
.card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #F2EAE0;
  letter-spacing: 0.02em;
}
.card-meta {
  font-size: clamp(0.9375rem, 1.1vw, 1rem);
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}
.card-action {
  margin-top: 4px;
}

/* Advantages grid */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}
.advantage-item {
  text-align: center;
  padding: 40px 28px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s ease, transform 0.4s ease, border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}
.advantage-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(207, 161, 89, 0.25);
}
.advantage-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Forum', serif;
  font-size: clamp(5rem, 10vw, 8rem);
  color: var(--gold);
  opacity: 0.08;
  line-height: 1;
  pointer-events: none;
  filter: blur(1.5px);
  text-shadow: 0 0 30px rgba(207, 161, 89, 0.12);
}
.advantage-item h3 {
  position: relative;
  z-index: 0;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
  letter-spacing: 0.03em;
}
.advantage-item p {
  position: relative;
  z-index: 0;
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Craft vs Modernity */
.craft-block {
  padding: 80px 20px;
  background: linear-gradient(180deg, #0C0907 0%, var(--bg) 50%, #0C0907 100%);
  position: relative;
  overflow: hidden;
}
.craft-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(143, 118, 83, 0.025) 40px, rgba(143, 118, 83, 0.025) 41px),
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(143, 118, 83, 0.025) 40px, rgba(143, 118, 83, 0.025) 41px);
  pointer-events: none;
}
.craft-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 40px auto 0;
}
.craft-col {
  padding: 36px 32px;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.craft-col:hover {
  box-shadow: var(--shadow-md);
}
.craft-col.wrong {
  background: #1A1412;
  border-color: #594934;
}
.craft-col.right {
  background: #1A1A12;
  border-color: var(--accent);
}
.craft-icon {
  margin-bottom: 16px;
}
.craft-col h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}
.craft-col.wrong h3 {
  color: #C87777;
}
.craft-col.right h3 {
  color: var(--accent);
}
.craft-col p {
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  color: var(--gray);
  line-height: 1.8;
}

/* Calculator */
.calculator {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}
.calc-row {
  margin-bottom: 20px;
}
.calc-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text);
}
.calc-row select,
.calc-row input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 16px;
  background: #12100E;
  color: var(--text);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.calc-row input::placeholder {
  color: #6F5E47;
}
.calc-row select:focus,
.calc-row input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(143, 118, 83, 0.25);
}

.calc-row input[type="number"]::-webkit-inner-spin-button {
  width: 28px;
  height: 100%;
  background: #1A1612;
  border-left: 1px solid var(--border);
  cursor: pointer;
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23CFA159' d='M6 2l4 5H2z'/%3E%3Cpath fill='%23CFA159' d='M6 10l4-5H2z'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23CFA159' d='M6 10l4-5H2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: center 8px, center calc(100% - 8px);
  background-size: 12px, 12px;
}

.calc-row input[type="number"]::-webkit-inner-spin-button:hover {
  background-color: #1F1A16;
}

.calc-row input[type="number"] {
  -moz-appearance: textfield;
  padding-right: 44px;
}


.calc-result {
  text-align: center;
  padding: 24px;
  margin-top: 24px;
  border: 1px solid var(--accent);
  border-radius: 12px;
  background: #1A1612;
}
.calc-result .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: 4px;
}
.calc-error {
  color: #C87777;
  font-size: 0.85rem;
  margin-top: 8px;
}

/* Section variants */
.section-white {
  background: var(--white);
}
.section-alt {
  background: #0C0A08;
}

/* ===== ABOUT PREMIUM (magazine layout) ===== */
.about-premium {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}
.about-premium-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  border: 1px solid var(--border);
}
.about-premium-image img {
  width: 100%;
  height: auto;
  display: block;
}
.about-premium-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 28px;
  background: linear-gradient(0deg, rgba(9,7,5,0.85) 0%, transparent 100%);
  display: flex;
  align-items: center;
  gap: 12px;
}
.about-premium-badge-year {
  font-family: 'Forum', serif;
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
}
.about-premium-badge-label {
  font-size: 0.7rem;
  color: rgba(242,234,224,0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.about-premium-tag {
  font-family: 'Forum', serif;
  font-size: clamp(0.8125rem, 0.9vw, 0.875rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}
.about-premium-content h2 {
  text-align: left;
  margin-bottom: 20px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}
.about-premium-text {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
}
.about-premium-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.about-premium-list li {
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.4;
}
.about-premium-list li svg {
  stroke: var(--gold);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

@media (max-width: 900px) {
  .about-premium {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-premium-image img {
    height: 360px;
  }
  .about-premium-badge {
    padding: 16px 20px;
  }
  .about-premium-badge-year {
    font-size: 2rem;
  }
}

/* ===== ABOUT PAGE — MAGAZINE LAYOUT ===== */
.about-magazine {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}
.about-magazine-wide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.about-lead {
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 20px;
  max-width: 680px;
}
.about-body {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 680px;
}
.about-section-tag {
  font-family: 'Forum', serif;
  font-size: clamp(0.75rem, 0.9vw, 0.8125rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}
.about-magazine h2,
.about-magazine-wide h2:not(.section-title) {
  font-family: 'Forum', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.about-pull-quote {
  margin: 0 auto;
  max-width: 720px;
  padding: 32px 0 32px 36px;
  border-left: 2px solid var(--gold);
  position: relative;
}
.about-pull-quote p {
  font-family: 'Forum', serif;
  font-size: clamp(1.2rem, 1.5vw, 1.4rem);
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 10px;
}
.about-pull-quote cite {
  font-family: 'Forum', serif;
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-style: normal;
  opacity: 0.8;
}
.about-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 40px auto 0;
}
.about-process-step {
  text-align: center;
  padding: 32px 24px;
  position: relative;
}
.about-process-step + .about-process-step {
  border-left: 1px solid rgba(71,57,40,0.25);
}
.about-process-num {
  font-family: 'Forum', serif;
  font-size: 2.5rem;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
}
.about-process-step h3 {
  font-family: 'Forum', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
  letter-spacing: 0.03em;
}
.about-process-step p {
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}
.about-highlight {
  border: 1px solid rgba(207,161,89,0.15);
  border-radius: 12px;
  padding: 28px 32px;
  margin: 32px 0;
  background: linear-gradient(135deg, rgba(207,161,89,0.04) 0%, transparent 100%);
}
.about-highlight p {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 800px) {
  .about-process {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .about-process-step + .about-process-step {
    border-left: none;
    border-top: 1px solid rgba(71,57,40,0.2);
    padding-top: 32px;
    margin-top: 8px;
  }
}

/* ===== PREMIUM ARTISAN SHOWCASE ===== */
.artisan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1140px;
  margin: 48px auto 0;
  gap: 1px;
  background: rgba(71, 57, 40, 0.2);
  border: 1px solid rgba(71, 57, 40, 0.2);
}
.artisan-item {
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(14,11,9,0.6) 0%, rgba(9,7,5,0.95) 100%);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  text-align: center;
}
.artisan-item:hover {
  background: linear-gradient(180deg, rgba(20,16,12,0.85) 0%, rgba(14,11,9,1) 100%);
}
.artisan-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Forum', serif;
  font-size: clamp(6rem, 12vw, 10rem);
  color: var(--gold);
  opacity: 0.08;
  line-height: 1;
  pointer-events: none;
  filter: blur(1.5px);
  text-shadow: 0 0 30px rgba(207, 161, 89, 0.12);
}
.artisan-item h3 {
  position: relative;
  z-index: 0;
  font-family: 'Forum', serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #EDE5D8;
  letter-spacing: 0.04em;
}
.artisan-item p {
  position: relative;
  z-index: 0;
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}
.artisan-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: all 0.5s ease;
}
.artisan-item:hover::after {
  opacity: 0.4;
  left: 5%;
  right: 5%;
}

/* ===== PREMIUM CRAFT BLOCK ===== */
.craft-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 800px;
  margin: 32px auto 48px;
  background: rgba(71, 57, 40, 0.25);
  border: 1px solid rgba(71, 57, 40, 0.3);
}
.craft-stat-item {
  background: rgba(9, 7, 5, 0.7);
  padding: 36px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.craft-stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}
.craft-stat-number {
  font-family: 'Forum', serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}
.craft-stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.craft-comparison {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(71, 57, 40, 0.3);
}
.craft-compare-col {
  padding: 48px 40px;
  position: relative;
  text-align: center;
}
.craft-compare-col.wrong {
  background: rgba(26,20,18,0.6);
  border-right: 1px solid rgba(71, 57, 40, 0.2);
}
.craft-compare-col.right {
  background: rgba(20,22,12,0.4);
}
.craft-compare-label {
  font-family: 'Forum', serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-align: center;
}
.craft-compare-col.wrong .craft-compare-label {
  color: #C87777;
}
.craft-compare-col.right .craft-compare-label {
  color: var(--gold);
}
.craft-compare-title {
  font-family: 'Forum', serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 16px;
  line-height: 1.3;
  text-align: center;
}
.craft-compare-col.wrong .craft-compare-title {
  color: #C87777;
}
.craft-compare-col.right .craft-compare-title {
  color: var(--accent);
}
.craft-compare-col p {
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}
.craft-compare-icon {
  margin: 0 auto 20px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.4s ease;
}
.craft-compare-col.wrong .craft-compare-icon {
  border: 1px solid rgba(200, 119, 119, 0.2);
}
.craft-compare-col.right .craft-compare-icon {
  border: 1px solid rgba(207, 161, 89, 0.3);
}
.craft-compare-col.right:hover .craft-compare-icon {
  border-color: rgba(207, 161, 89, 0.5);
  background: rgba(207, 161, 89, 0.06);
  box-shadow: 0 0 20px rgba(207, 161, 89, 0.1);
}

/* ===== PREMIUM SUBPAGE HERO ===== */
.hero-sub {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}
.hero-sub-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-sub-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 8s ease-out forwards;
}
.hero-sub-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(9,7,5,0.92) 0%, rgba(9,7,5,0.55) 50%, rgba(9,7,5,0.8) 100%);
  z-index: 1;
}
.hero-sub-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  padding: 40px 20px;
}
.hero-sub-label {
  font-family: 'Forum', serif;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0.8;
}
.hero-sub h1 {
  color: #F2EAE0;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.hero-sub p {
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  color: rgba(242, 234, 224, 0.8);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}
.hero-sub-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 20px auto;
}
.hero-sub-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 32px;
}
.hero-sub-stat-number {
  font-family: 'Forum', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--gold);
  line-height: 1;
}
.hero-sub-stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
}

/* ===== GOLD DECORATIVE DIVIDER ===== */
.gold-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 24px;
  opacity: 0.4;
}

/* ===== SECTION LEAD PARAGRAPH ===== */
.section-lead {
  max-width: 720px;
  margin: -24px auto 32px;
  text-align: center;
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.75;
  font-style: italic;
}

/* ===== BUTTON SHIMMER ===== */
.btn-gold::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 20%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: rotate(25deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn-gold:hover::after {
  left: 130%;
}

/* ===== ENHANCED HOVER SHADOWS ===== */
.advantage-item {
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.advantage-item:hover {
  border-color: rgba(143, 118, 83, 0.3);
}
.service-card {
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.card {
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Quote */
.quote-block {
  background: var(--white);
  color: var(--quote-text);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-left: 4px solid var(--accent);
}
.quote-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255,255,255,0.02) 40px, rgba(255,255,255,0.02) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,0.02) 40px, rgba(255,255,255,0.02) 41px),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}
.quote-block blockquote {
  font-family: 'Forum', serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-style: italic;
  max-width: 720px;
  margin: 0 auto 20px;
  line-height: 1.6;
  color: #F2EAE0;
}
.quote-highlight {
  color: var(--gold);
}
.quote-block cite {
  font-family: 'Forum', serif;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: normal;
}

/* Form */
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--text);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 16px;
  background: #12100E;
  color: var(--text);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #6F5E47;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(143, 118, 83, 0.25);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Contacts */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.contact-info p {
  margin-bottom: 16px;
  font-size: 1rem;
}
.contact-info strong {
  font-weight: 600;
  color: var(--accent);
}
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

/* Service page */
.service-hero {
  background: var(--bg);
  padding: 80px 20px;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}
.service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
  pointer-events: none;
}
.service-hero h1 {
  color: #F2EAE0;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.service-hero p {
  color: rgba(242, 234, 224, 0.8);
}
.service-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Filters */
.filters {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.filter-btn {
  padding: 10px 24px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  font-size: clamp(0.9375rem, 1vw, 1rem);
  font-family: inherit;
  border-radius: 6px;
  transition: all 0.25s;
  color: var(--text);
  font-weight: 500;
}
.filter-btn.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #090705;
}
.filter-btn:hover:not(.active) {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(143, 118, 83, 0.1);
}
.filter-select {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: inherit;
  background: #12100E;
  color: var(--text);
  transition: border-color 0.25s;
  font-weight: 500;
}
.filter-select:focus {
  outline: none;
  border-color: var(--accent);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.pagination button {
  padding: 10px 16px;
  border: 1px solid var(--border);
  background: #12100E;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  border-radius: 6px;
  transition: all 0.25s;
  color: var(--text);
  font-weight: 500;
}
.pagination button:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.pagination button.active {
  background: var(--accent);
  color: #090705;
  border-color: var(--accent);
}

/* Slider */
.slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}
.slider-track {
  display: flex;
  transition: transform 0.4s ease;
}
.slider-slide {
  min-width: 100%;
}
.slider-slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  background: #1A1612;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(143, 118, 83, 0.75);
  color: #090705;
  border: none;
  font-size: 1.5rem;
  padding: 14px 18px;
  cursor: pointer;
  z-index: 2;
  transition: background 0.25s;
}
.slider-arrow:hover {
  background: rgba(143, 118, 83, 0.95);
}
.slider-arrow.prev {
  left: 0;
  border-radius: 0 4px 4px 0;
}
.slider-arrow.next {
  right: 0;
  border-radius: 4px 0 0 4px;
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  border: none;
  transition: background 0.25s, transform 0.25s;
}
.slider-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}
.slider-dot:hover {
  background: var(--gray);
}

/* Specs */
.specs {
  max-width: 800px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
  background: var(--white);
  transition: box-shadow 0.25s;
}
.spec-item:hover {
  box-shadow: var(--shadow-sm);
}
.spec-label {
  font-weight: 600;
  color: var(--accent);
}
.spec-value {
  color: var(--gray);
}

/* Certificates */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.cert-item {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #1A1612, #12100E);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: box-shadow 0.3s;
}
.cert-item:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}

/* About page images */
.about-img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  border: 1px solid var(--border);
}

/* Map */
.map-placeholder {
  width: 100%;
  height: 400px;
  background: #1A1612;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
}

/* Services page grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  transition: all 0.3s ease;
  overflow: hidden;
}
.service-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.8);
  border-color: var(--accent);
  border-width: 2px;
  transform: translateY(-6px);
}
.service-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #1A1612, #12100E);
}
.service-card-body {
  padding: 20px;
}
.service-card-title {
  font-family: 'Forum', serif;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  color: #F2EAE0;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.service-card-description {
  font-size: clamp(0.9375rem, 1.1vw, 1rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 1023px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Service advantage cards grid */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 24px auto 0;
}
.advantage-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 120px;
  aspect-ratio: 1 / 1;
  transition: box-shadow 0.25s, transform 0.25s, background 0.25s;
}
.advantage-card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
  transform: translateY(-2px);
  background: rgba(143, 118, 83, 0.08);
  border-color: var(--accent);
}
.advantage-card svg {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  color: var(--accent);
  stroke: var(--accent);
}
.advantage-text {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  word-break: break-word;
}

@media (max-width: 1023px) {
  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .advantage-grid {
    grid-template-columns: 1fr;
  }
  .advantage-card {
    aspect-ratio: auto;
    min-height: 80px;
    flex-direction: row;
    gap: 14px;
    padding: 12px 16px;
    text-align: left;
    justify-content: flex-start;
  }
  .advantage-card svg {
    width: 32px;
    height: 32px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
}

/* Quote marks */
.quote-mark {
  font-size: 2.5rem;
  line-height: 0;
  vertical-align: middle;
  color: var(--accent);
  opacity: 0.5;
}

/* Section dividers */
.section-divider {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 16px;
  opacity: 0.3;
}
.section-divider-full {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 0;
  opacity: 0.5;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-hover);
}

/* ===== DEPTH & DECORATIVE BACKGROUNDS ===== */

/* Large background watermarks */
.hero::after {
  content: 'НАСЛЕДИЕ';
  position: absolute;
  z-index: 0;
  bottom: -3%;
  right: -3%;
  font-family: 'Forum', serif;
  font-size: clamp(8rem, 22vw, 18rem);
  color: var(--gold);
  opacity: 0.025;
  line-height: 1;
  letter-spacing: 0.08em;
  pointer-events: none;
  user-select: none;
  transform: rotate(-2deg);
  white-space: nowrap;
}

.craft-block::after {
  content: 'МАСТЕРСТВО';
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-4deg);
  font-family: 'Forum', serif;
  font-size: clamp(7rem, 18vw, 15rem);
  color: var(--gold);
  opacity: 0.02;
  line-height: 1;
  letter-spacing: 0.1em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.about-premium {
  position: relative;
}
.about-premium::before {
  content: 'ТРАДИЦИИ';
  position: absolute;
  z-index: 0;
  top: -2%;
  left: -2%;
  font-family: 'Forum', serif;
  font-size: clamp(6rem, 14vw, 12rem);
  color: var(--gold);
  opacity: 0.02;
  line-height: 1;
  letter-spacing: 0.15em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.footer-inner::before {
  content: 'ДОЛГОВЕЧНОСТЬ';
  position: absolute;
  z-index: 0;
  top: 50%;
  right: -5%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  font-family: 'Forum', serif;
  font-size: clamp(5rem, 10vw, 9rem);
  color: var(--gold);
  opacity: 0.02;
  line-height: 1;
  letter-spacing: 0.2em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* Ornamental dividers */
.ornament {
  height: 1px;
  position: relative;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 5%, rgba(207,161,89,0.05) 50%, transparent 95%);
  margin: 0;
  border: none;
}
.ornament::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 12px;
  background:
    linear-gradient(45deg, transparent 33.33%, rgba(207,161,89,0.05) 33.33%, rgba(207,161,89,0.05) 66.66%, transparent 66.66%),
    linear-gradient(-45deg, transparent 33.33%, rgba(207,161,89,0.05) 33.33%, rgba(207,161,89,0.05) 66.66%, transparent 66.66%);
  background-size: 12px 12px;
}

/* Responsive */
@media (max-width: 1024px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .section {
    padding: 64px 20px;
  }
  .hero-content {
    padding: 80px 20px;
  }
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .craft-grid {
    grid-template-columns: 1fr;
  }
  .artisan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .craft-comparison {
    grid-template-columns: 1fr;
  }
  .craft-compare-col.wrong {
    border-right: none;
    border-bottom: 1px solid rgba(71, 57, 40, 0.2);
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  p, li, .text {
    font-size: 1rem;
    line-height: 1.8;
  }

  .nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #090705;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 99;
  }
  .nav.open {
    display: flex;
  }
  .nav > a,
  .nav .dropdown > a {
    font-size: 1.2rem;
  }
  .nav-right {
    display: none;
  }
  .nav.open .nav-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 16px;
  }
  .burger {
    display: flex;
    z-index: 100;
  }
  .dropdown-menu {
    position: static;
    border: none;
    box-shadow: none;
    text-align: center;
    min-width: auto;
  }
  .dropdown-menu a {
    font-size: 1rem;
  }

  .btn, .btn-solid, .btn-outline {
    padding: 10px 20px;
    max-width: 80%;
  }
  .btn-sm {
    padding: 8px 18px;
  }

  .hero {
    min-height: auto;
  }
  .hero-home {
    min-height: 80vh;
  }
  .hero-sub {
    min-height: 60vh;
  }
  .hero-content {
    padding: 60px 20px;
  }
  .hero-overlay {
    background: rgba(9,7,5,0.6);
  }
  .section {
    padding: 48px 20px;
  }
  .artisan-item {
    padding: 32px 24px;
  }
  .artisan-grid {
    border-left: none;
  }
  .artisan-item {
    border-left: 1px solid rgba(71, 57, 40, 0.3);
  }
  .craft-stats {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .craft-stat-item {
    padding: 24px 16px;
  }
  .craft-stat-item::before {
    display: none;
  }
  .craft-compare-col {
    padding: 32px 24px;
  }
  .hero-sub-stats {
    gap: 24px;
    flex-wrap: wrap;
  }
  .contacts-grid {
    grid-template-columns: 1fr;
  }
  .service-content {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .specs {
    grid-template-columns: 1fr;
  }
  .calculator {
    padding: 24px;
  }
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
  .card-img {
    height: 200px;
  }
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  .artisan-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero-sub-stats {
    flex-direction: column;
    gap: 16px;
  }
  .header-inner {
    padding: 12px 16px;
  }
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #8F7653;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-checkbox label {
  font-size: 14px;
  color: #E8DDD0;
  line-height: 1.5;
}

.form-checkbox label a {
  color: #8F7653;
  text-decoration: underline;
}

.form-checkbox label a:hover {
  color: #A88A60;
}

#process {
  scroll-margin-top: 120px;
}

.section-process {
  padding: 80px 0;
  background-color: var(--white);
  border-top: 1px solid var(--border);
}

.process-description {
  max-width: 700px;
  margin-bottom: 40px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.8;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.step {
  background: #1A1816;
  padding: 20px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  text-align: center;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  color: #F2EAE0;
  margin-bottom: 8px;
  font-family: 'Forum', serif;
}

.step p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

.process-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.gallery-item {
  background: #1A1816;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
}

.gallery-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text);
  text-align: center;
  background: var(--white);
  margin: 0;
  font-family: 'Forum', serif;
}

@media (max-width: 1023px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .section-process {
    padding: 48px 0;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .process-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .gallery-image {
    height: 120px;
  }
  .gallery-caption {
    font-size: 12px;
    padding: 4px 8px;
  }
}

/* Gallery cards for gallery.html */
.gallery-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}
.gallery-card:hover {
  border-color: var(--accent);
  box-shadow: 0 16px 48px rgba(0,0,0,0.8);
  transform: translateY(-4px);
}
.gallery-card-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.gallery-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-card:hover .gallery-card-image img {
  transform: scale(1.05);
}
.gallery-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.7);
  color: #CFA159;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(207,161,89,0.3);
}
.gallery-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.gallery-card-title {
  font-family: 'Forum', serif;
  font-size: 18px;
  font-weight: 700;
  color: #F2EAE0;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.gallery-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
  flex: 1;
}
.gallery-card-more {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin-top: auto;
}
.gallery-card-more:hover {
  color: var(--gold);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
}
.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
}
.lightbox-img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(71,57,40,0.5);
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}
.lightbox-info {
  text-align: center;
  padding: 20px 0 0;
  width: 100%;
  max-width: 700px;
}
.lightbox-caption {
  font-family: 'Forum', serif;
  font-size: 20px;
  font-weight: 700;
  color: #F2EAE0;
  margin-bottom: 8px;
}
.lightbox-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 8px;
}
.lightbox-counter {
  font-size: 13px;
  color: var(--gray);
  letter-spacing: 0.04em;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: #F2EAE0;
  font-size: 40px;
  cursor: pointer;
  z-index: 10;
  opacity: 0.7;
  transition: opacity 0.25s;
}
.lightbox-close:hover {
  opacity: 1;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(143,118,83,0.6);
  color: #090705;
  border: none;
  font-size: 28px;
  padding: 16px 20px;
  cursor: pointer;
  z-index: 10;
  border-radius: 6px;
  transition: background 0.25s;
}
.lightbox-nav:hover {
  background: rgba(143,118,83,0.9);
}
.lightbox-prev {
  left: 20px;
}
.lightbox-next {
  right: 20px;
}

@media (max-width: 768px) {
  .lightbox {
    padding: 10px;
  }
  .lightbox-img {
    max-height: 50vh;
  }
  .lightbox-nav {
    font-size: 20px;
    padding: 12px 14px;
  }
  .lightbox-prev { left: 5px; }
  .lightbox-next { right: 5px; }
  .lightbox-close {
    top: 10px;
    right: 15px;
    font-size: 32px;
  }
  .lightbox-caption {
    font-size: 17px;
  }
  .lightbox-desc {
    font-size: 14px;
  }
}

/* Gallery page */
.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px 0;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery-page-grid .gallery-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #473928;
  transition: transform 0.3s;
}
.gallery-page-grid .gallery-image:hover {
  transform: scale(1.02);
}
@media (max-width: 768px) {
  .gallery-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-status {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
}
.form-status.success {
  background: rgba(76, 175, 80, 0.15);
  color: #81C784;
  border: 1px solid rgba(76, 175, 80, 0.3);
}
.form-status.error {
  background: rgba(244, 67, 54, 0.15);
  color: #E57373;
  border: 1px solid rgba(244, 67, 54, 0.3);
}
