body {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #fff;
  color: #222;
}
html, body {
  overflow-x: hidden;
}
/* Prevent mobile browsers from auto-scaling text sizes */
html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
main {
  padding: 0px 20px 0px 20px;
  max-width: 1000px;
  margin: auto;
  background-color: #fff;
}
/* For desktop */
@media (min-width: 1024px) {
  body {
    font-size: 17px;
  }
}

/* HEADER */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px 5px 20px;
  background-color: #fff;
  color: #222;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 32px;
  font-weight: bold;
  flex: 1;             
  text-align: left;
  padding: 0 0 0 10px;
}
.burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 20px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #222;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.burger.active .burger-line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.burger.active .burger-line:nth-child(2) {
  opacity: 0;
}
.burger.active .burger-line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
#site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#site-nav {
  display: none;              
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fffcfc;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 50;
  transition: opacity 0.2s ease;
  opacity: 0;
  pointer-events: none;
}
#site-nav.open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}
#site-nav ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 5px 5px;
}
#site-nav a {
  display: block;
  padding: 2px 0px;
  font-size: 18px;
  color: #222;
  text-decoration: none;
  text-align: center;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.2s;
  width: 100px;
}
#site-nav li + li a {
  border-top: 1px solid #eee;
}
#site-nav a:hover {
  background-color: #f0f0f0;
}
/* Responsive */
@media (max-width: 600px) {
  .site-header {
    padding: 10px 20px 10px;     
  }
  #mobile-menu-toggle {
    margin-right: 8px;
  }
  .logo {
    font-size: 24px;             
  }
  .language-selector {
    margin-left: 8px;
  }
  #site-nav ul {
    flex-direction: column;
  }
}
/* HEADER */

/* FOOTER */
.footer {
  background-color: #1a1a1a;
  color: #fff;
  text-align: center;
  padding: 40px 20px 50px;
  font-size: 14px;
  position: relative;
}

.footer-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* колонки по центру */
.footer-columns {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.footer-col {
  text-align: center;
}

/* заголовок с линией */
.footer-col h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
}
/* список контактов */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px 0;
}
.footer-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
}

/* ссылки */
.footer-col a {
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
}
.footer-col a:hover {
  color: #007bff;
}

/* нижняя строка */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  width: 100%;
  max-width: 400px;
  margin-top: 30px;
  padding-top: 20px;
  font-size: 13px;
  letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 600px) {
  .footer {
    padding: 10px 15px 30px;
  }
  .footer-columns {
    gap: 30px;
  }
  .footer-col h5 {
    font-size: 15px;
  }
  .footer-bottom {
    font-size: 12px;
    padding-top: 15px;
    margin-top: 25px;
  }
}

/* FOOTER */

/* LENGUAGE-SELECTOR */
.language-selector {
  position: relative;
  display: inline-block;
}
.language-button {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px 5px 5px;
  font-size: 16px;
  color: #222;
}

.language-icon {
  width: 15px;
  height: 20px;
  object-fit: contain;
}
.arrow {
  width: 0; 
  height: 0; 
  margin-left: 5px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #000000;
}
.language-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 5px;
  overflow: hidden;
  z-index: 1000;
  min-width: 120px;
}

.language-dropdown a {
  display: block;
  padding: 10px 15px;
  color: #222;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
.language-dropdown a:hover {
  background-color: #f0f0f0;
}
/* LENGUAGE-SELECTOR */

/* Секции */
section {
  margin: 15px 0 20px 0;
}
section h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 10px;
}
section p,
section ul {
  color: #444;
}
/* wide-section — только для полноэкранных секций */
.wide-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    margin-bottom: 0;
    padding-top: 65px;
}
.wide-section img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 0;
}
@media (max-width: 600px) {
  .wide-section {
    padding-top: 59px;
  }
}
@media (max-width: 396px) {
  .wide-section {
    padding-top: 90px;
  }
}


