.hero {
  position: relative;
  min-height: min(86vh, 820px);
  padding: 0;
  display: flex;
  align-items: stretch;
  color: #f8fbff;
  background:
    linear-gradient(115deg, rgba(8, 24, 48, 0.84) 0%, rgba(8, 33, 72, 0.62) 42%, rgba(8, 24, 48, 0.8) 100%),
    url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 24, 48, 0.12), rgba(8, 24, 48, 0.34)),
    linear-gradient(90deg, rgba(8, 24, 48, 0.24), rgba(8, 24, 48, 0));
}
.hero-desktop-layout {
  width: 100%;
}
.hero-mobile-layout {
  display: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 600px) minmax(380px, 440px);
  gap: 32px;
  align-items: start;
  padding: 110px 0 78px;
}
.hero-copy { max-width: 600px; }
.hero-copy h1 { margin-top: 10px; font-size: clamp(1.65rem, 3vw, 2.1rem); max-width: 28ch; }
.hero-copy p {
  margin: 16px 0 0;
  font-size: clamp(0.96rem, 1.15vw, 1.06rem);
  max-width: 54ch;
  color: rgba(248, 251, 255, 0.86);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 160px));
  gap: 12px;
  margin-top: 24px;
}
.hero-proof-card {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 44px rgba(7, 18, 30, 0.18);
  backdrop-filter: blur(14px);
  font-size: 13px;
}
.hero-proof-card strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 22px;
  margin-bottom: 4px;
}
.hero-panel {
  align-self: stretch;
  max-width: 440px;
  width: 100%;
  border-radius: 26px;
  padding: 50px 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(8, 24, 48, 0.84), rgba(15, 56, 104, 0.72));
  box-shadow: 0 26px 60px rgba(7, 18, 30, 0.28);
  color: #f4f7fb;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.hero-panel::before,
.hero-panel::after {
  position: absolute;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.16);
  color: #fff3c4;
  font-size: 14px;
  line-height: 1;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 10px 22px rgba(6, 16, 28, 0.28);
  animation: floatCard 5.8s ease-in-out infinite;
}
.hero-panel::before {
  content: "✦";
  top: 16px;
  right: 16px;
}
.hero-panel::after {
  content: "✧";
  bottom: 18px;
  right: 18px;
  animation-delay: 1.2s;
}
.panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 800;
}
.panel-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.panel-head h2 { margin-top: 14px; font-size: clamp(1.35rem, 1.9vw, 1.8rem); max-width: 18ch; }
.panel-head p { margin-top: 12px; font-size: 14px; color: rgba(244, 247, 251, 0.8); }
.signal-card {
  margin-top: 0;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.signal-card + .signal-card { margin-top: 14px; }
.signal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
}
.signal-bar { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.signal-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #ffe2a9);
  transform-origin: left;
  animation: growBar 1.3s 0.35s both;
}

.trust-strip {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
  align-items: start;
}
.trust-lead, .trust-side {
  border-radius: 30px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(23, 35, 48, 0.08);
  box-shadow: var(--shadow-soft);
}
.trust-lead { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trust-lead--full { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mini-stat { padding: 12px 0; border-right: 1px solid rgba(23, 35, 48, 0.08); }
.mini-stat:last-child { border-right: 0; }
.mini-stat strong { display: block; font-family: "Sora", sans-serif; font-size: 34px; margin-bottom: 4px; }
.mini-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand-3), var(--brand));
  box-shadow: 0 10px 24px rgba(13, 46, 99, 0.24);
  animation: floatCard 4.8s ease-in-out infinite;
}
.mini-stat:nth-child(2) .mini-icon { animation-delay: 0.7s; }
.mini-stat:nth-child(3) .mini-icon { animation-delay: 1.4s; }
.trust-why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.trust-side { display: grid; gap: 16px; align-content: start; }
.trust-side p { margin: 0; color: var(--muted); }
.trust-media {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(23, 35, 48, 0.1);
  box-shadow: 0 16px 34px rgba(16, 38, 59, 0.16);
  aspect-ratio: 16 / 8.6;
}
.trust-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.services-grid, .process-grid, .testimonial-grid {
  display: grid;
  gap: 18px;
}
.services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.testimonial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.service-card, .sector-card, .testimonial, .case-card, .contact-card, .process-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(23, 35, 48, 0.08);
  box-shadow: var(--shadow-soft);
}
.service-card, .process-card { padding: 24px; }
.service-card:hover, .sector-card:hover, .testimonial:hover, .case-card:hover, .process-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(15, 118, 110, 0.18);
}
.service-card p, .process-card p, .case-card p, .testimonial p, .contact-card p { color: var(--muted); }
.service-icon, .process-number {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-3), var(--brand));
  box-shadow: 0 16px 28px rgba(18, 61, 99, 0.2);
}
.service-meta { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--brand); }

