/* SIKASEM website — one stylesheet for every page.
   Colours come from the SIKASEM brand (navy #03045E, cyan #00B4D8, amber #F2A91E).
   Each app page sets --app on <body> so its buttons and accents take that app's colour. */

@font-face { font-family: "DM Sans"; font-weight: 400; font-display: swap; src: url(../fonts/dm-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-display: swap; src: url(../fonts/dm-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 700; font-display: swap; src: url(../fonts/dm-sans-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: Outfit; font-weight: 600; font-display: swap; src: url(../fonts/outfit-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: Outfit; font-weight: 700; font-display: swap; src: url(../fonts/outfit-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: Outfit; font-weight: 800; font-display: swap; src: url(../fonts/outfit-latin-800-normal.woff2) format("woff2"); }

:root {
  --navy: #03045E;
  --navy-2: #0B2A7A;
  --ink: #0B1033;
  --text: #3A4366;
  --muted: #5E6787;
  --cyan: #00B4D8;
  --blue: #0077B6;
  --amber: #F2A91E;
  --green: #2FB67E;
  --pink: #E2557B;
  --sky: #CAF0F8;
  --bg: #F6FAFD;
  --line: #DCE6F0;
  --card: #FFFFFF;
  --app: var(--blue);          /* overridden per app page */
  --app-deep: var(--navy);
  --radius: 18px;
  --shadow: 0 1px 2px rgba(11, 16, 51, .06), 0 8px 28px rgba(11, 16, 51, .07);
  --wrap: 1160px;
}
body.app-sales  { --app: #0A6CF4; --app-deep: #06297F; }
body.app-rental { --app: #0B7FB0; --app-deep: #053F5C; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 "DM Sans", system-ui, sans-serif; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: Outfit, "DM Sans", sans-serif; color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.3em; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1.2 "DM Sans", sans-serif; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: var(--ink); box-shadow: 0 6px 18px rgba(242, 169, 30, .35); }
.btn-app { background: var(--app); color: #fff; box-shadow: 0 6px 18px rgba(0, 119, 182, .25); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--app); }
.on-dark .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.on-dark .btn-ghost:hover { border-color: #fff; }
.btn-wa { background: #1FAF54; color: #fff; }
.btn-block { width: 100%; }
.btn svg { width: 1.15em; height: 1.15em; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(3, 4, 94, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: #DDE8FF; text-decoration: none; font-weight: 500; padding: 8px 12px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); }
.nav .btn { margin-left: 8px; min-height: 42px; padding: .5em 1.1em; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: #fff; padding: 10px; cursor: pointer; }
.menu-btn svg { width: 28px; height: 28px; }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; background: var(--navy); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #DDE8FF; background: linear-gradient(135deg, #02033F 0%, var(--app-deep, var(--navy)) 50%, #0B2A7A 100%); padding: 72px 0 0; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 900px; height: 900px; left: -320px; top: -420px; background: radial-gradient(circle, rgba(0, 180, 216, .45), transparent 65%); }
.hero::after { width: 800px; height: 800px; right: -300px; bottom: -420px; background: radial-gradient(circle, rgba(242, 169, 30, .32), transparent 65%); }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { font-size: 1.2rem; max-width: 40ch; color: #C9D8F5; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: end; }
.hero-copy { padding-bottom: 72px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hero-note { font-size: .92rem; color: #A9BCE6; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-note span::before { content: "✓ "; color: var(--green); font-weight: 700; }
.hero-shot { position: relative; align-self: end; min-height: 320px; }
.hero-shot .laptop { width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); margin-bottom: -8px; }
.hero-shot .phone { position: absolute; width: 27%; right: -2%; bottom: 6%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .4)); }
.app-logo-hero { height: 54px; width: auto; margin-bottom: 22px; }
.eyebrow { display: inline-block; font: 700 .8rem/1 "DM Sans", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--app); margin-bottom: 14px; }
.hero .eyebrow { color: var(--cyan); }
@media (max-width: 900px) {
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-copy { padding-bottom: 12px; }
  .hero-shot { min-height: 0; }
}

/* ---------- sections ---------- */
section { padding: 88px 0; }
section.tight { padding: 56px 0; }
.alt { background: #fff; }
.dark { background: var(--navy); color: #C9D8F5; }
.dark h2, .dark h3 { color: #fff; }
.center { text-align: center; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { font-size: 1.12rem; color: var(--muted); }
.dark .section-head p { color: #A9BCE6; }
@media (max-width: 700px) { section { padding: 60px 0; } }

/* ---------- trust strip ---------- */
.strip { background: #fff; border-bottom: 1px solid var(--line); }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; padding: 20px 0; font-weight: 500; color: var(--ink); }
.strip span { display: inline-flex; align-items: center; gap: 8px; }
.strip svg { width: 20px; height: 20px; color: var(--blue); }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); min-width: 0; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--app) 12%, white); color: var(--app); margin-bottom: 16px; }
.icon svg { width: 24px; height: 24px; }

/* pain quotes */
.pain { display: flex; gap: 14px; align-items: flex-start; font-size: 1.05rem; color: var(--ink); }
.pain .icon { flex: none; margin: 0; background: #FDECEF; color: var(--pink); }
.pain q { font-style: italic; }
.pain-foot { text-align: center; margin-top: 36px; font: 700 1.25rem/1.4 Outfit, sans-serif; color: var(--ink); }

/* product cards on the home page */
.product { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.product-top { padding: 28px 28px 0; }
.product-logo { height: 56px; width: 56px; margin-bottom: 16px; }
.product .for { font-weight: 700; color: var(--app); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.product ul { margin: 0 0 22px; }
.product-shot { margin-top: auto; background: linear-gradient(180deg, #EEF5FC, #DCEAF7); padding: 22px 22px 0; }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 28px 24px; }
.product .btn { min-height: 44px; padding: .55em 1.1em; }

/* checklist */
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--green) 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='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.dark .ticks li { color: #DDE8FF; }

/* feature rows: words on one side, screenshot on the other */
.feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; padding: 40px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip .feature-copy { order: 2; }
.feature h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.feature .kicker { font-size: 1.12rem; color: var(--muted); }
.feature-shot img { filter: drop-shadow(0 18px 30px rgba(11, 16, 51, .18)); }
.points { display: grid; gap: 18px; margin-top: 22px; }
.point { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.point .icon { width: 44px; height: 44px; margin: 0; border-radius: 12px; }
.point h3 { font-size: 1.08rem; margin: 2px 0 2px; }
.point p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .feature-copy { order: 0; }
}

/* steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 64px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 24px; left: 28px; width: 34px; height: 34px; border-radius: 50%; background: var(--app); color: #fff; font: 800 1rem/34px Outfit, sans-serif; text-align: center; }

/* before / after */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.compare .card h3 { display: flex; align-items: center; gap: 10px; }
.compare ul { list-style: none; padding: 0; margin: 0; }
.compare li { padding: 12px 0; border-top: 1px solid var(--line); }
.compare li:first-child { border-top: 0; }
.before li { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(226, 85, 123, .6); }
.after { border-color: var(--green); }
.after li { color: var(--ink); font-weight: 500; }
@media (max-width: 700px) { .compare { grid-template-columns: 1fr; } }

/* app chooser */
.chooser { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 28px; }
.chooser button { font: 600 1rem/1.2 "DM Sans", sans-serif; padding: 14px 20px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; }
.chooser button[aria-pressed="true"] { background: #fff; color: var(--navy); border-color: #fff; }
.answer { max-width: 760px; margin: 0 auto; background: #fff; color: var(--text); border-radius: var(--radius); padding: 30px; display: grid; grid-template-columns: 72px 1fr; gap: 22px; align-items: start; }
.answer img { width: 72px; height: 72px; }
.answer h3 { color: var(--ink); }
.answer .btn { margin-top: 6px; }
@media (max-width: 560px) { .answer { grid-template-columns: 1fr; } }

/* family flow */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 18px; align-items: stretch; }
.flow .arrow { align-self: center; }
.flow .card { text-align: center; }
.flow .arrow { color: var(--cyan); font-size: 2rem; }
.flow img { width: 64px; height: 64px; margin: 0 auto 12px; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr; } .flow .arrow { transform: rotate(90deg); justify-self: center; } }

/* ---------- pricing ---------- */
.billing { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px; margin-bottom: 36px; }
.billing button { font: 600 .98rem "DM Sans", sans-serif; border: 0; background: none; padding: 10px 20px; border-radius: 999px; cursor: pointer; color: var(--text); }
.billing button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.billing .save { color: var(--green); font-weight: 700; }
.billing button[aria-pressed="true"] .save { color: #7BE3B4; }
.plan { display: flex; flex-direction: column; position: relative; }
.plan.best { border: 2px solid var(--amber); }
.plan .tag { position: absolute; top: -13px; left: 24px; background: var(--amber); color: var(--ink); font: 700 .78rem/1 "DM Sans", sans-serif; padding: 7px 12px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.plan-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.plan-head img { width: 48px; height: 48px; }
.plan-head h3 { margin: 0; }
.plan-head small { color: var(--muted); }
.price { font: 800 2.6rem/1 Outfit, sans-serif; color: var(--ink); margin: 8px 0 4px; }
.price small { display: block; margin-top: 6px; font: 500 1rem "DM Sans", sans-serif; color: var(--muted); }
.price-note { color: var(--muted); font-size: .92rem; min-height: 1.5em; margin-bottom: 18px; }
.plan .ticks { margin-bottom: 24px; flex: 1; }
.plan .btn + .btn { margin-top: 10px; }
.draft-banner { background: #FFF4DB; border: 1px dashed var(--amber); color: #6B4A00; padding: 12px 16px; border-radius: 12px; margin: 0 auto 28px; max-width: 760px; font-size: .95rem; }
.pro { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 800px) { .pro { grid-template-columns: 1fr; } }
table.compare-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: .98rem; }
.compare-table th, .compare-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; }
.compare-table thead th { background: var(--navy); color: #fff; font-family: Outfit, sans-serif; }
.compare-table .yes { color: var(--green); font-weight: 700; }
.compare-table .no { color: #A3ABC4; }
.table-scroll { overflow-x: auto; }

/* how buying works */
.buy-steps .card { text-align: left; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; font: 600 1.08rem/1.4 Outfit, sans-serif; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 22px 18px; }

/* ---------- CTA band ---------- */
.cta { text-align: center; background: linear-gradient(125deg, var(--app) 0%, var(--app-deep) 85%); color: #DDE8FF; border-radius: 28px; padding: 64px 28px; }
.cta h2 { color: #fff; }
.cta p { font-size: 1.15rem; max-width: 46ch; margin-inline: auto; }
.cta .hero-actions { justify-content: center; margin-bottom: 0; }

/* ---------- downloads ---------- */
.dl { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center; }
.dl-head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.dl-head img { width: 64px; height: 64px; }
.dl-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.dl-buttons .btn { min-height: 44px; }
@media (max-width: 700px) { .dl { grid-template-columns: 1fr; } }

/* ---------- order dialog ---------- */
dialog.order { border: 0; border-radius: 22px; padding: 0; width: min(560px, 100% - 24px); max-height: calc(100% - 24px); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); color: var(--text); }
dialog.order::backdrop { background: rgba(3, 4, 94, .55); backdrop-filter: blur(3px); }
.order-head { background: var(--navy); color: #fff; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; }
.order-head h2 { color: #fff; font-size: 1.4rem; margin: 0; }
.order-head button { background: none; border: 0; color: #fff; font-size: 1.8rem; cursor: pointer; line-height: 1; padding: 4px 8px; }
.order form { padding: 22px 26px 26px; display: grid; gap: 14px; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: .95rem; }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem "DM Sans", sans-serif; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(0, 119, 182, .15); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .row2 { grid-template-columns: 1fr; } }
.order-total { display: flex; justify-content: space-between; align-items: baseline; background: var(--bg); border-radius: 12px; padding: 14px 16px; font-weight: 600; color: var(--ink); }
.order-total strong { font: 800 1.5rem Outfit, sans-serif; }
.order .small { font-size: .88rem; color: var(--muted); margin: 0; }
.order .err { color: #B42318; font-size: .9rem; margin: 0; }

/* ---------- footer ---------- */
.site-foot { background: #02033F; color: #A9BCE6; padding: 64px 0 32px; margin-top: 88px; }
.site-foot a { color: #DDE8FF; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-brand img { height: 46px; width: auto; margin-bottom: 14px; }
.foot-base { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding-top: 22px; font-size: .9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* floating WhatsApp button (only shown when a number is set in config.js) */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #1FAF54; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float[hidden] { display: none; }

/* gentle fade-in as things scroll into view */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.seen { opacity: 1; transform: none; }
}

/* ---------- small helpers ---------- */
.center-h1 { max-width: 20ch; margin-inline: auto; }
.center-lead { margin-inline: auto; max-width: 52ch; }
.center-actions { justify-content: center; }
.hero-pad { height: 64px; }
.small-note { color: var(--muted); font-size: .95rem; margin-top: 24px; }
.phone-solo { max-width: 300px; margin-inline: auto; }
code { background: rgba(0, 0, 0, .06); padding: 1px 6px; border-radius: 6px; font-size: .9em; }

/* "SIKASEM invoicing has moved" bar, for browsers that used the app at this address */
.moved-bar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: center; padding: 10px 16px; background: var(--sky); color: var(--navy); font-size: 15px; text-align: center; }
.moved-bar .btn { padding: 6px 14px; font-size: 14px; }
