*{margin:0;padding:0;box-sizing:border-box}
body{
  font-family: Arial, sans-serif;
  background:#f5f5f5;
  color:#111;
}
a{text-decoration:none;color:inherit}

/* CONTAINER */
.container{
  width:1320px;
  margin:0 auto;
}

/* HEADER */
.header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:30px 0;
}
.logo{
  font-size:22px;
  font-weight:700;
}

.nav{
  display:flex;
  gap:40px;
}
.nav a{
  font-size:16px;
  opacity:.7;
  transition:.3s;
  border-bottom: 3px solid transparent;
}
.nav a:hover{opacity:1; border-bottom: 3px solid #F76F10;}


/* DROPDOWN */
.nav-dropdown{
  position:relative;
}

/* MENU */
.dropdown-menu{
  position:absolute;
  top:100%;
  left:0;
  min-width:220px;
  background:#fff;
  border-radius:10px;
  padding:10px 0;
  margin-top:8px;
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
  transition:.25s;
  z-index:100;
}

/* LINKS */
.dropdown-menu a{
  display:block;
  padding:12px 18px;
  border:none !important;
  font-size:14px;
  opacity:.8; 
}

.dropdown-menu a:hover{
  opacity:1;
  color:#fff;
  background: #027AD4;
}

/* SHOW */
.nav-dropdown:hover .dropdown-menu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

/* DARK */
body.dark .dropdown-menu{
  background:#1a1a1a;
}

body.dark .dropdown-menu a:hover{
  background:#2a2a2a;
}
/* ICONS */
.icons{
  display:flex;
  gap:12px;
}
.icon{
  width:36px;
  height:36px;
  border-radius:50%;
  background:#eaeaea;
  cursor:pointer;
}

/* BURGER */
.burger{
  width:36px;height:36px;
  border-radius:50%;
  background:#eaeaea;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:4px;
  cursor:pointer;
}
.burger span{
  width:16px;height:2px;background:#111;
  display:block;
  transition:.3s;
}
.burger.active span:nth-child(1){
  transform:translateY(6px) rotate(45deg);
}
.burger.active span:nth-child(2){
  opacity:0;
}
.burger.active span:nth-child(3){
  transform:translateY(-6px) rotate(-45deg);
}

/* MENU */
.menu{
  position:fixed;
  top:0;left:0;
  width:100vw;height:100vh;
  background:#fff;

  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;

  transform:translateY(-100%);
  transition:.4s;
  z-index:999;
}
.menu.active{transform:translateY(0)}

.menu a{
  font-size:36px;
  margin:18px 0;
  font-weight:600;
  border-bottom: 3px solid transparent;
}
.menu a:hover {border-bottom: 3px solid #027AD4; 
}

.menu-close{
  position:absolute;
  top:40px;
  right:60px;
  font-size:30px;
  cursor:pointer;
}

/* HERO */
.hero{
  position:relative;
  height:700px;
  overflow:hidden;
}

.hero-bg{
  position:absolute;
  inset:0;
  background-image:url('../images/bg.png');
  background-size:cover;
  background-position:center;
  opacity:.55;
  z-index:0;
}
.hero-left,
.hero-right,
.hero-image,
.dot,
.count{
  position:relative;
  z-index:2;
}
/* LEFT */
.hero-left{
  position:absolute;
  left:0;
  top:100px;
}
.hero-left h1{
  font-size:110px;
  line-height:.85;
  letter-spacing:-3px;
  font-weight:700;
}
.hero-left p{
  margin-top:25px;
  width:350px;
  font-size:14px;
  color:#555;
}

/* CENTER IMAGE */
.hero-image{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  width:440px;
  height:700px;
  border-radius:2px;
}
.hero-image img{
  height:700px;
}
/* RIGHT */
.hero-right{
  position:absolute;
  right:0;
  top:100px;
  text-align:right;
}
.hero-right h1{
  font-size:110px;
  line-height:.85;
  letter-spacing:-3px;
}

/* MEDALS */
.medals{
  margin-top:20px;
  display:flex;
  justify-content:flex-end;
}
.medal{
  width:65px;
  height:65px;
  background:#fff;
  border-radius:50%;
  margin-left:-8px;
  border:2px solid #bbb;
   display:flex;
  justify-content:center;
  align-items:center;
}
.medal.plus{
  background:#fff;
  border:2px solid #205F8B;
}

/* DOT */
.dot{
  width:15px;
  height:15px;
  background:#ff6a00;
  border-radius:50%;
  position:absolute;
  right:0px;
  top:170px;
}

/* COUNT */
.count{
  position:absolute;
  right:0;
  bottom:80px;
  text-align:right;
}
.count h3{
  font-size:27px;
}
.count span{
  font-size:12px;
  color:#777;
}

/* SECTION */
.news{
  margin-top:80px;
}

/* TITLE */
.news-head h2{
  font-size:14px;
  letter-spacing:2px;
  margin-bottom:30px;
}
/* LINK */
.news-title-link{
  color:#111;
  text-decoration:none;
  transition:.2s;
}

/* HOVER */
.news-title-link:hover{
  opacity:.7;
}
/* ROW */
.news-row{
  display:flex;
  gap:35px;
}

/* ITEM */
.news-item{
  display:flex;
  gap:15px;
  width:420px;
}

/* IMAGE */
.news-image{
  width:140px;
  height:140px;
  background:#ccc;
  border-radius:5px;

  flex-shrink:0;

  transition:.25s;
}

/* IMAGE HOVER */
.news-image:hover{
  transform:scale(1.04);
}

/* CONTENT */
.news-content h3{
  font-size:16px;
  margin-bottom:8px;
}

.news-content p{
  font-size:13px;
  color:#666;
  margin-bottom:14px;
  line-height:1.5;
}

/* BOTTOM */
.news-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* DATE */
.news-bottom span{
  font-size:12px;
  color:#777;
}

/* ARROW */
.news-arrow{
  width:26px;
  height:26px;

  display:flex;
  align-items:center;
  justify-content:center;

  position:relative;
}

/* ARROW ICON */
.news-arrow::before{
  content:'';
  width:6px;
  height:6px;

  border-top:2px solid #111;
  border-right:2px solid #111;

  transform:rotate(45deg);
  transition:.2s;
}

/* HOVER */
.news-arrow:hover::before{
  transform:translateX(3px) rotate(45deg);
}

/* GALLERY */
.gallery{
  margin-top:100px;
}

/* TITLE */
.gallery-head h2{
  font-size:14px;
  letter-spacing:2px;
  margin-bottom:24px;
}

/* ROW */
.gallery-row{
  display:flex;
  align-items:center;
  gap:30px;
}

/* IMAGES */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:20px;
  flex:1;
}

