:root {
  --bg: #0e0e10;
  --bg-elevated: #161618;
  --bg-card: #1a1a1d;
  --bg-card-hover: #222226;
  --border: #2a2a2e;
  --border-gold: #c9a227;
  --gold: #d4af37;
  --gold-soft: #e8c96a;
  --gold-dim: rgba(212, 175, 55, 0.18);
  --text: #f5f2ea;
  --text-muted: #a8a29a;
  --danger: #e57373;
  --ok: #81c784;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 14px;
  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(212, 175, 55, 0.12), transparent 55%),
    radial-gradient(900px 500px at 10% 20%, rgba(212, 175, 55, 0.06), transparent 50%),
    linear-gradient(180deg, #121214 0%, var(--bg) 40%, #0a0a0b 100%);
  min-height: 100vh;
  line-height: 1.55;
}

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

a {
  color: var(--gold-soft);
  text-decoration: none;
}

a:hover {
  color: var(--gold);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(14, 14, 16, 0.78);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  color: var(--text);
}

.brand span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 14, 16, 0.25) 0%, rgba(14, 14, 16, 0.55) 45%, rgba(14, 14, 16, 0.92) 100%),
    url("../img/hero-bg.svg") center/cover no-repeat;
  z-index: -1;
  animation: heroDrift 18s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1) translateY(0); }
  to { transform: scale(1.06) translateY(-12px); }
}

.hero-inner {
  padding: 7rem 0 4.5rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 6.4rem);
  line-height: 0.95;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
  animation: fadeUp 0.9s ease both;
}

.hero-brand em {
  font-style: normal;
  color: var(--gold);
}

.hero-tagline {
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--text-muted);
  margin: 0 0 1.8rem;
  animation: fadeUp 1s ease 0.12s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: fadeUp 1s ease 0.22s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #b8912a);
  color: #111;
}

.btn-gold:hover {
  color: #111;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
}

.btn-ghost {
  background: transparent;
  border-color: rgba(245, 242, 234, 0.35);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline-gold {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline-gold:hover {
  background: var(--gold-dim);
}

.section {
  padding: 5rem 0;
}

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.eyebrow {
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.section-head p {
  margin: 0 auto;
  max-width: 38rem;
  color: var(--text-muted);
}

/* Showcase */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-btn {
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font: inherit;
  transition: 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.showcase-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  min-height: 240px;
  opacity: 0;
  transform: translateY(16px);
  animation: cardIn 0.7s ease forwards;
}

.showcase-card:nth-child(2) { animation-delay: 0.08s; }
.showcase-card:nth-child(3) { animation-delay: 0.16s; }
.showcase-card:nth-child(4) { animation-delay: 0.24s; }

@keyframes cardIn {
  to { opacity: 1; transform: none; }
}

.showcase-media {
  aspect-ratio: 4/3;
  background:
    linear-gradient(145deg, #2a2418, #151515 55%),
    repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(212, 175, 55, 0.04) 12px, rgba(212, 175, 55, 0.04) 24px);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.showcase-media img,
.showcase-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-media iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.showcase-meta {
  padding: 1rem 1.1rem 1.2rem;
}

.showcase-meta .cat {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.showcase-meta h3 {
  margin: 0.35rem 0 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.empty-state,
.error-state {
  text-align: center;
  padding: 2.5rem 1rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
}

/* Packages */
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.package-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.package-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.45);
}

.package-card.highlighted {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.35), var(--shadow);
  background: linear-gradient(180deg, #221e14 0%, var(--bg-card) 55%);
}

.package-badge {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #111;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.package-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin: 0.4rem 0 0.35rem;
}

.package-card .subtitle {
  color: var(--text-muted);
  margin: 0 0 1.2rem;
  font-size: 0.95rem;
}

.feature-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  flex: 1;
}

.feature-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.4rem 0;
  color: var(--text);
  font-size: 0.95rem;
}

.feature-list .mark {
  width: 1.1rem;
  flex: 0 0 1.1rem;
  color: var(--gold);
  font-weight: 700;
}

.feature-list li.excluded {
  color: #6f6a63;
}

.feature-list li.excluded .mark {
  color: #6f6a63;
}

.package-card .btn {
  width: 100%;
}

/* Builder */
.builder {
  margin-top: 3.5rem;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem 1.5rem 0;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.05), transparent 30%), var(--bg-elevated);
}

.builder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1rem;
  background: var(--bg-card);
  cursor: pointer;
  transition: 0.2s ease;
  user-select: none;
}

.service-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
}

.service-card.selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.35), 0 0 24px rgba(212, 175, 55, 0.12);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.1), var(--bg-card));
}

.service-top {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.checkbox {
  width: 1.15rem;
  height: 1.15rem;
  border: 1.5px solid #666;
  border-radius: 4px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin-top: 0.15rem;
  color: transparent;
  font-size: 0.8rem;
  font-weight: 800;
}

.service-card.selected .checkbox {
  border-color: var(--gold);
  background: var(--gold);
  color: #111;
}

.service-card h4 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.service-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

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

.builder-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  padding: 1.25rem 0 1.4rem;
  margin-top: 0.5rem;
}

.summary-text {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 42rem;
}

.summary-text strong {
  color: var(--text);
  display: block;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  margin-bottom: 0.25rem;
}

.summary-total {
  color: var(--gold);
  font-weight: 700;
  margin-top: 0.35rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.map-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  background: var(--bg-card);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin: 0 0 1rem;
}

.contact-card p {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.site-footer {
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding: 1.5rem 0 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.wa-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 50;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
  animation: pulseWa 2.4s ease-in-out infinite;
}

.wa-float:hover {
  transform: scale(1.08);
  color: #fff;
}

.wa-float svg {
  width: 1.7rem;
  height: 1.7rem;
  fill: currentColor;
}

@keyframes pulseWa {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
}

.hidden {
  display: none !important;
}

@media (max-width: 960px) {
  .showcase-grid,
  .package-grid,
  .builder-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Under construction */
.construction-page .site-header {
  border-bottom-color: rgba(212, 175, 55, 0.12);
}

.construction {
  position: relative;
  min-height: calc(100vh - 4rem);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 2rem 1.25rem 5rem;
}

.construction::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 14, 16, 0.35) 0%, rgba(14, 14, 16, 0.72) 55%, rgba(14, 14, 16, 0.95) 100%),
    url("../img/hero-bg.svg") center/cover no-repeat;
  z-index: -1;
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.construction-card {
  width: min(100%, 28rem);
  margin: 0 auto;
  text-align: center;
  padding: 2.25rem 1.75rem 2rem;
  background: linear-gradient(180deg, #221e14 0%, var(--bg-card) 55%);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.35), var(--shadow);
  animation: fadeUp 0.9s ease both;
  position: relative;
  z-index: 1;
}

.construction-heading {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.9rem;
  color: var(--text);
}

.construction-message {
  margin: 0 0 0.9rem;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.construction-tagline {
  margin: 0;
  color: var(--gold-soft);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(14, 14, 16, 0.96);
    padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .showcase-grid,
  .package-grid,
  .builder-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-inner { padding-top: 5.5rem; }
  .builder-summary { flex-direction: column; align-items: stretch; }
}
