/*
Theme Name: LocInfinix
Theme URI: https://locinfinix.com
Author: Trendy Web Works
Author URI: https://trendywebworks.in
Description: A custom responsive WordPress theme developed by Trendy Web Works.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: locinfinix
Tags: custom-logo, custom-menu, featured-images, blog, e-commerce, responsive-layout
*/

:root {
  --green: #2ebbbb;
  --black: #060606;
  --text: #111;
  --muted: #777;
  --header-height: 96px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Rubik", Arial, sans-serif;
  color: var(--text);
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 46px, 0);
  transition:
    opacity .85s cubic-bezier(.22, 1, .36, 1),
    transform .85s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.from-left {
  transform: translate3d(-54px, 0, 0);
}

.reveal.from-right {
  transform: translate3d(54px, 0, 0);
}

.reveal.zoom-in {
  transform: scale(.94);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.section-title.reveal {
  transform: translate3d(-24px, 0, 0);
}

.section-title.reveal.is-visible {
  transform: translate3d(0, 0, 0);
}

.sidebar {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  min-height: var(--header-height);
  background: var(--black);
  z-index: 30;
  padding: 0 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
}

.logo {
  flex: 0 0 auto;
}

.logo img {
  height: 40px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 25px;
}

.main-nav a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: var(--header-height);
  white-space: nowrap;
  transition: color .25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--green);
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  height: 3px;
  margin: 6px 0;
  background: #fff;
}

.site,
.footer {
  margin-left: 0;
}

.section,
.testimonials {
  scroll-margin-top: var(--header-height);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--header-height);
  overflow: hidden;
  background: #000;
}

.hero-slide {
  position: absolute;
  inset: var(--header-height) 0 0;
  opacity: 0;
  transition: opacity 1s ease;
  background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), var(--bg) center/cover no-repeat;
}

.hero-slide.active {
  opacity: 1;
}

.hero-copy {
  position: absolute;
  top: 50%;
  color: #fff;
  transform: translateY(-50%);
  animation: heroRise .9s cubic-bezier(.22, 1, .36, 1) both;
}

.hero-left {
  left: 12%;
  text-align: left;
}

.hero-center {
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: min(760px, 90%);
}

.hero h1 {
  margin: 0 0 26px;
  font-size: 62px;
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 740px;
  margin: 0 0 38px;
  color: rgba(255, 255, 255, .88);
  font-size: 21px;
  line-height: 1.55;
  font-weight: 500;
}

@keyframes heroRise {
  from {
    opacity: 0;
    filter: blur(4px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

.hero-dots {
  position: absolute;
  right: 44px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 17px;
}

.hero-dots button {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 0;
  background: #e5e5e5;
  cursor: pointer;
}

.hero-dots button.active {
  background: #fff;
}

.play-button {
  width: 104px;
  height: 104px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.play-button:after {
  content: "";
  position: absolute;
  left: 41px;
  top: 30px;
  border-left: 31px solid #fff;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
}

.section {
  position: relative;
  padding: 150px 0;
  overflow: hidden;
}

.black {
  background-color: #000;
  color: #fff;
}

.white {
  background-color: #fff;
  color: #111;
}

.deco-black {
  background-image: url("https://demo.cocobasic.com/seppo-wp/wp-content/uploads/2018/09/on_black_left.png");
  background-position: left bottom;
  background-repeat: no-repeat;
}

.deco-white-left {
  background-image: url("https://demo.cocobasic.com/seppo-wp/wp-content/uploads/2018/09/on_white_left.png");
  background-position: left center;
  background-repeat: no-repeat;
}

.deco-white-right {
  background-image: url("https://demo.cocobasic.com/seppo-wp/wp-content/uploads/2018/09/on_white_right.png");
  background-position: right center;
  background-repeat: no-repeat;
}

.section-title {
  position: absolute;
  left: 0;
  top: 0;
  width: 170px;
  height: 170px;
  background: var(--green);
  color: #fff;
}

.section-title:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -40px;
  border-left: 85px solid transparent;
  border-right: 85px solid transparent;
  border-top: 40px solid var(--green);
}

.section-title h2 {
  margin: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  font-size: 18px;
  letter-spacing: 0;
}

.content {
  width: min(1170px, calc(100% - 100px));
  margin: 0 auto;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 58px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.copy-block {
  max-width: 520px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
}

#skills .split {
  gap: 110px;
  align-items: start;
}

#skills .copy-block {
  max-width: 540px;
}

#skills .eyebrow {
  margin: 0 0 30px;
  color: #b4b4b4;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 4px;
}

#skills .copy-block h2 {
  margin: 0 0 42px;
  color: #000;
  font-size: 61px;
  line-height: 1.16;
  font-weight: 700;
}

