:root {
  --sco-orange:#DDBB50;
  --sco-orange-hover:#f0cc58;
  --sco-dark: #1A1A1A;
  --sco-dark-hover: rgb(53, 53, 53);
  --sco-light-grey: #F8F8F8;
  --sco-light-grey-cards: rgb(230, 230, 230);
  --sco-light-silver: #BFBFBF;
  --sco-text: #707070;
  --sco-clean: #FFF;
  --block-margin-bottom: 160px;
  --large-desktop: 1440px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--sco-text);
}

h1, h2 {
  font-family: 'Noto Serif', serif;
  font-weight: 500;
}

h1 {
  text-transform: uppercase;
}

h2 {
  font-size: 32px;
}

h3 {
  font-family: 'Open Sans', sans-serif;
}

a {
  text-decoration: none;
  color: var(--sco-text);
  transition: color .4s;
  cursor: pointer;
}

.btn {
  padding: 0px 40px;
  height: 40px;
  line-height: 40px;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 13px;
}

.btn-orange,
.btn-orange:active {
  background-color: var(--sco-orange);
  color: var(--sco-clean);
  transition: background-color .3s;
}

.btn-orange:hover {
  background-color: var(--sco-orange-hover);
}

.btn-black {
  background-color: var(--sco-dark);
  color: var(--sco-clean);
  transition: background-color .3s;
}

.btn-black:hover {
  background-color: var(--sco-dark-hover);
}

.body__wrapper {
  background-color: var(--sco-light-grey);
  width: var(--large-desktop);
  margin: 0 auto;
  padding: 16px;
}

/* 
################## HEADER #####################
*/

header {
  margin-bottom: var(--block-margin-bottom);
}

.navigation {
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
;
}

.fixed-nav {
  position: fixed;
  transform: translateX(-16px);
  top: 0;
  height: 60px;
  width: var(--large-desktop);
  background-color: var(--sco-clean);
  z-index: 10;
}

.logo {
  margin-top: 12px;
  height: 80px;
  width: 200px;
}

.navigation .logo img {
  width: 100%;
}

.menu ul li {
  display: inline-block;
  margin-left: 60px;
}

.menu ul li a:hover,
.menu ul li a:active {
  display: block;
  color: var(--sco-orange);
  border-bottom: 2px solid var(--sco-orange);
}

.menu .btn {
  width: 140px;
}

.hero {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-content {
  width: 49%;
  padding-right: 60px;
  text-align: right;
}

.hero-content h1,
.hero-content .baseline {
  text-align: right;
}

.hero-content h1 {
  margin-bottom: 56px;
}

.hero-content .baseline {
  display: block;
  margin-bottom: 24px;
}

.hero-content .btn {
  width: 260px;
}

.hero-image__wrapper {
  width: 48%;
}

.hero-image__wrapper img {
  width: 100%;
  border-radius: 2px;
}

header .white__block {
  z-index: 1;
  margin-top: -380px;
  width: 960px;
  height: 450px;
  background-color: var(--sco-clean);
}

.scroll__wrapper {
  height: 16px;
  width: 16px;
  margin: 48px auto;
  /* margin-top: -21px; */
}

.scroll__wrapper img {
  width: 100%;
}

/* 
.scroll__wrapper span {
  display: block;
  transform: rotate(-90deg);
} */

/* .scroll__wrapper .stroke {
  width: 1px;
  height: 96px;
  margin-left: 5px;
  border-left: 1px solid var(--sco-text);
} */

.catch-phrase {
  display: block;
  margin: 0 auto;
  margin-top: 32px;
  width: 70%;
  font-size: 24px;
  font-weight: 400;
  text-align: center;
}


/* 
##### SECTIONS GLOBAL STYLES ########
*/

section {
  text-align: center;
  margin-bottom: var(--block-margin-bottom);
}

section h2{
  margin-bottom: 40px;
}

.section-intro {
  display: inline-block;
  margin-bottom: 40px;
  width: 80%;
}

section .baseline {
  display: inline-block;
  margin-bottom: 96px;
}

section .section-footer {
  width: 70%;
  margin: 48px auto 0;
}

section .section-footer p {
  padding: 0;
  margin: 0;
}
section .section-footer span {
  display: block;
}

/* 
################## ABOUT US #####################
*/

.about-content {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.content-image,
.content-txt {
  width: 48%;
  text-align: left;
}

.about-img__wrapper {
  position: relative;
  width: 450px;
  height: 450px;
  overflow: hidden;
  border-radius: 2px;
}

.about-img__wrapper img {
  position: absolute;
  width: auto;
  height: 100%;
  z-index: 1;
}
.about-content .white__block {
  position: absolute;
  top: 60px;
  left: 60px;
  z-index: 0;
  width: 450px;
  height: 450px;
  background-color: var(--sco-clean);
}

.content-txt h3,
p {
  margin-bottom: 40px;
}


/* 
################## HOW IT WORKS #####################
*/

.debug {
  border: 1px solid red;
}

.cards__wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 350px); 
  grid-gap: 16px;
}

