:root {
  --blue: #0066b3;
  --orange: #e85d02;
  --text: #4d4d4f;
  --muted: #6c757d;
  --line: #edf2f7;
  --soft: #f7f9fc;
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  color: var(--text);
  background: #fff;
}

body {
  min-width: 320px;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--orange);
}

html.phone-hidden .phone,
html.phone-hidden a[href^="tel:"],
html.phone-hidden .phone-contact,
html.phone-hidden [data-phone-hidden="true"],
html.phone-hidden .email-contact,
html.phone-hidden [data-email-hidden="true"] {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.header {
  max-height: 100px;
  padding: 8px 0;
}

.header-row {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  gap: 18px;
}

.logo {
  height: 50px;
  width: auto;
}

.menu {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.menu a {
  display: inline-block;
  padding: 8px 4px;
  color: var(--blue);
  font-weight: 700;
  font-size: 15px;
}

.menu a.active {
  color: var(--orange);
  border-bottom: 2px solid var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.phone {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  gap: 4px;
}

.phone img {
  width: 22px;
}

.phone span {
  font-size: 17px;
}

.lang {
  border: 1px solid #aaa;
  border-radius: 3px;
  padding: 7px 10px;
  color: #555;
  font-size: 15px;
  text-transform: uppercase;
}

.btn-start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 16px;
  border-radius: 15px;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.btn-start:hover {
  color: var(--blue);
}

.mobile-toggle,
.mobile-menu-button {
  display: none;
}

.body-top-page {
  position: relative;
  z-index: 2;
  height: 40px;
  border-top: 6px solid var(--orange);
}

.body-top-page::before {
  content: "";
  position: absolute;
  width: 25%;
  border-top: 35px solid var(--orange);
  border-right: 35px solid transparent;
}

.hero {
  margin-top: -35px;
  background:
    linear-gradient(90deg, rgba(0, 102, 179, 0.88), rgba(0, 102, 179, 0.44)),
    url("/images/banner/banner-1.png") center / cover no-repeat;
  color: #fff;
  min-height: 330px;
  display: flex;
  align-items: center;
}

.hero-inner {
  padding: 72px 0 56px;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.6;
}

.section {
  padding: 54px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section-head h2 {
  margin: 0;
  color: var(--blue);
  font-size: 30px;
  line-height: 1.2;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.6;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.news-card {
  border: 1px solid #dfe8f2;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 102, 179, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 93, 2, 0.35);
  box-shadow: 0 14px 34px rgba(0, 102, 179, 0.14);
}

.news-card-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: #eef4fa;
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  background: #f6f9fc;
}

.news-card-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 42, 73, 0.82));
  pointer-events: none;
}

.news-image-title {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.38);
}

.news-card-body {
  padding: 18px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
}

.tag {
  color: var(--orange);
  font-weight: 700;
}

.news-card h3 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 20px;
  line-height: 1.28;
}

.news-card p {
  margin: 0 0 16px;
  color: #555;
  line-height: 1.6;
}

.read-more {
  color: var(--orange);
  font-weight: 700;
}

.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 760px) 320px;
  gap: 42px;
  align-items: start;
}

.article {
  padding-bottom: 16px;
}

.article-title {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.12;
}

.article-lead {
  margin: 0 0 26px;
  font-size: 18px;
  line-height: 1.65;
  color: #555;
}

.article-cover {
  margin: 0 0 28px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft);
}

.article-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article h2 {
  margin: 30px 0 12px;
  color: var(--blue);
  font-size: 25px;
  line-height: 1.25;
}

.article p,
.article li {
  font-size: 16px;
  line-height: 1.75;
}

.article p {
  margin: 0 0 16px;
}

.article ul {
  padding-left: 20px;
  margin: 0 0 18px;
}

.sidebar {
  position: sticky;
  top: 18px;
  border-left: 4px solid var(--orange);
  padding: 18px 0 18px 18px;
}

.sidebar h2 {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 20px;
}

.sidebar a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: #555;
  line-height: 1.45;
  font-weight: 700;
}

.why-choose-us {
  background: var(--orange);
  padding: 40px 0;
  color: #fff;
}

.why-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.why-choose-us .title {
  font-size: 28px;
  font-weight: 700;
}

.why-choose-us .slogan {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 300;
}

.why-choose-us .phone img {
  width: 34px;
}

.why-choose-us .phone span {
  color: #fff;
  font-size: 20px;
}

.footer {
  padding: 24px 0 16px;
}

.footer-top {
  display: grid;
  grid-template-columns: 150px 1.3fr 0.8fr 1.5fr;
  gap: 28px;
}

.logo-footer {
  width: 120px;
}

.footer h2 {
  margin: 0 0 8px;
  color: #555;
  font-size: 16px;
  text-transform: uppercase;
}

.footer p,
.footer li {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

.footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-line {
  border-top: 1px solid #2e7ec0;
  margin: 20px 0 5px;
}

.social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding-top: 8px;
}

.social img {
  width: 20px;
  max-height: 20px;
}

.copyright {
  margin-top: 10px;
  text-align: center;
  color: #555;
  font-size: 14px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 24px 0;
  padding: 14px 32px;
  background: var(--orange);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  border-radius: 8px;
  transition: background 0.18s ease, transform 0.18s ease;
}

.btn-download::before {
  content: "⬇";
  font-size: 18px;
}

.btn-download:hover {
  background: #c44e00;
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 1100px) {
  .header-row {
    grid-template-columns: 150px 1fr auto;
  }

  .menu {
    gap: 12px;
  }

  .phone span {
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  .header-row {
    grid-template-columns: auto 1fr auto;
  }

  .mobile-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: var(--orange);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
  }

  .menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    z-index: 10;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
  }

  .mobile-toggle:checked ~ .menu {
    display: grid;
    gap: 4px;
  }

  .menu a {
    display: block;
    padding: 10px 8px;
  }

  .header-actions .btn-start {
    display: none;
  }

  .news-grid,
  .article-wrap,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .logo {
    height: 45px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .phone {
    display: none;
  }

  .lang {
    padding: 6px 8px;
    font-size: 14px;
  }

  .body-top-page {
    height: 36px;
  }

  .body-top-page::before {
    width: 30%;
    border-top-width: 30px;
    border-right-width: 30px;
  }

  .hero {
    min-height: 270px;
  }

  .hero-inner {
    padding: 58px 0 42px;
  }

  .hero p {
    font-size: 16px;
  }

  .section {
    padding: 38px 0;
  }

  .section-head {
    display: block;
  }

  .why-choose-us {
    padding: 16px 0;
  }

  .why-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .why-choose-us .title {
    font-size: 20px;
  }

  .why-choose-us .slogan {
    font-size: 14px;
  }

  .why-choose-us .phone img {
    width: 24px;
  }

  .why-choose-us .phone span {
    font-size: 16px;
  }
}
