:root {
  --bg: #f6f8f7;
  --fg: #0f1010;
  --green: #1ad28f;
  --white: #ffffff;
  --topbar-height: 80px;
  font-size: clamp(16px, 1.1vw, 18px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  min-height: 100vh;
}

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

/* Fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-element {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in-element.delay-1 {
  animation-delay: 0.1s;
}

.fade-in-element.delay-2 {
  animation-delay: 0.2s;
}

.fade-in-element.delay-3 {
  animation-delay: 0.3s;
}

.fade-in-element.delay-4 {
  animation-delay: 0.4s;
}

.fade-in-element.delay-5 {
  animation-delay: 0.5s;
}

.fade-in-element.delay-6 {
  animation-delay: 0.6s;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem clamp(1.5rem, 7vw, 7rem);
  min-height: var(--topbar-height);
  backdrop-filter: blur(16px);
  background: rgba(246, 248, 247, 0.82);
  border-bottom: 1px solid rgba(15, 16, 16, 0.08);
}

.topbar__logo {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.95rem;
  flex: 1;
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-weight: 600;
  font-size: 1rem;
  flex: 1;
  justify-content: center;
}

.topbar__nav a {
  position: relative;
  padding-bottom: 0.3rem;
}

.topbar__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--green);
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.topbar__nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.topbar__cta {
  padding: 0.8rem 1.8rem;
  border: 1px solid var(--fg);
  border-radius: 0;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}

.topbar__cta:hover {
  background: var(--fg);
  color: var(--bg);
}

.topbar__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  flex: 1;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.lang-link {
  padding: 0.3rem 0.5rem;
  transition: background 0.2s ease, color 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lang-link:hover {
  background: rgba(15, 16, 16, 0.08);
}

.lang-link.active {
  background: var(--fg);
  color: var(--bg);
}

.lang-separator {
  color: rgba(15, 16, 16, 0.3);
  font-weight: 300;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1.5rem, 11vw, 10rem) clamp(2rem, 5vw, 4.5rem);
  min-height: calc(100vh - var(--topbar-height));
  overflow: hidden;
}

/* Убрано зеленое свечение справа */

.hero__grid {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 1500px;
  margin: 0 auto;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 2.5vw, 2rem);
  width: 100%;
}

