:root {
  --sm-red: #f23352;
  --sm-red-dark: #da2844;
  --sm-gray: #e3e3e3;
  --sm-dark: #2a2738;
  --sm-text: #30303a;
  --sm-white: #ffffff;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  color: var(--sm-text);
  background: var(--sm-gray);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
}

.site-container {
  max-width: var(--container);
}

.section-red {
  background: var(--sm-red);
  color: var(--sm-white);
}

.section-gray {
  background: var(--sm-gray);
  color: var(--sm-text);
}

.site-header {
  padding-top: 38px;
  transition: padding .35s ease, background .35s ease, box-shadow .35s ease;
  z-index: 30;
}

.site-header.is-scrolled {
  padding-top: 0;
  background: rgba(242, 51, 82, .92);
  box-shadow: 0 12px 35px rgba(42, 39, 56, .12);
  backdrop-filter: blur(16px);
}

.navbar {
  min-height: 62px;
  padding: 0;
}

.navbar-brand img {
  width: 228px;
  height: auto;
}

.navbar-nav .nav-link {
  position: relative;
  padding: 10px 0;
  color: rgba(255, 255, 255, .92);
  font-size: 20px;
  font-weight: 400;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, .42);
  box-shadow: none;
}

.hero-section {
  position: relative;
  min-height: 1370px;
  overflow: hidden;
  padding-top: 150px;
}

.hero-grid {
  position: absolute;
  left: 0;
  right: 0;
  top: 370px;
  width: 100%;
  min-width: 1280px;
  opacity: .12;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: driftMesh 12s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 635px;
  display: flex;
  align-items: center;
}

.hero-title {
  margin: 0;
  color: var(--sm-white);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-title span,
.hero-title strong {
  display: block;
  font-size: clamp(56px, 5vw, 76px);
}

.typing-title {
  width: 11ch;
  max-width: 100%;
  min-height: calc(3 * clamp(56px, 5vw, 76px) * 1.08);
}

.typing-line {
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}

.typing-line.is-typing::after,
.typing-line.is-complete:last-child::after {
  content: "";
  display: inline-block;
  width: .08em;
  height: .82em;
  margin-left: .12em;
  background: currentColor;
  vertical-align: -.08em;
  animation: typingCursor .75s steps(1) infinite;
}

.typing-line.is-complete:not(:last-child)::after {
  opacity: 0;
}

.hero-title span:first-child {
  font-weight: 300;
}

.hero-title span:nth-child(2) {
  font-weight: 500;
}

.hero-title strong {
  font-weight: 800;
}

.hero-visual {
  position: static;
  min-height: 700px;
}

.hero-man {
  position: absolute;
  right: auto;
  left: 31vw;
  top: 205px;
  width: auto;
  height: min(53vw, 686px);
  max-width: none;
  filter: drop-shadow(0 26px 34px rgba(128, 18, 40, .12));
  animation: floatHero 5.2s ease-in-out infinite;
  will-change: transform;
}

.orb {
  position: absolute;
  width: 18px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle at 32% 25%, #44d7ff 0 15%, #0097d8 48%, #076bad 100%);
  box-shadow: 0 8px 20px rgba(0, 106, 172, .3);
  animation: bob 4.8s ease-in-out infinite;
}

.orb-a {
  right: 84px;
  top: 118px;
  width: 24px;
}

.orb-b {
  right: -18px;
  top: 235px;
}

.orb-c {
  left: 210px;
  top: 160px;
  width: 10px;
  animation-delay: -.8s;
}

.orb-d {
  left: 390px;
  top: 165px;
  width: 11px;
  animation-delay: -1.4s;
}

.intro-block {
  position: relative;
  z-index: 3;
  padding-top: 76px;
}

.wiggle {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  transform: scaleX(1.2);
}

.wiggle.dark {
  color: var(--sm-dark);
}

.wiggle.light {
  color: rgba(255, 255, 255, .82);
}

.wordmark-bg {
  position: absolute;
  z-index: -1;
  font-size: clamp(86px, 9vw, 142px);
  font-weight: 900;
  line-height: .78;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .25);
  text-stroke: 1px rgba(255, 255, 255, .25);
  opacity: .95;
  pointer-events: none;
}

