/* =================================================================== 
 *
 * layout.css
 * ----------
 * Section-level layout rules: header, navigation, each page section,
 * footer, and all responsive breakpoints.
 *
 * TOC:
 *  # header
 *      ## header logo
 *      ## main navigation
 *      ## mobile menu toggle
 *      ## responsive: header
 *  # home section
 *      ## home content
 *      ## home social
 *      ## home animations
 *      ## responsive: home
 *  # about
 *      ## about stats
 *      ## responsive: about
 *  # services
 *      ## process flow bar
 *      ## service groups
 *      ## service cards grid
 *      ## services CTA
 *      ## responsive: services
 *  # works
 *      ## masonry / bricks
 *      ## item-folio hover states
 *      ## responsive: works
 *  # clients
 *      ## slider
 *      ## testimonials
 *      ## responsive: clients
 *  # contact
 *      ## loader animation
 *      ## responsive: contact
 *  # footer
 *      ## go to top
 *
 * =================================================================== */

/* ===================================================================
 * # header
 * ------------------------------------------------------------------- */
.s-header {
  width: 100%;
  height: 96px;
  background-color: #0c0c0c;
  position: fixed;
  top: 0;
  z-index: 500;
}

/* ------------------------------------------------------------------- 
 * ## header logo
 * ------------------------------------------------------------------- */
.header-logo {
  position: fixed;
  margin: 0;
  padding: 0;
  z-index: 501;
  transition: all 0.5s;
}

@media (max-width: 767px) {
  .header-logo {
    top: 18px;
    left: 25px;
    width: 35px;
  }
}

@media (min-width: 768px) {
  .header-logo {
    top: 13px;
    left: 38px;
    width: 42px;
  }
}

/* ------------------------------------------------------------------- 
 * ## main navigation
 * ------------------------------------------------------------------- */
.header-nav {
  background: #0c0c0c;
  color: rgba(255, 255, 255, 0.25);
  font-family: "Montserrat", sans-serif;
  font-size: 1.3rem;
  line-height: 1.846;
  padding: 3.6rem 3rem 3.6rem 3.6rem;
  height: 100%;
  width: 280px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 700;
  overflow-y: auto;
  overflow-x: hidden;
  transition: all 0.5s ease;
  transform: translateX(100%);
  visibility: hidden;
  /* Prevent FOUC on WebKit during GPU compositing */
  -webkit-backface-visibility: hidden;
}

.header-nav a:hover,
.header-nav a:focus,
.header-nav a:active {
  color: white;
}

.header-nav p {
  margin-bottom: 2.7rem;
}

.header-nav__content {
  position: relative;
  left: 50px;
  opacity: 0;
  visibility: hidden;
}

.menu-is-open .header-nav .header-nav__content {
  color: #fff;
}

.header-nav__list {
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
  margin: 3.6rem 0 3rem 0;
  padding: 0 0 1.8rem 0;
  list-style: none;
}

.header-nav__list li {
  padding-left: 0;
  line-height: 4.5rem;
}

.header-nav__list a,
.header-nav__list a:visited {
  color: #fff;
}

.header-nav__social {
  list-style: none;
  display: inline-block;
  margin: 0;
  font-size: 1.8rem;
}

.header-nav__social li {
  margin-right: 12px;
  padding-left: 0;
  display: inline-block;
}

.header-nav__social li a:hover,
.header-nav__social li a:focus {
  color: white;
}

.header-nav__social li:last-child {
  margin: 0;
}

.header-nav__close {
  display: block;
  height: 30px;
  width: 30px;
  border-radius: 3px;
  background-color: rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 36px;
  right: 30px;
  font: 0/0 a;
  text-shadow: none;
  color: transparent;
  z-index: 800;
  /* Reset default button appearance */
  border: none;
  cursor: pointer;
  padding: 0;
}

.header-nav__close span::before,
.header-nav__close span::after {
  content: "";
  display: block;
  height: 2px;
  width: 12px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 9px;
  margin-top: -1px;
}

.header-nav__close span::before {
  transform: rotate(-45deg);
}

.header-nav__close span::after {
  transform: rotate(45deg);
}

/* menu is open */
.menu-is-open .header-nav {
  transform: translateX(0);
  visibility: visible;
}

.menu-is-open .header-nav .header-nav__content {
  opacity: 1;
  visibility: visible;
  transition: all 0.5s ease-in-out 0.3s;
  left: 0;
}

/* ------------------------------------------------------------------- 
 * ## mobile menu toggle
 * ------------------------------------------------------------------- */
