/*
Theme Name: TTP Long Bien
Theme URI: https://ttplongbien.example.com
Author: TTP LONG BIEN CO., LTD
Author URI: https://ttplongbien.example.com
Description: Custom WordPress theme for TTP LONG BIEN CO., LTD - son cong nghiep, chong an mon va lam moi may moc, nha xuong, tau thuyen. Bao gom trang chu hoan chinh voi hieu ung Before/After keo-tha, va cac trang noi bo (Gioi thieu, Dich vu, Du an, Lien he) da duoc dung khung san.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ttp-longbien
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* =========================================================================
   TTP LONG BIEN CO., LTD — Industrial Coating & Anti-Corrosion Services
   Main stylesheet (WordPress theme stylesheet, loaded via functions.php)
   Design system: Industrial B2B — steel, primer-yellow, safety-orange
   ========================================================================= */

/* -------------------- Fonts --------------------
   Tiêu đề (Heading):        Montserrat SemiBold / Bold
   Nội dung (Body):          Inter Regular / Medium
   Số liệu, CTA, hotline:    Montserrat Bold
   ------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Inter:wght@400;500;600;700&display=swap');

/* -------------------- Design Tokens -------------------- */
:root {
  /* Colors — bảng màu thương hiệu mới */
  --color-graphite: #1E293B;       /* Nền chính website — Deep Slate Blue */
  --color-steel: #0F172A;          /* Nền các khối nội dung — Midnight Slate */
  --color-steel-light: #334155;    /* elevated panel / hover surface */
  --color-steel-line: #475569;     /* hairline borders */
  --color-offwhite: #FFFFFF;       /* Chữ tiêu đề chính — Pure White */
  --color-offwhite-dim: #E2E8F0;   /* Chữ nội dung chi tiết — Cool Slate Light */
  --color-ink: #0F172A;            /* text on accent-colored buttons/bands */
  --color-safety-orange: #10B981;  /* Nút bấm hành động (CTA) — Emerald Green */
  --color-safety-orange-dark: #059669; /* CTA hover/active state — darker Emerald */
  --color-zinc-yellow: #0284C7;    /* Icon & Tiêu đề phụ (Hover) — Ocean Blue */

  /* Type
     --font-heading : Tiêu đề — Montserrat SemiBold (600) / Bold (700)
     --font-body    : Nội dung — Inter Regular (400) / Medium (500)
     --font-accent  : Số liệu, CTA, hotline — Montserrat Bold (700) */
  --font-heading: 'Montserrat', 'Arial', sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --font-accent: 'Montserrat', 'Arial', sans-serif;

  /* Layout */
  --container-max: 1240px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --nav-height: 76px;

  /* Motion */
  --ease-industrial: cubic-bezier(.2, .8, .2, 1);
  --dur-fast: 180ms;
  --dur-med: 420ms;
}

