/* ============================================================
   MSR Service Co., Ltd. — 润和航运服务有限公司
   Marine technical services website — stylesheet
   ============================================================ */

:root {
  --navy-900: #061528;
  --navy-800: #0a2540;
  --navy-700: #0e3358;
  --navy-600: #12477a;
  --accent:   #00b4d8;
  --accent-d: #0091ad;
  --ink:      #1c2b3a;
  --muted:    #5b6b7b;
  --line:     #e3e9f0;
  --bg:       #ffffff;
  --bg-alt:   #f4f7fb;
  --white:    #ffffff;
  --radius:   14px;
  --shadow:   0 10px 30px rgba(8, 35, 64, 0.08);
  --shadow-lg:0 24px 60px rgba(8, 35, 64, 0.16);
  --maxw:     1180px;
  --font: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(8, 35, 64, 0.08);
  border-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  font-weight: 800;
  letter-spacing: .5px;
  font-size: 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-700), var(--accent));
  padding: 9px 11px;
  border-radius: 10px;
  line-height: 1;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-cn { font-weight: 700; font-size: 15px; color: var(--navy-800); }
.brand-en { font-size: 11px; color: var(--muted); letter-spacing: .3px; }

.main-nav { display: flex; gap: 26px; }
.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .25s ease;
}
.main-nav a:hover { color: var(--navy-600); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy-700);
  font-weight: 700;
  font-size: 13px;
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s ease;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent-d); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .25s ease, background .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-d));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 180, 216, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0, 180, 216, 0.42); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); }
.btn.full { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(120% 120% at 80% 0%, var(--navy-600) 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  color: var(--white);
  padding: 168px 0 150px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 70% 20%, #000, transparent 70%);
}
.hero-waves {
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 220px;
}
.hero-waves path { fill: rgba(0, 180, 216, 0.10); }
.hero-waves .wave2 { fill: rgba(255, 255, 255, 0.04); }

.hero-inner { position: relative; max-width: 820px; }
.hero-eyebrow {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 18px;
  padding: 6px 14px;
  border: 1px solid rgba(0, 180, 216, 0.4);
  border-radius: 999px;
}
.hero-title {
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.12;
  font-weight: 800;
  margin: 0 0 22px;
  letter-spacing: .5px;
}
.hero-sub {
  font-size: clamp(15px, 2vw, 19px);
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 34px;
  max-width: 660px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 46px; }

.hero-quick { display: flex; flex-wrap: wrap; gap: 12px; }
.quick-chip {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 9px 16px;
  border-radius: 999px;
  transition: all .2s ease;
}
.quick-chip:hover { background: rgba(0,180,216,.18); border-color: var(--accent); transform: translateY(-2px); }

/* ---------- Section basics ---------- */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: var(--white);
}

.section-head { max-width: 720px; margin: 0 0 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-d);
  margin: 0 0 12px;
}
.eyebrow.light { color: var(--accent); }
.section-title {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  color: var(--navy-800);
  margin: 0 0 16px;
  line-height: 1.2;
}
.section-title.light { color: var(--white); }
.section-lead { font-size: 17px; color: var(--muted); margin: 0; }
.section-lead.light { color: rgba(255,255,255,.78); }

.text-link {
  font-weight: 700;
  color: var(--accent-d);
  display: inline-block;
  margin-top: 8px;
  transition: gap .2s ease, color .2s ease;
}
.text-link:hover { color: var(--navy-600); }

.placeholder-note { font-size: 13px; color: var(--muted); margin-top: 22px; }
.placeholder-note.light { color: rgba(255,255,255,.6); }
.placeholder-note.center { text-align: center; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
}
.about-text p { color: var(--muted); margin: 0 0 18px; }
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat-num {
  display: block;
  font-size: 40px;
  font-weight: 800;
  color: var(--navy-700);
  line-height: 1;
}
.stat-plus { color: var(--accent); }
.stat-label { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 30px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--navy-600));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,180,216,.14), rgba(18,71,122,.12));
  color: var(--navy-600);
  margin-bottom: 20px;
}
.service-icon svg { width: 30px; height: 30px; }
.service-card h3 { font-size: 22px; font-weight: 700; color: var(--navy-800); margin: 0 0 4px; }
.service-en { font-size: 13px; color: var(--accent-d); font-weight: 600; margin: 0 0 14px; letter-spacing: .3px; }
.service-desc { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
.service-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.service-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--ink);
}
.service-list li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(0,180,216,.15);
  box-shadow: inset 0 0 0 4px var(--accent);
}

/* ---------- Why / features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .25s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--bg-alt);
  color: var(--accent-d);
  margin-bottom: 16px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature h4 { margin: 0 0 8px; font-size: 18px; color: var(--navy-800); }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Credentials ---------- */