.how-card,
.how-card-cta {
  max-height: 400px;
  text-align: left;
}

.how-card .card-img__wrapper {
  width: 100%;
  height: 210px;
  overflow: hidden;
  border-radius: 2px;
}

.how-card .card-img__wrapper img {
  height: auto;
  width: 100%;
  min-height: 200px;
}

.card-txt__wrapper {
  margin-top: 24px;
}

.card-txt__wrapper h4 {
  margin-bottom: 8px;
}

.card-txt__wrapper span {
  font-size: 12px;
}

.how-card-cta__inner {
  text-align: center;
  height: 212px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  background-color: var(--sco-clean);
  border: 1px solid var(--sco-light-silver);
  border-radius: 2px;
}

.how-card-cta__inner span {
  margin-bottom: 16px;
}
.how-card-cta__inner button {
  width: 245px;
}

/* 
################## PLAN PRICES #####################
*/

.cards {
  width: 1024px;
  display: flex;
  justify-content: space-around;
  margin: 0 auto;
}

.column {
  width: 32%;
}

.titles {
  width: 25%;
}

.titles .cell:not(:first-child) {
  background-color: var(--sco-light-grey-cards);
}

.column .cell {
  height: 72px;
  border-bottom: 1px solid var(--sco-clean);
  font-size: 13px;
  word-wrap: break-word;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.column .cell:last-child {
  border: none;
}

.column .cell-head {
  min-height: 96px;
}

.cell-head:first-child {
  justify-content: flex-start;
}

.cell-head h3{
  font-size: 21px;
  margin-bottom: 8px;
}

.price__wrapper .price {
  display: block;
  font-size: 16px;
}

.text-left-cell {
  text-align: left;
  padding-left: 8px;
}

.check {
  width: 21px;
  height: 21px;
}

.small {
  font-size: 11px;
  height: 12px;
  line-height: 12px;
}

.icon-rotate {
  display: none;
  opacity: .4;
}

.icon__wrapper {
  margin: 0 auto;
  height: 128px;
  width: 128px;
  margin-bottom: 16px;
}

/* 
################## GALLERY #####################
*/

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 250px);
  grid-gap: 16px; 
}

.gallery__img,
.gallery__img_spe {
  border-radius: 2px;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.gallery__img_spe {
  height: 516px;
}

.gallery__item--3 {
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 3;
}


/* 
################## FOOTER #####################
*/


footer {
  text-align: center;
}

.footer {
  background-color: var(--sco-dark);
  height: 400px;
  text-align: center;
}

.footer .contact__block {
  position: relative;
  top: -95px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  min-width: 350px;
  min-height: 190px;
  height: auto;
  padding: 32px;
  background-color: var(--sco-clean);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

.footer .contact__block button {
  margin-top: 24px;
  width: 220px;
}

.footer .social-icons {
  width: 30%;
  min-width: 300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-evenly;
  margin-bottom: 32px;
}

.footer .copyright {
  color: var(--sco-clean);
}

.footer .links {
  margin: 16px 0;
}

.footer .links a {
  color: var(--sco-clean);
}

.footer .links a:hover {
  color: var(--sco-orange);
}

.footer .links a:not(:last-child):after {
  content: " - ";
  margin: 0 8px;
}

.debug {
  border: 1px solid blue;
}

/* ######  FAQ ####### */

header#header-faq {
  margin-bottom: 40px;
}

.hero-faq {
  text-align: center;
}

.hero-faq h1 {
  margin-bottom: 16px;
}

section#faq {
  padding: 24px;
}