/* CARD */
.g{
  position:relative;
}
.g{
  height:220px;
  background:#ccc;
  border-radius:5px;
  display:block;
  transition:.25s ease;
  box-shadow:0 2px 6px rgba(0,0,0,0.04);
  cursor:pointer;
}

/* HOVER */
.g:hover{
  transform:translateY(-6px);
  box-shadow:0 12px 25px rgba(0,0,0,0.08); 
}
.g::after{
  content:'';
  position:absolute;
  inset:0;

  background:rgba(0,0,0,0);
  border-radius:5px;

  transition:.25s;
}

.g:hover::after{
  background:rgba(0,0,0,0.05);
}
/* RIGHT ACTION */
.gallery-action{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:#111;
  font-size:13px;
}
.gallery-action span{
  text-align:center;
}
/* BUTTON */
.gallery-btn{
  width:44px;
  height:44px;
  background:#ff6a00;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.25s;
}

/* ARROW */
.gallery-btn::before{
  content:'';
  width:7px;
  height:7px;
  border-top:2px solid #fff;
  border-right:2px solid #fff;
  transform:rotate(45deg);
  transition:.25s;
}

/* HOVER */
.gallery-action:hover .gallery-btn{
  transform:scale(1.1);
}

.gallery-action:hover .gallery-btn::before{
  transform:translateX(3px) rotate(45deg);
}


 /* SECTION */
 /* КАК В GALLERY */