.hero__badge {
  align-self: flex-start;
  padding: 0.55rem 1.4rem;
  border: 1px solid rgba(15, 16, 16, 0.14);
  background: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__title {
  font-size: clamp(2.8rem, 5.5vw, 5.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero__highlight {
  position: relative;
  display: inline-block;
}

.hero__highlight::after {
  content: "";
  position: absolute;
  inset: auto 0 -0.35rem 0;
  height: 0.4rem;
  background: var(--green);
  opacity: 0.5;
  z-index: -1;
  transform-origin: left;
  transform: scaleX(0);
  animation: underlineReveal 0.6s ease-out 0.2s forwards;
}

@keyframes underlineReveal {
  to {
    transform: scaleX(1);
  }
}

.hero__subtitle {
  max-width: 75ch;
  font-size: 1.1rem;
  color: rgba(15, 16, 16, 0.7);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.hero__cta {
  padding: 1.05rem 2.6rem;
  background: var(--fg);
  color: var(--bg);
  font-weight: 600;
  border-radius: 0;
  transition: background 0.3s ease;
}

.hero__cta:hover {
  background: var(--green);
}

.hero__note {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15, 16, 16, 0.6);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(100px, 1fr));
  gap: 1.4rem;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.hero__stat-number {
  font-size: clamp(2.1rem, 3.8vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero__stat-text {
  font-size: 0.9rem;
  color: rgba(15, 16, 16, 0.6);
}

.hero__showcase {
  display: none;
}

.hero__card {
  background: var(--fg);
  color: var(--bg);
  padding: clamp(2.4rem, 4vw, 3.4rem);
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(15, 16, 16, 0.16);
}

.hero__card::after {
  content: "";
  position: absolute;
  inset: -12% -18% auto auto;
  width: clamp(160px, 20vw, 220px);
  height: clamp(160px, 20vw, 220px);
  background: radial-gradient(circle, rgba(26, 210, 143, 0.8), rgba(26, 210, 143, 0.1) 70%);
  filter: blur(20px);
  opacity: 0.6;
  z-index: -1;
}

.hero__card-tag {
  align-self: flex-start;
  padding: 0.45rem 1.2rem;
  background: rgba(246, 248, 247, 0.12);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__card-title {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.98rem;
  color: rgba(246, 248, 247, 0.82);
}

.hero__list li {
  position: relative;
  padding-left: 1.5rem;
}

.hero__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--green);
}

.scrolly {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 430px) 1fr;
  gap: clamp(2rem, 8vw, 8rem);
  padding: clamp(4rem, 10vw, 10rem) clamp(1.5rem, 10vw, 10rem);
  max-width: 1440px;
  margin: 0 auto;
}

.scrolly__pin {
  position: sticky;
  top: 8vh;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.scrolly__title {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.scrolly__description {
  font-size: 1.1rem;
  max-width: 32ch;
  color: rgba(15, 16, 16, 0.72);
}

.scrolly__panels {
  display: flex;
  flex-direction: column;
}

.panel {
  position: relative;
  min-height: 85vh;
  border-top: 1px solid rgba(15, 16, 16, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 8vw, 8rem) clamp(2rem, 8vw, 8rem);
  background: var(--bg);
  transition: background 0.4s ease, color 0.4s ease;
}

.panel.is-active {
  background: var(--fg);
  color: var(--bg);
}

.panel__index {
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-weight: 700;
  opacity: 0.15;
  letter-spacing: -0.06em;
}

.panel__title {
  font-size: clamp(2.4rem, 5vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 1.5rem;
}

.stack {
  padding: clamp(4rem, 10vw, 11rem) clamp(1.5rem, 7vw, 7rem);
  background: var(--bg);
}

.stack__container {
  max-width: 1400px;
  margin: 0 auto;
}

.stack__header {
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 2.5vw, 2rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
  text-align: left;
}

.stack__eyebrow {
  align-self: flex-start;
  padding: 0.55rem 1.5rem;
  border: 1px solid rgba(15, 16, 16, 0.08);
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.stack__title {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 20ch;
}

.stack__subtitle {
  font-size: 1.1rem;
  color: rgba(15, 16, 16, 0.7);
  max-width: 60ch;
}

.stack__content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.stack__tabs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: calc(var(--topbar-height) + 2rem);
}

.stack__tab {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  border: 0px solid;
  background: var(--bg);
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.stack__tab:hover {
  border-color: rgba(15, 16, 16, 0.15);
  box-shadow: 0 8px 32px rgba(15, 16, 16, 0.08);
}

.stack__tab.is-active {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
  transform: translateY(0);
}

.stack__tab-number {
  font-size: 2rem;
  font-weight: 700;
  opacity: 0.3;
  letter-spacing: -0.02em;
  min-width: 3rem;
}

.stack__tab.is-active .stack__tab-number {
  opacity: 0.6;
  color: var(--bg);
}

.stack__tab-content {
  flex: 1;
}

.stack__tab-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
}

.stack__tab-subtitle {
  font-size: 0.9rem;
  opacity: 0.7;
  font-weight: 500;
}


.stack__panels {
  position: relative;
}

.stack__panel {
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--fg);
  color: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
}

.stack__panel.is-active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  pointer-events: auto;
}

.stack__panel-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stack__panel-badge {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green);
  width: fit-content;
  padding: 0.4rem 1rem;
  background: rgba(26, 210, 143, 0.1);
}

.stack__panel-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stack__panel-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.stack__panel-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.8rem;
  list-style: none;
}

.stack__panel-features li {
  padding: 0.8rem 1.2rem;
  font-size: 1.1rem;
  font-weight: 500;
  position: relative;
  color: var(--bg);
}

.stack__panel-features li::before {
  content: "•";
  color: var(--green);
  font-weight: 700;
  margin-right: 0.8rem;
}

/* Pricing Section */
.pricing {
  padding: clamp(4.5rem, 11vw, 12rem) clamp(1.5rem, 7vw, 7rem);
  background: var(--bg);
}

.pricing__container {
  max-width: 1400px;
  margin: 0 auto;
}

.pricing__header {
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 2.5vw, 2rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
  text-align: left;
}

.pricing__eyebrow {
  align-self: flex-start;
  padding: 0.55rem 1.5rem;
  border: 1px solid rgba(15, 16, 16, 0.08);
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.pricing__title {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 20ch;
}

.pricing__subtitle {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  color: rgba(15, 16, 16, 0.6);
  max-width: 600px;
}

.pricing__tabs {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(15, 16, 16, 0.08);
}

.pricing__tab {
  padding: 1rem 2rem;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  color: rgba(15, 16, 16, 0.4);
  border-radius: 0;
}

.pricing__tab:hover {
  color: var(--fg);
}

.pricing__tab.active {
  color: var(--fg);
  border-bottom-color: var(--green);
}

.pricing__content {
  max-width: 100%;
}

.pricing__list {
  display: none;
  flex-direction: column;
  gap: 0;
}

.pricing__list.active {
  display: flex;
  animation: pricingFadeIn 0.35s ease;
}

@keyframes pricingFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.pricing__list-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(15, 16, 16, 0.08);
  transition: color 0.3s ease;
}

@media (max-width: 600px) {
  .pricing__list-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .pricing__item-dots {
    display: none;
  }
}

.pricing__list-item:hover {
  color: var(--green);
}

.pricing__item-name {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 600;
  flex-shrink: 0;
}

.pricing__item-dots {
  flex-grow: 1;
  border-bottom: 1px dotted rgba(15, 16, 16, 0.15);
  margin: 0 1.5rem;
  position: relative;
  top: -4px;
}

.pricing__item-price {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.pricing__cta-wrapper {
  margin-top: 3rem;
}

.pricing__cta-btn {
  display: inline-block;
  padding: 1.05rem 2.6rem;
  border-radius: 0;
  background: var(--fg);
  color: var(--bg);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.pricing__cta-btn:hover {
  background: var(--green);
  color: var(--fg);
}

.projects-scrolly {
  position: relative;
  padding: clamp(4.5rem, 11vw, 12rem) 0;
  background: var(--bg);
  overflow: hidden;
  scroll-snap-type: y mandatory;
}

.projects-scrolly::before {
  content: "";
  position: absolute;
  inset: -40% 10% auto auto;
  width: clamp(420px, 45vw, 660px);
  height: clamp(420px, 45vw, 660px);
  background: radial-gradient(circle at center, rgba(26, 210, 143, 0.22), transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

.projects-scrolly__shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 6vw, 5rem);
}

.projects-scrolly__intro {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.6vw, 2rem);
  padding: 0 clamp(1.5rem, 5vw, 5rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.projects-scrolly__eyebrow {
  align-self: flex-start;
  padding: 0.55rem 1.5rem;
  border: 1px solid rgba(15, 16, 16, 0.08);
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.projects-scrolly__title {
  font-size: clamp(2.6rem, 5.5vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.projects-scrolly__subtitle {
  font-size: 1.06rem;
  color: rgba(15, 16, 16, 0.68);
  max-width: 46ch;
}

.projects-scrolly__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  scroll-snap-type: y mandatory;
}

.projects-scrolly__cta {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(3rem, 6vw, 4rem) clamp(1.5rem, 5vw, 5rem);
  background: var(--bg);
}

.projects-scrolly__button {
  padding: 0.8rem 1.8rem;
  border: 1px solid var(--fg);
  border-radius: 0;
  font-weight: 600;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  font-family: inherit;
  background: transparent;
  color: var(--fg);
}

.projects-scrolly__button:hover {
  background: var(--fg);
  color: var(--bg);
}

.project-card {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: clamp(80px, 8vw, 120px) 1fr;
  gap: clamp(1.6rem, 3vw, 3rem);
  padding: clamp(2rem, 4vw, 4rem) clamp(2rem, 8vw, 8rem);
  background: var(--bg);
  border: none;
  border-top: 1px solid rgba(15, 16, 16, 0.08);
  border-bottom: 1px solid rgba(15, 16, 16, 0.08);
  box-shadow: 0 24px 52px rgba(15, 16, 16, 0.08);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease, color 0.4s ease;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.project-card:hover {
  transform: none;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--fg);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card.is-active {
  background: var(--fg);
  color: var(--bg);
  transform: scale(1.02);
  box-shadow: 0 40px 80px rgba(15, 16, 16, 0.24);
}

.project-card.is-active:hover {
  transform: scale(1.02);
}

.project-card.is-active::after {
  opacity: 0.3;
}

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

.project-card__index {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  color: rgba(15, 16, 16, 0.12);
  transition: color 0.4s ease;
}

.project-card.is-active .project-card__index {
  color: rgba(255, 255, 255, 0.15);
}

.project-card__content {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.2vw, 1.8rem);
}

.project-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: rgba(15, 16, 16, 0.52);
}

.project-card.is-active .project-card__meta {
  color: rgba(255, 255, 255, 0.7);
}

.project-card__meta span {
  padding: 0.35rem 1rem;
  background: rgba(15, 16, 16, 0.05);
  transition: background 0.4s ease;
}

.project-card.is-active .project-card__meta span {
  background: rgba(255, 255, 255, 0.1);
}

.project-card__industry {
  background: rgba(26, 210, 143, 0.18) !important;
  color: var(--green) !important;
}

.project-card.is-active .project-card__industry {
  background: rgba(26, 210, 143, 0.3) !important;
  color: var(--green) !important;
}

.project-card__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.project-card__description {
  font-size: 1rem;
  color: rgba(15, 16, 16, 0.7);
  max-width: 60ch;
  transition: color 0.4s ease;
}

.project-card.is-active .project-card__description {
  color: rgba(255, 255, 255, 0.85);
}

.project-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.project-card__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.project-card__tags li {
  padding: 0.45rem 1.2rem;
  background: rgba(15, 16, 16, 0.08);
  font-size: 0.86rem;
  font-weight: 600;
  transition: background 0.4s ease;
}

.project-card.is-active .project-card__tags li {
  background: rgba(255, 255, 255, 0.15);
}

.project-card__result {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(15, 16, 16, 0.55);
  transition: color 0.4s ease;
}

.project-card.is-active .project-card__result {
  color: rgba(255, 255, 255, 0.8);
}

.project-card__actions {
  margin-top: clamp(1.2rem, 2vw, 1.8rem);
  padding-top: clamp(1.2rem, 2vw, 1.8rem);
  border-top: 1px solid rgba(15, 16, 16, 0.08);
  transition: border-color 0.4s ease;
}

.project-card.is-active .project-card__actions {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(15, 16, 16, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.project-card__link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.3s ease;
}

.project-card__link:hover::before {
  width: 100%;
}

.project-card__link svg {
  transition: transform 0.3s ease;
}

.project-card__link:hover svg {
  transform: translateX(4px);
}

.project-card__link:hover {
  color: var(--fg);
}

.project-card.is-active .project-card__link {
  color: rgba(255, 255, 255, 0.8);
}

.project-card.is-active .project-card__link:hover {
  color: var(--bg);
}

.project-card.is-active .project-card__link::before {
  background: var(--green);
}

.contact {
  padding: clamp(4rem, 10vw, 12rem) clamp(1.5rem, 11vw, 11rem) clamp(6rem, 13vw, 13rem);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
  background: var(--bg);
}

.contact__badge {
  padding: 0.6rem 1.8rem;
  background: var(--green);
  color: var(--fg);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact__title {
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.contact__text {
  max-width: 36ch;
  color: rgba(15, 16, 16, 0.72);
  font-size: 1.05rem;
}

.contact__text a {
  color: var(--green);
  font-weight: 600;
}

.contact__button {
  padding: 0.8rem 1.8rem;
  border: 1px solid var(--fg);
  border-radius: 0;
  background: transparent;
  color: var(--fg);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  font-family: inherit;
}

.contact__button:hover {
  background: var(--fg);
  color: var(--bg);
}

.footer {
  background: var(--fg);
  color: var(--bg);
  padding: clamp(3rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
}

.footer__container {
  padding: 0 clamp(1.5rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
}

.footer__main {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.footer__social {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: rgba(246, 248, 247, 0.8);
  border: 1px solid rgba(246, 248, 247, 0.3);
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer__social-link:hover {
  color: var(--bg);
  border-color: rgba(246, 248, 247, 0.5);
  background: rgba(246, 248, 247, 0.1);
  transform: translateY(-2px);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
}

.footer__logo {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
}

.footer__description {
  font-size: 1.1rem;
  color: rgba(246, 248, 247, 0.8);
  line-height: 1.6;
  max-width: 40ch;
}

.footer__button {
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  border: 1px solid rgba(246, 248, 247, 0.3);
  background: transparent;
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease;
  margin: clamp(0.5rem, 2vw, 1rem) 0;
}

.footer__button:hover {
  background: rgba(246, 248, 247, 0.1);
  border-color: rgba(246, 248, 247, 0.5);
}

.footer__link {
  color: rgba(246, 248, 247, 0.8);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: var(--bg);
}

.footer__copyright {
  font-size: 0.9rem;
  color: rgba(246, 248, 247, 0.6);
  text-align: center;
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid rgba(246, 248, 247, 0.1);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
  .footer__main {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer__social {
    justify-content: center;
    order: -1;
  }

  .footer__links {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}

/* Terms Page Styles */
.terms-page {
  min-height: calc(100vh - 140px);
  padding: clamp(2rem, 5vw, 4rem) 0;
  background: var(--bg);
}

.terms-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 2rem);
}

.terms-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 4rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(33, 37, 36, 0.1);
}

.terms-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 1rem;
}

.terms-subtitle {
  font-size: 1.2rem;
  color: rgba(33, 37, 36, 0.7);
  margin-bottom: 1.5rem;
}

.terms-updated {
  font-size: 0.9rem;
  color: rgba(33, 37, 36, 0.6);
  font-style: italic;
}

.terms-content {
  margin-bottom: 3rem;
}

.terms-section {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.terms-section-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
}

.terms-paragraph {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(33, 37, 36, 0.8);
  margin-bottom: 1rem;
}

.terms-paragraph:last-child {
  margin-bottom: 0;
}

.terms-footer {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(33, 37, 36, 0.1);
}

.terms-contact {
  font-size: 1rem;
  color: rgba(33, 37, 36, 0.7);
}

.terms-contact a {
  color: var(--accent);
  text-decoration: none;
}

.terms-contact a:hover {
  text-decoration: underline;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
  .terms-section-title {
    font-size: 1.2rem;
  }

  .terms-paragraph {
    font-size: 0.95rem;
  }
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 16, 16, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative;
  background: var(--bg);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 3rem;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.is-active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: rgba(15, 16, 16, 0.6);
  transition: color 0.2s ease;
  z-index: 1;
}

.modal-close:hover {
  color: var(--fg);
}

.modal-header {
  margin-bottom: 2.5rem;
  text-align: left;
}

.modal-badge {
  display: inline-block;
  padding: 0.55rem 1.4rem;
  border: 1px solid rgba(15, 16, 16, 0.14);
  background: rgba(26, 210, 143, 0.1);
  color: var(--green);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.modal-title {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.modal-subtitle {
  color: rgba(15, 16, 16, 0.7);
  font-size: 1.1rem;
  line-height: 1.5;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Стили для Turnstile капчи */
.cf-turnstile {
  display: flex !important;
  justify-content: center;
  margin: 1rem 0;
  width: 100% !important;
  min-height: 65px;
  z-index: 999;
  position: relative;
}

.cf-turnstile iframe {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.form-label {
  font-weight: 600;
  color: var(--fg);
  font-size: 0.95rem;
}

.form-input,
.form-select,
.form-textarea {
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(15, 16, 16, 0.15);
  background: var(--bg);
  font-family: inherit;
  font-size: 1rem;
  color: var(--fg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(26, 210, 143, 0.1);
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
}

.btn-secondary {
  padding: 0.9rem 2rem;
  background: transparent;
  border: 1px solid rgba(15, 16, 16, 0.2);
  border-radius: 0;
  color: rgba(15, 16, 16, 0.7);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
}

.btn-secondary:hover {
  background: rgba(15, 16, 16, 0.05);
  border-color: rgba(15, 16, 16, 0.3);
  color: var(--fg);
}

.btn-primary {
  padding: 0.9rem 2rem;
  background: var(--fg);
  border: none;
  border-radius: 0;
  color: var(--bg);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background: var(--green);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 960px) {
  .topbar {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }

  .modal-content {
    padding: 2rem 1.5rem;
    margin: 1rem;
    max-height: calc(100vh - 2rem);
  }

  .modal-close {
    top: 1rem;
    right: 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column-reverse;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .topbar__nav {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .hero {
    min-height: auto;
    align-items: stretch;
    padding: clamp(2.5rem, 8vw, 8rem);
  }

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

  .hero__showcase {
    margin-right: 0;
  }

  .hero__card::after {
    inset: auto;
  }

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

  .scrolly__pin {
    position: static;
  }

  .panel {
    min-height: 60vh;
  }

  .stack__content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .stack__tabs {
    position: static;
    flex-direction: row;
    gap: 0.8rem;
    overflow-x: auto;
    padding-bottom: 1rem;
  }

  .stack__tab {
    min-width: 200px;
    flex-shrink: 0;
    padding: 1.2rem 1.5rem;
  }

  .stack__tab-number {
    font-size: 1.6rem;
    min-width: 2.5rem;
  }

  .stack__tab-title {
    font-size: 1.2rem;
  }

  .stack__panel-features {
    grid-template-columns: 1fr;
  }

  .projects-scrolly__shell {
    gap: 2.5rem;
  }

  .projects-scrolly__intro {
    padding: 0 clamp(1.2rem, 4vw, 2rem);
  }

  .projects-scrolly__cta {
    padding: clamp(2rem, 5vw, 3rem) clamp(1.2rem, 4vw, 2rem);
  }

  .project-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: 100vh;
    padding: clamp(1.5rem, 4vw, 2rem) clamp(1.2rem, 4vw, 2rem);
    border-radius: 0;
  }

  .project-card__index {
    justify-content: flex-start;
    font-size: clamp(2.8rem, 9vw, 4.2rem);
  }

  .project-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact__title {
    max-width: none;
  }
}

@media (max-width: 600px) {
  .topbar {
    justify-content: space-between;
  }

  .topbar__nav {
    display: none;
  }

  .topbar__cta {
    padding: 0.7rem 1.4rem;
    font-size: 0.9rem;
  }

  .hero {
    padding-top: clamp(2rem, 10vw, 5rem);
  }

  .hero__stats {
    grid-template-columns: repeat(2, minmax(100px, 1fr));
  }

  .hero__actions {
    flex-wrap: wrap;
  }

  .stack__header {
    text-align: left;
  }

  .stack__title {
    max-width: none;
  }

  .stack__subtitle {
    max-width: none;
  }

  .stack__tabs {
    flex-direction: column;
    gap: 0.8rem;
  }

  .stack__tab {
    min-width: auto;
  }

  .stack__tab-content {
    flex-direction: column;
    gap: 0.2rem;
  }

  .stack__panel {
    padding: 1.5rem;
  }

  .stack__panel-features {
    gap: 0.6rem;
  }

  .stack__panel-features li {
    padding: 0.6rem 1rem;
  }

  .projects-scrolly {
    padding: clamp(3.5rem, 14vw, 6rem) 0;
  }

  .projects-scrolly__intro {
    padding: 0 clamp(1rem, 3vw, 1.5rem);
  }

  .projects-scrolly__cta {
    padding: clamp(1.5rem, 4vw, 2rem) clamp(1rem, 3vw, 1.5rem);
  }

  .project-card {
    padding: 1.6rem clamp(1rem, 3vw, 1.5rem);
    border-radius: 0;
    min-height: 100vh;
  }

  .project-card__actions {
    margin-top: 1rem;
    padding-top: 1rem;
  }

  .project-card__link {
    font-size: 0.9rem;
    padding: 0.6rem 0;
  }

  .project-card__meta span {
    padding: 0.3rem 0.9rem;
  }

  .project-card__result {
    letter-spacing: 0.02em;
  }

  .footer__container {
    padding: 0 clamp(1rem, 4vw, 1.5rem);
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__actions {
    align-items: flex-start;
    justify-self: start;
  }

  .footer__description {
    font-size: 1rem;
  }

  .footer__copyright {
    font-size: 0.85rem;
    line-height: 1.4;
  }
}

/* Project Detail Page Styles */

.project-hero {
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(4rem, 8vw, 6rem);
  background: var(--bg);
}

.project-hero__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 5rem);
}

.project-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  font-size: 0.9rem;
  color: rgba(15, 16, 16, 0.6);
}

.project-hero__breadcrumb a {
  color: rgba(15, 16, 16, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.project-hero__breadcrumb a:hover {
  color: var(--green-dark);
}

.project-hero__breadcrumb span:last-child {
  color: var(--fg);
  font-weight: 600;
}

.project-hero__content {
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 2.5vw, 2rem);
}

.project-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.project-hero__meta span {
  padding: 0.4rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(15, 16, 16, 0.08);
  color: rgba(15, 16, 16, 0.7);
}

.project-hero__industry {
  background: rgba(26, 210, 143, 0.15) !important;
  color: var(--green-dark) !important;
}

.project-hero__title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--fg);
}

.project-hero__description {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.6;
  color: rgba(15, 16, 16, 0.7);
  max-width: 65ch;
}

.project-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.project-hero__tags span {
  padding: 0.6rem 1.4rem;
  border: 1px solid rgba(15, 16, 16, 0.1);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg);
}

.project-hero__result {
  padding: 1.2rem 1.8rem;
  background: rgba(26, 210, 143, 0.1);
  border: 1px solid rgba(26, 210, 143, 0.2);
  font-size: 1rem;
  color: var(--green-dark);
  align-self: flex-start;
}

.project-details {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.project-details__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 5rem);
}

.project-details__grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

.project-details__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  color: var(--fg);
}

.project-details__text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(15, 16, 16, 0.7);
  margin-bottom: 2.5rem;
}

.project-details__approach {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.project-details__approach-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--fg);
}

.project-details__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.project-details__list li {
  position: relative;
  padding-left: 1.8rem;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(15, 16, 16, 0.7);
}

.project-details__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--green);
}

.project-details__results {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--bg);
  position: sticky;
  top: calc(var(--topbar-height) + 2rem);
}

.project-details__results-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.project-details__result-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(15, 16, 16, 0.08);
}

.project-details__result-card:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.project-details__result-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: -0.02em;
}

.project-details__result-text {
  font-size: 0.9rem;
  color: rgba(15, 16, 16, 0.6);
  font-weight: 600;
}



.project-cta {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--white);
}

.project-cta__container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 5rem);
  text-align: center;
}

.project-cta__title {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1.2rem;
}

.project-cta__text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(15, 16, 16, 0.7);
  margin-bottom: 2.5rem;
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}

