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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: #050505;
  color: #f5f5f5;
  font-family: Arial, Helvetica, sans-serif;
}

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

.page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 50px;
}

.header {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.logo-word {
  position: relative;
  display: inline-block;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -1.2px;
}

.logo-lead {
  color: #ffffff;
}

.logo-up {
  color: #ff5a00;
  position: relative;
  display: inline-block;
}

.logo-up::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 17px;
  top: -9px;
  right: -18px;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='17' viewBox='0 0 20 17' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 13 C7 11 10 7 14 4' stroke='%23ff5a00' stroke-width='2.8' stroke-linecap='round' fill='none'/%3E%3Cpath d='M12 3 L19 1 L17 8 Z' fill='%23ff5a00'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.logo-up::before {
  content: none;
}

.logo-sub {
  margin-top: 6px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 9px;
  text-transform: uppercase;
  opacity: 1;
}
.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.logo-img {
  width: 190px;
  height: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 38px;
  color: #c7c7c7;
  font-size: 15px;
}

.nav a:hover {
  color: #ff5a00;
}

.top-btn,
.btn,
.order-btn,
.telegram-btn {
  border-radius: 6px;
  transition: 0.2s;
}

.top-btn {
  background: linear-gradient(135deg, #ff7a00, #ff3d00);
  padding: 18px 28px;
  font-weight: 700;
}

.top-btn:hover,
.btn.primary:hover,
.telegram-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(255, 90, 0, 0.35);
}

.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 80px 80px auto auto;
  width: 430px;
  height: 430px;
  background: radial-gradient(circle, rgba(255, 90, 0, 0.3), transparent 65%);
  filter: blur(20px);
  z-index: -1;
}

.eyebrow {
  color: #b9b9b9;
  font-size: 17px;
  letter-spacing: 1px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.eyebrow::after {
  content: "";
  width: 38px;
  height: 2px;
  background: #ff5a00;
}

h1 {
  font-size: clamp(52px, 6vw, 86px);
  line-height: 0.92;
  letter-spacing: -3px;
  text-transform: uppercase;
  font-weight: 950;
}

h1 span {
  color: #ff5a00;
}

.hero-text {
  margin-top: 24px;
  color: #b8b8b8;
  font-size: 18px;
  line-height: 1.55;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.btn {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.btn.primary {
  background: linear-gradient(135deg, #ff7a00, #ff3d00);
}

.btn.secondary {
  border: 1px solid rgba(255, 90, 0, 0.55);
  color: #d8d8d8;
}

.proof {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #b8b8b8;
}

.proof b {
  color: #ff5a00;
}

.avatars {
  display: flex;
}

.avatars span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd3bd, #6e6e6e);
  border: 2px solid #050505;
  margin-left: -8px;
  color: #151515;
  font-weight: 800;
}

.avatars span:first-child {
  margin-left: 0;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
  position: relative;
}

.laptop-card {
  width: min(520px, 100%);
  aspect-ratio: 1.35 / 1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), transparent),
    radial-gradient(circle at 75% 45%, rgba(255, 90, 0, 0.45), transparent 30%),
    #0b0b0b;
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.8),
    0 0 70px rgba(255, 90, 0, 0.16);
  transform: perspective(900px) rotateY(-12deg) rotateX(6deg);
  padding: 22px;
}

.screen {
  height: 100%;
  border-radius: 16px;
  background:
    radial-gradient(circle at 80% 40%, rgba(255, 122, 0, 0.35), transparent 28%),
    linear-gradient(135deg, #151515, #060606);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.screen-top {
  display: flex;
  justify-content: space-between;
  color: #a4a4a4;
  font-size: 12px;
}

.screen-content p {
  color: #cfcfcf;
  margin-bottom: 8px;
}

.screen-content h3 {
  font-size: 27px;
  max-width: 280px;
  line-height: 1.1;
}

.screen-content button {
  margin-top: 18px;
  background: #ff7a00;
  border: none;
  color: #111;
  padding: 10px 16px;
  border-radius: 4px;
  font-weight: 800;
}

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

.screen-stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.screen-stats b {
  font-size: 18px;
}

.screen-stats span {
  color: #929292;
  font-size: 12px;
}

.section {
  margin-top: 44px;
}

.section h2 {
  color: #ff5a00;
  text-align: center;
  font-size: 16px;
  margin-bottom: 20px;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  overflow: hidden;
}

.feature {
  padding: 24px;
  border-right: 1px solid rgba(255,255,255,0.09);
}

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

.icon {
  color: #ff5a00;
  font-size: 34px;
  margin-bottom: 12px;
}

.feature h3,
.work h3,
.price-card h3,
.process h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature p,
.work p,
.price-card p,
.process p,
.faq p,
.contact p {
  color: #aaa;
  line-height: 1.5;
}

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

.work {
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.work::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 35%, rgba(255,90,0,0.32), transparent 35%);
  z-index: -1;
}

.work-1 {
  background: linear-gradient(135deg, #27120b, #050505);
}

.work-2 {
  background: linear-gradient(135deg, #1c1c1c, #050505);
}

.work-3 {
  background: linear-gradient(135deg, #21150e, #050505);
}

.work strong {
  display: block;
  margin-top: 12px;
  color: #ff5a00;
  font-size: 28px;
}

.work a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  font-size: 24px;
}

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

.price-card {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  background: rgba(255,255,255,0.025);
}

.price-card.popular {
  border-color: #ff5a00;
  box-shadow: 0 0 35px rgba(255, 90, 0, 0.13);
}

.badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.1);
  color: #ddd;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 12px;
}

.price {
  margin: 22px 0 16px;
  color: #aaa;
}

.price b {
  color: #ff5a00;
  font-size: 30px;
  font-weight: 500;
}

.price-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.price-card li {
  color: #cfcfcf;
}

.price-card li::before {
  content: "✓";
  color: #ff8a00;
  margin-right: 8px;
}

.order-btn {
  width: 100%;
  height: 48px;
  border: 1px solid #ff5a00;
  display: grid;
  place-items: center;
  color: #ff5a00;
  font-weight: 800;
}

.order-btn.filled {
  background: linear-gradient(135deg, #ff7a00, #ff3d00);
  color: white;
}

.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
}

.process b {
  color: #ff5a00;
}

.faq {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  overflow: hidden;
}

details {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 16px 22px;
}

details:last-child {
  border-bottom: none;
}

summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  color: #d6d6d6;
}

summary::after {
  content: "+";
  color: #fff;
}

details[open] summary::after {
  content: "−";
}

details p {
  margin-top: 12px;
}

.contact {
  margin-top: 28px;
  padding: 34px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    radial-gradient(circle at 90% 50%, rgba(255, 90, 0, 0.25), transparent 25%),
    rgba(255,255,255,0.025);
}

.contact h2 {
  font-size: 30px;
  margin-bottom: 12px;
}