.header-menu-toggle {
  position: fixed;
  right: 38px;
  top: 24px;
  height: 42px;
  width: 42px;
  line-height: 42px;
  font-family: "Montserrat", sans-serif;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  color: #ff99cc;
  transition: all 0.5s ease-in-out;
  /* Reset default button appearance */
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.header-menu-toggle.opaque {
  background-color: #000000;
}

.header-menu-toggle.opaque .header-menu-text {
  background-color: #000000;
}

.header-menu-toggle:hover,
.header-menu-toggle:focus {
  color: #fff;
}

.header-menu-text {
  display: block;
  position: absolute;
  top: 0;
  left: -70px;
  width: 70px;
  padding-left: 12px;
}

.header-menu-icon {
  display: block;
  width: 22px;
  height: 2px;
  margin-top: -1px;
  position: absolute;
  left: 10px;
  top: 50%;
  right: auto;
  bottom: auto;
  background-color: white;
  transition: all 0.5s ease-in-out;
}

.header-menu-icon::before,
.header-menu-icon::after {
  content: "";
  width: 100%;
  height: 100%;
  background-color: inherit;
  position: absolute;
  left: 0;
  transition: all 0.5s ease-in-out;
}

.header-menu-icon::before {
  top: -9px;
}

.header-menu-icon::after {
  bottom: -9px;
}

/* ------------------------------------------------------------------- 
 * ## responsive: header
 * ------------------------------------------------------------------- */
@media only screen and (max-width: 600px) {
  .s-header {
    height: 90px;
  }
  .header-menu-toggle {
    right: 25px;
  }
}

@media only screen and (max-width: 400px) {
  .header-menu-text {
    display: none;
  }
}

/* ===================================================================
 * # home section
 * ------------------------------------------------------------------- */
.s-home {
  width: 100%;
  height: 100%;
  min-height: 786px;
  padding-top: 96px;
  position: relative;
  display: table;
  background-color: #000;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
}

.s-home.visible {
  background-image: url("../images/bg.jpg");
  background-image: image-set(
    url("../images/bg.webp") type("image/webp"),
    url("../images/bg.jpg") type("image/jpeg")
  );
}

.s-home .shadow-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.8) 100%
  );
}

.s-home .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  background-color: #000000;
}

.no-js .s-home {
  background: #000000;
}

/* ------------------------------------------------------------------- 
 * ## home content
 * ------------------------------------------------------------------- */
.home-content {
  display: table-cell;
  width: 100%;
  height: 100%;
  vertical-align: middle;
  padding-bottom: 15.6rem;
  position: relative;
  overflow: hidden;
}

.home-content h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 6.3rem;
  line-height: 1.333;
  margin-top: 0;
  color: #fff;
}

.home-content__main {
  padding-top: 10rem;
  position: relative;
}

.home-content__buttons {
  padding-top: 6rem;
  text-align: left;
}

.home-content__buttons .btn {
  width: 215px;
  border-color: #fff;
  color: #fff;
  margin: 1.5rem 1.5rem 0 0;
  letter-spacing: 0.25rem;
  transition: all 0.5s ease-in-out;
}

.home-content__buttons .btn:last-child {
  margin-right: 0;
}

.home-content__buttons .btn:hover,
.home-content__buttons .btn:focus {
  background: #fff;
  color: #000000;
}

.home-content__scroll {
  position: absolute;
  right: 9.5rem;
  bottom: 8.4rem;
}

.home-content__scroll a {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  color: #fff;
  position: relative;
  display: inline-block;
  line-height: 3rem;
  padding-left: 2.5rem;
}

.home-content__scroll a::before {
  border-bottom: 2px solid #ff99cc;
  border-right: 2px solid #ff99cc;
  content: "";
  display: block;
  height: 8px;
  width: 8px;
  margin-top: -6px;
  pointer-events: none;
  position: absolute;
  left: 0;
  top: 50%;
  transform-origin: 66% 66%;
  transform: rotate(45deg);
  transition: all 0.15s ease-in-out;
}

.home-content__line {
  display: block;
  width: 2px;
  height: 10.2rem;
  background-color: #ff99cc;
  position: absolute;
  right: 7.2rem;
  bottom: 0;
}

/* ------------------------------------------------------------------- 
 * ## home social
 * ------------------------------------------------------------------- */
.home-social {
  font-family: "Montserrat", sans-serif;
  list-style: none;
  margin: 0;
  position: absolute;
  top: 50%;
  right: 5.4rem;
  transform: translate3d(0, -50%, 0);
}