.class-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 8px;
}
.class-badge {
  display: grid; place-items: center;
  height: 92px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 1px;
  color: rgba(255,255,255,.9);
  transition: all .25s ease;
}
.class-badge:hover { background: rgba(0,180,216,.14); border-color: var(--accent); color: var(--white); }

/* ---------- Network ---------- */
.port-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.port {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  color: var(--navy-700);
  font-size: 15px;
  box-shadow: var(--shadow);
  transition: all .2s ease;
}
.port:hover { background: var(--navy-700); color: var(--white); border-color: var(--navy-700); transform: translateY(-3px); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.ci-ico {
  flex: none;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--accent-d);
}
.ci-ico svg { width: 22px; height: 22px; }
.ci-label { display: block; font-size: 13px; color: var(--muted); }
.contact-list strong { font-size: 16px; color: var(--navy-800); }
.contact-list li.person { align-items: flex-start; }
.contact-list li.person .ci-ico { margin-top: 2px; }
.contact-list li.person strong { display: block; margin-top: 2px; }
.contact-list .ci-sub { display: block; font-size: 14px; color: var(--muted); line-height: 1.55; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--navy-800); }
.field input, .field textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-alt);
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0,180,216,.15);
}
.contact-form .btn.full { grid-column: 1 / -1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 64px 24px 48px;
}
.footer-brand .brand-mark { display: inline-block; margin-bottom: 16px; }
.footer-name { font-weight: 700; color: var(--white); margin: 0 0 6px; font-size: 16px; }
.footer-tag { margin: 0; font-size: 14px; max-width: 280px; }
.footer-col h5 { color: var(--white); font-size: 15px; margin: 0 0 16px; }
.footer-col a, .footer-col span { display: block; font-size: 14px; margin-bottom: 10px; color: rgba(255,255,255,.7); transition: color .2s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: 13px; }
.footer-bottom .container { text-align: center; color: rgba(255,255,255,.55); }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--navy-700);
  color: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .3s ease;
  z-index: 90;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--accent); }
.back-top svg { width: 20px; height: 20px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .class-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 72px; right: 0;
    width: min(78vw, 320px);
    height: calc(100vh - 72px);
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 16px 24px;
    box-shadow: -10px 0 40px rgba(8,35,64,.12);
    transform: translateX(110%);
    transition: transform .3s ease;
    border-left: 1px solid var(--line);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .main-nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 130px 0 110px; }
  .feature-grid { grid-template-columns: 1fr; }
  .class-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

/* ============================================================
   MULTI-PAGE ADDITIONS
   ============================================================ */

/* ---------- Nav dropdown ---------- */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-drop-toggle { display: inline-flex; align-items: center; gap: 4px; }
.nav-drop-toggle .caret { width: 15px; height: 15px; transition: transform .25s ease; }
.nav-dropdown:hover .caret { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 50;
}
.nav-dropdown:hover .nav-drop-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); }
.nav-drop-menu a {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14.5px;
  white-space: nowrap;
  color: var(--ink);
}
.nav-drop-menu a::after { display: none; }
.nav-drop-menu a:hover { background: var(--bg-alt); color: var(--navy-700); }
.main-nav a.active { color: var(--accent-d); }
.main-nav a.active::after { width: 100%; }
.nav-drop-toggle.active { color: var(--accent-d); }

/* ---------- Inner-page hero ---------- */
.page-hero {
  position: relative;
  background: radial-gradient(120% 140% at 85% 0%, var(--navy-600) 0%, var(--navy-800) 50%, var(--navy-900) 100%);
  color: var(--white);
  padding: 150px 0 70px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 75% 10%, #000, transparent 70%);
}
.page-hero-inner { position: relative; }
.breadcrumb { font-size: 13.5px; color: rgba(255,255,255,.6); margin: 0 0 14px; }
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 8px; opacity: .5; }
.page-hero h1 {
  font-size: clamp(28px, 4.4vw, 46px);
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.15;
}
.page-hero .page-hero-en { font-size: 15px; color: var(--accent); font-weight: 600; letter-spacing: .5px; margin: 0 0 14px; text-transform: uppercase; }
.page-hero p.page-hero-lead { font-size: 17px; color: rgba(255,255,255,.82); max-width: 680px; margin: 0; }

/* ---------- Home: intro split ---------- */
.home-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.intro-media {
  border-radius: 18px;
  min-height: 320px;
  background:
    linear-gradient(135deg, rgba(0,180,216,.22), rgba(18,71,122,.30)),
    var(--navy-700);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.85);
}
.intro-media::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.intro-media .media-mark { position: relative; font-size: 64px; font-weight: 800; letter-spacing: 4px; opacity: .9; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-700), var(--navy-900));
  color: var(--white);
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 56px 0;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 8px; color: var(--white); }
.cta-band p { margin: 0; color: rgba(255,255,255,.78); font-size: 16px; }