/* -------------------- Reset -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-graphite);
  color: var(--color-offwhite);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-zinc-yellow);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--color-zinc-yellow);
}

/* Visible keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--color-zinc-yellow);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* -------------------- Top Utility Bar -------------------- */
.topbar {
  background: #0d0f11;
  border-bottom: 1px solid var(--color-steel-line);
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--color-offwhite-dim);
}
.topbar a[href^="tel:"] {
  font-family: var(--font-accent);
  font-weight: 700;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-item { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar-item strong { color: var(--color-zinc-yellow); font-weight: 600; }
.topbar a:hover { color: var(--color-zinc-yellow); }

/* -------------------- Nav -------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(20, 23, 26, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-steel-line);
  height: var(--nav-height);
}
.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.brand-mark {
  width: 38px;
  height: 38px;
  background: var(--color-zinc-yellow);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink);
  font-weight: 700;
  font-size: 15px;
}
.brand-logo-img {
  height: 42px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}
.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--color-offwhite-dim);
  text-transform: uppercase;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-offwhite-dim);
  position: relative;
  padding: 6px 0;
  transition: color var(--dur-fast) var(--ease-industrial);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--color-zinc-yellow);
  transition: width var(--dur-fast) var(--ease-industrial);
}
.nav-links a:hover,
.nav-links a.active { color: var(--color-offwhite); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--color-safety-orange);
  color: var(--color-ink);
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast) var(--ease-industrial), transform var(--dur-fast);
}
.nav-cta:hover { background: var(--color-safety-orange-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-steel-line);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  color: var(--color-offwhite);
  align-items: center;
  justify-content: center;
}

/* -------------------- Hero: Video (16:9) -------------------- */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 92vh;
  min-height: 340px;
  overflow: hidden;
  background: var(--color-ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, rgba(20,23,26,0.65) 0%, rgba(20,23,26,0.15) 30%, rgba(20,23,26,0.35) 65%, rgba(20,23,26,0.92) 100%);
  pointer-events: none;
}

.hero-content {
  position: absolute;
  z-index: 6;
  left: 0; right: 0; bottom: 0;
  padding: 0 0 64px;
}
.hero-content .container {
  max-width: 820px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-zinc-yellow);
  background: rgba(20,23,26,0.55);
  border: 1px solid rgba(2,132,199,0.4);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
}
.hero-badge span.dot {
  width: 8px; height: 8px;
  background: var(--color-zinc-yellow);
  border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
.hero h1 {
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.04;
  color: var(--color-offwhite);
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--color-zinc-yellow);
}
.hero p.lead {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--color-offwhite-dim);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-sound-toggle {
  position: absolute;
  z-index: 6;
  bottom: 24px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-offwhite);
  background: rgba(20,23,26,0.55);
  border: 1px solid var(--color-steel-line);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-industrial);
}
.hero-sound-toggle:hover { border-color: var(--color-zinc-yellow); }
.hero-sound-toggle svg { width: 16px; height: 16px; }

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-accent);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 26px;
  border: none;
  border-radius: var(--radius-sm);
  transition: transform var(--dur-fast) var(--ease-industrial), background var(--dur-fast), box-shadow var(--dur-fast);
}
.btn-primary {
  background: var(--color-safety-orange);
  color: var(--color-ink);
}
.btn-primary:hover {
  background: var(--color-safety-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16,185,129,0.25);
}
.btn-outline {
  background: transparent;
  color: var(--color-offwhite);
  border: 1px solid var(--color-steel-line);
}
.btn-outline:hover {
  border-color: var(--color-offwhite);
  transform: translateY(-2px);
}

/* -------------------- Section Scaffolding -------------------- */
section { padding: 108px 0; position: relative; }
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  color: var(--color-offwhite);
  margin-bottom: 16px;
}
.section-head p {
  color: var(--color-offwhite-dim);
  font-size: 16px;
}
.section-alt { background: var(--color-steel); }

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease-industrial), transform 700ms var(--ease-industrial);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* -------------------- Services -------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--color-steel-line);
  border: 1px solid var(--color-steel-line);
}
.service-card {
  background: var(--color-graphite);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: background var(--dur-med) var(--ease-industrial);
}
.service-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--color-zinc-yellow);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--dur-med) var(--ease-industrial);
  z-index: 3;
}
.service-card:hover { background: var(--color-steel-light); }
.service-card:hover::before { transform: scaleY(1); }

/* Ảnh nền tĩnh, chìm phía sau nội dung của mỗi ô dịch vụ */
.service-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--service-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.32;
  transform: scale(1.04);
  transition: opacity var(--dur-med) var(--ease-industrial), transform var(--dur-med) var(--ease-industrial);
}
.service-card:hover .service-card-bg { opacity: 0.44; transform: scale(1.08); }
.service-card-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,17,19,0.86) 0%, rgba(15,17,19,0.72) 38%, rgba(15,17,19,0.9) 100%);
}
.service-card-content {
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 3px rgba(0,0,0,0.55);
}

