:root {
  --ink: #1c1915; --muted: #6d655c; --cream: #f4efe7; --paper: #fbf8f3; --card: #fffdf9;
  --line: rgba(166, 132, 86, 0.55); --gold: #c6a15a; --gold-deep: #8a6b3e; --sage: #5f6f62;
  --shadow: 0 24px 60px rgba(28, 25, 21, 0.08);
  --serif: "Playfair Display", "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 6vw; background: rgba(251,248,243,.92); border-bottom: 1px solid var(--gold); }
.logo { display: flex; align-items: center; gap: 14px; font-family: var(--serif); font-size: 30px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.logo span { border-bottom: 2px solid var(--gold); padding-bottom: 2px; letter-spacing: .02em; }
.lang-fab { position: fixed; left: 16px; bottom: 18px; z-index: 40; }
.theme-fab { position: fixed; left: 16px; bottom: 18px; z-index: 40; }
.float-switch { position: fixed; right: 16px; bottom: 18px; z-index: 40; width: 56px; height: 56px; }
.float-btn { width: 56px; height: 56px; box-shadow: 0 10px 24px rgba(28,25,21,.18); }
.float-btn svg { display: block; }
.btn, .btn-gold, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn, .btn-gold {
  background: #c6a15a;
  color: #1c1915;
  border-color: #8a6b3e;
  box-shadow: 0 2px 0 #6d5430;
}
.btn:hover, .btn-gold:hover, .btn:focus, .btn-gold:focus {
  background: #d4b483;
  color: #1c1915;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(198, 161, 90, 0.45);
  outline: none;
}
.btn:active, .btn-gold:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 #6d5430;
  background: #b8944a;
}
.btn-ghost {
  background: transparent;
  color: #f6f1ea;
  border-color: #c6a15a;
}
.btn-ghost:hover, .btn-ghost:focus {
  background: rgba(198, 161, 90, 0.25);
  color: #fff;
  border-color: #e0c07a;
  transform: translateY(-2px);
  outline: none;
}
.btn-ghost:active {
  background: rgba(198, 161, 90, 0.4);
  transform: translateY(0);
}
.theme-dark .btn-ghost {
  background: #2a2622;
  color: #f6f1ea;
  border-color: #c6a15a;
}
.theme-dark .btn, .theme-dark .btn-gold {
  background: #c6a15a;
  color: #1c1915;
}
.nav-links .btn {
  color: #1c1915;
}
.admin-tabs a {
  padding: 10px 16px;
  border-radius: 999px;
  background: #2a2622;
  border: 2px solid rgba(198,161,90,.55);
  color: #f6f1ea;
  font-weight: 600;
}
.admin-tabs a:hover {
  background: #3a342c;
  border-color: #c6a15a;
  color: #fff;
}
.admin-tabs a.active {
  background: #c6a15a;
  color: #1c1915;
  border-color: #8a6b3e;
}
.admin-body .btn, .admin-body .btn-gold {
  background: #c6a15a;
  color: #1c1915;
  border-color: #8a6b3e;
}
.admin-body .btn:hover, .admin-body .btn-gold:hover {
  background: #d4b483;
}
.admin-body .btn-ghost {
  background: #2a2622;
  color: #f6f1ea;
  border-color: #c6a15a;
}
.theme-fab { position: fixed; left: 16px; bottom: 18px; z-index: 40; }
.theme-dark {
  --paper: #12110f;
  --card: #1c1a17;
  --ink: #f6f1ea;
  --muted: #cfc6ba;
  --cream: #1a1815;
  background: #12110f;
  color: #f6f1ea;
}
.theme-dark .nav {
  background: rgba(18, 17, 15, 0.92);
  color: #f6f1ea;
  border-bottom-color: rgba(198, 161, 90, 0.4);
  backdrop-filter: blur(8px);
}
.theme-dark .card,
.theme-dark .form-card,
.theme-dark .hero-badge,
.theme-dark .soft {
  background: #1c1a17;
  color: #f6f1ea;
  border-color: rgba(198, 161, 90, 0.35);
}
.theme-dark .muted,
.theme-dark .nav-links a,
.theme-dark .lead {
  color: #d9d0c4;
}
.theme-dark .btn-ghost {
  background: transparent;
  color: #f6f1ea;
  border-color: #c6a15a;
}
.theme-dark .btn-ghost:hover {
  background: rgba(198, 161, 90, 0.12);
}
.theme-dark .hero-visual {
  border: 1px solid rgba(198, 161, 90, 0.2);
}
.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  background: #fffdf9;
  flex: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  box-shadow: 0 0 0 1px rgba(198, 161, 90, 0.3), 0 4px 12px rgba(28, 25, 21, 0.12);
}
.logo:hover .brand-mark {
  transform: scale(1.08);
  box-shadow: 0 0 0 3px rgba(198, 161, 90, 0.25), 0 6px 16px rgba(28, 25, 21, 0.18);
}
.theme-dark .brand-mark {
  background: #1c1a17;
  border-color: #d4b483;
  box-shadow: 0 0 0 1px rgba(212, 180, 131, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
}
.lang-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--gold); background: var(--card); color: var(--ink); font-size: 12px; cursor: pointer; box-shadow: 0 10px 24px rgba(28,25,21,.12); }
.lang-menu { position: absolute; left: 0; bottom: 60px; display: none; min-width: 140px; padding: 8px; border-radius: 16px; background: var(--card); border: 1px solid var(--gold); box-shadow: 0 16px 40px rgba(28,25,21,.16); }
.lang-fab.open .lang-menu,
.theme-fab.open .lang-menu { display: grid; gap: 4px; }
.lang-menu a { padding: 8px 10px; border-radius: 10px; font-size: 14px; }
.lang-menu a:hover { background: var(--cream); }
.float-switch { position: fixed; right: 16px; bottom: 18px; z-index: 40; width: 56px; height: 56px; }
.card, .stat, .page-hero, .section-head { animation: rise .7s ease both; }
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(166, 132, 86, .22); }
.btn, .btn-gold, .btn-ghost {
  position: relative;
  overflow: hidden;
  transition: transform .35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .35s ease, background .35s ease, border-color .35s ease;
}
.btn::after, .btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.45) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s ease;
  pointer-events: none;
}
.btn:hover::after, .btn-gold:hover::after {
  transform: translateX(120%);
}
.btn:hover, .btn-gold:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 28px rgba(198, 161, 90, 0.45), 0 0 0 1px rgba(198, 161, 90, 0.3);
}
.btn-gold {
  background: linear-gradient(120deg, #8a6b3e, #d4b483, #f0d78c, #d4b483, #8a6b3e);
  background-size: 300% 100%;
  animation: goldshift 4s linear infinite, glowPulse 3s ease-in-out infinite;
  border-color: #c6a15a;
}
.btn-ghost {
  transition: transform .35s cubic-bezier(0.22, 1, 0.36, 1), background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.btn-ghost:hover {
  background: rgba(198, 161, 90, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(198, 161, 90, 0.25);
}
.nav-links a {
  position: relative;
  transition: color .3s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width .35s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}
.card {
  transition: transform .4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .4s ease, border-color .4s ease;
}
.card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 22px 48px rgba(166, 132, 86, 0.28);
  border-color: #d4b483;
}
.card img {
  transition: transform .5s cubic-bezier(0.22, 1, 0.36, 1);
}
.card:hover img {
  transform: scale(1.06);
}
.stat {
  transition: transform .3s ease;
}
.stat:hover {
  transform: translateY(-4px);
}
.hero-badge {
  animation: rise 1s ease .2s both, floatSoft 4s ease-in-out infinite 1.2s;
}
@keyframes goldshift {
  0% { background-position: 0% 0; }
  100% { background-position: 300% 0; }
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(198, 161, 90, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(198, 161, 90, 0.15); }
}
@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.footer-link {
  transition: color .35s ease, transform .35s ease;
}
.float-btn {
  transition: opacity .45s ease, transform .45s ease, box-shadow .45s ease;
}
.float-btn.is-on:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 6px rgba(198, 161, 90, 0.2);
}
.bottom-bar { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 6vw 28px; background: var(--ink); color: #efe8de; }
.bottom-bar a, .langs a, .theme-switch a { border: 1px solid var(--gold); border-radius: 999px; padding: 6px 10px; color: inherit; }
.theme-gold { --paper: #f8f1e4; --gold: #b8893d; }
.btn { display: inline-flex; align-items: center; border: 1px solid var(--gold); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(166, 132, 86, .35); }
.btn-gold { background: linear-gradient(120deg, #8a6b3e, #d4b483, #f0d78c, #d4b483, #8a6b3e); background-size: 300% 100%; animation: goldshift 4s linear infinite, glowPulse 3s ease-in-out infinite; }
.card, .form-card { background: var(--card); border: 1px solid var(--gold); border-radius: 22px; box-shadow: var(--shadow); animation: rise .6s ease both; }
.hero-visual { animation: ken .1s ease both, drift 18s ease-in-out infinite alternate; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { font-size: 14px; color: var(--muted); }
.nav-links a.active, .nav-links a:hover { color: var(--ink); }
.langs { display: flex; gap: 8px; font-size: 12px; }
.langs a { border: 1px solid var(--gold); border-radius: 999px; padding: 4px 8px; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--gold); }
.hero { display: grid; grid-template-columns: 1.1fr .9fr; min-height: calc(100vh - 74px); }
.hero-copy, .section, .page-head { padding: 72px 6vw; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; color: var(--gold-deep); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(46px, 6vw, 84px); }
h2 { font-size: clamp(34px, 4vw, 56px); }
h3 { font-size: 30px; }
.lead { font-size: 18px; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-visual { background: linear-gradient(180deg, rgba(28,25,21,.08), rgba(28,25,21,.28)), url("../img/hero.jpg") center/cover; min-height: 460px; position: relative; border-radius: 28px; overflow: hidden; animation: drift 18s ease-in-out infinite alternate; }
.hero-badge { position: absolute; left: 28px; bottom: 28px; background: rgba(251,248,243,.94); padding: 18px 20px; border-radius: 18px; }
.hero-badge strong { display: block; font-family: var(--serif); font-size: 28px; }
.stats, .grid-3, .grid-2, .footer-grid, .form-row { display: grid; gap: 18px; }
.stats { grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 28px 6vw; }
.stat b { display: block; font-family: var(--serif); font-size: 34px; }
.stat span { color: var(--muted); font-size: 14px; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2, .form-row, .footer-grid { grid-template-columns: 1fr 1fr; }
.footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
.card img, .admin-thumb { width: 100%; height: 220px; object-fit: cover; display: block; border-radius: 16px; }
.slot { background: #f6efe4; border-radius: 10px; padding: 8px; margin-bottom: 6px; font-size: 13px; }
.card-body, .form-card { padding: 22px; }
.form-card { margin: 16px 0; }
.price { color: var(--gold-deep); font-weight: 700; }
.muted { color: var(--muted); }
.soft { background: var(--cream); }
.list { padding: 0; margin: 14px 0; list-style: none; }
.list li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
input, select, textarea { width: 100%; margin-top: 6px; border: 1px solid var(--line); background: var(--paper); border-radius: 12px; padding: 12px 14px; }
textarea { min-height: 90px; }
.form-ok { color: var(--sage); font-weight: 700; }
.form-error { color: #8b3a2f; }
.page-hero { padding: 64px 6vw 10px; }
.notice { background: #fff7ea; border: 1px solid #ead7b4; border-radius: 16px; padding: 14px 16px; }
.footer {
  position: relative;
  padding: 64px 6vw 40px;
  background: linear-gradient(160deg, #1a1612 0%, #0e0c0a 55%, #1c1915 100%);
  color: #f6f1ea;
  overflow: hidden;
  border-top: 1px solid rgba(198, 161, 90, 0.35);
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 0%, rgba(198, 161, 90, 0.12), transparent 50%),
              radial-gradient(ellipse at 80% 100%, rgba(138, 107, 62, 0.08), transparent 40%);
  pointer-events: none;
}
.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-col {
  animation: footerRise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.footer-col:nth-child(1) { animation-delay: 0.05s; }
.footer-col:nth-child(2) { animation-delay: 0.15s; }
.footer-col:nth-child(3) { animation-delay: 0.25s; }
.footer .logo {
  color: #d4b483;
  font-size: 28px;
  margin-bottom: 12px;
  letter-spacing: 0.08em;
}
.footer .logo span {
  border-bottom: none;
  background: linear-gradient(90deg, transparent, #c6a15a, transparent);
  background-size: 200% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  animation: line 3.2s linear infinite;
  padding-bottom: 4px;
}
.footer-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: #c6a15a;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.footer-text, .footer p {
  color: #d9d0c4;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 10px;
}
.footer-link {
  display: inline-block;
  color: #efe8de;
  position: relative;
  transition: color 0.35s ease, transform 0.35s ease;
  padding-bottom: 2px;
}
.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #c6a15a, #d4b483);
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.footer-link:hover {
  color: #d4b483;
  transform: translateX(4px);
}
.footer-link:hover::after {
  width: 100%;
}
.footer-bottom {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(198, 161, 90, 0.2);
  animation: footerRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}
.footer-bottom small {
  color: #a89f93;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.theme-dark .footer {
  background: linear-gradient(160deg, #0d0c0b 0%, #080706 100%);
}
@keyframes footerRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.footer a, .footer .logo, .footer p, .footer small { color: inherit; }
.admin-body { background: #12110f; color: #f6f1ea; }
.admin-wrap { max-width: 980px; margin: 0 auto; padding: 36px 18px 80px; }
.admin-tabs a { padding: 8px 12px; border-radius: 999px; background: #1c1a17; border: 1px solid rgba(198,161,90,.4); color: #f6f1ea; }
.admin-tabs a.active { background: #c6a15a; color: #1c1915; }
.admin-body .form-card, .admin-body .table-wrap { background: #1c1a17; color: #f6f1ea; border-color: rgba(198,161,90,.35); }
.admin-body input, .admin-body select, .admin-body textarea { background: #171512; color: #f6f1ea; border-color: rgba(198,161,90,.4); }
.admin-body .muted { color: #cfc6ba; }
.admin-tabs { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 18px 0; }
.admin-tabs a { padding: 10px 16px; border-radius: 999px; background: #2a2622; border: 2px solid rgba(198,161,90,.55); color: #f6f1ea; }
.admin-tabs a.active { background: #c6a15a; color: #1c1915; border-color: #8a6b3e; }
.table-wrap { overflow: auto; background: #fff; border-radius: 16px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 14px; }
@media (max-width: 900px) {
  .hero, .stats, .grid-3, .grid-2, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--paper); flex-direction: column; padding: 18px 6vw; }
  .nav-links.open { display: flex; }
  .burger { display: block; }
}
.float-switch { position: fixed; right: 16px; bottom: 18px; z-index: 40; width: 56px; height: 56px; }
.float-btn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; border: 0; opacity: 0; transform: scale(.96); pointer-events: none; transition: opacity .45s ease, transform .45s ease; }
.float-btn.is-on { opacity: 1; transform: none; pointer-events: auto; animation: pulse 2.4s ease-in-out infinite; }
.float-wa { background: #25d366; }
.float-ig { background: radial-gradient(circle at 30% 110%, #f9ce34, #ee2a7b 55%, #6228d7); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes goldshift { to { background-position: 200% 0; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(198, 161, 90, .18); } }
.faq { display: grid; gap: 12px; margin-top: 22px; }
.faq details { border: 1px solid var(--gold); border-radius: 16px; padding: 14px 16px; background: var(--card); }
.faq summary { cursor: pointer; font-weight: 700; }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.fade-up { animation: rise .6s ease both; }
.card, .btn { transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
