@font-face {
  font-family: "Spartan";
  font-style: normal;
  font-weight: 100;
  src: url("../fonts/Spartan-100.ttf") format("truetype");
}

@font-face {
  font-family: "Spartan";
  font-style: normal;
  font-weight: 200;
  src: url("../fonts/Spartan-200.ttf") format("truetype");
}

@font-face {
  font-family: "Spartan";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/Spartan-300.ttf") format("truetype");
}

@font-face {
  font-family: "Spartan";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/Spartan-400.ttf") format("truetype");
}

@font-face {
  font-family: "Spartan";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/Spartan-500.ttf") format("truetype");
}

:root {
  --accent: #e07b2f;
  --accent-dark: #a95719;
  --ink: #0f1707;
  --paper: #ffffff;
  --charcoal: #191919;
  --muted: #6b6f66;
  --line: rgba(255, 255, 255, 0.18);
  --container: 1200px;
  --header-h: 90px;
  --body-font: "Nunito Sans", Arial, Helvetica, sans-serif;
  --heading-font: "Spartan", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.7;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  color: var(--paper);
  transition: background 180ms ease, box-shadow 180ms ease, height 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(15, 23, 7, 0.94);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: var(--header-h);
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 250px;
  height: 82px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  width: 100%;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
}

.site-nav a:not(.contact-link):not(.lang-link)::after {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--accent);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.contact-link {
  border: 1px solid rgba(255, 255, 255, 0.72);
  padding: 0 20px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.contact-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}

.lang-link {
  width: 34px;
  min-width: 34px;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 11px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 650px;
  padding: calc(var(--header-h) + 70px) 0 80px;
  color: var(--paper);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(15, 23, 7, 0.46), rgba(15, 23, 7, 0.16)),
    var(--hero-image) center / cover no-repeat;
}

.page-home .hero {
  min-height: 760px;
  background:
    linear-gradient(90deg, rgba(15, 23, 7, 0.1), rgba(15, 23, 7, 0.06)),
    var(--hero-image) center / cover no-repeat;
}

.hero--center {
  text-align: center;
}

.hero--center .hero__content {
  margin-inline: auto;
}

.hero__inner {
  display: grid;
  align-content: center;
  gap: 56px;
}

.hero__content {
  width: min(760px, 100%);
}

.hero__eyebrow {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: clamp(24px, 3.6vw, 44px);
  font-weight: 500;
  line-height: 1.13;
}