.intro-block .wordmark-bg {
  left: 14px;
  top: 100px;
}

.intro-block h2 {
  margin: 0;
  color: var(--sm-white);
  font-size: clamp(36px, 3.3vw, 48px);
  font-weight: 600;
  line-height: 1.22;
}

.intro-block p {
  max-width: 520px;
  margin: 84px 0 0;
  color: rgba(255, 255, 255, .94);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.9;
}

.circle-btn {
  display: inline-grid;
  place-items: center;
  flex: 0 0 52px;
  width: 52px;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, .95);
  border-radius: 999px;
  background: transparent;
  color: var(--sm-white);
  font-size: 26px;
  line-height: 1;
  transition: transform .28s ease, background .28s ease, color .28s ease;
}

.circle-btn:hover {
  transform: translateY(-3px) scale(1.04);
  background: var(--sm-white);
  color: var(--sm-red);
}

.about-section {
  position: relative;
  padding: 126px 0 116px;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 52%;
  background: linear-gradient(180deg, rgba(242, 51, 82, .11), rgba(227, 227, 227, 0));
  pointer-events: none;
}

.about-heading .wordmark-bg {
  left: -20px;
  top: 58px;
}

.about-heading h2 {
  max-width: 620px;
  margin-bottom: 34px;
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1.18;
}

.about-heading p,
.about-copy p {
  max-width: 640px;
  color: rgba(48, 48, 58, .76);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.9;
}

.about-copy {
  margin-top: 28px;
}

.about-copy p {
  margin: 0;
}

.about-panel {
  position: relative;
  padding: 34px;
  border-radius: 8px;
  background: var(--sm-dark);
  color: var(--sm-white);
  box-shadow: 0 32px 70px rgba(42, 39, 56, .22);
  overflow: hidden;
}

.about-panel::before {
  content: "";
  position: absolute;
  right: -96px;
  top: -96px;
  width: 220px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(242, 51, 82, .46);
}

.about-panel::after {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -110px;
  width: 250px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px;
}

.about-panel-header,
.about-metrics,
.about-principles {
  position: relative;
  z-index: 1;
}

.about-panel-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.about-panel-header span {
  display: inline-grid;
  place-items: center;
  width: 64px;
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--sm-red);
  color: var(--sm-white);
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(242, 51, 82, .34);
}

.about-panel-header strong {
  font-size: 18px;
  font-weight: 700;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.about-metrics article {
  min-height: 142px;
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
}

.about-metrics article:last-child {
  grid-column: 1 / -1;
}

.about-metrics strong {
  display: block;
  margin-bottom: 10px;
  color: var(--sm-white);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 900;
  line-height: 1;
}

.about-metrics span {
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  font-weight: 300;
}

.about-principles {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.about-principles span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  color: var(--sm-dark);
  font-size: 14px;
  font-weight: 700;
}

.about-principles i {
  color: var(--sm-red);
  font-size: 18px;
}

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

.services-man {
  width: min(92%, 504px);
  filter: drop-shadow(0 32px 45px rgba(42, 39, 56, .08));
  animation: floatSlow 6s ease-in-out infinite;
}

.section-heading {
  position: relative;
  z-index: 1;
}

.section-heading .wordmark-bg {
  left: -18px;
  top: 44px;
}

.gray-word {
  -webkit-text-stroke: 1px rgba(42, 39, 56, .12);
  text-stroke: 1px rgba(42, 39, 56, .12);
}

.section-heading h2 {
  margin: 0 0 38px;
  color: var(--sm-text);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 700;
  line-height: 1.34;
}

.section-heading p {
  max-width: 610px;
  margin: 0;
  color: rgba(48, 48, 58, .72);
  font-size: 17px;
  font-weight: 300;
  line-height: 2;
}

.project-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  border: 0;
  border-radius: 4px;
  background: var(--sm-dark);
  color: var(--sm-white);
  box-shadow: 0 16px 35px rgba(42, 39, 56, .12);
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
}