.telegram-btn {
  background: linear-gradient(135deg, #ff7a00, #ff3d00);
  padding: 17px 28px;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .header {
    height: auto;
    padding: 28px 0;
    flex-direction: column;
  }

  .nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
  }

  .top-btn {
    width: 100%;
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .eyebrow {
    justify-content: center;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons,
  .proof {
    justify-content: center;
  }

  .features,
  .portfolio,
  .prices,
  .process {
    grid-template-columns: 1fr;
  }

  .feature {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.09);
  }

  .feature:last-child {
    border-bottom: none;
  }

  .contact {
    flex-direction: column;
    text-align: center;
  }

  .telegram-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .page {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    font-size: 46px;
  }

  .hero-text {
    font-size: 16px;
  }

  .btn {
    width: 100%;
  }

  .laptop-card {
    transform: none;
  }

  .screen-stats {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .header {
    padding: 22px 14px;
    gap: 18px;
  }
  .services-section {
    padding: 18px 0 6px;
}

.services-section h2 {
    font-size: 18px;
    margin-bottom: 16px;
}

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

.feature {
    min-height: auto;
    padding: 20px 16px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.feature:last-child {
    border-bottom: none;
}

.feature .icon {
    font-size: 26px;
    margin-bottom: 12px;
}

.feature h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.feature p {
    font-size: 15px;
    line-height: 1.55;
}

  .logo-img {
    width: 120px;
  }

  .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 22px;
    font-size: 15px;
    line-height: 1.2;
  }

  .top-btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
    padding: 16px 18px;
    font-size: 16px;
    border-radius: 8px;
  }

  .hero {
    padding: 34px 14px 60px;
  }

  .hero h1 {
    font-size: clamp(32px, 10vw, 44px);
    line-height: 1.02;
    letter-spacing: -1px;
    max-width: 100%;
    overflow-wrap: break-word;
}

  .hero-text {
    font-size: 17px;
    line-height: 1.5;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
  }
}
.services-section {
  padding: 28px 0 10px;
}

.services-section h2 {
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ff6a00;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.feature {
  padding: 22px 20px 20px;
  min-height: 170px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

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

.feature .icon {
  font-size: 28px;
  line-height: 1;
  color: #ff6a00;
  margin-bottom: 16px;
}

.feature h3 {
  font-size: 18px;
  font-weight: 700;
  color: #f5f5f5;
  margin: 0 0 12px;
  line-height: 1.25;
}

.feature p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.74);
  margin: 0;
}
@media (max-width: 900px) {
    .services-section .features {
        display: grid;
        grid-template-columns: 1fr !important;
      }

    .services-section .feature {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 16px;
}

.services-section .feature .icon {
    font-size: 24px;
    margin-bottom: 12px;
}

.services-section .feature h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.services-section .feature p {
    font-size: 15px;
    line-height: 1.5;
}

    .services-section .feature:last-child {
        border-bottom: none;
    }
}
/* Portfolio section upgrade */

#portfolio {
    padding-top: 34px;
}

#portfolio h2 {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: #ff6a00;
    margin-bottom: 18px;
    text-transform: uppercase;
}

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

.work {
    position: relative;
    min-height: 190px;
    padding: 24px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 85% 35%, rgba(255, 106, 0, 0.25), transparent 34%),
        linear-gradient(135deg, rgba(255, 106, 0, 0.14), rgba(255, 255, 255, 0.03) 45%, rgba(0, 0, 0, 0.9));
}

.work::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.35));
    z-index: 0;
}

.work > div,
.work > a {
    position: relative;
    z-index: 1;
}

.work h3 {
    max-width: 250px;
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.work p {
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 14px;
}

.work strong {
    display: block;
    font-size: 30px;
    line-height: 1;
    color: #ff5a00;
}

.work a {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 26px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(0, 0, 0, 0.35);
}

.work a:hover {
    border-color: #ff6a00;
    background: rgba(255, 106, 0, 0.16);
}
@media (max-width: 900px) {
    #portfolio {
        padding-top: 28px;
    }

    #portfolio h2 {
        font-size: 20px;
        margin-bottom: 18px;
    }

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

    .work {
        min-height: 160px;
        padding: 22px 18px;
        border-radius: 14px;
    }

    .work h3 {
        max-width: 300px;
        font-size: 20px;
        margin-bottom: 14px;
    }

    .work p {
        font-size: 15px;
        margin-bottom: 14px;
    }

    .work strong {
        font-size: 30px;
    }

    .work a {
        width: 42px;
        height: 42px;
        right: 16px;
        bottom: 16px;
        font-size: 24px;
    }
}
#prices {
    padding-top: 28px;
}
#prices h2 {
    font-size: 24px;
    font-weight: 800;
    color: #ff6a00;
    text-align: center;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
@media (max-width: 900px) {
    #prices {
        padding-top: 28px;
    }
        #prices h2 {
        font-size: 24px;
        margin-bottom: 24px;
    }
}
/* ===== Improved pricing cards ===== */

#prices :is(.pricing-grid, .prices-grid, .tariffs-grid, .pricing-cards) {
  gap: 22px;
  align-items: stretch;
}

#prices :is(.pricing-card, .price-card, .tariff-card, .plan-card, .card) {
  position: relative;
  overflow: hidden;
  padding: 32px 28px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(255, 106, 0, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border: 1px solid rgba(255, 106, 0, 0.22);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

#prices :is(.pricing-card, .price-card, .tariff-card, .plan-card, .card):hover {
  transform: translateY(-6px);
  border-color: rgba(255, 106, 0, 0.5);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(255, 106, 0, 0.12);
}

#prices :is(.pricing-card, .price-card, .tariff-card, .plan-card, .card) h3 {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.4px;
  margin-bottom: 14px;
}

#prices :is(.pricing-card, .price-card, .tariff-card, .plan-card, .card) p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.55;
}

#prices :is(.price, .pricing-price, .tariff-price, .amount) {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 24px 0 22px;
  color: #ff6a00;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -1px;
}

#prices :is(.pricing-card, .price-card, .tariff-card, .plan-card, .card) ul {
  display: grid;
  gap: 13px;
  margin: 24px 0 30px;
  padding: 0;
}

#prices :is(.pricing-card, .price-card, .tariff-card, .plan-card, .card) li {
  font-size: 16px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

#prices :is(.pricing-card, .price-card, .tariff-card, .plan-card, .card) a,
#prices :is(.pricing-card, .price-card, .tariff-card, .plan-card, .card) button {
  width: 100%;
  min-height: 58px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 900;
  background: linear-gradient(135deg, #ff6a00, #ff8a00);
  color: #0b0b0b;
  border: none;
  box-shadow: 0 14px 34px rgba(255, 106, 0, 0.24);
}

/* выделение второго тарифа */
#prices :is(.pricing-card, .price-card, .tariff-card, .plan-card, .card):nth-child(2) {
  border-color: rgba(255, 106, 0, 0.62);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.6),
    0 0 55px rgba(255, 106, 0, 0.16);
}

#prices :is(.pricing-card, .price-card, .tariff-card, .plan-card, .card):nth-child(2)::before {
  content: "Найпопулярніший";
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.14);
  border: 1px solid rgba(255, 106, 0, 0.45);
  color: #ff8a00;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.3px;
}

/* mobile pricing */
@media (max-width: 900px) {
#prices :is(.pricing-card, .price-card, .tariff-card, .plan-card, .card) {
  padding: 28px 22px;
  border-radius: 22px;
}

  #prices :is(.price, .pricing-price, .tariff-price, .amount) {
    font-size: 36px;
  }

  #prices :is(.pricing-card, .price-card, .tariff-card, .plan-card, .card):nth-child(2)::before {
    position: static;
    display: inline-block;
    margin-bottom: 16px;
  }
}
/* ===== Header logo desktop fix ===== */

.logo img,
.header-logo img,
.nav-logo img,
header img {
  max-height: 86px;
}

.logo,
.header-logo,
.nav-logo {
  display: flex;
  align-items: center;
}

/* ===== Process section improvement ===== */

/* ===== Process section improvement ===== */

#process {
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 56px;
  padding-right: 56px;
}

#process h2 {
  text-align: center;
  color: #ffffff;
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 54px;
  text-transform: uppercase;
}

.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 52px;
}

.process > div {
  text-align: center;
  padding: 0 18px;
  border-radius: 0;
  background: transparent;
  border: none;
}

.process > div:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.process b {
  display: block;
  color: #ff6a00;
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 14px;
}

.process h3 {
  color: #ffffff;
  font-size: 24px;
  line-height: 1.15;
  margin-bottom: 18px;
}

