/* =========================================================
   Yiwu Nice Flag Commodity Co., Ltd. — site stylesheet
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --pink: #e8528f;
  --pink-dark: #c93a72;
  --pink-soft: #fdeef4;
  --pink-tint: #fdf7f9;

  --ink: #22252a;
  --ink-2: #33363c;
  --muted: #7a7a7a;
  --muted-2: #9a9a9a;

  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --line: #ebebed;
  --line-2: #dcdce0;

  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 10px rgba(34, 37, 42, .06);
  --shadow: 0 10px 34px rgba(34, 37, 42, .09);
  --shadow-lg: 0 22px 60px rgba(34, 37, 42, .14);

  --header-h: 78px;
  --topbar-h: 42px;
  --wrap: 1200px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; border-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { margin: 0 0 .5em; color: var(--ink); line-height: 1.22; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--pink); color: #fff; padding: 10px 18px;
}
.skip-link:focus { left: 12px; top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; }
.section { padding: 92px 0; }
.section-sm { padding: 60px 0; }
.section-soft { background: var(--bg-soft); }
.section-tint { background: var(--pink-tint); }

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

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--pink); margin-bottom: 14px;
}
.eyebrow::after {
  content: ""; display: inline-block; width: 34px; height: 2px;
  background: var(--pink); vertical-align: middle; margin-left: 12px; opacity: .5;
}
.section-title { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 14px; }
.section-sub { color: var(--muted); max-width: 720px; }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: 52px; }
.section-head.center { text-align: center; }

.lead { font-size: 17px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px; border: 1px solid transparent; border-radius: 999px;
  font-size: 15px; font-weight: 600; cursor: pointer; background: none;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--pink); color: #fff; box-shadow: 0 8px 22px rgba(232, 82, 143, .28); }
.btn-primary:hover { background: var(--pink-dark); }
.btn-outline { border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--pink); color: var(--pink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; color: var(--pink); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn .arw { transition: transform .25s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.link-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--pink);
}
.link-more svg { transition: transform .25s var(--ease); }
.link-more:hover svg { transform: translateX(5px); }

/* =========================================================
   Top bar
   ========================================================= */
