:root {
  --bg: #0b0b0d;
  --bg-elev: #121217;
  --bg-soft: #1a1b22;
  --text: #efefef;
  --muted: #a7a9b4;
  --line: #2a2c35;
  --gold: #c9a96a;
  --gold-soft: #e0c48f;
  --danger: #ff5f73;
  --ok: #5ad2a6;
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  background: radial-gradient(circle at 20% -10%, #20222c 0%, var(--bg) 45%);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 5.2rem 0;
}

.section-title {
  font-size: clamp(1.7rem, 2vw, 2.2rem);
  margin: 0 0 0.8rem;
  letter-spacing: 0.02em;
}

.section-subtitle {
  margin: 0 0 2.2rem;
  color: var(--muted);
  max-width: 760px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(8px);
  background: rgba(11, 11, 13, 0.82);
  border-bottom: 1px solid rgba(201, 169, 106, 0.15);
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1.2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 106, 0.55);
  display: grid;
  place-items: center;
  color: var(--gold-soft);
  font-size: 0.92rem;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: #d7d7dd;
  font-size: 0.95rem;
  transition: color 0.24s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-soft);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.8rem 1.45rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(130deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: #1a1408;
  box-shadow: 0 8px 20px rgba(201, 169, 106, 0.27);
}

.btn-primary:hover {
  box-shadow: 0 12px 26px rgba(201, 169, 106, 0.34);
}

.btn-ghost {
  border-color: var(--line);
  color: #f0f0f0;
  background: rgba(255, 255, 255, 0.01);
}

.btn-ghost:hover {
  border-color: rgba(201, 169, 106, 0.62);
}

.hero {
  min-height: 80vh;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 10, 12, 0.86) 20%, rgba(10, 10, 12, 0.48) 58%, rgba(10, 10, 12, 0.75) 100%),
    url("../img/1.jpg") center/cover no-repeat;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at right 10% center, rgba(201, 169, 106, 0.2), transparent 40%);
  z-index: -1;
}

.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-soft);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5.5vw, 4.25rem);
  line-height: 1.08;
  margin: 0;
  max-width: 780px;
}

.hero p {
  max-width: 600px;
  color: #d0d0d6;
  margin: 1.1rem 0 2rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.grid {
  display: grid;
  gap: 1.2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: linear-gradient(180deg, rgba(28, 30, 38, 0.95), rgba(19, 20, 26, 0.95));
  border: 1px solid rgba(201, 169, 106, 0.13);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 106, 0.36);
}

.service-card h3,
.team-card h3 {
  margin: 0.15rem 0 0.4rem;
}

.muted {
  color: var(--muted);
}

.price {
  margin-top: 0.6rem;
  color: var(--gold-soft);
  font-weight: 700;
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #e4e4ea;
}

.feature-list li::before {
  content: "◆";
  color: var(--gold);
  font-size: 0.7rem;
}

.image-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(201, 169, 106, 0.22);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.image-frame:hover img {
  transform: scale(1.04);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stat {
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.stat strong {
  display: block;
  font-size: 1.45rem;
  color: var(--gold-soft);
}

.gallery-grid {
  columns: 3 270px;
  column-gap: 1rem;
}

.gallery-grid .image-frame {
  margin-bottom: 1rem;
}

.testimonial {
  position: relative;
}

.testimonial::before {
  content: "“";
  position: absolute;
  top: -0.45rem;
  right: 0.5rem;
  font-size: 2.8rem;
  color: rgba(201, 169, 106, 0.35);
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(201, 169, 106, 0.2);
  min-height: 320px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

form {
  display: grid;
  gap: 1rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  font-size: 0.92rem;
  display: grid;
  gap: 0.4rem;
  color: #dcdce2;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.01);
  color: var(--text);
  padding: 0.75rem 0.9rem;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(201, 169, 106, 0.72);
  box-shadow: 0 0 0 3px rgba(201, 169, 106, 0.15);
}

textarea {
  resize: vertical;
  min-height: 130px;
}

.form-note {
  color: var(--muted);
  margin: 0;
}

.alert {
  display: none;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  border: 1px solid transparent;
  font-weight: 500;
}

.alert.show {
  display: block;
}

.alert.success {
  border-color: rgba(90, 210, 166, 0.4);
  background: rgba(90, 210, 166, 0.15);
  color: #c6ffe9;
}

.footer {
  border-top: 1px solid rgba(201, 169, 106, 0.15);
  background: #0a0a0c;
  padding: 3.2rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 1rem;
}

.socials {
  display: flex;
  gap: 0.6rem;
}

.socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--gold-soft);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 1.5rem;
  padding-top: 1rem;
  color: #9a9ba6;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11, 11, 13, 0.98);
    border-bottom: 1px solid rgba(201, 169, 106, 0.14);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.26s ease;
    z-index: 90;
  }

  .nav.open {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
    min-height: 62px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.7rem 0;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 72vh;
  }
}