#skills .copy-block p {
  max-width: 525px;
  margin: 0 0 66px;
  color: #000;
  font-size: 18px;
  line-height: 1.95;
  font-weight: 400;
}

#skills .button {
  min-width: 190px;
  min-height: 60px;
  font-weight: 700;
}

.copy-block h2 {
  margin: 0 0 34px;
  font-size: 48px;
  line-height: 1.16;
}

p {
  font-size: 18px;
  line-height: 1.95;
  color: #000;
}

.black p {
  color: #c8c8c8;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 40px;
  border: 2px solid var(--green);
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  transition: .25s ease;
}

.button:hover {
  background: #fff;
  color: var(--green);
}

.service {
  position: relative;
  display: block;
  min-height: 360px;
  padding-top: 95px;
}

.index {
  margin: -18px 0 0;
  color: var(--green);
  font-size: 120px;
  line-height: .8;
  font-weight: 700;
}

.service .index {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .85);
  text-stroke: 1px rgba(255, 255, 255, .85);
  font-size: 188px;
  line-height: .72;
  font-weight: 700;
  opacity: .9;
}

.service h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
  font-size: 45px;
  line-height: 1.05;
  font-weight: 700;
  color: #fff;
}

.service p:not(.index) {
  position: relative;
  z-index: 1;
  max-width: 310px;
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.75;
  font-weight: 400;
}

.dot-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 66px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 3px;
}

.dot-link:before {
  content: "";
  display: block;
  width: 34px;
  height: 34px;
  border: 2px solid #fff;
  border-radius: 50%;
  transition: border-color .25s ease, background-color .25s ease;
}

.dot-link:after {
  content: none;
}

.dot-link:hover {
  color: var(--green);
}

.dot-link:hover:before {
  border-color: var(--green);
}

.portrait {
  width: min(544px, 100%);
  justify-self: end;
}

.tall-lift {
  transform: translateY(-55px);
}

.testimonials {
  min-height: 748px;
  display: grid;
  place-items: center;
  padding: 56px 70px 24px;
  margin-left: 0;
  background: linear-gradient(rgba(0, 0, 0, .48), rgba(0, 0, 0, .48)), var(--bg) center/cover no-repeat;
  color: #fff;
  text-align: left;
}

.testimonial-track {
  position: relative;
  width: min(1170px, 100%);
  min-height: 668px;
  padding: 130px 130px 100px;
  background: #000;
}

.testimonial {
  position: absolute;
  left: 130px;
  right: 130px;
  top: 130px;
  bottom: 100px;
  opacity: 0;
  transform: translateY(18px);
  transition: .6s ease;
}

.testimonial.active {
  opacity: 1;
  transform: translateY(0);
}

.testimonial:before {
  content: "";
  display: block;
  width: 86px;
  height: 73px;
  margin-bottom: 54px;
  background:
    linear-gradient(var(--green), var(--green)) 0 100% / 38px 3px no-repeat,
    linear-gradient(var(--green), var(--green)) 0 100% / 3px 39px no-repeat,
    linear-gradient(135deg, transparent 47%, var(--green) 48%, var(--green) 52%, transparent 53%) 0 0 / 38px 73px no-repeat,
    linear-gradient(var(--green), var(--green)) 48px 100% / 38px 3px no-repeat,
    linear-gradient(var(--green), var(--green)) 48px 100% / 3px 39px no-repeat,
    linear-gradient(135deg, transparent 47%, var(--green) 48%, var(--green) 52%, transparent 53%) 48px 0 / 38px 73px no-repeat;
}

.testimonial p {
  max-width: 850px;
  margin: 0;
  color: #c7c7c7;
  font-size: 29px;
  line-height: 1.65;
  font-weight: 700;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 62px;
}

.testimonial-author img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  margin: 0 12px 0 0;
  object-fit: cover;
}

.testimonial-author h3 {
  margin: 0;
  color: #bfbfbf;
  font-size: 19px;
  line-height: 1;
  font-weight: 700;
}

