/* TICHÉ NEBE — повний статичний сайт, біло-синя база, жовті акценти на контейнерах */

:root {
  --page-bg-top: #e8f1ff;
  --page-bg-bottom: #ffffff;
  --ink: #0c1f3d;
  --ink-soft: #3d4f6b;
  --blue-deep: #0a2f5c;
  --blue-mid: #154a8c;
  --blue-bright: #1e6fd9;
  --blue-glow: rgba(30, 111, 217, 0.12);
  --yellow: #ffd500;
  --yellow-deep: #e6b800;
  --yellow-soft: #fff8d4;
  --card: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 4px 6px -1px rgba(10, 47, 92, 0.06), 0 12px 28px -8px rgba(10, 47, 92, 0.12);
  --shadow-lg: 0 8px 16px -4px rgba(10, 47, 92, 0.08), 0 24px 48px -12px rgba(10, 47, 92, 0.18);
  --accent-bar: 4px;
  --max: 1120px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: linear-gradient(180deg, var(--page-bg-top) 0%, var(--page-bg-bottom) 38%, #f3f8ff 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a {
  color: var(--blue-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue-deep);
}

/* ---------- контейнер з жовтою «підсвіткою» ---------- */
.shell {
  width: min(var(--max), 92vw);
  margin-inline: auto;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(10, 47, 92, 0.06);
  position: relative;
  overflow: hidden;
}

/* жовта смуга зверху + легкий жовтий відблиск */
.card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: var(--accent-bar);
  background: linear-gradient(90deg, var(--yellow) 0%, var(--yellow-deep) 45%, #ffe566 100%);
  border-radius: var(--radius) var(--radius) 0 0;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(255, 213, 0, 0.15);
  opacity: 0.85;
}

.card__inner {
  position: relative;
  z-index: 1;
  padding: clamp(1.25rem, 4vw, 2rem);
  padding-top: calc(clamp(1.25rem, 4vw, 2rem) + var(--accent-bar));
}

.card--tight .card__inner {
  padding-top: calc(1.25rem + var(--accent-bar));
}

.card--lift:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(21, 74, 140, 0.08);
  box-shadow: 0 4px 20px rgba(10, 47, 92, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  width: min(var(--max), 92vw);
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #0a1628;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(10, 47, 92, 0.2);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-bright) 100%);
  box-shadow: 0 4px 14px rgba(30, 111, 217, 0.35);
  display: grid;
  place-items: center;
  color: var(--yellow);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.brand-mark[hidden],
.brand-logo[hidden] {
  display: none;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(21, 74, 140, 0.06);
  border: 1px solid rgba(21, 74, 140, 0.1);
}

.lang-switch__btn {
  min-width: 2.4rem;
  padding: 0.35rem 0.55rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-switch__btn:hover {
  color: var(--blue-deep);
}

.lang-switch__btn.is-active {
  background: #fff;
  color: var(--blue-deep);
  box-shadow: 0 2px 8px rgba(10, 47, 92, 0.12);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.mobile-lang {
  display: flex;
  justify-content: center;
  margin: 0.25rem 0 0.5rem;
}

.brand-text {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--blue-deep);
}

.brand-text span {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
}

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

.nav-desktop a,
.nav-desktop__link {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-decoration: none;
}

.nav-desktop a:hover,
.nav-desktop__link:hover {
  background: var(--blue-glow);
  color: var(--blue-deep);
}

.nav-desktop__link.is-active,
.mobile-panel__link.is-active {
  background: var(--blue-glow);
  color: var(--blue-deep);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-bright) 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(21, 74, 140, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 3px rgba(255, 213, 0, 0.55), 0 12px 28px rgba(21, 74, 140, 0.4);
  color: #fff;
}

.btn-yellow {
  background: linear-gradient(135deg, var(--yellow) 0%, #ffcc00 100%);
  color: var(--blue-deep);
  box-shadow: 0 8px 22px rgba(255, 204, 0, 0.45);
}

.btn-yellow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 3px rgba(21, 74, 140, 0.15), 0 12px 28px rgba(255, 204, 0, 0.55);
  color: var(--blue-deep);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(21, 74, 140, 0.15);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--blue-deep);
  border-radius: 1px;
}

@media (max-width: 980px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .header-tools .lang-switch {
    display: none;
  }
}

.mobile-panel {
  display: none;
  position: fixed;
  inset: 0;
  top: 70px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 99;
  border-top: 1px solid rgba(21, 74, 140, 0.08);
}

.mobile-panel.is-open {
  display: flex;
}

.mobile-panel a,
.mobile-panel__link {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(90deg, var(--yellow-soft), transparent);
  border-left: 3px solid var(--yellow);
  display: block;
}

.mobile-support {
  margin-top: 0.5rem;
  text-align: center;
}

.page-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

/* ---------- hero ---------- */
.hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 8vw, 5.5rem);
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 10%;
  right: -10%;
  width: 45vw;
  max-width: 520px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(30, 111, 217, 0.15) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
  position: relative;
  z-index: 1;
}

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

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  line-height: 1.1;
  font-weight: 800;
  color: var(--blue-deep);
  letter-spacing: -0.02em;
}

