/* ==========================================================
   Thick Sea Tool website · rebuilt static theme
   Pure static responsive styles, ready for Nginx / Apache / shared hosting
   ========================================================== */

:root {
  --navy: #0c2d57;
  --navy-2: #14447a;
  --blue: #1f6fb2;
  --red: #e2362f;
  --ink: #1f2733;
  --gray: #5b6675;
  --line: #e5eaf1;
  --bg: #f5f7fa;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 8px 28px rgba(12, 45, 87, .10);
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: #cdd9e8;
  font-size: 13px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar a { color: #e8eef6; }
.topbar .lang span { margin: 0 6px; opacity: .5; }

/* ---------- Navigation ---------- */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(12, 45, 87, .08);
  position: sticky; top: 0; z-index: 100;
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo img { height: 46px; width: auto; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  display: block; padding: 10px 18px; font-size: 15px; font-weight: 500;
  color: var(--ink); border-radius: 6px; transition: .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--red); }
.main-nav a.active { background: #fbeeee; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 6px;
  width: 42px; height: 42px; cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--navy); display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 55%, var(--blue) 100%);
}
.banner-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; z-index: 0;
}
.banner-slide.active { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 26px 26px; pointer-events: none;
}
.hero .container { position: relative; z-index: 1; padding: 96px 24px 104px; }
.hero .eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.35); border-radius: 30px; padding: 6px 16px; margin-bottom: 26px;
}
.hero h1 { font-size: 40px; line-height: 1.3; font-weight: 700; max-width: 760px; }
.hero h1 em { font-style: normal; color: #ff8a84; }
.hero p.lead { margin: 22px 0 34px; font-size: 17px; max-width: 640px; color: #d8e3f0; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 6px;
  font-size: 15px; font-weight: 500; transition: .2s;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #c92b25; }
.btn-ghost { border: 1px solid rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

.hero-stats { display: flex; gap: 48px; margin-top: 56px; flex-wrap: wrap; }
.hero-stats .stat b { font-size: 30px; font-weight: 700; display: block; }
.hero-stats .stat span { font-size: 13px; color: #c3d2e4; }

/* Inner page header */
.page-head {
  background: linear-gradient(120deg, var(--navy), var(--navy-2));
  color: #fff; padding: 56px 0;
}
.page-head h1 { font-size: 30px; margin-bottom: 10px; }
.page-head .crumb { font-size: 13px; color: #c3d2e4; }
.page-head .crumb a:hover { color: #fff; }

/* ---------- Generic sections ---------- */
.section { padding: 76px 0; }
.section.alt { background: var(--bg); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head .eyebrow { color: var(--red); font-size: 13px; letter-spacing: 2px; font-weight: 600; }
.section-head h2 { font-size: 28px; margin: 10px 0 14px; color: var(--navy); }
.section-head p { color: var(--gray); }

.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: .25s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; background: #eef4fb; color: var(--blue);
  display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px;
}
.card h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 14.5px; }

/* ---------- About ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.about-split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-split h2 { font-size: 28px; color: var(--navy); margin-bottom: 18px; }
.about-split p { color: var(--gray); margin-bottom: 16px; }
.check-list li { padding-left: 28px; position: relative; margin-bottom: 12px; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 700;
}

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; counter-reset: step; }
.process .step { text-align: center; position: relative; }
.process .step .num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-weight: 700;
}
.process .step h4 { font-size: 15px; color: var(--navy); margin-bottom: 6px; }
.process .step p { font-size: 13px; color: var(--gray); }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-card .avatar {
  width: 84px; height: 84px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; margin: 0 auto 18px;
}
.team-card .role { color: var(--red); font-size: 13px; margin: 4px 0 10px; }

/* ---------- News ---------- */
.news-item { display: flex; gap: 22px; align-items: flex-start; padding: 24px 0; border-bottom: 1px solid var(--line); }
.news-thumb { flex: 0 0 210px; border-radius: 8px; overflow: hidden; }
.news-thumb img { width: 100%; height: 130px; object-fit: cover; }
@media (max-width: 720px) { .news-item { flex-wrap: wrap; } .news-thumb { flex: 1 1 100%; } }
.news-item .date {
  flex: 0 0 78px; text-align: center; background: var(--bg); border-radius: 8px; padding: 12px 0;
}
.news-item .date b { font-size: 22px; color: var(--navy); display: block; }
.news-item .date span { font-size: 12px; color: var(--gray); }
.news-item h3 { font-size: 17px; margin-bottom: 8px; }
.news-item h3 a:hover { color: var(--red); }
.news-item p { color: var(--gray); font-size: 14px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; padding: 56px 0;
}
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: 26px; margin-bottom: 8px; }
.cta-band p { color: #c3d2e4; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.contact-info li { display: flex; gap: 16px; margin-bottom: 26px; align-items: flex-start; }
.contact-info .icon {
  width: 46px; height: 46px; border-radius: 10px; background: #eef4fb; color: var(--blue);
  display: flex; align-items: center; justify-content: center; font-size: 20px; flex: 0 0 46px;
}
.contact-info b { display: block; color: var(--navy); margin-bottom: 2px; }
.contact-info span, .contact-info a { color: var(--gray); }
.contact-info a:hover { color: var(--red); }
.qr-card { text-align: center; background: var(--bg); border-radius: var(--radius); padding: 28px; }
.qr-card img { width: 160px; margin: 0 auto 12px; border-radius: 8px; }
.map-placeholder {
  margin-top: 30px; border-radius: var(--radius); overflow: hidden; background: var(--bg);
  height: 260px; display: flex; align-items: center; justify-content: center; color: var(--gray);
}

/* ---------- Form ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 14px; margin-bottom: 8px; color: var(--navy); }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font: inherit; background: var(--bg);
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid rgba(31,111,178,.25); border-color: var(--blue); background: #fff; }
.form-note { font-size: 12px; color: var(--gray); margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: #0a2240; color: #aebfd3; padding: 56px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 36px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.site-footer a:hover { color: #fff; }
.footer-grid li { margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; text-align: center; font-size: 13px; }
.footer-bottom a { color: #c3d2e4; }

/* ---------- Floating contact bar ---------- */
.float-bar { position: fixed; right: 18px; bottom: 90px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.float-bar a {
  width: 52px; height: 52px; border-radius: 10px; background: var(--white); box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 11px; color: var(--navy);
}
.float-bar a:hover { color: var(--red); }
.float-bar .fb-icon { font-size: 18px; }
#toTop { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); }
  .about-split, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 78px; left: 0; right: 0; background: #fff; box-shadow: var(--shadow);
    display: none; padding: 12px 24px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .hero .container { padding: 64px 24px 72px; }
  .hero h1 { font-size: 28px; }
  .grid-3, .grid-4, .grid-2, .process, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .topbar .container span.hide-m { display: none; }
}
