/* ==========================================================================
   Smart Pro Technologies LLC — site styles
   Plain CSS, no build step. Edit the tokens in :root to re-theme the site.
   ========================================================================== */

:root {
  --navy: #0a1628;
  --navy-2: #101f38;
  --ink: #111827;
  --body: #3b4a5e;
  --muted: #64748b;
  --border: #e3e9f1;
  --bg: #f6f8fb;
  --card: #ffffff;
  --teal: #14b8c9;
  --teal-dark: #0e93a1;
  --violet: #6d5df6;
  --violet-dark: #5546e0;
  --gradient: linear-gradient(135deg, #14b8c9 0%, #6d5df6 100%);
  --gradient-soft: linear-gradient(135deg, rgba(20,184,201,.12), rgba(109,93,246,.12));
  --shadow-sm: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08);
  --shadow-md: 0 8px 24px rgba(16,24,40,.08);
  --shadow-lg: 0 20px 50px rgba(16,24,40,.14);
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .35em; }
strong { color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.narrow { max-width: 820px; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 200; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

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

/* Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.35rem; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  font-family: inherit; line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 6px 18px rgba(109,93,246,.28); }
.btn-primary:hover { box-shadow: 0 10px 24px rgba(109,93,246,.35); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: #c9d3e0; }
.btn-outline:hover { border-color: var(--ink); background: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-sm { padding: .55rem 1rem; font-size: .92rem; }

/* Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none !important; color: var(--ink); }
.brand img { width: 42px; height: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; color: var(--ink); }
.brand-sub { font-size: .66rem; letter-spacing: .22em; font-weight: 600; color: var(--teal-dark); text-transform: uppercase; margin-top: .2rem; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { color: var(--ink); font-weight: 500; padding: .55rem .85rem; border-radius: 8px; text-decoration: none; }
.nav a:hover { background: var(--bg); }
.nav a[aria-current="page"] { color: var(--violet-dark); font-weight: 600; }
.nav .btn { margin-left: .5rem; }

.nav-toggle { display: none; background: none; border: 1.5px solid var(--border); border-radius: 10px; padding: .5rem; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; background: #fff; padding: .8rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
  }
  .nav.open { display: flex; }
  .nav a { padding: .8rem .6rem; }
  .nav .btn { margin: .5rem 0 0; }
  .brand-sub { display: none; }
}

/* Hero --------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(109,93,246,.18), transparent 60%),
              radial-gradient(900px 500px at 0% 100%, rgba(20,184,201,.16), transparent 60%),
              #fff;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 { margin-bottom: 1rem; }
.hero .lead { font-size: 1.2rem; color: var(--body); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.7rem 0 1.3rem; }
.hero-note { font-size: .92rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 0; padding: 0; list-style: none; }
.hero-note li::before { content: "✓"; color: var(--teal-dark); font-weight: 700; margin-right: .4rem; }
.hero-art { justify-self: center; width: 100%; max-width: 460px; filter: drop-shadow(0 25px 40px rgba(16,24,40,.15)); }
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { max-width: 340px; order: -1; }
}

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--violet-dark); background: rgba(109,93,246,.1); padding: .35rem .75rem; border-radius: 999px; margin-bottom: 1rem;
}
.gradient-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Sections ----------------------------------------------------------- */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.12rem; color: var(--body); }

.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { margin-top: .9rem; font-size: 1.15rem; }
.card p { margin: 0; color: var(--body); font-size: .98rem; }
.card ul { margin: .7rem 0 0; padding-left: 1.1em; font-size: .95rem; color: var(--body); }
.icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--gradient-soft); color: var(--violet-dark);
}
.icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Process steps */
.steps { counter-reset: step; }
.step { position: relative; padding: 1.5rem 1.5rem 1.5rem 1.5rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--gradient); color: #fff; font-weight: 800; margin-bottom: .9rem;
}
.step h3 { font-size: 1.1rem; }
.step p { margin: 0; font-size: .97rem; }

