/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.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
   ========================================================================== */

@font-face {
  font-family: 'Formular';
  font-weight: normal;
  font-style: normal;
  src: url(../../fonts/Formular.eot) format("eot");
  src: url(../../fonts/Formular.ttf) format("ttf");
  src: url(../../fonts/Formular.woff) format("woff");
  src: url(../../fonts/Formular.woff2) format("woff2");
  font-display: swap;
}
@font-face {
  font-family: 'Formular';
  font-weight: bold;
  font-style: normal;
  src: url(../../fonts/Formular-Bold.eot) format("eot");
  src: url(../../fonts/Formular-Bold.ttf) format("ttf");
  src: url(../../fonts/Formular-Bold.woff) format("woff");
  src: url(../../fonts/Formular-Bold.woff2) format("woff2");
  font-display: swap;
}
@font-face {
  font-family: 'Formular';
  font-weight: 300;
  font-style: normal;
  src: url(../../fonts/Formular-Light.eot) format("eot");
  src: url(../../fonts/Formular-Light.ttf) format("ttf");
  src: url(../../fonts/Formular-Light.woff) format("woff");
  src: url(../../fonts/Formular-Light.woff2) format("woff2");
  font-display: swap;
}

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * 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
   ========================================================================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Formular', sans-serif;
  font-size: 18px;
  line-height: 1.3;
  color: #253640;
  width: 100vw;
  overflow-x: hidden;
}

p {
  margin: 0;
}

img {
  width: 100%;
  height: auto;
}

input {
  border-radius: 4px;
  border: none;
  padding: 15px;
  display: block;
  width: 100%;
  background-color: #338AA7;
  margin-bottom: 16px;
  color: #fff;
}

input:focus {
  outline: none;
}

input::placeholder {
  color: #A8C3CC;
}

a {
  color: inherit;
  transition: all .3s ease-in-out;
}

section {
  margin-bottom: 120px;
}

.button {
  display: inline-block;
  background-color: #fff;
  padding: 22px;
  color: #253640;
  text-decoration: none;
  text-align: center;
  border-radius: 4px;
}

.caption {
  color: #A8C3CC;
  font-size: 12px;
  font-weight: 300;
}

.caption a {
  font-weight: normal;
  text-decoration: none;
  border-bottom: 1px solid;
  color: #ffffff;
}

.caption a:hover {
  border-bottom: 0px solid;
}

.h1 {
  font-size: 60px;
  line-height: 1.1;
  margin: 0 0 24px;
}

.h2 {
  line-height: 1.15;
  font-weight: bold;
  font-size: 44px;
  margin-top: 0;
  margin-bottom: 48px;
}

.h3 {
  font-size: 28px;
  line-height: 1.15;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 16px;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

#first-screen {
  justify-content: space-between;
  margin-bottom: 0;
  color: #ffffff;
  padding: 64px 0 0 0;
  background: linear-gradient(299deg, #31B0BE 0%, #006D90 100%);
  border-radius: 0 0 20px 20px;
}

#first-screen .container {
  display: flex;
  align-items: stretch;
  min-height: 519px;
}

#first-screen .button {
  min-width: 324px;
}

.first-screen__image {
  position: relative;
  min-width: calc(100% - 651px);
  max-width: calc(100% - 651px);
}

.first-screen__image img:first-child {
  position: absolute;
  bottom: 0;
  width: 140%;
  left: -30%;
}

.first-screen__image img:last-child {
  display: none;
}

#advantages {
  transform: translateY(-50%);
  margin-bottom: 60px;
}

#advantages .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.advantage {
  padding: 24px;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0px 12px 34px rgba(64.78, 61.68, 100.78, 0.10);
}

.advantage img {
  width: 28px;
  margin-bottom: 12px;
}

#graphs .container:first-child {
  margin-bottom: 48px;
}

#first-screen p {
  font-size: 24px;
  margin-bottom: 28px;
}

#graphs .h2 {
  margin-bottom: 32px;
}

.graph {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  gap: 40px;
}

@media (min-width: 1024px) {
  .graph:nth-child(even) {
    flex-direction: row-reverse;
  }
}

.graph div {
  max-width: calc(50% - 20px);
}

.graph-image img:last-child {
  display: none;
}

.blue_form {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  color: #ffffff;
  padding: 48px;
  background-image: url("../../img/speech_analytics_02/BlueForm.png");
  background-size: cover;
  border-radius: 20px;
  position: relative;
}

.blue_form > div {
  width: calc(50% - 12px);
}

.blue_form .h2 {
  color: #ffffff;
  font-size: 40px;
  margin-bottom: 32px;
}

.blue-form__checked {
  display: flex;
  margin-bottom: 16px;
  gap: 12px;
}

.blue-form__checked:before {
  content: url("../../img/speech_analytics_02/checked.svg");
}

.blue-form__bubble {
  display: flex;
  font-size: 28px;
  gap: 24px;
  margin-top: 32px;
}

.blue-form__bubble img {
  width: 49px;
}

.blue-form__form {
  background-color: #1F809F;
  border-radius: 20px;
  padding: 55px 42px;
}

