:root {
  --yellow: #fcaf17;
  --black: #020202;
  --dark: #0a0b0c;
  --text: #797979;
  --muted: #f5f5f5;
  --cream: #fff9ee;
  --white: #ffffff;
  --border: #e6e6e6;
  --shadow: 0 7px 29px rgba(99, 99, 110, .2);
  --radius: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: #fff;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; }
li { list-style: none; }
img, svg { max-width: 100%; display: block; }
input, select, textarea, button { font: inherit; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--yellow) !important; box-shadow: 0 0 0 3px rgba(252, 175, 23, .15); }

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}
.center { text-align: center; margin-top: 36px; }

.topbar {
  background: var(--black);
  color: #fff;
  font-size: 14px;
}
.topbar__inner,
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topbar__inner { min-height: 42px; }
.topbar__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.topbar a:hover { color: var(--yellow); }
.topbar__button {
  background: var(--yellow);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(0,0,0,.06);
}
.header__inner { min-height: 76px; }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -.4px;
}
.logo__mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--yellow), #111);
  box-shadow: 0 12px 25px rgba(252,175,23,.28);
}
.logo__text { font-size: 23px; }
.logo--footer { color: #fff; margin-bottom: 18px; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #333;
  font-weight: 600;
}
.main-nav a { position: relative; padding: 28px 0; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 20px;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width .3s ease;
}
.main-nav a:hover { color: var(--yellow); }
.main-nav a:hover::after { width: 100%; }
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; }

