/* ── SHARED STYLES — INNOVATECH INDUSTRIAL ────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Exo+2:wght@300;400;500;600&display=swap');

[data-theme="light"] {
  --ink:     #eef1f8;
  --navy:    #dde3ef;
  --panel:   #ffffff;
  --surface: #ffffff;
  --rule:    rgba(12,27,56,0.1);
  --rule-l:  rgba(12,27,56,0.1);
  --muted:   #5f6e84;
  --body:    #374151;
  --text:    #0c1b38;
  --white:   #0c1b38;
}
[data-theme="light"] #nav { background: transparent; }
[data-theme="light"] #nav.solid {
  background: rgba(244,246,250,0.97);
  border-bottom-color: rgba(255,90,0,0.2);
}
[data-theme="light"] .mob {
  background: rgba(244,246,250,0.99);
  border-top-color: rgba(255,90,0,0.2);
}
[data-theme="light"] .mob a { color: var(--text); }
[data-theme="light"] ::-webkit-scrollbar-track { background: var(--ink); }
[data-theme="light"] #lb { background: rgba(244,246,250,0.97); }
[data-theme="light"] .em-wrap { background: #1a2332; }
[data-theme="light"] #sp-toast { background: #fff; }

.theme-btn {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--rule);
  border-radius: 50%; cursor: pointer;
  color: var(--body); transition: color 0.25s, border-color 0.25s;
  flex-shrink: 0;
}
.theme-btn:hover { color: var(--orange); border-color: rgba(255,90,0,0.4); }
.theme-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; }
[data-theme="dark"]  .icon-sun  { display: none; }
[data-theme="light"] .icon-moon { display: none; }

:root {
  --ink:      #07111f;
  --navy:     #0c1b38;
  --panel:    #101e35;
  --surface:  #141f30;
  --light:    #edf0f6;
  --rule:     rgba(255,255,255,0.07);
  --rule-l:   rgba(13,27,61,0.1);
  --orange:   #FF5A00;
  --orange-d: #d94d00;
  --muted:    #5d6b82;
  --body:     #97a3b4;
  --text:     #dde3ec;
  --white:    #f0f3f7;
  --fh: 'Rajdhani', sans-serif;
  --fb: 'Exo 2', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--fb);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--orange); }

/* ── reveal ─── */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rv.in { opacity: 1; transform: none; }
.d1{transition-delay:.08s}.d2{transition-delay:.16s}.d3{transition-delay:.24s}
.d4{transition-delay:.32s}.d5{transition-delay:.40s}.d6{transition-delay:.48s}

/* ── label ─── */
.label {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--fh); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--orange);
}
.label::before {
  content: ''; display: block; width: 24px; height: 1px;
  background: var(--orange); flex-shrink: 0;
}