.project-cta__button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--fg);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
  margin-bottom: 3rem;
}

.project-cta__button:hover {
  background: var(--green-dark);
}

.project-cta__navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(15, 16, 16, 0.1);
}

.project-cta__back,
.project-cta__next {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(15, 16, 16, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.project-cta__back:hover,
.project-cta__next:hover {
  color: var(--green-dark);
}

/* Project Page Media Queries */

@media (max-width: 960px) {
  .project-details__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .project-details__results {
    position: static;
  }
}

@media (max-width: 600px) {
  .project-hero__container {
    padding: 0 clamp(1rem, 4vw, 2rem);
  }

  .project-hero__breadcrumb {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .project-hero__meta {
    gap: 0.6rem;
  }

  .project-hero__meta span {
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
  }

  .project-hero__tags {
    gap: 0.6rem;
  }

  .project-hero__tags span {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
  }

  .project-hero__result {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
  }

  .project-details__container,
  .project-cta__container {
    padding: 0 clamp(1rem, 4vw, 2rem);
  }



  .project-cta__navigation {
    flex-direction: column;
    gap: 1.5rem;
  }
}


/* Article Page Styles */
.article-page {
  min-height: calc(100vh - 80px);
  background: var(--bg);
}

.article-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 7vw, 7rem);
}

.article-header {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(15, 16, 16, 0.5);
}

.article-breadcrumb a {
  color: rgba(15, 16, 16, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-breadcrumb a:hover {
  color: var(--fg);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.article-tag {
  padding: 0.35rem 1rem;
  background: transparent;
  border: 1px solid rgba(15, 16, 16, 0.1);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(15, 16, 16, 0.6);
}

.article-title {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.article-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(15, 16, 16, 0.5);
}

.article-separator {
  color: rgba(15, 16, 16, 0.2);
}

.article-content {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.article-intro {
  margin-bottom: clamp(4rem, 8vw, 6rem);
}

.article-intro p {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: rgba(15, 16, 16, 0.7);
  max-width: 80ch;
}

.article-cover {
  width: 100%;
  max-width: 240px;
  height: auto;
  display: block;
  margin: 0 0 clamp(2rem, 4vw, 3rem) 0;
}

.article-section {
  margin-bottom: clamp(3rem, 6vw, 4rem);
}

.article-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: clamp(1.2rem, 2.5vw, 1.8rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.article-section h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--fg);
  margin: clamp(2rem, 4vw, 3rem) 0 clamp(1rem, 2vw, 1.5rem);
  letter-spacing: -0.01em;
}

.article-section p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(15, 16, 16, 0.7);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  max-width: 80ch;
}

.article-section ul {
  list-style: none;
  padding-left: 0;
  margin: clamp(2rem, 4vw, 3rem) 0;
}

.article-section ul li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(15, 16, 16, 0.7);
  margin-bottom: 0.8rem;
}

.article-section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--green);
}