.jobs-head h2{
  font-size:14px;
  letter-spacing:2px;
  margin-bottom:24px;
  font-weight:400;
}

/* СЧЁТЧИК */
.jobs-head span{
  color:#ff6a00;
  margin-left:6px;
}

/* ГЛАВНЫЙ ЗАГОЛОВОК */
.jobs-title{
  font-size:33px;
  line-height:1.15;
  margin-bottom:14px;
}
 
 
.jobs{
  display:grid;
  grid-template-columns:350px 1fr;
  gap:60px;
  margin-top:110px;
  align-items:start;
}
.section-head h2{
  font-size:14px;
  letter-spacing:2px;
  margin-bottom:24px;
  font-weight:400;
}

.section-head span{
  color:#ff6a00;
  margin-left:6px;
}


/* SECTION LABEL */
.section-head{
  margin-bottom:24px;
}

.section-head span{
  font-size:14px;
  letter-spacing:2px;
  color:#111;
}

.section-head .count{
  color:#ff6a00;
  margin-left:6px;
}



/* LEFT */

.jobs-label span{
  color:#ff6a00;
  margin-left:6px;
}

.jobs-left p{
  font-size:14px;
  color:#666;
  max-width:260px;
  margin-bottom:28px;
  line-height:1.5;
}

/* ACTION = ССЫЛКА */
.jobs-action{
  display:flex;
  align-items:center;
  gap:14px;

  cursor:pointer;
  text-decoration:none;
}

/* КРУГ */
.jobs-cta{
  width:48px;
  height:48px;
  background:#ff6a00;
  border-radius:50%;

  display:flex;
  align-items:center;
  justify-content:center;

  transition:.25s;
}

/* СТРЕЛКА */
.jobs-cta::before{
  content:'';
  width:7px;
  height:7px;

  border-top:2px solid #fff;
  border-right:2px solid #fff;

  transform:rotate(45deg);
  transition:.25s;
}

/* ТЕКСТ */
.jobs-link{
  font-size:14px;
  color:#111;
  opacity:.8;
  transition:.25s;
   border-bottom:3px solid transparent;
}

/* HOVER */
.jobs-action:hover .jobs-cta{
  transform:scale(1.08);
}

.jobs-action:hover .jobs-cta::before{
  transform:translateX(3px) rotate(45deg);
}

.jobs-action:hover .jobs-link{
  opacity:1;
  text-decoration:none;
  border-bottom:3px solid #F76F10
}

/* GRID RIGHT */
.jobs-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
}

/* CARD */
.job-card{
  background:#fff;
  padding:28px;
  border-radius:12px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:280px;
  cursor:pointer;
  transition:.25s;
}

.job-card:hover{
  transform:translateY(-6px);
  box-shadow:0 12px 30px rgba(0,0,0,0.06);
}

/* ICON */
.job-icon{
  width:38px;
  height:38px;
  background:#eee;
  border-radius:50%;
  margin-bottom:18px;
}

/* TITLE */
.job-card h4{
  font-size:16px;
  font-weight:600;
  line-height:1.2;
  margin-bottom:6px;
}

/* META */
.job-meta{
  font-size:13px;
  color:#777;
  margin-bottom:20px;
}

/* FOOTER */
.job-footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:13px;
  color:#555;
}

/* ARROW */
.job-arrow{
  width:18px;
  height:18px;
  position:relative;
  transition:.2s;
}

.job-arrow::before{
  content:'';
  position:absolute;
  width:6px;
  height:6px;
  border-top:2px solid #111;
  border-right:2px solid #111;
  transform:rotate(45deg);
  top:5px;
  left:5px;
}

