﻿:root {
  --color-primary-dark: #171717;
  --color-primary: #1d1f1d;
  --color-secondary: #202320;
  --color-text: #f0ece3;
  --color-accent: #9d8561;
  --color-muted: #bdb5a7;
  --color-white: #f7f2e8;
  --color-green: #67725f;
  --color-yellow: #9d8561;
  --color-footer: #1b1d1b;
  --color-arrow: #bdb5a7;
  --color-border: #3a403c;
  --color-surface: #262a27;
  --color-surface-soft: #2d322e;
  --shadow-button: 0 14px 32px rgba(0, 0, 0, 0.34);
  --shadow-text: 0 2px 18px rgba(0, 0, 0, 0.22);
  --container: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-secondary);
  color: var(--color-text);
  font-family: "Roboto", Arial, sans-serif;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

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

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

p,
h1,
h2,
h3,
figure {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 1000;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: var(--color-accent);
  color: var(--color-white);
}

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

.site-shell {
  min-height: 100vh;
}

.site-header {
  background: var(--color-primary-dark);
  border-bottom: 1px solid var(--color-border);
}

.header-grid {
  display: grid;
  grid-template-columns: minmax(136px, 176px) 1fr;
  gap: 24px;
  align-items: center;
  padding: 12px 0 8px;
}

.header-brand img {
  width: min(100%, 154px);
}

.header-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.header-top-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  min-height: 56px;
}

.desktop-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  flex: 1;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(189, 181, 167, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.language-switch__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.language-switch__link.is-active {
  background: rgba(157, 133, 97, 0.26);
  color: var(--color-white);
}

.desktop-nav a {
  position: relative;
  padding: 4px 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a.is-active::after {
  opacity: 1;
}

.header-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.header-tagline {
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 300;
  text-align: left;
  color: var(--color-muted);
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.instagram-link svg {
  width: 18px;
  height: 18px;
  fill: var(--color-muted);
}

.header-divider {
  min-height: 26px;
  background: var(--color-primary-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.menu-toggle,
.mobile-menu,
.mobile-menu-overlay {
  display: none;
}

.mobile-menu[hidden],
.mobile-menu-overlay[hidden] {
  display: none !important;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  padding: 12px 22px;
  border: 1px solid rgba(74, 92, 78, 0.82);
  border-radius: 4px;
  background-color: #2a352d;
  color: var(--color-white);
  font-size: 14px;
  font-weight: 500;
  text-shadow: none;
  box-shadow: var(--shadow-button);
  text-decoration: none;
  cursor: pointer;
  appearance: none;
}

.button-muted {
  background-image: linear-gradient(180deg, #8d7553 0%, var(--color-yellow) 100%);
}

.button-green {
  background-image: linear-gradient(180deg, #50594a 0%, var(--color-green) 100%);
}

.button--ghost {
  border-color: rgba(93, 114, 98, 0.7);
  background-image: linear-gradient(180deg, rgba(72, 92, 76, 0.96) 0%, rgba(48, 64, 53, 0.98) 100%);
  color: var(--color-text);
}

.button:disabled,
.button[disabled] {
  opacity: 0.62;
  filter: none;
  color: var(--color-text);
  cursor: default;
}

.button--ghost:disabled,
.button--ghost[disabled],
.button-green:disabled,
.button-green[disabled] {
  border-color: rgba(74, 92, 78, 0.62);
  background-image: linear-gradient(180deg, rgba(63, 79, 68, 0.96) 0%, rgba(45, 58, 49, 0.98) 100%);
  color: rgba(240, 236, 227, 0.88);
  box-shadow: none;
}

.button:hover,
.button:focus-visible {
  color: var(--color-white);
  filter: brightness(1.06);
}

.site-footer {
  background: var(--color-footer);
  border-top: 1px solid var(--color-border);
  padding: 0 0 18px;
}

.testimonials-section {
  background: var(--color-footer);
  padding: 22px 0 12px;
}

.testimonial-shell {
  width: min(calc(100% - 20px), 1600px);
}

.testimonial-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial-card {
  width: min(95%, 1120px);
  min-height: 230px;
  padding: 20px 24px;
  text-align: center;
}

.testimonial-text {
  color: var(--color-text);
  font-size: 12px;
  font-style: italic;
  line-height: 1.5;
}

.testimonial-text p + p {
  margin-top: 12px;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.testimonial-footer.has-no-image {
  gap: 0;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-cite {
  display: flex;
  flex-direction: column;
  font-style: normal;
  text-align: left;
}

.testimonial-name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.testimonial-title {
  color: var(--color-muted);
  font-family: "Roboto Slab", serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.testimonial-arrow {
  border: 0;
  background: transparent;
  color: var(--color-arrow);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  padding: 8px;
}

.testimonial-progress {
  width: min(95%, 1120px);
  height: 5px;
  margin: 4px auto 0;
  background: rgba(239, 228, 207, 0.14);
  overflow: hidden;
}

.testimonial-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--color-accent);
}

.press-section {
  background: var(--color-footer);
  padding: 18px 0 14px;
}

.press-grid {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.press-card {
  text-align: center;
  width: 92px;
  flex: 0 0 92px;
}

.press-card img {
  display: block;
  width: 92px;
  height: 92px;
  margin: 0 auto;
  object-fit: cover;
}

.press-card figcaption {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 400;
  color: var(--color-muted);
}

.footer-contact {
  margin-left: auto;
  text-align: right;
  font-size: 16px;
  color: var(--color-text);
}

.footer-contact p + p {
  margin-top: 4px;
}

.copyright {
  font-size: 6px;
  color: var(--color-muted);
}

.page-main {
  background: var(--color-secondary);
  padding: 34px 0 40px;
}

.page-shell {
  display: grid;
  gap: 26px;
}

.page-shell.narrow {
  max-width: 920px;
}

.page-title {
  color: var(--color-text);
  font-size: 30px;
  font-weight: 600;
  font-style: oblique;
  line-height: 1.25;
  text-align: center;
}

.page-copy {
  color: var(--color-text);
  font-size: 18px;
  line-height: 1.6;
}

.page-copy p + p {
  margin-top: 14px;
}

@media (max-width: 1024px) {
  .header-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .header-main,
  .header-meta {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .header-top-row {
    justify-content: flex-start;
  }

  .desktop-nav {
    justify-content: flex-start;
    gap: 18px;
  }

  .header-controls {
    margin-left: 0;
  }

  .press-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 92px));
    justify-content: start;
  }

  .footer-contact {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
    margin-left: 0;
    margin-top: 10px;
  }
}

@media (max-width: 767px) {
  .site-header {
    position: relative;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .header-controls {
    margin-left: auto;
  }

  .language-switch {
    gap: 2px;
    padding: 3px;
  }

  .language-switch__link {
    min-width: 34px;
    min-height: 26px;
    padding: 0 8px;
    font-size: 11px;
  }

  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: block;
    background: rgba(0, 0, 0, 0.35);
  }

  .mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    background: var(--color-primary-dark);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  }

  .mobile-menu a {
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 500;
    border-top: 1px solid var(--color-border);
  }

  .header-meta {
    gap: 10px;
  }

  .page-copy {
    font-size: 16px;
  }

  .page-title {
    font-size: 26px;
  }

  .testimonial-card {
    padding-inline: 8px;
    min-height: 300px;
  }

  .testimonial-frame {
    gap: 4px;
  }

  .testimonial-footer {
    flex-direction: column;
    gap: 12px;
  }

  .testimonial-cite {
    text-align: center;
  }

  .press-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    justify-items: start;
  }

  .press-card figcaption {
    text-align: center;
  }
}