/* BIO-CUTTICA */
.bio-block {
  margin-bottom: 60px;
}
.bio-block .row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 40px;
}
.bio-block .row-img {
  flex: 0 0 40%;
  padding: 20px;
  box-sizing: border-box;
}
.bio-block .row-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
.bio-block .row-text {
  flex: 1 1 60%;
  padding: 2px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bio-block .row-text h2 {
  font-size: 32px;
  margin-bottom: 5px;
}
.bio-block .row-text p {
  color: #444;
  margin-bottom: 1px;
}
/* Responsive */
@media (max-width: 768px) {
  .bio-block .row {
    flex-direction: column;
    gap: 3px;
    margin-bottom: 30px;
  }
  .bio-block .row-img, 
  .bio-block .row-text {
    width: 100%;
    padding: 5px;
  }
  .bio-block .row-text h2 {
    margin-bottom: 5px;
    text-align: left;
  }
  .bio-block .row-text p {
    margin-bottom: 1px;
    text-align: left; 
    line-height: 1.4;
  }
}
/* BIO-CUTTICA */

/* CAREER TIMELINE */
.career-timeline {
  max-width: 900px;
  margin: 0 auto;
}
.career-timeline h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 30px;
}
.timeline {
  position: relative;
  margin-left: 10px;
  border-left: 2px solid #e0e0e0;
}
.timeline-item {
  position: relative;
  margin-bottom: 30px;
  padding-left: 20px;
}
.timeline-marker {
  width: 12px;
  height: 12px;
  background-color: #444;
  border: 2px solid white;
  border-radius: 50%;
  position: absolute;
  left: -8.5px;
  top: 50%;
  transform: translateY(-50%);
}
.timeline-content {
  display: flex;
  align-items: center;
  gap: 10px;
}
.timeline-content p {
  margin: 0;
  color: #333;
  max-width: 540px;
  width: 70%;
}
.timeline-year {
  font-weight: bold;
  font-size: 24px;
  color: #555;
  min-width: 50px;
}
/* Responsive */
@media (max-width: 768px) {
  .timeline-marker {
    width: 10px;
    height: 10px;
    left: -8.3px;
  }
}
/* CAREER TIMELINE */

/* GALLERY */
.gallery {
  max-width: 1200px;
  margin: 0 auto 10px auto;
  padding: 5px 20px;
}
.gallery h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  gap: 2px 20px;
}
.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.gallery-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.gallery_img_part1_high {
  max-height: 95%;
}
.gallery_img_part2_high {
  max-height: 94%;
}
.gallery_img_part3_high {
  max-height: 88%;
}
.gallery_img_part4_high {
  max-height: 95%;
}
/* Responsive */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
/* GALLERY */

/* LIGHTBOX */
.lightbox {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 100;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: hidden;
}
.lightbox-wrapper {
  position: relative;
  max-width: 1000px;
  max-height: 1000px;
  width: 80%;
  height: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}
.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 101;
}
.lightbox-close-icon {
  width: 30px;
  height: 30px;
  display: block;
}
/* LIGHTBOX */

/* PHILOSOPHY */
.philosophy-section {
  padding: 5px 20px;
}
.philosophy-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.philosophy-text {
  flex: 1;
}
.philosophy-text h2 {
  font-size: 32px;
  margin-bottom: 10px;
}
.philosophy-text p {
  margin-bottom: 10px;
  color: #444;
}
.philosophy-image {
  flex: 1;
}
.philosophy-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}
/* Responsive */
@media (max-width: 768px) {
  .philosophy-wrapper {
    flex-direction: column;
    text-align: center;
  }
}
/* PHILOSOPHY */

/* FOUNDATION BLOCK */
.foundation-block {
  margin-bottom: 60px;
}
.foundation-block .row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 40px;
}
.foundation-block .row-img {
  flex: 0 0 50%; 
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.foundation-block .row-img img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  max-width: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.foundation-block .row-text {
  flex: 0 0 50%;
  box-sizing: border-box;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.foundation-block .row-text h2 {
  font-size: 32px;
  margin-bottom: 15px;
}
.foundation-block .row-text p {
  color: #444;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .foundation-block .row {
    flex-direction: column;
  }
  .foundation-block .row-img,
  .foundation-block .row-text {
    flex: none;
    width: 100%;
  }
  .foundation-block .row-img img {
    position: relative;
    height: auto;
  }
}
/* FOUNDATION BLOCK */

/* Mission Vision Legacy */
.foundation-vision {
  padding: 15px 20px;
}
.vision-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}
.vision-text {
  flex: 1 1 60%;
}
.vision-text h2 {
  font-size: 32px;
  margin-bottom: -10px;
}
.vision-text p {
  color: #444;
  line-height: 1.6;
}
.vision-image {
  flex: 0 0 40%;
  padding: 10px;
}
.vision-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}
/* Responsive */
@media (max-width: 768px) {
  .vision-wrapper {
    flex-direction: column;
  }
  .vision-image, .vision-text {
    width: 100%;
    padding: 0;
  }
}
/* Mission Vision Legacy */

/* GOALS */
.foundation-goals {
  padding: 0px 20px;
}
.foundation-goals .container {
  max-width: 1200px;
  margin: 0 auto;
}
.foundation-goals h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #222;
}
.foundation-goals ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
}
.foundation-goals li {
  line-height: 1.6;
  color: #444;
  margin-bottom: 10px;
  padding-left: 5px;
}
/* Responsive */
@media (max-width: 768px) {
  .foundation-goals h2 {
    text-align: left;
  }
  .foundation-goals li {
    line-height: 1.5;
  }
}
/* GOALS */

