/**
 *  Definitions
 *  Breakpoints: 1440, 1280, 1066, 768, 450, 360
 */

:root {
   --Black: #282819;
   --Dark-Grey: #4E4E3E;
   --Grey: #70705F;
   --Light-Grey: #929283;
   --Neutral-Grey: #b0b0aa;
   --Neutral-Light: #f2f2f0;
   --White: #FFFFFF;
   --AG-Blue: #0B0E50;
   --AG-Orange: #FF8D28;
   --AG-Light-Blue: #3C3E73;
   --AG-Violet: #503080;
   --AG-Soft-Violet: #C0A9E9;

   --AG-Hero-Mobile-Gradient: linear-gradient(90deg, #0B0E50 0%, #093993 100%);
   --AG-Hero-Gradient: linear-gradient(90deg, #0B0E50 0%, #093993 50%);

   --Header-Height: 64px;
   --Section-Margin: max(64px, (100vw - 1320px) / 2);
}


/** 
 *   Fonts 
 */
.fira-sans-extralight {
  font-family: "Fira Sans", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.fira-sans-light {
  font-family: "Fira Sans", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.fira-sans-regular {
  font-family: "Fira Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.fira-sans-semibold {
  font-family: "Fira Sans", sans-serif;
  font-weight: 600;
  font-style: normal;
}


/** 
 *   Body styles 
 */
* {
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
   box-sizing: border-box;
   margin: 0;
}
html {
   min-height: 100%;
   height: 100%;
   overflow-y: scroll;
   overflow-x: clip;
}
body {
   position: relative;
   min-width: 360px;
   min-height: 100vh;
   padding: 0;
   margin: 0;
   font-family: "Fira Sans", sans-serif;
   font-weight: 400;
   font-style: normal;
   font-size: 16px;
   line-height: 1.5;
   letter-spacing: normal;
   color: var(--Dark-Grey);
   background-color: var(--White);
   overflow-anchor: none;
   overflow-x: clip;
}

/* Link/Regular */
a {
   outline: none;
   text-decoration: none;
   font-weight: 600;
   color: inherit;
   transition: color 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
   a:hover {
      text-decoration: none;
      color: var(--AG-Orange);
   }
}
a:focus {
   outline: none !important;
   box-shadow: none !important;
}
/* body.touch_device {
   -webkit-tap-highlight-color: rgba(25, 175, 35, 0.4);
} */

.sr-only-title {
   position: absolute;
   width: 1px;
   height: 1px;
   padding: 0;
   margin: -1px;
   overflow: hidden;
   clip: rect(0, 0, 0, 0);
   white-space: nowrap;
   border: 0;
}



.section--viewport {
   display: grid;
   grid-template-columns:
      [full-start] var(--Section-Margin)
      [content-start] 1fr
      [content-end] var(--Section-Margin)
      [full-end];
}
.section--viewport > * {
   grid-column: content;
}
.section--viewport > .section--screen {
   grid-column: full;
}
.section--small {
   max-width: 850px;
   margin-left: auto;
   margin-right: auto;
}
.section--window_height {
   min-height: 100vh;
}

@media (max-width: 1066px) {
   :root { --Section-Margin: 48px; }
}
@media (max-width: 768px) {
   :root { --Section-Margin: 32px; }
}
@media (max-width: 450px) {
   :root { --Section-Margin: 24px; }
}


/** Header block */
body {
   padding-top: var(--Header-Height);
}
.section--header {
   position: fixed;
   z-index: 1000;
   top: 0;
   width: 100%;
   background-color: var(--White);
   box-shadow: 0px 0px 32px 0px rgba(0, 0, 0, 0.25);
}
.header--container {
   display: flex;
   flex-wrap: nowrap;
   justify-content: space-between;
   align-items: center;
   height: 64px;
}

.header--logo {
   display: block;
   flex: 0 0 auto;
   margin-right: 100px;
   padding: 11px 0;
}
.header--logo img {
   display: block;
   height: 42px; 
   width: auto;
}

.header--menu {
   display: flex;
   list-style: none;
   padding: 0;
}
.header--menu_item {
   display: block;
}
.header--menu_item a {
   display: inline-block;
   padding: 23px 16px;
   font-size: 18px;
   font-style: normal;
   font-weight: 400;
   line-height: 1;
   text-decoration: none;
   color: var(--AG-Blue);
}
.header--menu_item:first-child a {
   padding-left: 0;
}
.header--menu_item:last-child a {
   padding-right: 0;
}
@media (hover: hover) and (pointer: fine) {
   .header--menu_item a:hover {
      color: var(--AG-Orange);
   }
}

.header--burger {
   display: none;
}

@media (max-width: 1066px) {
   .header--menu_item a {
      padding: 24px 16px;
      font-size: 16px;
   }
}



.poster--container {
   background: var(--AG-Hero-Gradient);
   display: grid;
   grid-template-columns: 1fr 1fr;
   grid-template-rows: 1fr auto;
   grid-template-areas:
      "top   image"
      "body  image";
   column-gap: 48px;
   row-gap: 160px;
}

/* Left column — align with section--viewport */
.poster--top,
.poster--body {
   padding-left: var(--Section-Margin);
}
.poster--top {
   container-type: inline-size;
   grid-area: top;
   padding-top: 64px;
}
.poster--body {
   grid-area: body;
   padding-bottom: 64px;
}

.poster--title {
   font-size: clamp(88px, calc(21.36cqw + 21.13px), 160px);
   font-weight: 200;
   line-height: 1;
   color: var(--White);
   letter-spacing: -0.08em;
   margin-left: -0.09em;
}
.poster--subtitle {
   font-size: clamp(28px, calc(6.25cqw + 8.63px), 48px);
   font-weight: 300;
   line-height: 1.1;
   letter-spacing: -0.02em;
   color: var(--AG-Orange);
}
.poster--slogan {
   font-size: 20px;
   font-weight: 300;
   line-height: 1.6;
   letter-spacing: 0.01em;
   color: var(--White);
   opacity: 0.8;
}

/* Right column — image flush to screen edge */
.poster--image {
   grid-area: image;
   position: relative;
   overflow: hidden;
}
.poster--image img {
   position: absolute;
   inset: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
   object-position: center;
}

@media (max-width: 1066px) {
   .poster--container {
      row-gap: 110px;
   }
   .poster--top {
      padding-top: 52px;
   }
   .poster--body {
      padding-bottom: 48px;
   }
   .poster--slogan {
      font-size: 16px;
      line-height: 1.8;
   }
}

/* Mobile: stack top / image / body */
@media (max-width: 768px) {
   .poster--container {
      background: var(--AG-Hero-Mobile-Gradient);
      grid-template-columns: 1fr;
      grid-template-rows: auto auto auto;
      grid-template-areas:
         "top"
         "image"
         "body";
      row-gap: 36px;
   }
   .poster--title {
      font-size: 100px;
   }
   .poster--subtitle {
      font-size: 32px;
   }
   .poster--top,
   .poster--body { 
      padding-right: var(--Section-Margin); 
   }
   .poster--top { 
      padding-top: 36px; 
      padding-bottom: 0; 
   }
   .poster--body { 
      padding-bottom: 36px; 
   }
   .poster--body br { 
      display: none;
   }
   .poster--image { 
      height: 340px; 
   }
}
@media (max-width: 450px) {
   .poster--container {
      grid-template-rows: auto 1fr auto;
      min-height: calc(100svh - var(--Header-Height));
   }
   .poster--title {
      font-size: 90px;
   }
   .poster--subtitle {
      font-size: 28px;
   }
   .poster--slogan {
      font-size: 18px;
      opacity: 1;
   }
   .poster--image { 
      height: auto; 
   }
}


/* Sections — base */
.section--container {
   padding: 52px 0;
}
.section--heading {
   font-size: 48px;
   font-weight: 300;
   line-height: 1.1;
   letter-spacing: -0.02em;
   color: var(--AG-Orange);
   margin-bottom: 26px;
}
@media (max-width: 450px) {
   .section--heading {
      font-size: 42px;
   }
}


/* Sections — Services */
.services--content {
   display: grid;
   grid-template-columns: 1fr 1fr;
   column-gap: 48px;
   margin-top: 32px;
}
.services--bullet_points {
   list-style: none;
   padding: 0;  
}
.services--bullet_points li {
   padding: 6px 0;
   font-size: 24px;
   font-weight: 300;
   line-height: 1.4;
   padding-left: 34px;
   position: relative;
}
.services--content li::before {
   content: '';
   display: block;
   width: 14px;
   height: 14px;
   background: url('/images/bullet-feature.svg') center / contain no-repeat;
   position: absolute;
   left: 4px;
   top: 15px;
}
.services--graph {
   overflow: hidden;
   padding: 6px 0;
}
.services--graph img {
   display: block;
   width: 100%;
   height: auto;
   max-height: 400px;
   object-fit: contain;
   object-position: top center;
}
@media (max-width: 768px) {
   .services--content {
      grid-template-columns: 1fr;
      row-gap: 42px;
   }
}
@media (max-width: 450px) {
   .services--bullet_points li {
      font-size: 22px;
   }
   .services--content li::before {
      top: 14px;
   }
}

/* Sections — Projects */
.section--projects {
   background: var(--Neutral-Light);
   padding-bottom: 64px;
}
.project--container {
   display: grid;
   grid-template-columns: 1fr 1fr;
   column-gap: 48px;
   row-gap: 48px;
   margin-top: 6px;
}
.project--item {
   overflow: hidden;
}
.project--item img {
   display: block;
   width: 100%;
   height: auto;
   object-fit: contain;
   object-position: top center;
   border: 1px solid var(--Neutral-Grey);
}
.project--description {
   margin-top: 12px;
   font-size: 14px;
   font-weight: 300;
}
.project--description b {
   font-weight: 400;
}
@media (max-width: 1066px) {
   .project--container {
      column-gap: 36px;
   }
}
@media (max-width: 768px) {
   .project--container {
      grid-template-columns: 1fr;
      row-gap: 36px;
   }
}



/* Sections — Contacts */
.contacts--container {
   display: grid;
   grid-template-columns: 1fr 1fr;
   column-gap: 48px;
   margin-top: 36px;
}
.contacts--address p {
   line-height: 1.8;
}
.contacts--address strong {
   color: var(--AG-Blue);
}
.contacts--address a {
   font-weight: 400;
}
.contacts--image {
   overflow: hidden;
   padding-top: 6px;
}
.contacts--image img {
   display: block;
   width: 100%;
   height: auto;
   max-height: 400px;
   object-fit: contain;
   object-position: top center;
}
@media (max-width: 768px) {
   .contacts--container {
      grid-template-columns: 1fr;
      margin-top: 24px;
   }
   .contacts--image {
      display: none;
   }
}
@media (max-width: 450px) {
   .section--contacts {
      padding-top: 46px;
   }
   .contacts--container {
      margin-top: 0;
   }
   .contacts--address p {
      font-size: 18px;
   }
}


/* Sections — Footer */
.section--footer {
   padding: 6px 0;
   background: var(--AG-Blue);
}
.footer--container {
   display: flex;
   flex-wrap: nowrap;
   justify-content: space-between;
   align-items: center;
}

.footer--menu {
   display: flex;
   list-style: none;
   padding: 0;
}
.footer--menu_item {
   display: block;
   font-size: 16px;
   font-style: normal;
   font-weight: 300;
   line-height: 1;
   letter-spacing: 0.02em;
   color: var(--White);
}
.footer--menu_item a {
   display: inline-block;
   padding: 24px 16px;
   font-weight: 300;
   text-decoration: none;
}
.footer--menu_item:first-child a {
   padding-left: 0;
}
.footer--menu_item:last-child a {
   padding-right: 0;
}
@media (max-width: 768px) {
   .footer--menu_item span {
      display: none;
   }
}
@media (max-width: 450px) {
   .footer--menu_item a {
      padding-top: 20px;
      padding-bottom: 20px;
   }
}


.contacts--tmp {
   padding-top: 24px;
}
@media (max-width: 450px) {
   .contacts--tmp {
      padding-top: 46px;
   }
}