.hero h1 {
  margin: 0;
  color: var(--paper);
  font-family: var(--heading-font);
  font-size: clamp(34px, 5.1vw, 68px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero__subtitle {
  width: min(680px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--heading-font);
  font-size: clamp(17px, 1.75vw, 23px);
  font-weight: 400;
  line-height: 1.55;
}

.hero--center .hero__subtitle {
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: 34px;
  border: 1px solid transparent;
  padding: 0 32px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.btn--accent {
  background: var(--accent);
  color: var(--paper);
  box-shadow: inset 0 0 0 4em var(--accent);
}

.btn--accent:hover {
  box-shadow: inset 0 0 0 4em var(--accent), 0 10px 20px rgba(0, 0, 0, 0.22);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.stat-card {
  display: grid;
  justify-items: start;
  gap: 14px;
  min-height: 200px;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 7, 0.34);
  backdrop-filter: blur(2px);
}

.stat-card img {
  width: 46px;
  opacity: 0.95;
}

.stat-card h2 {
  margin: 0;
  color: var(--paper);
  font-family: var(--heading-font);
  font-size: clamp(21px, 2.1vw, 28px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
}

.stat-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.logo-strip {
  padding: 54px 0;
  background: var(--charcoal);
}

.logo-strip img {
  width: min(900px, 100%);
  margin-inline: auto;
}

.band {
  position: relative;
  padding: 92px 0;
}

.band--pattern {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.82)),
    url("../images/akaback-gry.jpg") center / cover fixed no-repeat;
}

.band--dark-cards {
  background: var(--paper);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.info-card {
  min-height: 270px;
  padding: 48px;
  color: var(--paper);
  background:
    linear-gradient(rgba(15, 23, 7, 0.88), rgba(15, 23, 7, 0.88)),
    url("../images/black-back.png") repeat;
}

.info-card h2,
.prose h2,
.contact-copy h2,
.location h3 {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: 0;
}

.info-card h2 {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: clamp(25px, 2.2vw, 32px);
}

.info-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.prose {
  width: min(920px, calc(100% - 48px));
}

.prose h2 {
  margin-bottom: 28px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 52px);
}

.prose p {
  margin: 0 0 18px;
  color: #32362f;
  font-size: 18px;
}

.prose p:last-child {
  margin-bottom: 0;
}

.gallery-band {
  padding-top: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  background: #d8d8d8;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 800 / 519;
  object-fit: cover;
  transition: transform 260ms ease, opacity 260ms ease;
}

.gallery-item:hover img {
  opacity: 0.92;
  transform: scale(1.035);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.84fr);
  gap: 58px;
  align-items: start;
}

.contact-copy h2 {
  font-size: clamp(30px, 3.4vw, 46px);
}

.contact-copy > p {
  margin: 18px 0 36px;
  color: #3f453a;
  font-size: 18px;
}

.location {
  margin-top: 26px;
}

.location h3 {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 24px;
}

.location p {
  margin: 0 0 4px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 38px;
  color: var(--paper);
  background:
    linear-gradient(rgba(15, 23, 7, 0.9), rgba(15, 23, 7, 0.9)),
    url("../images/black-back.png") repeat;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  padding: 14px 16px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}

.contact-form .btn {
  justify-self: start;
  margin-top: 4px;
  cursor: pointer;
}

.form-notice {
  padding: 14px 16px;
  border: 1px solid currentColor;
  font-size: 14px;
}

.form-notice--success {
  color: #9ed39d;
}

.form-notice--error {
  color: #ffb199;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #0d0d0d;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 34px;
  padding: 70px 0 48px;
}

.footer-brand img {
  width: 100px;
  height: 56px;
  margin-bottom: 22px;
  object-fit: contain;
}

.footer-brand p,
.footer-group p {
  margin: 0;
}

.footer-contact {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.footer-group {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-group h2 {
  margin: 0 0 10px;
  color: var(--paper);
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
}

.footer-group a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 800;
}

.footer-group a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 2px solid var(--accent);
  padding: 24px 0;
  font-size: 13px;
  font-weight: 700;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-bottom a:hover {
  color: var(--accent);
}

@media (max-width: 1080px) {
  .brand img {
    width: 210px;
  }

  .site-nav {
    gap: 15px;
    font-size: 12px;
  }

  .stats-grid,
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  :root {
    --header-h: 76px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-inner {
    min-height: var(--header-h);
  }

  .brand img {
    width: 170px;
    height: auto;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    right: 0;
    left: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px 16px 18px;
    background: rgba(15, 23, 7, 0.98);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    min-height: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .contact-link,
  .lang-link {
    justify-content: flex-start;
    width: auto;
    min-width: 0;
    border: 0;
    padding: 0;
  }

  .hero,
  .page-home .hero {
    min-height: 610px;
    padding: calc(var(--header-h) + 54px) 0 64px;
  }

  .hero__eyebrow {
    color: rgba(255, 255, 255, 0.86);
  }

  .stats-grid,
  .card-grid,
  .gallery-grid,
  .contact-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .band {
    padding: 66px 0;
  }

  .gallery-band {
    padding-top: 0;
  }

  .info-card,
  .contact-form {
    padding: 30px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom nav {
    justify-content: flex-start;
  }
}

@media (max-width: 460px) {
  .hero h1 {
    font-size: 33px;
  }

  .hero__subtitle,
  .prose p,
  .contact-copy > p {
    font-size: 16px;
  }

  .btn {
    width: 100%;
  }

  .contact-form .btn {
    justify-self: stretch;
  }
}