.sectors-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}
.sector-mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.sector-card { padding: 22px; min-height: 200px; display: flex; flex-direction: column; justify-content: space-between; }
.sector-card strong { font-family: "Sora", sans-serif; font-size: 24px; letter-spacing: -0.03em; }
.sector-card .sector-tag {
  display: inline-flex; width: max-content; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px; background: rgba(18, 61, 99, 0.08);
  color: var(--brand-3); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.sectors-aside {
  background: linear-gradient(160deg, rgba(18, 61, 99, 0.96), rgba(15, 118, 110, 0.88));
  color: #fff; border-radius: 30px; padding: 28px; box-shadow: var(--shadow-strong);
  display: flex; flex-direction: column; justify-content: space-between;
}
.sectors-aside h3 { font-size: 32px; max-width: 11ch; }
.sectors-aside p, .aside-list li { color: rgba(255, 255, 255, 0.8); }
.aside-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.aside-list li { display: flex; gap: 10px; align-items: flex-start; }
.aside-list li::before { content: ""; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--accent); }

.cases-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18px; }
.case-card { padding: 28px; min-height: 320px; }
.case-card.is-featured { background: linear-gradient(160deg, rgba(255, 255, 255, 0.78), rgba(255, 245, 227, 0.88)); }
.case-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.case-metric { padding: 16px; border-radius: 20px; background: rgba(255, 255, 255, 0.66); border: 1px solid rgba(23, 35, 48, 0.08); }
.case-metric strong { display: block; font-family: "Sora", sans-serif; font-size: 30px; margin-bottom: 4px; }

.testimonial { padding: 24px; }
.testimonial::before {
  content: '"'; font-family: "Sora", sans-serif; font-size: 70px; line-height: 1;
  color: rgba(15, 118, 110, 0.16); position: absolute; right: 16px; top: 12px;
}
.person { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.18), rgba(217, 119, 6, 0.2));
  color: var(--brand-3); font-family: "Sora", sans-serif; font-weight: 700;
}

.about-wrap { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 18px; }
.about-panel {
  border-radius: 32px; padding: 28px;
  background: linear-gradient(160deg, rgba(18, 61, 99, 0.98), rgba(9, 22, 35, 0.96));
  color: #fff; box-shadow: var(--shadow-strong);
}
.about-panel p { color: rgba(255, 255, 255, 0.76); }
.about-points { margin-top: 24px; display: grid; gap: 14px; }
.about-point { padding: 16px 18px; border-radius: 20px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.1); }
.about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.about-grid .contact-card { padding: 24px; min-height: 220px; }

