:root {
  --line: #3a3a3a;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.92);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: clamp(14px, 1.11vw, 16px);
}

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

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

a,
button,
input,
textarea {
  transition: all 0.3s ease;
}

.container {
  width: min(100rem, calc(100% - 2rem));
  margin: 0 auto;
}

.header {
  position: fixed;
  top: 0.75rem;
  left: 0;
  width: 100%;
  z-index: 40;
}

.nav {
  min-height: 4.8rem;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 15px;
  padding: 0.7rem 1.3rem;
  background: rgba(18, 18, 18, 0.5);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  width: 2.8rem;
  height: 2.8rem;
}

.logo span {
  font-size: 0.88rem;
  line-height: 1.1;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.95rem;
  color: #ffffff;
}

.nav-links a:hover,
.mobile-links a:hover,
.contact-value:hover,
.logo:hover {
  opacity: 0.8;
}

.nav-links a:active,
.mobile-links a:active,
.contact-value:active,
.logo:active {
  opacity: 0.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 0.62rem;
  padding: 0.78rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #f7f8fc;
  background: rgba(255, 255, 255, 0.04);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn img {
  width: 2rem;
}

.nav-btn {
  margin-left: 8px;
}

.burger {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  padding: 0;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  padding: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
  background: rgba(7, 7, 7, 0.76);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-inner {
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 15px 40px;
  background: rgba(10, 11, 12, 0.04);
  backdrop-filter: blur(17px);
}

.mobile-menu-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.mobile-close {
  border: none;
  background: none;
  color: #fff;
  font-size: 42px;
  line-height: 1;
}

.mobile-links {
  display: grid;
  margin: 24px 0;
}

.mobile-links a {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 25px;
  text-transform: uppercase;
  color: #FFFFFF;
  border-bottom: 2px solid rgba(255, 255, 255, 1);
  max-width: 300px;
  padding: 24px 0;
}

.mobile-links a:last-child {
  border-bottom: none;
}

.mobile-btn {
  margin-top: auto;
  font-size: 18px;
  width: fit-content;
  padding: 18px 36px;
  background:transparent;
}

.hero {
  min-height: 52.94rem;
  background: url("../../assets/img/bg-1 1.jpg") center/cover no-repeat;
}

.hero-overlay {
  min-height: 52.94rem;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 100%),
    radial-gradient(75.81% 105.71% at 50% 105.71%, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
  padding-top: 20.6rem;
}

.hero-content {
  text-align: center;
}

.hero h1 {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(1.25rem, 2.9vw, 3rem);
  font-family: "Russo One", sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: clamp(1.75rem, 4.2vw, 4.5rem);
  background: linear-gradient(101.92deg, #ffffff 62.3%, rgba(255, 255, 255, 0) 107%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero p {
  margin: 7.2rem auto 0;
  max-width: 26rem;
  color: #ffffff;
  font-family: "Manrope", Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(0.875rem, 1.45vw, 1.5rem);
  line-height: clamp(1.1875rem, 2vw, 2.0625rem);
  letter-spacing: 0.02em;
  text-align: center;
}

.section {
  padding: 3.5rem 0;
  position: relative;
}

#about,
#solutions,
#onec,
#contact {
  scroll-margin-top: 6.8rem;
}

.flow-sections {
  background: linear-gradient(180deg, #010101 0%, #1b1b1b 33.17%);
}

.title-section {
  text-align: center;
  background: transparent;
  padding-top: 2.1rem;
  padding-bottom: 3.6rem;
}

.section-caption {
  font-family: "Manrope", Arial, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 2.0625rem;
  text-align: center;
  color: #9c9c9c;
  margin: 0 0 1rem;
}

h2, h3, h4 {
  margin: 0;
}

.title-section h2 {
  max-width: 44rem;
  margin: 0 auto;
  font-family: "Russo One", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 2.75rem;
  text-align: center;
  color: #ffffff;
}

.offer {
  background: transparent;
  padding-top: 0;
  padding-bottom: 1.8rem;
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.offer-image {
  width: 100%;
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
  border-radius: 0;
}

.offer h3 {
  font-family: "Manrope", Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 3rem;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin-bottom: 1.8rem;
}

.offer p,
.problem-text,
.onec p {
  color: var(--muted);
  font-family: "Manrope", Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.875rem;
  color: #ffffff;
}

.offer-grid > div {
  padding-right: 1.4rem;
}

.ghost {
  margin-top: 2rem;
  padding-left: 1.6rem;
  padding-right: 1.6rem;
}

.problem {
  text-align: center;
  background: transparent;
  box-shadow: none;
  padding-top: 4rem;
  padding-bottom: 4.6rem;
}

.problem-text {
  max-width: 70rem;
  margin: 0 auto;
  text-align: center;
}

.cards {
  background: transparent;
  padding-top: 0.4rem;
  padding-bottom: 3.8rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 0.35rem;
  padding: 1.55rem 1.45rem 1.35rem;
  min-height: 22.2rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.feature-card img {
  width: 3.375rem;
  height: 3.375rem;
  opacity: 0.95;
}

.feature-card h4 {
  margin: 1.8rem 0 0.95rem;
  display: inline-block;
  width: fit-content;
  font-family: "Manrope", Arial, sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 2.0625rem;
  letter-spacing: 0.02em;
  background: linear-gradient(94.97deg, #ffffff 26.31%, rgba(255, 255, 255, 0.4) 110.92%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  color: transparent;
}

.feature-card h4::after {
  content: "";
  display: block;
  width: 6rem;
  height: 1px;
  margin-top: 1.15rem;
  background: rgba(255, 255, 255, 0.58);
}

.feature-card p {
  color: #d5d7db;
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 14.8rem;
}

.projects {
  text-align: center;
  background: transparent;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.section-title {
  max-width: 50rem;
  margin: 0 auto 2.4rem;
  font-family: "Manrope", Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 3rem;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
  overflow: hidden;
}

.project {
  min-height: 10.8rem;
  aspect-ratio: 1.62 / 1;
  min-width: 0;
  position: relative;
  border: 1px solid #3b3b3b;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: transform 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project:hover {
  transform: translateY(-2px);
}

.project::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.46) 100%);
}

.project span {
  position: relative;
  z-index: 1;
  padding: 0 0.7rem;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

.center-btn {
  margin-top: 2rem;
}

.onec {
  background: radial-gradient(50% 88.31% at 100% 0%, #1e1e1e 0%, #121212 100%);
}

.onec-title {
  text-align: center;
  margin-bottom: 2rem;
}

.onec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.onec-grid .onec-preview {
  width: 100%;
  min-height: 20rem;
  object-fit: cover;
}

.onec-content p + p {
  margin-top: 1rem;
}

.stack {
  margin-top: 1.5rem;
  width: 100%;
}

.stack picture {
  display: block;
  width: 100%;
}

.stack-image {
  display: block;
  width: 80%;
  height: auto;
  object-fit: contain;
}

.footer {
  background: radial-gradient(54.41% 125.28% at 0% 0%, #1e1e1e 0%, #121212 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.6rem;
  align-items: start;
}

.contact-form {
  border: 1px solid #ffffff;
  padding: 2.9rem 2.9rem 2.6rem;
  background: transparent;
  min-height: 35rem;
}

.contact-form h3 {
  margin-bottom: 2.2rem;
  font-size: 1.05rem;
  line-height: 1.48;
  font-weight: 500;
  max-width: 21rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.92rem;
  padding: 0.95rem 1.1rem;
  margin-bottom: 0.78rem;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.btn:focus-visible,
.nav-links a:focus-visible,
.mobile-links a:focus-visible,
.contact-value:focus-visible,
.logo:focus-visible,
.cookie-link:focus-visible,
.cookie-ok-btn:focus-visible,
.cookie-modal-close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

.contact-form input.is-invalid,
.contact-form textarea.is-invalid {
  border: 1px solid #ff6f6f;
  background: rgba(255, 111, 111, 0.12);
}

.form-message {
  min-height: 1.4rem;
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.form-message.success {
  color: #9be7a1;
}

.form-message.error {
  color: #ff7f7f;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #ffffff;
  opacity: 1;
}

.contact-form textarea {
  resize: vertical;
  min-height: 8.3rem;
  margin-top: 0.1rem;
}

.contact-form button {
  margin-top: 1.45rem;
  background: #f2f2f2;
  color: #181818;
  border-color: #f2f2f2;
  min-width: 10.8rem;
  min-height: 3.4rem;
  border-radius: 0.58rem;
  font-size: 1.05rem;
  font-weight: 500;
  gap: 1rem;
  padding-left: 1.9rem;
  padding-right: 1.9rem;
}

.contact-form button:hover {
  background: #ffffff;
  color: #111;
}

.contacts {
  padding: 0.1rem 0 0.8rem 0.2rem;
  min-height: 35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contacts-caption {
  font-family: "Manrope", Arial, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.5625rem;
  color: #9c9c9c;
  margin: 0 0 1rem;
  text-align: left;
}

.contacts-description {
  color: #ffffff;
  line-height: 1.5;
  margin: 0 0 2rem;
  font-size: 1.2rem;
}

.contacts ul {
  list-style: none;
  margin: 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.36);
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
}

.contacts li {
  margin-bottom: 2.2rem;
  color: #f2f2f2;
  line-height: 1.35;
  font-size: 1.15rem;
  display: grid;
  grid-template-columns: 4rem 1fr;
  column-gap: 1.1rem;
  align-items: start;
}

.contacts li img {
  width: 4rem;
  height: 4rem;
  margin-right: 0;
  vertical-align: top;
  margin-top: 0.18rem;
  opacity: 0.95;
}

.contact-label {
  display: flex;
  align-items: center;
  font-family: "Inter", "Manrope", Arial, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.8125rem;
  color: #f0f0f0;
  letter-spacing: 0;
  margin-bottom: 0.45rem;
}

.contact-value {
  display: flex;
  align-items: center;
  font-family: "Inter", "Manrope", Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1rem;
  line-height: 150%;
  color: #ffffff;
  letter-spacing: 0;
  word-break: normal;
  overflow-wrap: anywhere;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 1.8rem;
  padding-top: 1.25rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: #ffffff;
  font-size: 1.1rem;
}

.footer-bottom span:first-child {
  grid-column: 2;
  justify-self: center;
}

.footer-bottom span:last-child {
  grid-column: 3;
  justify-self: end;
}

.footer-cookie-btn {
  grid-column: 3;
  justify-self: end;
  border: none;
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0;
}

.footer-cookie-btn:hover {
  opacity: 0.82;
}

.footer-cookie-btn:active {
  opacity: 0.65;
}

@media (max-width: 1200px) {
  .desktop-nav,
  .nav-btn {
    display: none;
  }

  .burger {
    display: block;
  }

  .offer h3 {
    font-size: 1.5rem;
    line-height: 3rem;
    margin-bottom: 1.2rem;
  }

  .hero,
  .hero-overlay {
    min-height: 46rem;
  }

  .hero-overlay {
    padding-top: 16rem;
  }

  .hero p {
    margin-top: 4.5rem;
    font-size: clamp(0.875rem, 2vw, 1.25rem);
    line-height: clamp(1.1875rem, 2.7vw, 1.6875rem);
  }

  .hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    line-height: clamp(2.5rem, 5vw, 4.5rem);
  }

  .title-section h2 {
    font-size: 2.2rem;
  }

  .problem-text {
    font-size: 1.25rem;
    line-height: 2.0625rem;
    text-align: center;
  }

  .section-title {
    font-size: 1.5rem;
    line-height: 3rem;
  }

  .card-grid {
    display: flex;
    overflow-x: auto;
    gap: 0.9rem;
    padding-bottom: 0.45rem;
    scroll-snap-type: x mandatory;
  }

  .feature-card {
    flex: 0 0 21.35rem;
    min-width: 21.35rem;
    min-height: 21.29rem;
    scroll-snap-align: start;
  }

  .project-grid {
    display: flex;
    overflow-x: auto;
    gap: 0.9rem;
    padding-bottom: 0.45rem;
    scroll-snap-type: x mandatory;
    width: 100%;
  }

  .project {
    flex: 0 0 clamp(14.5rem, 32vw, 24.25rem);
    min-width: clamp(14.5rem, 32vw, 24.25rem);
    min-height: clamp(9.2rem, 20vw, 14.95rem);
    scroll-snap-align: start;
  }

  .project span {
    font-size: 1.25rem;
  }

  .card-grid::-webkit-scrollbar {
    display: none;
  }

  .project-grid::-webkit-scrollbar {
    display: none;
  }

  .card-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .project-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

@media (max-width: 900px) {
  html {
    font-size: 14px;
  }

  .container {
    width: min(100rem, calc(100% - 1.5rem));
  }

  .header {
    top: 0.5rem;
  }

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

  .contacts {
    order: 1;
    min-height: auto;
  }

  .contacts-caption {
    text-align: center;
  }

  .contact-form {
    order: 2;
  }

  .project {
    flex: 0 0 clamp(14.1rem, 34vw, 18rem);
    min-width: clamp(14.1rem, 34vw, 18rem);
    min-height: clamp(8.8rem, 21vw, 11.2rem);
  }
  .onec-grid{
    grid-template-columns: 1fr;
  }
  .onec-grid .onec-preview{
    display: none;
  }
}

@media (max-width: 768px) {
  .nav {
    min-height: 4.2rem;
    border-radius: 1rem;
    padding: 0.55rem 0.8rem;
  }

  .logo span {
    font-size: 0.72rem;
  }

  .logo img {
    width: 2.1rem;
    height: 2.1rem;
  }

  .hero,
  .hero-overlay {
    min-height: 24rem;
  }

  .hero-overlay {
    padding-top: 7.2rem;
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.2) 100%),
      radial-gradient(75.81% 105.71% at 50% 105.71%, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0) 100%);
  }

  .hero h1 {
    font-size: clamp(1.25rem, 5vw, 1.6rem);
    line-height: clamp(1.75rem, 6vw, 2.25rem);
    background: none;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
  }

  .hero p {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-top: 1.7rem;
    max-width: 19rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .title-section {
    padding-top: 1.4rem;
    padding-bottom: 2.4rem;
  }

  .title-section h2 {
    font-size: 1.25rem;
    line-height: 1.5625rem;
  }

  .section-caption {
    font-size: 16px;
    line-height: 1.375rem;
  }

  .contacts-caption {
    font-size: 16px;
    line-height: 1.375rem;
    text-align: center;
  }

  .offer-grid,
  .onec-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .offer {
    padding-bottom: 2.2rem;
  }

  .offer-grid > div {
    padding-right: 0;
  }

  .offer h3 {
    font-size: 1.25rem;
    line-height: 2.3125rem;
    text-align: center;
    margin-bottom: 1rem;
  }

  .offer p {
    font-size: 1.2rem;
    line-height: 1.5;
  }

  .offer .ghost {
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .problem-text {
    font-size: 1.2rem;
    line-height: 1.5;
    text-align: center;
  }

  .contacts-description {
    font-size: 1.2rem;
    line-height: 1.5;
  }

  .section-title,
  .onec-title {
    font-size: 1.25rem;
    line-height: 2.3125rem;
    text-align: center;
    letter-spacing: 0.02em;
  }

  .problem {
    padding-top: 2.6rem;
    padding-bottom: 2.8rem;
  }

  .card-grid {
    display: flex;
    overflow-x: auto;
    gap: 0.8rem;
    padding-bottom: 0.4rem;
    scroll-snap-type: x mandatory;
  }

  .feature-card {
    flex: 0 0 12.84rem;
    min-width: 18.84rem;
    scroll-snap-align: start;
    min-height: 20.43rem;
  }

  .feature-card h4 {
    font-size: 1.25rem;
    line-height: 1.6875rem;
    background: none;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
  }

  .feature-card p {
    font-size: 0.88rem;
    color: #ffffff;
  }

  .feature-card img {
    width: 3.9rem;
    height: 3.9rem;
  }

  .project-grid {
    display: flex;
    overflow-x: auto;
    gap: 0.8rem;
    padding-bottom: 0.4rem;
    scroll-snap-type: x mandatory;
  }

  .project {
    flex: 0 0 clamp(14rem, 72vw, 18rem);
    min-width: clamp(14rem, 72vw, 18rem);
    min-height: clamp(8.8rem, 45vw, 11.2rem);
    scroll-snap-align: start;
  }

  .project span {
    font-size: 1.05rem;
  }

  .mobile-menu {
    padding: 10px;
  }

  .mobile-menu-inner {
    padding: 16px;
    border-radius: 14px;
  }

  .mobile-links a {
    font-size: 1.05rem;
    padding: 0.8rem 0;
  }

  .mobile-btn {
    width: 100%;
    justify-content: center;
    font-size: 1.05rem;
    padding: 0.95rem;
  }

  .onec-grid .onec-preview {
    min-height: 14rem;
  }

  .stack {
    margin-top: 1.2rem;
  }

  .card-grid::-webkit-scrollbar,
  .project-grid::-webkit-scrollbar {
    display: none;
  }

  .card-grid,
  .project-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .footer-bottom {
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.55rem;
  }

  .footer-bottom span:first-child,
  .footer-cookie-btn {
    grid-column: auto;
    justify-self: auto;
    text-align: center;
  }
  .contact-form{
    border: none;
    padding: 0;
  }
  .mobile-links a {
    max-width: 100%;
  }
  .stack-image{
    width: 100%;
    max-height: 350px;
  }
}

@media (max-width: 560px) {
  .feature-card,
  .project {
    flex-basis: clamp(12rem, 86vw, 14rem);
  }
}

.cookie-banner {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 90;
  width: min(70%, 980px);
  margin: 0 auto;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  padding: 22px 24px;
  background: rgba(10, 11, 12, 0.04);
  backdrop-filter: blur(17px);
}

.cookie-banner-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.cookie-link {
  border: none;
  border-bottom: 1px solid #fff;
  background: transparent;
  color: #fff;
  padding: 0;
  font-size: 16px;
  cursor: pointer;
}

.cookie-ok-btn {
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  min-width: 116px;
  min-height: 44px;
  font-size: 16px;
  cursor: pointer;
}

.cookie-link:hover,
.cookie-ok-btn:hover {
  opacity: 0.85;
}

.cookie-link:active,
.cookie-ok-btn:active,
.cookie-modal-close:active {
  opacity: 0.65;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  padding: 14px;
  display: none;
  background: rgba(7, 7, 7, 0.7);
}

.cookie-modal.active {
  display: block;
}

.cookie-modal-inner {
  position: relative;
  max-width: 980px;
  margin: 40px auto;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  padding: 0 24px 0;
  background: #000000;
  backdrop-filter: blur(17px);
  color: #fff;
  height: 80vh;
  overflow-y: auto;
}

.cookie-modal-header {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 12px;
  padding: 16px 0 12px;
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.cookie-modal h4 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  padding-right: 0.5rem;
}

.cookie-modal p {
  margin: 0 0 1rem;
  font-size: 15px;
  line-height: 1.6;
}

.cookie-modal p:last-child {
  margin-bottom: 0;
}

.cookie-modal-footer {
  position: sticky;
  bottom: 0;
  z-index: 3;
  margin: 0;
  padding: 12px 0;
  background: #000000;
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.cookie-modal-ok-btn {
  min-width: 128px;
}

.cookie-modal-close {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  background: #2a2a2a;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cookie-modal-close:hover {
  background: #343434;
}

@media (max-width: 768px) {
  .cookie-modal-inner {
    padding: 0 16px 0;
  }

  .cookie-modal-header {
    margin: 0 0 10px;
    padding: 12px 0 10px;
  }

  .cookie-modal h4 {
    font-size: 16px;
  }

  .cookie-modal-footer {
    margin: 0;
    padding: 10px 0;
  }

  .cookie-modal-close {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    font-size: 24px;
  }

  .cookie-banner {
    left: 8px;
    right: 8px;
    bottom: 8px;
    width: auto;
  }

  .cookie-banner-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px;
    border-width: 1px;
  }

  .cookie-ok-btn {
    flex: 0 0 auto;
    min-width: 112px;
    min-height: 42px;
    font-size: 15px;
  }

  .cookie-banner-title {
    margin-bottom: 6px;
    font-size: 16px;
    line-height: 1.25;
  }

  .cookie-link {
    font-size: 14px;
  }
}