.project-tabs button:hover,
.project-tabs button.active {
  transform: translateY(-4px);
  background: #211f2e;
  box-shadow: 0 24px 45px rgba(42, 39, 56, .18);
}

.services-carousel {
  margin-top: 34px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  position: relative;
  min-height: 292px;
  padding: 34px 28px 30px;
  border-radius: 8px;
  background: var(--sm-white);
  color: var(--sm-text);
  box-shadow: 0 22px 50px rgba(42, 39, 56, .11);
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 5px solid var(--sm-red);
  opacity: .95;
  pointer-events: none;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -48px;
  width: 138px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(242, 51, 82, .1);
  pointer-events: none;
}

.service-card i {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 58px;
  aspect-ratio: 1;
  margin-bottom: 26px;
  border-radius: 8px;
  background: var(--sm-red);
  color: var(--sm-white);
  font-size: 28px;
  box-shadow: 0 16px 34px rgba(242, 51, 82, .28);
}

.service-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  color: var(--sm-dark);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.service-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(48, 48, 58, .72);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
}

.service-card:hover {
  transform: translateY(-6px);
  background: #fbfbfb;
  box-shadow: 0 26px 55px rgba(42, 39, 56, .16);
}

.services-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 32px;
}

.service-arrow {
  border-color: var(--sm-red);
  color: var(--sm-red);
}

.service-arrow:hover {
  background: var(--sm-red);
  color: var(--sm-white);
}

.services-indicators {
  position: static;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.services-indicators [data-bs-target] {
  width: 34px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(42, 39, 56, .24);
  opacity: 1;
  transition: width .28s ease, background .28s ease;
}

.services-indicators .active {
  width: 52px;
  background: var(--sm-red);
}

.projects-section {
  position: relative;
  overflow: hidden;
  padding-top: 86px;
}

.section-heading.compact {
  display: inline-block;
  min-width: min(760px, 100%);
}

.section-heading.compact .wordmark-bg {
  left: 50%;
  top: 56px;
  transform: translateX(-50%);
  font-size: clamp(78px, 10vw, 142px);
}

.section-heading.compact h2 {
  margin-bottom: 46px;
  font-size: clamp(31px, 3.1vw, 44px);
  line-height: 1.35;
}

.project-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.project-tabs button {
  min-width: 112px;
  padding: 0 34px;
  font-size: 16px;
  font-weight: 600;
}

.project-tabs button span {
  display: inline-grid;
  place-items: center;
  min-width: 25px;
  height: 25px;
  border-radius: 999px;
  background: var(--sm-red);
  color: var(--sm-white);
  font-size: 12px;
  font-weight: 800;
}

.project-showcase {
  position: relative;
  min-height: 1080px;
  margin-top: 96px;
  padding-top: 104px;
  padding-bottom: 110px;
  background: var(--sm-red);
  --project-primary: #6a941b;
  --project-secondary: #d6bf78;
}

.project-wave {
  position: absolute;
  left: 50%;
  top: -130px;
  width: 100%;
  min-width: 1320px;
  transform: translateX(-50%);
  pointer-events: none;
}

.project-showcase .site-container {
  position: relative;
  max-width: 1380px;
  min-height: 860px;
}

.portfolio-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(330px, 420px) 1fr;
  align-items: center;
  gap: 54px;
  min-height: 500px;
}

.project-spotlight {
  position: relative;
  z-index: 7;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: var(--sm-white);
  box-shadow: 0 24px 60px rgba(42, 39, 56, .12);
  backdrop-filter: blur(12px);
}