.service-tag {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--color-zinc-yellow);
  display: block;
  margin-bottom: 18px;
}
.service-card h3 {
  font-size: 19px;
  color: var(--color-offwhite);
  margin-bottom: 14px;
  line-height: 1.3;
}
.service-card p {
  color: var(--color-offwhite-dim);
  font-size: 14.5px;
}
.service-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  color: var(--color-zinc-yellow);
}
.service-icon svg { width: 100%; height: 100%; }

/* -------------------- Process strip -------------------- */
.process-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-strip-5 { grid-template-columns: repeat(5, 1fr); }
.process-step {
  border-top: 2px solid var(--color-steel-line);
  padding-top: 20px;
  position: relative;
}
.process-step .num {
  font-family: var(--font-accent);
  font-size: 13px;
  color: var(--color-zinc-yellow);
  display: block;
  margin-bottom: 10px;
}
.process-step h4 {
  font-size: 15.5px;
  color: var(--color-offwhite);
  margin-bottom: 8px;
}
.process-step p {
  font-size: 13.5px;
  color: var(--color-offwhite-dim);
}

/* -------------------- Partners: auto-scrolling marquee -------------------- */
.partners-marquee {
  width: 100%;
  overflow: hidden;
  padding: 48px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}
.partners-track {
  display: flex;
  align-items: flex-start;
  gap: 72px;
  width: max-content;
  animation: partners-scroll 32s linear infinite;
}
.partners-marquee:hover .partners-track { animation-play-state: paused; }
@keyframes partners-scroll {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0%); }
}
.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.partner-logo {
  transition: all var(--dur-med) var(--ease-industrial);
  height: 84px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}
.partner-item:hover .partner-logo { transform: scale(1.05); }
.partner-name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--color-offwhite-dim);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .partners-track { animation: none; }
}

/* -------------------- Projects Gallery -------------------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
}
/* Ảnh nền: mặc định hiện ảnh "trước", di chuột vào crossfade sang ảnh "sau" (đã làm mới) */
.project-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: opacity 700ms var(--ease-industrial), transform 700ms var(--ease-industrial);
}
.project-bg-before {
  background-image: var(--project-bg-before);
  opacity: 1;
  z-index: 1;
}
.project-bg-after {
  background-image: var(--project-bg-after);
  opacity: 0;
  z-index: 0;
}
.project-card:hover .project-bg-before { opacity: 0; transform: scale(1.08); }
.project-card:hover .project-bg-after { opacity: 1; transform: scale(1.08); }
.project-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(20,23,26,0) 40%, rgba(20,23,26,0.92) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  pointer-events: none;
}
.project-overlay span {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-offwhite);
}
.project-overlay span strong { color: var(--color-zinc-yellow); display: block; font-size: 10.5px; margin-bottom: 4px; }

/* -------------------- Stats band -------------------- */
.stats-band {
  background: var(--color-zinc-yellow);
  padding: 56px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-accent);
  font-size: clamp(30px, 4vw, 46px);
  color: var(--color-ink);
  font-weight: 700;
  line-height: 1;
}
.stat-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(15,23,42,0.75);
  margin-top: 8px;
}

/* -------------------- Contact -------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info-list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 32px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-icon {
  width: 42px; height: 42px;
  border: 1px solid var(--color-steel-line);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-zinc-yellow);
  flex-shrink: 0;
}
.contact-info-icon svg { width: 20px; height: 20px; }
.contact-info-item h4 {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--color-offwhite-dim);
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
}
.contact-info-item p, .contact-info-item a { font-size: 15.5px; color: var(--color-offwhite); }
.contact-info-item a:hover { color: var(--color-zinc-yellow); }
.contact-info-item a[href^="tel:"] {
  font-family: var(--font-accent);
  font-weight: 700;
}

.map-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--color-steel);
  border: 1px dashed var(--color-steel-line);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--color-offwhite-dim);
  font-family: var(--font-body);
  font-size: 13px;
  text-align: center;
  padding: 24px;
}
.map-placeholder svg { width: 34px; height: 34px; color: var(--color-zinc-yellow); }

.map-embed {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-steel-line);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Contact form - markup ready for Contact Form 7 shortcode swap */
.contact-form {
  background: var(--color-steel);
  border: 1px solid var(--color-steel-line);
  border-radius: var(--radius-md);
  padding: 36px;
}
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-offwhite-dim);
}
.form-group input, .form-group textarea, .form-group select {
  background: var(--color-graphite);
  border: 1px solid var(--color-steel-line);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  color: var(--color-offwhite);
  font-size: 14.5px;
  transition: border-color var(--dur-fast);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--color-zinc-yellow);
  outline: none;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--color-offwhite-dim);
  opacity: 0.7;
  margin-top: 6px;
}
.contact-form button[type="submit"] { width: 100%; justify-content: center; margin-top: 4px; }