.process p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 17px;
  line-height: 1.55;
}
.process-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 32px;
  border-radius: 18px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff7a00;
  background: rgba(255, 106, 0, 0.035);
  border: 1.5px solid rgba(255, 106, 0, 0.72);
  box-shadow:
    0 0 22px rgba(255, 106, 0, 0.18),
    inset 0 0 20px rgba(255, 106, 0, 0.06);
}

.process-icon::before {
  content: none;
}

.process-icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 7px rgba(255, 106, 0, 0.45));
}

:is(.step, .process-step, .work-step) span,
:is(.step, .process-step, .work-step) .number {
  display: block;
  color: #ff6a00;
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 10px;
}

:is(.step, .process-step, .work-step) h3 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 14px;
}

:is(.step, .process-step, .work-step) p {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,0.68);
}

@media (max-width: 900px) {
  .logo img,
  .header-logo img,
  .nav-logo img,
  header img {
    max-height: 62px;
  }

  :is(#process, #work, .process, .work, .steps) {
    padding-left: 20px;
    padding-right: 20px;
  }

  :is(.steps-grid, .process-grid, .work-grid) {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .process > div {
  border-right: none !important;
  padding: 26px 18px;
}

.process-icon {
  margin-bottom: 22px;
}
}
@media (max-width: 768px) {
  .logo .logo-img {
    width: 170px;
    height: auto;
    max-height: none;
    object-fit: contain;
  }
}
.hero {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  align-items: center;
  gap: 10px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  overflow: visible;
}

.hero-mac {
  width: 145%;
  max-width: none;
  height: auto;
  display: block;
  object-fit: contain;
  margin-left: -18%;
}

/* Планшет */
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-image {
    margin-top: 10px;
  }

  .hero-mac {
    max-width: 560px;
    margin: 0 auto;
  }
}

/* Телефон */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
  }

 .hero-image {
  margin-top: 28px;
  overflow: visible;
}

.hero-mac {
  width: 108%;
  max-width: 470px;
  margin-left: -4%;
}
}
.why-section {
  padding: 35px 0 70px;
  background: #050505;
}

.section-label {
  color: #ff5a00;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.why-section h2 {
  text-align: center;
  color: #ff5a00;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 34px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.why-card {
  min-height: 260px;
  padding: 34px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at top left, rgba(255, 90, 0, 0.18), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  transition: 0.25s ease;
}

.why-card:last-child {
  border-right: none;
}

.why-card:hover {
  transform: translateY(-6px);
  background:
    radial-gradient(circle at top left, rgba(255, 90, 0, 0.28), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
}

.why-icon {
  width: 72px;
  height: 72px;
  color: #ff5a00;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 26px;
  flex-shrink: 0;
}

.why-icon svg {
  width: 42px;
  height: 42px;
  display: block;
}

.why-card h3 {
  color: #ffffff;
  font-size: 21px;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 14px;
}

.why-card p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 900px) {
  .why-section {
    padding: 70px 0 50px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .why-card {
    min-height: auto;
    padding: 28px 24px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .why-card:last-child {
    border-bottom: none;
  }

  .why-icon {
    margin-bottom: 20px;
  }

  .why-card h3 {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 12px;
  }
}  
.contact-section {
  padding: 90px 0;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
  padding: 44px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.16), rgba(10, 10, 10, 0.96));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.contact-copy h2 {
  margin: 0 0 22px;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 0.95;
  color: #ff5a00;
}

.contact-copy p {
  margin-top: 56px;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.76);
}
.contact-card .contact-copy .eyebrow {
  color: rgba(255, 255, 255, 0.92) !important;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.16),
    rgba(255, 255, 255, 0.05)
  ) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  box-shadow:
    0 0 26px rgba(255, 255, 255, 0.12),
    inset 0 0 18px rgba(255, 255, 255, 0.08);
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.35);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  color: #ffffff;
  font: inherit;
  outline: none;
  transition: 0.25s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 106, 0, 0.75);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.14);
}

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

.contact-form .btn {
  width: 100%;
  min-height: 62px;
  border-radius: 20px;
  border: none;
  background: linear-gradient(135deg, #ff7a00, #ff3d00);
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}

.contact-form .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255, 106, 0, 0.28);
}

.hidden-field {
  display: none;
}

@media (max-width: 768px) {
  .contact-section {
    padding: 60px 0;
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 24px;
    border-radius: 24px;
  }

  .contact-copy h2 {
    font-size: 44px;
  }

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

  .contact-form input,
  .contact-form textarea {
    padding: 16px 18px;
    border-radius: 18px;
  }
}
.contact-section .eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 24px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 106, 0, 0.28);
  background: rgba(255, 106, 0, 0.1);
  color: #ff6a00;
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-section .eyebrow::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 768px) {
  .contact-section .eyebrow {
    margin-bottom: 18px;
    padding: 9px 15px;
    font-size: 14px;
  }
}
#portfolio {
  padding-top: 28px;
  padding-bottom: 70px;
}

#portfolio h2 {
  margin-top: 0;
  margin-bottom: 28px;
  font-size: 22px;
  color: #ff5a00;
  text-align: center;
}

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

.work {
  position: relative;
  min-height: 190px;
  padding: 34px 34px 28px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-color: #070707;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.work::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.34)),
    radial-gradient(circle at 78% 35%, rgba(255, 90, 0, 0.26), transparent 36%);
  opacity: 0.95;
}

.work::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 90, 0, 0.08));
  pointer-events: none;
}

.work-1 {
  background-image: url("./images/work-1.png");
}

.work-2 {
  background-image: url("./images/work-2.png");
}

.work-3 {
  background-image: url("./images/work-3.png");
}

.work-content {
  position: relative;
  z-index: 2;
  max-width: 250px;
}

.work h3 {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.12;
  color: #ffffff;
}

.work p,
.work span {
  display: block;
  margin: 0 0 8px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.68);
}

.work strong {
  display: block;
  margin-top: 4px;
  font-size: 30px;
  line-height: 1;
  color: #ff5a00;
}

.work a {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  text-decoration: none;
  font-size: 30px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.work-1 {
  background-image: url("./images/work-1.png");
}

.work-2 {
  background-image: url("./images/work-2.png");
}

.work-3 {
  background-image: url("./images/work-3.png");
}

@media (max-width: 900px) {
  .portfolio {
    grid-template-columns: 1fr;
  }

  .work {
    min-height: 180px;
  }
}
/* Process + FAQ like reference */

#process {
  padding-top: 34px;
  padding-bottom: 28px;
}

#process h2 {
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
}

#process .process,
#process .steps,
#process .process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
}

#process article,
#process .step,
#process .process-item {
  padding: 0 24px;
  border: none;
  background: transparent;
  box-shadow: none;
}

#process article h3,
#process .step h3,
#process .process-item h3 {
  margin: 4px 0 12px;
  font-size: 17px;
  line-height: 1.15;
  color: #ffffff;
}

#process article p,
#process .step p,
#process .process-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

#process article strong,
#process .step strong,
#process .process-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  color: #ff5a00;
}

/* FAQ */

#faq {
  padding-top: 18px;
  padding-bottom: 34px;
}

#faq h2 {
  margin: 0 0 18px;
  font-size: 17px;
  text-align: center;
  color: #ff5a00;
}

#faq details {
  border-radius: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.015);
}

#faq details:first-of-type {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

#faq details:last-of-type {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

#faq summary {
  min-height: 50px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}

#faq summary::marker {
  color: transparent;
}

#faq summary::before {
  content: "▶";
  margin-right: auto;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

#faq summary::after {
  content: "+";
  margin-left: auto;
  font-size: 18px;
  color: #ffffff;
}

#faq details[open] summary::after {
  content: "–";
}