/* Feature list (why us) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.feature-list li { display: grid; grid-template-columns: 34px 1fr; gap: .9rem; align-items: start; }
.feature-list .check { width: 30px; height: 30px; border-radius: 50%; background: var(--gradient-soft); color: var(--teal-dark); display: grid; place-items: center; }
.feature-list .check svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.6; }
.feature-list strong { display: block; color: var(--ink); margin-bottom: .15rem; }
.feature-list p { margin: 0; font-size: .97rem; }

.panel {
  background: var(--navy); color: #cfd8e6; border-radius: var(--radius-lg); padding: 2.2rem;
  background-image: radial-gradient(500px 300px at 100% 0%, rgba(109,93,246,.35), transparent 60%),
                    radial-gradient(400px 300px at 0% 100%, rgba(20,184,201,.3), transparent 60%);
}
.panel h3, .panel h2 { color: #fff; }
.panel ul { padding-left: 1.2em; }
.panel li { margin-bottom: .5rem; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin: 0; padding: 0; list-style: none; }
.chips li { background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: .5rem 1rem; font-size: .95rem; color: var(--ink); font-weight: 500; }

/* CTA band */
.cta {
  background: var(--navy); color: #d5deea; padding: clamp(3rem, 6vw, 5rem) 0; position: relative; overflow: hidden;
  background-image: radial-gradient(700px 400px at 90% 10%, rgba(109,93,246,.45), transparent 60%),
                    radial-gradient(600px 400px at 10% 90%, rgba(20,184,201,.35), transparent 60%);
}
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .4rem; }
.cta p { margin: 0; max-width: 560px; font-size: 1.08rem; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* Page hero (interior pages) */
.page-hero { background: #fff; border-bottom: 1px solid var(--border); padding: clamp(2.8rem, 6vw, 4.5rem) 0 clamp(2.2rem, 5vw, 3.5rem); background-image: radial-gradient(800px 300px at 90% -20%, rgba(109,93,246,.14), transparent 60%); }
.page-hero h1 { margin-bottom: .6rem; }
.page-hero .lead { font-size: 1.18rem; max-width: 720px; margin: 0; }
.page-meta { color: var(--muted); font-size: .95rem; margin-top: .8rem; }

/* Service detail blocks */
.service { display: grid; grid-template-columns: 56px 1fr; gap: 1.4rem; padding: 2rem 0; border-bottom: 1px solid var(--border); }
.service:last-child { border-bottom: 0; }
.service .icon { width: 56px; height: 56px; }
.service h2 { font-size: 1.45rem; margin-bottom: .5rem; }
.service ul { columns: 2; column-gap: 2rem; margin: .8rem 0 0; padding-left: 1.1em; font-size: .97rem; }
@media (max-width: 700px) { .service { grid-template-columns: 1fr; } .service ul { columns: 1; } }

/* Legal / prose pages */
.prose { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 3rem); }
.prose h2 { font-size: 1.4rem; margin-top: 2.2rem; padding-top: .2rem; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6rem; }
.prose p, .prose li { font-size: 1rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { color: var(--ink); background: var(--bg); }
.toc { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin-bottom: 2rem; }
.toc strong { display: block; margin-bottom: .5rem; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 2rem; font-size: .95rem; }
.toc ol.plain { list-style: none; padding-left: 0; }
@media (max-width: 600px) { .toc ol { columns: 1; } }
.notice { border-left: 4px solid var(--violet); background: rgba(109,93,246,.06); padding: 1rem 1.2rem; border-radius: 0 10px 10px 0; margin: 1.2rem 0; font-size: .97rem; }
.address { font-style: normal; line-height: 1.7; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; color: var(--ink); font-size: .95rem; margin-bottom: .4rem; }
.field .req { color: var(--violet-dark); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: .75rem .9rem; border: 1.5px solid #cfd8e3; border-radius: 10px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(109,93,246,.15); }
.field textarea { min-height: 140px; resize: vertical; }
.field-hint { font-size: .85rem; color: var(--muted); margin-top: .35rem; }
.checkbox { display: flex; gap: .7rem; align-items: flex-start; font-size: .93rem; }
.checkbox input { width: 18px; height: 18px; margin-top: .2rem; flex: none; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: 10px; font-size: .95rem; display: none; }
.form-status.ok { display: block; background: rgba(20,184,201,.12); color: #0b6c77; border: 1px solid rgba(20,184,201,.35); }
.form-status.err { display: block; background: rgba(220,38,38,.08); color: #9f1d1d; border: 1px solid rgba(220,38,38,.3); }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.8rem; }
.contact-card ul { list-style: none; padding: 0; margin: 0; }
.contact-card li { display: grid; grid-template-columns: 40px 1fr; gap: .9rem; align-items: start; padding: .9rem 0; border-bottom: 1px solid var(--border); }
.contact-card li:last-child { border-bottom: 0; }
.contact-card .icon { width: 40px; height: 40px; border-radius: 10px; }
.contact-card .icon svg { width: 20px; height: 20px; }
.contact-card strong { display: block; color: var(--ink); font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .1rem; }
.contact-card span { color: var(--body); }
.contact-card a { color: var(--teal-dark); font-weight: 500; }
.contact-card address a { display: inline-block; margin-top: .3rem; }

/* About */
.values .card h3 { margin-top: .6rem; }
.founder { display: grid; grid-template-columns: 120px 1fr; gap: 1.6rem; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.8rem; }
.founder-avatar { width: 120px; height: 120px; border-radius: 50%; background: var(--gradient); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 2.2rem; letter-spacing: .02em; }
.founder p { margin-bottom: .4rem; }
@media (max-width: 600px) { .founder { grid-template-columns: 1fr; text-align: center; } .founder-avatar { margin-inline: auto; } }

/* Footer -------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #a9b6c8; padding: 3.5rem 0 1.5rem; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: #c4cfde; }
.site-footer a:hover { color: #fff; }
.footer-brand img { width: 220px; height: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: .95rem; max-width: 340px; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.footer-contact svg { width: 18px; height: 18px; stroke: var(--teal); fill: none; stroke-width: 2; flex: none; margin-top: .25rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; justify-content: space-between; font-size: .88rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }
.footer-bottom li { margin: 0; }

/* Cookie banner -------------------------------------------------------- */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 150; max-width: 620px; margin-inline: auto;
  background: #fff; color: var(--body); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 1.1rem 1.3rem; display: none; gap: 1rem; align-items: center; flex-wrap: wrap;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; font-size: .92rem; flex: 1 1 280px; }
.cookie-actions { display: flex; gap: .5rem; }

/* 404 */
.error-page { text-align: center; padding: clamp(4rem, 10vw, 8rem) 0; }
.error-page .code { font-size: clamp(4rem, 12vw, 7rem); font-weight: 800; line-height: 1; margin-bottom: .5rem; }

/* Utilities */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
