/* =============================================
   HaoLink — BPO Professional Theme
   深圳市智汇颢联科技有限公司
   配色：主蓝 #0A5EA8 | 深海 #0D2847 | 强调橙 #F59E0B
   ============================================= */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Brand palette — extracted from HaoLink logo & poster */
  --blue: #0A5EA8;           /* primary brand blue */
  --blue-light: #1E7BD6;     /* hover/active state */
  --blue-soft: #EBF4FD;      /* light blue backgrounds */
  --blue-pale: #F5F9FE;      /* very light tinted bg */
  --navy: #0D2847;           /* deep navy (hero, footer) */
  --navy-soft: #153356;
  --orange: #F59E0B;         /* CTA accent (from poster) */
  --orange-hover: #E08A00;
  --orange-soft: #FFF6E5;

  /* Neutrals */
  --ink: #1A2332;
  --ink-soft: #2D3A4D;
  --paper: #ffffff;
  --paper-blue: #F0F6FC;
  --muted: #5C6B7E;
  --line: #DFE5ED;
  --line-soft: #EEF2F7;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(13,40,71,.05);
  --shadow-md: 0 8px 30px rgba(13,40,71,.10);
  --shadow-lg: 0 20px 60px rgba(13,40,71,.14);
  --shadow-blue: 0 8px 24px rgba(10,94,168,.22);

  /* Radius & motion */
  --radius: 6px;
  --radius-lg: 14px;
  --ease: cubic-bezier(.22,.61,.36,1);

  /* Layout */
  --max: 1200px;

  /* Typography */
  --serif: Georgia, 'Times New Roman', 'Songti SC', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.2;
  color: var(--ink);
}
.section-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 620px;
  margin: 18px auto 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .35s var(--ease);
}
/* Primary — brand blue */
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: var(--shadow-blue); }
/* Accent — orange CTA */
.btn-accent { background: var(--orange); color: #fff; }
.btn-accent:hover { background: var(--orange-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,158,11,.30); }
/* Outline */
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
/* Navy solid */
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); transform: translateY(-2px); box-shadow: var(--shadow-md); }
/* Ghost (on dark bg) */
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.55); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.90);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: all .4s var(--ease);
}
.header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 32px;
  height: 76px; display: flex; align-items: center; justify-content: space-between;
}

/* Logo — uses image */
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img {
  height: 42px; width: auto;
  object-fit: contain;
}
.logo-text {
  display: flex; flex-direction: column; line-height: 1.15;
}
.logo-text .brand-cn {
  font-size: 1.05rem; font-weight: 700; letter-spacing: .04em; color: var(--navy);
}
.logo-text .brand-en {
  font-size: .72rem; font-weight: 500; letter-spacing: .14em; color: var(--muted); text-transform: uppercase;
}

/* Fallback text mark if no image */
.logo-mark {
  width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 800; letter-spacing: -.04em;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff; border-radius: 8px;
}
.logo-sub { font-weight: 400; font-size: .72rem; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 38px; }
.nav-link {
  font-size: .92rem; font-weight: 500; color: var(--ink-soft);
  position: relative; padding: 6px 0; transition: color .3s var(--ease);
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--blue); border-radius: 1px; transition: width .35s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--blue); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.lang-toggle {
  display: inline-flex; border: 1px solid var(--line); border-radius: 30px; overflow: hidden;
  font-size: .78rem; font-weight: 600;
}
.lang-toggle button {
  padding: 6px 13px; background: transparent; border: none; cursor: pointer; color: var(--muted);
  transition: all .3s var(--ease);
}
.lang-toggle button.active { background: var(--blue); color: #fff; }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: .3s var(--ease); }

/* ---------- Hero — BPO style (deep blue + visual) ---------- */
.hero {
  position: relative; padding: 188px 0 130px;
  background: linear-gradient(135deg, var(--navy) 0%, #12365A 50%, #1a4a7a 100%);
  color: #fff; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -20%; right: -8%; width: 55%; height: 150%;
  background: radial-gradient(circle, rgba(10,94,168,.25) 0%, transparent 65%);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 60%, rgba(245,158,11,.06) 0%, transparent 45%),
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 100% 100%, 56px 56px, 56px 56px;
  mask-image: radial-gradient(circle at 68% 32%, #000, transparent 70%);
}
.hero-inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 18px;
  background: rgba(10,94,168,.25); border: 1px solid rgba(10,94,168,.35); border-radius: 30px;
  font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.92); margin-bottom: 28px;
  backdrop-filter: blur(4px);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: ping 2.4s infinite; }