.testimonial-author span {
  color: #fff;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 6px;
}

.testimonial-arrows {
  position: absolute;
  right: 132px;
  bottom: 145px;
  display: flex;
  gap: 24px;
  z-index: 5;
}

.testimonial-arrows button {
  width: 34px;
  height: 30px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  opacity: .75;
  transition: opacity .25s ease;
}

.testimonial-arrows button:hover {
  opacity: 1;
}

.testimonial-arrows button:before {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  border-top: 3px solid #bfbfbf;
  border-left: 3px solid #bfbfbf;
}

.testimonial-prev:before {
  transform: rotate(-45deg) translate(6px, 6px);
}

.testimonial-next:before {
  transform: rotate(135deg) translate(6px, -6px);
}

.news-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 108px;
  align-items: start;
}

.post-card {
  min-height: 0;
  padding: 0;
  background: transparent;
}

.post-card img {
  width: 100%;
  aspect-ratio: 384 / 600;
  height: auto;
  object-fit: cover;
  object-position: center;
  margin-bottom: 34px;
}

.post-card a {
  display: block;
  color: #000;
  font-size: 35px;
  line-height: 1.07;
  font-weight: 700;
  letter-spacing: 0;
}

.post-card a:hover {
  color: var(--green);
}

.post-card p {
  max-width: 100%;
  margin: 38px 0 0;
  color: #b3b3b3;
  font-size: 18px;
  line-height: 1.95;
  font-weight: 700;
}

.center {
  text-align: center;
  margin-top: 64px;
}

.portfolio-section {
  padding: 0;
}

.portfolio-section .section-title {
  z-index: 4;
  width: 335px;
  height: 109px;
}

.portfolio-section .section-title:after {
  left: auto;
  right: -49px;
  bottom: 0;
  border: 0;
  border-top: 109px solid var(--green);
  border-right: 49px solid transparent;
}

.portfolio-section .section-title h2 {
  left: 91px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 3px;
}

.portfolio-grid {
  display: grid;
  width: 100%;
  min-height: calc(100vh - var(--header-height));
  grid-template-columns: 22% 26% 27% 25%;
  grid-template-rows: 50% 50%;
  gap: 0;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  color: #fff;
}

.portfolio-item.tall {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.portfolio-item:nth-child(2) {
  grid-column: 2 / span 2;
  grid-row: 1 / span 2;
}

.portfolio-item:nth-child(3) {
  grid-column: 4;
  grid-row: 1;
}

.portfolio-item:nth-child(4) {
  grid-column: 4;
  grid-row: 2;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.portfolio-item:after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  opacity: 0;
  transition: .3s ease;
}

.portfolio-item span {
  position: absolute;
  left: 38px;
  bottom: 34px;
  z-index: 2;
  opacity: 0;
  transform: translateY(12px);
  transition: .3s ease;
  font-size: 26px;
  font-weight: 700;
}

.portfolio-item small {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 13px;
}

.portfolio-item:hover:after,
.portfolio-item:hover span {
  opacity: 1;
  transform: translateY(0);
}

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

.load-more {
  border: 0;
  background: transparent;
  color: #000;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 2px;
}

.load-more:hover {
  color: var(--green);
}

.price-card {
  position: relative;
  min-height: 734px;
  padding: 46px 48px 38px;
  border-top: 2px solid #000;
  border-left: 2px solid #000;
  border-right: 2px solid #000;
  display: flex;
  flex-direction: column;
}

.price-card .index {
  position: absolute;
  right: -1px;
  top: -30px;
  left: auto;
  margin: 0;
  color: transparent;
  -webkit-text-stroke: 1px #bfbfbf;
  text-stroke: 1px #bfbfbf;
  font-size: 198px;
  line-height: .78;
  font-weight: 700;
  z-index: 0;
}

.price-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 78px;
  color: #000;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
}

.price-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 20px;
  color: var(--green);
  font-size: 100px;
  line-height: 1;
  font-weight: 700;
}

.price-card span {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 42px;
  color: #b4b4b4;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 3px;
}

.price-card ul {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0 0 56px;
  padding: 0;
}

.price-card li {
  position: relative;
  margin: 0 0 30px;
  padding-left: 43px;
  color: #000;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 400;
}

.price-card li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--green);
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
}

.price-card .muted {
  color: #808080;
}

