:root {
  --border-radius: 9px;
  --border-radius_small: 6px;
  --transition: all 250ms ease;
  --primary: #c92a2a;
  --grey-50: #f6f7f8;
  --grey-100: #f1f2f5;
  --grey-200: #ebeef0;
  --grey-300: #d1d5dc;
  --grey-400: #99a1af;
  --grey-500: #6a7282;
  --grey-600: #4a5565;
  --grey-700: #364153;
  --grey-800: #1e2939;
  --grey-900: #101828;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  position: relative;
  font-family: "Poppins", sans-serif;
  font-size: 1.6rem;
  line-height: 1.4;
  font-weight: 400;
  color: var(--grey-600);
  letter-spacing: 0.5px;
}

p,
ul {
  font-size: 1.6rem;
  line-height: 1.55;
  letter-spacing: 0.75px;
}

.p-mb {
  margin-bottom: 2.5rem;
}

.list {
  padding-left: 4rem;
  margin-bottom: 2.8rem;
}

.list li {
  margin-bottom: 0.5rem;
}

button {
  font-family: "Poppins", sans-serif;
  cursor: pointer;
}

/* REMOVES TEXT DECORATION FORM HREF ON IOS */
a[href^="tel"] {
  color: inherit; /* Inherit text color of parent element. */
  text-decoration: none; /* Remove underline. */
  /* Additional css `propery: value;` pairs here */
}

a,
a:link,
a:visited {
  display: inline-block;
  font-size: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-decoration: none;
  color: var(--grey-600);
  transition: var(--transition);
}

a:hover,
a:active {
  color: var(--grey-800);
}

.link-underlined {
  font-size: inherit;
  letter-spacing: inherit;
  color: var(--grey-600);
  border-bottom: 2px solid var(--grey-600);
}

.link-underlined.white {
  font-size: inherit;
  letter-spacing: inherit;
  color: #fff;
  border-bottom: 2px solid #fff;
}

.button,
.button:link,
.button:visited {
  display: inline-block;

  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.75px;
  line-height: 1.4;
  text-align: center;
  padding: 1.1rem 2rem;
  color: var(--grey-600);
  border: 2px solid var(--grey-600);
  border-radius: var(--border-radius_small);
}

.button:hover,
.button:active {
  color: #fff;
  background-color: var(--primary);
  border: 2px solid var(--primary);
}

.button.large,
.button.large:link,
.button.large:visited {
  padding: 1.4rem 2.8rem;
  font-size: 1.6rem;
}

.button.primary,
.button.primary:link,
.button.primary:visited {
  width: auto;
  color: #fff;
  background-color: var(--primary);
  border: none;
}

.button.primary:hover,
.button.primary:active {
  background-color: #b91e1e;
}

.button.black,
.button.black:link,
.button.black:visited {
  color: #fff;
  background-color: var(--grey-800);
  border: none;
}

.button.black:hover,
.button.black:active {
  background-color: var(--grey-900);
}

.full-width {
  width: 100%;
}

h1,
.h1 {
  font-size: 6rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.5px;
  color: var(--grey-800);
  margin-bottom: 3rem;
}

h2,
.h2 {
  font-size: 4.6rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.5px;
  color: var(--grey-800);
  margin-bottom: 3rem;
}

h3,
.h3 {
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.5px;
  color: var(--grey-700);
}

h4,
.h4 {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--grey-700);
}

