:root {
  --gold: #d4af37;
  --gold-soft: #f0dd9a;
  --gold-mid: #c9a227;
  --gold-deep: #8a6a14;
  --ink: #f7f1e3;
  --muted: #c3b394;
  --bg: #070708;
  --card: rgba(16, 14, 13, 0.78);
  --line: rgba(212, 175, 55, 0.38);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --radius: 22px;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Outfit", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg); color: var(--ink); }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.55;
  min-height: 100%;
  overflow-x: hidden;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(212, 175, 55, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(212, 175, 55, 0.08), transparent 55%),
    url("assets/marble.webp");
  background-attachment: fixed, fixed, fixed;
  background-size: auto, auto, 520px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(7, 7, 8, 0.72);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 64px;
  padding: 0.55rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.55), 0 0 18px rgba(212, 175, 55, 0.25);
}
.brand-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-name span { color: var(--gold-soft); }

.top-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.langs {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}
.langs button {
  padding: 0.38rem 0.62rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 500;
  color: var(--muted);
}
.langs button[aria-pressed="true"] {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold-mid));
  color: #1a1406;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(180deg, #f3e3ad 0%, #d4af37 48%, #b8891d 100%);
  color: #1a1406;
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  padding: 0.55rem 1.05rem;
  font-size: 0.86rem;
}
.btn-gold:hover { box-shadow: 0 12px 28px rgba(201, 162, 39, 0.4); }
.btn-lg { padding: 0.9rem 1.6rem; font-size: 1rem; }
.btn-ghost {
  background: transparent;
  color: var(--gold-soft);
  border-color: var(--line);
  padding: 0.85rem 1.3rem;
}

/* Hero */
.hero {
  text-align: center;
  padding: 1.6rem 0 2.6rem;
}
.hero-art {
  width: min(520px, 100%);
  margin: 0 auto 1.5rem;
  border-radius: 18px;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.45),
    0 20px 50px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(212, 175, 55, 0.12);
  background: #000;
}
.eyebrow {
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
  margin-bottom: 0.65rem;
}
h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 8vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--gold-soft);
  text-shadow: 0 2px 24px rgba(212, 175, 55, 0.2);
}
.motto {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 3.5vw, 1.7rem);
  color: #efe6c9;
  margin: 0.45rem 0 1rem;
}
.lead {
  max-width: 38rem;
  margin: 0 auto 1.4rem;
  color: var(--muted);
  font-size: 1.02rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  align-items: center;
}
.meta {
  margin-top: 0.8rem;
  color: #8e8066;
  font-size: 0.82rem;
}

/* Sections */
section { padding: 1.4rem 0 2.2rem; }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 600;
  color: var(--gold-soft);
  text-align: center;
  margin-bottom: 0.4rem;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  margin: 0 auto 1.4rem;
  max-width: 36rem;
}

.rule {
  width: 72px;
  height: 1px;
  margin: 0 auto 1.2rem;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Categories */
.cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}
.cat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 0.8rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.cat-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 0.45rem;
  color: var(--gold);
}
.cat-icon svg { width: 100%; height: 100%; }
.cat strong {
  display: block;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink);
}

/* Features */
.features {
  display: grid;
  gap: 0.8rem;
}
.feat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem 1.15rem 1.15rem;
  box-shadow: var(--shadow);
}
.feat h3 {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--gold-soft);
  margin-bottom: 0.3rem;
}
.feat p { color: var(--muted); font-size: 0.95rem; }
.feat-icon {
  width: 28px;
  height: 28px;
  color: var(--gold);
  margin-bottom: 0.45rem;
}

/* Gallery */
.gallery-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.4rem 0.2rem 1.2rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.gallery-scroll::-webkit-scrollbar { height: 6px; }
.gallery-scroll::-webkit-scrollbar-thumb {
  background: var(--gold-deep);
  border-radius: 99px;
}
.phone {
  flex: 0 0 230px;
  scroll-snap-align: center;
  background: linear-gradient(180deg, #1c1914, #0b0b0d);
  border: 2px solid rgba(212, 175, 55, 0.65);
  border-radius: 32px;
  padding: 12px 10px 18px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(0,0,0,0.6);
}
.phone-bar {
  width: 72px;
  height: 8px;
  border-radius: 99px;
  background: #2a261c;
  margin: 0 auto 10px;
}
.phone img {
  width: 100%;
  border-radius: 20px;
  background: #000;
}
.phone figcaption {
  text-align: center;
  margin-top: 0.7rem;
  font-size: 0.82rem;
  color: var(--gold-soft);
}

/* Download band */
.band {
  text-align: center;
  padding: 2.2rem 1.1rem;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse at top, rgba(212, 175, 55, 0.14), transparent 60%),
    var(--card);
  box-shadow: var(--shadow);
}
.band h2 { margin-bottom: 0.5rem; }
.band p { color: var(--muted); margin-bottom: 1.1rem; }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding: 1.4rem 0 2.2rem;
  text-align: center;
  color: #8e8066;
  font-size: 0.85rem;
}
footer a { color: var(--gold-soft); }

@media (min-width: 700px) {
  .cats { grid-template-columns: repeat(4, 1fr); }
  .cats .cat:nth-child(5) { grid-column: auto; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .phone { flex-basis: 250px; }
  .brand img { width: 48px; height: 48px; }
  .brand-name { font-size: 1.35rem; }
}
@media (min-width: 960px) {
  .cats { grid-template-columns: repeat(7, 1fr); }
  .features { grid-template-columns: repeat(3, 1fr); }
  .hero { padding-top: 2.2rem; }
}

@media (max-width: 560px) {
  .top .btn-gold { display: none; }
}
@media (max-width: 380px) {
  .brand-name { display: none; }
}

@media (max-width: 699px) {
  .cats .cat:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 0.35rem);
    justify-self: center;
  }
}