.hero {
  position: relative;
  min-height: 770px;
  background: var(--dark);
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(170,170,170,.45), rgba(80,255,220,.001));
  filter: blur(50px);
  transform: rotate(45deg);
  pointer-events: none;
}
.hero::before { top: -16%; left: -10%; }
.hero::after { right: -10%; bottom: -20%; }
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 60px;
  padding: 88px 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--yellow);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 13px;
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--yellow);
}
.hero h1 {
  color: #fff;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.05;
  margin: 0 0 12px;
  letter-spacing: -.04em;
}
.hero h2 {
  color: var(--yellow);
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.15;
  margin: 0 0 22px;
}
.hero p {
  max-width: 690px;
  color: #f6f6f6;
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 32px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 18px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.btn:hover { transform: translateY(-4px); box-shadow: 0 13px 24px rgba(0,0,0,.16); }
.btn--primary { background: var(--yellow); color: #fff; }
.btn--primary:hover { background: #fff; color: var(--black); }
.btn--ghost { border-color: var(--yellow); color: #fff; }
.btn--ghost:hover { background: var(--yellow); color: #fff; }
.btn--ghost-dark { border-color: var(--yellow); color: var(--black); }
.btn--ghost-dark:hover { background: var(--yellow); color: #fff; }
.btn--form { width: 100%; background: var(--yellow); color: #fff; border: none; border-radius: 6px; }
.btn--form:hover { background: var(--black); color: #fff; }

.consultation-card {
  background: #fff;
  color: var(--text);
  padding: 26px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.consultation-card h3 {
  color: var(--black);
  font-size: 24px;
  margin: 0 0 4px;
}
.consultation-card p { color: var(--text); font-size: 14px; margin: 0 0 18px; }
.consultation-card label { display: block; margin-bottom: 14px; }
.consultation-card label span {
  display: block;
  color: #333;
  font-size: 13px;
  margin-bottom: 5px;
  font-weight: 700;
}
.consultation-card input,
.consultation-card select,
.consultation-card textarea {
  width: 100%;
  border: 1px solid #ced4da;
  border-radius: 6px;
  background: #fff;
  color: #333;
  padding: 12px 14px;
}
.consultation-card textarea { resize: vertical; min-height: 112px; }

.tech-strip {
  background: #fff;
  padding: 26px 0;
  box-shadow: 0 10px 28px rgba(0,0,0,.05);
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.tech-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 10px;
  text-align: center;
  box-shadow: 0 5px 16px rgba(0,0,0,.04);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.tech-card:hover { transform: translateY(-6px); border-color: var(--yellow); box-shadow: var(--shadow); }
.tech-card span {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 10px;
  border-radius: 12px;
  background: #fff9ed;
  color: var(--yellow);
  font-weight: 900;
  font-size: 14px;
}
.tech-card strong { display: block; color: var(--black); font-size: 14px; }

.section { padding: 80px 0; }
.section-heading { max-width: 760px; margin-bottom: 38px; }
.section-heading--center { text-align: center; margin-inline: auto; }
.section-heading--center .eyebrow { justify-content: center; }
.section-heading--center .eyebrow::before { display: none; }
.section-heading h2 {
  margin: 0 0 16px;
  color: var(--black);
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.15;
  font-weight: 800;
}
.section-heading h2 span { color: var(--yellow); }
.section-heading p { margin: 0; font-size: 17px; }

.services { background: #fff; }
.service-tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.service-tabs__labels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.service-tabs__labels label {
  display: grid;
  place-items: center;
  min-height: 62px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--black);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,.05);
  transition: .3s ease;
}
#service-software:checked ~ .service-tabs__labels label[for="service-software"],
#service-website:checked ~ .service-tabs__labels label[for="service-website"],
#service-mobile:checked ~ .service-tabs__labels label[for="service-mobile"],
#service-ecommerce:checked ~ .service-tabs__labels label[for="service-ecommerce"] {
  background: var(--yellow);
  color: #fff;
  border-color: var(--yellow);
}
.service-panel {
  display: none;
  grid-template-columns: 1.35fr .65fr;
  gap: 34px;
  align-items: center;
  padding: 36px;
  border-radius: 18px;
  background: #fff9ed;
  box-shadow: var(--shadow);
}
#service-software:checked ~ .service-panel--software,
#service-website:checked ~ .service-panel--website,
#service-mobile:checked ~ .service-panel--mobile,
#service-ecommerce:checked ~ .service-panel--ecommerce { display: grid; }
.service-panel h3 { color: var(--black); font-size: 30px; margin: 0 0 14px; }
.service-panel h4 { color: var(--black); margin: 18px 0 12px; }
.service-panel p { margin: 0 0 10px; }
.check-list { display: grid; gap: 8px; }
.check-list li {
  position: relative;
  padding-left: 28px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--yellow);
  font-weight: 900;
}
.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--yellow);
  font-weight: 800;
}
.text-link:hover { color: var(--black); }
.service-visual {
  min-height: 350px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background:
    radial-gradient(circle at 35% 30%, rgba(252,175,23,.55), transparent 33%),
    linear-gradient(135deg, #151515, #303030);
  overflow: hidden;
  position: relative;
}
.service-visual::before,
.service-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  transform: rotate(-20deg);
}
.service-visual::before { width: 280px; height: 130px; }
.service-visual::after { width: 360px; height: 190px; }
.service-visual span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -.06em;
}

.process { background: #f5f5f5; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.process-grid article,
.industry-grid article,
.blog-card,
.testimonial-grid figure {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 7px 22px rgba(0,0,0,.06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.process-grid article:hover,
.industry-grid article:hover,
.blog-card:hover,
.testimonial-grid figure:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.process-grid article span {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(252,175,23,.16);
  color: var(--yellow);
  font-weight: 900;
}
.process-grid h3,
.industry-grid h3,
.blog-card h3 { color: var(--black); margin: 0 0 10px; font-size: 20px; }
.process-grid p,
.industry-grid p,
.blog-card p { margin: 0; font-size: 15px; }

.industries { background: var(--cream); }
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.industry-grid article span { font-size: 38px; display: inline-block; margin-bottom: 14px; }

.portfolio { background: #fff; }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.portfolio-card {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.portfolio-card__visual {
  min-height: 350px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 65% 35%, rgba(255,255,255,.22), transparent 28%),
    linear-gradient(135deg, #fcaf17, #141414);
  color: #fff;
  font-size: 64px;
  font-weight: 900;
}
.portfolio-card--dark .portfolio-card__visual { background: linear-gradient(135deg, #111, #fcaf17); }
.portfolio-card__body { padding: 28px; }
.portfolio-card h3 { color: var(--black); font-size: 26px; margin: 0 0 12px; }
.portfolio-card h4 { color: var(--black); margin: 18px 0 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 9px; }
.tags span {
  padding: 7px 11px;
  border-radius: 999px;
  background: #fff4de;
  color: #9b6600;
  font-size: 13px;
  font-weight: 800;
}

.testimonials { background: var(--black); color: #e7e7e7; }
.testimonials .section-heading h2 { color: #fff; }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.testimonial-grid figure { margin: 0; background: #fff; color: var(--text); }
.testimonial-grid blockquote { margin: 0 0 20px; font-size: 17px; }
.testimonial-grid figcaption { display: flex; flex-direction: column; gap: 4px; }
.testimonial-grid strong { color: var(--black); font-size: 18px; }
.testimonial-grid span { color: var(--yellow); font-weight: 800; }

.blogs { background: #fff; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card__badge {
  display: inline-flex;
  margin-bottom: 16px;
  background: rgba(252,175,23,.14);
  color: var(--yellow);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 900;
  font-size: 13px;
}
.blog-card h3 { font-size: 20px; line-height: 1.35; }

.clients { padding: 54px 0; background: #f7f7f7; text-align: center; }
.clients h2 { margin: 0 0 22px; color: var(--black); font-size: 34px; }
.client-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.client-row span {
  min-width: 150px;
  padding: 18px 20px;
  border-radius: 12px;
  background: #fff;
  color: #444;
  font-weight: 800;
  box-shadow: 0 7px 20px rgba(0,0,0,.05);
}

.footer {
  position: relative;
  background: #020202;
  color: #e7e7e7;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .28;
  background:
    radial-gradient(circle at 15% 20%, rgba(252,175,23,.3), transparent 30%),
    radial-gradient(circle at 85% 75%, rgba(255,255,255,.18), transparent 28%);
}
.footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding: 64px 0 36px;
}
.footer h3 { color: #fff; margin: 0 0 18px; font-size: 19px; }
.footer p { margin: 0 0 12px; font-size: 14px; }
.footer a { display: block; color: #e7e7e7; margin-bottom: 8px; font-size: 14px; transition: .3s ease; }
.footer a:hover { color: var(--yellow); letter-spacing: .5px; }
.footer__bottom {
  position: relative;
  z-index: 1;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.28);
  padding: 18px 0;
  color: #f7f7f7;
}
.footer__bottom a { display: inline; color: #fff; font-weight: 800; }

.reveal { animation: rise .7s ease both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .tech-grid { grid-template-columns: repeat(4, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .portfolio-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .topbar__inner { justify-content: center; flex-direction: column; padding: 8px 0; gap: 8px; }
  .topbar__contacts { justify-content: center; }
  .header__inner { min-height: 68px; }
  .nav-toggle-label {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #fff4de;
  }
  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--black);
    display: block;
    transition: .3s ease;
  }
  .nav-toggle-label span::before { transform: translateY(-8px); }
  .nav-toggle-label span::after { transform: translateY(6px); }
  .main-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    background: #fff;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: .25s ease;
  }
  .main-nav a { padding: 16px 24px; border-top: 1px solid var(--border); }
  .main-nav a::after { display: none; }
  .nav-toggle:checked ~ .main-nav { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .hero { min-height: auto; }
  .hero__grid { padding: 56px 0; }
  .hero p { font-size: 17px; }
  .service-tabs__labels { grid-template-columns: 1fr 1fr; }
  .service-panel { grid-template-columns: 1fr; padding: 24px; }
  .service-visual { min-height: 240px; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid, .industry-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-card { grid-template-columns: 1fr; }
  .portfolio-card__visual { min-height: 220px; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 24px, var(--container)); }
  .topbar__contacts { flex-direction: column; align-items: center; gap: 4px; }
  .logo__text { font-size: 20px; }
  .logo__mark { width: 42px; height: 42px; }
  .hero__actions, .btn { width: 100%; }
  .section { padding: 54px 0; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .service-tabs__labels, .process-grid, .industry-grid, .blog-grid, .footer__grid { grid-template-columns: 1fr; }
  .service-panel h3 { font-size: 25px; }
  .client-row span { width: 100%; }
}
