:root {
  --green: #029834;
  --blue: #004fe8;
  --ink: #222833;
  --muted: #6b7280;
  --page: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Inter, Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.page-width { width: var(--page); max-width: calc(100% - 48px); margin: 0 auto; }

.hero { position: relative; overflow: hidden;  }
.hero-inner { width: 1280px; max-width: calc(100% - 48px); height: 100%; margin: 0 auto; position: relative; display: flex; align-items: center; }
.home-banner-slide .hero-inner { position: absolute; top: 0; right: 0; bottom: 0; left: 0; height: auto; z-index: 1; }
.home-banner-slide .hero-copy { transform: none; }
.hero-copy { width: 672px; display: flex; flex-direction: column; align-items: flex-start; gap: clamp(16px, 2.5vw, 48px); transform: translateY(32px); }
.hero h1 { width: 10.12em; margin: 0; color: #fff; font-size: clamp(26px, 2.6vw, 50px); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }
.hero p { width: 27.8em; max-width: 100%; margin: 0; color: #eaf2ff; font-size: clamp(13px, .94vw, 18px); line-height: 2; font-weight: 500; text-align: justify; }
.hero-actions { display: flex; gap: 26px; }

.button { display: inline-flex; align-items: center; justify-content: center; border-radius: 0; border: 1px solid transparent; min-height: 44px; padding: 0 24px; font-size: 13px; line-height: 18px; font-weight: 600; cursor: pointer; transition: opacity .2s ease, transform .2s ease; }
.button:hover { opacity: .82; transform: translateY(-1px); }
.button-outline-dark { min-height: 44px; color: #fff; border-color: rgba(255,255,255,.9); background: rgba(0,0,0,.18); border-radius: 8px; }
.button-outline-light { min-height: 44px; color: #fff; border-color: rgba(255,255,255,.9); background: rgba(255,255,255,.16); border-radius: 8px; }
.button-small { height: 44px; min-height: 44px; }
.button-blue { width: 120px; color: var(--blue); border-color: var(--blue); background: #fff; }
.button-green { width: 120px; color: var(--green); border-color: var(--green); background: #fff; }
.button-solid-green { color: #fff; border-color: var(--green); background: var(--green); }
.button-white { height: 48px; min-height: 48px; width: 152px; color: var(--green); background: #fff; }

.section-white { background: #fff; }
.section-heading-row { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.section-heading-row h2 { margin: 0; color: var(--ink); font-size: 38px; line-height: 42px; font-weight: 700; }
.promotion { height: 743px; overflow: hidden; }
.promotion-inner { padding: 80px 0; display: flex; flex-direction: column; gap: 48px; }
.promotion .section-heading-row h2 { width: 618px; }
.advantage-grid { width: 100%; display: grid; grid-template-columns: repeat(4, 276px); justify-content: space-between; }
.advantage-card { height: 400px; background: #f5f7fb; border: 1px solid #e7ebf2; overflow: hidden; }
.advantage-card-green { background: var(--blue); border-color: var(--blue); }
.advantage-image { height: 240px; overflow: hidden; }
.advantage-image img { width: 100%; height: 100%; object-fit: cover; }
.advantage-body { height: 160px; padding: 20px; display: flex; flex-direction: column; gap: 8px; text-align: center; }
.advantage-body h3 { width: 236px; margin: 0; color: #1f2530; font-size: 13px; line-height: 18px; font-weight: 700; }
.advantage-body p { flex: 1; width: 236px; margin: 0; color: var(--muted); font-size: 12px; line-height: 16px; font-weight: 400; text-align: justify; }
.advantage-card-green .advantage-body { background: var(--green); }
.advantage-card-green .advantage-body h3 { color: #fff; }
.advantage-card-green .advantage-body p { color: #e7f0ff; }
.pager { display: flex; align-items: center; justify-content: center; gap: 8px; width: 68px; height: 3px; margin: 0 auto; }
.pager span { display: block; width: 30px; height: 2px; border-radius: 2px; background: #d8dee8; }
.pager .pager-current { height: 3px; background: var(--blue); }

.section-photo { position: relative; overflow: hidden; }
.products { height: 640px; background: #eef2f7; }
.products-bg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; }
.products-bg img { position: absolute; left: -32.53%; top: -97.03%; width: 148.28%; height: 218.69%; max-width: none; }
.section-photo-overlay { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(18,37,63,0) 35%, rgba(18,37,63,.8) 100%); }
.products-inner { position: relative; padding: 80px 0; display: flex; flex-direction: column; gap: 44px; }
.products-heading h2 { width: 410px; margin: 0 0 10px; color: #fff; font-size: 36px; line-height: 40px; }
.products-heading p { width: 592px; margin: 0; color: #fff; font-size: 13px; line-height: 18px; font-weight: 500; }
.product-grid { height: 326px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.product-card { height: 326px; overflow: hidden; color: #fff; }
.product-card img { width: 100%; height: 214px; object-fit: cover; border-radius: 6px; }
.product-card h3 { margin: 16px 0 0; font-size: 16px; line-height: 18px; font-weight: 700; }
.product-card p { margin: 16px 0 0; font-size: 12px; line-height: 16px; font-weight: 400; }

.section-light { background: #f7f8fa; }
.about { height: 724px; overflow: hidden; }
.about-inner { padding: 80px 0; display: flex; flex-direction: column; gap: 28px; }
.about-top { height: 336px; display: flex; align-items: flex-start; justify-content: space-between; }
.about-copy { width: 716px; display: flex; flex-direction: column; gap: 20px; }
.about-copy h2 { width: 560px; margin: 0; color: var(--ink); font-size: 24px; line-height: 31px; font-weight: 700; }
.about-copy > p { width: 716px; margin: 0; color: var(--muted); font-size: 13px; line-height: 22px; text-align: justify; }
.stats { width: 520px; padding: 12px 0; display: flex; align-items: center; gap: 48px; }
.stats div { display: flex; flex-direction: column; gap: 12px; }
.stats strong { color: var(--ink); font-size: 32px; line-height: 23px; font-weight: 700; }
.stats span { color: var(--ink); font-size: 18px; line-height: 23px; font-weight: 500; }
.about-copy .button { width: 120px; }
.about-word { width: 72px; height: 311px; color: #e0e3e8; font-size: 72px; line-height: 72px; font-weight: 700; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }
.map-wrap { width: 1200px; height: 200px; overflow: hidden; }
.map-wrap img { width: 1200px; height: 200px; object-fit: cover; }

.news { height: 744px; overflow: hidden; }
.news-inner { height: 744px; padding: 80px 0 120px; }
.news-stage { width: 1200px; height: 560px; position: relative; padding: 0 80px; }
.news-image { position: absolute; inset: 0; background: url('../imgs/news.png') center / cover no-repeat; }
.news-copy { position: absolute; left: 90px; top: 170px; width: 390px; color: #fff; }
.news-copy h2 { margin: 0 0 18px; font-size: 34px; line-height: 39px; font-weight: 700; }
.news-copy p { width: 340px; margin: 0; color: #eaf2ff; font-size: 13px; line-height: 21px; }
.news-swiper { position: absolute; left: 640px; top: 360px; width: 480px; z-index: 1; }
.news-swiper .swiper-slide { height: auto; }
.news-card { height: 100%; min-height: 200px; padding: 58px 50px; background: linear-gradient(121.9deg, #10b848, #007d2a); color: #fff; display: flex; flex-direction: column; gap: 28px; }
.news-card h3 { width: 376px; margin: 0; font-size: 15px; line-height: 21px; }
.news-divider { width: 376px; height: 1px; background: rgba(255,255,255,.4); }
.news-card .button { width: 128px; background: rgba(0,79,232,.18); }
.news-controls { position: absolute; left: 90px; top: 450px; z-index: 2; display: flex; gap: 6px; align-items: center; }
.news-dot { width: 14px; height: 14px; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.9); background: transparent; cursor: pointer; }
.news-dot.is-active { background: #fff; }

.section-dark { background: #020b17; color: #fff; }
.advantages { height: 570px; overflow: hidden; }
.advantages-inner { height: 570px; padding: 80px 0; display: flex; flex-direction: column; align-items: center; gap: 44px; }
.advantages-heading { height: 92px; text-align: center; }
.advantages-heading h2 { margin: 0 0 14px; font-size: 30px; line-height: 36px; }
.advantages-heading p { width: 600px; margin: 0; color: #8390a2; font-size: 13px; line-height: 20px; }
.advantages-grid { width: 1200px; height: 214px; display: grid; grid-template-columns: repeat(4, 290px); justify-content: space-between; }
.advantages-grid article { height: 214px; padding: 34px 28px 30px; background: #2c4260; border: 1px solid #1b2a40; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.advantages-grid img { width: 46px; height: 46px; }
.advantages-grid h3 { width: 244px; margin: 0; font-size: 13px; line-height: 18px; }
.advantages-grid p { width: 244px; margin: 0; color: rgba(255,255,255,.72); font-size: 12px; line-height: 17px; }
.advantages-inner > .button { width: 120px; background: rgba(0,79,232,.18); }

.cta { height: 144px; background: linear-gradient(163.18deg, #10b848 9.94%, #007d2a 90.06%); color: #fff; }
.cta-inner { height: 144px; display: flex; align-items: center; justify-content: space-between; }
.cta h2 { width: 780px; margin: 0; font-size: 28px; line-height: 34px; }

.site-footer { height: 590px; background: #f7f8fa; overflow: hidden; }
.footer-inner { height: 590px; padding: 64px 0 28px; display: flex; flex-direction: column; gap: 36px; }
.footer-top { height: 40px; display: flex; align-items: center; justify-content: space-between; }
.footer-top img { width: 145px; height: 40px; object-fit: contain; }
.footer-columns { height: 330px; display: grid; grid-template-columns: 160px 160px 140px 304px 300px; justify-content: space-between; align-items: start; }
.footer-list { display: flex; flex-direction: column; gap: 13px; }
.footer-list h3, .inquiry-form h3 { margin: 0; color: #1f2530; font-size: 13px; line-height: 18px; font-weight: 700; }
.footer-list a, .footer-list p { margin: 0; color: #7a8493; font-size: 12px; line-height: 17px; }
.inquiry-form { display: flex; flex-direction: column; gap: 12px; }
.inquiry-form input, .inquiry-form textarea { width: 304px; border: 1px solid #e1e5ec; border-radius: 0; padding: 12px 16px; background: #fff; color: #222833; font-size: 12px; line-height: 16px; outline: none; }
.inquiry-form input { height: 40px; }
.inquiry-form textarea { height: 88px; resize: none; }
.inquiry-form input::placeholder, .inquiry-form textarea::placeholder { color: #a0a8b4; }
.inquiry-form .button { width: 304px; }
.footer-rule { width: 1200px; height: 1px; background: #e4e8ef; }
.copyright { width: 1200px; margin: 0; color: #9aa3ae; font-size: 11px; line-height: 16px; text-align: center; }

@media (max-width: 1100px) {
  :root { --page: 960px; }
  .hero-inner { width: 960px; }
  .advantage-grid { grid-template-columns: repeat(2, 276px); gap: 24px; justify-content: center; }
  .promotion { height: auto; }
  .promotion-inner { padding-bottom: 72px; }
  .product-grid { gap: 20px; }
  .about, .news, .advantages, .site-footer { height: auto; }
  .about-inner, .news-inner, .advantages-inner, .footer-inner { height: auto; }
  .about-top { height: auto; }
  .about-copy { width: calc(100% - 120px); }
  .about-copy > p { width: 100%; }
  .map-wrap, .map-wrap img, .news-stage, .footer-rule, .copyright, .advantages-grid { width: 100%; }
  .footer-columns { grid-template-columns: repeat(3, 1fr); row-gap: 28px; height: auto; }
}

@media (max-width: 760px) {
  .page-width, .hero-inner { max-width: calc(100% - 32px); width: auto; }
  .hero { height: auto; }
  /* .hero-inner { height: 680px; } */
  .hero-copy { width: 100%; gap: clamp(8px, 2.4vw, 20px); transform: none; }
  .hero h1, .hero p { width: 100%; }
  .hero h1 { font-size: clamp(18px, 5vw, 38px); line-height: 1.2; }
  .hero p { font-size: clamp(12px, 2vw, 15px); line-height: 1.6; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
  .hero-actions { flex-wrap: wrap; gap: 10px; }
  .hero-actions .button { min-height: 34px; padding: 0 14px; font-size: 12px; }
  .home-banner-slide p, .home-banner-slide .hero-actions { display: none; }
  .promotion-inner, .products-inner, .about-inner, .news-inner, .advantages-inner, .footer-inner { padding-top: 56px; padding-bottom: 56px; }
  .section-heading-row { align-items: flex-start; gap: 20px; }
  .section-heading-row h2 { width: auto !important; font-size: 30px; line-height: 34px; }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .advantage-card { height: auto; }
  .advantage-body { height: auto; min-height: 160px; }
  .advantage-body h3, .advantage-body p { width: auto; }
  .products { height: auto; }
  .products-heading { flex-direction: column; }
  .products-heading p { width: 100%; }
  .product-grid { height: auto; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .product-card { height: 300px; }
  .product-card > img { height: auto; aspect-ratio: 270 / 214; }
  .about-top { flex-direction: column; gap: 32px; }
  .about-copy { width: 100%; }
  .about-word { display: none; }
  .map-wrap { width: 100%; height: auto; aspect-ratio: 6 / 1; }
  .map-wrap img { width: 100%; height: 100%; }
  .news { height: auto; }
  .news-inner { height: auto; }
  .news-stage { height: 560px; padding: 0; }
  .news-copy { left: 40px; top: 120px; }
  .news-swiper { left: 20px; right: 20px; top: 330px; width: auto; }
  .news-card { padding: 40px 28px; }
  .news-card h3, .news-divider { width: 100%; }
  .news-controls { left: 40px; top: 296px; }
  .advantages-grid { height: auto; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .advantages-grid article { width: auto; height: 214px; padding-left: 12px; padding-right: 12px; }
  .advantages-grid h3, .advantages-grid p { width: 100%; }
  .cta, .cta-inner { height: auto; }
  .cta-inner { min-height: 144px; padding-top: 28px; padding-bottom: 28px; gap: 24px; }
  .cta h2 { width: auto; font-size: 22px; line-height: 28px; }
  .footer-columns { grid-template-columns: repeat(2, 1fr); }
  .inquiry-form, .inquiry-form input, .inquiry-form textarea, .inquiry-form .button { width: 100%; }
  .footer-contacts { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .advantage-grid { grid-template-columns: 1fr; }
  .product-grid, .advantages-grid { grid-template-columns: 1fr; }
  .product-card { height: auto; }
  .advantages-grid article { width: 290px; justify-self: center; }
  .footer-columns { grid-template-columns: 1fr; }
  .footer-contacts { grid-column: auto; }
}

.home-main .news-image img { width: 100%; height: 100%; object-fit: cover; }