.project-spotlight::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 6px;
  height: 100%;
  border-radius: 8px 0 0 8px;
  background: var(--project-primary);
}

.spotlight-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-spotlight h3 {
  margin: 0 0 14px;
  font-size: clamp(30px, 2.6vw, 42px);
  font-weight: 800;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.project-spotlight p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, .84);
  font-size: 15px;
  line-height: 1.7;
}

.project-spotlight a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--sm-white);
  font-weight: 800;
  transition: gap .28s ease, opacity .28s ease;
}

.project-spotlight a:hover {
  gap: 16px;
  color: var(--sm-white);
  opacity: .86;
}

.devices {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 480px;
}

.phone-frame {
  position: relative;
  z-index: 2;
  width: min(23vw, 282px);
  margin-right: -42px;
  filter: drop-shadow(0 30px 36px rgba(42, 39, 56, .2));
}

.notebook-frame {
  position: relative;
  width: min(58vw, 780px);
  filter: drop-shadow(0 30px 36px rgba(42, 39, 56, .18));
}

.phone-device,
.notebook-device {
  position: relative;
  z-index: 3;
  width: 100%;
  pointer-events: none;
}

.phone-screen,
.notebook-screen {
  position: absolute;
  z-index: 4;
  overflow: hidden;
  background: #ffffff;
  color: var(--sm-text);
}

.phone-screen {
  inset: 7.5% 7.2% 5.2%;
  border-radius: 24px;
}

.notebook-screen {
  inset: 5% 12.1% 24.6%;
  border-radius: 6px;
}

.site-preview-frame {
  display: block;
  border: 0;
  background: var(--sm-white);
  transform: scale(var(--preview-scale, 1));
  transform-origin: 0 0;
}

.phone-preview-frame {
  width: 390px;
  height: 844px;
  pointer-events: none;
}

.desktop-preview-frame {
  width: 1280px;
  height: 760px;
  pointer-events: none;
}

.project-arrow {
  position: absolute;
  top: 31%;
  z-index: 5;
}

.project-arrow.left {
  left: -82px;
}

.project-arrow.right {
  right: -82px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 60px;
}

.portfolio-card {
  position: relative;
  min-height: 170px;
  padding: 22px 20px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--card-primary, #ffffff), transparent 8%), color-mix(in srgb, var(--card-secondary, #2a2738), transparent 0%));
  color: var(--sm-white);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(42, 39, 56, .12);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, opacity .28s ease;
}

.portfolio-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -45% 32%;
  width: 180px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  transition: transform .35s ease;
}

.portfolio-card span,
.portfolio-card h3,
.portfolio-card p {
  position: relative;
  z-index: 1;
}

.portfolio-card span {
  display: inline-flex;
  margin-bottom: 34px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .9);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.portfolio-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.05;
}

.portfolio-card p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  line-height: 1.45;
}

.portfolio-card:hover,
.portfolio-card.active {
  transform: translateY(-7px);
  border-color: rgba(255, 255, 255, .62);
  box-shadow: 0 28px 60px rgba(42, 39, 56, .2);
}

.portfolio-card:hover::before,
.portfolio-card.active::before {
  transform: scale(1.18) translate(-8px, -10px);
}

.portfolio-card.is-hidden {
  display: none;
}

.contact-section {
  min-height: 1000px;
  padding: 130px 0 190px;
  overflow: hidden;
}

.contact-copy {
  position: relative;
  z-index: 1;
  margin-bottom: 48px;
}

.contact-word {
  left: 0;
  top: 48px;
  color: rgba(255, 255, 255, .15);
  -webkit-text-stroke: 0;
  text-stroke: 0;
}

