/* ============================================
   Vina Hồng Phát — Landing page styles
   ============================================ */

:root {
  --red: #ed1c24;
  --red-dark: #c8161d;
  --red-soft: #fde8e9;
  --blue: #0a2c5b;
  --blue-2: #143d7a;
  --blue-soft: #eaf0fb;
  --ink: #0f172a;
  --ink-2: #1e293b;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #061c3d;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 1px 3px rgba(15, 23, 42, .07);
  --shadow-md: 0 8px 24px rgba(10, 44, 91, .08), 0 2px 6px rgba(10, 44, 91, .05);
  --shadow-lg: 0 24px 60px rgba(10, 44, 91, .15);
  --container: 1200px;
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Be Vietnam Pro", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html[lang="zh"] body { font-family: "Noto Sans SC", "Be Vietnam Pro", system-ui, sans-serif; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

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

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 20px rgba(237, 28, 36, .28);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(237, 28, 36, .35); }
.btn-ghost {
  background: transparent;
  color: var(--blue);
  border-color: rgba(10, 44, 91, .2);
}
.btn-ghost:hover { background: var(--blue-soft); border-color: var(--blue); }

/* ====== Header ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-logo { width: 56px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-line1 { font-weight: 800; color: var(--blue); letter-spacing: .3px; font-size: 26px; }
.brand-line2 { font-size: 13px; color: var(--muted); margin-top: 2px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-2);
  position: relative;
  transition: color var(--transition);
}
.site-nav a:not(.btn):hover { color: var(--red); }
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width var(--transition);
}
.site-nav a:not(.btn):hover::after { width: 100%; }

.lang-switcher {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.lang-switcher button {
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  border: 0;
  background: transparent;
  color: var(--muted);
  transition: var(--transition);
}
.lang-switcher button.active { background: var(--blue); color: #fff; }
.lang-switcher button:hover:not(.active) { background: var(--blue-soft); color: var(--blue); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ====== Hero ====== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
  background: linear-gradient(135deg, #061c3d 0%, #0a2c5b 50%, #143d7a 100%);
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(237, 28, 36, .35) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(20, 61, 122, .8) 0%, transparent 60%);
  pointer-events: none;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-copy { max-width: 640px; }
.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .05);
}
.hero-title {
  margin: 0 0 24px;
  font-size: clamp(36px, 5.2vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
}
.hero-title .accent {
  background: linear-gradient(90deg, #ff5560, #ed1c24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(255, 255, 255, .82);
  margin: 0 0 32px;
  max-width: 560px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.hero-actions .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.hero-actions .btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .15);
}
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats strong {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stats span { font-size: 13px; color: rgba(255, 255, 255, .7); text-transform: uppercase; letter-spacing: 1px; }

.hero-mark {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-photo {
  position: relative;
  width: 100%;
  max-width: 560px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .1);
  transform: rotate(-1deg);
  animation: float 6s ease-in-out infinite;
}
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .55) 100%);
  pointer-events: none;
}
.hero-photo-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  background: rgba(237, 28, 36, .92);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(237, 28, 36, .35);
}
.hero-photo-badge strong { font-size: 14px; font-weight: 700; }
.hero-photo-badge span { font-size: 11px; opacity: .9; margin-top: 2px; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ====== Sections ====== */
.section {
  padding: 100px 0;
  position: relative;
}
.section.about { background: var(--bg); }
.section.services { background: var(--bg-alt); }
.section.cargo { background: var(--bg); }
.section.crane { background: var(--bg-alt); }
.section.coverage { background: var(--bg); }
.section.capacity {
  background: linear-gradient(135deg, #061c3d 0%, #0a2c5b 100%);
  color: #fff;
}
.section.partners { background: var(--bg-alt); padding: 60px 0; }
.section.contact { background: var(--bg); }

.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--red);
  margin: 0 0 12px;
  text-transform: uppercase;
}
.section.capacity .kicker { color: #ff5560; }
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 16px;
}
.section-head .lead {
  font-size: 17px;
  color: var(--muted);
  margin: 0;
}
.section.capacity .section-head .lead { color: rgba(255, 255, 255, .7); }