.home-social a {
  color: #fff;
  transition: all 0.5s ease-in-out;
}

.home-social li {
  position: relative;
  padding: 0.9rem 0;
}

.home-social li a {
  display: block;
  width: 33px;
  height: 33px;
  background-color: transparent;
}

.home-social i,
.home-social span {
  position: absolute;
  top: 0;
  line-height: 33px;
  transition: all 0.5s ease-in-out;
}

.home-social i {
  font-size: 14px;
  color: #fff;
  right: 0;
  text-align: center;
  display: inline-block;
  width: 33px;
  height: 33px;
  background-color: rgba(0, 0, 0, 0.8);
  line-height: calc(33px - 4px);
  border: 2px solid #fff;
  border-radius: 50%;
}

.home-social span {
  color: #ff99cc;
  right: 4.5rem;
  font-size: 1.3rem;
  opacity: 0;
  visibility: hidden;
  transform: scale(0);
  transform-origin: 100% 50%;
}

.home-social li:hover span {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

/* ------------------------------------------------------------------- 
 * ## home animations
 * ------------------------------------------------------------------- */
html.cl-preload .home-content__main {
  opacity: 0;
}

html.cl-loaded .home-content__main {
  animation-duration: 2s;
  animation-name: fadeIn;
}

html.no-csstransitions .home-content__main {
  opacity: 1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate3d(0, 150%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translate3d(0, -150%, 0);
  }
}

/* ------------------------------------------------------------------- 
 * ## responsive: home
 * ------------------------------------------------------------------- */
@media only screen and (max-width: 1500px) {
  .home-content h1 {
    font-size: 5rem;
  }
  .home-content__main {
    max-width: 1000px;
  }
}

@media only screen and (max-width: 1200px) {
  .home-content h1 {
    font-size: 4.5rem;
  }
  .home-content__main {
    max-width: 800px;
  }
}

@media only screen and (max-width: 1000px) {
  .home-content h1 {
    font-size: 4rem;
  }
  .home-content br {
    display: none;
  }
  .home-content__main {
    padding-top: 21rem;
    padding-right: 80px;
    max-width: 680px;
  }
}

@media only screen and (max-width: 800px) {
  .home-content h1 {
    font-size: 4rem;
  }
  .home-content__main {
    padding-right: 70px;
    max-width: 550px;
  }
}

@media only screen and (max-width: 700px) {
  .home-content__main {
    max-width: 490px;
  }
  .home-content__buttons {
    padding-top: 1.2rem;
    text-align: center;
  }
  .home-content__buttons .btn {
    display: block;
    width: 70%;
    margin: 1.5rem 0 0 0;
  }
  .home-social {
    right: 4rem;
  }
  .home-content__scroll {
    right: 7.5rem;
  }
  .home-content__line {
    right: 5.5rem;
  }
}

@media only screen and (max-width: 600px) {
  .home-content h1 {
    font-size: 3rem;
  }
  .home-social {
    right: 2rem;
  }
  .home-social li {
    padding: 0.6rem 0;
  }
  .home-social i {
    font-size: 17px;
    border: none;
  }
  .home-social span {
    display: none;
  }
  .home-content__scroll {
    bottom: 5.4rem;
  }
  .home-content__line {
    height: 7.2rem;
  }
}

@media only screen and (max-width: 500px) {
  .s-home {
    min-height: 642px;
  }
  .home-content h1 {
    font-size: 3rem;
  }
  .home-content__main {
    text-align: center;
    max-width: none;
    padding-top: 15rem;
    padding-right: 25px;
    width: 85%;
  }
  .home-content__buttons {
    padding-top: 1.2rem;
  }
  .home-content__buttons .btn {
    width: auto;
    margin: 1.5rem 0 0 0;
  }
  .home-social {
    display: none;
  }
}

@media only screen and (max-width: 450px) {
  .home-content h1 {
    font-size: 2.8rem;
  }
}

@media only screen and (max-width: 400px) {
  .s-home {
    min-height: 630px;
  }
  .home-content h1 {
    font-size: 3.2rem;
  }
  .home-content__main {
    padding-top: 16.2rem;
    width: auto;
  }
}

/* ===================================================================
 * # about
 * ------------------------------------------------------------------- */
.s-about {
  padding-top: 16.2rem;
  padding-bottom: 9rem;
  background-color: #000;
  color: #fff;
  position: relative;
}

.s-about .section-header.has-bottom-sep::before {
  background-color: rgba(255, 255, 255, 0.25);
}

.about-desc {
  font-size: 2.4rem;
  line-height: 1.75;
  text-align: center;
  max-width: 1024px;
}

.about__line {
  display: block;
  width: 2px;
  height: 10.2rem;
  background-color: #fff;
  position: absolute;
  right: 7.2rem;
  top: 0;
}

/* ------------------------------------------------------------------- 
 * ## about stats
 * ------------------------------------------------------------------- */
.about-stats {
  text-align: center;
}

.stats__col {
  margin: 5.4rem 0;
  padding: 0 2rem;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.stats__col:last-child {
  border-right: none;
}

.stats__count {
  font-family: "Montserrat", sans-serif;
  font-size: 8.4rem;
  line-height: 1;
  color: #ff99cc;
  position: relative;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stats .number {
  font-family: "Montserrat", sans-serif;
  margin-top: 1.8rem;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1.333;
  position: relative;
}

/* ------------------------------------------------------------------- 
 * ## responsive: about
 * ------------------------------------------------------------------- */
@media only screen and (max-width: 1200px) {
  .about-desc {
    font-size: 2.2rem;
    max-width: 940px;
  }
  .about-stats {
    padding-top: 3rem;
    padding-bottom: 3.9rem;
    max-width: 800px;
  }
  .stats__col {
    margin: 1.5rem 0;
  }
  .stats__col:nth-child(n) {
    border: none;
  }
  .stats__col:nth-child(2n + 1) {
    border-right: 1px solid rgba(255, 255, 255, 0.25);
  }
}

@media only screen and (max-width: 800px) {
  .about-desc {
    font-size: 2rem;
    max-width: 600px;
  }
  .stats__count {
    font-size: 8rem;
  }
  .stats h5 {
    margin-top: 1.2rem;
  }
}

@media only screen and (max-width: 700px) {
  .about__line {
    right: 5.5rem;
  }
}

@media only screen and (max-width: 600px) {
  .s-about {
    padding-top: 12rem;
  }
  .about-desc {
    font-size: 1.9rem;
  }
  .about-stats {
    padding-top: 0;
  }
  .stats__col {
    margin: 0;
    padding-top: 3rem;
    padding-bottom: 3rem;
    position: relative;
  }
  .stats__col::after {
    content: "";
    display: block;
    height: 1px;
    width: 250px;
    background-color: rgba(255, 255, 255, 0.25);
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -125px;
  }
  .stats__col:last-child::after {
    display: none;
  }
  .stats__col:nth-child(n) {
    border: none;
  }
  .about__line {
    height: 7.2rem;
  }
}

@media only screen and (max-width: 400px) {
  .about-desc {
    font-size: 1.8rem;
  }
  .stats__count {
    font-size: 7.8rem;
  }
}

/* ===================================================================
 * # services
 * ------------------------------------------------------------------- */
.s-services {
  padding-top: 16.2rem;
  padding-bottom: 0;
  background-color: #fff;
  color: #000;
  position: relative;
}

/* ------------------------------------------------------------------- 
 * ## process flow bar
 * ------------------------------------------------------------------- */
.services-process {
  display: flex;
  align-items: stretch;
  margin-top: 4rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(186, 186, 186, 0.12);
}

.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 22px 12px;
  background: #fff;
  position: relative;
  transition: background 0.25s;
}

.process-step:hover {
  background: #ebeaea;
}

.process-step.highlight {
  background: #ec008c;
}

.process-step.highlight .step-num,
.process-step.highlight .step-label {
  color: #fff;
}

.process-step.highlight .step-num {
  opacity: 1;
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 12px solid #fff;
  z-index: 2;
}

.process-step.highlight:not(:last-child)::after {
  border-left-color: #ec008c;
}

.process-step:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 12px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.04), transparent);
}

