/* ============================================================
   allshop.ng — content styles for the public inner pages
   (modules, industries, manual, legal, contact, demo, calculator).
   Fonts, the top bar and the footer live in /assets/site.css.
   Teal #0F766E · readable teal #14B8A6 · mint #5EEAD4 · navy #0F172A
   ============================================================ */

:root{
  /* core palette — names kept from the old design so page CSS keeps working,
     values are the allshop.ng brand (teal / navy on white) */
  --ink:#0F172A;          /* navy */
  --ink-2:#1E293B;
  --ink-3:#334155;
  --paper:#FFFFFF;
  --paper-2:#F8FAFC;
  --paper-line:#E2E8F0;
  --amber:#14B8A6;        /* brand accent (readable teal) — was signal amber */
  --amber-deep:#0F766E;   /* brand teal — was deep amber */
  --emerald:#0F766E;      /* money / committed → brand teal */
  --emerald-deep:#115E59;
  --red:#e5484d;          /* dropped / alert */
  --sky:#3a8ee6;
  --mint:#5EEAD4;
  --teal-50:#F0FDFA;
  --accent:#0F766E;
  --text-secondary:#475569;

  --ink-70:#334155;
  --ink-55:#475569;
  --ink-40:#64748B;
  --ink-12:rgba(15,23,42,.12);
  --ink-08:rgba(15,23,42,.08);
  --paper-70:#CBD5E1;     /* text on navy */
  --paper-40:#94A3B8;

  --font-display:"Poppins",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --font-body:"Poppins",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --font-mono:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;

  --r-sm:8px; --r-md:12px; --r-lg:16px; --r-xl:20px;
  --maxw:1120px;
  --shadow-card:0 1px 2px rgba(15,23,42,.04),0 12px 32px -16px rgba(15,23,42,.16);
  --shadow-float:0 2px 6px rgba(15,23,42,.06),0 40px 80px -32px rgba(15,23,42,.35);
  --shadow-md:0 1px 2px rgba(15,23,42,.05),0 8px 24px -12px rgba(15,23,42,.2);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:#fff;color:var(--ink-70);
  font-family:var(--font-body);font-size:16px;line-height:1.65;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{color:var(--ink)}
img{max-width:100%;display:block}
h1,h2,h3,h4{font-family:var(--font-display);font-weight:600;line-height:1.08;letter-spacing:-.02em;margin:0}
p{margin:0}
.mono{font-family:var(--font-mono)}
button,input,select,textarea{font-family:inherit}
.wrap{max-width:calc(var(--maxw) + 40px);margin:0 auto;padding:0 20px}
@media(min-width:768px){.wrap{padding:0 32px;max-width:calc(var(--maxw) + 64px)}}
.eyebrow{display:inline-block;color:var(--amber-deep);font-weight:600;font-size:14px;letter-spacing:.02em}

/* ---------- buttons (same look as the landing page) ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-family:var(--font-display);font-weight:600;font-size:15px;line-height:1;letter-spacing:-.005em;
  min-height:48px;padding:0 22px;border-radius:12px;border:1px solid transparent;
  cursor:pointer;transition:background-color .15s,border-color .15s,color .15s,box-shadow .15s;
  white-space:nowrap;
}
.btn--primary,.btn--amber{background:#0F766E;color:#fff;box-shadow:0 1px 2px rgba(15,23,42,.12),inset 0 1px 0 rgba(255,255,255,.12)}
.btn--primary:hover,.btn--amber:hover{background:#115E59}
.btn--ghost{background:#fff;color:var(--ink);border-color:var(--paper-line);box-shadow:0 1px 2px rgba(15,23,42,.05)}
.btn--ghost:hover{border-color:#CBD5E1;background:var(--paper-2)}
.section--ink .btn--ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.45)}
.btn--lg{min-height:56px;padding:0 28px;font-size:16px;border-radius:14px}
.btn--sm{min-height:40px;padding:0 16px;font-size:14px}

/* ---------- sections ---------- */
.section{padding:96px 0}
.section--ink{background:var(--ink);color:var(--paper)}
.section--ink h1,.section--ink h2,.section--ink h3{color:var(--paper)}
.section__head{max-width:640px;margin-bottom:52px}
.section__head h2{font-size:clamp(1.9rem,4vw,2.9rem);margin:16px 0 14px}
.section__head p{color:var(--ink-55);font-size:1.08rem}
.section--ink .section__head p{color:var(--paper-40)}

/* ---------- generic cards ---------- */
.card{background:#fff;border:1px solid var(--paper-line);border-radius:var(--r-lg);padding:26px;box-shadow:var(--shadow-card)}
.grid{display:grid;gap:20px}
.g-2{grid-template-columns:repeat(2,1fr)}
.g-3{grid-template-columns:repeat(3,1fr)}
.g-4{grid-template-columns:repeat(4,1fr)}

/* ---------- utility ---------- */
.tag{display:inline-flex;align-items:center;gap:6px;font-family:var(--font-display);font-size:.75rem;font-weight:600;padding:5px 11px;border-radius:999px;letter-spacing:.02em}
.tag--amber{background:#F0FDFA;color:#115E59}
.tag--emerald{background:#F0FDFA;color:#115E59}
.tag--ink{background:var(--ink-08);color:var(--ink-70)}

@media(max-width:920px){
  .g-4{grid-template-columns:repeat(2,1fr)}
  .g-3{grid-template-columns:1fr}
  .section{padding:64px 0}
}
@media(max-width:560px){
  .g-2,.g-4{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  *{animation-duration:.001ms!important;transition-duration:.001ms!important}
  html{scroll-behavior:auto}
}

/* ============ FLOATING WHATSAPP ============ */
.wa-float{position:fixed;right:20px;bottom:20px;z-index:900;width:54px;height:54px;border-radius:50%;
  background:#25d366;color:#fff;display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 24px rgba(0,0,0,.28);transition:transform .15s ease}
.wa-float:hover{transform:scale(1.08)}
@media(max-width:600px){.wa-float{width:48px;height:48px;right:16px;bottom:16px}}

/* subtle section heading for card grids (keeps heading outline valid) */
.sr-section{font-family:var(--font-display);font-size:13px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--ink-40);margin:0 0 18px;font-weight:600}
.roicard-h{font-family:var(--font-display);font-size:19px;font-weight:700;margin:0 0 4px}
.sr-section-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ============ ACCESSIBILITY: visible keyboard focus (WCAG 2.4.7) ============ */
:focus-visible{outline:3px solid #0F766E;outline-offset:3px;border-radius:6px}
/* make sure buttons and links show it */
.btn:focus-visible,a:focus-visible,button:focus-visible,input:focus-visible,
[tabindex]:focus-visible,.sc-tab:focus-visible,.paybtn:focus-visible,.posprod:focus-visible{
  outline:3px solid #0F766E;outline-offset:3px}
.section--ink :focus-visible,.phead :focus-visible{outline-color:#5EEAD4}
/* remove focus ring only for mouse users (keep for keyboard) */
:focus:not(:focus-visible){outline:none}
/* skip-to-content link for keyboard/screen-reader users */
.skip-link{position:absolute;left:-9999px;top:0;z-index:1000;background:var(--ink);color:#fff;
  padding:12px 20px;border-radius:0 0 10px 0;font-weight:600;text-decoration:none}
.skip-link:focus{left:0}

/* prevent any oversized button from overflowing its container on small screens */
.btn{max-width:100%;box-sizing:border-box}
@media(max-width:560px){
  .btn--lg{width:100%;box-sizing:border-box;text-align:center;justify-content:center}
  /* stacked CTA rows: make buttons full width so they never overflow */
  .hero__cta .btn,.section .btn--lg{max-width:100%}
}
/* global guard against horizontal scroll */
body{overflow-x:clip}

