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

:root {
  --brick-red: #c0392b;
  --mortar: #bdb9b1;
  --mortar-light: #d5d0c8;
  --cream: #f5f0e8;
  --charcoal: #1a1a1a;
  --gold: #c9a84c;
  --gold-light: #e8c96a;
}

html, body { overflow-x: hidden; }

body {
  font-family: 'Barlow', sans-serif;
  background-color: var(--charcoal);
  color: var(--cream);
}

/* ===== HERO WRAP ===== */
.hero-wrap {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--charcoal);
}
#wall-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  display: block;
  pointer-events: none;
}
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,10,8,0.4) 0%, rgba(15,10,8,0.1) 45%, rgba(15,10,8,0.55) 100%);
  z-index: 1;
  pointer-events: none;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2.5rem;
  background: rgba(20,15,10,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

.nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
  align-items: center;
}

.nav-links > li > a {
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mortar-light);
  transition: color 0.25s;
  padding: 0.5rem 0.9rem;
  display: block;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--gold); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { cursor: pointer; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(13,10,8,0.97);
  border: 1px solid rgba(201,168,76,0.2);
  list-style: none;
  min-width: 250px;
  padding: 0.5rem 0;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
}
.nav-dropdown.open .dropdown-menu { display: block; }

.dropdown-menu li a {
  display: block;
  padding: 0.75rem 1.4rem;
  text-decoration: none;
  font-family: 'Barlow', sans-serif;
  font-size: 0.88rem;
  color: var(--mortar-light);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.dropdown-menu li a:hover {
  color: var(--gold);
  background: rgba(201,168,76,0.06);
}
.dropdown-menu li + li { border-top: 1px solid rgba(201,168,76,0.07); }

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

/* ===== HERO ===== */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
}
.hero-badge {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.5);
  padding: 0.4rem 1.2rem;
  margin-bottom: 2rem;
  animation: fadeDown 0.8s ease both;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 9vw, 7.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cream);
  animation: fadeUp 0.9s 0.2s ease both;
}
.hero h1 span { display: block; color: var(--gold); font-style: italic; }
.hero-sub {
  margin-top: 1.5rem;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--mortar-light);
  max-width: 480px;
  animation: fadeUp 0.9s 0.4s ease both;
}
.hero-cta {
  margin-top: 3rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.9s 0.6s ease both;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: var(--brick-red);
  color: var(--cream);
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  border: 2px solid var(--brick-red);
  transition: background 0.3s, color 0.3s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-primary:hover { background: transparent; color: var(--brick-red); }

.btn-secondary {
  display: flex;
  justify-content: center; /* Horizontal */
  align-items: center;     /* Vertical */
  padding: 0.9rem 2.5rem;
  background: transparent;
  color: var(--gold);
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  border: 2px solid rgba(201,168,76,0.5);
  transition: border-color 0.3s, color 0.3s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold-light); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeUp 1s 1s ease both;
}
.scroll-indicator span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mortar);
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ===== STATS ===== */
.stats-bar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background: rgba(20,15,10,0.95);
  border-top: 2px solid rgba(201,168,76,0.3);
  border-bottom: 2px solid rgba(201,168,76,0.3);
}
.stat-item {
  padding: 2rem 3rem;
  text-align: center;
  border-right: 1px solid rgba(201,168,76,0.15);
  flex: 1;
  min-width: 140px;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mortar);
  margin-top: 0.4rem;
}

/* ===== SECTIONS ===== */
.section {
  position: relative;
  z-index: 10;
  padding: 6rem 2rem;
  background: var(--charcoal);
}
.section-alt { background: #141010; }
.section-inner {
	max-width: 1100px; margin: 0 auto; }
.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 3rem;
  text-align: center;
}
.section-title em { color: var(--gold); font-style: italic; }

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5px;
  background: rgba(201,168,76,0.12);
  border: 1.5px solid rgba(201,168,76,0.12);
}
.service-card {
  background: #1e1812;
  padding: 2.5rem 2rem;
  transition: background 0.3s;
  display: block;
  text-decoration: none;
  color: inherit;
}
.contact-services{
text-align: center;
}
.service-card:hover { background: #261e15; }
.service-link {
  display: inline-block;
  margin-top: 1.2rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.6;
  transition: opacity 0.2s;
}
.service-card:hover .service-link { opacity: 1; }
.service-icon { font-size: 2rem; margin-bottom: 1.2rem; }
.service-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 0.8rem;
}
.service-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--mortar);
  font-weight: 300;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #2a1f17 0%, #3d2a1a 50%, #2a1f17 100%);
  border: 1.5px solid rgba(201,168,76,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.about-img-wrap::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1.5px solid rgba(201,168,76,0.12);
  pointer-events: none;
}
.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--mortar-light);
  font-weight: 300;
  margin-bottom: 1.2rem;
}
.about-text p strong { color: var(--gold); font-weight: 500; }

/* ===== CONTACT BUTTONS ===== */
.contact-buttons {

  justify-content: center; /* Horizontal */
  align-items: center;     /* Vertical */
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.contact-btn {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem 2.5rem;
  text-decoration: none;
  border: 2px solid;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  min-width: 240px;
}
.contact-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.4); }
.contact-btn.telegram { background: rgba(36,161,222,0.1); border-color: #24a1de; color: #24a1de; }
.contact-btn.telegram:hover { background: rgba(36,161,222,0.2); }
.contact-btn.viber { background: rgba(123,82,163,0.1); border-color: #7b52a3; color: #a87fd4; }
.contact-btn.viber:hover { background: rgba(123,82,163,0.2); }
.btn-icon { width: 2.2rem; height: 2.2rem; flex-shrink: 0; }
.btn-text { display: flex; flex-direction: column; gap: 0.15rem; }
.btn-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.7;
}
.btn-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
}
.hours-note {
  display: flex;
  align-items: center;

  justify-content: center; /* Horizontal */

  gap: 0.7rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mortar);
}

/* ===== FOOTER ===== */
footer {
  position: relative;
  z-index: 10;
  background: #0d0a08;
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 2.5rem 2rem;
  text-align: center;
}
.footer-inner { max-width: 900px; margin: 0 auto; }
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.3rem 1.5rem;
  list-style: none;
  margin-bottom: 1.5rem;
}
.footer-links a {
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mortar);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
footer p {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mortar);
  opacity: 0.6;
}
footer span { color: var(--gold); opacity: 1; }

/* ===== KEYFRAMES ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(13,10,8,0.98);
    padding: 0.5rem 0 1.2rem;
    gap: 0;
    border-bottom: 1px solid rgba(201,168,76,0.2);
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { padding: 0.85rem 1.5rem; font-size: 0.88rem; }
  .dropdown-menu {
    display: block !important;
    position: static;
    transform: none;
    background: rgba(201,168,76,0.04);
    border: none;
    border-left: 2px solid rgba(201,168,76,0.2);
    box-shadow: none;
    margin-left: 1.5rem;
    padding: 0.2rem 0;
    min-width: unset;
  }
  .dropdown-menu li a { padding: 0.65rem 1.2rem; font-size: 0.82rem; }
  .hamburger { display: flex; }
  .stat-item { padding: 1.5rem 1rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-img-placeholder { aspect-ratio: 3/2; }
  .section { padding: 4rem 1.5rem; }
  .contact-buttons { flex-direction: column; }
  .contact-btn { min-width: unset; width: 100%; }
}
@media (max-width: 480px) {
  .hero { padding: 5rem 1.5rem 3rem; }
}