.price-card .muted:before {
  content: "×";
  top: -3px;
  font-size: 26px;
}

.price-card .button {
  align-self: center;
  margin-top: auto;
  min-width: 202px;
  min-height: 59px;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 700;
}

.team-list {
  display: grid;
  gap: 120px;
}

.member {
  position: relative;
  display: grid;
  grid-template-columns: 47% 53%;
  gap: 0;
  align-items: center;
  min-height: 700px;
}

.member.reverse {
  grid-template-columns: 53% 47%;
}

.member.reverse img {
  order: 2;
  justify-self: end;
}

.member.reverse>div {
  order: 1;
  margin-left: 0;
  margin-right: -130px;
  justify-self: end;
}

.member img {
  width: 100%;
  max-width: 545px;
  height: 700px;
  object-fit: cover;
}

.member>div {
  position: relative;
  z-index: 2;
  width: min(600px, 100%);
  min-height: 582px;
  margin-left: -130px;
  padding: 60px;
  background: #fff;
  color: #000;
}

.member .eyebrow {
  margin-bottom: 14px;
  color: #b4b4b4;
  font-size: 16px;
  letter-spacing: 3px;
}

.member h3 {
  margin: 0 0 44px;
  color: #000;
  font-size: 50px;
  line-height: 1.08;
  font-weight: 700;
}

.member p:not(.eyebrow) {
  margin: 0 0 20px 0;
  color: #000;
  font-size: 18px;
  line-height: 1.95;
  font-weight: 400;
}

.socials {
  position: absolute;
  left: -62px;
  bottom: -38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
  width: 314px;
  height: 89px;
  margin: 0;
  padding: 0;
  background: var(--green);
}

.member.reverse .socials {
  left: auto;
  right: -62px;
}

.socials a {
  color: #fff;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
}

.skills-list {
  display: grid;
  gap: 40px;
  padding-top: 28px;
}

.skill {
  display: grid;
  grid-template-columns: 118px 1fr;
  align-items: start;
  gap: 28px;
}

.skill strong {
  color: #000;
  font-size: 50px;
  line-height: .92;
  font-weight: 400;
}

.skill span {
  display: block;
  margin-bottom: 8px;
  color: #000;
  font-size: 23px;
  line-height: 1;
  font-weight: 700;
}

.skill i {
  display: block;
  height: 10px;
  background: #ededed;
  position: relative;
  overflow: hidden;
}

.skill i:before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: #000;
  transition: width 1.2s ease;
}

.skill.visible i:before {
  width: var(--value);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero-copy,
  .skill i:before {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .skill i:before {
    width: var(--value);
  }
}

.milestone-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 90px 120px;
  padding: 0;
}

.milestone-grid li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  align-items: start;
}

.milestone-grid strong {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .9);
  text-stroke: 1px rgba(255, 255, 255, .9);
  font-size: 60px;
  line-height: .78;
  font-weight: 700;
  letter-spacing: 0;
}

.milestone-grid h3 {
  max-width: 330px;
  margin: -5px 0 26px;
  color: #fff;
  font-size: 29px;
  line-height: 1.1;
  font-weight: 700;
}

.milestone-grid p {
  max-width: 385px;
  margin: 0;
  color: #bfbfbf;
  font-size: 18px;
  line-height: 1.95;
  font-weight: 400;
}

.contact-form {
  display: grid;
  padding-top: 10px;
}

.contact-form form,
.contact-form .wpcf7-form {
  display: grid;
  gap: 36px;
}

.contact-form p {
  margin: 0;
}

.contact-form label {
  display: grid;
  gap: 10px;
  color: #000;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-form .wpcf7-form-control-wrap {
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 3px solid #111;
  padding: 0 10px 10px;
  font: inherit;
  color: #000;
  font-size: 16px;
  font-weight: 700;
  outline: none;
  background: transparent;
}

.contact-form input {
  height: 50px;
  margin: 0 0 10px 0;
}

.contact-form textarea {
  min-height: 100px;
  resize: vertical;
  margin: 0 0 10px 0;
}

.contact-form ::placeholder {
  color: #000;
  opacity: 1;
  font-size: 16px;
  font-weight: 700;
}

.contact-form input[type="submit"],
.contact-form button {
  appearance: none;
  justify-self: stretch;
  width: 100%;
  margin-top: 0;
  min-width: 0;
  min-height: 59px;
  padding: 0 28px;
  border: 0;
  border-bottom: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}