.article-subsection {
  margin-bottom: clamp(3rem, 6vw, 4rem);
}

.article-image {
  width: 100%;
  height: auto;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0;
  display: block;
}

.article-section code {
  background: rgba(15, 16, 16, 0.06);
  padding: 0.2rem 0.5rem;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  color: var(--fg);
}

.article-section pre {
  position: relative;
  background: var(--fg);
  color: rgba(246, 248, 247, 0.9);
  padding: clamp(1.5rem, 3vw, 2rem);
  padding-top: clamp(2.5rem, 4vw, 3rem);
  overflow-x: auto;
  margin: clamp(2rem, 4vw, 3rem) 0;
  border: 1px solid rgba(15, 16, 16, 0.1);
}

.code-block-wrapper {
  position: relative;
}

.copy-code-btn {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  padding: 0.5rem 1rem;
  background: rgba(246, 248, 247, 0.1);
  border: 1px solid rgba(246, 248, 247, 0.2);
  color: rgba(246, 248, 247, 0.8);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.copy-code-btn:hover {
  background: rgba(246, 248, 247, 0.2);
  color: var(--bg);
}

.copy-code-btn.copied {
  background: var(--green);
  color: var(--fg);
  border-color: var(--green);
}

.article-section pre code {
  background: none;
  padding: 0;
  color: inherit;
  font-family: 'Courier New', Consolas, Monaco, monospace;
  font-size: 0.9rem;
  line-height: 1.6;
}

.article-warning {
  background: rgba(26, 210, 143, 0.03);
  border-left: 2px solid var(--green);
  padding: clamp(1.5rem, 3vw, 2rem);
  margin: clamp(2.5rem, 5vw, 4rem) 0;
}

.article-warning p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(15, 16, 16, 0.7);
}

