/* =========================================
   GLOBAL RESET 
   ========================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
    font-family: "Montserrat", sans-serif;
}

/*  HTML features */ 
html {
  scroll-behavior: smooth;
}


/* =========================================
   CLEAN HEADER
   ========================================= */

.site-header {
    width: 100%;
    position: relative;
    z-index: 50;
    background: #ffffff;
}

/* =========================================
   UPPER HEADER
   ========================================= */

.upper-header {
    background: #EEEEEE;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
    z-index: 20;
}

.upper-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 16px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

/* ===== UPPER ITEMS (TYPOGRAPHY FIX) ===== */

.upper-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    text-align: left;
    word-break: break-word;

    color: rgb(77, 77, 77);
    white-space: nowrap;
}

.upper-item span,
.upper-item a {
    padding-inline-start: 5px;
}

.upper-item a {
    color: inherit;
    text-decoration: none;
}

.upper-item a:hover {
    color: #c62828;
}

/* ===== ICONS (shared with footer) ===== */

.upper-item .contact-icon {
    width: 16px;
    height: 16px;
    color: #c62828;
    flex-shrink: 0;
}

.upper-item .contact-icon svg {
    width: 100%;
    height: 100%;
    display: block;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ===== MOBILE ===== */

@media (max-width: 768px) {
    .upper-header-inner {
        gap: 16px;
    }

    .upper-item {
        font-size: 13px;
    }
}

/* =========================================
   CLEAN HTML FOOTER (NO ELEMENTOR)
   ========================================= */

.site-footer {
    width: 100%;
    position: relative;
    overflow: hidden;

    background-image: url("../img/footer-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    color: #e5e7eb;
    font-size: 14px;
}

/* Shadow for background image */
.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 0;
}

.site-footer a {
    color: #ffffff;
    text-decoration: none;
}

.site-footer a:hover {
    color: #e53935;
}

/* ===== INNER CONTAINER ===== */

.footer-main,
.footer-copyright {
    position: relative;
    z-index: 1;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 40px 20px;

    display: flex;
    gap: 40px;
    align-items: stretch;
}

/* ===== CONTACTS COLUMN ===== */

.footer-contacts {
    flex: 0 0 30%;
}

.footer-contacts h6 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-transform: none;
    margin-bottom: 16px;
}

.footer-contacts ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contacts li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    line-height: 1.4;
}

/* ===== MAP COLUMN ===== */

.footer-map {
    flex: 1 1 auto;
    min-width: 0;
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    min-height: 260px;
    border: 0;
    border-radius: 8px;
}

/* ===== COPYRIGHT ===== */

.footer-copyright {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    text-align: center;

    font-size: 13px;
    color: #cbd5f5;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* ===== MOBILE ===== */

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        gap: 25px;
    }

    .footer-map iframe {
        height: 220px;
        min-height: 220px;
    }
}

/* =========================================
   CONTACT ICONS — FEATHER SVG (GLOBAL)
   ========================================= */

.site-footer .contact-icon,
.site-header .contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 18px;
    height: 18px;
    margin-right: 10px;

    color: #e53935;
    flex-shrink: 0;
}

.site-footer .contact-icon svg,
.site-header .contact-icon svg {
    width: 100%;
    height: 100%;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;

    display: block;
}




/* =========================================
   HERO / MAIN BANNER
   ========================================= */

.hero {
    position: relative;
    width: 100%;
    height: 755px;

    background-image: url("../img/main_banner.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: #ffffff;
    overflow: hidden;
}

/* shadow over image */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35); /* usability */
    z-index: 1;
}

/* контент */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

/* Title */
.hero-title {
    font-family: "Montserrat", sans-serif;
    font-size: 64px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 0 20px;
	color: #E53935 !important; /* TEMPORARY */

}