.contact-form input[type="submit"]:hover,
.contact-form button:hover {
  background: #111;
  color: var(--green);
}

.contact-form .wpcf7-spinner {
  margin: 0;
}

.contact-form .wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
}

.contact-form .wpcf7-response-output {
  margin: 0;
}

.form-status {
  margin: 0;
  color: var(--green);
}

#contact .split {
  gap: 118px;
  align-items: start;
}

#contact .copy-block {
  max-width: 560px;
}

#contact .eyebrow {
  margin: 0 0 32px;
  color: #b4b4b4;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 4px;
}

#contact .copy-block h2 {
  margin: 0 0 42px;
  color: #000;
  font-size: 61px;
  line-height: 1.16;
  font-weight: 700;
}

#contact .copy-block p {
  max-width: 548px;
  margin: 0;
  color: #000;
  font-size: 18px;
  line-height: 1.95;
  font-weight: 400;
}

.line-socials {
  display: flex;
  align-items: center;
  gap: 21px;
  margin-top: 67px;
}

.line-socials a {
  color: #000;
  font-size: 27px;
  line-height: 1;
  font-weight: 700;
}

.line-socials a:hover {
  color: var(--green);
}

.footer {
  position: relative;
  min-height: 0;
  padding: 78px 50px 0;
  color: #fff;
  overflow: hidden;
  background: #121212;
}

.footer:before,
.footer:after {
  content: none;
  display: none;
}

.footer>* {
  position: relative;
  z-index: 1;
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 92px);
  align-items: start;
}

.footer-legal {
  display: block;
  text-align: left;
  max-width: 560px;
  min-width: 0;
}

.footer-copy {
  display: block;
}

.footer-logo {
  display: block;
  height: 40px;
  margin: 0 0 28px;
}

.footer-copy p,
.footer-copy address,
.footer-copy a {
  display: block;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, .92);
  font-size: 15px;
  line-height: 1.55;
  font-style: normal;
  font-weight: 400;
  text-align: left;
}

.footer-copy :last-child {
  margin-bottom: 0;
}

.footer-copy p a {
  margin: 0;
}

.footer-contact {
  display: block;
  justify-self: center;
  width: min(100%, 480px);
  min-width: 0;
  text-align: center;
}

.footer-details {
  display: grid;
  justify-items: center;
  gap: 26px;
}

.footer-details img {
  display: block;
  width: 78px;
}

.footer-details span {
  display: block;
  width: 2px;
  height: 50px;
  background: rgba(255, 255, 255, .9);
}

.footer-details h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  font-weight: 700;
}

.footer-details>a {
  display: block;
  color: #fff;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.footer-details p {
  display: block;
  margin: 0;
  color: #fff;
  font-size: 15px;
  line-height: 1;
  font-weight: 400;
}

.footer-details p a {
  color: #fff;
}

.footer-bottom {
  width: min(1080px, 100%);
  margin: 66px auto 0;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
  text-align: left;
}

.footer a:hover {
  color: var(--green);
}