#faq details p {
  margin: 0;
  padding: 0 64px 18px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 900px) {
  #process .process,
  #process .steps,
  #process .process-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #process article,
  #process .step,
  #process .process-item {
    padding: 0;
  }

  #faq summary {
    justify-content: flex-start;
    text-align: left;
  }
}
/* Process section */

#process {
  padding-top: 36px;
  padding-bottom: 28px;
}

#process h2 {
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.process div {
  padding: 0 24px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.process b {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  line-height: 1;
  color: #ff5a00;
}

.process h3 {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.15;
  color: #ffffff;
}

.process p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

/* FAQ section */

#faq {
  padding-top: 18px;
  padding-bottom: 34px;
}

#faq h2 {
  margin: 0 0 18px;
  font-size: 17px;
  text-align: center;
  color: #ff5a00;
}

.faq {
  max-width: 1180px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq details {
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.015);
}

.faq details:last-child {
  border-bottom: none;
}

.faq summary {
  min-height: 50px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}

.faq summary::marker {
  color: transparent;
}

.faq summary::before {
  content: "▶";
  margin-right: auto;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.faq summary::after {
  content: "+";
  margin-left: auto;
  font-size: 18px;
  color: #ffffff;
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  margin: 0;
  padding: 0 64px 18px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 900px) {
  .process {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .process div {
    padding: 0;
  }

  .faq summary {
    justify-content: flex-start;
    text-align: left;
  }
}
@media (min-width: 900px) {
  .process-icon {
    width: 96px;
    height: 96px;
    margin-bottom: 34px;
  }

  .process-icon svg {
    width: 54px;
    height: 54px;
  }
}
/* Premium FAQ */
.faq {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq details {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.045),
    rgba(255, 255, 255, 0.015)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 50px rgba(0, 0, 0, 0.28);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.faq details:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 106, 0, 0.35);
  background: linear-gradient(
    135deg,
    rgba(255, 106, 0, 0.09),
    rgba(255, 255, 255, 0.02)
  );
}

.faq details[open] {
  border-color: rgba(255, 106, 0, 0.45);
  background:
    radial-gradient(circle at top right, rgba(255, 106, 0, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
}

.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 28px 74px 28px 34px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
  min-height: 88px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::marker {
  content: "";
}

.faq summary::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 18px;
  border-radius: 50%;
  background: #ff6a00;
  box-shadow: 0 0 18px rgba(255, 106, 0, 0.9);
  flex: 0 0 auto;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ff6a00;
  font-size: 26px;
  font-weight: 700;
  background: rgba(255, 106, 0, 0.08);
  border: 1px solid rgba(255, 106, 0, 0.28);
  box-shadow: 0 0 22px rgba(255, 106, 0, 0.12);
  transition: transform 0.25s ease, background 0.25s ease;
}

.faq details[open] summary::after {
  content: "−";
  background: rgba(255, 106, 0, 0.16);
  transform: translateY(-50%) rotate(180deg);
}

.faq details p {
  margin: 0;
  padding: 0 74px 30px 61px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 17px;
  line-height: 1.65;
  max-width: 850px;
}

@media (max-width: 700px) {
  .faq {
    gap: 12px;
  }

  .faq summary {
    padding: 22px 62px 22px 22px;
    font-size: 17px;
    min-height: 74px;
  }

  .faq summary::before {
    width: 7px;
    height: 7px;
    margin-right: 13px;
  }

  .faq summary::after {
    right: 18px;
    width: 30px;
    height: 30px;
    font-size: 23px;
  }

  .faq details p {
    padding: 0 24px 24px 42px;
    font-size: 15.5px;
  }
}
/* FAQ alignment fix */
#faq .faq {
  max-width: 1120px;
  margin: 0 auto;
  display: grid !important;
  gap: 14px !important;
  border: 0 !important;
  background: transparent !important;
}

#faq .faq details {
  border-radius: 22px !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.045),
    rgba(255, 255, 255, 0.015)
  ) !important;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 50px rgba(0, 0, 0, 0.28);
}

#faq .faq summary {
  list-style: none !important;
  cursor: pointer;
  min-height: 88px;
  padding: 26px 30px !important;

  display: grid !important;
  grid-template-columns: 18px 1fr 38px !important;
  align-items: center !important;
  gap: 18px !important;

  text-align: left !important;
  justify-content: initial !important;

  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.9);
}

#faq .faq summary::-webkit-details-marker {
  display: none !important;
}

#faq .faq summary::marker {
  content: "" !important;
}

#faq .faq summary::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff6a00;
  box-shadow: 0 0 18px rgba(255, 106, 0, 0.9);
}

#faq .faq summary::after {
  content: "+";
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;

  color: #ff6a00;
  font-size: 26px;
  font-weight: 700;

  background: rgba(255, 106, 0, 0.08);
  border: 1px solid rgba(255, 106, 0, 0.28);
  box-shadow: 0 0 22px rgba(255, 106, 0, 0.14);

  position: static !important;
  transform: none !important;
  justify-self: end;
}

#faq .faq details[open] {
  border-color: rgba(255, 106, 0, 0.45) !important;
  background:
    radial-gradient(circle at top right, rgba(255, 106, 0, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)) !important;
}

#faq .faq details[open] summary::after {
  content: "−";
  background: rgba(255, 106, 0, 0.16);
}

#faq .faq details p {
  margin: 0 !important;
  padding: 0 86px 28px 66px !important;
  color: rgba(255, 255, 255, 0.62);
  font-size: 17px;
  line-height: 1.65;
  max-width: 850px;
  text-align: left;
}

@media (max-width: 700px) {
  #faq .faq {
    gap: 12px !important;
  }

  #faq .faq summary {
    min-height: 76px;
    padding: 22px 20px !important;
    grid-template-columns: 14px 1fr 34px !important;
    gap: 13px !important;
    font-size: 17px;
  }

  #faq .faq summary::before {
    width: 7px;
    height: 7px;
  }

  #faq .faq summary::after {
    width: 32px;
    height: 32px;
    font-size: 23px;
  }

  #faq .faq details p {
    padding: 0 22px 24px 47px !important;
    font-size: 15.5px;
  }
}
/* Telegram CTA */
.tg-cta {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr auto 220px;
  align-items: center;
  gap: 28px;
  padding: 30px 32px;
  margin: 34px 0 0;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)),
    #070707;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 20px 60px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.tg-cta::before {
  content: "";
  position: absolute;
  right: 90px;
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.28), transparent 68%);
  filter: blur(18px);
  pointer-events: none;
}

.tg-cta__content {
  position: relative;
  z-index: 2;
}

.tg-cta__content h2 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.12;
  font-weight: 800;
  color: #fff;
}

