/* =============================================================
   ARCOTEK — Construction & Fire Protection
   Light corporate design system · Navy + Red on light
   Brand: Navy #032040 / #092848 · Red #CA0B09 / #AC2725
   Fonts: Archivo (display) + Be Vietnam Pro (body) — full VN glyphs
   ============================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --c-navy: #032040;
  --c-navy-2: #092848;
  --c-red: #CA0B09;
  --c-red-600: #AC2725;
  --c-red-glow: rgba(202, 11, 9, 0.22);

  /* Surfaces & neutrals */
  --c-bg: #F7F7F5;           /* base background */
  --c-surface: #FFFFFF;      /* cards */
  --c-surface-2: #F1F2EF;    /* alt raised */
  --c-border: #E5E7EB;
  --c-border-2: #D7DBE0;

  /* Text */
  --c-heading: #032040;      /* navy headings */
  --c-text: #3F4753;         /* body */
  --c-muted: #6B7280;        /* muted */
  --c-white: #FFFFFF;
  --c-on-navy: #E7ECF3;      /* text on navy surfaces */

  /* Typography */
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Be Vietnam Pro", system-ui, sans-serif;

  --fs-hero: clamp(2.6rem, 7vw, 6rem);
  --fs-h1: clamp(2.1rem, 5vw, 3.8rem);
  --fs-h2: clamp(1.7rem, 3.6vw, 2.8rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.6rem);
  --fs-body: clamp(1rem, 1.05vw, 1.125rem);
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(4.5rem, 10vw, 9rem);
  --radius: 14px;
  --radius-lg: 22px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 0.6s;

  --shadow-sm: 0 2px 10px -4px rgba(3, 32, 64, 0.12);
  --shadow-card: 0 30px 60px -32px rgba(3, 32, 64, 0.28);
  --shadow-red: 0 16px 36px -12px var(--c-red-glow);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* ---------- Atmospheric base ---------- */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 480px at 85% -8%, rgba(3,32,64,0.06), transparent 60%),
    radial-gradient(620px 420px at -8% 12%, rgba(202,11,9,0.04), transparent 55%);
}

/* ---------- Layout primitives ---------- */
.container { width: min(100% - calc(var(--gutter) * 2), var(--container)); margin-inline: auto; position: relative; z-index: 2; }
.section { padding-block: var(--section-y); position: relative; z-index: 2; }
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2.2rem); }
.flow > * + * { margin-top: 1rem; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--c-heading); line-height: 1.06; font-weight: 800; letter-spacing: -0.02em; }
.display { font-size: var(--fs-hero); font-weight: 900; text-transform: uppercase; letter-spacing: -0.03em; color: var(--c-navy); }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: var(--c-text); max-width: 60ch; }
.text-red { color: var(--c-red); }
.muted { color: var(--c-muted); }

.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.28em; color: var(--c-red); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--c-red); display: inline-block; }

.section-head { max-width: 64ch; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head .h2 { margin-top: 0.8rem; }
.section-head .lead { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--c-red);
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.7rem; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  color: var(--c-white); background: var(--bg);
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
  box-shadow: var(--shadow-red);
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c-red-600); opacity: 0; transition: opacity var(--dur) var(--ease-out); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -14px var(--c-red-glow); }
.btn:hover::after { opacity: 1; }
.btn--ghost { --bg: transparent; box-shadow: none; border: 1px solid var(--c-border-2); color: var(--c-navy); }
.btn--ghost::after { background: var(--c-navy); }
.btn--ghost:hover { color: #fff; }
.btn--ghost:hover::after { opacity: 1; }
.btn--navy { --bg: var(--c-navy); box-shadow: var(--shadow-sm); }
.btn--navy::after { background: var(--c-navy-2); }
.btn .arrow { transition: transform var(--dur) var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background var(--dur) var(--ease-out), border-color var(--dur), box-shadow var(--dur); border-bottom: 1px solid transparent; }
.header.is-scrolled { background: rgba(247,247,245,0.82); backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--c-border); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 0.7rem; font-family: var(--font-display); font-weight: 900; letter-spacing: 0.02em; color: var(--c-navy); font-size: 1.2rem; }
.brand-logo { width: 46px; height: 38px; flex: none; object-fit: contain; }
.brand-logo-full { height: 56px; width: auto; flex: none; object-fit: contain; }
@media (max-width: 560px) { .brand-logo-full { height: 46px; } }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.6rem; letter-spacing: 0.16em; color: var(--c-muted); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-links a { padding: 0.55rem 0.95rem; border-radius: 999px; font-size: 0.95rem; font-weight: 500; color: var(--c-text); transition: color 0.3s, background 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--c-navy); background: var(--c-surface); box-shadow: var(--shadow-sm); }