.hero .tagline {
  margin: 0 0 1.25rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--blue-bright);
  font-weight: 700;
}

.hero .lead {
  margin: 0 0 1.75rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--card);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(21, 74, 140, 0.08);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--yellow);
}

.stat-pill strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-bright);
}

.stat-pill span {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 600;
}

/* ---------- fotografie ---------- */
figure.photo-frame {
  margin: 0;
}

.photo-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--yellow);
  background: var(--card);
}

.photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.photo-frame--tall img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.photo-frame--wide img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.photo-frame--square img {
  aspect-ratio: 1;
  object-fit: cover;
}

.photo-caption {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.media-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
  align-items: stretch;
}

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

.photo-mosaic {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0 0;
  min-height: 280px;
}

.photo-mosaic .photo-frame:first-child {
  grid-row: 1 / -1;
  align-self: stretch;
}

.photo-mosaic .photo-frame:first-child img {
  height: 100%;
  min-height: 280px;
}

.photo-mosaic .photo-frame:not(:first-child) img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

@media (max-width: 768px) {
  .photo-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .photo-mosaic .photo-frame:first-child {
    grid-row: auto;
  }

  .photo-mosaic .photo-frame:first-child img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

.pomoc-visual {
  margin-bottom: 1.75rem;
}

.bank-with-photo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .bank-with-photo {
    grid-template-columns: 1fr;
  }
}

.card--visual {
  padding: 0;
  overflow: hidden;
}

.card--visual::before {
  z-index: 2;
}

.card--visual .card-thumb {
  position: relative;
  z-index: 1;
}

.card--visual .card-thumb img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.card--visual .card__inner {
  padding-top: calc(1.25rem + var(--accent-bar));
}

/* ---------- sections ---------- */
section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.section-tint {
  background: linear-gradient(180deg, transparent, rgba(232, 241, 255, 0.55) 40%, transparent);
}

.section-head {
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
}

.section-head h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--blue-deep);
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 46rem;
}

.kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow-deep);
  background: var(--yellow-soft);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

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

/* bank / copy blocks */
.mono {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-size: 0.95rem;
  background: linear-gradient(135deg, #f0f6ff 0%, #fff 100%);
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(21, 74, 140, 0.2);
  margin: 0.5rem 0;
}

.list-check {
  margin: 0;
  padding-left: 1.2rem;
}

.list-check li {
  margin-bottom: 0.5rem;
}

.link-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.link-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--blue-deep);
}

.link-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.contact-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.contact-item .label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 0.35rem;
}

.contact-item a,
.contact-item p {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}

.footer {
  background: linear-gradient(180deg, var(--blue-deep) 0%, #061a33 100%);
  color: rgba(255, 255, 255, 0.88);
  padding: 2.5rem 0;
  margin-top: 2rem;
}

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

.footer-inner {
  width: min(var(--max), 92vw);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  font-size: 0.9rem;
}

.footer-note {
  width: min(var(--max), 92vw);
  margin: 1rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.75rem;
  opacity: 0.75;
  line-height: 1.45;
}

.footer-note a {
  color: rgba(255, 213, 0, 0.95);
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.5rem 1rem;
  background: var(--yellow);
  color: var(--blue-deep);
  font-weight: 700;
}

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