/* ====== About ====== */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-text p { font-size: 16px; color: var(--ink-2); margin: 0 0 18px; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; }
.check-list li {
  position: relative;
  padding: 10px 0 10px 36px;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}
.check-list li:last-child { border-bottom: 0; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--red) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'><path d='M6.5 11.5l-3-3 1.4-1.4L6.5 8.7l4.6-4.6 1.4 1.4z'/></svg>") center/14px no-repeat;
}
.about-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 100%);
  color: #fff;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.about-card::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 28, 36, .4), transparent 70%);
}
.about-card-inner { position: relative; }
.quote {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 500;
  margin: 0 0 28px;
}
.quote-meta strong { display: block; }
.quote-meta span { font-size: 13px; color: rgba(255, 255, 255, .7); }

/* ====== Services ====== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--line);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-icon svg { width: 36px; height: 36px; }
.service-card:hover .service-icon { background: var(--red); color: #fff; }
.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--ink);
}
.service-card p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }

/* ====== Cargo ====== */
.cargo-grid {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cargo-grid li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  font-weight: 500;
  font-size: 16px;
  transition: var(--transition);
}
.cargo-grid li:hover {
  background: #fff;
  border-color: var(--red);
  transform: translateX(4px);
}
.cargo-num {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: #fff;
  color: var(--red);
  font-weight: 800;
  font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--red);
  flex-shrink: 0;
}

/* ====== Crane ====== */
.crane-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.crane-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.crane-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--red);
  flex-shrink: 0;
  line-height: 1;
}
.crane-item p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* ====== Coverage ====== */
.route-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.route-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid var(--line);
  transition: var(--transition);
  overflow: hidden;
}
.route-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue), var(--red));
  opacity: 0;
  transition: var(--transition);
}
.route-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.route-num {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 14px;
}
.route-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--blue);
}
.route-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* ====== Capacity ====== */
.capacity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cap-block {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 28px 24px;
  backdrop-filter: blur(10px);
}
.cap-icon { font-size: 32px; margin-bottom: 14px; }
.cap-block h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px;
  color: #fff;
}
.cap-block ul {
  list-style: none;
  padding: 0; margin: 0;
}
.cap-block ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: 14px;
  color: rgba(255, 255, 255, .8);
}
.cap-block ul li:last-child { border-bottom: 0; }
.cap-block ul li strong {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}
.cap-block p { font-size: 14px; color: rgba(255, 255, 255, .8); margin: 0; line-height: 1.6; }

/* ====== Partners ====== */
.partners-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  align-items: center;
}
.partners-strip span {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--muted);
  opacity: .6;
  transition: var(--transition);
  padding: 10px 20px;
  border: 1px dashed var(--line);
  border-radius: 8px;
}
.partners-strip span:hover { opacity: 1; color: var(--blue); border-color: var(--blue); }

/* ====== Contact ====== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 { font-size: clamp(28px, 3.2vw, 38px); margin: 0 0 14px; }
.contact-info > p { color: var(--muted); margin: 0 0 28px; font-size: 16px; }
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.contact-list li {
  display: flex;
  flex-direction: column;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.ci-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-list a { color: var(--blue); font-weight: 600; }
.contact-list a:hover { color: var(--red); }

.contact-channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.channel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  transition: var(--transition);
}
.channel:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.channel.zalo { border-left: 4px solid #0068ff; }
.channel.wechat { border-left: 4px solid #1aad19; }
.ch-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff; font-size: 16px;
}
.channel.zalo .ch-icon { background: #0068ff; }
.channel.wechat .ch-icon { background: #1aad19; }
.channel strong { display: block; font-size: 15px; }
.channel small { color: var(--muted); font-size: 12px; }

.contact-form {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-form h3 { margin: 0 0 24px; font-size: 22px; font-weight: 700; }
.contact-form label {
  display: block;
  margin-bottom: 16px;
}
.contact-form label > span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #fff;
  color: var(--ink);
  transition: var(--transition);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--red);
  box-shadow: 0 0 0 4px var(--red-soft);
}
.contact-form button[type="submit"] {
  width: 100%;
  margin-top: 8px;
}
.form-note {
  font-size: 13px;
  color: var(--muted);
  margin: 14px 0 0;
  text-align: center;
}

/* ====== Footer ====== */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, .8);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-logo { width: 48px; }
.footer-brand strong { color: #fff; display: block; font-size: 15px; }
.footer-brand span { font-size: 13px; color: rgba(255, 255, 255, .6); }
.footer-meta { font-size: 13px; color: rgba(255, 255, 255, .6); display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }

/* ====== Floating actions stack ====== */
.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 50;
}
.fa-btn {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.fa-btn:hover { transform: scale(1.08); }
.fa-btn svg { width: 28px; height: 28px; }
.fa-wechat { background: #1aad19; }
.fa-zalo   { background: #0068ff; }
.fa-zalo svg { width: 32px; height: 32px; }
.fa-phone  { background: var(--red); animation: pulse 2.4s ease-in-out infinite; }
.fa-phone svg { width: 22px; height: 22px; }

.fa-tip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, .92);
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.fa-tip::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  margin-top: -4px;
  border: 4px solid transparent;
  border-left-color: rgba(15, 23, 42, .92);
}
.fa-btn:hover .fa-tip { opacity: 1; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(237, 28, 36, .5), 0 0 0 0 rgba(237, 28, 36, .5); }
  50% { box-shadow: 0 8px 24px rgba(237, 28, 36, .5), 0 0 0 14px rgba(237, 28, 36, 0); }
}