.tg-cta__content p {
  margin: 0;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

.tg-cta__side {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.tg-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 250px;
  height: 58px;
  padding: 0 24px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ff8a1a 0%, #ff6a00 100%);
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  box-shadow:
    0 10px 30px rgba(255, 106, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tg-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 34px rgba(255, 106, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.tg-cta__btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}

.tg-cta__handle {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
}

.tg-cta__art {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  color: #ff7a0d;
}

.tg-cta__glow {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 170px;
  height: 90px;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.45), transparent 70%);
  filter: blur(16px);
  pointer-events: none;
}

.tg-cta__art svg {
  position: relative;
  width: 180px;
  height: auto;
  filter:
    drop-shadow(0 0 10px rgba(255, 106, 0, 0.35))
    drop-shadow(0 0 24px rgba(255, 106, 0, 0.2));
}

@media (max-width: 1000px) {
  .tg-cta {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 26px 22px;
    text-align: left;
  }

  .tg-cta__content h2 {
    font-size: 26px;
  }

  .tg-cta__side {
    align-items: flex-start;
  }

  .tg-cta__btn {
    min-width: 230px;
    height: 54px;
    font-size: 17px;
  }

  .tg-cta__art {
    justify-content: flex-end;
  }

  .tg-cta__art svg {
    width: 150px;
  }

  .tg-cta::before {
    right: 20px;
    top: auto;
    bottom: 0;
    transform: none;
  }
}

@media (max-width: 700px) {
  .tg-cta {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .tg-cta__content h2 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .tg-cta__content p {
    font-size: 15px;
  }

  .tg-cta__btn {
    width: 100%;
    min-width: 0;
    font-size: 16px;
  }

  .tg-cta__side {
    width: 100%;
    align-items: stretch;
  }

  .tg-cta__handle {
    text-align: center;
  }

  .tg-cta__art {
    justify-content: center;
  }

  .tg-cta__art svg {
    width: 132px;
  }

  .tg-cta__glow {
    width: 130px;
    height: 72px;
  }
}
/* Mobile hero order fix */
@media (max-width: 700px) {
  header .btn,
  header .btn-primary,
  .nav-cta {
    display: none !important;
  }

  .hero {
    display: flex !important;
    flex-direction: column !important;
  }

  .hero-content {
    display: contents;
  }

  .hero h1 {
    order: 1;
  }

  .hero p {
    order: 2;
  }

  .hero-image {
    order: 3;
    width: 100%;
    margin: 28px auto 24px;
  }

  .hero-image img {
    display: block;
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
  }

  .hero-actions,
  .hero-buttons {
    order: 4;
    width: 100%;
  }
}
/* Mobile only: hide top consultation button */
@media (max-width: 700px) {
  header a[href="#contact"],
  .header a[href="#contact"],
  .site-header a[href="#contact"],
  .topbar a[href="#contact"],
  .navbar a[href="#contact"],
  nav .btn,
  nav .btn-primary,
  .header .btn,
  .header .btn-primary,
  .header-cta,
  .nav-cta {
    display: none !important;
  }
}
/* Mobile only: premium laptop background */
@media (max-width: 700px) {
  .hero-image {
    position: relative;
    margin: 30px auto 28px !important;
    padding: 18px 10px;
    border-radius: 28px;
    overflow: hidden;
    background:
      radial-gradient(circle at 50% 65%, rgba(255, 106, 0, 0.34), transparent 42%),
      radial-gradient(circle at 50% 100%, rgba(255, 106, 0, 0.22), transparent 48%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0));
  }

  .hero-image::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 26px;
    background: radial-gradient(circle at center, rgba(255, 106, 0, 0.18), transparent 62%);
    filter: blur(18px);
    pointer-events: none;
  }

  .hero-image img {
    position: relative;
    z-index: 2;
    width: 108% !important;
    max-width: none !important;
    margin-left: -4%;
    border-radius: 22px;

    -webkit-mask-image: radial-gradient(ellipse 82% 78% at center, #000 62%, transparent 100%);
    mask-image: radial-gradient(ellipse 82% 78% at center, #000 62%, transparent 100%);
  }
}
/* Mobile only: smoother laptop blend */
@media (max-width: 700px) {
  .hero-image {
    position: relative;
    isolation: isolate;
    margin: 30px auto 24px !important;
    padding: 8px 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
    background: none !important;
  }

  .hero-image::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 58%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 78%;
    border-radius: 50%;
    background:
      radial-gradient(circle at 50% 55%, rgba(255, 106, 0, 0.34), transparent 42%),
      radial-gradient(circle at 50% 85%, rgba(255, 106, 0, 0.22), transparent 56%);
    filter: blur(26px);
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
  }

  .hero-image::after {
  content: "";
  position: absolute;
  inset: -14px;
  z-index: 3;
  pointer-events: none;
  border-radius: 30px;
  background:
    linear-gradient(
      to bottom,
      #050505 0%,
      rgba(5, 5, 5, 0.95) 10%,
      rgba(5, 5, 5, 0.7) 20%,
      rgba(5, 5, 5, 0.3) 32%,
      transparent 46%
    ),
    linear-gradient(
      to right,
      #050505 0%,
      rgba(5, 5, 5, 0.9) 7%,
      rgba(5, 5, 5, 0.45) 18%,
      transparent 34%,
      transparent 66%,
      rgba(5, 5, 5, 0.45) 82%,
      rgba(5, 5, 5, 0.9) 93%,
      #050505 100%
    ),
    radial-gradient(
      ellipse 84% 74% at 50% 58%,
      transparent 42%,
      rgba(0, 0, 0, 0.22) 66%,
      rgba(0, 0, 0, 0.58) 84%,
      #050505 100%
    );
}

  .hero-image img {
    position: relative;
    z-index: 2;
    display: block;
    width: 114% !important;
    max-width: none !important;
    margin-left: -7% !important;
    border-radius: 0 !important;
    filter:
      drop-shadow(0 28px 44px rgba(0, 0, 0, 0.55))
      drop-shadow(0 0 34px rgba(255, 106, 0, 0.16));

    -webkit-mask-image: radial-gradient(
      ellipse 76% 70% at 50% 54%,
      #000 44%,
      rgba(0, 0, 0, 0.72) 64%,
      transparent 92%
    );
    mask-image: radial-gradient(
      ellipse 76% 70% at 50% 54%,
      #000 44%,
      rgba(0, 0, 0, 0.72) 64%,
      transparent 92%
    );
  }
}
/* Mobile final: laptop scene blend */
@media (max-width: 700px) {
  .hero-image {
    position: relative !important;
    width: 100% !important;
    height: 270px !important;
    margin: 24px auto 26px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 28px !important;
    background:
      radial-gradient(circle at 50% 72%, rgba(255, 106, 0, 0.34), transparent 42%),
      radial-gradient(circle at 50% 90%, rgba(255, 106, 0, 0.22), transparent 55%),
      linear-gradient(180deg, #050505 0%, #090604 50%, #050505 100%) !important;
  }

  .hero-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background:
      linear-gradient(to bottom, #050505 0%, rgba(5,5,5,0.92) 12%, transparent 34%),
      linear-gradient(to right, #050505 0%, rgba(5,5,5,0.82) 13%, transparent 31%, transparent 69%, rgba(5,5,5,0.82) 87%, #050505 100%),
      linear-gradient(to top, #050505 0%, rgba(5,5,5,0.7) 10%, transparent 30%);
  }

  .hero-image::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -35px;
    transform: translateX(-50%);
    width: 90%;
    height: 120px;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.35), transparent 68%);
    filter: blur(28px);
  }

  .hero-image img {
    position: absolute !important;
    z-index: 2 !important;
    left: 50% !important;
    top: 50% !important;
    width: 128% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    transform: translate(-50%, -43%) !important;
    border-radius: 0 !important;

    filter:
      drop-shadow(0 30px 44px rgba(0, 0, 0, 0.7))
      drop-shadow(0 0 38px rgba(255, 106, 0, 0.18)) !important;
  }
}
/* Mobile only: hero order final */
@media (max-width: 700px) {
  .hero {
    display: flex !important;
    flex-direction: column !important;
  }

  .hero-content {
    display: contents !important;
  }

  .hero h1 {
    order: 1 !important;
  }

  .hero-image {
    order: 2 !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    margin: 28px auto 26px !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: none !important;
    border-radius: 0 !important;
  }

  .hero-image::before,
  .hero-image::after {
    display: none !important;
  }

  .hero-image img {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 430px !important;
    height: auto !important;
    margin: 0 auto !important;
    transform: none !important;
    border-radius: 0 !important;
    filter:
      drop-shadow(0 24px 44px rgba(0, 0, 0, 0.65))
      drop-shadow(0 0 28px rgba(255, 106, 0, 0.16)) !important;
  }

  .hero p {
    order: 3 !important;
    margin-top: 4px !important;
  }

  .hero-actions,
  .hero-buttons {
    order: 4 !important;
    width: 100% !important;
  }

  header a[href="#contact"],
  .header a[href="#contact"],
  .site-header a[href="#contact"],
  .topbar a[href="#contact"],
  .navbar a[href="#contact"],
  nav .btn,
  nav .btn-primary,
  .header .btn,
  .header .btn-primary,
  .header-cta,
  .nav-cta {
    display: none !important;
  }
}
/* Mobile only: center laptop image */
@media (max-width: 700px) {
  .hero-image {
    order: 2 !important;
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;

    margin: 26px auto 24px !important;
    padding: 0 !important;

    overflow: visible !important;
    background: none !important;
    border-radius: 0 !important;
  }

  .hero-image::before,
  .hero-image::after {
    display: none !important;
  }

  .hero-image img {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;

    display: block !important;
    width: 100% !important;
    max-width: 430px !important;
    height: auto !important;

    margin: 0 auto !important;
    transform: none !important;
    border-radius: 0 !important;

    filter:
      drop-shadow(0 24px 44px rgba(0, 0, 0, 0.65))
      drop-shadow(0 0 28px rgba(255, 106, 0, 0.16)) !important;
  }

  .hero p {
    order: 3 !important;
  }

  .hero-actions,
  .hero-buttons {
    order: 4 !important;
    width: 100% !important;
  }
}
/* Mobile only: bigger laptop + left/top glow */
@media (max-width: 700px) {
  .hero-image {
    order: 2 !important;
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    width: 100% !important;
    max-width: 100% !important;
    margin: 10px auto 4px !important;
    padding: 8px 0 6px !important;

    overflow: visible !important;
    background: none !important;
    border-radius: 0 !important;
  }

  /* оранжевая растушёвка слева и сверху */
  .hero-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      radial-gradient(circle at 18% 22%, rgba(255, 106, 0, 0.34), transparent 34%),
      radial-gradient(circle at 38% 0%, rgba(255, 106, 0, 0.18), transparent 30%);
    filter: blur(16px);
  }

  /* лёгкая тёмная растушёвка сверху и слева */
  .hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background:
      linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.34) 0%,
        rgba(0, 0, 0, 0.14) 16%,
        transparent 34%
      ),
      linear-gradient(
        to right,
        rgba(0, 0, 0, 0.28) 0%,
        rgba(0, 0, 0, 0.12) 14%,
        transparent 30%
      );
  }

  .hero-image img {
    position: relative !important;
    z-index: 2 !important;

    display: block !important;
    width: 110% !important;
    max-width: 500px !important;
    height: auto !important;

    margin: 0 auto !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;

    border-radius: 0 !important;
    filter:
      drop-shadow(0 24px 44px rgba(0, 0, 0, 0.65))
      drop-shadow(0 0 30px rgba(255, 106, 0, 0.18)) !important;
  }
  .hero-text,
