@import url("https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=Cinzel:wght@600;700&family=Crimson+Text:ital,wght@0,400;0,600;1,400&display=swap");

:root {
  --ink: #d8d0c4;
  --muted: #8a8078;
  --paper: rgba(28, 26, 24, 0.88);
  --accent: #c4a04a;
  --accent-dark: #9a7a30;
  --accent-bright: #dbc070;
  --panel: rgba(32, 30, 28, 0.92);
  --shadow: rgba(0, 0, 0, 0.4);
  --glow: rgba(196, 160, 74, 0.18);
  --radius-xl: 26px;
  --bg-deep: #0e0d0c;
  --bg-mid: #1a1816;
  --bg-surface: #252220;
  --gold: #c4a04a;
  --dark-gold: #9a7a30;
  --bright-gold: #dbc070;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Crimson Text", Georgia, serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(60, 50, 40, 0.3), transparent 35%),
    radial-gradient(circle at 85% 5%, rgba(50, 45, 38, 0.25), transparent 35%),
    linear-gradient(135deg, #0e0d0c 0%, #1a1816 55%, #1c1a18 100%);
  overflow-x: hidden;
}

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.page::before,
.page::after {
  content: "";
  position: absolute;
  inset: auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  opacity: 0.6;
  z-index: 0;
  animation: floatBlob 10s ease-in-out infinite;
}

.page::before {
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(196, 160, 74, 0.08), transparent 70%);
}

.page::after {
  bottom: 120px;
  left: -140px;
  background: radial-gradient(circle, rgba(80, 70, 55, 0.15), transparent 70%);
  animation-delay: -4s;
}

.page .sparkle {
  position: absolute;
  width: 14px;
  height: 14px;
  background: radial-gradient(circle, rgba(196, 160, 74, 0.7), rgba(196, 160, 74, 0));
  opacity: 0.6;
  border-radius: 50%;
  animation: sparkle 5s ease-in-out infinite;
  z-index: 0;
}

.page .sparkle.s1 {
  top: 140px;
  left: 12vw;
  animation-delay: -1s;
}

.page .sparkle.s2 {
  top: 320px;
  right: 18vw;
  animation-delay: -2s;
}

.page .sparkle.s3 {
  bottom: 160px;
  right: 12vw;
  animation-delay: -3s;
}

@keyframes sparkle {
  0%, 100% { transform: scale(0.9); opacity: 0.4; }
  50% { transform: scale(1.3); opacity: 0.8; }
}

@keyframes floatBlob {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(20px) scale(1.03); }
}

.page > * {
  position: relative;
  z-index: 1;
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(14, 13, 12, 0.95);
  border-bottom: 1px solid rgba(196, 160, 74, 0.1);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: navSlide 0.7s ease forwards;
}