/* Subtitle / Moto */
.hero-subtitle {
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;

    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6); /* Important */
    margin: 0;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1024px) {
    .hero {
        height: 600px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .hero {
        height: 480px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }
}


/* =========================================
   ABOUT / WHO WE ARE
   ========================================= */

.about {
    background-color: #ffffff;
    padding: 100px 0;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;

    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

/* ---------- TEXT COLUMN ---------- */

.about-text {
    display: flex;
    flex-direction: column;
}

/* title with decorative line */
.about-title {
    display: flex;
    align-items: center;
    gap: 15px;

    font-family: "Montserrat", sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 20px;
}

/* decorative line */
.about-title .title-line {
    width: 40px;
    height: 2px;
    background-color: #e53935;
    flex-shrink: 0;
}

/* subtitle */
.about-subtitle {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;

    color: #e53935;
    margin: 0 0 25px;
}

/* main text */
.about-description p {
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #4d4d4d;

    margin: 0 0 15px;
}

.about-description p:last-child {
    margin-bottom: 0;
}

/* ---------- IMAGE COLUMNS ---------- */

.about-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr 1fr;
    }

    .about-text {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .about {
        padding: 60px 0;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-title {
        font-size: 28px;
    }
}

/* =========================================
   WHY WE
   ========================================= */

.why-we {
    background-color: #f7f8ff;
    padding: 100px 0;
}

.why-we-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;

    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr;
    gap: 40px;
    align-items: stretch;
}

/* ---------- IMAGES ---------- */

.why-we-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.why-we-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---------- TEXT COLUMN ---------- */

.why-we-content {
    display: flex;
    flex-direction: column;
}

/* title */
.why-we-title {
    display: flex;
    align-items: center;
    gap: 15px;

    font-family: "Montserrat", sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 20px;
}

.why-we-title .title-line {
    width: 40px;
    height: 2px;
    background-color: #e53935;
    flex-shrink: 0;
}

/* lead text */
.why-we-lead {
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #4d4d4d;
    margin-bottom: 30px;
}

/* ---------- LIST ---------- */

.why-we-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.why-we-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.why-we-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.why-we-item h4 {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px;
    color: #000000;
}

.why-we-item p {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    color: #4d4d4d;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1024px) {
    .why-we-container {
        grid-template-columns: 1fr 1fr;
    }

    .why-we-content {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .why-we {
        padding: 60px 0;
    }

    .why-we-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .why-we-title {
        font-size: 28px;
    }
}


/* =========================================
   VALUES
   ========================================= */

.values {
    background-color: #ffffff;
    padding: 100px 0;
}

.values-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* ---------- LEFT COLUMN ---------- */

.values-title {
    display: flex;
    align-items: center;
    gap: 15px;

    font-family: "Montserrat", sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 30px;
    color: #000000;
}

.values-title .title-line {
    width: 40px;
    height: 2px;
    background-color: #e53935;
    flex-shrink: 0;
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0;

    display: flex;
    flex-direction: column;
    gap: 18px;
}

.values-list li {
    position: relative;
    padding-left: 28px;

    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #4d4d4d;
}

.values-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;

    color: #e53935;
    font-weight: 700;
}

/* ---------- RIGHT COLUMN ---------- */

.values-visual {
    position: relative;
}

.values-image {
    width: 100%;
    height: 66%;
    overflow: hidden;
}

.values-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* overlay block */

.values-overlay {
    position: absolute;
    left: -40px;
    bottom: -40px;

    width: 80%;
    background-color: #000000;
    padding: 30px;

    color: #ffffff;
}

.values-overlay h6 {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 10px;
    color: #e53935;
}

.values-overlay p {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1024px) {
    .values-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .values-overlay {
        position: relative;
        left: 0;
        bottom: 0;
        width: 100%;
        margin-top: -40px;
    }
}

@media (max-width: 767px) {
    .values {
        padding: 60px 0;
    }

    .values-title {
        font-size: 28px;
    }

    .values-overlay {
        padding: 20px;
    }
}


/* =========================================
   TEAM
   ========================================= */

.team {
    background-color: #f7f8ff;
    padding: 100px 0;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- HEADER ---------- */

.team-header {
    display: grid;
    grid-template-columns: 30% 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.team-title {
    display: flex;
    align-items: center;
    gap: 15px;

    font-family: "Montserrat", sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    color: #000000;
}

.team-title .title-line {
    width: 40px;
    height: 2px;
    background-color: #e53935;
    flex-shrink: 0;
}

.team-description p {
    margin: 0;

    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #4d4d4d;
}

/* ---------- GALLERY ---------- */

.team-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.team-gallery picture,
.team-gallery img {
    width: 100%;
    height: 100%;
    display: block;
}

.team-gallery img {
    object-fit: cover;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1024px) {
    .team-header {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .team-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .team {
        padding: 60px 0;
    }

    .team-title {
        font-size: 28px;
    }

    .team-gallery {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   MAIN NAVIGATION (DESKTOP)
   ========================================= */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 72px;
  background: #000;
}

.site-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  position: relative;
}

/* Centralised menu */
.site-nav__list {
  display: flex;
  gap: 28px;

  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__item a {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  position: relative;
}

/* Hover + active underline */
.site-nav__item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.site-nav__item a:hover::after,
.site-nav__item.is-active a::after {
  transform: scaleX(1);
}

.site-nav__item a:hover,
.site-nav__item.is-active a {
  color: #E53935;
}

/* Right zone (lang flags) */
.site-nav__right {
  position: absolute;
  right: 20px;
  top: 0;
  height: 100%;

  display: flex;
  align-items: center;
  gap: 16px;
}

/* Vertical separator */
.site-nav__separator {
  width: 2px;
  height: 40%;
  background-color: #E53935;
}

/* Flags */
.lang-switch {
  display: flex;
  gap: 12px;
}

.lang-switch__item img {
  height: 22px;
  display: block;
  transition: transform 0.2s ease;
}

.lang-switch__item:hover img {
  transform: scale(1.1);
}

/* =========================================
   BURGER (HIDDEN ON DESKTOP)
   ========================================= */

.burger {
  position: fixed;
  top: 16px;
  left: 16px;

  display: none;
  flex-direction: column;
  justify-content: space-between;

  width: 28px;
  height: 20px;

  background: transparent;
  border: none;
  padding: 0;

  cursor: pointer;
  z-index: 1200; /* Important! */
  
}



.burger span {
  display: block;
  width: 100%;
  height: 2px;

  background-color: #E53935; /* явно */
  border-radius: 2px;

  box-shadow: 0 0 1px rgba(0,0,0,0.4); /* bright background protection */
}

.burger.is-active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.burger.is-active span:nth-child(2) {
  opacity: 0;
}

.burger.is-active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}



/* =========================================
   MOBILE MENU
   ========================================= */

.mobile-menu {
  position: fixed;
  inset: 0;
  background: #000;
  color: #fff;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1000;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-nav__list li {
  margin: 16px 0;
}

.mobile-nav__list a {
  font-size: 20px;
  color: #fff;
  text-decoration: none;
}

.mobile-nav__list a:hover {
  color: #E53935;
}

/* Языки в мобильном меню */
.mobile-lang {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.mobile-lang img {
  width: 32px;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 992px) {
  .site-nav {
    display: none;
  }

  .burger {
    display: flex;
  }
}