:root {
  --bg: #10090d;
  --bg-soft: #1a1014;
  --card: #21151a;
  --text: #f7f0ef;
  --muted: #d3c4c4;
  --accent: #8b1d37;
  --accent-2: #c58a4b;
  --line: #38242a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Prompt", system-ui, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 20%, #2a141a 0, var(--bg) 45%), var(--bg);
  line-height: 1.6;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(to bottom, rgba(16, 9, 13, 0.65), rgba(16, 9, 13, 0.92)),
    url("https://images.unsplash.com/photo-1516594915697-87eb3b1c14ea?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
}

.brand {
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
}

.menu {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}

.menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}

.hero-content {
  margin: auto;
  padding: 3rem 0 5rem;
}

.eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--muted);
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  margin: 0 0 0.8rem;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 7vw, 5rem);
}

.subtitle {
  max-width: 620px;
  color: var(--muted);
}

.actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  font-weight: 500;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-soft {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.btn-soft:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-friend {
  background: linear-gradient(135deg, #06c755, #0abf53);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 8px 20px rgba(6, 199, 85, 0.28);
}

.btn-friend:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 10px 24px rgba(6, 199, 85, 0.34);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
}

.section {
  padding: 5rem 0;
}

.section p {
  color: var(--muted);
  max-width: 760px;
}

.section-alt {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
}

.card p {
  margin: 0;
}

.contact-page {
  display: flex;
  justify-content: center;
}

.contact-card {
  width: min(680px, 100%);
}

.contact-actions {
  margin-top: 1.25rem;
}

.service-list {
  padding-left: 1.1rem;
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0;
  background: #0d070a;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.list-header {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(to bottom, rgba(16, 9, 13, 0.9), rgba(16, 9, 13, 0.98));
}

.list-title-wrap {
  padding: 1rem 0 2rem;
}

.list-title {
  font-size: clamp(1.8rem, 5vw, 3rem);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.gallery-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.gallery-link {
  display: block;
}

.gallery-caption {
  margin: 0;
  padding: 0.65rem 0.75rem;
  font-size: 0.88rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 50;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-image {
  max-width: min(100%, 960px);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  border: 0;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    flex-direction: column;
    gap: 0.8rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .section {
    padding: 2.4rem 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .gallery-caption {
    font-size: 0.84rem;
  }
}
