/* zeoez.io — shared styles. No build step: plain CSS, one file. */

:root {
  --ink: #14181f;
  --ink-2: #4a5361;
  --ink-3: #7a8494;
  --paper: #fbfaf7;
  --card: #ffffff;
  --line: #e7e3da;
  --brand: #1f3a5f;          /* zeoez navy */
  --brand-ink: #ffffff;
  --accent: #e8a33d;         /* warm amber */
  --erp: #3b5b7d;
  --erp-soft: #e6edf5;
  --feliz: #e86a3d;
  --feliz-soft: #fdeee6;
  --mosque: #1d7a5f;
  --mosque-soft: #e3f2ec;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(20, 24, 31, .04), 0 8px 24px rgba(20, 24, 31, .06);
  --max: 1120px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef1f5;
    --ink-2: #b4bccb;
    --ink-3: #8790a0;
    --paper: #0f1318;
    --card: #171c23;
    --line: #262d37;
    --brand: #8fb3dd;
    --brand-ink: #0f1318;
    --erp: #8fb3dd;
    --erp-soft: #1b2633;
    --feliz: #ff9a72;
    --feliz-soft: #2c1d17;
    --mosque: #5cc9a5;
    --mosque-soft: #15281f;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; color: var(--ink-3); }

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; }
.logo svg { width: 30px; height: 30px; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a.btn-primary { color: var(--brand-ink); }
@media (max-width: 720px) { .nav .hide-sm { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  font-weight: 700; font-size: .98rem; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-ghost { border-color: var(--line); background: var(--card); color: var(--ink); }
.btn-wa { background: #1fa855; color: #fff; }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { padding: 88px 0 64px; }
.hero .eyebrow {
  display: inline-block; font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-2); background: var(--card); border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 22px;
}
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--ink-2); max-width: 680px; margin-bottom: 28px; }
.hero h1 em { font-style: normal; color: var(--accent); }

/* Sections */
section { padding: 64px 0; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.band { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

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

/* Cards */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.product-card { display: flex; flex-direction: column; border-top: 5px solid var(--c); }
.product-card .tag { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--c); }
.product-card h3 { font-size: 1.5rem; margin-top: 6px; }
.product-card ul { padding-left: 18px; color: var(--ink-2); margin: 0 0 20px; }
.product-card .btn-row { margin-top: auto; }
.product-card .btn-primary { background: var(--c); color: #fff; }
.c-erp { --c: var(--erp); --c-soft: var(--erp-soft); }
.c-feliz { --c: var(--feliz); --c-soft: var(--feliz-soft); }
.c-mosque { --c: var(--mosque); --c-soft: var(--mosque-soft); }

.feature h3 { display: flex; align-items: center; gap: 10px; }
.feature .ic {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  display: grid; place-items: center; background: var(--c-soft, var(--erp-soft)); color: var(--c, var(--brand));
}
.feature .ic svg { width: 20px; height: 20px; }
.feature p { color: var(--ink-2); margin: 0; }

/* Product page hero */
.p-hero { padding: 72px 0 56px; background: var(--c-soft); border-bottom: 1px solid var(--line); }
.p-hero .tag { font-weight: 700; color: var(--c); text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; }
.p-hero .btn-primary { background: var(--c); color: #fff; }
.by-line { font-size: .9rem; color: var(--ink-3); margin-top: 18px; }

/* Steps */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 52px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c, var(--brand)); color: #fff; font-weight: 800;
}
.steps strong { display: block; }

/* Callout */
.callout {
  border-radius: var(--radius); padding: 36px; background: var(--brand); color: var(--brand-ink);
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px; justify-content: space-between;
}
.callout h2 { margin: 0 0 6px; }
.callout p { margin: 0; opacity: .85; }
.callout .btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.callout .btn-light { background: var(--brand-ink); color: var(--brand); }

/* Values list */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; color: var(--ink-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--c, var(--brand)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 48px 0 32px; margin-top: 32px; }
.site-foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-foot h4 { margin: 0 0 10px; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-foot a { text-decoration: none; color: var(--ink-2); }
.site-foot a:hover { color: var(--ink); }
.site-foot .base { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 720px) { .site-foot .cols { grid-template-columns: 1fr 1fr; } .site-foot .cols > :first-child { grid-column: 1 / -1; } }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 20;
  width: 56px; height: 56px; border-radius: 50%; background: #1fa855; color: #fff;
  display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.wa-float svg { width: 28px; height: 28px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