.nav-actions { display: flex; align-items: center; gap: 0.85rem; }
.lang-toggle { display: flex; border: 1px solid var(--c-border-2); border-radius: 999px; overflow: hidden; background: var(--c-surface); }
.lang-toggle button { padding: 0.35rem 0.7rem; font-size: 0.78rem; font-weight: 700; font-family: var(--font-display); color: var(--c-muted); transition: 0.3s; }
.lang-toggle button.active { background: var(--c-navy); color: #fff; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--c-border-2); background: var(--c-surface); flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 20px; height: 2px; background: var(--c-navy); transition: 0.3s var(--ease-out); }
.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); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: 84px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.16; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--c-bg) 22%, rgba(247,247,245,0.5) 60%, transparent), linear-gradient(180deg, transparent 60%, var(--c-bg)); }
.hero-inner { position: relative; z-index: 2; max-width: 58rem; }
.hero .display { margin: 1.2rem 0; }
.hero .display .line { display: block; overflow: hidden; }
.hero .display .line > span { display: inline-block; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--c-border); padding-top: 2rem; }
.stat .num { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 4vw, 3rem); color: var(--c-navy); line-height: 1; }
.stat .num span { color: var(--c-red); }
.stat .label { font-size: var(--fs-sm); color: var(--c-muted); margin-top: 0.4rem; }

.scroll-hint { position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; font-size: var(--fs-xs); letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-muted); }
.scroll-hint .line { width: 1px; height: 46px; background: linear-gradient(var(--c-red), transparent); animation: scrollPulse 2s var(--ease-in-out) infinite; }
@keyframes scrollPulse { 0%,100%{ transform: scaleY(0.4); opacity:0.4;} 50%{ transform: scaleY(1); opacity:1;} }

/* ---------- Cards ---------- */
.card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: clamp(1.6rem, 2.5vw, 2.2rem); position: relative; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease-out), border-color var(--dur), box-shadow var(--dur); }
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--c-red); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out); }
.card:hover { transform: translateY(-6px); border-color: var(--c-border-2); box-shadow: var(--shadow-card); }
.card:hover::before { transform: scaleX(1); }
.card-icon { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; background: rgba(202,11,9,0.08); color: var(--c-red); margin-bottom: 1.3rem; }
.card-icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 0.6rem; }
.card .num-tag { position: absolute; top: 1.2rem; right: 1.5rem; font-family: var(--font-display); font-weight: 900; font-size: 2.4rem; color: var(--c-surface-2); }

.cards-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.cards-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-border); aspect-ratio: 4/3; box-shadow: var(--shadow-card); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media .badge { position: absolute; bottom: 1.2rem; left: 1.2rem; right: 1.2rem; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 1rem 1.2rem; display: flex; gap: 1rem; align-items: center; box-shadow: var(--shadow-sm); }
.feature-list { margin-top: 1.6rem; display: grid; gap: 1rem; }
.feature-list li { display: flex; gap: 0.85rem; align-items: flex-start; }
.feature-list .tick { flex: none; width: 26px; height: 26px; border-radius: 8px; background: rgba(202,11,9,0.08); color: var(--c-red); display: grid; place-items: center; margin-top: 2px; }
.feature-list .tick svg { width: 15px; height: 15px; }
.feature-list strong { color: var(--c-heading); display: block; font-family: var(--font-display); }