/* -------------------- Footer -------------------- */
.site-footer {
  background: #0d0f11;
  border-top: 1px solid var(--color-steel-line);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  color: var(--color-offwhite-dim);
  font-size: 14.5px;
  margin-top: 18px;
  max-width: 320px;
}
.footer-col h4 {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--color-offwhite-dim);
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-weight: 500;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--color-offwhite); font-size: 14.5px; transition: color var(--dur-fast); }
.footer-col a:hover { color: var(--color-zinc-yellow); }
.footer-legal {
  border-top: 1px solid var(--color-steel-line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-offwhite-dim);
}

/* -------------------- Floating Actions -------------------- */
.float-actions {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  transition: transform var(--dur-fast) var(--ease-industrial);
  position: relative;
}
.float-btn:hover { transform: scale(1.08); }
.float-btn svg, .float-btn img { width: 28px; height: 28px; }
.float-zalo { background: #0068ff; }
.float-phone { background: var(--color-safety-orange); }
.float-phone { animation: ring 2.4s ease-in-out infinite; }
@keyframes ring {
  0%, 100% { box-shadow: 0 6px 20px rgba(0,0,0,0.4), 0 0 0 0 rgba(16,185,129,0.5); }
  50% { box-shadow: 0 6px 20px rgba(0,0,0,0.4), 0 0 0 12px rgba(16,185,129,0); }
}
.float-top {
  background: var(--color-steel-light);
  border: 1px solid var(--color-steel-line);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--dur-fast), transform var(--dur-fast);
}
.float-top.is-visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.float-btn img { border-radius: 50%; }

/* -------------------- Minimal page layout (about/services/projects/contact stubs) -------------------- */
.page-hero {
  padding: 190px 0 70px;
  background: var(--color-steel);
  border-bottom: 1px solid var(--color-steel-line);
}
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 48px); }
.page-body { padding: 80px 0; }
.page-body p { color: var(--color-offwhite-dim); max-width: 640px; margin-bottom: 16px; }

/* -------------------- Page hero with background photo (About) -------------------- */
.page-hero-media {
  position: relative;
  overflow: hidden;
}
.page-hero-media .page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.page-hero-media .page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.82) 0%, rgba(15,23,42,0.6) 45%, rgba(15,23,42,0.92) 100%);
}
.page-hero-media .container { position: relative; z-index: 1; }
.page-hero-media h1, .page-hero-media .eyebrow { color: var(--color-offwhite); text-shadow: 0 1px 4px rgba(0,0,0,0.5); }

/* -------------------- Split section: text | image (About story) -------------------- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-media img {
  width: 100%;
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.split-text h2 { margin-bottom: 18px; }
.split-text p { color: var(--color-offwhite-dim); margin-bottom: 14px; }

/* -------------------- Info grid: capability boxes (About) -------------------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.info-card {
  background: var(--color-steel);
  border: 1px solid var(--color-steel-line);
  border-radius: var(--radius-md);
  padding: 32px 26px;
}
.info-card .service-icon { color: var(--color-zinc-yellow); }
.info-card h3 { font-size: 18px; margin: 16px 0 10px; color: var(--color-offwhite); }
.info-card p { color: var(--color-offwhite-dim); font-size: 14.5px; }

/* -------------------- Standards / certification badges (About) -------------------- */
.standards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.standard-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-steel);
  border: 1px solid var(--color-steel-line);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13.5px;
  color: var(--color-offwhite);
}
.standard-badge svg { width: 18px; height: 18px; color: var(--color-zinc-yellow); flex-shrink: 0; }

