:root {
  --blue: #2b9fd8;
  --blue-dark: #1b7fc4;
  --navy: #0f2d40;
  --orange: #f5a623;
  --text: #23303a;
  --muted: #5b6b76;
  --bg: #ffffff;
  --bg-soft: #f2f8fc;
  --border: #dde8ef;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(15, 45, 64, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

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

a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 6px rgba(15, 45, 64, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.brand:hover { text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand .brand-name { font-size: 1.05rem; }
.brand .brand-name span { color: var(--blue-dark); }

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}
.main-nav a:hover { background: var(--bg-soft); text-decoration: none; }
.main-nav a.active { color: var(--blue-dark); background: var(--bg-soft); }

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; opacity: 0.92; }
.btn-hotline { background: var(--orange); color: #fff; }
.btn-primary { background: var(--blue-dark); color: #fff; }
.btn-outline { border: 2px solid #fff; color: #fff; }
.nav-hotline { margin-left: 8px; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #17537c 60%, var(--blue-dark) 100%);
  color: #fff;
  padding: 56px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: 2.1rem;
  line-height: 1.25;
  margin-bottom: 14px;
}
.hero h1 span { color: #8fd4f5; }
.hero p.lead { font-size: 1.1rem; color: #d9ecf7; margin-bottom: 10px; }
.hero ul {
  list-style: none;
  margin: 18px 0 26px;
  display: grid;
  gap: 8px;
}
.hero ul li { padding-left: 28px; position: relative; color: #eaf6fd; }
.hero ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-img img {
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  max-height: 420px;
  object-fit: cover;
  width: 100%;
}

/* ===== Sections ===== */
.section { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }
.section h2 {
  font-size: 1.7rem;
  color: var(--navy);
  text-align: center;
  margin-bottom: 8px;
}
.section .section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 36px;
}

/* Service cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card img { height: 190px; width: 100%; object-fit: cover; }
.card-body { padding: 18px 20px 22px; }
.card h3 { color: var(--navy); font-size: 1.08rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* Why us */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.feature .icon { font-size: 2rem; margin-bottom: 10px; }
.feature h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 0.93rem; }

/* Certificate */
.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.cert-grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cert-grid h2 { text-align: left; }
.cert-grid p { color: var(--muted); margin-bottom: 12px; }

/* CTA strip */
.cta-strip {
  background: linear-gradient(120deg, var(--blue-dark), var(--navy));
  color: #fff;
  text-align: center;
  padding: 46px 0;
}
.cta-strip h2 { color: #fff; margin-bottom: 8px; font-size: 1.6rem; }
.cta-strip p { color: #d9ecf7; margin-bottom: 22px; }
.cta-strip .hero-cta { justify-content: center; }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gallery figure {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.gallery figcaption {
  padding: 12px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: start;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.contact-card ul { list-style: none; display: grid; gap: 16px; }
.contact-card li { padding-left: 34px; position: relative; }
.contact-card li .ico { position: absolute; left: 0; top: 1px; font-size: 1.2rem; }
.contact-card li strong { color: var(--navy); display: block; }
.contact-card .hero-cta { margin-top: 24px; }
.map-embed {
  border: 0;
  width: 100%;
  height: 420px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy);
  color: #b9cedb;
  padding: 40px 0 24px;
  margin-top: 0;
  font-size: 0.93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 26px;
}
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.site-footer a { color: #8fd4f5; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.footer-note {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  text-align: center;
  color: #7e97a6;
}

/* Floating call button (mobile) */
.float-call {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  padding: 13px 20px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  display: none;
}
.float-call:hover { text-decoration: none; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .hero-grid, .cert-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-img { order: -1; }
  .hero-img img { max-height: 280px; }
  .cards, .features { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-hotline { display: none; }
  .float-call { display: block; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 1.6rem; }
  .cards, .features { grid-template-columns: 1fr; }
  .brand .brand-name { font-size: 0.95rem; }
  .main-nav a { padding: 8px 8px; font-size: 0.9rem; }
}