.faq-question {
  margin-bottom: 24px;
}

.faq-question:not(:last-child):after {
  content:"***";
  color: var(--sco-light-silver);
}

.faq-question ul {
  margin-bottom: 32px;
}

.faq-question li {
  list-style: none;
  margin-bottom: 8px;
}


/* 
################## MEDIA QUERIES #####################
*/

@media screen and (max-width: 540px) {
  .body__wrapper {
    width: 100%;
    padding-bottom: 96px;
  }

  h2 {
    font-size: 24px;
    font-weight: bold;
  }

  section {
    margin-bottom: 80px;
  }

  section .section-intro {
    width: 100%;
  }

  .white__block,
  .navigation .menu {
    display: none;
  }

  .logo {
    margin: 0 auto;
    margin-top: 16px;
  }

  .hero {
    flex-direction: column-reverse;
  }

  .hero-image__wrapper {
    width: 100%;
    border-radius: 2px;
  }

  .hero-content {
    width: 100%;
    padding: 0;
    text-align: center;
  }

  .hero h1 {
    text-align: center;
    font-size: 26px;
    margin-top: 32px;
    margin-bottom: 8px;
  }

  .hero .baseline {
    text-align: center;
    margin-top: 0;
    margin-bottom: 48px;
  }

  .scroll__wrapper {
    margin-top: 48px;
  }

  .scroll__wrapper .stroke {
    margin-left: 6px; 
  }

  .catch-phrase {
    width: 100%;
    margin-top: 8px;
    font-size: 20px;
    background-color: var(--sco-clean);
    border-radius: 2px;
    padding: 8px;
  }
  
  .about-content {
    flex-direction: column;
  }

  .content-image {
    width: 100%;
  }

  .content-txt {
    width: 100%;
    text-align: center;
  }

  .about-img__wrapper {
    width: 98%;
    margin: 0 auto;
    margin-bottom: 48px;
  }

  .cards__wrapper {
    display: grid;
    grid-template-columns: repeat(1, 1fr); 
    grid-gap: 16px;
  }

  .how-card {
    height: 320px;;
  }

  .card-txt__wrapper {
    margin-top: 8px;
  }

  .card-txt__wrapper h4 {
    margin-bottom: 2px;
  }

  .gallery {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 16px;
  }

  #prices .cards {
    display: none;
  }

  #prices .icon-rotate {
    display: block;
  }

  #prices .section-footer, #prices .section-intro {
    display: none;
  }
 }


 @media screen and (min-width: 541px) and (max-width: 1024px) {
  .body__wrapper {
    width: 100%;
  }

  .white__block,
  .navigation .menu ul li:not(:last-child) {
    display: none;
  }

  .hero {
    flex-direction: column-reverse;
  }

  .hero-content {
    width: 100%;
    text-align: center;
    padding: 0;
  }

  .hero-content button {
    display: none;
  }

  .hero-image__wrapper {
    width: 100%;
  }

  .hero h1,
  .hero .baseline {
    text-align: center;
    margin-bottom: 8px;
    margin-top: 24px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .catch-phrase {
    width: 100%;
  }

  .scroll__wrapper {
    margin-top: 48px;
  }

  .about-img__wrapper {
    max-width: 370px;
    width: 100%;
    height: 450px;
  }

  .cards__wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    grid-gap: 16px;
  }

  #prices .cards {
    width: 640px;
  }

  #prices .column .cell-head h3{
    font-size: 16px;
  }

  #prices .column .cell-head .price{
    font-size: 12px;
  }

  #prices .column .cell {
    height: 100px;
  }
}


@media screen and (min-width: 1025px) and (max-width: 1440px) {
  .body__wrapper {
    width: 97%;
  }
  .fixed-nav {
  position: fixed;
  transform: translateX(-16px);
  max-width: 1440px;
  width: calc(100% - 40px);
}

  .hero .white__block {
    margin-top: -325px;
  }
}