/* ====== WeChat modal ====== */
.wechat-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .7);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .2s ease;
}
.wechat-modal[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.wechat-modal-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px 28px;
  max-width: 360px;
  width: calc(100% - 40px);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.wechat-modal-card h3 { margin: 0 0 8px; font-size: 20px; color: var(--blue); }
.wechat-modal-card > p { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.wechat-modal-close {
  position: absolute;
  top: 10px; right: 14px;
  width: 32px; height: 32px;
  background: transparent;
  border: 0;
  font-size: 24px;
  color: var(--muted);
  border-radius: 50%;
  transition: var(--transition);
}
.wechat-modal-close:hover { background: var(--bg-alt); color: var(--ink); }
.wechat-qr {
  width: 220px; height: 220px;
  margin: 0 auto 16px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-alt);
}
.wechat-qr img { width: 100%; height: 100%; object-fit: contain; }
.wechat-qr-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--muted);
  background: repeating-linear-gradient(45deg, #f1f5f9 0 12px, #e2e8f0 12px 24px);
}
.wechat-qr-placeholder span { font-weight: 700; font-size: 16px; }
.wechat-qr-placeholder small { font-size: 11px; }
.wechat-id { margin: 0; font-size: 14px; color: var(--ink-2); }
.wechat-id strong { color: var(--blue); }

/* ====== Reveal animations ====== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ====== Responsive ====== */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .crane-grid { grid-template-columns: repeat(2, 1fr); }
  .route-grid { grid-template-columns: repeat(2, 1fr); }
  .capacity-grid { grid-template-columns: repeat(2, 1fr); }
  .cargo-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mark { margin-top: 32px; }
  .hero-photo { max-width: 480px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    padding: 16px;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  .site-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav a:not(.btn) { padding: 12px 8px; border-radius: 8px; }
  .site-nav a:not(.btn):hover { background: var(--bg-alt); }
  .site-nav a:not(.btn)::after { display: none; }
  .lang-switcher { align-self: flex-start; }
  .nav-cta { margin-top: 4px; }

  .hero { padding: 60px 0 80px; }
  .hero-stats { gap: 24px; }
  .hero-stats strong { font-size: 26px; }

  .cargo-grid { grid-template-columns: 1fr; }
  .crane-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .route-grid { grid-template-columns: 1fr; }
  .capacity-grid { grid-template-columns: 1fr; }
  .contact-channels { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { align-items: flex-start; }
  .brand-line1 { font-size: 20px; }
  .brand-line2 { font-size: 11px; }
  .brand-logo { width: 44px; }

  .floating-actions { right: 14px; bottom: 14px; gap: 10px; }
  .fa-btn { width: 48px; height: 48px; }
  .fa-btn svg { width: 22px; height: 22px; }
  .fa-zalo svg { width: 26px; height: 26px; }
}

/* ====== Print / accessibility ====== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