.contact-copy h2 {
  margin: 0;
  color: var(--sm-white);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 700;
  line-height: 1.45;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-field-check {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-feedback {
  min-height: 20px;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.contact-feedback.is-success {
  color: #fff;
}

.contact-feedback.is-error {
  color: #ffd7df;
}

.contact-form .form-control {
  min-height: 60px;
  border: 0;
  border-radius: 4px;
  padding: 17px 20px;
  color: var(--sm-text);
  font-size: 16px;
  box-shadow: none;
}

.contact-form textarea.form-control {
  min-height: 150px;
  resize: none;
}

.contact-form .form-control:focus {
  outline: 3px solid rgba(255, 255, 255, .28);
}

.btn-send {
  width: 190px;
  min-height: 58px;
  margin-top: 4px;
  border: 0;
  border-radius: 4px;
  background: #1e1e1f;
  color: var(--sm-white);
  font-size: 16px;
  font-weight: 500;
  transition: transform .28s ease, background .28s ease, box-shadow .28s ease;
}

.btn-send:hover {
  transform: translateY(-3px);
  background: var(--sm-dark);
  box-shadow: 0 22px 38px rgba(42, 39, 56, .2);
}

.contact-info {
  display: grid;
  align-content: start;
  gap: 28px;
  padding-top: 8px;
}

.contact-info > a {
  color: var(--sm-white);
  font-size: 17px;
  font-weight: 400;
}

.contact-image {
  width: min(100%, 541px);
  animation: floatSlow 6.4s ease-in-out infinite;
}

.whatsapp-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 60;
  display: inline-grid;
  place-items: center;
  width: 62px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: #25d366;
  color: var(--sm-white);
  font-size: 32px;
  box-shadow: 0 18px 38px rgba(37, 211, 102, .34);
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.04);
  background: #1ebe5d;
  color: var(--sm-white);
  box-shadow: 0 24px 48px rgba(37, 211, 102, .42);
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: .12s;
}

.reveal-delay-2 {
  transition-delay: .24s;
}

@keyframes floatHero {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -18px, 0) rotate(-1.6deg);
  }
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes bob {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-18px) scale(1.08);
  }
}

@keyframes driftMesh {
  from {
    transform: translate3d(-1.5%, 0, 0) scale(1.02);
  }
  to {
    transform: translate3d(1.5%, -18px, 0) scale(1.05);
  }
}

@keyframes typingCursor {
  0%, 48% {
    opacity: 1;
  }

  49%, 100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 1199.98px) {
  :root {
    --container: 960px;
  }

  .navbar-nav .nav-link {
    font-size: 18px;
  }

  .hero-man {
    right: auto;
    left: 30vw;
    width: auto;
    height: min(55vw, 620px);
  }

  .project-arrow.left {
    left: 18px;
  }

  .project-arrow.right {
    right: 18px;
  }
}