/* ── NAV ─── */
#nav {
  position: fixed; inset-block-start: 0; inset-inline: 0;
  z-index: 900; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  background: rgba(7, 17, 31, 0.97);
  border-bottom: 1px solid rgba(255,90,0,0.12);
  backdrop-filter: blur(20px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-icon { width: 34px; height: 34px; flex-shrink: 0; border-radius: 3px; }
.brand-text { display: flex; flex-direction: column; }
.brand-mark { font-family: var(--fh); font-weight: 700; font-size: 1.12rem; letter-spacing: 0.06em; color: var(--white); line-height: 1; }
.brand-mark em { color: var(--orange); font-style: normal; }
.brand-sub { font-family: var(--fh); font-size: 0.5rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
[data-theme="light"] .brand-mark { color: #0c1b38; }
[data-theme="light"] .nav-links a { color: #374151; }
[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a.active { color: #0c1b38; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-family: var(--fh); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--body); transition: color 0.25s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-btn { font-family: var(--fh); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; padding: 8px 20px; border: 1px solid rgba(255,90,0,0.5); color: var(--orange); border-radius: 2px; background: transparent; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.nav-btn:hover { background: var(--orange); color: var(--white); border-color: var(--orange); }
.burger { display: none; flex-direction: column; gap: 5px; padding: 6px; background: none; border: none; }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--text); transition: 0.3s ease; }
.burger.open span:first-child  { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:last-child   { transform: translateY(-6.5px) rotate(-45deg); }
.mob { display: none; position: fixed; top: 64px; inset-inline: 0; z-index: 890; flex-direction: column; background: rgba(7,17,31,0.98); backdrop-filter: blur(24px); border-top: 1px solid rgba(255,90,0,0.15); padding: 32px 40px 48px; }
.mob.open { display: flex; }
.mob a { font-family: var(--fh); font-weight: 700; font-size: 1.8rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--text); padding: 14px 0; border-bottom: 1px solid var(--rule); transition: color 0.25s; }
.mob a:last-child { border-bottom: none; }
.mob a:hover { color: var(--orange); }

/* ── FOOTER ─── */
#footer { background: var(--ink); border-top: 1px solid var(--rule); padding: 56px 40px 0; }
.ft-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 64px; padding-bottom: 48px; border-bottom: 1px solid var(--rule); }
.ft-logo { font-family: var(--fh); font-weight: 700; font-size: 1.3rem; letter-spacing: 0.04em; color: var(--white); margin-bottom: 16px; }
.ft-logo em { color: var(--orange); font-style: normal; }
.ft-desc { font-family: var(--fb); font-size: 0.85rem; font-weight: 300; color: var(--muted); line-height: 1.75; max-width: 280px; }
.ft-col h6 { font-family: var(--fh); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--orange); margin-bottom: 20px; }
.ft-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ft-col ul a { font-family: var(--fb); font-size: 0.85rem; color: var(--muted); transition: color 0.25s; }
.ft-col ul a:hover { color: var(--text); }
.ft-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0 24px; }
.ft-copy { font-family: var(--fb); font-size: 0.78rem; color: rgba(93,107,130,0.5); }
.ft-byline { font-family: var(--fh); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(93,107,130,0.3); }
.ft-bar { height: 2px; background: linear-gradient(90deg, var(--orange), rgba(255,90,0,0)); }

/* ── BUTTONS ─── */
.btn-o { display: inline-flex; align-items: center; gap: 8px; font-family: var(--fh); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; padding: 12px 28px; background: var(--orange); color: var(--white); border: none; border-radius: 2px; transition: background 0.25s, transform 0.2s; }
.btn-o:hover { background: var(--orange-d); transform: translateY(-2px); }
.btn-o svg { stroke: currentColor; fill: none; width: 16px; flex-shrink: 0; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; font-family: var(--fh); font-weight: 600; font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--body); border-bottom: 1px solid transparent; padding-bottom: 2px; transition: color 0.25s, border-color 0.25s; }
.btn-ghost:hover { color: var(--white); border-color: rgba(255,255,255,0.3); }
[data-theme="light"] .btn-ghost:hover { color: #0c1b38; border-color: rgba(12,27,56,0.35); }
[data-theme="light"] .ft-copy  { color: rgba(12,27,56,0.45); }
[data-theme="light"] .ft-byline { color: rgba(12,27,56,0.3); }
[data-theme="light"] .ft-desc  { color: #5f6e84; }
[data-theme="light"] .ft-col ul a { color: #5f6e84; }
[data-theme="light"] .ft-col ul a:hover { color: #0c1b38; }
[data-theme="light"] .ft-grid { border-color: rgba(12,27,56,0.1); }
[data-theme="light"] .section-deep { background: #e2e8f4; border-color: rgba(12,27,56,0.08); }
[data-theme="light"] .section-dark { background: #eaeef8; }
[data-theme="light"] .section-surf { background: #fff; box-shadow: inset 0 -1px 0 rgba(12,27,56,0.07); }
.btn-ghost svg { stroke: currentColor; fill: none; width: 16px; }

/* ── PAGE HERO (sub-páginas) ─── */
.page-hero {
  position: relative; height: 60vh; min-height: 440px;
  display: flex; align-items: flex-end;
  overflow: hidden; margin-top: 64px;
}
.page-hero-img { position: absolute; inset: 0; }
.page-hero-img img { filter: brightness(0.35) saturate(0.75); }
.page-hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(7,17,31,0.95) 0%, rgba(7,17,31,0.5) 55%, rgba(7,17,31,0.1) 100%);
}
.page-hero-content { position: relative; z-index: 2; padding: 0 40px 64px; }
.page-hero-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--fh); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 24px;
  transition: color 0.25s;
}
.page-hero-back:hover { color: var(--orange); }
.page-hero-back svg { stroke: currentColor; fill: none; width: 14px; }
.page-hero-title { font-family: var(--fh); font-weight: 700; font-size: clamp(2.5rem, 6vw, 5rem); line-height: 0.95; letter-spacing: -0.02em; }
.page-hero-title em { color: var(--orange); font-style: normal; }
.page-hero-sub { font-family: var(--fb); font-size: 1rem; font-weight: 300; color: var(--body); line-height: 1.7; max-width: 480px; margin-top: 20px; }

/* ── SECTION WRAPPER ─── */
.section-dark  { background: var(--navy); padding: 80px 40px; }
.section-deep  { background: var(--ink);  padding: 80px 40px; border-top: 1px solid var(--rule); }
.section-surf  { background: var(--surface); padding: 80px 40px; }
.section-light { background: var(--light); padding: 80px 40px; border-top: 3px solid var(--orange); }

/* ── RESPONSIVE SHARED ─── */
@media (max-width: 768px) {
  #nav { padding: 0 20px; }
  .nav-links, .nav-btn { display: none; }
  .burger { display: flex; }
  .mob { padding: 24px 20px 40px; }
  .ft-grid { grid-template-columns: 1fr; gap: 36px; padding: 0 0 40px; }
  .ft-bottom { flex-direction: column; gap: 4px; text-align: center; }
  .page-hero-content { padding: 0 20px 48px; }
  .section-dark, .section-deep, .section-surf, .section-light { padding: 56px 20px; }
}

/* ── WA CHAT WIDGET ─── */
#wa-widget {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 850;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.wa-toggle {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 10px;
  background: #25D366; border: none; border-radius: 100px;
  color: #fff; cursor: pointer;
  box-shadow: 0 4px 24px rgba(37,211,102,0.42), 0 2px 8px rgba(0,0,0,0.18);
  transition: transform 0.25s, box-shadow 0.25s;
  animation: wa-enter 0.55s cubic-bezier(0.22,0.61,0.36,1) 1.3s both;
}
.wa-toggle:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(37,211,102,0.55); }
.wa-tgl-ico { width:36px; height:36px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.wa-tgl-ico svg { width:26px; height:26px; }
.wa-tgl-meta { display:flex; flex-direction:column; align-items:flex-start; }
.wa-tgl-name { font-family:var(--fh); font-weight:700; font-size:0.8rem; letter-spacing:0.06em; line-height:1; }
.wa-tgl-sub { display:flex; align-items:center; gap:5px; font-family:var(--fb); font-size:0.68rem; opacity:0.85; margin-top:3px; }
.wa-dot-sm { width:7px; height:7px; background:#fff; border-radius:50%; display:inline-block; animation: dot-blink 2s ease-in-out infinite; }
.wa-dot-g  { width:7px; height:7px; background:#44d168; border-radius:50%; display:inline-block; animation: dot-blink 2s ease-in-out infinite; }
@keyframes dot-blink { 0%,100%{opacity:1} 50%{opacity:0.35} }

.wa-card {
  width: 320px; border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 70px rgba(0,0,0,0.42), 0 6px 20px rgba(0,0,0,0.22);
  display: none; transform-origin: bottom right;
}
.wa-card.open { display:block; animation: card-in 0.32s cubic-bezier(0.22,0.61,0.36,1); }
@keyframes card-in { from{transform:scale(0.85) translateY(14px);opacity:0} to{transform:none;opacity:1} }

.wa-card-head {
  background: #075E54;
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
}
.wa-avatar {
  width:42px; height:42px; border-radius:50%;
  background:rgba(255,255,255,0.15);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--fh); font-weight:700; font-size:1rem; color:#fff; flex-shrink:0;
}
.wa-info { flex:1; }
.wa-name { font-family:var(--fh); font-weight:700; font-size:0.92rem; color:#fff; letter-spacing:0.02em; }
.wa-status-ln { display:flex; align-items:center; gap:6px; font-family:var(--fb); font-size:0.72rem; color:rgba(255,255,255,0.8); margin-top:3px; }
.wa-xbtn {
  background:none; border:none; cursor:pointer;
  color:rgba(255,255,255,0.6); padding:5px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  transition:background 0.2s,color 0.2s; flex-shrink:0;
}
.wa-xbtn:hover { background:rgba(255,255,255,0.12); color:#fff; }
.wa-xbtn svg { width:14px; height:14px; }

.wa-chat-body { background:#e5ddd5; padding:20px 14px 14px; min-height:100px; }
.wa-bubble { border-radius:0 8px 8px 8px; box-shadow:0 1px 3px rgba(0,0,0,0.12); display:inline-block; }
.wa-bbl-typing { background:#fff; padding:12px 16px; display:flex; align-items:center; gap:5px; }
.wa-bbl-typing span { width:8px; height:8px; background:#b5b5b5; border-radius:50%; animation:typing-dot 1.2s ease-in-out infinite; }
.wa-bbl-typing span:nth-child(2){animation-delay:.2s}
.wa-bbl-typing span:nth-child(3){animation-delay:.4s}
@keyframes typing-dot { 0%,80%,100%{transform:translateY(0)} 40%{transform:translateY(-6px)} }
.wa-bbl-msg { background:#fff; padding:10px 14px; font-family:var(--fb); font-size:0.88rem; color:#111; line-height:1.55; }
.wa-ts { font-family:var(--fb); font-size:0.66rem; color:rgba(0,0,0,0.38); margin-top:4px; padding-left:2px; }

.wa-card-foot { background:#f9f9f9; padding:12px 14px 16px; border-top:1px solid rgba(0,0,0,0.06); }
.wa-foot-lbl { font-family:var(--fb); font-size:0.72rem; color:rgba(0,0,0,0.42); margin-bottom:10px; }
.wa-chips { display:flex; flex-direction:column; gap:7px; }
.wa-chip {
  display:block; padding:9px 14px;
  background:#fff; border:1.5px solid rgba(37,211,102,0.45); border-radius:8px;
  font-family:var(--fh); font-weight:700; font-size:0.72rem; letter-spacing:0.04em;
  color:#075E54; text-decoration:none;
  transition:background 0.2s,color 0.2s,border-color 0.2s;
}
.wa-chip:hover { background:#25D366; color:#fff; border-color:#25D366; }

@keyframes wa-enter { from{transform:scale(0.5) translateY(16px);opacity:0} to{transform:none;opacity:1} }

@media (max-width: 768px) {
  #wa-widget { bottom:20px; right:16px; }
  .wa-toggle {
    padding:11px; border-radius:50%;
    animation: wa-enter 0.55s cubic-bezier(0.22,0.61,0.36,1) 1.3s both,
               wa-pulse-m 2.4s ease-out 1.9s infinite;
  }
  .wa-tgl-meta { display:none; }
  .wa-tgl-ico { width:42px; height:42px; }
  .wa-tgl-ico svg { width:30px; height:30px; }
  .wa-card { width:calc(100vw - 32px); }
}
@keyframes wa-pulse-m {
  0%  { box-shadow:0 0 0 0 rgba(37,211,102,0.6),0 4px 20px rgba(37,211,102,0.4); }
  65% { box-shadow:0 0 0 22px rgba(37,211,102,0),0 4px 20px rgba(37,211,102,0.4); }
  100%{ box-shadow:0 0 0 0 rgba(37,211,102,0),0 4px 20px rgba(37,211,102,0.4); }
}

/* ── EXIT MODAL ─── */
#exit-modal {
  display:none; position:fixed; inset:0; z-index:9500;
  background:rgba(7,17,31,0.93); backdrop-filter:blur(18px);
  align-items:center; justify-content:center; padding:20px;
}
#exit-modal.open { display:flex; }
.em-wrap {
  background:var(--navy); border:1px solid rgba(255,90,0,0.2);
  border-radius:10px; max-width:460px; width:100%;
  padding:52px 44px 44px; position:relative; text-align:center;
  animation: em-in 0.38s cubic-bezier(0.22,0.61,0.36,1);
}
@keyframes em-in { from{transform:scale(0.88) translateY(28px);opacity:0} to{transform:none;opacity:1} }
.em-close {
  position:absolute; top:16px; right:18px;
  background:none; border:none; cursor:pointer;
  color:rgba(255,255,255,0.25); padding:6px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  transition:background 0.2s,color 0.2s;
}
.em-close:hover { background:rgba(255,255,255,0.07); color:rgba(255,255,255,0.7); }
.em-close svg { width:14px; height:14px; }
.em-top-label {
  display:inline-block; font-family:var(--fh); font-size:0.62rem; font-weight:700;
  letter-spacing:0.22em; text-transform:uppercase;
  color:var(--orange); border:1px solid rgba(255,90,0,0.3);
  padding:5px 14px; border-radius:2px; margin-bottom:24px;
}
.em-title {
  font-family:var(--fh); font-weight:700;
  font-size:clamp(1.9rem,4.5vw,2.9rem);
  line-height:1.08; letter-spacing:-0.01em;
  color:var(--white); margin-bottom:16px;
}
.em-body {
  font-family:var(--fb); font-size:0.95rem; font-weight:300;
  color:var(--body); line-height:1.75; margin-bottom:36px;
}
.em-body strong { color:var(--text); font-weight:500; }
.em-wa-btn {
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  width:100%; padding:15px 28px;
  background:#25D366; color:#fff; border-radius:6px;
  font-family:var(--fh); font-weight:700; font-size:0.85rem;
  letter-spacing:0.12em; text-transform:uppercase; text-decoration:none;
  transition:background 0.2s,transform 0.2s; margin-bottom:12px;
}
.em-wa-btn:hover { background:#1da851; transform:translateY(-1px); }
.em-wa-btn svg { width:20px; height:20px; fill:#fff; flex-shrink:0; }
.em-back {
  display:block; width:100%; padding:12px;
  background:none; border:1px solid rgba(255,255,255,0.1); border-radius:6px;
  font-family:var(--fh); font-weight:600; font-size:0.76rem;
  letter-spacing:0.14em; text-transform:uppercase;
  color:rgba(255,255,255,0.28); cursor:pointer;
  transition:border-color 0.2s,color 0.2s; margin-bottom:32px;
}
.em-back:hover { border-color:rgba(255,255,255,0.25); color:rgba(255,255,255,0.55); }
.em-stats-row { display:flex; justify-content:center; gap:32px; }
.em-stat { display:flex; flex-direction:column; align-items:center; gap:4px; }
.em-stat span { font-family:var(--fh); font-weight:700; font-size:1.6rem; color:var(--orange); line-height:1; letter-spacing:-0.02em; }
.em-stat span sup { font-size:0.7rem; }
.em-stat p { font-family:var(--fh); font-size:0.6rem; font-weight:700; letter-spacing:0.18em; text-transform:uppercase; color:var(--muted); }

/* ── SOCIAL PROOF TOAST ─── */
#sp-toast {
  position:fixed; bottom:32px; left:32px; z-index:800;
  display:flex; align-items:flex-start; gap:12px;
  background:var(--surface); border:1px solid var(--rule);
  border-left:3px solid var(--orange); border-radius:4px;
  padding:14px 14px 14px 16px; max-width:300px;
  box-shadow:0 8px 32px rgba(0,0,0,0.3);
  opacity:0; transform:translateX(-20px);
  transition:opacity 0.4s ease,transform 0.4s ease;
  pointer-events:none;
}
#sp-toast.show { opacity:1; transform:none; pointer-events:auto; }
.sp-check {
  width:22px; height:22px; flex-shrink:0;
  background:rgba(255,90,0,0.12); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:0.65rem; color:var(--orange); font-weight:700; margin-top:1px;
}
.sp-text { font-family:var(--fb); font-size:0.78rem; color:var(--body); line-height:1.5; flex:1; }
.sp-x {
  background:none; border:none; cursor:pointer;
  color:var(--muted); font-size:0.85rem; padding:0 0 0 4px;
  transition:color 0.2s; flex-shrink:0;
}
.sp-x:hover { color:var(--text); }
@media (max-width:768px) {
  #sp-toast { left:16px; right:16px; max-width:none; bottom:96px; }
}