.topbar {
  background: var(--ink); color: #cfd1d5; font-size: 13px;
  height: var(--topbar-h); display: flex; align-items: center;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar-contact { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-contact a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar-contact a:hover { color: var(--pink); }
.topbar-contact svg { flex: none; opacity: .8; }
.social { display: flex; align-items: center; gap: 6px; }
.social a {
  width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
  transition: background-color .2s, color .2s, transform .2s;
}
.social a:hover { background: var(--pink); color: #fff; transform: translateY(-2px); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 4px 22px rgba(34, 37, 42, .08); border-bottom-color: var(--line); }
.header-inner {
  height: var(--header-h); display: flex; align-items: center; gap: 26px;
}
.logo { display: flex; align-items: center; gap: 11px; flex: none; }
.logo-mark {
  width: 42px; height: 42px; flex: none; border-radius: 12px;
  background: linear-gradient(135deg, var(--pink) 0%, #f0779f 100%);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 6px 16px rgba(232, 82, 143, .3);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-size: 16px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.logo-tag { font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--pink); }

.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: 4px; }
.nav > ul > li { position: relative; }
.nav > ul > li > a {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 14px; font-size: 15px; font-weight: 500; color: var(--ink-2);
  border-radius: 8px; transition: color .2s, background-color .2s;
}
.nav > ul > li > a:hover, .nav > ul > li > a.is-active { color: var(--pink); }
.nav > ul > li > a.is-active { font-weight: 600; }
.nav .caret { width: 10px; height: 10px; opacity: .55; }

.sub-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 232px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all .22s var(--ease);
}
.nav > ul > li:hover > .sub-menu,
.nav > ul > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu a {
  display: block; padding: 9px 13px; border-radius: 8px; font-size: 14px; color: var(--ink-2);
  transition: background-color .18s, color .18s;
}
.sub-menu a:hover { background: var(--pink-tint); color: var(--pink); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line);
  border-radius: 50%; background: #fff; cursor: pointer; transition: all .2s;
}
.icon-btn:hover { border-color: var(--pink); color: var(--pink); transform: translateY(-1px); }

.menu-toggle { display: none; }

/* Search overlay */
.search-panel {
  position: fixed; inset: 0; z-index: 300; display: none;
  background: rgba(34, 37, 42, .55); backdrop-filter: blur(4px);
}
.search-panel.is-open { display: block; }
.search-panel form {
  position: absolute; top: 0; left: 0; right: 0; background: #fff; padding: 40px 24px;
  display: flex; gap: 14px; max-width: 900px; margin: 0 auto; margin-top: 12vh;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.search-panel input {
  flex: 1; border: none; border-bottom: 2px solid var(--line-2); padding: 12px 4px; font-size: 20px; outline: none;
}
.search-panel input:focus { border-bottom-color: var(--pink); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 88% 8%, var(--pink-soft) 0%, rgba(253, 238, 244, 0) 62%),
    linear-gradient(180deg, #fff 0%, var(--pink-tint) 100%);
  padding: 84px 0 96px;
}
.hero .container {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; background: #fff;
  border: 1px solid #f6dbe6; color: var(--pink-dark);
  padding: 7px 15px; border-radius: 999px; font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); }
.hero h1 { font-size: clamp(32px, 4.6vw, 55px); line-height: 1.1; margin-bottom: 20px; }
.hero h1 .hl { color: var(--pink); position: relative; white-space: nowrap; }
.hero-sub { font-size: 18px; color: var(--muted); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 14px 34px; padding-top: 26px; border-top: 1px solid #f0dfe6; }
.hero-meta div { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.hero-meta svg { color: var(--pink); flex: none; }

.hero-media { position: relative; }
.hero-img {
  border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3; background: var(--pink-soft);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-card {
  position: absolute; bottom: -26px; left: -34px; background: #fff; border-radius: 16px;
  padding: 16px 20px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 14px;
  max-width: 244px;
}
.hero-card .n { font-size: 26px; font-weight: 800; color: var(--pink); line-height: 1; }
.hero-card .t { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.hero-chip {
  position: absolute; top: 22px; right: -18px; background: var(--ink); color: #fff;
  padding: 10px 18px; border-radius: 999px; font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 8px;
}
.hero-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }

/* =========================================================
   Info / About block (label + big copy)
   ========================================================= */
.info-block {
  display: grid; grid-template-columns: 260px 1fr; gap: 44px; align-items: start;
}
.info-label {
  font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink); padding-top: 8px;
}
.info-label span { display: block; width: 46px; height: 3px; background: var(--pink); margin-top: 12px; }
.info-body p { font-size: 17px; color: var(--ink-2); margin-bottom: 1.1em; }
.info-body p:last-child { margin-bottom: 0; }
.info-body strong { color: var(--ink); }

/* =========================================================
   Trust band
   ========================================================= */
.trust-band { background: var(--ink); color: #fff; padding: 54px 0; text-align: center; }
.trust-band h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 10px; }
.trust-band p { color: #b9bcc2; margin: 0 auto; max-width: 640px; }

/* =========================================================
   Stats
   ========================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { text-align: center; padding: 8px 16px; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 14%; bottom: 14%; width: 1px; background: var(--line);
}
.stat .num { font-size: 44px; font-weight: 800; color: var(--pink); line-height: 1.05; letter-spacing: -.03em; }
.stat .num small { font-size: 20px; font-weight: 700; }
.stat .lbl { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* =========================================================
   Capability rows (image + text alternating)
   ========================================================= */
.cap-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.cap-row + .cap-row { margin-top: 92px; }
.cap-row.rev .cap-media { order: 2; }
.cap-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.cap-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cap-text h3 { font-size: clamp(22px, 2.5vw, 30px); margin-bottom: 14px; }
.cap-text .cap-lead { font-size: 17px; color: var(--ink); font-weight: 600; margin-bottom: 14px; }
.cap-text p { color: var(--muted); }
.cap-list { margin-top: 20px; display: grid; gap: 10px; }
.cap-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.cap-list .tick { color: var(--pink); flex: none; margin-top: 3px; }

/* =========================================================
   Category cards
   ========================================================= */
.cat-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); background: #fff; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: block;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-card:hover .thumb img { transform: scale(1.06); }
.cat-card .body { padding: 24px 26px 26px; }
.cat-card h3 { font-size: 21px; margin-bottom: 8px; }
.cat-card p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.cat-card .count { font-size: 13px; color: var(--muted-2); font-weight: 600; }

/* =========================================================
   Product tiles
   ========================================================= */
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #f3d5e1; }
.product-card .thumb { aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-soft); position: relative; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .thumb img { transform: scale(1.07); }
.product-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card h3 { font-size: 17px; margin: 0; }
.product-card p { font-size: 14px; color: var(--muted); margin: 0; }
.product-card .foot { margin-top: auto; padding-top: 12px; }

/* =========================================================
   Process steps
   ========================================================= */
.process { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; position: relative; }
.process::before {
  content: ""; position: absolute; top: 34px; left: 6%; right: 6%; height: 2px;
  background: repeating-linear-gradient(to right, var(--line-2) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step .num {
  width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%;
  background: #fff; border: 2px solid var(--pink); color: var(--pink);
  display: grid; place-items: center; font-size: 19px; font-weight: 800;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.process-5 { grid-template-columns: repeat(5, 1fr); }
.step:hover .num { background: var(--pink); color: #fff; transform: translateY(-4px); }

/* full-width media strip (products page) */
.hero-strip { margin-bottom: 66px; }
.hero-strip img { aspect-ratio: 21 / 9; object-fit: cover; }
.step h4 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }

/* =========================================================
   Certifications
   ========================================================= */
.cert-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.cert {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 20px; text-align: center; transition: all .3s var(--ease);
}
.cert:hover { border-color: var(--pink); transform: translateY(-5px); box-shadow: var(--shadow); }
.cert .badge {
  width: 66px; height: 66px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--pink-tint); display: grid; place-items: center; color: var(--pink);
}
.cert h4 { font-size: 16px; margin-bottom: 6px; }
.cert p { font-size: 13px; color: var(--muted); margin: 0; }

/* =========================================================
   Blog cards
   ========================================================= */
.post-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  height: 100%;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card .thumb { aspect-ratio: 7 / 5; overflow: hidden; background: var(--bg-soft); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.06); }
.post-card .body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }

/* wide featured post */
.post-featured { flex-direction: row; align-items: stretch; }
.post-featured .thumb { flex: 0 0 46%; aspect-ratio: auto; }
.post-featured .thumb img { height: 100%; min-height: 330px; object-fit: cover; }
.post-featured .body { padding: 40px 42px; justify-content: center; }
.post-featured h3 { font-size: 25px; }
.post-date { font-size: 13px; color: var(--muted-2); font-weight: 600; margin-bottom: 10px; }
.post-card h3 { font-size: 18px; line-height: 1.4; margin-bottom: 12px; }
.post-card h3 a:hover { color: var(--pink); }
.post-card p { font-size: 14.5px; color: var(--muted); flex: 1; }
.post-card .foot { margin-top: 14px; }

/* =========================================================
   CTA banner
   ========================================================= */
.cta-banner {
  position: relative; overflow: hidden; border-radius: 26px; padding: 66px 56px;
  background: linear-gradient(120deg, var(--ink) 0%, #35383f 55%, #4a3038 100%);
  color: #fff; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta-banner::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle, rgba(232, 82, 143, .45), transparent 68%);
}
.cta-banner h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; }
.cta-banner p { color: #c6c8cd; margin: 0; max-width: 560px; }
.cta-banner .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }

/* =========================================================
   Contact / form
   ========================================================= */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px;
  transition: border-color .25s, box-shadow .25s;
}
.contact-item:hover { border-color: var(--pink); box-shadow: var(--shadow-sm); }
.contact-item .ic {
  width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--pink-tint);
  color: var(--pink); display: grid; place-items: center;
}
.contact-item .k { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; }
.contact-item .v { font-size: 16px; color: var(--ink); font-weight: 600; word-break: break-word; }
.contact-item .v a:hover { color: var(--pink); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line-2); border-radius: 10px;
  font: inherit; font-size: 15px; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(232, 82, 143, .12);
}
.field textarea { resize: vertical; min-height: 128px; }
.form-note { font-size: 13px; color: var(--muted-2); margin-top: 14px; }
.form-msg { display: none; margin-top: 16px; padding: 12px 16px; border-radius: 10px; font-size: 14px; }
.form-msg.ok { display: block; background: #eaf7ee; color: #1f7a3d; border: 1px solid #c6e8d1; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--ink); color: #a8abb2; padding: 74px 0 0; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 54px; }
.footer-grid h4 { color: #fff; font-size: 15px; letter-spacing: .04em; margin-bottom: 20px; }
.footer-about p { color: #a8abb2; margin-bottom: 20px; }
.footer-logo { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.footer-logo .logo-name { color: #fff; }
.footer-links li + li { margin-top: 11px; }
.footer-links a { color: #a8abb2; transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: var(--pink); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.footer-contact svg { flex: none; margin-top: 4px; color: var(--pink); }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px;
}
.footer-bottom .social a:hover { background: var(--pink); color: #fff; }

/* =========================================================
   Floating contact dock
   ========================================================= */
.dock {
  position: fixed; right: 18px; bottom: 22px; z-index: 90;
  display: flex; flex-direction: column; gap: 10px;
}
.dock a {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; box-shadow: 0 8px 22px rgba(34, 37, 42, .22);
  transition: transform .25s var(--ease), filter .25s;
}
.dock a:hover { transform: scale(1.09); filter: brightness(1.08); }
.dock .wa { background: #25d366; }
.dock .em { background: var(--pink); }
.dock .tp { background: var(--ink); }

#toTop {
  position: fixed; right: 18px; bottom: 190px; z-index: 90; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
  opacity: 0; visibility: hidden; transition: all .3s var(--ease);
}
#toTop.show { opacity: 1; visibility: visible; }
#toTop:hover { background: var(--pink); color: #fff; border-color: var(--pink); }

/* =========================================================
   Page hero (inner pages)
   ========================================================= */
.page-hero {
  background: linear-gradient(180deg, var(--pink-tint) 0%, #fff 100%);
  padding: 62px 0 66px; text-align: center;
}
.page-hero h1 { font-size: clamp(28px, 3.8vw, 44px); margin-bottom: 12px; }
.page-hero p { color: var(--muted); max-width: 660px; margin: 0 auto; }
.breadcrumb { font-size: 13.5px; color: var(--muted-2); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--pink); }
.breadcrumb span { margin: 0 8px; opacity: .6; }

/* =========================================================
   Reveal animation
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(26px); }
[data-reveal].is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal][data-delay="1"].is-in { transition-delay: .09s; }
[data-reveal][data-delay="2"].is-in { transition-delay: .18s; }
[data-reveal][data-delay="3"].is-in { transition-delay: .27s; }
[data-reveal][data-delay="4"].is-in { transition-delay: .36s; }
[data-reveal][data-delay="5"].is-in { transition-delay: .45s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .nav { display: none; }
  .nav.is-open {
    display: block; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto; padding: 14px 0;
  }
  .nav.is-open > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0 12px; }
  .nav.is-open > ul > li > a { padding: 13px 14px; border-radius: 8px; }
  .nav.is-open .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-left: 2px solid var(--pink-soft); border-radius: 0;
    margin-left: 14px; padding: 4px 0; min-width: 0;
  }
  .menu-toggle { display: grid; }
  .header-actions .btn { display: none; }
  .process { grid-template-columns: repeat(3, 1fr); gap: 30px 20px; }
  .process-5 { grid-template-columns: repeat(3, 1fr); }
  .post-featured { flex-direction: column; }
  .post-featured .thumb { flex: none; aspect-ratio: 16 / 10; }
  .post-featured .thumb img { min-height: 0; }
  .post-featured .body { padding: 26px 24px 28px; }
  .post-featured h3 { font-size: 20px; }
  .hero-strip { margin-bottom: 44px; }
  .hero-strip img { aspect-ratio: 16 / 10; }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero .container { grid-template-columns: 1fr; gap: 46px; }
  .hero-card { left: 12px; bottom: -20px; }
  .hero-chip { right: 12px; }
  .cap-row, .cap-row.rev .cap-media { grid-template-columns: 1fr; order: 0; }
  .cap-row { gap: 32px; }
  .cap-row + .cap-row { margin-top: 64px; }
  .info-block { grid-template-columns: 1fr; gap: 18px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .cta-banner { grid-template-columns: 1fr; padding: 46px 32px; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .topbar { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .stat + .stat::before { display: none; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process::before { display: none; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .g-2, .g-3, .g-4, .g-6 { grid-template-columns: 1fr; }
  .grid { gap: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 52px 0 72px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .cta-banner { padding: 38px 24px; }
  .form-card { padding: 26px 20px; }
  .dock { right: 12px; bottom: 14px; }
  #toTop { bottom: 172px; right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