@media (max-width: 1180px) {
  :root {
    --header-height: 86px;
  }

  .sidebar {
    padding: 0 34px;
    gap: 28px;
  }

  .main-nav {
    gap: 17px;
  }

  .main-nav a {
    font-size: 13px;
    line-height: var(--header-height);
  }

  .hero h1 {
    font-size: 56px;
  }

  .grid-3 {
    gap: 35px;
  }

  .news-list {
    gap: 54px;
  }

  .post-card a {
    font-size: 30px;
  }

  .post-card p {
    font-size: 17px;
  }

  .index {
    font-size: 90px;
  }

  .price-card {
    padding: 42px 34px 38px;
  }

  .price-card .index {
    font-size: 165px;
  }

  .price-card strong {
    font-size: 82px;
  }

  .price-card li {
    font-size: 18px;
  }

  .member>div {
    margin-left: -90px;
    padding: 62px 72px 100px;
  }

  .member.reverse>div {
    margin-right: -90px;
  }

  .member h3 {
    font-size: 42px;
  }

  #skills .split {
    gap: 60px;
  }

  #contact .split {
    gap: 70px;
  }

  #skills .copy-block h2 {
    font-size: 52px;
  }

  #contact .copy-block h2 {
    font-size: 52px;
  }

  .skill {
    grid-template-columns: 108px 1fr;
  }

  .skill strong {
    font-size: 44px;
  }

  .milestone-grid {
    gap: 78px 70px;
  }

  .milestone-grid li {
    grid-template-columns: 125px 1fr;
  }

  .milestone-grid strong {
    font-size: 50px;
  }

  .milestone-grid h3 {
    font-size: 25px;
  }

  .service .index {
    font-size: 160px;
  }

  .service h3 {
    font-size: 38px;
  }

  .service p:not(.index) {
    font-size: 18px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 76px;
  }

  .sidebar {
    min-height: var(--header-height);
    padding: 0 26px;
  }

  .logo img {
    height: 40px;
    margin: 0;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: none;
    padding: 28px;
    background: #060606;
  }

  .sidebar.open .main-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .main-nav a {
    line-height: 1.3;
  }

  .site,
  .footer,
  .testimonials {
    margin-left: 0;
  }

  .footer {
    min-height: 0;
    padding: 72px 28px 58px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .footer-legal {
    max-width: 680px;
  }

  .footer-contact {
    justify-self: start;
    text-align: left;
  }

  .footer-details {
    justify-items: start;
  }

  .footer-details>a {
    font-size: clamp(26px, 7vw, 34px);
  }

  .hero {
    min-height: 720px;
  }

  .hero-left {
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
  }

  .hero h1 {
    font-size: 42px;
  }

  .section {
    padding: 130px 0 90px;
  }

  .section-title {
    width: 130px;
    height: 130px;
  }

  .section-title:after {
    border-left-width: 65px;
    border-right-width: 65px;
  }

  .grid-3,
  .split,
  .member,
  .member.reverse,
  .milestone-grid {
    grid-template-columns: 1fr;
  }

  .news-list {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .post-card {
    max-width: 520px;
    margin: 0 auto;
  }

  .member,
  .member.reverse {
    min-height: 0;
  }

  .member img,
  .member.reverse img {
    order: 0;
    justify-self: center;
    height: auto;
    max-height: none;
  }

  .member>div,
  .member.reverse>div {
    order: 1;
    justify-self: center;
    width: min(600px, calc(100% - 32px));
    min-height: 0;
    margin: -70px 0 0;
    padding: 58px 54px 92px;
  }

  .socials,
  .member.reverse .socials {
    left: 50%;
    right: auto;
    bottom: -38px;
    transform: translateX(-50%);
  }

  .portfolio-section .section-title {
    width: 230px;
    height: 92px;
  }

  .portfolio-section .section-title:after {
    right: -42px;
    border-top-width: 92px;
    border-right-width: 42px;
  }

  .portfolio-section .section-title h2 {
    left: 54px;
  }

  .portfolio-grid {
    min-height: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 320px);
  }

  .portfolio-item.tall {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .portfolio-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .portfolio-item:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
  }

  .portfolio-item:nth-child(4) {
    grid-column: 2;
    grid-row: 3;
  }

  .tall-lift {
    transform: none;
  }

  .testimonials {
    padding: 40px 24px;
    min-height: 690px;
  }

  .testimonial-track {
    min-height: 600px;
    padding: 86px 56px 82px;
  }

  .testimonial {
    left: 56px;
    right: 56px;
    top: 86px;
    bottom: 82px;
  }

  .testimonial p {
    font-size: 23px;
  }

  .testimonial-arrows {
    right: 56px;
    bottom: 86px;
  }
}