.article-warning p:last-child {
  margin-bottom: 0;
}

.article-warning a {
  color: var(--fg);
  text-decoration: underline;
  font-weight: 600;
}

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

.article-footer {
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4rem);
}

.article-cta {
  background: var(--fg);
  color: var(--bg);
  padding: clamp(3rem, 6vw, 4rem);
  text-align: center;
}

.article-cta h3 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.article-cta p {
  font-size: 1.05rem;
  margin-bottom: clamp(2rem, 4vw, 2.5rem);
  color: rgba(246, 248, 247, 0.8);
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}

.article-cta .btn-primary {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: var(--bg);
  color: var(--fg);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid rgba(246, 248, 247, 0.2);
}

.article-cta .btn-primary:hover {
  background: var(--green);
  border-color: var(--green);
}

@media (max-width: 768px) {
  .article-container {
    padding: 0 clamp(1.2rem, 5vw, 2rem);
  }

  .article-breadcrumb {
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.75rem;
  }

  .article-title {
    font-size: 2.2rem;
  }

  .article-intro p {
    font-size: 1.05rem;
  }

  .article-section h2 {
    font-size: 1.8rem;
  }

  .article-section p {
    font-size: 0.95rem;
  }

  .article-section pre {
    padding: 1.2rem;
    font-size: 0.85rem;
  }

  .article-cta {
    padding: 2.5rem 1.5rem;
  }

  .article-cta h3 {
    font-size: 1.5rem;
  }

  .article-cta p {
    font-size: 0.95rem;
  }
}

/* 404 Error Page Styles */
.error-page {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: white !important;
}

.error-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  width: 100%;
  align-items: center;
}

.error-content {
  text-align: left;
}

.error-number {
  font-size: 8rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 1rem;
}

.error-title {
  font-size: 3rem;
  font-weight: 700;
  color: #0f1010;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.error-description {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.error-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.error-btn {
  text-decoration: none;
  white-space: nowrap;
}

.error-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.error-decoration {
  position: relative;
  width: 300px;
  height: 300px;
}

.error-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.error-circle--1 {
  width: 200px;
  height: 200px;
  background: var(--green);
  top: 0;
  left: 50px;
  animation-delay: 0s;
}

.error-circle--2 {
  width: 150px;
  height: 150px;
  background: var(--green);
  top: 100px;
  right: 0;
  animation-delay: 2s;
}

.error-circle--3 {
  width: 100px;
  height: 100px;
  background: var(--green);
  bottom: 0;
  left: 0;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

/* Responsive 404 */
@media (max-width: 768px) {
  .error-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

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

  .error-number {
    font-size: 6rem;
  }

  .error-title {
    font-size: 2rem;
  }

  .error-description {
    font-size: 1rem;
  }

  .error-actions {
    flex-direction: column;
    align-items: center;
  }

  .error-decoration {
    width: 200px;
    height: 200px;
  }

  .error-circle--1 {
    width: 120px;
    height: 120px;
  }

  .error-circle--2 {
    width: 90px;
    height: 90px;
  }

  .error-circle--3 {
    width: 60px;
    height: 60px;
  }
}

/* Articles Page Styles */
.articles-page {
  padding: 2rem clamp(1.5rem, 7vw, 7rem);
  min-height: calc(100vh - var(--topbar-height));
}

.articles-container {
  max-width: 1200px;
  margin: 0 auto;
}

.articles-header {
  margin-bottom: 3rem;
}

.articles-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(15, 16, 16, 0.6);
  margin-bottom: 1.5rem;
}

.articles-breadcrumb a {
  color: rgba(15, 16, 16, 0.6);
  transition: color 0.3s ease;
}

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

.articles-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--fg);
}

