/* ============================================================
   iotoperations — stylesheet v2
   Light, professional theme. Palette derived from the
   iotoperations mark: ink navy + amber accent.
   One dark moment only: the footer.
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root{
  --ink:        #16222F;
  --ink-2:      #1D2B3B;
  --paper:      #FFFFFF;
  --fog:        #F6F8FB;
  --fog-2:      #EEF2F7;
  --line:       #E3E8EF;
  --line-soft:  rgba(22,34,47,.08);
  --muted:      #5B6B80;
  --muted-soft: #8395AA;

  --amber:       #EE9F3A;
  --amber-dark:  #CE7F14;
  --amber-tint:  rgba(238,159,58,.14);
  --amber-glow:  rgba(238,159,58,.35);

  --signal:      #2E6EF3;
  --signal-dim:  #1D4FC4;
  --signal-tint: rgba(46,110,243,.10);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --gradient-brand: linear-gradient(120deg, #F6C179 0%, #EE9F3A 45%, #D9691E 100%);
  --shadow-1: 0 1px 2px rgba(22,34,47,.06);
  --shadow-2: 0 14px 32px -14px rgba(22,34,47,.16);
  --shadow-3: 0 24px 56px -20px rgba(22,34,47,.22);

  --font-display: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;

  --maxw: 1180px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--font-display); line-height:1.15; margin:0; color: var(--ink); }
p{ margin:0; }
button{ font-family: inherit; cursor:pointer; }
input,textarea,select{ font-family: inherit; font-size: 1rem; }

:focus-visible{ outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

.container{ max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section{ padding: 84px 0; }
.section--tight{ padding: 52px 0; }
.section--fog{ background: var(--fog); }
.section--ink{ background: var(--ink); color: rgba(255,255,255,.86); }
.section--ink h1,.section--ink h2,.section--ink h3,.section--ink h4{ color: var(--paper); }

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

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-display); font-weight:600; font-size:.78rem;
  letter-spacing:.12em; text-transform:uppercase; color: var(--amber-dark);
}
.section--ink .eyebrow{ color: var(--amber); }
h1{ font-size: clamp(2.1rem, 4.2vw, 3.3rem); font-weight:700; letter-spacing:-.01em; }
h2{ font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight:700; letter-spacing:-.01em; }
h3{ font-size: 1.25rem; font-weight:600; }
.lede{ font-size: 1.08rem; color: var(--muted); max-width: 62ch; }
.section--ink .lede{ color: rgba(255,255,255,.68); }
.section-head{ max-width: 720px; margin: 0 0 44px; }
.section-head.center{ margin-inline:auto; text-align:center; }

.brand{ display:flex; align-items:center; gap:10px; }
.brand-img{ height: 36px; width:auto; }
/* the source logo file has a white matte background — on the dark footer we
   present it as a deliberate white badge rather than letting it float oddly */
.footer-brand .brand-img{
  height: 28px; background: var(--paper); padding: 10px 16px;
  border-radius: var(--radius-sm); margin-bottom: 16px; box-sizing: content-box;
}

.status-pill{
  display:inline-flex; align-items:center; gap:10px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  background: var(--amber-tint); border:1px solid rgba(238,159,58,.35);
  font-size:.82rem; font-weight:600; color: var(--amber-dark);
}
.pulse-dot{ position:relative; width:9px; height:9px; border-radius:50%; background: var(--amber); flex:none; }
.pulse-dot::after{
  content:''; position:absolute; inset:-6px; border-radius:50%;
  border:1.5px solid var(--amber); animation: pulse-ring 2.2s ease-out infinite;
}
@keyframes pulse-ring{
  0%{ transform: scale(.4); opacity:.9; }
  80%{ transform: scale(1.8); opacity:0; }
  100%{ opacity:0; }
}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 13px 26px; border-radius: 999px; font-weight:600; font-size:.96rem;
  border:1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space:nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn--primary{ background: var(--gradient-brand); color:var(--ink); box-shadow: 0 14px 30px -10px var(--amber-glow); font-weight:700; }