/* -------------------- Services: 3-column detailed cards -------------------- */
.service-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-column {
  background: var(--color-steel);
  border: 1px solid var(--color-steel-line);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}
.service-column .service-icon { color: var(--color-zinc-yellow); }
.service-column h3 { font-size: 21px; margin: 18px 0 12px; color: var(--color-offwhite); }
.service-column > p { color: var(--color-offwhite-dim); margin-bottom: 18px; }
.service-column ul { margin-bottom: 24px; }
.service-column ul li {
  color: var(--color-offwhite-dim);
  font-size: 14px;
  padding-left: 18px;
  position: relative;
  margin-bottom: 10px;
}
.service-column ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  background: var(--color-zinc-yellow);
  border-radius: 50%;
}
.service-column .btn { margin-top: auto; align-self: flex-start; }

/* -------------------- CTA banner (Services) -------------------- */
.cta-banner {
  background: linear-gradient(120deg, var(--color-safety-orange) 0%, var(--color-safety-orange-dark) 100%);
  border-radius: var(--radius-md);
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.cta-banner h3 {
  color: var(--color-ink);
  font-size: 24px;
  max-width: 560px;
}
.cta-banner .btn-primary {
  background: var(--color-ink);
  color: var(--color-offwhite);
  flex-shrink: 0;
}
.cta-banner .btn-primary:hover { background: #1e293b; }

/* -------------------- Projects: filter bar -------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-btn {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13.5px;
  color: var(--color-offwhite-dim);
  background: var(--color-steel);
  border: 1px solid var(--color-steel-line);
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-industrial);
}
.filter-btn:hover { color: var(--color-offwhite); border-color: var(--color-zinc-yellow); }
.filter-btn.is-active {
  background: var(--color-safety-orange);
  border-color: var(--color-safety-orange);
  color: var(--color-ink);
}
.project-card[hidden] { display: none; }
.project-overlay .project-meta {
  display: block;
  font-size: 11px;
  color: var(--color-offwhite-dim);
  text-transform: none;
  letter-spacing: 0.02em;
  margin-top: 4px;
}

/* -------------------- Projects: video showcase -------------------- */
.video-showcase {
  max-width: 860px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-steel-line);
  aspect-ratio: 16/9;
}
.video-showcase video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* -------------------- Contact: full-width map embed -------------------- */
.contact-map-full { width: 100%; }
.contact-map-full iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

/* -------------------- Responsive -------------------- */
@media (max-width: 980px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--color-graphite);
    border-bottom: 1px solid var(--color-steel-line);
    padding: 8px 20px 20px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-steel-line);
  }
  .nav-links a::after { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-strip { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .split-section { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .service-columns { grid-template-columns: 1fr; }
  .page-hero { padding: 140px 0 56px; }
}

@media (max-width: 640px) {
  .topbar .container { justify-content: center; text-align: center; }
  section { padding: 72px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .process-strip { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .hero { aspect-ratio: auto; min-height: 0; height: 78vh; max-height: 560px; }
  .hero-content { padding-bottom: 32px; }
  .hero-badge { margin-bottom: 14px; padding: 6px 12px; font-size: 11px; }
  .hero h1 { font-size: clamp(26px, 8vw, 34px); margin-bottom: 14px; }
  .hero p.lead { margin-bottom: 22px; }
  .hero-sound-toggle { bottom: 14px; right: 14px; padding: 6px 10px; }
  .page-hero { padding: 120px 0 40px; }
  .float-actions { right: 14px; bottom: 14px; }
  .float-btn { width: 50px; height: 50px; }
  .info-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
}