.blue-form__form.success form {
  display: none;
}

.blue-form__form .thanks {
  display: none;
  color: #fff;
  text-align: center;
}

.blue-form__form .thanks img {
  width: 87px;
  margin-bottom: 12px;
}

.blue-form__form .thanks .h3 {
  margin-bottom: 8px;
}

.blue-form__form.success .thanks {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.blue-form__form .button {
  margin-top: 18px;
}

#effect .h2 {
  margin-bottom: 48px;
}

#effect .h3 {
  margin-bottom: 32px;
}

#effect .h2,
#effect .h3 {
  text-align: center;
}

.effect-cols__switcher {
  display: none;
}

.effect-cols {
  display: flex;
  gap: 24px;
}

.effect-col {
  background: #F5F5F5;
  border-radius: 20px;
  padding: 40px 32px;
  width: calc(50% - 12px);
}

.effect-col p {
  display: flex;
  gap: 16px;
  align-items: center;
  border-radius: 16px;
  background: #EDEEEE;
  padding: 24px;
  margin-bottom: 16px;
}

.effect-col p.cross:before {
  content: url("../../img/speech_analytics_02/cross.svg");
}

.effect-col p.done:before {
  content: url("../../img/speech_analytics_02/done.svg");
}

#designs {
  margin-top: -78px;
}

#designs .h2 {
  transform: translateY(78px);
}

#designs .h2 img {
  display: none;
}

.designs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: end;
}

.designs-grid__item {
  background: #F5F5F5;
  border-radius: 20px;
  padding: 24px;
}

.designs-grid__item .h3 {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 17px;
}

.designs-grid__item .h3 img {
  width: 32px;
}

#companies .h2 {
  text-align: center;
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

#sales-form {
  text-align: center;
}

#sales-form .h2 {
  margin-bottom: 32px;
}

#sales-form .blue-form__form {
  position: relative;
  max-width: 560px;
  margin: 48px auto 0;
}

.accessory-img {
  position: absolute;
}

.accessory-img.darts {
  top: -25px;
  right: calc(100% - 20px);
  width: 166px;
}

.accessory-img.arrow {
  bottom: 83px;
  left: calc(100% + 15px);
  top: 20px;
  width: 171px;
}

.accessory-img.coin {
  bottom: 83px;
  right: calc(100% + 83px);
  width: 46px;
}

.accessory-img.small-coin {
  bottom: 102px;
  left: calc(100% + 45px);
  width: 35px;
}

.accessory-img.big-coin {
  bottom: 102px;
  left: calc(100% + 45px);
  width: 56px;
}

.accessory-img.big-arrow {
  width: 396px;
  top: -35px;
  right: calc(100% - 150px);
  z-index: -1;
}

.accessory-img.coins {
  width: 152px;
  top: 152px;
  right: calc(100% + 27px);
}

.accessory-img.small-coins {
  width: 56px;
  top: 29px;
  right: -25px;
}

.accessory-img.calculator {
  width: 283px;
  top: 165px;
  right: -175px;
  z-index: -1;
}

ul {
  padding-left: 1.1em;
}

li {
  color: #006D90;
  margin-bottom: 16px;
}

li p {
  color: #253640;
}

.results-slider .swiper-slide {
  background: #F5F5F5;
  border-radius: 20px;
  padding: 48px;
}

.swiper-slide .slide-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.swiper-slide .h3 {
  margin-bottom: 40px;
}

.swiper-slide p>b {
  font-size: 24px;
}

.swiper-slide ul:first-of-type {
  margin-bottom: 39px;
}

.slide-content__image {
  max-width: 548px;
}

#results .container {
  overflow: hidden;
}

.results-slider.swiper {
  overflow: visible;
}

#integrations {
  text-align: center;
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 50px 84.5px;
  background: #F5F5F5;
  border-radius: 20px;
  padding: 48px;
}



/*.results-slider .swiper-wrapper {*/
/*  overflow: hidden;*/
/*}*/

.results-slider .swiper-pagination-bullet {
  width: 40px;
  border-radius: 0;
  height: 4px;
}

.results-slider .swiper-pagination {
  position: static;
  font-size: 0;
  margin-top: 40px;
}

.results-slider .swiper-button-next,
.results-slider .swiper-button-prev {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #fff;
  color: #B8B8B8;
  border: 1px solid #B8B8B8;
  transition: all .3s ease-in-out;
  transform: translateY(-50%);
}

.results-slider .swiper-button-next:after,
.results-slider .swiper-button-prev:after {
  font-size: 18px;
  outline: none;
}

.results-slider .swiper-button-next:hover,
.results-slider .swiper-button-prev:hover {
  background: #006B8F;
  color: #FFF;
  border: 1px solid #006B8F;
}

.results-slider .swiper-button-prev {
  left: var(--swiper-navigation-sides-offset, -20px);
  right: auto;
}

.results-slider .swiper-button-next {
  right: var(--swiper-navigation-sides-offset, -20px);
  left: auto;
}

/* ==========================================================================
   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
 */

.visually-hidden {
  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 .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.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
 *
 * 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;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