.pre-heading {
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.subheading {
  font-size: 1.8rem;
  line-height: 1.55;
  letter-spacing: 0.75px;
}

.text-white {
  color: #fff;
}

.text-primary {
  color: var(--primary);
}

/**********************************/
/* GENERAL COMPONENTS */
/**********************************/

.section {
  margin: 12rem 0;
  padding: 0 7rem;
}

.section.bg-grey-50 {
  padding-top: 9rem;
  padding-bottom: 9rem;
  background-color: var(--grey-50);
}

.section.narrow {
  margin: 7.5rem 0;
}

.mw-900 {
  max-width: 90rem;
}

.container {
  max-width: 130rem;
  margin: 0 auto;
}

.container-medium {
  max-width: 115rem;
  margin: 0 auto;
}

.container-small {
  max-width: 100rem;
  margin: 0 auto;
}

.container-xsmall {
  max-width: 90rem;
  margin: 0 auto;
}

.grid {
  display: grid;
  row-gap: 6rem;
  column-gap: 6rem;
}

.gap-3 {
  row-gap: 3rem;
  column-gap: 3rem;
}

.align-items-center {
  align-items: center;
}

.grid--2-cols {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3-cols {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4-cols {
  grid-template-columns: repeat(4, 1fr);
}

.flex-horizontal {
  display: flex;
  align-items: center;
  column-gap: 1.5rem;
  row-gap: 1rem;
}

.space-between {
  justify-content: space-between;
}

.wrap {
  flex-wrap: wrap;
}

.gap-1 {
  gap: 1rem;
}

.center {
  text-align: center;
}

.heading-secondary {
  display: block;
  font-size: 4.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 4.5rem;
  color: var(--grey-700);
}

.heading-tertiary {
  display: block;
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: 0px;
  line-height: 1.3;
  color: var(--grey-700);
}

.icon {
  line-height: 0;
  width: 1.8rem;
  min-width: 1.8rem;
  height: 1.8rem;
}

.image-aspect {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0%;
}

.aspect-fluid {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.aspect-1x1 {
  width: 100%;
  height: 0;
  padding-top: 100%;
  position: relative;
  overflow: hidden;
}

.aspect-16x9 {
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  position: relative;
  overflow: hidden;
}

.rounded {
  border-radius: var(--border-radius);
}

/* BUTTON SEE MORE/SEE LESS */

.btn-toggle-view {
  display: block;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 2px;
  padding: 0;
  margin: 6rem auto 0 auto;
  color: var(--grey-500);
  background-color: transparent;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 2px solid var(--grey-500);
}

.btn-toggle-view:hover {
  color: var(--grey-700);
  border-bottom: 2px solid var(--grey-700);
}

/*************************************************/
/*************************************************/

.text-white {
  color: #fff;
}

.greyscale40 {
  filter: brightness(0);
  opacity: 40%;
}

.greyscale70 {
  filter: brightness(0);
  opacity: 70%;
}

.greyscale80 {
  filter: brightness(0);
  opacity: 80%;
}

.mb-5 {
  margin-bottom: 0.5rem;
}

.mb-10 {
  margin-bottom: 1rem;
}

.mb-15 {
  margin-bottom: 1.5rem;
}

.mb-20 {
  margin-bottom: 2rem;
}

.mb-30 {
  margin-bottom: 3rem;
}

.mb-45 {
  margin-bottom: 4.5rem;
}

.mb-60 {
  margin-bottom: 6rem;
}

.mb-90 {
  margin-bottom: 9rem;
}

.weight500 {
  font-weight: 500;
}

.weight600 {
  font-weight: 600;
}

.emphasis1 {
  color: #c92a2a;
}

.input {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  color: var(--grey-600);
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 0.45rem;
  border: 1px solid var(--grey-400);
  outline: none;
}

.input:focus {
  border: 1px solid var(--grey-500);
}

/**********************************/
/* HEADER */
/**********************************/

.section.header {
  position: sticky;
  top: 0;
  width: 100%;
  margin: 0;
  z-index: 9;
  background-color: rgb(235, 238, 240, 0.95);
  z-index: 999;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 130rem;
  margin: 0 auto;
  padding: 1rem 0;
}

.header.header-absolute {
  position: absolute;
  top: 0;
  background-color: transparent;
}

.logo {
  width: 7.5rem;
  -webkit-filter: brightness(0);
  filter: brightness(0);
}

.header-absolute .logo {
  -webkit-filter: brightness(100);
  filter: brightness(100);
}

.sticky.header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(64, 64, 64, 0.94);
  box-shadow: 0 0.2rem 1rem 0 rgba(0, 0, 0, 0.08);
  z-index: 999;
}

.sticky.header .logo {
  width: 7.2rem;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2.5rem;
}

.nav-link,
.nav-link:link,
.nav-link:visited {
  font-size: 1.6rem;
  font-weight: 600;
  padding: 1.5rem;
  color: var(--grey-700);
  display: inline-block;
  text-decoration: none;
}

.nav-link:hover,
.nav-link:active {
  color: var(--grey-500);
}

.header-absolute .nav-link,
.header-absolute .nav-link:link,
.header-absolute .nav-link:visited {
  color: #fff;
}

.header-absolute .nav-link:hover,
.header-absolute .nav-link:active {
  color: var(--grey-200);
}

.header-absolute .button,
.header-absolute .button:link,
.header-absolute .button:visited {
  margin-left: 1.5rem;
  font-size: 1.5rem;
  border: 2px solid #fff;
  color: #fff;
}

.header-absolute .button:hover,
.header-absolute .button:active {
  border: 2px solid var(--primary);
  background-color: var(--primary);
}

/* MOBILE */
.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;

  display: none;
}

.icon-mobile-nav {
  height: 3.8rem;
  width: 3.8rem;
  color: var(--grey-700);
}

.header-absolute .icon-mobile-nav {
  color: #fff;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
  color: #fff;
}

/* SLIDER */

.splide {
  margin-bottom: 9rem;
}

.splide__arrow.splide__arrow--next,
.splide__arrow.splide__arrow--prev {
  display: none !important;
}

.splide *:focus {
  outline: none;
}

.slider-arrow-link {
  display: inline-block;
  position: absolute;
  padding: 0.8rem 0.9rem;
  line-height: 0;
  background-color: var(--grey-200);
  border-radius: var(--border-radius_small);
  transform: translateY(-50%);
}

.slider-arrow-link.prev-slide {
  top: 50%;
  left: -5rem;
  bottom: auto;
}

.slider-arrow-link.next-slide {
  top: 50%;
  right: -5rem;
  bottom: auto;
}

.slider-arrow-icon {
  width: 2.2rem;
  height: 2.2rem;
  line-height: 0;
  color: var(--grey-700);
}

.splide__pagination {
  bottom: -3.2rem !important;
}

.splide__pagination__page {
  background: var(--grey-200) !important;
  opacity: 1 !important;
}

.splide__pagination__page.is-active {
  background: var(--grey-400) !important;
  transform: scale(1.2) !important;
}

.section.hero-bg-image {
  background-image: url(img/hero-bg-image.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 12rem;
  padding-bottom: 12rem;
  margin: 0;
  color: #fff;
}

.section.g-hero {
  margin-top: 6rem;
  margin-bottom: 9rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 6rem;
  row-gap: 6rem;
}

.playlist {
  background-color: var(--grey-50);
  border-radius: var(--border-radius);
  overflow: hidden;
  line-height: 0;
}

.title-playlist {
  padding: 2.2rem 3rem;
  text-align: center;
}

.g-outlined-box {
  padding: 3rem 3.2rem;
  border: 1px solid var(--grey-300);
  border-radius: var(--border-radius);
}

/**********************************/
/* SECTION SERVICES */
/**********************************/
.service-item {
  display: flex;
  flex-direction: column;
  background-color: var(--grey-50);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.service-item-content {
  height: 100%;
  padding: 2.5rem 3.2rem 2.8rem 3.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
}

.service-item-heading {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-item-from {
  font-size: 1.4rem;
  line-height: 1;
}

.service-item-price {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.25px;
}

/**********************************/
/* SECTION CTA*/
/**********************************/

.cta-block {
  padding: 6rem 9rem;
  text-align: center;
  border-radius: var(--border-radius);
  color: #fff;
  background: radial-gradient(
    circle,
    rgb(240, 62, 62) 35%,
    rgba(255, 135, 135, 1) 100%
  );
}

.cta-email {
  display: block;
}

.icons-cta {
  display: flex;
  justify-content: center;
  gap: 6rem;
}

.icon-cta {
  color: #fff;
  width: 6rem;
  height: 6rem;
}

/**********************************/
/* FOOTER */
/**********************************/

.section.footer {
  margin: 0;
  padding-top: 6rem;
  padding-bottom: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 30fr 70fr;
  column-gap: 9rem;
  margin-bottom: 6rem;
}

.footer-logo {
  display: block;
  width: 9rem;
  margin-bottom: 3rem;
}

.footer-logo img {
  width: 100%;
  filter: brightness(0);
}

.social-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.social-icon ion-icon {
  height: 3.2rem;
  width: 3.2rem;
}

.footer-menu-grid {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 6rem;
}

.footer-menu-title {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  row-gap: 0.4rem;
  column-gap: 3rem;
  max-height: 17.5rem;
}

.footer-copyright {
  padding-top: 1.5rem;
  border-top: solid 1px var(--grey-600);
  font-size: 1.4rem;
}

/********************************************/
/* QUERIES */
/********************************************/

/**************************/
/* ABOVE 1800px  */
/**************************/

@media (min-width: 112.5em) {
  html {
    font-size: 70%;
  }

  .container {
    max-width: 150rem;
  }

  .container-medium {
    max-width: 120rem;
    margin: 0 auto;
  }

  .container-small {
    max-width: 110rem;
    margin: 0 auto;
  }

  .header-inner {
    max-width: 150rem;
  }
}

/**************************/
/* BELOW 1100px (Landscape Tablets) */
/**************************/

@media (max-width: 70em) {
  .grid--4-cols {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 4.5rem;
  }
}

/**************************/
/* BELOW 992px (Landscape Tablets) */
/**************************/

@media (max-width: 62em) {
  h1,
  .h1 {
    font-size: 5.6rem;
  }

  h2,
  .h2 {
    font-size: 4.4rem;
  }

  h3,
  .h3 {
    font-size: 2.5rem;
  }

  h4,
  .h4 {
    font-size: 1.7rem;
  }

  .pre-heading {
    font-size: 1.5rem;
  }

  .subheading {
    font-size: 1.7rem;
  }

  .nav-link,
  .nav-link:link,
  .nav-link:visited {
    font-size: 1.5rem;
  }

  .button,
  .button:link,
  .button:visited {
    font-size: 1.5rem;
    padding: 1.2rem 2.4rem;
  }

  .section {
    padding: 0 5rem;
    margin: 9rem 0;
  }

  .section.footer {
    padding-top: 3rem;
  }

  .grid--4-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3-cols {
    grid-template-columns: 1fr 1fr;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 4.5rem;
    row-gap: 4.5rem;
  }

  .title-playlist {
    padding: 2rem 1.5rem;
  }

  .sticky.header .nav-link,
  .sticky.header .nav-link:link,
  .sticky.header .nav-link:visited {
    font-size: 1.8rem;
  }

  /* MOBILE NAVIGATION */
  .btn-mobile-nav {
    display: block !important;
    z-index: 9999;
  }

  .nav {
    background-color: rgba(51, 51, 51, 0.9);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    -webkit-transform: translate(100%);
    transform: translateX(100%);

    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;

    /* 1) Hide it visually */
    opacity: 0;

    /* 2) Make it unaccessible to mouse and keyboard */
    pointer-events: none;

    /* 3) Hide it from screen readers */
    visibility: hidden;

    z-index: 999;
  }

  .nav-open .nav {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  .nav-open .icon-mobile-nav[name="close-outline"] {
    display: block;
    position: fixed;
    right: 3.5rem;
    top: 2.85rem;
  }

  .nav-open .icon-mobile-nav[name="menu-outline"] {
    display: none;
  }

  .nav-list {
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 6rem;
  }

  .no-flexbox-gap .nav-list li:not(:last-child) {
    margin-bottom: 1.5rem;
  }

  .nav-link,
  .nav-link:link,
  .nav-link:visited {
    color: #fff;
    font-size: 1.8rem;
  }

  .nav-link:hover,
  .nav-link:active {
    color: var(--grey-200);
  }

  .header .button,
  .header .button:link,
  .header .button:visited {
    margin-left: 0;
    margin-top: 1.5rem;
    color: #fff;
    border: solid 2px #fff;
    font-size: 1.7rem;
    padding: 1.3rem 2.8rem;
  }

  .header .button:hover,
  .header .button:active {
    border: solid 2px var(--primary);
  }

  .slider-arrow-link {
    background-color: rgba(235, 238, 240, 0.8);
    z-index: 9;
  }
}

/**************************/
/* BELOW 768px  */
/**************************/

@media (max-width: 48em) {
  body,
  p,
  ul {
    font-size: 1.5rem;
  }

  h1,
  .h1 {
    font-size: 5.2rem;
  }

  h2,
  .h2 {
    font-size: 4rem;
  }

  h3,
  .h3 {
    font-size: 2.35rem;
  }

  h4,
  .h4 {
    font-size: 1.7rem;
  }

  .pre-heading {
    font-size: 1.5rem;
  }

  .subheading {
    font-size: 1.6rem;
  }

  .logo {
    width: 7rem;
  }

  .section {
    padding: 0 3.5rem;
  }

  .slider-arrow-link.prev-slide {
    top: 50%;
    left: -1.5rem;
    bottom: auto;
  }

  .slider-arrow-link.next-slide {
    top: 50%;
    right: -1.5rem;
    bottom: auto;
  }

  .section.hero-bg-image {
    padding-top: 9rem;
    padding-bottom: 9rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .playlist {
    width: 100%;
    max-width: 40rem;
    justify-self: center;
  }

  .service-item {
    width: 100%;
    max-width: 42rem;
    justify-self: center;
  }

  .service-item-content {
    padding: 2.5rem;
  }

  .cta-block {
    padding: 6rem;
    text-align: center;
  }

  .footer-menu-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 3rem;
  }
}

@media (max-width: 40em) {
  .footer-menu {
    flex-wrap: nowrap;
    column-gap: 0;
    max-height: none;
  }
}

/**************************/
/* BELOW 479px (Phones) */
/**************************/

@media (max-width: 30em) {
  h1,
  .h1 {
    font-size: 4.8rem;
  }

  h2,
  .h2 {
    font-size: 3.8rem;
  }

  h3,
  .h3 {
    font-size: 2.25rem;
  }

  .pre-heading {
    font-size: 1.4rem;
  }

  .list {
    padding-left: 2.8rem;
    margin-bottom: 2.8rem;
  }

  .subheading {
    font-size: 1.7rem;
  }

  .grid--3-cols {
    grid-template-columns: 1fr;
  }

  .grid--4-cols {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 0 2.5rem;
  }

  .nav-open .icon-mobile-nav[name="close-outline"] {
    display: block;
    position: fixed;
    right: 2.5rem;
    top: 2.9rem;
  }

  .footer-logo {
    width: 8.4rem;
  }

  .slider-arrow-link.prev-slide {
    top: 50%;
    left: -1.6rem;
    bottom: auto;
  }

  .slider-arrow-link.next-slide {
    top: 50%;
    right: -1.6rem;
    bottom: auto;
  }

  .cta-block {
    padding: 4.5rem 3rem;
  }

  .cta-email {
    word-break: break-word;
  }

  .icons-cta {
    display: flex;
    justify-content: center;
    gap: 4.5rem;
  }

  .icon-cta {
    width: 5.2rem;
    height: 5.2rem;
  }

  .section.hero-bg-image {
    padding-top: 12rem;
    padding-bottom: 12rem;
  }
}

/*******************/
/* FIXING FLEX GAP */
/*******************/
.no-flexbox-gap .nav-list li:not(:last-child) {
  margin-right: 3rem;
}

.no-flexbox-gap .icons-cta a:not(:last-child) {
  margin-right: 9rem;
}

.no-flexbox-gap .social-links li:not(:last-child) {
  margin-right: 3rem;
}

@media (min-width: 34em) {
  .no-flexbox-gap .social-links li:not(:last-child) {
    margin-right: 3rem;
  }
}