.articles-subtitle {
  font-size: 1.2rem;
  color: rgba(15, 16, 16, 0.7);
  max-width: 60ch;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.article-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(15, 16, 16, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(15, 16, 16, 0.06);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(15, 16, 16, 0.12);
}

.article-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.article-tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(26, 210, 143, 0.1);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-card__title {
  margin-bottom: 1rem;
}

.article-card__title a {
  color: var(--fg);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.article-card__excerpt {
  color: rgba(15, 16, 16, 0.7);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.article-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(15, 16, 16, 0.6);
}

.article-card__date,
.article-card__read-time {
  font-weight: 500;
}

/* Responsive Articles */
@media (max-width: 768px) {
  .articles-page {
    padding: 1.5rem;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .article-card {
    padding: 1.5rem;
  }

  .article-card__title a {
    font-size: 1.2rem;
  }

  .article-card__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* FAQ Section */
.faq {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 7vw, 7rem);
  background: var(--white);
}

.faq__container {
  max-width: 1200px;
  margin: 0 auto;
}

.faq__header {
  text-align: center;
  margin-bottom: 4rem;
}

.faq__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--fg);
}

.faq__subtitle {
  font-size: 1.1rem;
  color: rgba(15, 16, 16, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

.faq__content {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid rgba(15, 16, 16, 0.1);
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

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

.faq__icon {
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.2s ease;
}

.faq__item.is-open .faq__icon {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq__item.is-open .faq__answer {
  max-height: 200px;
  padding-bottom: 1.5rem;
}

.faq__answer p {
  line-height: 1.6;
  color: rgba(15, 16, 16, 0.8);
}

/* FAQ Responsive */
@media (max-width: 768px) {
  .faq {
    padding: 3rem 1.5rem;
  }

  .faq__header {
    margin-bottom: 2.5rem;
  }

  .faq__question {
    font-size: 1rem;
    padding: 1.2rem 0;
  }

  .faq__icon {
    margin-left: 0.8rem;
  }

  .faq__item.is-open .faq__answer {
    max-height: 300px;
    padding-bottom: 1.2rem;
  }
}

/* Development Page Styles */
.dev-hero {
  padding: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 7vw, 7rem);
  background: var(--bg);
  min-height: calc(100vh - var(--topbar-height));
  display: flex;
  align-items: center;
}

.dev-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.dev-hero__content {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2rem);
}

.dev-hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--fg);
}

.hero-highlight {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.hero-highlight::before {
  content: "";
  position: absolute;
  bottom: 0.1em;
  left: -0.1em;
  right: -0.1em;
  height: 0.3em;
  background: linear-gradient(90deg,
    rgba(26, 210, 143, 0.3) 0%,
    rgba(26, 210, 143, 0.6) 50%,
    rgba(26, 210, 143, 0.3) 100%);
  transform: scaleX(0);
  transform-origin: left;
  animation: highlightReveal 0.8s ease-out 0.5s forwards;
  z-index: -1;
}

.hero-highlight:nth-child(2)::before {
  animation-delay: 0.8s;
}

@keyframes highlightReveal {
  to {
    transform: scaleX(1);
  }
}

.dev-hero__subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.6;
  color: rgba(15, 16, 16, 0.8);
  max-width: 500px;
}

.subtitle-highlight {
  position: relative;
  font-weight: 600;
  color: var(--fg);
}

.subtitle-highlight::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  animation: subtitleUnderline 0.6s ease-out 1.2s forwards;
}

.subtitle-highlight:nth-of-type(2)::after {
  animation-delay: 1.5s;
}

@keyframes subtitleUnderline {
  to {
    transform: scaleX(1);
  }
}

.dev-hero__benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.dev-hero__benefit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--fg);
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: default;
}

.dev-hero__benefit:hover {
  background: rgba(26, 210, 143, 0.08);
  transform: translateX(5px);
}

.dev-hero__benefit svg {
  color: var(--green);
  flex-shrink: 0;
}

.dev-hero__actions {
  margin-top: 1rem;
}

.dev-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.05rem 2.6rem;
  background: var(--fg);
  color: var(--bg);
  border-radius: 0;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(15, 16, 16, 0.2);
}

.dev-hero__cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.dev-hero__cta:hover {
  background: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 210, 143, 0.3);
}

.dev-hero__cta:hover::before {
  left: 100%;
}

.dev-hero__showcase {
  display: flex;
  justify-content: center;
  align-items: center;
}

.dev-hero__image {
  position: relative;
  width: 100%;
  max-width: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dev-hero__cursor {
  width: 100%;
  height: auto;
  max-width: 300px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

/* Development Services */
.dev-services {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 7vw, 7rem);
  background: var(--white);
}

.dev-services__container {
  max-width: 1200px;
  margin: 0 auto;
}

.dev-services__header {
  text-align: center;
  margin-bottom: 4rem;
}

.dev-services__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--fg);
}

.dev-services__subtitle {
  font-size: 1.1rem;
  color: rgba(15, 16, 16, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

.dev-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.dev-service-card {
  padding: 2rem;
  background: var(--bg);
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.dev-service-card:hover {
  transform: translateY(-2px);
}

.dev-service-card__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 1rem;
}

.dev-service-card__description {
  color: rgba(15, 16, 16, 0.8);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.dev-service-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dev-service-card__features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: rgba(15, 16, 16, 0.8);
}

.dev-service-card__features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: bold;
}

/* Development Process */
.dev-process {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 7vw, 7rem);
  background: var(--bg);
}

.dev-process__container {
  max-width: 1200px;
  margin: 0 auto;
}

.dev-process__header {
  text-align: center;
  margin-bottom: 4rem;
}

.dev-process__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--fg);
}

.dev-process__subtitle {
  font-size: 1.1rem;
  color: rgba(15, 16, 16, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

.dev-process__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.dev-process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 8px;
}

.dev-process__step-number {
  width: 60px;
  height: 60px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.dev-process__step-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 1rem;
}

.dev-process__step-description {
  color: rgba(15, 16, 16, 0.8);
  line-height: 1.6;
}

/* Development Why */
.dev-why {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 7vw, 7rem);
  background: var(--white);
}

.dev-why__container {
  max-width: 1200px;
  margin: 0 auto;
}

.dev-why__header {
  text-align: center;
  margin-bottom: 4rem;
}

.dev-why__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--fg);
}

.dev-why__subtitle {
  font-size: 1.1rem;
  color: rgba(15, 16, 16, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

.dev-why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.dev-why__item {
  padding: 2rem;
  background: var(--bg);
  border-radius: 8px;
  text-align: center;
}

.dev-why__item-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 1rem;
}

.dev-why__item-description {
  color: rgba(15, 16, 16, 0.8);
  line-height: 1.6;
}

/* Development Offer Section */
.dev-offer {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 7vw, 7rem);
  background: var(--bg);
}

.dev-offer__container {
  max-width: 1400px;
  margin: 0 auto;
}

.dev-offer__intro {
  margin-bottom: clamp(4rem, 8vw, 6rem);
  text-align: center;
}

.dev-offer__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  position: relative;
}

/* Typing Animation */
.typing-text {
  display: inline-block;
  position: relative;
}

.typing-text::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 6px;
  background: var(--green);
  transition: width 0.6s ease 0.3s;
}

.typing-text.typed::before {
  width: 100%;
}

.typing-text.typing::after {
  content: "|";
  color: var(--green);
  font-weight: 400;
  animation: blink 1s infinite;
  margin-left: 2px;
}