.hero-description,
.hero-subtitle,
.hero p {
  margin-top: -8px !important;
}
}
/* =========================================
   БЛОК "НАШІ РОБОТИ"
========================================= */

.portfolio-showcase {
  position: relative;
  padding: 80px 32px 96px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 82% 48%,
      rgba(255, 86, 0, 0.13),
      transparent 30%
    );
}

.portfolio-showcase__container {
  width: min(1420px, 100%);
  margin: 0 auto;
}

/* Заголовок */

.portfolio-showcase__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 46px;
  text-align: center;
}

.portfolio-showcase__heading h2 {
  margin: 0;
  color: #f5f5f5;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: none;
}

.portfolio-showcase__heading h2 span {
  color: #ff5a00;
}

.portfolio-showcase__line {
  position: relative;
  width: min(360px, 70vw);
  height: 1px;
  margin-top: 20px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 90, 0, 0.95),
    transparent
  );
}

.portfolio-showcase__line::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5a00;
  box-shadow:
    0 0 12px #ff5a00,
    0 0 26px rgba(255, 90, 0, 0.8);
  transform: translate(-50%, -50%);
}

/* Общая сетка */

.portfolio-showcase__grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr)
    minmax(350px, 0.95fr);
  gap: 20px;
  align-items: center;
}

/* Две большие работы */

.portfolio-project {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 11px 11px 17px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.045),
      rgba(255, 255, 255, 0.012)
    );
  box-shadow:
    0 25px 65px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.portfolio-project__preview {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 0.8;
  overflow: hidden;
  border-radius: 12px;
  background: #090909;
}

.portfolio-project__preview::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: inherit;
  box-shadow: inset 0 -55px 60px rgba(0, 0, 0, 0.2);
}

.portfolio-project__preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition:
    transform 0.45s ease,
    filter 0.45s ease;
}

.portfolio-project__preview:hover img {
  transform: scale(1.025);
  filter: brightness(1.08);
}

/* Кнопки */

.portfolio-project__button {
  display: flex;
  min-height: 52px;
  margin: 15px 16px 0;
  padding: 11px 20px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #ff5a00;
  border-radius: 8px;
  color: #ff6815;
  background: rgba(255, 90, 0, 0.025);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.portfolio-project__button span {
  font-size: 19px;
  transition: transform 0.25s ease;
}

.portfolio-project__button:hover {
  color: #ffffff;
  background: #ff5a00;
  box-shadow: 0 12px 32px rgba(255, 90, 0, 0.27);
  transform: translateY(-2px);
}

.portfolio-project__button:hover span {
  transform: translate(3px, -3px);
}

/* Веер из четырёх работ */

.portfolio-fan {
  position: relative;
  min-width: 0;
  min-height: 590px;
  isolation: isolate;
}

.portfolio-fan::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 20%;
  right: 0;
  width: 90%;
  height: 62%;
  border-radius: 50%;
  background: rgba(255, 91, 0, 0.2);
  filter: blur(75px);
}

.portfolio-fan__card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 190px;
  height: 480px;
  overflow: hidden;
  border: 1px solid rgba(255, 104, 24, 0.55);
  border-radius: 15px;
  background: #101010;
  box-shadow:
    0 30px 65px rgba(0, 0, 0, 0.68),
    0 0 24px rgba(255, 90, 0, 0.09);
  transform-origin: center bottom;
  transition: transform 0.35s ease;
}

.portfolio-fan__card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Расположение карточек */

.portfolio-fan__card--windows {
  z-index: 1;
  transform: translate(-113%, -51%) rotate(-10deg);
}

.portfolio-fan__card--remodex {
  z-index: 2;
  transform: translate(-74%, -49%) rotate(-3deg);
}

.portfolio-fan__card--dental {
  z-index: 3;
  transform: translate(-32%, -46%) rotate(5deg);
}

.portfolio-fan__card--cosmetology {
  z-index: 4;
  transform: translate(10%, -41%) rotate(12deg);
}

/* Небольшое раскрытие при наведении */

.portfolio-fan:hover .portfolio-fan__card--windows {
  transform: translate(-121%, -53%) rotate(-13deg);
}

.portfolio-fan:hover .portfolio-fan__card--remodex {
  transform: translate(-79%, -52%) rotate(-5deg);
}

.portfolio-fan:hover .portfolio-fan__card--dental {
  transform: translate(-28%, -49%) rotate(7deg);
}

.portfolio-fan:hover .portfolio-fan__card--cosmetology {
  transform: translate(18%, -44%) rotate(15deg);
}

/* Планшеты */

@media (max-width: 1200px) {
  .portfolio-showcase__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-fan {
    grid-column: 1 / -1;
    width: min(680px, 100%);
    min-height: 570px;
    margin: 15px auto 0;
  }
}

/* Телефоны */