/* ---------- Process / steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); }
.step { position: relative; padding: 2rem 1.6rem 1.6rem; border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-surface); box-shadow: var(--shadow-sm); }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: -0.9rem; left: 1.4rem; font-family: var(--font-display); font-weight: 900; font-size: 1.4rem; color: var(--c-red); background: var(--c-bg); padding: 0 0.5rem; }
.step h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }

/* ---------- Projects gallery ---------- */
.proj-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.proj { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; border: 1px solid var(--c-border); box-shadow: var(--shadow-sm); }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.proj::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(3,32,64,0.92)); }
.proj-meta { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; z-index: 2; transform: translateY(8px); transition: transform var(--dur) var(--ease-out); }
.proj-meta .tag { font-size: var(--fs-xs); letter-spacing: 0.18em; text-transform: uppercase; color: #fff; background: var(--c-red); padding: 0.2rem 0.6rem; border-radius: 6px; font-weight: 700; font-family: var(--font-display); }
.proj-meta h3 { font-size: 1.25rem; margin-top: 0.6rem; color: #fff; }
.proj:hover img { transform: scale(1.07); }
.proj:hover .proj-meta { transform: translateY(0); }

/* ---------- Stats band (navy → red accent block) ---------- */
.band { background: linear-gradient(125deg, var(--c-navy) 35%, var(--c-navy-2) 70%, var(--c-red)); border-radius: var(--radius-lg); padding: clamp(2.5rem,5vw,4rem); position: relative; overflow: hidden; box-shadow: var(--shadow-card); }
.band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(620px 320px at 92% 8%, rgba(202,11,9,0.4), transparent 60%); }
.band .grid, .band .split { position: relative; }
.band h2, .band .h2 { color: #fff; }
.band .lead { color: rgba(231,236,243,0.9); }
.band .stat .num, .band .stat .num span { color: #fff; }
.band .stat .label { color: rgba(231,236,243,0.78); }

/* ---------- Testimonials ---------- */
.quote { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 2.2rem; box-shadow: var(--shadow-sm); }
.quote .mark { font-family: var(--font-display); font-size: 3.5rem; line-height: 0.5; color: var(--c-red); }
.quote p { margin: 1.2rem 0; color: var(--c-text); font-size: 1.08rem; }
.quote .who { display: flex; align-items: center; gap: 0.9rem; }
.quote .who .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--c-surface-2); border: 1px solid var(--c-border); }
.quote .who strong { color: var(--c-heading); font-family: var(--font-display); display: block; }

/* ---------- CTA ---------- */
.cta-final { text-align: center; }
.cta-final .h1 { max-width: 18ch; margin-inline: auto; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: var(--fs-sm); color: var(--c-navy); font-weight: 600; }
.field input, .field textarea, .field select { background: var(--c-bg); border: 1px solid var(--c-border-2); border-radius: var(--radius); padding: 0.9rem 1.1rem; color: var(--c-navy); font-family: var(--font-body); font-size: 1rem; transition: border-color 0.3s, box-shadow 0.3s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--c-red); box-shadow: 0 0 0 3px rgba(202,11,9,0.14); }
.field textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

/* ---------- Contact info ---------- */
.info-card { display: flex; gap: 1rem; padding: 1.4rem; border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-surface); box-shadow: var(--shadow-sm); }
.info-card .ic { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(3,32,64,0.06); color: var(--c-navy); }
.info-card .ic svg { width: 24px; height: 24px; }
.info-card strong { color: var(--c-heading); font-family: var(--font-display); display: block; margin-bottom: 0.2rem; }

/* ---------- Inner page hero ---------- */
.page-hero { padding-top: calc(84px + clamp(3rem,6vw,6rem)); padding-bottom: clamp(2.5rem,5vw,4rem); position: relative; }
.breadcrumb { display: flex; gap: 0.5rem; font-size: var(--fs-sm); color: var(--c-muted); margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--c-red); }

/* ---------- Blog ---------- */
.post { display: grid; gap: 1rem; border: 1px solid var(--c-border); border-radius: var(--radius-lg); overflow: hidden; background: var(--c-surface); box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease-out), border-color var(--dur), box-shadow var(--dur); }
.post:hover { transform: translateY(-5px); border-color: var(--c-border-2); box-shadow: var(--shadow-card); }
.post .thumb { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.post .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.post:hover .thumb img { transform: scale(1.06); }
.post .body { padding: 0 1.5rem 1.6rem; }
.post .date { font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-red); font-weight: 700; font-family: var(--font-display); }
.post h3 { font-size: 1.2rem; margin: 0.5rem 0; }

