:root {
  --bg: #0f0d0b;
  --bg-elevated: #1a1612;
  --surface: #241f1a;
  --text: #f5f0e8;
  --muted: #a89f92;
  --accent: #c9a227;
  --accent-dim: #8a7020;
  --border: rgba(201, 162, 39, 0.2);
  --radius: 12px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 13, 11, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.nav a:hover {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s;
}

.btn-primary {
  background: var(--accent);
  color: #1a1408;
}

.btn-primary:hover {
  background: #ddb82e;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 4rem 0 5rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(201, 162, 39, 0.15), transparent),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 800px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  font-weight: 600;
}

.hero .lead {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 36ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 1rem;
  font-weight: 600;
}

.section-intro {
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 2.5rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  color: var(--accent);
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Gallery */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filter-btn {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(201, 162, 39, 0.08);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid var(--border);
  cursor: pointer;
  background: var(--surface);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  font-size: 0.8rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.gallery-item:hover figcaption {
  opacity: 1;
}

/* Video section */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

@media (min-width: 900px) {
  .media-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

.media-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.media-card video {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  background: #000;
}

.media-card p {
  padding: 0.75rem 1rem;
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.media-empty {
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  grid-column: 1 / -1;
}

.media-empty code {
  color: var(--accent);
  font-size: 0.85rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-highlights li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.about-highlights strong {
  color: var(--text);
  display: block;
  margin-bottom: 0.25rem;
}

/* FAQ */
.faq-list {
  margin: 0;
  max-width: 52rem;
}

.faq-list dt {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--accent);
  margin-top: 1.5rem;
}

.faq-list dt:first-child {
  margin-top: 0;
}

.faq-list dd {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 700px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.contact-list strong {
  display: block;
  color: var(--text);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-height: 90vh;
  max-width: 90vw;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
}

/* Chat widget */
.chat-toggle {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 150;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #1a1408;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.chat-toggle:hover {
  background: #ddb82e;
}

.chat-panel {
  position: fixed;
  bottom: 5rem;
  right: 1.25rem;
  z-index: 150;
  width: min(400px, calc(100vw - 2rem));
  max-height: min(560px, calc(100vh - 7rem));
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.chat-panel[hidden] {
  display: none !important;
}

.chat-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.chat-header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--accent);
}

.chat-header p {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 200px;
}

.chat-bubble {
  max-width: 88%;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.chat-bubble--user {
  align-self: flex-end;
  background: var(--accent);
  color: #1a1408;
}

.chat-bubble--assistant {
  align-self: flex-start;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.chat-bubble--typing {
  opacity: 0.6;
}

.chat-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid var(--border);
}

.chat-form input {
  flex: 1;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
}

.chat-form button {
  padding: 0.6rem 1rem;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: #1a1408;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.chat-lead {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
  background: rgba(201, 162, 39, 0.08);
}

.chat-lead p {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.chat-lead-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chat-lead-form input {
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 0.85rem;
}

.chat-lead-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.chat-lead-actions button {
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
}

.chat-lead-submit {
  background: var(--accent);
  border: none;
  color: #1a1408;
  font-weight: 600;
}

.chat-lead-skip {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
}

.chat-lead-thanks {
  font-size: 0.85rem;
  color: var(--accent);
  margin: 0;
}