/* hover стрелка */
.job-card:hover .job-arrow{
  transform:translateX(4px);
}

/* MOBILE */
@media(max-width:900px){
  .jobs{
    grid-template-columns:1fr;
  }

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

/* FOOTER */
.footer{
/*  margin-top:120px;*/
/*  padding-top:60px;*/
  border-top:1px solid #e5e5e5;
}

/* TOP */
.footer-top{
  display:flex;
  justify-content:space-between;
  gap:80px;
}

/* BRAND */
.footer-brand{
  max-width:270px;
}

.footer-brand .logo{
  font-size:20px;
  font-weight:700;
  margin-bottom:14px;
}

.footer-brand p{
  font-size:13px;
  color:#666;
  line-height:1.6;
  margin-bottom:20px;
}

/* SOCIAL */
.socials{
  display:flex;
  gap:12px;
}

.soc{
  width:22px;
  height:22px;
  background:#ddd;
  border-radius:50%;
}

/* GRID */
.footer-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:50px;
  flex:1;
}

/* TITLES */
.footer-grid h4{
  font-size:12px;
  letter-spacing:1px;
  margin-bottom:14px;
}

/* LINKS */
.footer-grid p{
  font-size:13px;
  color:#666;
  margin-bottom:8px;
  cursor:pointer;
  transition:.2s;
}

.footer-grid p:hover{
  color:#111;
}

/* NEWSLETTER TEXT */
.newsletter{
  position:relative;
  width:100%;
}

/* INPUT */
.newsletter input{
  width:100%;
  height:48px;
  padding:0 60px 0 16px;
  border:none;
  border-radius:999px;
  background:#d8dadd;
  font-size:13px;
  outline:none;
}

/* BUTTON */
.newsletter button{
  position:absolute;
  right:6px;
  top:50%;
  transform:translateY(-50%);

  width:36px;
  height:36px;

  border-radius:50%;
  background:#ff6a00;
  border:none;
  cursor:pointer;

  display:flex;
  align-items:center;
  justify-content:center;

  transition:.2s;
}

/* СТРЕЛКА */
.newsletter button::before{
  content:'';
  width:7px;
  height:7px;
  border-top:2px solid #fff;
  border-right:2px solid #fff;

  transform:rotate(45deg);  /* → */
}

/* HOVER */
.newsletter button:hover{
  transform:translateY(-50%) scale(1.1);
}

/* HOVER */
.newsletter button:hover{
  transform:translateY(-50%) scale(1.08);
}

/* BOTTOM */
.footer-bottom{
 /* margin-top:50px; */
  padding-top:20px;
  border-top:1px solid #e5e5e5;

  display:flex;
  justify-content:space-between;
  align-items:center;
}

.copyright{
  font-size:12px;
  color:#777;
}

.footer-links{
  display:flex;
  gap:30px;
}

.footer-links a{
  font-size:12px;
  color:#777;
  transition:.2s;
}

.footer-links a:hover{
  color:#111;
}

/* MODAL */
.modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.8);
  display:flex;
  justify-content:center;
  align-items:center;
  opacity:0;
  pointer-events:none;
  transition:.3s;
  z-index: 9999;
}
.modal.active{
  opacity:1;
  pointer-events:auto;
}
.modal-box{
  background:#fff;
  padding:40px;
  width:360px;
  border-radius:6px;
  position:relative;
}
.close{
  position:absolute;
  top:15px;
  right:15px;
  cursor:pointer;
}
.modal input{
  width:100%;
  font-size:18px;
  padding:12px 15px 10px 15px;
  margin-top:10px;
  border:1px solid #ccc;
  border-radius: 8px;
  outline: none;
}
.modal button{
  width:100%;
  padding:12px;
  margin-top:10px;
  background: #2941A4;
  color:#fff;
  border:none;
  border-radius: 5px;
  outline: none;
}