@keyframes typing {
  to {
    width: 100%;
  }
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

.dev-offer__content {
  max-width: 800px;
  margin: 0 auto;
}

.dev-offer__text {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: rgba(15, 16, 16, 0.75);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.dev-offer__text.fade-in-up {
  opacity: 1;
  transform: translateY(0);
}

.dev-offer__text:last-child {
  margin-bottom: 0;
}


.dev-offer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
}

.dev-offer__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.7);
  padding: clamp(2rem, 4vw, 2.5rem);
  border-radius: 12px;
  border: 1px solid rgba(15, 16, 16, 0.05);
  transition: all 0.8s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.dev-offer__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.dev-offer__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(15, 16, 16, 0.1);
  border-color: rgba(26, 210, 143, 0.2);
}

.dev-offer__card:hover::before {
  transform: scaleX(1);
}

.dev-offer__card.fade-in-up {
  opacity: 1;
  transform: translateY(0);
}

.dev-offer__card-image {
  width: 100%;
  max-width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.dev-offer__card:hover .dev-offer__card-image {
  transform: scale(1.1);
}

.dev-offer__card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(26, 210, 143, 0.15));
}

.dev-offer__card-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.dev-offer__card-title {
  font-size: clamp(1.2rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.dev-offer__card-text {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: rgba(15, 16, 16, 0.7);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .dev-offer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .dev-offer__card {
    padding: 1.5rem;
  }

  .dev-offer__card-image {
    max-width: 150px;
    height: 150px;
    margin-bottom: 1rem;
  }
}

/* About Section */
.about-section {
  background: var(--bg);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.about-section__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.about-section__content {
  max-width: 900px;
}

.about-section__title {
  position: relative;
  margin-bottom: 3rem;
  line-height: 1;
}

.about-section__title-bg {
  display: block;
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 900;
  color: rgba(0, 0, 0, 0.04);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.about-section__title-fg {
  display: block;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
}

.about-section__text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.about-section__text:last-child {
  margin-bottom: 0;
}

.about-highlight {
  position: relative;
  display: inline-block;
  font-weight: 600;
}

.about-highlight::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--green);
}

@media (max-width: 768px) {
  .about-section {
    padding: 5rem 0;
  }

  .about-section__container {
    padding: 0 1.5rem;
  }

  .about-section__title {
    margin-bottom: 2rem;
  }

  .about-section__text {
    font-size: 1rem;
  }
}

/* FAQ Section */
.dev-faq {
  background: var(--white);
  padding: 6rem 0;
}

.dev-faq__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.dev-faq__title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--fg);
  text-align: center;
  margin-bottom: 4rem;
  letter-spacing: -0.02em;
}

.dev-faq__list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(0, 0, 0, 0.2);
}

.faq-item.active {
  border-color: var(--green);
  background: rgba(26, 210, 143, 0.03);
}

.faq-item__question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  color: var(--fg);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.3s ease;
  font-family: 'Manrope', sans-serif;
}

.faq-item__question:hover {
  color: var(--green);
}

.faq-item__icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-item__answer {
  max-height: 500px;
}

.faq-item__answer p {
  padding: 0 2rem 1.5rem;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .dev-faq {
    padding: 4rem 0;
  }

  .dev-faq__container {
    padding: 0 1.5rem;
  }

  .dev-faq__title {
    margin-bottom: 2.5rem;
  }

  .faq-item__question {
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
  }

  .faq-item__answer p {
    padding: 0 1.5rem 1.2rem;
    font-size: 0.95rem;
  }
}

/* Development Contact Form */
.dev-contact {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 7vw, 7rem);
  background: var(--bg);
}

.dev-contact__container {
  max-width: 1400px;
  margin: 0 auto;
}

.dev-contact__wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(4rem, 8vw, 8rem);
  align-items: center;
}

.dev-contact__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.dev-contact__letter {
  width: 100%;
  max-width: 320px;
  height: auto;
  transform: rotate(-5deg);
  filter: drop-shadow(0 20px 40px rgba(26, 210, 143, 0.2));
  transition: transform 0.3s ease;
}

.dev-contact__letter:hover {
  transform: rotate(-8deg) scale(1.02);
}

.dev-contact__form-area {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
}

.dev-contact__title {
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.2;
  margin-bottom: 0;
}

.dev-contact__form {
  display: flex;
  flex-direction: column;
  gap: clamp(1.8rem, 3vw, 2.5rem);
}

.dev-contact__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.dev-contact__field {
  position: relative;
}

.dev-contact__field--full {
  grid-column: 1 / -1;
}

.dev-contact__field input,
.dev-contact__field textarea {
  width: 100%;
  padding: 0.75rem 0;
  border: none;
  border-bottom: 1px solid rgba(15, 16, 16, 0.15);
  background: transparent;
  font-size: 1rem;
  font-family: inherit;
  color: var(--fg);
  transition: all 0.3s ease;
  outline: none;
}

.dev-contact__field input::placeholder,
.dev-contact__field textarea::placeholder {
  color: rgba(15, 16, 16, 0.4);
}

.dev-contact__field input:focus,
.dev-contact__field textarea:focus {
  border-bottom-color: var(--green);
  padding-bottom: 0.7rem;
}

.dev-contact__field textarea {
  resize: none;
  min-height: 40px;
}

.dev-contact__bottom {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2rem);
  flex-wrap: wrap;
}

.dev-contact__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2.5rem;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 0;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.dev-contact__button:hover {
  background: var(--fg);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 16, 16, 0.12);
}

.dev-contact__button:active {
  transform: translateY(0);
}

.dev-contact__captcha {
  display: flex;
  align-items: center;
}

.dev-contact__captcha .cf-turnstile {
  display: flex !important;
}

/* Notification Modal */
.notification-modal {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateX(400px);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.notification-modal.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.notification-modal__content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(15, 16, 16, 0.15);
  min-width: 320px;
  max-width: 450px;
}

.notification-modal__content--success {
  border-left: 4px solid var(--green);
}

.notification-modal__content--error {
  border-left: 4px solid #ef4444;
}

.notification-modal__icon {
  flex-shrink: 0;
}

.notification-modal__content--success .notification-modal__icon {
  color: var(--green);
}

.notification-modal__content--error .notification-modal__icon {
  color: #ef4444;
}

.notification-modal__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg);
  margin: 0 0 0.5rem 0;
}

.notification-modal__message {
  font-size: 0.95rem;
  color: rgba(15, 16, 16, 0.7);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .notification-modal {
    top: 1rem;
    right: 1rem;
    left: 1rem;
  }

  .notification-modal__content {
    min-width: auto;
    max-width: none;
  }
}

/* Technologies and Approach section */
.dev-approach {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 7vw, 7rem);
  background: rgba(26, 210, 143, 0.02);
}

.dev-approach__container {
  max-width: 1200px;
  margin: 0 auto;
}

.dev-approach__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  color: var(--fg);
  margin-bottom: clamp(3rem, 6vw, 4rem);
}

.dev-approach__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 5rem);
  align-items: center;
}

.dev-approach__text {
  max-width: 500px;
}

