/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700;800;900&display=swap');

html {
  font-family: 'Montserrat', sans-serif;
  color: #222;
  font-size: 14px;
  line-height: 1.6;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
:root {
  --white-text-color: #ffffff;
  --dark-blue-bg: #25074a;
  --light-blue-bg: #961bb2;
}

.d-flex {
  display: flex;
}
.ai-center {
  align-items: center;
}
.jc-center {
  justify-content: center;
}
.font-thin {
  font-weight: 300;
}
.font-bold {
  font-weight: 800;
}

.lacat-btn {
  background: linear-gradient(90deg, var(--dark-blue-bg), var(--light-blue-bg) 80%);
  border: none;
  border-radius: 20px;
  display: block;
  color: var(--white-text-color);
  text-align: center;

  outline: none;
  margin: 20px 0;
  padding: 8px 5px;
  height: 40px;
  width: 160px;
}
.lacat-btn:hover {
  background: linear-gradient(90deg, var(--light-blue-bg), var(--dark-blue-bg) 80%);
  color: var(--white-text-color);
}

.header {
  color: var(--white-text-color);

  padding: 20px 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}
.header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}
.header__logo img {
  max-width: 160px;
}
.header__menu ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
}
.header__menu ul a {
  color: var(--white-text-color);
  /*font-size: 1.2em;*/
  text-decoration: none;
}

.first-screen {
  background: 
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("../img/first-screen-bg.jpg") no-repeat center;
  background-size: cover;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  color: var(--white-text-color);
  text-align: center;

  min-height: 100vh;
}
.first-screen__title {
  font-size: 3.4em;
  line-height: 1;
  position: relative;
}
.first-screen__subtitle {
  font-size: 1.8em;
  position: relative;
  max-width: 1240px;
}
.about {
  margin: 80px auto;
}
.about__services {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.about__services .service {
  background: var(--dark-blue-bg);
  color: var(--white-text-color);
  text-align: center;
  margin-top: -50px;
  padding: 40px 40px 160px;
  /*width: 33%;*/
  width: 90%;
}
.about__services .service.service__general {
  /*background: linear-gradient(90deg, var(--dark-blue-bg), var(--light-blue-bg) 80%);*/
  margin-top: -60px;
  padding: 60px 20px 180px;
}
.about__services .service__icon img {
  margin: 10px 0 20px;
  max-width: 36px;
}
.about__services .service__title {
  font-size: 1.4em;
  font-weight: 800;
  margin: 0 0 20px;
}
.about__services .service:nth-of-type(1) {
  background: var(--dark-blue-bg) url("../img/about-bg-01.svg") no-repeat center bottom;
  background-size: 50%;
}
.about__services .service:nth-of-type(2) {
  background: var(--dark-blue-bg) url("../img/about-bg-02.svg") no-repeat center bottom;
  background-size: 50%;
}
.about__services .service:nth-of-type(3) {
  background: var(--dark-blue-bg) url("../img/about-bg-03.svg") no-repeat center bottom;
  background-size: 50%;
}

.about__description {
  background: url("../img/about-bg.svg") no-repeat bottom right;
  background-size: 40%;
  padding: 80px 0;
}
.about__description .description__title {
  font-size: 3.2em;
  line-height: 1;
  margin: 20px 0;
}
.about__description .description__title span {
  color: #4a3b3d;
}

.process {
  background: var(--dark-blue-bg);
  color: var(--white-text-color);
  text-align: center;

  padding: 80px 0;
}
.process__title {
  font-size: 3.6rem;
  font-weight: bold;
}
.process__subtitle {
  font-size: 2.6rem;
}
.process__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  margin: 30px 0;
}
.process__steps .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 0 14px;
  position: relative;
  width: calc(100% / 6);
}
.process__steps .step:before {
  content: '';
  display: block;
  background: #fff;
  position: absolute;
  left: 50%;
  top: 70px;
  height: 1px;
  width: 100%;
}
.process__steps .step__number {
  background: var(--dark-blue-bg);
  border: 1px solid #fff;
  border-radius: 50%;
  font-size: 1.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 30px 0;
  height: 80px;
  width: 80px;
}
.process__steps .step__title {
  font-size: 1.0em;
  font-weight: 800;
  margin: 0 0 30px;
}
.process__steps .step__six .step__number {
  background: linear-gradient(90deg, var(--dark-blue-bg), var(--light-blue-bg) 80%);
  border: none;
}
.process__steps .step__six:before {
  display: none;
}

.development {
  padding: 80px 0 40px;
}
.development__title {
  font-size: 3.2em;
}
.development__subtitle {
  font-size: 1.6em;
}
.development__grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  margin: 80px 0;
}
.development__grid .column__left {
  text-align: right;
  padding: 30px;
  flex: 1 1 auto;
}
.development__grid .column__center {
  background: url("../img/development-bg-3.png") no-repeat center;
  background-size: contain;
  padding: 0 20px;
  flex: 3 1 auto;
}
.development__grid .column__right {
  padding: 30px;
  flex: 1 1 auto;
}
.development__grid .column__item {
  margin: 40px 10px;
}
.development__grid .column__icon img {
  border: 1px solid #1d9eff;
  border-radius: 50%;
  padding: 6px;
  margin-bottom: 20px;
  height: 46px;
  width: 46px;
}
.development__grid .column__title {
  font-size: 1.2em;
  font-weight: 800;
  margin: 10px 0;
}
.development__grid .column__subtitle {
  font-size: 1em;
  font-weight: normal;
  margin: -10px 0 10px;
  overflow: hidden;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  max-width: 100%;
}

