/* Homepage sections and reusable cards. */
.hero {
  position: relative;
  min-height: 720px;
  height: 100vh;
  overflow: hidden;
  color: #fff;
  background-color: #0d2b4d;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(120deg, rgba(7,22,43,.92) 0%, rgba(12,45,83,.76) 48%, rgba(18,62,109,.58) 100%),
    url("../images/hero-bg.webp");
  background-size: cover;
  background-position: center;
  filter: saturate(.8);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(91,164,235,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,164,235,.10) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
}
.hero-copy {
  width: 48%;
  max-width: 520px;
  padding-bottom: 40px;
}
.hero-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 1px;
}
.hero-copy p {
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255,255,255,.86);
}
.hero-actions { display: flex; align-items: center; }
.hero-media {
  position: absolute;
  right: -11%;
  bottom: -2%;
  width: 82%;
  z-index: 1;
  mix-blend-mode: multiply;
}
.hero-media img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  filter: brightness(1.65) contrast(1.04) saturate(1.12);
  transform-origin: center bottom;
  animation: heroIn 1s ease both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateX(50px) scale(.97); }
  to { opacity: 1; transform: none; }
}
.hero-controls {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  pointer-events: none;
}
.hero-dots { display: flex; gap: 10px; padding-left: max(24px, calc((100% - var(--max)) / 2)); }
.hero-dots button {
  width: 22px;
  height: 5px;
  border: 0;
  border-radius: 9px;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  pointer-events: auto;
  transition: .25s ease;
}
.hero-dots button.is-active { width: 42px; background: #f3c94a; }
.hero-scroll {
  color: rgba(255,255,255,.82);
  text-align: center;
  font-size: 13px;
}
.hero-scroll i {
  display: block;
  width: 34px;
  height: 34px;
  margin: 0 auto 8px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(45deg);
  animation: scrollHint 1.8s infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: rotate(45deg) translate(0,0); opacity: .4; }
  50% { transform: rotate(45deg) translate(5px,5px); opacity: 1; }
}
.hero-arrows { display: flex; gap: 12px; padding-right: max(24px, calc((100% - var(--max)) / 2)); }
.hero-arrows button {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.6);
  background: rgba(13,43,77,.42);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  pointer-events: auto;
  transition: .2s ease;
}
.hero-arrows button:hover { background: var(--blue); border-color: var(--blue); }

