:root {
  --bg: #0b0b0a;
  --ink: #f5f4ef;
  --ink-soft: rgba(245, 244, 239, 0.62);
  --hairline: rgba(245, 244, 239, 0.12);
  --yellow: #f2c230;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-narrow {
  max-width: 720px;
  text-align: center;
}

.accent {
  color: var(--yellow);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}

h1 {
  font-family: var(--font-display);
  font-weight: 900;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.lead {
  font-size: 19px;
  color: var(--ink-soft);
  margin: 0;
}

.lead-secondary {
  margin-top: 18px;
}

/* Reveal-on-scroll */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 10, 0.86);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 76px;
}

.nav {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 36px;
  font-weight: 500;
  font-size: 15px;
}

.nav a {
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav a:hover {
  border-color: var(--yellow);
}

.header-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 22px;
}

.lang-switch {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lang-btn {
  background: none;
  border: none;
  padding: 12px 8px;
  color: var(--ink-soft);
  cursor: pointer;
  font: inherit;
  font-weight: inherit;
  transition: color 0.2s ease;
}

.lang-btn:hover {
  color: var(--ink);
}

.lang-btn.active {
  color: var(--yellow);
}

.lang-sep {
  color: var(--hairline);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--ink);
  width: 20px;
  margin: 0 auto;
}

/* Hero */

.hero {
  padding: 100px 0 110px;
  text-align: center;
}

.hero-logo-wrap {
  position: relative;
  width: 260px;
  margin: 0 auto 32px;
}

.hero-logo-wrap::before {
  content: "";
  position: absolute;
  inset: -18%;
  background: radial-gradient(circle, rgba(242, 194, 48, 0.4), rgba(242, 194, 48, 0) 68%);
  filter: blur(30px);
  z-index: 0;
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero h1 {
  font-size: clamp(34px, 5.6vw, 58px);
  line-height: 1.06;
  margin-bottom: 16px;
}

.hero-text {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 auto 32px;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  color: var(--yellow);
  border-bottom: 1px solid var(--yellow);
  padding-bottom: 3px;
  transition: gap 0.2s ease, opacity 0.2s ease;
}

.cta-link:hover {
  gap: 12px;
  opacity: 0.85;
}

/* Sections */

.section {
  padding: 80px 0;
  scroll-margin-top: 96px;
}

.services-intro {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 36px 32px;
  border: 1px solid var(--hairline);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  border-color: var(--yellow);
  transform: translateY(-3px);
}

.service-card-tag {
  display: inline-block;
  color: var(--yellow);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.service-card-subtitle {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.32;
  margin: 0 0 22px;
  min-height: 53px;
}

.service-card-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-card-list li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
}

.service-card-list li::before {
  content: "•";
  position: absolute;
  left: 2px;
  color: var(--yellow);
}

.service-card-note {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 16px;
}

.service-card-email {
  display: block;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 20px;
  transition: opacity 0.2s ease;
}

.service-card-email:hover {
  opacity: 0.8;
}

.btn-gold {
  display: inline-block;
  margin-top: auto;
  padding: 14px 22px;
  background: var(--yellow);
  color: var(--bg);
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.services-footer-note {
  margin: 44px 0 0;
  text-align: center;
  font-size: 15px;
}

.services-footer-note a {
  color: var(--yellow);
  text-decoration: underline;
  text-decoration-color: rgba(242, 194, 48, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.services-footer-note a:hover {
  text-decoration-color: var(--yellow);
}

/* Contact */

.contact-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}

.contact-list a {
  font-size: 22px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-list a:hover {
  color: var(--yellow);
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

#kontakt .social-links {
  margin-top: 36px;
}

.social-links a {
  display: inline-flex;
  padding: 9px;
  margin: -9px;
  color: var(--ink-soft);
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
  color: var(--yellow);
  transform: translateY(-2px);
}

.social-links svg {
  width: 26px;
  height: 26px;
}

.header-social svg {
  width: 20px;
  height: 20px;
}

/* Footer */

.site-footer {
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.04em;
  margin: 0;
  font-size: 14px;
}

.footer-copy {
  color: var(--ink-soft);
  font-size: 13px;
  margin: 0;
}

/* Responsive */

@media (max-width: 700px) {
  .nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--hairline);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    display: none;
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--hairline);
  }
  .header-actions {
    gap: 12px;
  }
  .header-social {
    gap: 14px;
  }
  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 760px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 72px 0 80px;
  }
  .hero-logo-wrap {
    width: 200px;
  }
  .section {
    padding: 56px 0;
  }
  .contact-list a {
    font-size: 19px;
  }
}
