/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; max-width: 100%; }
body { font-family: 'Inter', sans-serif; color: #1F4E79; background: #fff; overflow-x: hidden; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ─── VARS ─── */
:root {
  --blue: #1F4E79;       /* teal — primary brand */
  --blue2: #0070C0;      /* mid teal */
  --blue3: #0070C0;      /* flow — secondary accent */
  --dark: #1F4E79;       /* ink — headings / dark surfaces */
  --orange: #0070C0;     /* valve — CTA accent */
  --orange-dark: #1F4E79;
  --white: #fff;
  --gray: #F2F2F2;       /* paper */
  --text: #1F4E79;
  --muted: #595959;      /* steel */
  --line: rgba(31,78,121,.12);
  --r: 10px;
  --sh: 0 8px 30px rgba(0,112,192,.12);
  --sh2: 0 20px 50px rgba(0,112,192,.18);
}

/* ─── CONTAINER ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

.mono { font-family: 'IBM Plex Mono', monospace; }

/* ═══════════════════════════════════
   NAVBAR
═══════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  padding: 18px 0; transition: all .35s ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(31,78,121,.08);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1rem; font-weight: 600; color: #fff;
  letter-spacing: .03em; text-transform: uppercase;
  transition: color .3s;
}
.logo img { display: block; height: 30px; width: auto; }
.logo strong { color: #4A90D9; font-weight: 700; }
.navbar.scrolled .logo { color: var(--dark); }
.navbar.scrolled .logo strong { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 500;
  transition: color .2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--orange); transform: scaleX(0); transition: transform .25s;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.navbar.scrolled .nav-links a { color: var(--muted); }
.navbar.scrolled .nav-links a:hover { color: var(--blue); }
.btn-nav {
  padding: 9px 22px; border-radius: 4px;
  background: var(--orange); border: 1px solid var(--orange);
  color: #fff !important; font-weight: 600 !important; font-size: .85rem !important;
  transition: all .25s !important;
}
.btn-nav::after { display: none !important; }
.btn-nav:hover { background: var(--orange-dark) !important; }
.navbar.scrolled .btn-nav {
  background: var(--orange) !important; border-color: var(--orange) !important;
  color: #fff !important;
}
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: #fff; transition: all .3s; }
.navbar.scrolled .burger span { background: var(--dark); }

.lang-switch {
  display: flex; align-items: center; gap: 2px; margin-left: 8px;
  border: 1px solid rgba(255,255,255,.25); border-radius: 6px; padding: 3px;
}
.lang-switch button {
  font-family: 'IBM Plex Mono', monospace; font-size: .72rem; font-weight: 700;
  letter-spacing: .03em; color: rgba(255,255,255,.7);
  background: none; border: none; border-radius: 4px; padding: 5px 9px;
  cursor: pointer; transition: all .2s;
}
.lang-switch button:hover { color: #fff; }
.lang-switch button.active { background: var(--orange); color: #fff; }
.navbar.scrolled .lang-switch { border-color: var(--line); }
.navbar.scrolled .lang-switch button { color: var(--muted); }
.navbar.scrolled .lang-switch button:hover { color: var(--blue); }
.navbar.scrolled .lang-switch button.active { background: var(--orange); color: #fff; }

/* ═══════════════════════════════════
   HERO
═══════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: radial-gradient(circle at 78% 28%, rgba(0,112,192,.22) 0%, transparent 55%), var(--dark);
  position: relative; overflow: hidden;
  display: flex; align-items: center; padding: 130px 0 90px;
}
#heroCanvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; opacity: .4;
}
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(74,144,217,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,144,217,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.hero-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; position: relative; z-index: 1;
}
/* left */
.hero-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(74,144,217,.08); border: 1px solid rgba(74,144,217,.3);
  border-radius: 4px;
  padding: 7px 16px; font-family: 'IBM Plex Mono', monospace;
  font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #D9E6F2;
  margin-bottom: 22px;
}
.hero-left h1 {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: clamp(2.6rem, 5.4vw, 4.3rem);
  font-weight: 800; line-height: 1.04; color: #fff; margin-bottom: 20px;
  letter-spacing: -.01em; text-transform: uppercase;
}
.hero-accent {
  background: linear-gradient(90deg, #0070C0, #4A90D9);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-left p {
  font-size: 1.05rem; color: rgba(255,255,255,.68); line-height: 1.72;
  margin-bottom: 36px; max-width: 460px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.btn-glow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: #fff;
  padding: 14px 30px; border-radius: 6px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  font-weight: 700; font-size: 1rem;
  box-shadow: 0 0 0 0 rgba(0,112,192,.4);
  animation: glowPulse 2.5s infinite;
  transition: background .25s, transform .25s;
}
.btn-glow:hover { background: var(--orange-dark); transform: translateY(-2px); }
@keyframes glowPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,112,192,.35); }
  50% { box-shadow: 0 0 0 10px rgba(0,112,192,0); }
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid rgba(255,255,255,.3); color: #fff;
  padding: 12px 24px; border-radius: 6px; font-weight: 600; font-size: 1rem;
  transition: all .25s;
}
.btn-ghost:hover { background: rgba(255,255,255,.07); border-color: #4A90D9; transform: translateY(-2px); }
/* counters */
.hero-counters { display: flex; gap: 0; }
.hc-item { text-align: center; padding: 0 28px; }
.hc-item:first-child { padding-left: 0; }
.hc-num { font-family: 'IBM Plex Mono', monospace; font-size: 2.2rem; font-weight: 700; color: #fff; }
.hc-plus { font-family: 'IBM Plex Mono', monospace; font-size: 1.3rem; font-weight: 700; color: #4A90D9; }
.hc-item p { font-size: .76rem; color: rgba(255,255,255,.5); margin-top: 2px; letter-spacing: .06em; text-transform: uppercase; }
.hc-sep { width: 1px; background: rgba(255,255,255,.15); margin: 4px 0; }

/* right — flow schematic scene */
.hero-right { display: flex; justify-content: center; align-items: center; }
.flow-scene { position: relative; width: 380px; height: 460px; }
.flow-svg { position: relative; }
.pipe-base {
  fill: none; stroke: rgba(255,255,255,.14); stroke-width: 10;
  stroke-linejoin: round; stroke-linecap: round;
}
.pipe-flow {
  fill: none; stroke: #0070C0; stroke-width: 2.5;
  stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 8 10;
  animation: flowDash 1.6s linear infinite;
  opacity: .9;
}
@keyframes flowDash { to { stroke-dashoffset: -36; } }
.pipe-node circle { fill: var(--dark); stroke: #0070C0; stroke-width: 2; }
.pipe-node.out circle { fill: var(--dark); stroke: var(--orange); stroke-width: 2; }
.drop-mark { fill: #4A90D9; }
.node-label {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .08em;
  fill: rgba(255,255,255,.55);
}
.valve-node circle { fill: var(--dark); stroke: var(--orange); stroke-width: 2; }
.valve-node path { stroke: var(--orange); stroke-width: 2; stroke-linecap: round; }
.valve-node { animation: valvePulse 3s ease-in-out infinite; transform-origin: center; }

.gauge {
  position: absolute; display: flex; flex-direction: column; gap: 2px;
  background: rgba(31,78,121,.7); border: 1px solid rgba(74,144,217,.3);
  border-radius: 4px; backdrop-filter: blur(6px);
  padding: 8px 14px; color: #fff;
  font-family: 'IBM Plex Mono', monospace;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.gauge-label { font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: #4A90D9; }
.gauge-val { font-size: .92rem; font-weight: 600; white-space: nowrap; }
.gauge1 { top: 248px; left: 0; animation: floatCard 4s ease-in-out infinite; }
.gauge2 { top: 150px; right: 30px; animation: floatCard 4.5s ease-in-out infinite .8s; }
.gauge3 { top: 28px; left: 110px; animation: floatCard 3.8s ease-in-out infinite 1.2s; }
@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes valvePulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.hero-scroll-line {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 1px; height: 70px;
  background: linear-gradient(to bottom, rgba(74,144,217,.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: 1; height: 70px; } 50% { opacity: .4; height: 40px; } }

/* ═══════════════════════════════════
   SECTIONS BASE
═══════════════════════════════════ */
.section { padding: 110px 0; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--blue); border: none; border-left: 3px solid var(--orange);
  padding: 3px 0 3px 12px; border-radius: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: clamp(1.7rem, 4vw, 3rem);
  font-weight: 900; line-height: 1.08; margin-bottom: 14px;
  letter-spacing: -.01em; text-transform: uppercase;
  overflow-wrap: break-word; word-break: break-word;
}
.section-sub {
  color: var(--muted); font-size: 1.05rem; line-height: 1.7;
  max-width: 540px; margin: 0 0 56px; text-align: left;
}
.text-blue { color: var(--blue); font-weight: 900; }


/* ═══════════════════════════════════
   ABOUT
═══════════════════════════════════ */
.about-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
@media(max-width:900px){ .about-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:540px){ .about-grid { grid-template-columns: 1fr; } }
.about-card {
  background: #fff; border-radius: var(--r); padding: 32px 24px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(31,78,121,.04);
  transition: all .3s ease;
  cursor: default;
  transform-style: preserve-3d;
}
.about-card:hover { box-shadow: var(--sh2); border-color: rgba(0,112,192,.25); }
.ac-icon-wrap {
  width: 56px; height: 56px; border-radius: 6px;
  background: var(--gray) !important; display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; position: relative;
  border: 1px solid var(--line);
}
.ac-icon-wrap::before, .ac-icon-wrap::after {
  content: ''; position: absolute; width: 6px; height: 6px;
  border-top: 1.5px solid var(--orange); border-left: 1.5px solid var(--orange);
}
.ac-icon-wrap::before { top: -1px; left: -1px; }
.ac-icon-wrap::after { bottom: -1px; right: -1px; transform: rotate(180deg); }
.about-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.about-card p { color: var(--muted); font-size: .9rem; line-height: 1.65; }

/* ═══════════════════════════════════
   PRODUCTS
═══════════════════════════════════ */
.products-section { background: var(--gray); overflow: hidden; }
.mesh-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 20% 50%, rgba(0,112,192,.06) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(0,112,192,.05) 0%, transparent 50%);
}
.products-section .container { position: relative; z-index: 1; }
.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
@media(max-width:900px){ .products-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:560px){ .products-grid { grid-template-columns: 1fr; } }

.prod-card {
  background: #fff; border-radius: var(--r); padding: 28px 24px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(31,78,121,.04);
  transition: all .3s ease;
  transform-style: preserve-3d;
  display: flex; flex-direction: column; gap: 10px;
}
.prod-card:hover { box-shadow: var(--sh2); transform: translateY(-6px) !important; border-color: rgba(0,112,192,.25); }
.prod-icon-bg {
  width: 80px; height: 80px; border-radius: 6px;
  background: var(--gray) !important;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px; position: relative;
  border: 1px solid var(--line);
}
.prod-icon-bg::before, .prod-icon-bg::after {
  content: ''; position: absolute; width: 7px; height: 7px;
  border-top: 1.5px solid var(--orange); border-left: 1.5px solid var(--orange);
}
.prod-icon-bg::before { top: -1px; left: -1px; }
.prod-icon-bg::after { bottom: -1px; right: -1px; transform: rotate(180deg); }
.prod-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .7rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue);
  background: var(--gray); padding: 3px 10px; border-radius: 3px;
  display: inline-block; width: fit-content;
}
.prod-card h3 { font-size: 1.05rem; font-weight: 700; }
.prod-card p { color: var(--muted); font-size: .88rem; line-height: 1.6; flex: 1; }
.prod-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .85rem; font-weight: 700; color: var(--blue);
  margin-top: 4px; transition: gap .2s, color .2s;
}
.prod-link:hover { gap: 10px; color: var(--orange); }

/* ═══════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════ */
.how-section {
  background: radial-gradient(circle at 70% 30%, rgba(0,112,192,.18) 0%, transparent 60%), var(--dark);
  position: relative; overflow: hidden;
}
.how-section .container { position: relative; z-index: 1; }
.steps-wrap { position: relative; }
.steps-line {
  position: absolute; top: 44px; left: 10%; right: 10%; height: 2px;
  background: rgba(255,255,255,.12);
}
.steps-line::after {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, #0070C0 0, #0070C0 8px, transparent 8px, transparent 18px);
  animation: flowDash 1.4s linear infinite;
}
.steps-row {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 20px;
}
@media(max-width:700px){ .steps-row { grid-template-columns: repeat(2,1fr); } .steps-line { display: none; } }
@media(max-width:480px){ .steps-row { grid-template-columns: 1fr; } }
.step-item { text-align: center; position: relative; }
.step-num-wrap { position: relative; display: inline-block; margin-bottom: 18px; }
.step-num-wrap svg circle:first-child { fill: rgba(255,255,255,.05); }
.step-num-wrap svg circle:nth-child(2) { fill: transparent; stroke: rgba(74,144,217,.4); }
.step-badge {
  position: absolute; top: -6px; right: -8px;
  background: var(--orange); color: #fff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .65rem; font-weight: 700;
  padding: 2px 6px; border-radius: 3px; letter-spacing: .04em;
}
.step-item h4 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.step-item p { font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.6; }

/* ═══════════════════════════════════
   PROJECTS
═══════════════════════════════════ */
.proj-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
}
@media(max-width:900px){ .proj-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:560px){ .proj-grid { grid-template-columns: 1fr; } }

.proj-card {
  border-radius: var(--r); overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(31,78,121,.04);
  transition: all .3s ease;
}
.proj-card:hover { box-shadow: var(--sh2); transform: translateY(-6px); }
.proj-visual {
  height: 160px;
  background: var(--dark) !important;
  background-image: radial-gradient(circle at 75% 20%, rgba(0,112,192,.35) 0%, transparent 55%) !important;
  display: flex; align-items: center; justify-content: center;
  transition: transform .4s;
}
.proj-card:hover .proj-visual { transform: scale(1.03); }
.proj-info { padding: 20px 20px; }
.proj-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.proj-info p { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.proj-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .7rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: var(--blue); background: var(--gray); padding: 3px 10px; border-radius: 3px;
}

/* ═══════════════════════════════════
   CERTS + PARTNERS
═══════════════════════════════════ */
.certs-partners { background: var(--gray); }
.cp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.cp-grid > .cp-block { min-width: 0; }
@media(max-width:900px){ .cp-grid { grid-template-columns: 1fr; gap: 60px; } }

.cert-list { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.cert-row {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border-radius: 6px; padding: 16px 18px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(31,78,121,.04);
  transition: all .25s;
}
.cert-row:hover { box-shadow: var(--sh); border-color: rgba(0,112,192,.25); transform: translateX(4px); }
.cert-icon-svg { flex-shrink: 0; }
.cert-row h4 { font-size: .95rem; font-weight: 700; margin-bottom: 2px; }
.cert-row p { font-size: .82rem; color: var(--muted); }

/* Marquee */
.marquee-wrap { overflow: hidden; padding: 8px 0; border-radius: 6px; }
.marquee-track {
  display: flex; gap: 12px; width: max-content;
  animation: marqueeRun 22s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marqueeRun { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.m-logo {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 4px; padding: 12px 20px;
  font-weight: 700; font-size: .9rem; color: var(--dark);
  white-space: nowrap; box-shadow: 0 2px 8px rgba(31,78,121,.04);
  transition: all .2s;
}
.m-logo:hover { border-color: var(--blue); box-shadow: var(--sh); }

/* ═══════════════════════════════════
   BRANCHES
═══════════════════════════════════ */
.branches-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 20px;
}
@media(max-width:900px){ .branches-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:520px){ .branches-grid { grid-template-columns: 1fr; } }

.branch-card {
  background: #fff; border-radius: var(--r); padding: 28px 22px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(31,78,121,.04);
  transition: all .3s ease;
  position: relative; overflow: hidden;
  transform-style: preserve-3d;
}
.branch-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--orange);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.branch-card:hover { box-shadow: var(--sh2); border-color: rgba(0,112,192,.25); }
.branch-card:hover::after { transform: scaleX(1); }
.branch-pin { margin-bottom: 14px; }
.branch-body h3 { font-size: 1.1rem; font-weight: 800; color: var(--dark); margin-bottom: 6px; }
.branch-body p { font-size: .85rem; color: var(--muted); margin-bottom: 14px; line-height: 1.5; }
.branch-tel {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .85rem; font-weight: 600; color: var(--blue);
  transition: color .2s;
}
.branch-tel:hover { color: var(--orange); }

/* ═══════════════════════════════════
   CONTACT
═══════════════════════════════════ */
.contact-section { background: #fff; position: relative; overflow: hidden; }
.contact-bg-shape {
  position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,112,192,.06) 0%, transparent 70%);
  pointer-events: none;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: start; }
@media(max-width:900px){ .contact-grid { grid-template-columns: 1fr; gap: 48px; } }

.contact-left p { color: var(--muted); font-size: .98rem; line-height: 1.7; margin-bottom: 28px; margin-top: 8px; }
.contact-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.cf-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .9rem; font-weight: 500; color: var(--text);
}
.contact-socials { display: flex; gap: 12px; }
.cs-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 6px;
  font-size: .88rem; font-weight: 700; color: #fff;
  transition: all .25s;
}
.cs-btn.tg { background: #229ed9; }
.cs-btn.ig { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4); }
.cs-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }

/* Form */
.form-card {
  background: #fff; border-radius: 14px; padding: 38px 36px;
  box-shadow: 0 20px 60px rgba(0,112,192,.1);
  border: 1px solid var(--line);
}
.form-card h3 { font-size: 1.35rem; font-weight: 800; color: var(--dark); margin-bottom: 24px; }
#contactForm { display: flex; flex-direction: column; gap: 16px; }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media(max-width:480px){ .fg-row { grid-template-columns: 1fr; } }
.fg { display: flex; flex-direction: column; gap: 6px; position: relative; }
.fg label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.fg input, .fg select, .fg textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid #D9D9D9; border-radius: 6px;
  font-size: .93rem; font-family: inherit; color: var(--text);
  outline: none; background: #F2F2F2; transition: all .2s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--blue); background: #fff;
  box-shadow: 0 0 0 3px rgba(0,112,192,.1);
}
.fg input.err, .fg select.err { border-color: #ef4444; }
.fg-err { font-size: .75rem; color: #ef4444; display: none; }
.fg.has-err .fg-err { display: block; }
.fg textarea { resize: vertical; min-height: 90px; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: 36px; }
.sel-arrow { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.btn-submit {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px; border: none; border-radius: 6px; cursor: pointer;
  font-family: inherit; font-size: 1rem; font-weight: 700; color: #fff;
  background: var(--orange);
  box-shadow: 0 8px 22px rgba(0,112,192,.3);
  transition: all .25s;
}
.btn-submit:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,112,192,.4); }
.form-note { font-size: .74rem; color: #8C8C8C; text-align: center; }
.form-success {
  text-align: center; padding: 28px 16px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0; border-radius: 10px;
}
.form-success h4 { font-size: 1.15rem; font-weight: 800; color: #166534; margin: 12px 0 6px; }
.form-success p { font-size: .88rem; color: #16a34a; }

/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */
.footer { background: var(--dark); padding: 64px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px;
}
@media(max-width:700px){ .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.f-brand .logo-white { color: #fff; margin-bottom: 14px; }
.f-brand p { font-size: .88rem; color: rgba(255,255,255,.4); line-height: 1.7; max-width: 300px; }
.f-col { display: flex; flex-direction: column; gap: 10px; }
.f-col h4 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.75); margin-bottom: 4px; letter-spacing: .08em; text-transform: uppercase;
}
.f-col a, .f-col span { font-size: .85rem; color: rgba(255,255,255,.42); transition: color .2s; }
.f-col a:hover { color: #4A90D9; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 0; text-align: center;
}
.footer-bottom p { font-family: 'IBM Plex Mono', monospace; font-size: .76rem; color: rgba(255,255,255,.25); }

/* ─── FAB ─── */
.fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  display: flex; align-items: center; gap: 10px;
  background: var(--orange);
  color: #fff; padding: 13px 24px; border-radius: 6px;
  font-weight: 700; font-size: .88rem;
  box-shadow: 0 8px 24px rgba(0,112,192,.35);
  opacity: 0; transform: translateY(80px);
  transition: all .4s cubic-bezier(.34,1.56,.64,1);
}
.fab.show { opacity: 1; transform: translateY(0); }
.fab:hover { background: var(--orange-dark); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,112,192,.45); }

/* ─── REVEAL ─── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible, .reveal-right.visible { opacity: 1; transform: none; }
[data-delay="80"]  { transition-delay: .08s; }
[data-delay="100"] { transition-delay: .1s; }
[data-delay="160"] { transition-delay: .16s; }
[data-delay="200"] { transition-delay: .2s; }
[data-delay="240"] { transition-delay: .24s; }
[data-delay="300"] { transition-delay: .3s; }
[data-delay="320"] { transition-delay: .32s; }
[data-delay="400"] { transition-delay: .4s; }

/* ─── MARQUEE REVERSE ─── */
.marquee-rev { animation-direction: reverse; }

/* ─── PARTNER STATS ─── */
.partner-stats {
  display: flex; align-items: center; gap: 0;
  background: #fff; border: 1px solid var(--line);
  border-radius: 8px; padding: 20px 24px; margin-top: 20px;
  box-shadow: 0 4px 16px rgba(31,78,121,.04);
}
.ps-item { flex: 1; text-align: center; }
.ps-num { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 1.4rem; font-weight: 700; color: var(--blue); }
.ps-item span:last-child { font-size: .78rem; color: var(--muted); margin-top: 2px; display: block; }
.ps-div { width: 1px; height: 36px; background: var(--line); flex-shrink: 0; }

/* ─── TILT CARD (JS applied) ─── */
.tilt-card { transform-style: preserve-3d; }
.tilt-card .tilt-inner { transform: translateZ(20px); }

/* ─── OPTIONAL PHOTO OVERRIDE (admin-uploaded photos replace the drawn icon) ─── */
.visual-slot { position: relative; }
.visual-photo { display: none; }
.visual-slot.has-photo .visual-icon { display: none; }
.visual-slot.has-photo .visual-photo {
  display: block; width: 100%; height: 100%;
  object-fit: cover; border-radius: inherit;
}
.proj-visual.has-photo { padding: 0; }
.branch-pin.has-photo {
  width: 48px; height: 48px; border-radius: 50%; overflow: hidden;
}

/* ─── MOBILE NAV ─── */
@media(max-width:768px){
  .nav-links {
    display: none; flex-direction: column; position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(160deg, #0d2a47 0%, #0a1e36 100%);
    padding: 90px 0 40px; gap: 0;
    z-index: 998; overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    color: rgba(255,255,255,.85); font-size: 1.25rem; font-weight: 600;
    padding: 16px 32px; border-bottom: 1px solid rgba(255,255,255,.07);
    letter-spacing: .01em; transition: background .18s, color .18s;
  }
  .nav-links a:first-child { border-top: 1px solid rgba(255,255,255,.07); }
  .nav-links a:hover { background: rgba(255,255,255,.06); color: #fff; }
  .nav-links a.btn-nav {
    margin: 20px 32px 0; border-radius: 8px; border: none;
    text-align: center; padding: 16px 24px; font-size: 1rem;
  }
  .burger { display: flex; z-index: 999; }
  .lang-switch { margin-left: 0; }
  .lang-switch button { padding: 4px 7px; font-size: .68rem; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { text-align: center; }
  .hero-left h1 { font-size: clamp(1.6rem, 7vw, 2.6rem); }
  .hero-chip { max-width: 100%; white-space: normal; text-align: center; justify-content: center; }
  .hero-actions { justify-content: center; flex-direction: column; }
  .hero-actions .btn-glow, .hero-actions .btn-ghost { width: 100%; justify-content: center; }
  .hero-counters { justify-content: center; }
  .hc-item { padding: 0 18px; }
  .section { padding: 80px 0; }
}