.dev-approach__subtitle {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.dev-approach__description {
  color: rgba(15, 16, 16, 0.8);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.dev-approach__tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.dev-approach__tech-tag {
  background: rgba(26, 210, 143, 0.1);
  border: 1px solid rgba(26, 210, 143, 0.3);
  color: var(--green);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.dev-approach__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
  background: linear-gradient(135deg, rgba(26, 210, 143, 0.1) 0%, rgba(26, 210, 143, 0.05) 100%);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.dev-approach__visual::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, var(--green), rgba(26, 210, 143, 0.6));
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.dev-approach__visual::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  background: linear-gradient(-45deg, var(--fg), rgba(15, 16, 16, 0.8));
  border-radius: 50%;
  animation: float 4s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .dev-hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
  }

  .dev-hero__cursor {
    display: none;
  }

  .dev-hero__benefits {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    justify-items: flex-start;
  }

  .dev-hero__benefit {
    justify-content: center;
  }

  .dev-services__grid {
    grid-template-columns: 1fr;
  }

  .dev-process__steps {
    grid-template-columns: 1fr;
  }

  .dev-why__grid {
    grid-template-columns: 1fr;
  }

  .dev-approach__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .dev-approach__visual {
    height: 300px;
  }

  .dev-contact__wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .dev-contact__visual {
    order: -1;
  }

  .dev-contact__letter {
    max-width: 200px;
  }

  .dev-contact__row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .dev-contact__bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }

  .dev-contact__button {
    width: 100%;
  }

  .dev-contact__captcha {
    justify-content: center;
  }

  .dev-projects__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .dev-projects__card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .dev-projects__card-image {
    margin: 0 auto 1.5rem;
  }
}

/* Раздел портфолио на темном фоне */
/* Portfolio Section */
.dev-portfolio {
  background: var(--fg);
  color: var(--white);
  padding: 6rem 0 8rem;
}

.dev-portfolio__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.dev-portfolio__header {
  margin-bottom: 4rem;
}

.dev-portfolio__label {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: rgba(26, 210, 143, 0.1);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(26, 210, 143, 0.3);
}

.dev-portfolio__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.dev-projects-scroll__slider {
  position: relative;
  margin-bottom: 3rem;
}

.dev-projects-scroll__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  gap: 2rem;
}

.dev-project-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.dev-project-slide:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(26, 210, 143, 0.3);
}

.dev-project-slide__image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dev-project-slide__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.dev-project-slide:hover .dev-project-slide__image img {
  transform: scale(1.05);
}

.dev-project-slide__content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.dev-project-slide__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}

.dev-project-slide__year,
.dev-project-slide__type,
.dev-project-slide__duration {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.dev-project-slide__year {
  background: rgba(255, 255, 255, 0.15);
}

.dev-project-slide__type {
  background: rgba(26, 210, 143, 0.2);
  color: var(--green);
}

.dev-project-slide__duration {
  background: rgba(255, 255, 255, 0.1);
}

.dev-project-slide__title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.dev-project-slide__description {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.dev-project-slide__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.dev-project-slide__tags span {
  padding: 0.35rem 0.9rem;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  font-weight: 500;
  transition: background 0.3s ease;
}

.dev-project-slide:hover .dev-project-slide__tags span {
  background: rgba(255, 255, 255, 0.15);
}

.dev-project-slide__result {
  margin-bottom: 1.5rem;
}

.dev-project-slide__result span {
  padding: 0.6rem 1.2rem;
  background: rgba(26, 210, 143, 0.15);
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.dev-project-slide__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 0;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.dev-project-slide__link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.3s ease;
}

.dev-project-slide__link:hover::before {
  width: 100%;
}

.dev-project-slide__link svg {
  transition: transform 0.3s ease;
}

.dev-project-slide__link:hover svg {
  transform: translateX(4px);
}

.dev-projects-scroll__navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.dev-projects-scroll__nav-btn {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dev-projects-scroll__nav-btn:hover:not(:disabled) {
  background: rgba(26, 210, 143, 0.2);
  border-color: var(--green);
}

.dev-projects-scroll__nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.dev-projects-scroll__dots {
  display: flex;
  gap: 1rem;
}

.dev-projects-scroll__dot {
  width: 12px;
  height: 12px;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dev-projects-scroll__dot.active {
  background: var(--green);
}

.dev-projects-scroll__dot:hover {
  background: rgba(26, 210, 143, 0.7);
}

.dev-projects-scroll__cta {
  text-align: center;
}

.dev-projects-scroll__button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.dev-projects-scroll__button:hover {
  background: var(--green);
  color: var(--fg);
  border-color: var(--green);
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
  .dev-projects-scroll {
    padding: clamp(3rem, 8vw, 4rem) 0;
  }

  .dev-projects-scroll__container {
    padding: 0 clamp(1rem, 5vw, 2rem);
  }

  .dev-project-slide {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem;
  }

  .dev-project-slide__image {
    height: 200px;
    order: -1;
  }

  .dev-project-slide__meta {
    justify-content: center;
  }

  .dev-projects-scroll__navigation {
    gap: 1rem;
  }

  .dev-projects-scroll__nav-btn {
    width: 40px;
    height: 40px;
  }
}

.dev-portfolio__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Portfolio Card */
.portfolio-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.portfolio-card:hover {
  border-color: var(--green);
}

.portfolio-card__image {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.4s ease;
}

.portfolio-card__img--main {
  opacity: 1;
  z-index: 1;
}

.portfolio-card__img--hover {
  opacity: 0;
  z-index: 0;
}

.portfolio-card:hover .portfolio-card__img--main {
  opacity: 0;
}

.portfolio-card:hover .portfolio-card__img--hover {
  opacity: 1;
}

.portfolio-card__content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
}

.portfolio-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}

.portfolio-card__tag {
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.portfolio-card__tag--primary {
  background: rgba(26, 210, 143, 0.1);
  border-color: rgba(26, 210, 143, 0.3);
  color: var(--green);
}

.portfolio-card:hover .portfolio-card__tag {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.portfolio-card:hover .portfolio-card__tag--primary {
  background: rgba(26, 210, 143, 0.15);
  border-color: rgba(26, 210, 143, 0.5);
}

.portfolio-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 0.3rem 0;
}

.portfolio-card__description {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portfolio-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.portfolio-card__tech {
  padding: 0.3rem 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-card__tech {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
}

.portfolio-card__result {
  padding: 0.6rem 0.9rem;
  background: rgba(26, 210, 143, 0.08);
  border: 1px solid rgba(26, 210, 143, 0.25);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.8rem;
  display: inline-block;
  align-self: flex-start;
}

.portfolio-card__link {
  display: inline-block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
  margin-top: auto;
  padding-top: 0.5rem;
}

.portfolio-card__link:hover {
  color: var(--green);
}

.dev-portfolio__cta {
  text-align: center;
  margin-top: 2rem;
}

.dev-portfolio__btn {
  display: inline-block;
  padding: 1.1rem 2.8rem;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Manrope', sans-serif;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.dev-portfolio__btn:hover {
  background: var(--green);
  color: var(--fg);
  border-color: var(--green);
}

/* Responsive */
@media (max-width: 1200px) {
  .dev-portfolio__grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
}

@media (max-width: 768px) {
  .dev-portfolio {
    padding: 4rem 0 5rem;
  }

  .dev-portfolio__container {
    padding: 0 1.5rem;
  }

  .dev-portfolio__header {
    margin-bottom: 3rem;
  }

  .dev-portfolio__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .portfolio-card__image {
    height: 220px;
  }

  .portfolio-card__content {
    padding: 1.5rem;
  }

  .portfolio-card__title {
    font-size: 1.25rem;
  }

  .dev-portfolio__btn {
    padding: 1rem 2rem;
    font-size: 0.95rem;
  }
}