@media (max-width: 720px) {
  .portfolio-showcase {
    padding: 58px 16px 70px;
  }

  .portfolio-showcase__heading {
    margin-bottom: 30px;
  }

  .portfolio-showcase__grid {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }

  .portfolio-project {
    width: 100%;
    padding: 9px 9px 14px;
    border-radius: 15px;
  }

  .portfolio-project__preview {
    aspect-ratio: 0.82;
  }

  .portfolio-project__button {
    min-height: 48px;
    margin: 13px 9px 0;
    font-size: 15px;
  }

  .portfolio-fan {
    width: 100%;
    min-height: 450px;
    margin-top: 5px;
  }

  .portfolio-fan__card {
    width: 142px;
    height: 355px;
    border-radius: 11px;
  }

  .portfolio-fan__card--windows {
    transform: translate(-110%, -50%) rotate(-9deg);
  }

  .portfolio-fan__card--remodex {
    transform: translate(-74%, -48%) rotate(-3deg);
  }

  .portfolio-fan__card--dental {
    transform: translate(-32%, -45%) rotate(5deg);
  }

  .portfolio-fan__card--cosmetology {
    transform: translate(7%, -41%) rotate(11deg);
  }

  .portfolio-fan:hover .portfolio-fan__card--windows {
    transform: translate(-110%, -50%) rotate(-9deg);
  }

  .portfolio-fan:hover .portfolio-fan__card--remodex {
    transform: translate(-74%, -48%) rotate(-3deg);
  }

  .portfolio-fan:hover .portfolio-fan__card--dental {
    transform: translate(-32%, -45%) rotate(5deg);
  }

  .portfolio-fan:hover .portfolio-fan__card--cosmetology {
    transform: translate(7%, -41%) rotate(11deg);
  }
}

@media (max-width: 430px) {
  .portfolio-fan {
    width: 100%;
    height: 360px;
    min-height: 0;
    margin: 30px auto 0;
    padding: 0;

    transform: scale(0.9);
    transform-origin: top center;
  }

  .portfolio-fan__card {
    width: 130px;
    height: 325px;
  }
}
/* ===== НАШІ РОБОТИ — великий екран в одну лінію ===== */

@media (min-width: 1200px) {
  .portfolio-showcase__grid {
    display: grid;
    grid-template-columns: 330px 330px 520px;
    justify-content: center;
    align-items: start;
    gap: 24px;

    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
  }

  /* Две основные работы */

  .portfolio-project {
    width: 330px;
    max-width: 330px;
    margin: 0;
  }

  .portfolio-project__preview {
    display: block;
    width: 100%;
    height: 500px;

    overflow: hidden;
    border-radius: 18px;
  }

  .portfolio-project__preview img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: top center;
  }

  .portfolio-project__button {
    width: 100%;
    min-height: 68px;
    margin-top: 16px;

    font-size: 18px;
  }

  /* Веер справа */

  .portfolio-fan {
    position: relative;

    width: 520px;
    height: 570px;
    min-height: 570px;

    margin: 0;
    padding: 0;

    transform: none;
    overflow: visible;
  }

  .portfolio-fan__card {
    width: 180px;
    height: 500px;
  }
}
/* ===== НАШІ РОБОТИ: 2 основні + колода з 4 робіт ===== */

@media (min-width: 1200px) {
  .portfolio-showcase__grid {
    display: grid;
    grid-template-columns: 280px 280px 500px;
    align-items: start;
    justify-content: center;
    gap: 20px;

    width: min(100%, 1380px);
    margin: 0 auto;
  }

  /* LeadUp и Austin */

  .portfolio-project {
    width: 280px;
    max-width: 280px;
    margin: 0;
  }

  .portfolio-project__preview {
    display: block;
    width: 100%;
    height: 520px;

    overflow: hidden;
    border-radius: 18px;
  }

  .portfolio-project__preview img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: top center;
  }

  .portfolio-project__button {
    width: 100%;
    min-height: 66px;
    margin-top: 14px;

    font-size: 17px;
  }

  /* Колода из четырёх работ */

  .portfolio-fan {
    position: relative;

    display: block;

    width: 500px;
    height: 600px;
    min-height: 600px;

    margin: 0;
    padding: 0;

    overflow: visible;
    transform: none !important;
  }

  .portfolio-fan__card,
  .portfolio-fan__card:nth-child(1),
  .portfolio-fan__card:nth-child(2),
  .portfolio-fan__card:nth-child(3),
  .portfolio-fan__card:nth-child(4) {
    position: absolute;

    top: 0;
    right: auto;
    bottom: auto;

    width: 245px;
    height: 570px;

    overflow: hidden;

    border: 1px solid rgba(255, 98, 0, 0.7);
    border-radius: 18px;

    background: #090909;
    cursor: zoom-in;

    transform: none !important;

    box-shadow:
      0 25px 55px rgba(0, 0, 0, 0.72),
      0 0 22px rgba(255, 91, 0, 0.1);

    transition:
      top 0.25s ease,
      transform 0.25s ease,
      box-shadow 0.25s ease;
  }

  .portfolio-fan__card:nth-child(1) {
    left: 0;
    z-index: 1;
  }

  .portfolio-fan__card:nth-child(2) {
    left: 78px;
    top: 7px;
    z-index: 2;
  }

  .portfolio-fan__card:nth-child(3) {
    left: 156px;
    top: 14px;
    z-index: 3;
  }

  .portfolio-fan__card:nth-child(4) {
    left: 234px;
    top: 21px;
    z-index: 4;
  }

  .portfolio-fan__card img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: top center;
  }

  /* Полностью отменяем старую анимацию веера */

  .portfolio-fan:hover .portfolio-fan__card {
    transform: none !important;
  }

  .portfolio-fan .portfolio-fan__card:hover {
    z-index: 20;

    transform: translateY(-10px) scale(1.025) !important;

    box-shadow:
      0 32px 75px rgba(0, 0, 0, 0.85),
      0 0 35px rgba(255, 91, 0, 0.25);
  }
}
/* =========================================
   ПОРТФОЛІО — КОЛОДА З 6 РОБІТ
========================================= */

.portfolio-showcase__grid {
  display: block;
  width: 100%;
}

.portfolio-deck {
  position: relative;

  width: min(94vw, 1280px);
  height: 660px;

  margin: 0 auto;
}


/* Общая карточка */

.portfolio-card {
  position: absolute;
  bottom: 20px;

  display: block;

  padding: 0;
  overflow: hidden;

  border: 1px solid rgba(255, 98, 0, 0.62);
  border-radius: 20px;

  background: #080808;

  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.78),
    0 0 26px rgba(255, 91, 0, 0.08);

  transform-origin: bottom center;

  transition:
    transform 0.35s ease,
    filter 0.35s ease,
    box-shadow 0.35s ease;

  cursor: zoom-in;
}


/* Две основные карточки */

.portfolio-card--main {
  width: 290px;
  height: 605px;

  z-index: 10;

  overflow: visible;
  border: 0;
  border-radius: 0;

  background: transparent;
  box-shadow: none;
}

.portfolio-card--leadup {
  left: 2%;
  transform: rotate(-6deg);
}

.portfolio-card--austin {
  left: 24%;
  transform: rotate(-1deg);
}


/* Изображение основных работ */

.portfolio-card__preview {
  display: block;

  width: 100%;
  height: 515px;

  padding: 0;
  overflow: hidden;

  border: 1px solid rgba(255, 98, 0, 0.62);
  border-radius: 20px;

  background: #080808;
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.78),
    0 0 26px rgba(255, 91, 0, 0.08);

  cursor: zoom-in;
}

.portfolio-card__preview img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: top center;
}

.portfolio-card--extra img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: top center;

  background: #0a0a0a;
}

.portfolio-card--extra img {
  display: block;

  width: 100%;
  height: auto;

  object-fit: contain;

  background: #0a0a0a;
}