.btn--primary:hover{ transform: translateY(-2px); box-shadow: 0 18px 36px -10px var(--amber-glow); }
.btn--amber{ background: var(--gradient-brand); color: var(--ink); box-shadow: 0 12px 26px -10px var(--amber-glow); font-weight:700; }
.btn--amber:hover{ transform: translateY(-2px); }
.btn--ghost{ background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover{ border-color: var(--amber-dark); color: var(--amber-dark); }
.section--ink .btn--ghost{ border-color: rgba(255,255,255,.25); color: var(--paper); }
.section--ink .btn--ghost:hover{ border-color: var(--amber); color: var(--amber); }
.btn--block{ width:100%; }
.btn[disabled]{ opacity:.6; cursor:not-allowed; }

.site-header{
  position: sticky; top:0; z-index: 60;
  background: rgba(255,255,255,.86); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: padding .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled{ box-shadow: var(--shadow-1); }
.site-header .container{ display:flex; align-items:center; justify-content:space-between; padding-block: 16px; transition: padding .2s ease; }
.site-header.is-scrolled .container{ padding-block: 10px; }
.nav-desktop{ display:flex; align-items:center; gap: 34px; }
.nav-desktop a{ font-size:.94rem; font-weight:500; color: var(--muted); position:relative; padding: 4px 0; }
.nav-desktop a:hover{ color: var(--ink); }
.nav-desktop a.active{ color: var(--ink); }
.nav-desktop a.active::after{ content:''; position:absolute; left:0; right:0; bottom:-6px; height:2px; background: var(--amber); border-radius:2px; }
.header-cta{ display:flex; align-items:center; gap: 18px; }
.header-cta .btn{ padding: 10px 20px; font-size:.9rem; }

.nav-toggle{
  display:none; width:40px; height:40px; border-radius:10px; border:1px solid var(--line);
  background:transparent; position:relative; flex:none;
}
.nav-toggle span{ position:absolute; left:9px; right:9px; height:2px; background:var(--ink); border-radius:2px; transition:.2s ease; }
.nav-toggle span:nth-child(1){ top:14px; }
.nav-toggle span:nth-child(2){ top:19px; }
.nav-toggle span:nth-child(3){ top:24px; }
.nav-toggle.is-open span:nth-child(1){ top:19px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity:0; }
.nav-toggle.is-open span:nth-child(3){ top:19px; transform: rotate(-45deg); }

.nav-mobile{
  display:none; position:absolute; top:100%; left:0; right:0;
  background: var(--paper); border-bottom:1px solid var(--line);
  flex-direction:column; padding: 8px 24px 20px; box-shadow: var(--shadow-2);
}
.nav-mobile.is-open{ display:flex; }
.nav-mobile a{ padding: 13px 2px; font-size:1rem; color: var(--ink); border-bottom:1px solid var(--line); }
.nav-mobile a:last-of-type{ border-bottom:none; }
.nav-mobile .btn{ margin-top: 14px; }

@media (max-width: 880px){
  .nav-desktop, .header-cta .btn--ghost{ display:none; }
  .nav-toggle{ display:block; }
}

.hero{ position:relative; overflow:hidden; padding: 88px 0 64px; background: var(--paper); text-align:center; }
.hero::before{
  content:''; position:absolute; inset:-30% -10% auto -10%; height:90%;
  background: radial-gradient(50% 60% at 50% 10%, var(--amber-tint), transparent 70%),
              radial-gradient(40% 50% at 85% 30%, var(--signal-tint), transparent 70%);
  pointer-events:none;
}
.dot-field::after{
  content:''; position:absolute; inset:0; pointer-events:none; opacity:.6;
  background-image: radial-gradient(circle, rgba(91,107,128,.35) 1.4px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 30%, #000 40%, transparent 78%);
          mask-image: radial-gradient(ellipse 70% 65% at 50% 30%, #000 40%, transparent 78%);
}
.network-canvas{ position:absolute; inset:0; width:100%; height:100%; pointer-events:none; opacity:.55; }
.hero-inner{ position:relative; max-width: 760px; margin: 0 auto; }
.hero h1{ margin-top:18px; }
.hero .lede{ margin: 18px auto 0; }
.hero-actions{ display:flex; gap:14px; margin-top: 32px; flex-wrap:wrap; justify-content:center; }
.trust-line{ font-size:.86rem; color: var(--muted-soft); }
.trust-line strong{ color: var(--ink); font-weight:600; }
.trust-stack{ display:flex; align-items:center; justify-content:center; gap:14px; margin-top: 30px; flex-wrap:wrap; }
.trust-avatars{ display:flex; }
.trust-avatars .av{
  width:36px; height:36px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-size:.72rem; font-weight:700; color: var(--paper);
  background: var(--gradient-brand); border:2px solid var(--paper); margin-left:-10px;
  box-shadow: var(--shadow-1);
}
.trust-avatars .av:first-child{ margin-left:0; }
.trust-avatars .av.plus{ background: var(--ink); }

.hero-card{
  position:relative; background: var(--paper); border:1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 26px; box-shadow: var(--shadow-3); max-width: 680px; margin: 44px auto 0; text-align:left;
}
.hero-card h4{ font-size:.82rem; text-transform:uppercase; letter-spacing:.08em; color: var(--muted-soft); font-weight:600; margin-bottom:14px; }
.hero-feed{ display:grid; grid-template-columns: repeat(4, 1fr); gap:10px; }
.feed-row{ display:flex; flex-direction:column; gap:6px; padding:12px 14px; border-radius: var(--radius-sm); background: var(--fog); border:1px solid var(--line); font-size:.82rem; }
.feed-row .tag{ color: var(--muted); }
.feed-row .val{ color: var(--amber-dark); font-family: var(--font-display); font-weight:700; font-size:1.05rem; }

@media (max-width: 700px){
  .hero-feed{ grid-template-columns: repeat(2, 1fr); }
}

.stat-strip{ border-top:1px solid var(--line); border-bottom:1px solid var(--line); background: var(--fog); }
.stat-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 32px 0; }
.stat{ text-align:center; }
.stat .num{ font-family: var(--font-display); font-size: clamp(1.5rem,3vw,2rem); font-weight:700; color: var(--ink); }
.stat .num .suffix{ color: var(--amber-dark); }
.stat .label{ margin-top:6px; font-size:.82rem; color: var(--muted); }
@media (max-width: 700px){ .stat-grid{ grid-template-columns: repeat(2,1fr); } }

.grid-3{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 880px){ .grid-3{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px){ .grid-3, .grid-2{ grid-template-columns: 1fr; } }

.feature-card{
  background: var(--paper); border:1px solid var(--line); border-radius: var(--radius-md);
  padding: 28px 24px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line); }
.feature-icon{
  width:46px; height:46px; border-radius: 12px; display:flex; align-items:center; justify-content:center;
  background: var(--amber-tint); color: var(--amber-dark); margin-bottom:16px; flex:none;
}
.feature-icon svg{ width:22px; height:22px; }
.feature-card h3{ margin-bottom:8px; }
.feature-card p{ color: var(--muted); font-size:.95rem; }

.pillar-card{
  background: var(--paper); border:1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; position:relative; box-shadow: var(--shadow-1);
}
.pillar-card .number{ font-family: var(--font-display); font-size: 2.4rem; font-weight:700; color: var(--amber); }
.pillar-card h3{ color:var(--ink); margin: 8px 0 10px; font-size:1.15rem; }
.pillar-card p{ color: var(--muted); font-size:.93rem; margin-bottom:16px; }
.pillar-card ul{ display:flex; flex-direction:column; gap:9px; }
.pillar-card li{ display:flex; gap:9px; font-size:.87rem; color: var(--ink); align-items:flex-start; }
.pillar-card li::before{ content:''; width:7px; height:7px; border-radius:50%; background: var(--amber); margin-top:6px; flex:none; }

.project-card{
  display:grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items:center;
  background: var(--paper); border:1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-1); transition: box-shadow .2s ease;
  position:relative; overflow:visible;
}
.project-card:hover{ box-shadow: var(--shadow-3); }
.project-card:nth-of-type(even){ direction: rtl; }
.project-card:nth-of-type(even) .project-body{ direction: ltr; }
.project-media{ position:relative; }
.mockup-frame{
  border-radius: var(--radius-lg); overflow:hidden; border:1px solid var(--line);
  box-shadow: var(--shadow-3); background: var(--fog-2); min-height: 200px;
}
.mockup-bar{ display:flex; align-items:center; gap:6px; padding:10px 14px; background: var(--fog); border-bottom:1px solid var(--line); }
.mockup-bar .dot{ width:9px; height:9px; border-radius:50%; }
.mockup-bar .dot.r{ background:#F0605A; } .mockup-bar .dot.y{ background:#F0B429; } .mockup-bar .dot.g{ background:#3FBF7F; }
.mockup-bar .mockup-title{ margin-left:8px; font-size:.78rem; font-weight:600; color:var(--muted); }
.mockup-frame img{ width:100%; display:block; }
.project-body{ padding: 0; }
.project-body .badge{ margin-bottom: 16px; }
.project-body h3{ font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight:800; margin-bottom: 8px; letter-spacing:-.01em; }
.project-tagline{ color: var(--signal); font-weight:600; font-size:1.05rem; margin-bottom: 14px; }
.project-summary{ color: var(--muted); font-size:.98rem; margin-bottom: 20px; }
.project-features{ display:grid; grid-template-columns: 1fr 1fr; gap:10px 20px; margin-bottom: 24px; }
.project-features li{ font-size:.88rem; color: var(--ink); display:flex; gap:8px; align-items:flex-start; }
.project-features li::before{ content:''; width:7px; height:7px; margin-top:6px; border-radius:50%; background: var(--amber); flex:none; }
.project-highlight{
  background: var(--fog); border-left: 3px solid var(--amber); border-radius: 8px;
  padding: 12px 14px; font-size:.85rem; color: var(--ink); margin-bottom: 20px;
}
.project-ctas{ display:flex; gap: 14px; flex-wrap:wrap; }
@media (max-width: 900px){
  .project-card, .project-card:nth-of-type(even){ grid-template-columns: 1fr; direction: ltr; gap:28px; padding: 26px; }
}

.service-card{
  background: var(--paper); border:1px solid var(--line); border-radius: var(--radius-md);
  padding: 30px; transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-2); }

.quote-block{ text-align:center; max-width: 760px; margin: 0 auto; }
.quote-mark{ font-family: var(--font-display); font-size: 3.6rem; color: var(--amber); line-height:1; }
.quote-block p.text{ font-size: clamp(1.15rem,2.1vw,1.5rem); font-family: var(--font-display); font-weight:600; color: var(--ink); margin: 4px 0 14px; }
.quote-block .who{ color: var(--muted); font-size:.95rem; }

.cta-band{
  background: linear-gradient(120deg, var(--ink) 0%, #223448 100%);
  color: var(--paper); border-radius: var(--radius-lg);
  padding: 52px 40px; text-align:center; position:relative; overflow:hidden;
}
.cta-band::before{
  content:''; position:absolute; inset:0;
  background: radial-gradient(50% 80% at 85% 0%, rgba(238,159,58,.22), transparent 70%);
}
.cta-band h2{ color: var(--paper); position:relative; }
.cta-band .lede{ color: rgba(255,255,255,.72); margin-inline:auto; position:relative; }
.cta-band .hero-actions{ justify-content:center; position:relative; }

.form-card{
  background: var(--paper); border:1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow-2);
}
.field{ margin-bottom: 18px; }
.field label{ display:block; font-size:.85rem; font-weight:600; margin-bottom:6px; color: var(--ink); }
.field label .req{ color: #D64545; }
.field input, .field textarea{
  width:100%; padding: 12px 14px; border-radius: var(--radius-sm); border:1px solid var(--line);
  background: var(--fog); transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field textarea:focus{ border-color: var(--amber-dark); background: var(--paper); outline:none; }
.field textarea{ min-height: 130px; resize: vertical; }
.field .error{ display:none; color:#D64545; font-size:.8rem; margin-top:5px; }
.field.has-error input, .field.has-error textarea{ border-color:#D64545; }
.field.has-error .error{ display:block; }
.form-note{ font-size:.82rem; color: var(--muted); margin-top:10px; }
.form-success{
  display:none; align-items:center; gap:10px; background: rgba(46,175,120,.1); border:1px solid rgba(46,175,120,.35);
  color:#1E7D52; padding: 14px 16px; border-radius: var(--radius-sm); font-weight:600; font-size:.92rem; margin-bottom: 18px;
}
.form-success.is-visible{ display:flex; }

.contact-info{ display:flex; flex-direction:column; gap:20px; }
.info-row{ display:flex; gap:14px; align-items:flex-start; }
.info-row .icon{ width:38px; height:38px; border-radius:10px; background: var(--amber-tint); color: var(--amber-dark); display:flex; align-items:center; justify-content:center; flex:none; }
.info-row h4{ font-size:.95rem; margin-bottom:3px; }
.info-row p, .info-row a{ color: var(--muted); font-size:.9rem; }
.info-row a:hover{ color: var(--amber-dark); }

.site-footer{ background: var(--ink); color: rgba(255,255,255,.68); padding: 60px 0 26px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom:1px solid rgba(255,255,255,.1); }
.footer-brand{ margin-bottom:4px; }
.footer-brand .brand{ margin-bottom: 14px; }
.footer-brand p{ font-size:.88rem; max-width: 30ch; color: rgba(255,255,255,.55); }
.footer-col h4{ color:var(--paper); font-size:.85rem; letter-spacing:.05em; text-transform:uppercase; margin-bottom:16px; }
.footer-col ul{ display:flex; flex-direction:column; gap:10px; }
.footer-col a{ font-size:.9rem; color: rgba(255,255,255,.6); }
.footer-col a:hover{ color: var(--amber); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top: 24px; flex-wrap:wrap; gap:10px; font-size:.82rem; color: rgba(255,255,255,.5); }
.social-row{ display:flex; gap:12px; }
.social-row a{ width:34px; height:34px; border-radius:50%; border:1px solid rgba(255,255,255,.16); display:flex; align-items:center; justify-content:center; }
.social-row a:hover{ border-color: var(--amber); color: var(--amber); }
@media (max-width: 880px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-grid{ grid-template-columns: 1fr; } }

.page-hero{ padding: 64px 0 52px; background: var(--fog); border-bottom:1px solid var(--line); text-align:center; position:relative; overflow:hidden; }
.page-hero .container{ position:relative; max-width: 720px; }
.page-hero .eyebrow{ margin-bottom: 14px; }
.breadcrumb{ font-size:.85rem; color: var(--muted-soft); margin-bottom: 14px; }
.breadcrumb a:hover{ color: var(--amber-dark); }

.back-to-top{
  position: fixed; right: 22px; bottom: 22px; width: 46px; height:46px; border-radius:50%;
  background: var(--ink); color: var(--paper); display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-2); border:none; opacity:0; transform: translateY(10px);
  pointer-events:none; transition: opacity .2s ease, transform .2s ease, background .2s ease; z-index: 50;
}
.back-to-top.is-visible{ opacity:1; transform:none; pointer-events:auto; }
.back-to-top:hover{ background: var(--amber-dark); }

/* ---------------------------------- floating help bubble ---------------------------------- */
.help-bubble{
  position: fixed; right: 22px; bottom: 82px; z-index: 50;
  max-width: 260px; opacity:0; transform: translateY(10px); pointer-events:none;
  transition: opacity .25s ease, transform .25s ease;
}
.help-bubble.is-visible{ opacity:1; transform:none; pointer-events:auto; }
.help-bubble-link{
  display:flex; align-items:center; gap:10px;
  background: var(--paper); border:1px solid var(--line); border-radius: 16px;
  padding: 12px 14px; box-shadow: var(--shadow-3); font-size:.85rem; color: var(--ink);
}
.help-bubble .avatar{
  width:32px; height:32px; border-radius:50%; flex:none; display:flex; align-items:center; justify-content:center;
  background: var(--gradient-brand); color: var(--ink); font-weight:700; font-size:.8rem;
}
.help-bubble .msg strong{ display:block; font-weight:600; margin-bottom:2px; }
.help-bubble .close{
  position:absolute; top:-8px; right:-8px; width:20px; height:20px; border-radius:50%;
  background: var(--ink); color:var(--paper); border:none; font-size:.7rem; display:flex;
  align-items:center; justify-content:center; cursor:pointer;
}

.mt-8{ margin-top:8px; } .mt-16{ margin-top:16px; } .mt-24{ margin-top:24px; } .mt-40{ margin-top:40px; }
.text-center{ text-align:center; }
.badge{
  display:inline-flex; align-items:center; gap:6px; font-size:.75rem; font-weight:700;
  padding: 5px 10px; border-radius: 999px; background: var(--amber-tint); color: var(--amber-dark); border:1px solid rgba(238,159,58,.35);
}
.divider{ height:1px; background: var(--line); border:none; margin: 0; }
.reveal{ opacity:0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-in{ opacity:1; transform:none; }