@media (max-width: 560px) {
  .content {
    width: calc(100% - 44px);
  }

  .hero {
    min-height: 620px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-dots {
    right: 22px;
  }

  .section {
    padding-top: 115px;
  }

  .section-title {
    width: 105px;
    height: 105px;
  }

  .section-title:after {
    border-left-width: 52.5px;
    border-right-width: 52.5px;
    border-top-width: 30px;
    bottom: -30px;
  }

  .copy-block h2 {
    font-size: 38px;
  }

  #skills .copy-block h2 {
    font-size: 46px;
  }

  #contact .copy-block h2 {
    font-size: 46px;
  }

  #skills .copy-block p {
    margin-bottom: 44px;
  }

  .skills-list {
    padding-top: 0;
  }

  .service {
    grid-template-columns: 1fr;
  }

  .milestone-grid li {
    grid-template-columns: 125px 1fr;
  }

  .skill {
    grid-template-columns: 116px 1fr;
    gap: 28px;
  }

  .service {
    min-height: 330px;
  }

  .service .index {
    font-size: 145px;
  }

  .service h3 {
    font-size: 36px;
  }

  .dot-link {
    margin-top: 44px;
  }

  .index {
    font-size: 82px;
  }

  .portfolio-section .section-title {
    width: 190px;
    height: 82px;
  }

  .portfolio-section .section-title:after {
    right: -34px;
    border-top-width: 82px;
    border-right-width: 34px;
  }

  .portfolio-section .section-title h2 {
    left: 38px;
    font-size: 14px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 360px);
  }

  .portfolio-item.tall,
  .portfolio-item:nth-child(2),
  .portfolio-item:nth-child(3),
  .portfolio-item:nth-child(4) {
    grid-column: 1;
    grid-row: auto;
  }

  .post-card {
    max-width: 100%;
  }

  .post-card img {
    margin-bottom: 28px;
  }

  .post-card a {
    font-size: 30px;
  }

  .post-card p {
    margin-top: 26px;
    font-size: 17px;
  }

  .testimonials {
    padding: 28px 18px;
    min-height: 640px;
  }

  .testimonial-track {
    min-height: 570px;
    padding: 62px 28px 74px;
  }

  .testimonial {
    left: 28px;
    right: 28px;
    top: 62px;
    bottom: 74px;
  }

  .testimonial:before {
    margin-bottom: 36px;
    transform: scale(.72);
    transform-origin: left top;
  }

  .testimonial p {
    font-size: 19px;
    line-height: 1.65;
  }

  .testimonial-author {
    margin-top: 42px;
    gap: 10px;
  }

  .testimonial-author img {
    width: 56px;
    height: 56px;
    margin-right: 6px;
  }

  .testimonial-author h3 {
    font-size: 16px;
  }

  .testimonial-author span {
    font-size: 14px;
    letter-spacing: 4px;
  }

  .testimonial-arrows {
    right: 28px;
    bottom: 38px;
    gap: 16px;
  }

  .team-list {
    gap: 100px;
  }

  .member>div,
  .member.reverse>div {
    width: calc(100% - 24px);
    margin-top: -42px;
    padding: 42px 30px 82px;
  }

  .member h3 {
    font-size: 36px;
    margin-bottom: 28px;
  }

  .member p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.8;
  }

  .socials {
    width: 260px;
    height: 72px;
    gap: 18px;
  }

  .socials a {
    font-size: 20px;
  }

  #skills .copy-block h2 {
    font-size: 40px;
  }

  #contact .copy-block h2 {
    font-size: 40px;
  }

  #skills .copy-block p {
    font-size: 16px;
  }

  #contact .copy-block p {
    font-size: 16px;
  }

  .line-socials {
    margin-top: 42px;
  }

  .contact-form {
    padding-top: 0;
  }

  .contact-form form,
  .contact-form .wpcf7-form {
    gap: 28px;
  }

  .skill strong {
    font-size: 40px;
  }

  .skill span {
    font-size: 20px;
  }

  .milestone-grid {
    gap: 56px;
  }

  .milestone-grid li {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .milestone-grid strong {
    font-size: 50px;
  }

  .milestone-grid h3 {
    margin-bottom: 18px;
    font-size: 26px;
  }

  .milestone-grid p {
    font-size: 16px;
  }

  .price-card {
    min-height: 690px;
    padding: 42px 32px 0;
  }

  .price-card .index {
    position: absolute;
    right: 0;
    top: -20px;
    font-size: 132px;
  }

  .price-card h3 {
    margin-bottom: 62px;
  }

  .price-card strong {
    font-size: 72px;
  }

  .price-card span {
    font-size: 15px;
  }

  .price-card li {
    font-size: 17px;
    padding-left: 36px;
  }

  .footer {
    min-height: 520px;
    padding: 76px 28px 0;
  }

  .footer-legal {
    text-align: center;
  }

  .footer-copy p,
  .footer-copy address {
    font-size: 14px;
  }

  .footer-details>a {
    font-size: 30px;
  }

  .footer-details span {
    width: 2px;
    height: 50px;
  }

  .footer-details p {
    font-size: 14px;
  }

  .footer-bottom {
    margin-top: 52px;
  }
}