.home-hero {
  position: relative;
  min-height: clamp(650px, 76vh, 860px);
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--night);
}
.home-hero-slides,
.home-hero-slide {
  position: absolute;
  inset: 0;
}
.home-hero-slide {
  opacity: 0;
  transition: opacity 0.8s ease;
}
.home-hero-slide.is-active { opacity: 1; }
.home-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 7s ease;
}
.home-hero-slide.is-active img { transform: scale(1); }
.home-hero-slides::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 12, 31, 0.94), rgba(5, 12, 31, 0.72) 45%, rgba(5, 12, 31, 0.14) 78%),
    linear-gradient(0deg, rgba(5, 12, 31, 0.58), transparent 55%);
}
.home-hero-inner {
  position: relative;
  z-index: 2;
  padding-block: 92px;
}
.home-hero-panel {
  width: min(810px, 100%);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 16px;
  background: rgba(7, 17, 43, 0.66);
  backdrop-filter: blur(13px);
  box-shadow: 0 26px 80px rgba(3, 9, 27, 0.24);
}
.home-hero h1 {
  max-width: 720px;
  margin: 17px 0 18px;
  font-size: clamp(52px, 7vw, 90px);
  font-weight: 540;
  line-height: 0.96;
  letter-spacing: -0.062em;
}
.home-hero-panel > p {
  max-width: 660px;
  margin: 0;
  color: #d5def2;
  font-size: 15px;
  line-height: 1.72;
}
.home-hero-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}
.home-hero-arrow {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(7, 17, 43, 0.45);
  color: #fff;
  cursor: pointer;
}
.home-hero-arrow:hover { background: rgba(255, 255, 255, 0.14); }
.home-hero-dots { display: flex; gap: 7px; margin-left: 5px; }
.home-hero-dot {
  width: 24px;
  height: 3px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.36);
  cursor: pointer;
  transition: width 0.2s, background 0.2s;
}
.home-hero-dot.is-active { width: 42px; background: #92e8ef; }
.home-hero-caption {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 8px;
}

.home-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.home-product-category {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  transition: transform 0.24s, box-shadow 0.24s;
}
.home-product-category:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.home-product-visual {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  background: var(--night);
}
.home-product-visual img { width: 100%; height: 100%; min-height: 210px; object-fit: cover; }
.home-product-visual span {
  position: absolute;
  top: 13px;
  left: 13px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.home-product-body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.home-product-body h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.12; letter-spacing: -0.03em; }
.home-product-body > p { margin: 0 0 15px; color: var(--muted); font-size: 10px; }
.home-product-links { display: grid; gap: 4px; margin-bottom: 18px; }
.home-product-links a { color: var(--ink-soft); font-size: 10px; }
.home-product-links a:hover { color: var(--blue); }
.home-product-body .text-link { margin-top: auto; }

.home-solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.home-solution-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  display: flex;
  align-items: end;
  border-radius: var(--radius);
  color: #fff;
  background: var(--night);
}
.home-solution-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}
.home-solution-card:hover img { transform: scale(1.035); }
.home-solution-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 12, 31, 0.95), rgba(5, 12, 31, 0.1) 74%);
}
.home-solution-body { position: relative; z-index: 1; padding: 28px; }
.home-solution-body small { color: #a7ebf1; font-size: 8px; font-weight: 850; letter-spacing: 0.11em; text-transform: uppercase; }
.home-solution-body h3 { margin: 9px 0 8px; font-size: 31px; letter-spacing: -0.04em; }
.home-solution-body p { max-width: 520px; margin: 0 0 17px; color: #d8e0ed; font-size: 11px; }
.home-solution-body .text-link { color: #b7edf2; }

.home-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.home-about-image { min-height: 480px; overflow: hidden; border-radius: var(--radius); }
.home-about-image img { width: 100%; height: 100%; object-fit: cover; }
.home-about-copy {
  padding: clamp(28px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.home-about-copy h2 {
  margin: 12px 0 8px;
  font-size: clamp(35px, 4.5vw, 55px);
  font-weight: 540;
  line-height: 1.02;
  letter-spacing: -0.05em;
}
.home-about-copy h3 { margin: 0 0 20px; color: var(--blue); font-size: 16px; }
.home-about-copy p { margin: 0 0 14px; color: var(--ink-soft); font-size: 13px; }
.home-about-copy .button { align-self: flex-start; margin-top: 10px; }

.home-business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.home-business-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  display: flex;
  align-items: end;
  border-radius: var(--radius);
  color: #fff;
  background: var(--night);
}
.home-business-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.home-business-card:hover img { transform: scale(1.035); }
.home-business-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 12, 31, 0.96), rgba(5, 12, 31, 0.07) 76%);
}
.home-business-card > span { position: relative; z-index: 1; padding: 24px; }
.home-business-card small {
  color: #a9ebf1;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.1em;
}
.home-business-card h3 { margin: 10px 0 8px; font-size: 25px; line-height: 1.08; letter-spacing: -0.035em; }
.home-business-card p { margin: 0 0 14px; color: #d6deec; font-size: 10px; }
.home-business-card em { color: #b8edf2; font-size: 10px; font-style: normal; font-weight: 800; }

.home-application-groups { display: grid; gap: 44px; }
.home-application-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.home-application-heading h3 { margin: 0; font-size: 25px; letter-spacing: -0.035em; }
.home-application-heading p { max-width: 500px; margin: 0; color: var(--muted); font-size: 10px; }
.home-application-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.home-application-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  display: flex;
  align-items: end;
  border-radius: 12px;
  color: #fff;
  background: var(--night);
}
.home-application-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.home-application-card:hover img { transform: scale(1.035); }
.home-application-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 12, 31, 0.94), rgba(5, 12, 31, 0.03) 72%);
}
.home-application-body { position: relative; z-index: 1; padding: 22px; }
.home-application-body h4 { margin: 0 0 6px; font-size: 22px; line-height: 1.12; letter-spacing: -0.03em; }
.home-application-body p { margin: 0 0 12px; color: #d5ddea; font-size: 10px; }
.home-application-body span { color: #acecf1; font-size: 9px; font-weight: 800; }

.home-project-placeholder {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.home-project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.home-project-card-image { position: relative; min-height: 230px; overflow: hidden; }
.home-project-card-image img { width: 100%; height: 100%; min-height: 230px; object-fit: cover; }
.home-project-card-image span {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(7, 17, 43, 0.64);
  color: #d7f6f8;
  font-size: 8px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.home-project-card-body { padding: 20px; }
.home-project-card-body small { color: var(--blue); font-size: 8px; font-weight: 850; text-transform: uppercase; letter-spacing: 0.1em; }
.home-project-card-body h3 { margin: 20px 0 7px; font-size: 22px; }
.home-project-card-body p { margin: 0 0 15px; color: var(--muted); font-size: 10px; }
.home-project-card-body .text-link { color: var(--blue); }

.home-contact {
  position: relative;
  overflow: hidden;
  padding: 70px 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, #143a88, #4c4bc0 65%, #7453cc);
}
.home-contact::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -120px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255, 255, 255, 0.04);
}
.home-contact h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-size: clamp(37px, 5vw, 60px);
  font-weight: 540;
  line-height: 1;
  letter-spacing: -0.05em;
}
.home-contact p { position: relative; z-index: 1; max-width: 720px; margin: 0; color: #d8e1f4; font-size: 13px; }
.home-contact .button { position: relative; z-index: 1; flex-shrink: 0; }

@media (max-width: 900px) {
  .home-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-business-grid { grid-template-columns: 1fr; }
  .home-application-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-about { grid-template-columns: 1fr; }
  .home-about-image { min-height: 380px; }
  .home-project-placeholder { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .home-hero, .home-hero-inner { min-height: 680px; }
  .home-hero-inner { padding-block: 65px 50px; }
  .home-hero-panel { padding: 25px 20px; }
  .home-hero h1 { font-size: 48px; }
  .home-hero-panel > p { font-size: 13px; }
  .home-products-grid, .home-solutions-grid, .home-application-grid, .home-project-placeholder { grid-template-columns: 1fr; }
  .home-business-card { min-height: 360px; }
  .home-application-heading { display: block; }
  .home-application-heading p { margin-top: 7px; }
  .home-solution-card { min-height: 370px; }
  .home-about-image { min-height: 300px; }
  .home-contact { padding: 34px 24px; align-items: flex-start; flex-direction: column; }
  .home-contact .button { width: 100%; }
}