.series {
  background-color: #181c22;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 20px 20px;
}
.series-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.series-card {
  position: relative;
  min-height: 232px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 4px;
  background: var(--blue);
}
.series-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.series-card:hover img { transform: scale(1.06); }
.series-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,95,184,.45), rgba(24,92,178,.88));
}
.series-card div { position: relative; z-index: 2; padding: 28px; color: #fff; }
.series-card strong { display: block; font-size: 27px; font-weight: 600; letter-spacing: 2px; }
.series-card span { display: block; margin-top: 6px; font-size: 12px; letter-spacing: 2px; opacity: .85; }

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-visual {
  position: relative;
  min-height: 390px;
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(135deg, #1d4d86, #0e223d);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: .45; }
.play {
  position: relative;
  z-index: 2;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  padding-left: 5px;
}
.about-copy h2 { margin: 0 0 18px; font-size: 32px; font-weight: 600; letter-spacing: 2px; }
.about-copy p { margin: 0 0 16px; color: rgba(255,255,255,.75); }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 60px;
}
.stat {
  background: #2b5fb7;
  padding: 30px 22px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}
.stat + .stat { border-left: 1px solid rgba(255,255,255,.12); }
.stat strong { font-size: 38px; line-height: 1; font-weight: 600; }
.stat strong i { font-size: 24px; font-style: normal; }
.stat span { margin-top: 12px; font-size: 13px; }

.products-section { background: #f6f7f9; overflow: hidden; }
.product-ribbon {
  position: relative;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 46px;
  border-radius: 999px;
  background: linear-gradient(90deg, #143e7e, #2f76c9 50%, #143e7e);
  color: #fff;
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: 8px;
  text-transform: uppercase;
}
.product-ribbon .ribbon-arrow {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.product-ribbon .prev { left: 18px; }
.product-ribbon .next { right: 18px; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.product-card {
  display: grid;
  grid-template-columns: 44% 56%;
  min-height: 210px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20,30,50,.06);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-card .thumb { background: #f1f3f5; padding: 14px; display: grid; place-items: center; }
.product-card .thumb img { width: 100%; height: 180px; object-fit: contain; mix-blend-mode: multiply; }
.product-card .info { padding: 28px 26px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.product-card h3 { margin: 0 0 12px; font-size: 19px; font-weight: 600; line-height: 1.45; }
.product-card p { margin: 0 0 16px; color: var(--muted); font-size: 13px; }
.product-card a { color: var(--blue); font-weight: 700; letter-spacing: 1px; }
.product-card a:hover { color: var(--red); }

.advantage {
  background: linear-gradient(rgba(12,27,50,.82), rgba(12,27,50,.9)), #0d1c33;
}
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.advantage-item {
  display: grid;
  grid-template-columns: 38% 62%;
  min-height: 250px;
  background: rgba(90,98,109,.82);
  color: #fff;
  overflow: hidden;
}
.advantage-item:nth-child(even) { grid-template-columns: 62% 38%; }
.advantage-item:nth-child(even) .adv-media { order: 2; }
.adv-media { position: relative; overflow: hidden; }
.adv-media img { width: 100%; height: 100%; object-fit: cover; }
.adv-body { position: relative; padding: 34px 30px; display: flex; flex-direction: column; justify-content: center; }
.adv-number {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  font-size: 12px;
}
.advantage-item h3 { margin: 0 0 14px; font-size: 21px; font-weight: 600; line-height: 1.45; }
.advantage-item p { margin: 0; color: rgba(255,255,255,.78); font-size: 13px; }

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-height: 640px;
}
.showcase-item {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #1b222c;
}
.showcase-item.large { grid-row: span 2; }
.showcase-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.showcase-item:hover img { transform: scale(1.05); }
.showcase-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.72));
}
.showcase-copy { position: absolute; z-index: 2; left: 28px; bottom: 28px; right: 28px; }
.showcase-copy h3 { margin: 0 0 10px; font-size: 28px; font-weight: 600; }
.showcase-copy p { margin: 0 0 14px; font-size: 13px; color: rgba(255,255,255,.85); }
.showcase-copy a { font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 3px; }

.news-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 64px;
}
.news-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.news-item:nth-child(2n) img { order: 2; }
.news-item img { width: 180px; height: 108px; object-fit: cover; }
.news-item time { display: block; color: #6fb7d4; font-size: 12px; margin-bottom: 8px; }
.news-item h3 { margin: 0 0 12px; font-size: 16px; font-weight: 500; line-height: 1.5; }
.news-item a { color: #6fb7d4; font-size: 13px; }
.news-item a:hover { color: #fff; }

@media (max-width: 980px) {
  .hero { min-height: 640px; height: 88vh; }
  .hero-copy { width: 62%; }
  .hero-media { width: 82%; right: -18%; bottom: 12%; opacity: .9; }
  .series-track { grid-template-columns: repeat(3, minmax(240px, 1fr)); overflow-x: auto; padding-bottom: 8px; }
  .about-split { grid-template-columns: 1fr; gap: 36px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .product-grid, .advantage-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; grid-template-rows: repeat(3, 300px); }
  .showcase-item.large { grid-row: auto; }
  .news-list { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .hero { height: 760px; }
  .hero-copy { width: 100%; padding-top: 40px; }
  .hero-media { width: 120%; right: -28%; bottom: 20%; opacity: .55; }
  .hero-arrows { display: none; }
  .hero-scroll { display: none; }
  .product-card { grid-template-columns: 1fr; }
  .product-card .thumb img { height: 190px; }
  .advantage-item, .advantage-item:nth-child(even) { grid-template-columns: 1fr; }
  .advantage-item:nth-child(even) .adv-media { order: 0; }
  .adv-media { height: 180px; }
  .news-item { grid-template-columns: 110px 1fr; gap: 14px; }
  .news-item img { width: 110px; height: 80px; }
  .stat strong { font-size: 30px; }
}