.step-num {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #ec008c;
  opacity: 0.5;
  letter-spacing: 0.1em;
}

.step-label {
  font-family: "Montserrat", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #111;
  text-align: center;
  line-height: 1.3;
}

/* ------------------------------------------------------------------- 
 * ## service groups
 * ------------------------------------------------------------------- */
.services-group {
  margin-top: 6.4rem;
  margin-bottom: 0.8rem;
}

.services-group-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.services-group-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, #ec008c, transparent);
}

/* h3.services-group-title — visual styles preserved, default h3 margin reset */
h3.services-group-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ec008c;
  white-space: nowrap;
  margin: 0;
}

.services-group-subtitle {
  font-size: 1.4rem;
  color: #828282;
  margin-bottom: 3.2rem;
  line-height: 1.6;
}

/* ------------------------------------------------------------------- 
 * ## service cards grid
 * ------------------------------------------------------------------- */
.cards-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 0;
}

.cards-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 0;
}

.service-card {
  background: #fff;
  border: 1.5px solid #ebebeb;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    transform 0.25s;
}

.service-card:hover {
  border-color: #000;
  box-shadow: none;
  transform: translateY(-4px);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: #fff0f8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.25s;
}

.service-card:hover .card-icon {
  background: #ec008c;
}

.card-icon i {
  font-size: 2.4rem;
  color: #ec008c;
  transition: color 0.25s;
}