.contact { padding-bottom: 100px; }
.contact-wrap { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: 18px; }
.contact-card { padding: 28px; }
.contact-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; }
.contact-list span {
  width: 42px; height: 42px; min-width: 44px; min-height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-3));
}
.contact-form { display: grid; gap: 14px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #415264; }
.field input, .field textarea {
  width: 100%; border: 1px solid rgba(23, 35, 48, 0.12); background: rgba(255, 255, 255, 0.7);
  border-radius: 18px; padding: 15px 16px; color: var(--text);
  font-size: 16px;
}
.field textarea { min-height: 150px; resize: vertical; }
.form-note, .form-status { font-size: 14px; color: var(--muted); }
.form-status { display: none; font-weight: 700; }
.form-status.is-error { color: var(--danger); }
.form-status.is-success { color: var(--success); }

@keyframes growBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-panel .signal-card:first-of-type { animation: floatCard 6s ease-in-out infinite; }
.hero-panel .signal-card:last-of-type { animation: floatCard 6s ease-in-out infinite reverse; }

@media (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 400px);
    gap: 24px;
    padding: 96px 24px 66px;
  }
  .hero-copy h1 { max-width: 24ch; }
  .hero-copy p { max-width: 48ch; }
  .hero-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-grid, .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
  .hero-grid, .trust-strip, .trust-why-grid, .sectors-wrap, .cases-grid, .about-wrap, .contact-wrap { grid-template-columns: 1fr; }
  .services-grid, .process-grid, .testimonial-grid, .about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { padding: 98px 16px 64px; align-items: start; }
  .hero-copy, .hero-panel, .trust-media { max-width: 100%; }
  .hero-copy { text-align: center; margin-inline: auto; }
  .hero-copy h1 { margin-inline: auto; }
  .hero-copy p { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-proof { justify-content: center; margin-inline: auto; }
  .hero-panel { padding: 30px 22px; text-align: center; }
  .hero-panel .panel-head { display: flex; flex-direction: column; align-items: center; }
  .panel-head h2 { max-width: 22ch; margin-inline: auto; }
  .panel-head p { margin-inline: auto; }
  .hero-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 520px; }
  .section { padding: 80px 0; }
  .case-card { min-height: auto; }
  .about-grid .contact-card { min-height: 0; }
}