/* ---------- Service summary cards (home) clickable ---------- */
.service-card.linked { cursor: pointer; text-decoration: none; color: inherit; display: block; }
.service-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 700; color: var(--accent-d); font-size: 14.5px; }
.service-card:hover .service-more { gap: 10px; }

/* ---------- About: milestones ---------- */
.milestones { position: relative; margin-top: 10px; }
.milestones::before { content: ""; position: absolute; left: 13px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.milestone { position: relative; padding: 0 0 30px 46px; }
.milestone:last-child { padding-bottom: 0; }
.milestone::before {
  content: ""; position: absolute; left: 6px; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--white); border: 4px solid var(--accent);
}
.milestone .m-year { font-weight: 800; color: var(--navy-700); font-size: 18px; }
.milestone .m-text { color: var(--muted); margin: 4px 0 0; }

/* ---------- Values ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px;
  transition: transform .2s ease, box-shadow .25s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-card .v-num { font-size: 14px; font-weight: 800; color: var(--accent); letter-spacing: 1px; }
.value-card h4 { margin: 10px 0 8px; font-size: 19px; color: var(--navy-800); }
.value-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Service detail ---------- */
.detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 50px; align-items: start; }
.detail-main .detail-block { margin-bottom: 40px; }
.detail-main .detail-block:last-child { margin-bottom: 0; }
.detail-block h2 { font-size: 24px; color: var(--navy-800); margin: 0 0 16px; }
.detail-block p { color: var(--muted); margin: 0 0 14px; }
.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.scope-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: 12px; padding: 16px 18px;
}
.scope-item .si-ico { flex: none; width: 30px; height: 30px; color: var(--accent-d); display: grid; place-items: center; }
.scope-item .si-ico svg { width: 22px; height: 22px; }
.scope-item strong { display: block; color: var(--navy-800); font-size: 15px; margin-bottom: 2px; }
.scope-item span { font-size: 13.5px; color: var(--muted); }

.detail-aside {
  position: sticky; top: 96px;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: var(--white);
  border-radius: 18px;
  padding: 30px 28px;
  box-shadow: var(--shadow-lg);
}
.detail-aside h3 { color: var(--white); margin: 0 0 8px; font-size: 20px; }
.detail-aside p { color: rgba(255,255,255,.78); font-size: 14.5px; margin: 0 0 20px; }
.detail-aside .btn { width: 100%; margin-bottom: 10px; }
.aside-other { margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.aside-other h4 { color: rgba(255,255,255,.7); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 12px; }
.aside-other a { display: block; color: rgba(255,255,255,.85); font-size: 14.5px; padding: 7px 0; transition: color .2s ease; }
.aside-other a:hover { color: var(--accent); }

/* ---------- Map placeholder ---------- */
.map-placeholder {
  border-radius: 18px; min-height: 300px;
  background:
    linear-gradient(135deg, rgba(0,180,216,.10), rgba(18,71,122,.14)),
    var(--bg-alt);
  border: 1px solid var(--line);
  display: grid; place-items: center; text-align: center;
  color: var(--muted); padding: 30px;
}
.map-placeholder svg { width: 40px; height: 40px; color: var(--accent-d); margin-bottom: 10px; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 140px 24px 80px; }
.notfound .code { font-size: clamp(80px, 16vw, 160px); font-weight: 800; line-height: 1; color: var(--navy-800); }
.notfound h1 { font-size: 26px; margin: 10px 0 12px; color: var(--navy-800); }
.notfound p { color: var(--muted); margin: 0 0 26px; }

/* ---------- Responsive (multi-page) ---------- */
@media (max-width: 960px) {
  .home-intro-grid { grid-template-columns: 1fr; gap: 36px; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .detail-layout { grid-template-columns: 1fr; gap: 34px; }
  .detail-aside { position: static; }
}
@media (max-width: 720px) {
  .value-grid { grid-template-columns: 1fr; }
  .scope-grid { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  /* dropdown in mobile drawer */
  .nav-dropdown { flex-direction: column; align-items: stretch; }
  .nav-drop-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: 0; border-radius: 0; padding: 0;
    max-height: 0; overflow: hidden; min-width: 0;
    transition: max-height .3s ease;
  }
  .nav-dropdown.open .nav-drop-menu { max-height: 320px; }
  .nav-drop-menu a { padding-left: 16px; font-size: 15px; color: var(--muted); border-bottom: 1px solid var(--line); }
  .nav-drop-toggle { justify-content: space-between; }
  .page-hero { padding: 120px 0 50px; }
}
