/* Linz Fary — Minsk BI-LED retrofit */
:root {
  --bg: #0b0d10;
  --bg-elev: #12161c;
  --bg-soft: #181e27;
  --text: #eef1f5;
  --muted: #9aa3b2;
  --line: rgba(238, 241, 245, 0.12);
  --accent: #f0b429;
  --accent-soft: #ffd56a;
  --beam: #f5f0e6;
  --ok: #6bcf8e;
  --danger: #ff6b6b;
  --radius: 4px;
  --max: 1120px;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Onest", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

a:hover {
  color: var(--accent-soft);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
.brand {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #111;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(11, 13, 16, 0.92), rgba(11, 13, 16, 0.55) 70%, transparent);
  backdrop-filter: blur(8px);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(11, 13, 16, 0.94);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--text);
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.brand span {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  font-size: 0.92rem;
  color: var(--muted);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.header-phone {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  border: 1px solid var(--line);
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.header-phone:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    background: rgba(11, 13, 16, 0.98);
    border-bottom: 1px solid var(--line);
  }

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

  .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .header-phone {
    display: none;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  animation: hero-zoom 18s var(--ease) both;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 13, 16, 0.35) 0%, rgba(11, 13, 16, 0.55) 42%, rgba(11, 13, 16, 0.92) 78%, var(--bg) 100%),
    radial-gradient(ellipse 70% 45% at 70% 35%, rgba(240, 180, 41, 0.18), transparent 60%);
}

.hero-content {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: calc(var(--header-h) + 3rem) 0 4.5rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 9vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin: 0 0 1.25rem;
  color: var(--text);
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.15s forwards;
}

.hero-brand span {
  color: var(--accent);
}

.hero-lead {
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--beam);
  margin-bottom: 0.65rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.3s forwards;
}

.hero-sub {
  max-width: 32rem;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.42s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.55s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
  color: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #14110a;
}

.btn-primary:hover {
  background: var(--accent-soft);
  color: #14110a;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-tight {
  padding: 3.5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  margin: 0 0 0.75rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.65rem;
  font-weight: 600;
}

/* Services list — not cards as marketing tiles; interactive destinations */
.service-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.25s var(--ease), color 0.2s;
}

.service-item:hover {
  padding-left: 0.5rem;
  color: var(--accent-soft);
}

.service-item h3 {
  margin: 0 0 0.3rem;
  font-size: 1.2rem;
}

.service-item p {
  margin: 0;
  font-size: 0.95rem;
}

.service-price {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text);
  white-space: nowrap;
}

/* Split / process */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 800px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.steps {
  display: grid;
  gap: 1rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.step-num {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.1rem;
  width: 2rem;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  font-size: 0.95rem;
}

/* Price table */
.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.price-table th {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price-table td:last-child,
.price-table th:last-child {
  text-align: right;
  font-family: var(--font-display);
  white-space: nowrap;
}

.note {
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--accent);
  font-family: var(--font-display);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0.85rem 0 0.25rem;
}

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 10% 50%, rgba(240, 180, 41, 0.16), transparent 55%),
    var(--bg-elev);
  border-block: 1px solid var(--line);
}

.cta-band .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
}

.cta-band p {
  margin: 0;
  max-width: 34rem;
}

/* Page hero (inner) */
.page-hero {
  padding: calc(var(--header-h) + 3.5rem) 0 2.5rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 50% 60% at 85% 20%, rgba(240, 180, 41, 0.12), transparent 55%),
    var(--bg);
}

.page-hero h1 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  margin: 0 0 0.85rem;
  max-width: 18ch;
}

.page-hero p {
  max-width: 40rem;
  margin: 0;
  font-size: 1.1rem;
}

/* Content prose */
.prose {
  max-width: 42rem;
}

.prose h2 {
  font-size: 1.45rem;
  margin: 2rem 0 0.75rem;
}

.prose ul {
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  list-style: disc;
  color: var(--muted);
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose li::marker {
  color: var(--accent);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-block h2 {
  margin: 0 0 0.75rem;
  font-size: 1.3rem;
}

.contact-block a {
  color: var(--accent-soft);
}

.map-frame {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: var(--radius);
  background: var(--bg-soft);
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner a {
  color: var(--text);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1.02);
  }
}

/* Blog */
.post-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.post-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: padding-left 0.25s var(--ease);
}

.post-item:hover {
  padding-left: 0.4rem;
}

.post-date {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  min-width: 6.5rem;
  padding-top: 0.2rem;
}

.post-item h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
}

.post-item p {
  margin: 0;
  font-size: 0.95rem;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0 0 1.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.post-meta time {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article {
  max-width: 42rem;
}

.article h2 {
  font-size: 1.4rem;
  margin: 2rem 0 0.75rem;
}

.article h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
}

.blog-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (max-width: 600px) {
  .post-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}