@keyframes navSlide {
  from { transform: translateY(-12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 8vw;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand .title {
  font-weight: 700;
  letter-spacing: 0.2px;
  font-family: "Cinzel Decorative", "Cinzel", "Times New Roman", serif;
  color: var(--gold);
  font-size: 1rem;
}

.brand .subtitle {
  color: var(--muted);
  font-size: 0.8rem;
  display: none;
}

.logo {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.nav .logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-links a {
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(120deg, var(--gold), var(--accent-bright));
  transition: width 0.25s ease;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  gap: 10px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: 1px solid rgba(196, 160, 74, 0.2);
  border-radius: 8px;
  cursor: pointer;
  z-index: 25;
}

.menu-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 16px 8vw 24px;
  border-top: 1px solid rgba(196, 160, 74, 0.08);
  background: rgba(14, 13, 12, 0.98);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-mobile-links a {
  font-size: 1.1rem;
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 1px solid rgba(196, 160, 74, 0.06);
  transition: color 0.2s ease;
}

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

.nav-mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
}

.nav-mobile-cta .btn {
  text-align: center;
  width: 100%;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 10px 20px;
  border: 1px solid rgba(196, 160, 74, 0.2);
  font-weight: 600;
  background: rgba(37, 34, 30, 0.8);
  color: var(--ink);
  box-shadow: 0 8px 16px var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(135deg, var(--gold), var(--accent-bright));
  color: #1a0f28;
  border-color: var(--dark-gold);
  box-shadow: 0 14px 24px var(--glow);
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 28px var(--shadow);
  border-color: var(--gold);
}

.btn:active {
  transform: translateY(0);
}

/* ===== HERO ===== */
.hero {
  padding: 80px 8vw 60px;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  animation: fadeUp 0.8s ease forwards;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

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

.hero h1 {
  font-family: "Cinzel Decorative", "Cinzel", "Times New Roman", serif;
  font-size: clamp(1.8rem, 2.5vw + 1rem, 3.2rem);
  margin: 0 0 16px;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(196, 160, 74, 0.15);
  line-height: 1.2;
}

.hero p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
  margin: 0 0 24px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 6px 14px;
  background: rgba(196, 160, 74, 0.08);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 1px solid rgba(196, 160, 74, 0.15);
  margin-bottom: 16px;
}

.hero-card {
  background: linear-gradient(140deg, rgba(37, 34, 30, 0.95), rgba(28, 26, 24, 0.95));
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.45), 0 0 15px rgba(196, 160, 74, 0.05);
  border: 1px solid rgba(196, 160, 74, 0.15);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  animation: floatCard 5.5s ease-in-out infinite;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(196, 160, 74, 0.06), transparent 60%);
  opacity: 0.8;
  pointer-events: none;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-grid {
  display: grid;
  gap: 14px;
}

/* ===== SECTIONS ===== */
.section {
  padding: 60px 8vw;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.section h2 {
  font-family: "Cinzel", "Times New Roman", serif;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: clamp(1.4rem, 2vw + 0.5rem, 2rem);
}

.section p {
  color: var(--muted);
  line-height: 1.6;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.card {
  background: var(--paper);
  border-radius: 20px;
  padding: 22px;
  border: 1px solid rgba(196, 160, 74, 0.1);
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 38px rgba(0, 0, 0, 0.4), 0 0 10px rgba(196, 160, 74, 0.06);
  border-color: rgba(196, 160, 74, 0.2);
}

.card h3 {
  margin: 0 0 8px;
  color: var(--gold);
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  line-height: 1.5;
}

.strip {
  background: linear-gradient(120deg, rgba(37, 34, 30, 0.5), rgba(28, 26, 24, 0.5));
  border-top: 1px solid rgba(196, 160, 74, 0.08);
  border-bottom: 1px solid rgba(196, 160, 74, 0.08);
}

.strip .section {
  padding-top: 50px;
  padding-bottom: 50px;
}

/* ===== CTA ===== */
.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, #252220, #322e2a);
  color: var(--ink);
  padding: 32px;
  border-radius: var(--radius-xl);
  margin-top: 32px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(196, 160, 74, 0.12);
}

.cta::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(196, 160, 74, 0.1), transparent 70%);
  opacity: 0.8;
}

.cta .btn {
  box-shadow: none;
}

.cta h2 {
  color: var(--gold);
  margin: 0 0 4px;
}

.cta p {
  margin: 0;
}

/* ===== FOOTER ===== */
.footer {
  margin-top: auto;
  padding: 24px 8vw 40px;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid rgba(196, 160, 74, 0.06);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.footer a {
  font-weight: 600;
}

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

.footer-links {
  margin-top: 8px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.8rem;
  font-weight: 400;
  opacity: 0.7;
}

.footer-links a:hover {
  opacity: 1;
}

/* ===== FORMS ===== */
.form {
  display: grid;
  gap: 14px;
  max-width: 520px;
}

.form input,
.form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(196, 160, 74, 0.15);
  padding: 12px 16px;
  font-family: inherit;
  font-size: 1rem;
  background: rgba(32, 30, 28, 0.6);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form input::placeholder,
.form textarea::placeholder {
  color: var(--muted);
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 160, 74, 0.1);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

/* ===== ANIMATIONS ===== */
.hero-grid .card {
  animation: popIn 0.6s ease both;
}

.hero-grid .card:nth-child(2) {
  animation-delay: 0.1s;
}

.hero-grid .card:nth-child(3) {
  animation-delay: 0.2s;
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(196, 160, 74, 0.08);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(196, 160, 74, 0.12);
}

/* ===== RESPONSIVE: DESKTOP LARGE ===== */
@media (min-width: 1200px) {
  .brand .subtitle {
    display: block;
  }
}

/* ===== RESPONSIVE: TABLET ===== */
@media (max-width: 900px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 60px 6vw 40px;
    gap: 32px;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 4vw + 0.8rem, 2.4rem);
  }

  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .cta {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .cta .nav-cta {
    justify-content: center;
  }
}

/* ===== RESPONSIVE: MOBILE ===== */
@media (max-width: 600px) {
  .nav-bar {
    padding: 12px 5vw;
  }

  .nav-mobile {
    padding: 16px 5vw 24px;
  }

  .hero {
    padding: 40px 5vw 32px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .hero .nav-cta {
    flex-direction: column;
  }

  .hero .nav-cta .btn {
    text-align: center;
    width: 100%;
  }

  .hero-card {
    padding: 18px;
  }

  .section {
    padding: 40px 5vw;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .card {
    padding: 18px;
  }

  .cta {
    padding: 24px 18px;
  }

  .footer {
    padding: 20px 5vw 32px;
  }

  .btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .brand .title {
    font-size: 0.9rem;
  }
}