@media (max-width: 991.98px) {
  .site-header {
    padding-top: 14px;
    background: rgba(242, 51, 82, .95);
    backdrop-filter: blur(14px);
  }

  .navbar-collapse {
    padding: 20px 0 18px;
  }

  .navbar-nav .nav-link {
    font-size: 18px;
  }

  .hero-section {
    min-height: auto;
    padding: 124px 0 86px;
  }

  .hero-content {
    min-height: auto;
    text-align: center;
  }

  .typing-line {
    margin-inline: auto;
  }

  .hero-visual {
    min-height: 620px;
  }

  .hero-man {
    left: 50%;
    right: auto;
    top: 28px;
    width: min(100vw, 620px);
    height: auto;
    translate: -50% 0;
  }

  .hero-grid {
    top: 330px;
    left: 50%;
    width: 1600px;
    transform: translateX(-50%);
  }

  .intro-block {
    padding-top: 40px;
    text-align: center;
  }

  .intro-block .wordmark-bg,
  .section-heading .wordmark-bg,
  .contact-word {
    left: 50%;
    transform: translateX(-50%);
  }

  .intro-block p,
  .section-heading p {
    margin-inline: auto;
  }

  .intro-block p {
    margin-top: 28px;
  }

  .services-section {
    padding: 92px 0 104px;
    text-align: center;
  }

  .about-section {
    padding: 94px 0 98px;
    text-align: center;
  }

  .about-heading h2,
  .about-heading p,
  .about-copy p {
    margin-inline: auto;
  }

  .about-panel {
    max-width: 680px;
    margin-inline: auto;
    text-align: left;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    text-align: left;
  }

  .services-carousel-nav {
    justify-content: center;
  }

  .project-showcase {
    min-height: auto;
    padding-bottom: 88px;
  }

  .project-showcase .site-container {
    min-height: auto;
  }

  .portfolio-stage {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .project-spotlight {
    max-width: 640px;
    margin-inline: auto;
    text-align: left;
  }

  .devices {
    min-height: 400px;
  }

  .phone-frame {
    width: min(30vw, 210px);
  }

  .notebook-frame {
    width: min(68vw, 620px);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 40px;
  }

  .contact-section {
    padding: 94px 0 120px;
    text-align: center;
  }

  .contact-info {
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .navbar-brand img {
    width: 178px;
  }

  .hero-title span,
  .hero-title strong {
    font-size: clamp(44px, 13vw, 58px);
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-man {
    width: min(112vw, 560px);
  }

  .orb-a {
    right: 16%;
  }

  .orb-b {
    right: 6%;
  }

  .orb-c {
    left: 18%;
  }

  .orb-d {
    left: 42%;
  }

  .wiggle {
    font-size: 32px;
    margin-bottom: 14px;
  }

  .wordmark-bg {
    font-size: clamp(52px, 17vw, 82px);
  }

  .intro-block .wordmark-bg {
    top: 64px;
  }

  .circle-btn {
    flex-basis: 44px;
    width: 44px;
    font-size: 22px;
  }

  .services-man {
    width: min(100%, 390px);
  }

  .about-section {
    padding: 78px 0 82px;
  }

  .about-panel {
    padding: 24px;
  }

  .about-metrics {
    grid-template-columns: 1fr;
  }

  .about-metrics article:last-child {
    grid-column: auto;
  }

  .services-carousel {
    margin-top: 42px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-card {
    min-height: auto;
    padding: 24px 20px 22px;
  }

  .services-carousel-nav {
    gap: 14px;
  }

  .service-arrow {
    width: 46px;
    flex-basis: 46px;
  }

  .services-indicators [data-bs-target] {
    width: 26px;
  }

  .services-indicators .active {
    width: 40px;
  }

  .projects-section {
    padding-top: 66px;
  }

  .section-heading.compact h2 br {
    display: none;
  }

  .project-showcase {
    margin-top: 72px;
    padding-top: 92px;
  }

  .project-wave {
    top: -76px;
    min-width: 860px;
  }

  .devices {
    min-height: 310px;
  }

  .phone-frame {
    width: min(33vw, 150px);
    margin-right: -20px;
  }

  .notebook-frame {
    width: min(72vw, 420px);
  }

  .project-arrow {
    top: 48%;
  }


  .project-tabs button {
    min-width: 92px;
    padding: 0 18px;
  }

  .project-spotlight {
    padding: 24px;
  }

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

  .portfolio-card {
    min-height: 142px;
  }

  .contact-word {
    top: 46px;
  }

  .contact-image {
    width: min(100%, 390px);
  }

  .whatsapp-float {
    right: 18px;
    bottom: 18px;
    width: 54px;
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .site-container {
    padding-inline: 22px;
  }

  .hero-section {
    padding-top: 112px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .hero-grid {
    top: 290px;
    min-width: 900px;
  }

  .section-heading h2,
  .contact-copy h2,
  .intro-block h2 {
    font-size: 30px;
  }

  .project-tabs {
    gap: 10px;
  }

  .project-tabs button {
    min-width: 0;
    padding: 0 14px;
    font-size: 14px;
  }

  .project-tabs button span {
    min-width: 22px;
    height: 22px;
  }

  .contact-form .form-control,
  .btn-send {
    width: 100%;
  }
}
