/* SVITLO — quiet static landing page */

:root {
  --bg: #18110d;
  --bg-soft: #1f1712;
  --card: rgba(38, 29, 22, 0.82);
  --card-strong: rgba(46, 34, 25, 0.92);
  --gold: #caa65d;
  --gold-soft: #ead7a8;
  --gold-dim: #98733a;
  --ember: #d06b2f;
  --text: #f7f1e8;
  --muted: #ad9a88;
  --quiet: #6f5e51;
  --line: rgba(202, 166, 93, 0.18);
  --line-strong: rgba(202, 166, 93, 0.36);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.30);
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(circle at top center, rgba(208, 107, 47, 0.15), transparent 34rem),
    radial-gradient(circle at 10% 18%, rgba(202, 166, 93, 0.07), transparent 22rem),
    var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 980px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

h1, h2, .nav-logo, .hero-kicker {
  font-family: Georgia, Palatino, "Palatino Linotype", "Book Antiqua", serif;
  font-weight: 400;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px clamp(18px, 4vw, 44px);
  background: rgba(24, 17, 13, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-logo {
  color: var(--gold-soft);
  letter-spacing: 0.20em;
  font-size: 0.96rem;
  text-transform: uppercase;
}

.nav-logo::before {
  content: "✦";
  color: var(--gold);
  margin-right: 10px;
  font-size: 0.78rem;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 28px);
}

.nav-links a {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-size: 0.74rem;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.lang-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
}
.lang-btn:hover { border-color: var(--line-strong); background: rgba(202, 166, 93, 0.08); }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 72vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 76px 24px 54px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 50% 28px auto;
  width: 1px;
  height: 74px;
  background: linear-gradient(to bottom, transparent, var(--gold-dim), transparent);
  opacity: 0.65;
}

.hero > *:not(.doodle-corner) { position: relative; z-index: 2; }
.hero-kicker {
  color: var(--gold);
  font-style: italic;
  letter-spacing: 0.12em;
  font-size: clamp(0.85rem, 2vw, 1rem);
  margin-bottom: 14px;
}

.hero-logo {
  width: min(520px, 84vw);
  margin: 0 auto 18px;
  filter: drop-shadow(0 18px 42px rgba(0, 0, 0, 0.28));
  border-radius: 16px;
}

.hero h1 {
  max-width: 760px;
  margin: 0 auto 12px;
  color: var(--gold-soft);
  font-size: clamp(2.1rem, 6.5vw, 4.9rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.hero-text {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.14rem);
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.doodle-corner {
  position: absolute;
  width: min(27vw, 250px);
  opacity: 0.32;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 1;
}
.doodle-corner--left { left: -36px; bottom: 26px; transform: rotate(-6deg) scaleX(-1); }
.doodle-corner--right { right: -38px; bottom: 20px; transform: rotate(5deg); }

.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 14px auto;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.divider span,
.section-label,
.card-label {
  color: var(--gold-dim);
  text-transform: uppercase;
  letter-spacing: 0.20em;
  font-size: 0.72rem;
}

.cards { padding: 16px 24px 52px; }
.cards-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(28px, 4vw, 42px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: var(--card-strong);
}
.card-featured { border-color: rgba(202, 166, 93, 0.28); }
.card-icon { font-size: 1.65rem; line-height: 1; }
.card h2 {
  color: var(--gold-soft);
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
  line-height: 1.16;
}
.card p {
  color: var(--muted);
  font-size: 0.97rem;
  flex: 1;
}
.card-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.split-buttons .btn { flex: 1 1 150px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 19px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: #1c130d; }
.btn-primary:hover { background: var(--gold-soft); }
.btn-outline { color: var(--gold-soft); border-color: var(--line-strong); background: rgba(202, 166, 93, 0.04); }
.btn-outline:hover { background: rgba(202, 166, 93, 0.10); }
.btn-ghost { color: var(--muted); border-color: var(--line); background: transparent; }
.btn-ghost:hover { color: var(--text); border-color: var(--line-strong); }

.arch-divider {
  display: flex;
  justify-content: center;
  margin: -8px 0 18px;
}
.arch-divider img {
  width: min(250px, 60vw);
  opacity: 0.18;
  mix-blend-mode: screen;
}

.contact-section {
  padding: 70px 24px;
  text-align: center;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.08);
}
.contact-section h2 {
  color: var(--gold-soft);
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  margin: 8px 0 12px;
}
.mail-link {
  color: var(--gold);
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(202, 166, 93, 0.35);
}
.mail-link:hover { color: var(--gold-soft); }

footer {
  border-top: 1px solid var(--line);
  padding: 30px 24px 34px;
  text-align: center;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px 26px;
  list-style: none;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.footer-links a {
  color: var(--quiet);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy { color: #574a3f; font-size: 0.76rem; }

.page-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px 88px;
}
.page-content h1 {
  color: var(--gold-soft);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  line-height: 1.05;
  margin-bottom: 36px;
}
.page-content h2 {
  color: var(--gold);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin: 34px 0 10px;
}
.page-content p,
.page-content li {
  color: var(--muted);
  font-size: 0.96rem;
  margin-bottom: 8px;
}
.page-content ul { padding-left: 22px; }
.page-content strong { color: var(--text); }
.page-content em { color: var(--quiet); }
.page-content a { color: var(--gold); border-bottom: 1px solid rgba(202, 166, 93, 0.28); }
.page-content a:hover { color: var(--gold-soft); }

.not-found {
  min-height: 78vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 64px 24px;
}
.not-found-inner { max-width: 520px; }
.not-found-icon { font-size: 3rem; display: block; margin-bottom: 12px; }
.not-found h1 { color: var(--gold-soft); font-size: clamp(4rem, 18vw, 8rem); line-height: 1; }
.not-found p { color: var(--muted); margin: 16px 0 30px; }

@media (max-width: 720px) {
  .cards-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 58px; }
  .doodle-corner { width: 130px; opacity: 0.26; }
}

@media (max-width: 520px) {
  .hide-mobile { display: none; }
  .site-nav { padding: 13px 18px; }
  .nav-links { gap: 10px; }
  .hero-actions .btn { width: 100%; max-width: 310px; }
  .cards { padding-left: 18px; padding-right: 18px; }
  .card { border-radius: 18px; }
}