/* ---------- Footer (dark navy) ---------- */
.footer { background: var(--c-navy); color: var(--c-on-navy); padding-block: clamp(3rem,5vw,4.5rem) 2rem; position: relative; z-index: 2; }
.footer .brand { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer h4 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1.2rem; color: #fff; }
.footer p { color: rgba(231,236,243,0.7); }
.footer a { color: rgba(231,236,243,0.72); display: inline-block; padding: 0.25rem 0; transition: color 0.3s; }
.footer a:hover { color: #fff; }
.footer .text-red { color: #FF6B5E; }
.footer-bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(231,236,243,0.14); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: var(--fs-sm); color: rgba(231,236,243,0.6); }
.socials { display: flex; gap: 0.6rem; }
.socials a { width: 40px; height: 40px; border: 1px solid rgba(231,236,243,0.2); border-radius: 11px; display: grid; place-items: center; }
.socials a:hover { border-color: var(--c-red); color: #fff; background: var(--c-red); }

/* ---------- Footer logo chip (real logo on white) ---------- */
.brand--chip { background: #fff; padding: 0.7rem 1.1rem; border-radius: 14px; display: inline-flex; box-shadow: 0 10px 26px -12px rgba(0,0,0,0.5); }
.brand--chip .brand-logo-full { height: 50px; }

/* ---------- Floating Zalo button ---------- */
.zalo-fab { position: fixed; right: 1.5rem; bottom: 5.6rem; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #0068FF; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 0.82rem; letter-spacing: 0.02em; box-shadow: 0 14px 32px -10px rgba(0,104,255,0.55); transition: transform var(--dur) var(--ease-out); }
.zalo-fab:hover { transform: translateY(-3px); }
.zalo-fab svg, .zalo-fab img { width: 34px; height: 34px; }
@media (max-width: 560px) { .zalo-fab { bottom: 5.2rem; width: 52px; height: 52px; } }

/* ---------- Floating hotline ---------- */
.hotline-fab { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--c-red); color: #fff; box-shadow: 0 14px 32px -10px var(--c-red-glow); transition: transform var(--dur) var(--ease-out); }
.hotline-fab:hover { transform: translateY(-3px); }
@media (max-width: 560px) { .hotline-fab { width: 52px; height: 52px; } }
.hotline-fab .pulse { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.18); display: grid; place-items: center; position: relative; }
.hotline-fab .pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,0.5); animation: ring 1.8s var(--ease-out) infinite; }
@keyframes ring { 0%{ transform: scale(1); opacity:1;} 100%{ transform: scale(1.8); opacity:0;} }

/* ---------- Image placeholders (offline-safe; swap with real <img>) ---------- */
.ph { position: absolute; inset: 0; width: 100%; height: 100%; display: grid; place-items: center; color: var(--c-border-2);
  background: linear-gradient(135deg, var(--c-surface-2), #FFFFFF), repeating-linear-gradient(45deg, rgba(3,32,64,0.03) 0 14px, transparent 14px 28px); }
.ph::after { content: attr(data-ph); position: absolute; bottom: 0.9rem; left: 1rem; font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-muted); opacity: 0.7; }
.ph svg { width: 64px; height: 64px; opacity: 0.35; }
.proj .ph::after, .post .thumb .ph::after { color: var(--c-muted); }

/* ---------- Article (news detail) ---------- */
.article { max-width: 760px; margin-inline: auto; }
.article .meta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; color: var(--c-muted); font-size: var(--fs-sm); margin-bottom: 1.2rem; }
.article .meta .date { color: var(--c-red); font-weight: 700; font-family: var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; }
.article .cover { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-border); aspect-ratio: 16/8; position: relative; margin: 1.8rem 0 2.4rem; box-shadow: var(--shadow-card); }
.article .cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { color: var(--c-text); font-size: 1.1rem; line-height: 1.8; }
.prose > * + * { margin-top: 1.3rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2.4rem; }
.prose h3 { font-size: 1.25rem; margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.4rem; display: grid; gap: 0.5rem; }
.prose li { list-style: disc; }
.prose ol li { list-style: decimal; }
.prose a { color: var(--c-red); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius); margin-block: 1.6rem; }
.prose blockquote { border-left: 4px solid var(--c-red); padding: 0.6rem 0 0.6rem 1.4rem; color: var(--c-navy); font-size: 1.2rem; font-style: italic; background: var(--c-surface-2); border-radius: 0 var(--radius) var(--radius) 0; }
.prose strong { color: var(--c-heading); }
.article-foot { margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--c-border); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }

/* ---------- i18n ---------- */
[data-lang-hide] { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(247,247,245,0.98); backdrop-filter: blur(16px); padding: 1rem var(--gutter) 2rem; border-bottom: 1px solid var(--c-border); box-shadow: var(--shadow-card); transform: translateY(-120%); transition: transform 0.5s var(--ease-out); visibility: hidden; }
  .nav-links.open { transform: translateY(0); visibility: visible; }
  .nav-links a { padding: 1rem 0.5rem; border-radius: 0; border-bottom: 1px solid var(--c-border); }
  .nav-links a:hover, .nav-links a.active { box-shadow: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hotline-fab span.txt { display: none; }
}