@media (max-width: 767.98px) {
  .services-grid, .process-grid, .testimonial-grid, .about-grid, .sector-mosaic, .case-metrics { grid-template-columns: 1fr; }
  .section-head h2 { max-width: none; }
  .hero-copy h1 { max-width: 22ch; }
  .sectors-aside h3 { max-width: none; }
  .case-card, .contact-card, .service-card, .process-card, .about-panel { padding: 22px; border-radius: 24px; }
  .trust-side,
  .trust-lead {
    padding: 22px;
    border-radius: 24px;
  }
}
@media (max-width: 720px) {
  .hero, .contact { padding: 72px 0; }
  .hero { min-height: auto; padding: 0; background-position: 62% center; }
  .hero-grid { padding: 90px 0 48px; gap: 16px; grid-template-columns: 1fr; }
  .hero-copy { text-align: center; margin-inline: auto; }
  .hero-copy h1 { font-size: clamp(1.7rem, 8.2vw, 2.15rem); max-width: 18ch; }
  .hero-copy p { font-size: 0.95rem; margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-actions .btn {
    flex: 1 1 calc(50% - 10px);
  }
  .hero-panel { padding: 22px 18px; border-radius: 20px; }
  .hero-panel::before,
  .hero-panel::after { width: 30px; height: 30px; font-size: 12px; }
  .panel-head h2 { max-width: none; font-size: clamp(1.2rem, 6vw, 1.45rem); }
  .hero-proof, .trust-lead, .trust-lead--full, .services-grid, .process-grid, .sector-mosaic, .testimonial-grid, .about-grid, .field-grid, .case-metrics { grid-template-columns: 1fr; }
  .hero-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .section { padding: 68px 0; }
  .section-head { gap: 14px; margin-bottom: 22px; }
  .section-head p { font-size: 15px; }
  .case-card h3[style], .contact-card h3[style] { font-size: 1.5rem !important; }
  .mini-stat { border-right: 0; border-bottom: 1px solid rgba(23, 35, 48, 0.08); }
  .mini-stat:last-child { border-bottom: 0; }
  .hero-panel, .hero-proof-card { width: 100%; }
  .hero-actions .btn { width: auto; max-width: 100%; }
}

@media (max-width: 560px) {
  .hero-desktop-layout {
    display: none;
  }
  .hero-mobile-layout {
    display: grid;
    gap: 14px;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    padding: 76px 12px 34px;
  }
  .hero-mobile-copy {
    max-width: 100%;
    text-align: center;
  }
  .hero-mobile-copy h1 {
    font-size: clamp(1.46rem, 6.6vw, 1.8rem);
    line-height: 1.08;
    margin: 12px auto 10px;
    max-width: 11.5ch;
    overflow-wrap: anywhere;
  }
  .hero-mobile-copy p {
    font-size: 0.87rem;
    max-width: 30ch;
    margin: 0 auto;
    line-height: 1.55;
    color: rgba(248, 251, 255, 0.84);
  }
  .hero-mobile-proof {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .hero-mobile-panel {
    border-radius: 18px;
    padding: 18px 16px;
    background: linear-gradient(180deg, rgba(8, 24, 48, 0.82), rgba(12, 42, 82, 0.74));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 42px rgba(7, 18, 30, 0.2);
    color: #f4f7fb;
  }
  .hero-mobile-panel h2 {
    font-size: 1rem;
    line-height: 1.15;
    margin: 12px 0;
    max-width: 18ch;
  }
  .hero-mobile-panel p {
    margin: 0;
    color: rgba(244, 247, 251, 0.82);
    font-size: 0.84rem;
    line-height: 1.55;
    word-break: break-word;
  }
  .hero-proof-card {
    min-width: 0;
    padding: 11px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 30px rgba(7, 18, 30, 0.14);
    backdrop-filter: blur(8px);
    overflow-wrap: anywhere;
  }
  .hero-actions {
    gap: 10px;
    justify-content: center;
    margin-top: 18px;
  }
  .hero-actions .btn {
    min-width: 0;
    width: auto;
    flex: 0 0 auto;
    padding: 12px 16px;
    font-size: 0.84rem;
    border-radius: 999px;
  }
  .service-icon, .process-number { width: 48px; height: 48px; border-radius: 14px; }
  .case-card, .contact-card, .service-card, .process-card, .about-panel { padding: 18px; border-radius: 20px; }
  .contact-list li { gap: 10px; overflow-wrap: anywhere; word-break: break-word; min-width: 0; }
  .contact-list span { width: 38px; height: 38px; border-radius: 12px; }
  .hero-proof {
    grid-template-columns: 1fr;
  }
  .hero-proof-card strong {
    font-size: 18px;
  }
  .hero-panel {
    padding: 18px 16px;
  }
  .panel-head h2 {
    font-size: 1.15rem;
  }
  .signal-head {
    font-size: 13px;
  }
  .field-grid {
    grid-template-columns: 1fr;
  }
  .service-card,
  .sector-card,
  .testimonial,
  .case-card,
  .contact-card,
  .process-card,
  .about-panel,
  .trust-side,
  .sectors-aside,
  .hero-mobile-panel {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .case-card h3[style],
  .contact-card h3[style],
  .about-panel h2[style],
  .sectors-aside h3 {
    line-height: 1.1;
    overflow-wrap: anywhere;
  }
  .hero-mobile-points {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    display: grid;
    gap: 10px;
  }
  .hero-mobile-points li {
    position: relative;
    padding-left: 18px;
    color: rgba(244, 247, 251, 0.82);
    font-size: 0.8rem;
    line-height: 1.5;
    word-break: break-word;
  }
  .hero-mobile-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
  }
}

@media (max-width: 480px) {
  .hero-mobile-layout {
    padding: 72px 12px 32px;
  }
  .hero-mobile-copy h1 {
    font-size: 1.32rem;
    max-width: 12ch;
  }
  .hero-mobile-copy p {
    font-size: 0.81rem;
    max-width: 29ch;
    line-height: 1.55;
  }
  .hero-proof-card {
    padding: 10px;
    font-size: 0.8rem;
  }
  .hero-proof-card strong {
    font-size: 16px;
    margin-bottom: 3px;
  }
  .panel-badge {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
  }
  .hero-mobile-panel h2 {
    font-size: 0.94rem;
  }
  .hero-actions .btn {
    padding: 10px 13px;
    font-size: 0.875rem;
  }
  .service-card p,
  .process-card p,
  .case-card p,
  .testimonial p,
  .contact-card p,
  .trust-side p,
  .section-head p {
    font-size: 0.95rem;
    line-height: 1.65;
  }
}