@keyframes ping { 0%{box-shadow:0 0 0 0 rgba(74,222,128,.55)} 70%{box-shadow:0 0 0 9px rgba(74,222,128,0)} 100%{box-shadow:0 0 0 0 rgba(74,222,128,0)} }

.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em;
  max-width: 17ch;
}
.hero h1 .accent { color: var(--orange); }
.hero h1 .hero-sub2 { font-size: .68em; font-weight: 700; color: rgba(255,255,255,.88); letter-spacing: .03em; }
.hero h1 .hl-blue { color: #60A5FA; }
.hero-desc { font-size: 1.14rem; color: rgba(255,255,255,.75); max-width: 52ch; margin: 26px 0 38px; line-height: 1.8; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 48px; margin-top: 64px; flex-wrap: wrap; }
.hero-meta .m-num { font-size: 2rem; font-weight: 800; color: #fff; }
.hero-meta .m-num span { color: var(--orange); }
.hero-meta .m-label { font-size: .82rem; color: rgba(255,255,255,.52); letter-spacing: .04em; }

/* Hero decorative elements */
/* Hero figure (CS rep image) */
.hero-figure {
  position: absolute; top: 50%; right: 4%; transform: translateY(-50%);
  height: 72vh; max-height: 620px; width: auto; max-width: 46vw;
  object-fit: cover; object-position: center top;
  border-radius: 20px;
  box-shadow:
    0 24px 80px rgba(0,0,0,.35),
    0 8px 32px rgba(10,94,168,.15);
  z-index: 1; pointer-events: none;
  opacity: .95;
}
@media (max-width: 1024px) {
  .hero-figure { height: 55vh; right: 2%; border-radius: 16px; }
}
/* Inner-page banner figure — smaller than homepage */
.hero-figure--inner {
  height: auto;
  width: 34vw;
  max-width: 380px;
  min-width: 280px;
  top: 50%;
  transform: translateY(-50%);
  right: 3%;
  border-radius: 16px;
  box-shadow:
    0 20px 60px rgba(0,0,0,.32),
    0 6px 24px rgba(10,94,168,.12);
}
@media (max-width: 1024px) {
  .hero-figure--inner { width: 28vw; max-width: 300px; }
}
@media (max-width: 768px) {
  .hero-figure { display: none; }
  .hero-figure--inner { display: none; }
}

/* ---------- Section frame ---------- */
.section { padding: 110px 0; }
.section--blue { background: var(--paper-blue); }
.section--warm { background: var(--blue-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }

/* ---------- Generic cards ---------- */
.grid { display: grid; gap: 28px; }
.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(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px 32px; transition: all .45s var(--ease); position: relative;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.card .ic {
  width: 52px; height: 52px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue-soft), var(--blue-pale)); color: var(--blue);
  margin-bottom: 22px; transition: .45s var(--ease);
}
.card:hover .ic { background: linear-gradient(135deg, var(--blue), var(--blue-light)); color: #fff; }
.card .ic svg { width: 24px; height: 24px; stroke-width: 2; }
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -.01em; color: var(--ink); }
.card p { font-size: .94rem; color: var(--muted); line-height: 1.7; }

/* ---------- Marquee / industries ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 20px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 24px;
  border: 1px solid var(--line); border-radius: 40px; font-size: .92rem; font-weight: 500;
  background: var(--paper); transition: all .35s var(--ease); color: var(--ink-soft);
}
.chip:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* ---------- Cases ---------- */
.case {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; transition: all .45s var(--ease);
}
.case:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.case-img { width: 100%; height: 180px; object-fit: cover; display: block; }
.case-top { padding: 30px 32px; border-bottom: 1px solid var(--line-soft); }
.case-tag { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
.case h3 { font-size: 1.2rem; font-weight: 700; margin: 12px 0 6px; color: var(--ink); }
.case-sub { font-size: .88rem; color: var(--muted); }
.case-body { padding: 28px 32px; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.case-stat .n { font-size: 1.7rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.case-stat .n span { color: var(--blue); }
.case-stat .l { font-size: .76rem; color: var(--muted); margin-top: 2px; }
.case-quote { padding: 0 32px 30px; font-size: .92rem; color: var(--muted); font-style: italic; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; position: relative; }
.process .step { text-align: center; padding: 0 18px; position: relative; }
.process .step::before {
  content: ''; position: absolute; top: 31px; left: 50%; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--line)); z-index: 0;
}
.process .step:last-child::before { display: none; }
.step-no {
  width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 700; color: #fff; position: relative; z-index: 1;
  box-shadow: 0 4px 14px rgba(10,94,168,.25);
}
.step h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.step p { font-size: .85rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 24px 0; font-size: 1.05rem; font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq-q .plus { color: var(--blue); font-size: 1.4rem; transition: transform .35s var(--ease); flex-shrink: 0; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 0 24px; color: var(--muted); font-size: .95rem; }

/* ---------- CTA band — BPO style (gradient blue + orange) ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, #16446d 50%, #1e5a96 100%);
  color: #fff; border-radius: 16px; padding: 72px 40px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 75% 15%, rgba(245,158,11,.15) 0%, transparent 50%),
    radial-gradient(circle at 20% 85%, rgba(10,94,168,.20) 0%, transparent 50%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 14px; }
.cta-band h2 span { color: var(--orange); }
.cta-band p { color: rgba(255,255,255,.72); max-width: 540px; margin: 0 auto 32px; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- About specifics ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.rev { direction: rtl; }
.split.rev > * { direction: ltr; }
.split-media {
  aspect-ratio: 4/3; border-radius: var(--radius-lg); background: var(--paper-blue);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  color: var(--muted); overflow: hidden; position: relative;
}
.split-media svg { width: 76px; height: 76px; opacity: .30; color: var(--blue); }
.split-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split-text h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 700; letter-spacing: -.01em; margin-bottom: 18px; color: var(--ink); }
.split-text p { color: var(--muted); margin-bottom: 14px; }
.check-list li { position: relative; padding-left: 30px; margin: 12px 0; color: var(--ink-soft); }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 9px; width: 16px; height: 9px;
  border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg);
}

.loc-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; transition: .45s var(--ease); }
.loc-card:hover { box-shadow: var(--shadow-md); border-color: var(--blue); }
.loc-flag { font-size: 2.4rem; margin-bottom: 14px; }
.loc-img {
  width: 100%; height: 200px; object-fit: cover;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  margin: -36px -36px 20px -36px; width: calc(100% + 72px);
}
.loc-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 14px; color: var(--ink); }
.loc-card .row { font-size: .92rem; color: var(--muted); margin: 8px 0; }
.loc-card .row b { color: var(--ink); font-weight: 600; display: block; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); margin-bottom: 2px; }

/* ---------- Services specifics ---------- */
.svc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px; margin-bottom: 24px; transition: .45s var(--ease); }
.svc:hover { border-color: var(--blue); box-shadow: var(--shadow-md); }
.svc-head { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 26px; }
.svc-ic { width: 60px; height: 60px; flex-shrink: 0; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--blue-light)); color: #fff; display: flex; align-items: center; justify-content: center; }
.svc-ic svg { width: 28px; height: 28px; }
.svc-head h3 { font-size: 1.35rem; font-weight: 700; color: var(--ink); }
.svc-head p { color: var(--muted); font-size: .96rem; margin-top: 4px; }
/* ── Service feature cards (graphical grid) ── */
.svc-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 4px; }
.svc-feat {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: var(--radius);
  background: var(--blue-pale); border: 1px solid transparent;
  transition: .3s var(--ease);
}
.svc-feat:hover { border-color: var(--blue); background: #fff; box-shadow: var(--shadow-sm); }
.svc-feat .fi {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff;
}
.svc-feat .fi svg { width: 17px; height: 17px; }
.svc-feat span { font-size: .85rem; color: var(--ink-soft); line-height: 1.35; font-weight: 500; }

@media (max-width: 768px) {
  .svc-feats { grid-template-columns: repeat(2, 1fr); }
  .svc-feat { padding: 10px 10px; gap: 8px; }
  .svc-feat .fi { width: 30px; height: 30px; }
  .svc-feat .fi svg { width: 15px; height: 15px; }
  .svc-feat span { font-size: .82rem; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px; }
.form-card h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.form-card .sub { color: var(--muted); font-size: .92rem; margin-bottom: 28px; }
.field { margin-bottom: 18px; }
.field.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 8px; color: var(--ink-soft); }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: .94rem; font-family: inherit; background: var(--blue-pale); transition: .3s var(--ease); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(10,94,168,.12);
}
.field textarea { resize: vertical; min-height: 120px; }

.aside-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; margin-bottom: 22px; }
.aside-card h4 { font-size: 1.05rem; font-weight: 700; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--ink); }
.aside-card h4 svg { width: 20px; height: 20px; color: var(--blue); }
.aside-card .line { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; font-size: .92rem; color: var(--muted); }
.aside-card .line svg { width: 17px; height: 17px; color: var(--blue); flex-shrink: 0; margin-top: 3px; }
.qr-box { width: 190px; height: 190px; margin: 0 auto 14px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.qr-box img { width: 100%; height: 100%; object-fit: cover; }
.wechat-card { text-align: center; }
.wechat-card p { font-size: .9rem; color: var(--muted); }
.wechat-card .wxid { font-size: .82rem; color: var(--blue); margin-top: 8px; font-weight: 600; }

.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 18px; font-size: .92rem; display: none; }
.alert.show { display: block; }
.alert.ok { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.alert.err { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

/* ---------- Footer — deep navy ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.70); padding: 72px 0 30px; }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; }
.footer .logo { color: #fff; }
.footer .logo-img {
  background: rgba(255,255,255,.95);
  border-radius: 10px;
  padding: 5px 12px;
  height: auto;
  max-height: 48px;
}
.footer-brand p { font-size: .9rem; line-height: 1.7; margin-top: 18px; max-width: 34ch; }
.footer h5 { color: #fff; font-size: .95rem; font-weight: 600; margin-bottom: 18px; letter-spacing: .02em; }
.footer ul li { margin-bottom: 11px; }
.footer ul li a { font-size: .9rem; transition: color .3s var(--ease); }
.footer ul li a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); margin-top: 50px; padding-top: 24px; text-align: center; font-size: .82rem; color: rgba(255,255,255,.40); }

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .process { grid-template-columns: repeat(2,1fr); gap: 40px 20px; }
  .process .step::before { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.rev { direction: ltr; }
}
@media (max-width: 760px) {
  .container, .header-inner, .hero-inner, .footer-inner { padding-left: 22px; padding-right: 22px; }
  .nav, .header-actions .btn { display: none; }
  .burger { display: flex; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; padding: 18px 22px; gap: 0; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
  .nav.open .nav-link { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .section { padding: 76px 0; }
  .hero { padding: 150px 0 84px; }
  .hero-figure { display: none; }
  .hero-meta { gap: 30px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .svc { padding: 30px 24px; }
  .svc-feats { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 30px 24px; }
  .field.row2 { grid-template-columns: 1fr; }
  .case-body { grid-template-columns: 1fr; gap: 14px; }
  .footer-inner { grid-template-columns: 1fr; }
  .cta-band { padding: 52px 26px; }
  .header-actions .lang-toggle { display: flex !important; }
}
@media (max-width: 420px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
}

/* ---------- Service Packages ---------- */
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.pkg {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 34px 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.pkg:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.pkg--featured { border-color: var(--blue); box-shadow: var(--shadow-blue); background: linear-gradient(180deg, var(--blue-pale), #fff); }
.pkg--featured::before {
  content: attr(data-badge); position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), #f6a53a); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; padding: 6px 16px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 6px 16px rgba(245,158,11,.4);
}
.pkg-name { font-size: 1.2rem; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.pkg-en { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); font-weight: 600; margin-top: 4px; }
.pkg-tagline { font-size: .92rem; color: var(--muted); line-height: 1.65; margin: 14px 0 20px; }
.pkg-divider { height: 1px; background: var(--line); margin-bottom: 20px; }
.pkg-feats { list-style: none; display: flex; flex-direction: column; gap: 12px; flex: 1; margin-bottom: 26px; }
.pkg-feats li { display: flex; align-items: flex-start; gap: 10px; font-size: .93rem; color: var(--ink); line-height: 1.5; }
.pkg-feats li svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; color: var(--blue); stroke-width: 2.4; }
.pkg-feats li.muted { color: var(--muted); }
.pkg-feats li.muted svg { color: var(--line-dark, #c7d2e0); }
.pkg .btn { width: 100%; justify-content: center; margin-top: auto; }
@media (max-width: 860px) { .pkgs { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* ---------- Hero service pills ---------- */
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 6px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  padding: 7px 14px; border-radius: 999px; backdrop-filter: blur(4px);
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.hero-pill:hover { background: rgba(245,158,11,.18); border-color: rgba(245,158,11,.5); transform: translateY(-2px); }
.hero-pill .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
@media (max-width: 600px) { .hero-pill { font-size: .76rem; padding: 6px 11px; } }

/* ---------- Inner hero (knowledge) ---------- */
.hero--inner { padding: 150px 0 96px; }

/* ---------- Knowledge / article cards ---------- */
.article-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 30px 34px; margin-bottom: 22px;
  box-shadow: 0 10px 30px rgba(13,40,71,.05);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.article-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(13,40,71,.10); border-color: rgba(10,94,168,.3); }
.article-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; font-size: .8rem; color: var(--muted); }
.article-cat { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(10,94,168,.10); color: var(--blue); font-weight: 600; }
.article-card h3 { font-size: 1.35rem; font-weight: 800; color: var(--navy); letter-spacing: -.01em; line-height: 1.35; margin-bottom: 14px; }
.article-card p { font-size: 1rem; line-height: 1.85; color: var(--ink); }
@media (max-width: 600px) { .article-card { padding: 24px 22px; } .article-card h3 { font-size: 1.18rem; } }