.prices {
  background-color: #f6f7f8;
  padding: 80px 0;
}
.prices__title {
  font-size: 3.2em;
  text-align: center;
}
.prices__wrapper {
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 80px 0;
}
.prices__item {
  box-shadow: 0px 0px 10px 0px #2b669a;
  padding: 50px 30px;
  width: 33%;
}
.prices__item.item__left {
  background-color: #f6f7f8;
}
.prices__item.item__center {
  background: var(--dark-blue-bg);
  color: var(--white-text-color);
  padding-top: 80px;
  margin: -30px 0 -30px;
}
.prices__item.item__right {
  background-color: #f6f7f8;
}
.prices__item .item__title {
  font-size: 1.8em;
  text-align: center;
}
.prices__item .item__subtitle {
  text-align: center;
}
.prices__item .item__price {
  font-size: 2em;
  font-weight: 800;
  text-align: center;
}
.prices__item .item__includes {
  list-style: none;
}
.prices__item .item__includes li {
  margin: 10px 0;
}

.strategy {
  background: #151559 url("../img/strategy-bg.svg") no-repeat center;
  color: #ffffff;
  margin: 50px auto;
  padding: 135px 0 165px;
}
.strategy .strategy-title-wrap {
  font-size: 3.6rem;
  font-weight: bold;
  text-align: center;
  margin: 0 auto 40px;
}
.strategy .strategy-title-wrap .subtitle {
  font-size: 1.6rem;
  margin: 20px auto;
}
.strategy .strategy-items-wrap {
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  grid-gap: 55px 32px;
}
.strategy .strategy-items-wrap .strategy-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: flex-start;
}
.strategy .strategy-items-wrap .strategy-item .strategy-title {
  font-size: 3.6rem;
}
.strategy .strategy-items-wrap .strategy-item .strategy-text {
  margin-left: 20px;
  font-weight: 400;
  color: #007aff;
  font-size: 2.2rem;
  line-height: 1.35;
}


.footer {
  background: var(--dark-blue-bg);
  color: var(--white-text-color);
  padding: 80px 0;
}
.footer__content {
  text-align: center;
  margin-bottom: 40px;
}
.footer__content_title {
  font-size: 2.2rem;
  font-weight: bold;
}
.footer__content_subtitle {
  font-size: 1.6rem;
}
.footer__logo img {
  max-width: 200px;
  margin-bottom: 40px;
}
.footer__title {
  font-size: 1.4em;
}
.footer__contacts a {
  color: var(--white-text-color);
  font-size: 1.2em;
}
.footer__menu li a{
  color: var(--white-text-color);
  font-size: 1.2em;
}

@media screen and (max-width: 991px){
  .first-screen {
    padding-top: 20%;
  }
  .about__services .service {
    padding: 20px 20px;
  }
  .about__services .service.service__general {
    padding: 40px 20px 40px;
    margin-top: -50px;
  }
  .about__description {
    padding: 40px 0;
  }
  .process {
    padding: 40px 0;
    overflow: hidden;
  }
  .process__steps {
    margin: 0;
  }
  .process__steps .step {
    padding: 0 5px;
  }
  .development {
    padding: 40px 0 0;
  }
  .development__grid {
    margin: 20px 0;
  }
  .development__title {
    font-size: 2.5em;
  }
  .development__grid .column__left {
    padding: 20px 0 20px 20px;
  }
  .development__grid .column__right {
    padding: 20px 20px 20px 0;
  }
  .prices {
    padding: 40px 0;
  }
  .prices__wrapper {
    padding: 40px 0;
  }
  .prices__item {
    padding: 30px 10px;
  }
  .prices__item.item__center {
    padding-top: 50px;
    margin: -20px 0 -20px;
  }
  .footer {
    padding: 40px 0;
  }
}
@media screen and (max-width: 767px) {
  .first-screen {
    padding-top: 40%;
  }
  .about__services {
    flex-wrap: wrap;
  }
  .about__services .service {
    margin-top: 0;
    width: 100%;
  }
  .about__services .service.service__general {
    margin-top: 0;
  }
  .about__description {
    background: none;
  }
  .process__steps .step {
    width: 50%;
  }
  .development__grid {
    flex-wrap: wrap;
  }
  .development__grid .column__center {
    display: none;
  }
  .development__grid .column__left,
  .development__grid .column__right {
    text-align: center;
    padding: 10px;
    width: 100%;
  }
  .strategy .strategy-title-wrap {
    font-size: 2.5rem;
  }
  .strategy .strategy-items-wrap {
    grid-template-columns: repeat(1,1fr);
  }

  .prices__wrapper {
    flex-wrap: wrap;
  }
  .prices__item {
    padding: 10px;
    margin: 0;
    width: 100%;
  }
  .prices__item.item__center {
    margin: 0;
  }
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

