.hero-section {
  padding: 0;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.hero-section .swiper {
  position: relative;
}
.hero-section .swiper-wrapper{
    padding-top: 0;
}
.hero-slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-slide-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  margin-bottom: 50px;
  gap: 40px;
  align-items: center;
  padding: 0px min(6vw, 80px);
}

.hero-slide:nth-child(1) {
  background-image: 
    radial-gradient(circle at top left, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0.25) 100%),
    url('../images/banner1.webp');
}

.hero-slide:nth-child(2) {
  background-image: 
    radial-gradient(circle at top left, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0.25) 100%),
    url('../images/banner2.webp');
}

.hero-content h1,
.hero-content h2 {
  margin: 6px 0 10px;
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  color: white;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8), 0 2px 4px rgba(0, 0, 0, 0.05);
  -webkit-text-stroke: 0.2px rgba(15, 23, 42, 0.1);
  letter-spacing: -0.01em;
}

.hero-text {
  color: white;
  max-width: 600px;
  margin-bottom: 24px;
  font-size: 1.1rem;
  line-height: 1.6;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Overlay controls */
.hero-section .controls-container {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  padding: 0;
  z-index: 10;
  pointer-events: none;
}

.hero-section .slider-controls {
  margin-top: 0;
  padding: 0px min(6vw, 80px);
  pointer-events: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-badges li {
  padding: 4px 10px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--border-light);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  color: var(--text-muted);
}

.hero-media {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-card {
  border-radius: 18px;
  padding: 16px 16px 14px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  transform-origin: center;
  transition: all 0.3s ease;
}

.hero-card.secondary {
  border-style: dashed;
  border-color: rgba(203, 213, 225, 0.8);
  background: rgba(248, 250, 252, 0.7);
}

.hero-card h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
  color: var(--text-heading);
}

.hero-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-card .tag {
  display: inline-flex;
  margin-top: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0284c7;
  font-size: 0.75rem;
  font-weight: 500;
}

.hero-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--card-hover-shadow);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 16px;
}

.metric {
  min-width: 110px;
}

.metric-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}

.metric-label {
  font-size: 0.8rem;
  color: white;
}

.hero-media-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 10px;
}

.media-tile {
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-size: 0.86rem;
  color: var(--text-main);
  transition: all 0.25s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.05);
}

.media-tile h3,
.media-tile h4 {
  margin: 0 0 4px;
  color: var(--text-heading);
  font-weight: 600;
}

.media-tile p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.media-tile.large {
  grid-row: span 2;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 249, 255, 0.8) 100%);
}

.media-tile:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Products */
.section-products .products-slider {
  padding-bottom: 4px;
}

.product-card {
  border-radius: 18px;
  padding: 18px 18px 16px;
  background: white;
  border: 1px solid var(--border-light);
  /*min-height: 220px;*/
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform-origin: center;
  transition: all 0.25s ease;
  box-shadow: var(--card-shadow);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--card-hover-shadow);
}

.product-tag {
  display: inline-flex;
  width: fit-content;
  padding: 3px 9px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 500;
}

.product-card h3 {
  margin: 4px 0 6px;
  font-size: 1.02rem;
  color: var(--text-heading);
}

.card-image {
  width: 100%;
  height: auto;
  background-color: #e2e8f0;
  border-radius: 12px;
  margin-bottom: 12px;
  object-fit: cover;
}
.card-image img{
    border-radius: 12px;
}
.product-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.product-card ul {
  margin: 6px 0 10px;
  display: grid;
  gap: 4px;
  font-size: 0.86rem;
  color: var(--text-main);
}

.card-actions {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

/* Applications */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.application-card {
  border-radius: 18px;
  padding: 18px 18px 16px;
  background: white;
  border: 1px solid var(--border-light);
  transition: all 0.25s ease;
  box-shadow: var(--card-shadow);
}

.application-card h3 {
  margin: 0 0 8px;
  color: var(--text-heading);
}

.application-card ul {
  margin: 8px 0 10px;
  font-size: 0.86rem;
  color: var(--text-muted);
  display: grid;
  gap: 4px;
}

.application-card .pill {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid #bae6fd;
  background: #f0f9ff;
  font-size: 0.78rem;
  color: #0284c7;
}

.application-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--card-hover-shadow);
}

/* Advantages */
.advantages-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.advantages-list {
  display: grid;
  gap: 14px;
}

.advantage-item {
  border-radius: 18px;
  padding: 16px 18px;
  background: white;
  border: 1px solid var(--border-light);
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.advantage-item h3 {
  margin: 0 0 6px;
  color: var(--text-heading);
}

.advantage-item p {
  color: var(--text-muted);
}

.advantage-item:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.advantages-aside {
  display: grid;
  gap: 14px;
}

.stat-card {
  border-radius: 18px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #0749a6, #0ea5e9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.4);
}

.stat-card .stat-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.8);
}

.stat-card .stat-value {
  display: block;
  margin-top: 4px;
  font-size: 1.6rem;
  font-weight: 600;
  color: white;
}

.stat-card .stat-sub {
  display: block;
  margin-top: 4px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.9);
}

/* About */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* .about-text p+p {
  margin-top: 10px;
} */
.about-checklist {
  /* margin-top: 12px; */
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-main);
}

.about-highlights {
  display: flex;
  gap: 12px;
}

.highlight-card {
  border-radius: 18px;
  padding: 16px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
}

.highlight-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
}

.highlight-label {
  display: block;
  margin-top: 4px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.about-media {
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

/* Cases */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.case-card {
  border-radius: 18px;
  padding: 18px 18px 16px;
  background: white;
  border: 1px solid var(--border-light);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: var(--card-shadow);
}

.case-card h3 {
  margin: 0;
  color: var(--text-heading);
}

.case-card ul {
  margin: 6px 0 10px;
  font-size: 0.86rem;
  color: var(--text-muted);
  display: grid;
  gap: 4px;
}

.case-card .pill {
  display: inline-flex;
  width: fit-content;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid #bae6fd;
  background: #f0f9ff;
  font-size: 0.78rem;
  color: #0284c7;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--card-hover-shadow);
}

/* Partners */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.partner-badge {
  border-radius: 999px;
  padding: 7px 10px;
  border: 1px solid var(--border-light);
  font-size: 0.82rem;
  text-align: center;
  background: white;
  color: var(--text-muted);
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.partner-badge:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  background: #f0f9ff;
  color: var(--primary);
}

/* News */
.news-card {
  border-radius: 18px;
  padding: 18px 18px 14px;
  background: white;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: all 0.25s ease;
  box-shadow: var(--card-shadow);
}
.news-card .text-link{
    width: fit-content;
}
.news-card h3 {
  margin: 4px 0 6px;
  font-size: 1.05rem;
  color: var(--text-heading);
}

.news-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--card-hover-shadow);
}

.news-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* CTA */
.section-cta {
  padding-block: 70px;
}

.cta-inner {
  margin: 0 auto;
  border-radius: 24px;
  padding: 36px 32px;
  border: none;
  background: linear-gradient(135deg, #0749a6, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: white;
  box-shadow: 0 20px 50px -10px rgba(2, 132, 199, 0.5);
}

.cta-text .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.cta-text h2 {
  color: white;
  text-align: start;
}

.cta-text p {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta-actions .btn-primary {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-actions .btn-primary:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

.cta-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
}

.cta-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* Footer */

/* Responsive */
@media (max-width: 1120px) {
  .applications-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .hero-slide-inner,
  .hero-slide {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-slide-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 60px 20px 40px;
  }

  .about-layout,
  .advantages-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .cases-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .applications-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding-inline: 18px;
    padding: 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .card-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}