:root {
  --color-steel: #1a252f;
  --color-steel-dark: #11181f;
  --color-orange: #ff6b35;
  --color-orange-dark: #e65a25;
  --color-white: #ffffff;
  --color-light-gray: #f4f6f8;

  --font-editorial:
    "Segoe UI Condensed", "Roboto Condensed", "Arial Narrow",
    sans-serif-condensed, sans-serif;
  --font-base:
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --space-unit: 6px;
  --space-sm: calc(var(--space-unit) * 2); /* 12px */
  --space-md: calc(var(--space-unit) * 4); /* 24px */
  --space-lg: calc(var(--space-unit) * 8); /* 48px */

  --radius-pill: 9999px;
  --shadow-hard: 4px 4px 0px 0px rgba(0, 0, 0, 0.8);
  --shadow-hard-orange: 4px 4px 0px 0px var(--color-orange);

  --max-width: 1420px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-base);
  background-color: var(--color-light-gray);
  color: var(--color-steel);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-editorial);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

/* Header Styles */
.site-header {
  background-color: var(--color-steel);
  color: var(--color-white);
  padding: var(--space-md) 0;
  border-bottom: 2px solid var(--color-orange);
  position: relative;
  z-index: 100;
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.brand-block {
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-editorial);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
}

.logo-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--color-orange);
}

.main-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.nav-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: var(--space-lg);
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link {
  font-family: var(--font-editorial);
  font-size: 1.125rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-white);
  padding: var(--space-sm);
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  text-align: center;
}

.nav-link:hover {
  color: var(--color-orange);
  background-color: rgba(255, 255, 255, 0.05);
}

.active_link {
  color: var(--color-orange);
  background-color: rgba(255, 255, 255, 0.1);
  font-weight: 700;
}

.cta-button {
  display: inline-block;
  background-color: var(--color-orange);
  color: var(--color-steel);
  font-family: var(--font-editorial);
  font-weight: 700;
  text-transform: uppercase;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-steel-dark);
  text-align: center;
  box-shadow: var(--shadow-hard-orange);
  /* Inverting shadow for contrast against steel header */
  box-shadow: 4px 4px 0px 0px var(--color-white);
  transition:
    transform 0.1s ease,
    box-shadow 0.1s ease;
}

.cta-button:hover {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0px 0px var(--color-white);
}

.cta-button:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px 0px var(--color-white);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
}

/* Footer Styles */
.site-footer {
  background-color: var(--color-steel-dark);
  color: var(--color-white);
  padding: var(--space-lg) 0;
  border-top: 4px solid var(--color-orange);
  margin-top: auto;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
}

.footer-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.3);
}

.brand-card {
  grid-column: span 1;
}

.footer-brand {
  font-size: 1.75rem;
  margin-bottom: var(--space-sm);
  color: var(--color-orange);
}

.footer-tagline {
  font-family: var(--font-editorial);
  font-weight: 700;
  font-style: italic;
  margin: 0;
  font-size: 1.1rem;
}

.footer-desc {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-top: var(--space-sm);
  line-height: 1.5;
}

.footer-heading {
  font-size: 1.25rem;
  color: var(--color-orange);
  margin-bottom: var(--space-sm);
}

.footer-links,
.contact-list,
.legal-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a,
.contact-list a,
.legal-links a {
  font-size: 0.95rem;
  opacity: 0.9;
  text-align: center;
}

.footer-links a:hover,
.contact-list a:hover,
.legal-links a:hover {
  color: var(--color-orange);
  opacity: 1;
  text-decoration: underline;
}

/* Центрирование текста для кнопок */
button {
  text-align: center;
}

/* Центрирование для flex кнопок */
.flex.items-center a,
a.flex.items-center {
  justify-content: center;
  text-align: center;
}

/* Центрирование текста для ссылок в навигации */
.nav-link {
  text-align: center;
}

/* Центрирование текста для CTA кнопок */
.cta-button {
  text-align: center;
}

/* Центрирование текста для ссылок в футере */
.footer-links a,
.contact-list a,
.legal-links a {
  text-align: center;
}

/* Кастомный класс для фонового изображения */
.bg-custom-image {
  background-image: url("../img/11.avif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.icon-wrapper {
  color: var(--color-orange);
  display: flex;
}

.social-links {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  transition: all 0.2s;
}

.social-links a:hover {
  background-color: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-steel-dark);
  box-shadow: 2px 2px 0px 0px rgba(255, 255, 255, 0.5);
}

.copyright {
  font-size: 0.8rem;
  opacity: 0.5;
  margin-top: auto;
  padding-top: var(--space-md);
}

/* Responsive */
@media (min-width: 769px) {
  .main-nav {
    flex-direction: row;
    justify-content: space-between;
  }
  .nav-cta-container {
    margin-left: auto;
  }
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .brand-card {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
  }

  .mobile-menu-toggle {
    display: block;
    z-index: 101;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-steel);
    padding: var(--space-md);
    border-bottom: 2px solid var(--color-orange);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  }

  .main-nav.active {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
  }

  .nav-cta-container {
    width: 100%;
    margin-top: var(--space-md);
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .brand-card {
    grid-column: span 1;
  }
}
/* footer extras */
.footer__extras {
  margin-top: 16px;
}
.footer__extrasInner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer__social {
  display: flex;
  gap: 10px;
  align-items: center;
}
.footer-social {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  text-decoration: none;
}
.footer-social__icon {
  display: block;
}
.footer__poemWrap {
  max-width: 520px;
}
.footer-poem {
  opacity: 0.9;
  font-size: 0.95em;
  line-height: 1.35;
}
.max-w-1420 {
  max-width: var(--max-width);
}