.service-card:hover .card-icon i {
  color: #fff;
}

/* h4.card-title — visual styles preserved, default h4 margin reset */
h4.card-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 8px 0;
}

.card-tagline {
  font-size: 1.4rem;
  color: #777;
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.5;
}

.card-body {
  font-size: 1.4rem;
  line-height: 1.75;
  color: #333;
  flex: 1;
}

.card-body p {
  margin-bottom: 10px;
}

.card-ideal {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.ideal-label {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #828282;
  margin-bottom: 6px;
}

.ideal-text {
  font-size: 1.3rem;
  color: #333;
  line-height: 1.6;
}

/* ------------------------------------------------------------------- 
 * ## services CTA
 * ------------------------------------------------------------------- */
.services-cta {
  margin-top: 8.4rem;
  padding: 90px 48px;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

/* h3.cta-heading — default h3 margin reset */
h3.cta-heading {
  font-family: "Montserrat", sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.cta-text {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #828282;
  max-width: 800px;
}

.cta-text strong {
  color: #ec008c;
}

.cta-btn {
  display: inline-block;
  padding: 14px 32px;
  background: #ec008c;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 2px solid #ec008c;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}

.cta-btn:hover {
  background: transparent;
  color: #ec008c;
  transform: translateY(-2px);
}

/* ------------------------------------------------------------------- 
 * ## responsive: services
 * ------------------------------------------------------------------- */
@media only screen and (max-width: 1000px) {
  .cards-2,
  .cards-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media only screen and (max-width: 800px) {
  .cards-2,
  .cards-3 {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  .services-cta {
    padding: 32px 28px;
  }
  .services-process {
    flex-direction: column;
    border-radius: 12px;
  }
  .process-step:not(:last-child)::after {
    display: none;
  }
  .process-step:not(:first-child)::before {
    display: none;
  }
}

@media only screen and (max-width: 600px) {
  .s-services {
    padding-top: 12rem;
  }
  .services-cta {
    padding: 28px 20px;
  }
}

/* ===================================================================
 * # works
 * ------------------------------------------------------------------- */
.s-works {
  background: #fff;
  padding: 0 0 15rem 0;
  min-height: 800px;
  position: relative;
}

.s-works .intro-wrap {
  padding: 15rem 0 25.2rem;
  background: #111111;
}

.works-content {
  max-width: 1160px;
  margin-top: -23.4rem;
}

/* ------------------------------------------------------------------- 
 * ## masonry / bricks
 * ------------------------------------------------------------------- */
.masonry::after {
  content: "";
  display: table;
  clear: both;
}

.masonry .grid-sizer,
.masonry__brick {
  width: 50%;
}

.masonry__brick {
  float: left;
  padding: 0;
}

.item-folio {
  position: relative;
  overflow: hidden;
  aspect-ratio: 500 / 500;
}

/* Invisible full-card button — the accessible trigger for the case modal */
.item-folio__trigger {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  z-index: 3;
}

.item-folio__trigger:focus-visible {
  outline: 3px solid #ee3d96;
  outline-offset: -3px;
}

.item-folio__thumb img {
  vertical-align: bottom;
  transition: all 0.5s ease-in-out;
}

.item-folio__thumb a {
  display: block;
}

.item-folio__thumb a::before {
  display: block;
  background-color: rgba(0, 0, 0, 0.8);
  content: "";
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 0.5s ease-in-out;
  z-index: 1;
}

.item-folio__thumb a::after {
  content: "+";
  font-family: georgia, serif;
  font-size: 2.7rem;
  display: block;
  height: 30px;
  width: 30px;
  line-height: 30px;
  margin-left: -15px;
  margin-top: -15px;
  position: absolute;
  left: 50%;
  top: 50%;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease-in-out;
  transform: scale(0.5);
  z-index: 1;
}

.item-folio__text {
  position: absolute;
  left: 0;
  bottom: 3.6rem;
  padding: 0 3.3rem;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 100%, 0);
  transition: all 0.3s ease-in-out;
}

.item-folio__title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  line-height: 1.286;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  margin: 0 0 0.3rem 0;
}

.item-folio__cat {
  color: rgba(255, 255, 255, 0.5);
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  line-height: 1.714;
  margin-bottom: 0;
}

.item-folio__caption {
  display: none;
}

.item-folio__project-link {
  display: block;
  color: #fff;
  box-shadow: 0 0 0 1px #fff;
  border-radius: 50%;
  height: 4.2rem;
  width: 4.2rem;
  text-align: center;
  z-index: 500;
  position: absolute;
  top: 3rem;
  left: 3rem;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, -100%, 0);
}

.item-folio__project-link i {
  font-size: 1.8rem;
  line-height: 4.2rem;
}

.item-folio__project-link::before {
  display: block;
  content: "";
  height: 3rem;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  position: absolute;
  top: -3rem;
  left: 50%;
}

.item-folio__project-link:hover,
.item-folio__project-link:focus {
  background-color: #fff;
  color: #000000;
}

/* ------------------------------------------------------------------- 
 * ## item-folio hover states
 * ------------------------------------------------------------------- */
.item-folio:hover .item-folio__thumb a::before {
  opacity: 1;
  visibility: visible;
}

.item-folio:hover .item-folio__thumb a::after {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.item-folio:hover .item-folio__thumb img {
  transform: scale(1.05);
}

.item-folio:hover .item-folio__project-link,
.item-folio:hover .item-folio__text {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
}

/* ------------------------------------------------------------------- 
 * ## responsive: works
 * ------------------------------------------------------------------- */
@media only screen and (max-width: 800px) {
  .item-folio__title,
  .item-folio__cat {
    font-size: 1.3rem;
  }
}

@media only screen and (max-width: 600px) {
  .s-works {
    padding-bottom: 12rem;
  }
  .s-works .intro-wrap {
    padding: 12rem 0 25.2rem;
  }
  .works-content {
    margin-top: -25.2rem;
  }
  .masonry__brick {
    float: none;
    width: 100%;
  }
  .item-folio__title,
  .item-folio__cat {
    font-size: 1.4rem;
  }
}

/* ===================================================================
 * # clients
 * ------------------------------------------------------------------- */
.s-clients {
  padding-top: 16.2rem;
  padding-bottom: 16.8rem;
  background-color: #e6e6e6;
  color: #000;
  position: relative;
}

/* ------------------------------------------------------------------- 
 * ## slider
 * ------------------------------------------------------------------- */
.clients-outer {
  margin-top: 3.6rem;
  padding-bottom: 9rem;
  text-align: center;
  position: relative;
}

.clients__slide {
  display: block;
  opacity: 0.55;
  padding: 1.5rem 2.8rem;
  transition: opacity 0.5s ease-in-out;
}

.clients__slide:hover {
  opacity: 1;
}

/* ------------------------------------------------------------------- 
 * ## testimonials
 * ------------------------------------------------------------------- */
.clients-testimonials {
  margin-top: 4.2rem;
  padding-top: 7.2rem;
  text-align: center;
  position: relative;
}

.clients-testimonials::before {
  content: "";
  display: block;
  height: 1px;
  width: 550px;
  background-color: rgba(0, 0, 0, 0.1);
  text-align: center;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.clients-testimonials .testimonials {
  margin: 0 10%;
}

.clients-testimonials .testimonials p {
  font-family: "Ubuntu", sans-serif;
  font-size: 2.4rem;
  line-height: 1.8;
  margin-bottom: 6rem;
}

.clients-testimonials .testimonials__slide {
  padding: 0 0 3rem 0;
}

.clients-testimonials .testimonials__avatar {
  height: 8.4rem;
  width: 8.4rem;
  border-radius: 50%;
  margin: 0 auto 1.2rem auto;
}

.clients-testimonials .testimonials__name,
.clients-testimonials .testimonials__pos {
  display: block;
}

.clients-testimonials .testimonials__name {
  font-family: "Montserrat", sans-serif;
  color: #000000;
}

.clients-testimonials .testimonials__pos {
  font-family: "montserrat-light", sans-serif;
  font-size: 1.4rem;
}

.clients-testimonials .testimonials .slick-arrow {
  position: absolute;
  top: 7.2rem;
  width: 66px;
  height: 66px;
  margin: 0;
  padding: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: 22px 15px;
  background-position: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  font: 0/0 a;
  text-shadow: none;
  color: transparent;
  z-index: 2;
}

.clients-testimonials .testimonials .slick-prev {
  left: -130px;
  background-image: url("../images/left-arrow.png");
  background-image: image-set(
    url("../images/left-arrow.webp") type("image/webp"),
    url("../images/left-arrow.png") type("image/png")
  );
}

.clients-testimonials .testimonials .slick-next {
  right: -130px;
  background-image: url("../images/right-arrow.png");
  background-image: image-set(
    url("../images/right-arrow.webp") type("image/webp"),
    url("../images/right-arrow.png") type("image/png")
  );
}

.clients-testimonials .testimonials .slick-dots {
  margin-top: -0.6px;
}

/* ------------------------------------------------------------------- 
 * ## responsive: clients
 * ------------------------------------------------------------------- */
@media only screen and (max-width: 800px) {
  .s-clients {
    padding-bottom: 17.4rem;
  }
}

@media only screen and (max-width: 1200px) {
  .clients-testimonials .testimonials {
    margin: 0 12%;
  }
  .clients-testimonials .testimonials p {
    font-size: 2.2rem;
  }
  .clients-testimonials .testimonials .slick-prev {
    left: -100px;
  }
  .clients-testimonials .testimonials .slick-next {
    right: -100px;
  }
}

@media only screen and (max-width: 1000px) {
  .clients-testimonials .testimonials p {
    font-size: 2rem;
  }
}

@media only screen and (max-width: 800px) {
  .clients-testimonials::before {
    width: 400px;
  }
  .clients-testimonials .testimonials {
    margin: 0 2rem;
  }
  .clients-testimonials .testimonials .slick-arrow {
    top: auto;
    bottom: 3rem;
  }
  .clients-testimonials .testimonials .slick-prev {
    left: 0;
  }
  .clients-testimonials .testimonials .slick-next {
    right: 0;
  }
}

@media only screen and (max-width: 600px) {
  .s-clients {
    padding-top: 12rem;
  }
  .clients-testimonials::before {
    width: 250px;
  }
  .clients-testimonials .testimonials {
    margin: 0;
  }
  .clients-testimonials .testimonials p {
    font-size: 1.8rem;
  }
}

@media only screen and (max-width: 400px) {
  .clients-testimonials .testimonials p {
    font-size: 1.6rem;
  }
}

/* ===================================================================
 * # contact
 * ------------------------------------------------------------------- */
.s-contact {
  background-color: #222;
  background-repeat: no-repeat;
  background-position: center, center;
  padding-top: 15rem;
  padding-bottom: 12rem;
  color: #fff;
  position: relative;
}

.s-contact .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  background-color: #151515;
}

.s-contact .form-field {
  position: relative;
}

.s-contact .form-field::after {
  content: "";
  display: table;
  clear: both;
}

.s-contact .form-field label {
  font-family: "montserrat-light", sans-serif;
  font-size: 1rem;
  line-height: 2.4rem;
  position: absolute;
  bottom: -0.3rem;
  right: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  padding: 0 2rem;
  margin: 0;
  color: #fff;
  background: #ff99cc;
}

.s-contact .form-field label::after {
  content: "";
  position: absolute;
  left: -5px;
  top: 50%;
  margin-top: -6px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 5px solid #ff99cc;
}

.contact__line {
  display: block;
  width: 2px;
  height: 20.4rem;
  background-color: #ff99cc;
  position: absolute;
  left: 50%;
  top: -10.2rem;
  margin-left: -1px;
}

.contact-content {
  max-width: 1000px;
  background-color: #000;
  padding-top: 6rem;
  padding-bottom: 6rem;
  font-family: "montserrat-light", sans-serif;
  font-size: 2rem;
  line-height: 2;
  position: relative;
}

/* p.title inside .contact-content — label style for contact info items */
.contact-content p.title {
  margin-top: 0;
  margin-bottom: 20px;
  font-family: "Montserrat", sans-serif;
  font-size: 1.7rem;
  color: #ee3d96;
}

.contact-content input[type="email"],
.contact-content input[type="number"],
.contact-content input[type="search"],
.contact-content input[type="text"],
.contact-content input[type="tel"],
.contact-content input[type="url"],
.contact-content input[type="password"],
.contact-content textarea,
.contact-content select {
  color: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 0.9rem;
}

.contact-content input[type="email"]:focus,
.contact-content input[type="number"]:focus,
.contact-content input[type="search"]:focus,
.contact-content input[type="text"]:focus,
.contact-content input[type="tel"]:focus,
.contact-content input[type="url"]:focus,
.contact-content input[type="password"]:focus,
.contact-content textarea:focus,
.contact-content select:focus {
  color: #fff;
  border-bottom: 1px solid #ff99cc;
}

.contact-content button,
.contact-content .btn {
  margin-top: 3.6rem;
}

.contact-content ::placeholder {
  color: #4f4f4f;
}

.contact-primary,
.contact-secondary {
  float: left;
  padding: 0 5rem;
}

.contact-primary {
  width: 65%;
}

.contact-primary #contactForm {
  margin-top: -1.5rem;
}

.contact-secondary {
  width: 100%;
}

.contact-secondary .contact-info {
  position: relative;
}

.contact-secondary .cinfo a {
  font-family: "Ubuntu", sans-serif;
  color: #fff;
}

@media (min-width: 768px) {
  .contact-secondary .cinfo {
    float: left;
    width: 50%;
    text-align: center;
    line-height: 0;
  }
}

.contact-social {
  list-style: none;
  display: inline-block;
  margin: 0;
  font-size: 2rem;
}

.contact-social li {
  margin-right: 15px;
  padding-left: 0;
  display: inline-block;
}

.contact-social li a {
  color: white;
}

.contact-social li a:hover,
.contact-social li a:focus {
  color: #ff99cc;
}

.contact-social li:last-child {
  margin: 0;
}

.message-warning,
.message-success {
  display: none;
  background: #111111;
  font-size: 1.5rem;
  line-height: 2;
  padding: 3rem;
  margin-bottom: 3.6rem;
  width: 100%;
}

.message-warning {
  color: #ff6163;
}
.message-success {
  color: #ff99cc;
}

.message-warning i,
.message-success i {
  margin-right: 10px;
  font-size: 1.2rem;
}

/* ------------------------------------------------------------------- 
 * ## loader animation
 * ------------------------------------------------------------------- */
.s-loader {
  margin: 1.2rem auto 3rem;
  width: 70px;
  text-align: center;
  transform: translateX(0.45rem);
}

.s-loader > div {
  width: 9px;
  height: 9px;
  background-color: #fff;
  border-radius: 100%;
  display: inline-block;
  margin-right: 0.9rem;
  animation: bouncedelay 1.4s infinite ease-in-out both;
}

.s-loader .bounce1 {
  animation-delay: -0.32s;
}
.s-loader .bounce2 {
  animation-delay: -0.16s;
}

@keyframes bouncedelay {
  0%,
  80%,
  100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

/* ------------------------------------------------------------------- 
 * ## responsive: contact
 * ------------------------------------------------------------------- */
@media only screen and (max-width: 1200px) {
  .contact-content {
    max-width: 900px;
  }
}

@media only screen and (max-width: 1000px) {
  .contact-content {
    max-width: 700px;
  }
  .contact-primary,
  .contact-secondary {
    float: none;
    width: 100%;
  }
  .contact-primary #contactForm {
    margin-top: -1.5rem;
    margin-bottom: 7.2rem;
  }
  .contact-secondary .hide-on-fullwidth {
    display: none;
  }
  .contact-secondary::before {
    display: none;
  }
  .message-warning,
  .message-success {
    margin-bottom: 6rem;
  }
}

@media only screen and (max-width: 800px) {
  .contact-content h3 {
    text-align: center;
  }
}

@media only screen and (max-width: 600px) {
  .s-contact {
    padding-top: 12rem;
    padding-bottom: 0;
  }
  .contact__line {
    height: 14.4rem;
    top: -7.2rem;
  }
  .contact-content {
    text-align: center;
  }
  .contact-primary,
  .contact-secondary {
    padding: 0 20px;
  }
}

@media only screen and (max-width: 400px) {
  .contact-primary,
  .contact-secondary {
    padding: 0 5px;
  }
}

/* ===================================================================
 * # footer
 * ------------------------------------------------------------------- */
footer {
  background-color: #000;
  padding: 1rem 0;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 2;
  text-align: center;
  color: #ccc;
}

/* ------------------------------------------------------------------- 
 * ## go to top
 * ------------------------------------------------------------------- */
.go-top {
  position: fixed;
  bottom: 24px;
  right: 38px;
  z-index: 600;
  display: none;
}

.go-top a,
.go-top a:visited {
  text-decoration: none;
  border: 0 none;
  display: block;
  height: 42px;
  width: 42px;
  line-height: 42px;
  text-align: center;
  background: black;
  color: #ff99cc;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
}

.go-top a i {
  font-size: 18px;
  line-height: inherit;
}

.go-top a:hover,
.go-top a:focus {
  color: #fff;
}