.modal button:hover{
  background: #F76F10;
}
/* ===== TABLET ===== */
@media (max-width:1200px){
  .container{
    width:100%;
    padding:0 20px;
  }

  .nav{
    display:none;
  }
}

/* ===== MOBILE ===== */
@media (max-width:768px){

  /* HERO */
  .hero{
    height:auto;
    padding:60px 0;
  }

  .hero-left,
  .hero-right,
  .hero-image{
    position:static;
    transform:none;
    text-align:left;
    margin-bottom:30px;
  }

  .hero-left h1,
  .hero-right h1{
    font-size:48px;
    letter-spacing:-1px;
  }

  .hero-image{
    width:100%;
    height:300px;
  }

  .avatars{
    justify-content:flex-start;
  }

  .count{
    position:static;
    text-align:left;
  }

  /* NEWS */
  .news-row{
    flex-direction:column;
    gap:30px;
  }

  .news-item{
    width:100%;
  }

  /* GALLERY */
  .gallery-row{
    flex-direction:column;
    align-items:flex-start;
  }

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

  /* JOBS */
  .jobs{
    grid-template-columns:1fr;
    gap:40px;
  }

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

  /* FOOTER */
  .footer-top{
    flex-direction:column;
    gap:40px;
  }

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

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

/* DARK MODE */
body.dark{
  background:#111;
  color:#fff;
}

/* текст */
body.dark p,
body.dark span{
  color:#bbb;
}

/* карточки */
body.dark .job-card,
body.dark .job-row,
body.dark .g{
  background:#1a1a1a;
}

/* header / footer */
body.dark .footer{
  border-color:#222;
}

/* inputs */
body.dark input{
  background:#1a1a1a;
  color:#fff;
}

/* кнопки */
body.dark .icon,
body.dark .burger{
  background:#2a2a2a;
}

.theme-toggle{
  position:relative;
}

.theme-toggle::before{
  content:'';
  width:10px;
  height:10px;
  border-radius:50%;
  background:#111;
}

body.dark .theme-toggle::before{
  background:#fff;
}

.hide {
 display: none;
}

.cookies-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    z-index: 22;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    max-width: 75%;
    padding: 24px 40px;
    border-radius: 5px;
    font-family: 'Nunito', sans-serif;
    background: #FFF;
    color: #000;
    font-size: 16px;
    line-height: 1.5;
    box-shadow: 0px -5px 10px rgba(34, 60, 80, 0.2);
    box-sizing: border-box;
}

.cookies-text {
    flex: 1;
    min-width: 0;
}

.cookies-text a{
    text-decoration: none;
    transition: 0.2s;
    border-bottom: 1px solid #F76F10;
}

.cookies-text a:hover{
    text-decoration: none;
    border-bottom: 1px solid #114CA5;
}

.cookies-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* вторичная кнопка */
.cookies-decline {
    color: #555 !important;
    padding: 10px 18px;
    border-radius: 8px;
    transition: 0.2s;
    text-decoration: none;
    white-space: nowrap;
    background: #f2f2f2
}

.cookies-decline:hover {
    color: #fff!important;
    background: #FE6A00 ;
}

/* основная кнопка */
.cookies-allow {
    color: #fff !important;
    background: #114CA5;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 500;
    transition: 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.cookies-allow:hover {
    background: #7AB900;
}

.hidden {
    display: none !important;
}

/* планшеты */
@media (max-width: 900px) {
    .cookies-banner {
        gap: 20px;
        padding: 20px 24px;
        font-size: 15px;
    }
}

/* телефоны */
@media (max-width: 640px) {
    .cookies-banner {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
        font-size: 14px;
        max-height: 75vh;
        overflow-y: auto;
    }

    .cookies-actions {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .cookies-decline,
    .cookies-allow {
        width: 100%;
        text-align: center;
        padding: 14px 16px;
        box-sizing: border-box;
    }
}