/* Ссылки под двумя основными работами */

.portfolio-card__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;

  width: 100%;
  height: 68px;

  margin-top: 12px;

  border: 1px solid #ff6200;
  border-radius: 15px;

  background: rgba(24, 12, 7, 0.96);
  color: #ff6200;

  font-size: 20px;
  font-weight: 700;
  text-decoration: none;

  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.48);

  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.portfolio-card__link:hover {
  background: #ff6200;
  color: #050505;

  transform: translateY(-3px);
}


/* Три дополнительные работы */

.portfolio-card--extra {
  width: 215px;
  height: auto;

  background: #0a0a0a;
}

/* Первая из дополнительных */

.portfolio-card--windows {
  left: 48%;
  z-index: 4;

  transform: rotate(3deg);
}

.portfolio-card--remodex {
  left: 59%;
  z-index: 5;

  transform: rotate(7deg);
}

.portfolio-card--dental {
  left: 70%;
  z-index: 6;

  transform: rotate(11deg);
}


/* Затемняем остальные карточки при наведении на колоду */

.portfolio-deck:hover .portfolio-card--extra {
  filter: brightness(0.72);
}


/* Выбранная дополнительная карточка выезжает */

.portfolio-deck .portfolio-card--extra:hover {
  z-index: 50;

  filter: brightness(1);

  transform:
    translateY(-68px)
    rotate(0deg)
    scale(1.08);

  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.92),
    0 0 42px rgba(255, 91, 0, 0.28);
}


/* Основные карточки тоже слегка оживают */

.portfolio-card--main:hover {
  z-index: 60;

  transform:
    translateY(-28px)
    rotate(0deg)
    scale(1.025);
}


/* =========================================
   ПОЛНЫЙ ПРОСМОТР СКРИНА
========================================= */

.portfolio-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;

  background: rgba(0, 0, 0, 0.94);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.portfolio-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.portfolio-modal__panel {
  position: relative;

  width: min(92vw, 760px);
  max-height: 90vh;

  overflow-x: hidden;
  overflow-y: auto;

  border: 1px solid rgba(255, 98, 0, 0.72);
  border-radius: 20px;

  background: #070707;

  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.95),
    0 0 48px rgba(255, 91, 0, 0.2);

  transform: translateY(30px) scale(0.94);

  transition: transform 0.35s ease;
}

.portfolio-modal.is-open .portfolio-modal__panel {
  transform: translateY(0) scale(1);
}

.portfolio-modal__image {
  display: block;

  width: 100%;
  height: auto;
}

.portfolio-modal__close {
  position: fixed;
  top: 22px;
  right: 26px;
  z-index: 100000;

  width: 50px;
  height: 50px;

  border: 1px solid #ff6200;
  border-radius: 50%;

  background: rgba(10, 10, 10, 0.94);
  color: #ff6200;

  font-size: 32px;
  line-height: 1;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.portfolio-modal__close:hover {
  transform: rotate(90deg);

  background: #ff6200;
  color: #050505;
}

body.portfolio-modal-open {
  overflow: hidden;
}


/* Планшет и мобильная версия */

@media (max-width: 1099px) {
  .portfolio-deck {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;

    width: min(92vw, 760px);
    height: auto;
  }

  .portfolio-card,
  .portfolio-card--main,
  .portfolio-card--extra {
    position: relative;

    left: auto;
    bottom: auto;

    width: 100%;
    height: 520px;

    transform: none;
  }

  .portfolio-card--main {
    height: 610px;
  }

  .portfolio-card__preview {
    height: 530px;
  }

  .portfolio-deck:hover .portfolio-card--extra {
    filter: none;
  }

  .portfolio-deck .portfolio-card--extra:hover,
  .portfolio-card--main:hover {
    transform: translateY(-7px);
  }
}

@media (max-width: 600px) {
  .portfolio-deck {
    position: relative;
    display: block;

    width: min(92vw, 390px);
    height: auto;

    margin: 0 auto;
    padding-bottom: 380px; /* место под маленький веер */
  }

  /* Две основные работы — одна под другой */

  .portfolio-card--main {
    position: relative;

    left: auto;
    bottom: auto;

    width: 100%;
    height: auto;

    margin-bottom: 18px;

    transform: none !important;
  }

  .portfolio-card--leadup,
  .portfolio-card--austin {
    left: auto;
    transform: none !important;
  }

  .portfolio-card__preview {
    height: 490px;
  }

  .portfolio-card__link {
    height: 62px;
    margin-top: 10px;

    font-size: 18px;
  }

  /* Три дополнительные работы — маленьким веером */

  .portfolio-card--extra {
    position: absolute;
    bottom: 10px;

    width: 145px;
    height: auto;
  }

  .portfolio-card--extra img {
    display: block;
    width: 100%;
    height: auto;

    object-fit: contain;
    background: #0a0a0a;
  }

  .portfolio-card--windows {
    left: 0;
    z-index: 4;

    transform: rotate(-8deg);
  }

  .portfolio-card--remodex {
    left: calc(50% - 72px);
    z-index: 5;

    transform: rotate(0deg);
  }

  .portfolio-card--dental {
    right: 0;
    left: auto;
    z-index: 6;

    transform: rotate(8deg);
  }

  /* На телефоне hover почти не нужен */
  .portfolio-deck:hover .portfolio-card--extra {
    filter: none;
  }

  .portfolio-deck .portfolio-card--extra:hover,
  .portfolio-card--main:hover {
    transform: none !important;
  }

  .portfolio-modal {
    padding: 12px;
  }

  .portfolio-modal__panel {
    width: 95vw;
    max-height: 88vh;

    border-radius: 14px;
  }

  .portfolio-modal__close {
    top: 10px;
    right: 10px;

    width: 42px;
    height: 42px;
  }
}
/* Большой просмотр портфолио только после нажатия */

@media (min-width: 601px) {
  #portfolioModal .portfolio-modal__panel {
    width: 96vw !important;
    max-width: 1280px !important;
    max-height: 94vh !important;
  }

  #portfolioModal .portfolio-modal__image {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
  }
}

@media (max-width: 600px) {
  #portfolioModal .portfolio-modal__panel {
    width: 96vw !important;
    max-width: none !important;
    max-height: 92vh !important;
  }
}
/* Увеличенный просмотр работы после нажатия */

.portfolio-modal__panel {
  width: min(96vw, 1200px);
  max-height: 94vh;
}

.portfolio-modal__image {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 600px) {
  .portfolio-modal__panel {
    width: 96vw;
    max-height: 92vh;
  }
}
/* Размер открытого скрина */
.portfolio-modal img,
.work-modal img,
.image-modal img,
.lightbox img {
  width: min(680px, 45vw) !important;
  height: auto !important;
  max-width: none !important;
}

/* Мобильная версия */
@media (max-width: 768px) {
  .portfolio-modal img,
  .work-modal img,
  .image-modal img,
  .lightbox img {
    width: 84vw !important;
  }
}
.portfolio-link-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 14px;
    color: currentColor;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.25em;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .portfolio-link-arrow {
        margin-left: 10px;
        font-size: 1.15em;
        transform: translateY(-1px);
    }
}
/* Увеличенные значки блока "Як ми працюємо" */
.process > div .process-icon {
  width: 76px !important;
  height: 76px !important;
  min-width: 76px !important;
  margin: 0 auto 24px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  transform: none !important;
}

.process > div .process-icon svg {
  display: block !important;
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  max-width: none !important;

  transform: none !important;
}

@media (max-width: 768px) {
  .process > div .process-icon {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    margin-bottom: 16px !important;
  }

  .process > div .process-icon svg {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
  }
}
.temporarily-hidden {
  display: none !important;
}