/* ==========================================================================
   Abdul Rahim Tech Labs — main stylesheet
   ========================================================================== */

@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-var-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --tint: #f5f7fc;
  --dark: #0b1020;
  --dark-2: #121a33;
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --violet: #6d28d9;
  --cyan: #06b6d4;
  --cyan-light: #67e8f9;
  --green: #16a34a;
  --danger: #dc2626;
  --gradient: linear-gradient(135deg, #4338ca 0%, #6d28d9 55%, #06b6d4 100%);

  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow: 0 10px 30px -10px rgba(15, 23, 42, .18);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, .35);
  --header-h: 72px;
  --container: 1180px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
ul, ol { padding: 0; margin: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.muted { color: var(--muted); }
.big { font-size: 1.15rem; }
.break { word-break: break-all; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.gradient-text { background: linear-gradient(90deg, #a5b4fc, var(--cyan-light)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: .8rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 14px;
}
.eyebrow--light { color: var(--cyan-light); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 10px 25px -8px rgba(79, 70, 229, .6); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 30px -8px rgba(79, 70, 229, .7); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; background: #1e293b; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--primary-dark); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background-color .25s ease, box-shadow .25s ease;
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 52px; width: auto; }
.brand-logo--dark { display: none; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav ul a {
  display: block; padding: 8px 14px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 500; font-size: .95rem;
  color: rgba(255, 255, 255, .82);
}
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); }

.site-header.is-solid { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-solid .brand-logo--dark { display: block; }
.site-header.is-solid .brand-logo--light { display: none; }
.site-header.is-solid .site-nav ul a { color: var(--text); }
.site-header.is-solid .site-nav ul a:hover, .site-header.is-solid .site-nav ul a[aria-current="page"] { color: var(--primary-dark); background: #eef2ff; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.site-header.is-solid .nav-toggle { color: var(--ink); border-color: var(--line); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero, .page-hero {
  position: relative; overflow: hidden; color: #cbd5e1;
  background-color: var(--dark);
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero h1, .page-hero h1 { color: #fff; }
.hero-glow { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(109, 40, 217, .45), transparent 70%),
    radial-gradient(500px 380px at 5% 95%, rgba(6, 182, 212, .25), transparent 70%);
}
.hero { padding: calc(var(--header-h) + 72px) 0 96px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.lead { font-size: 1.15rem; color: #cbd5e1; max-width: 40em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 28px; }
.hero-actions--center { justify-content: center; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .icon { color: #22c55e; width: 18px; height: 18px; }

.page-hero { padding: calc(var(--header-h) + 72px) 0 80px; }
.page-hero .container { position: relative; }
.page-hero--short { padding-bottom: 64px; }
.page-hero--center { text-align: center; padding-bottom: 110px; }
.page-hero--center .lead { margin: 0 auto; }
.big-code { font-family: var(--font-head); font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; margin: 0 0 12px; }
.success-badge { display: inline-flex; width: 76px; height: 76px; border-radius: 50%; align-items: center; justify-content: center; background: rgba(34, 197, 94, .15); color: #22c55e; margin-bottom: 20px; }
.success-badge .icon { width: 38px; height: 38px; }

/* Hero mockup */
.hero-visual { position: relative; min-height: 420px; }
.mock-browser {
  position: absolute; top: 10px; left: 0; right: 40px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1f5f9; border-bottom: 1px solid var(--line); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #fca5a5; }
.mock-bar span:nth-child(2) { background: #fcd34d; }
.mock-bar span:nth-child(3) { background: #86efac; }
.mock-bar i { margin-left: 12px; font-style: normal; font-size: .75rem; color: var(--muted); background: #fff; padding: 2px 12px; border-radius: 6px; flex: 1; }
.mock-body { padding: 18px; }
.mock-nav { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.mock-nav b { width: 70px; height: 12px; border-radius: 6px; background: var(--gradient); margin-right: auto; }
.mock-nav em { width: 34px; height: 8px; border-radius: 4px; background: #e2e8f0; }
.mock-hero { padding: 22px; border-radius: 10px; background: linear-gradient(135deg, #eef2ff, #ecfeff); margin-bottom: 16px; }
.mock-hero b { display: block; height: 14px; border-radius: 7px; background: #1e293b; width: 75%; margin-bottom: 10px; }
.mock-hero b + b { width: 50%; background: #475569; }
.mock-hero em { display: block; width: 90px; height: 26px; border-radius: 13px; background: var(--gradient); margin-top: 16px; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-cards span { height: 64px; border-radius: 10px; background: #f1f5f9; border: 1px solid var(--line); }
.mock-phone {
  position: absolute; right: 0; bottom: 0; width: 170px; height: 330px;
  background: #0f172a; border-radius: 30px; padding: 10px; box-shadow: var(--shadow-lg);
  border: 2px solid #334155;
}
.mock-notch { width: 60px; height: 14px; border-radius: 0 0 10px 10px; background: #0f172a; margin: -10px auto 0; position: relative; z-index: 1; }
.mock-app { height: calc(100% - 4px); border-radius: 22px; background: linear-gradient(180deg, #1e1b4b, #0b1020); display: flex; flex-direction: column; align-items: center; padding: 34px 16px 18px; gap: 10px; }
.mock-app img { width: 52px; height: 52px; margin-bottom: 10px; }
.mock-app b { width: 80%; height: 10px; border-radius: 5px; background: #e2e8f0; }
.mock-app em { width: 60%; height: 8px; border-radius: 4px; background: #475569; }
.mock-btn { margin-top: auto; width: 100%; height: 34px; border-radius: 17px; background: var(--gradient); }
.mock-chip {
  position: absolute; display: flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .96); color: var(--ink);
  font-family: var(--font-head); font-size: .82rem; font-weight: 600;
  padding: 10px 14px; border-radius: 12px; box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.mock-chip .icon { width: 18px; height: 18px; color: var(--primary); }
.mock-chip--a { left: -18px; bottom: 70px; }
.mock-chip--b { right: 120px; top: -10px; animation-delay: -3s; }
.mock-chip--b .icon { color: var(--green); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--dark-2); color: #cbd5e1; border-top: 1px solid rgba(255, 255, 255, .06); }
.trust-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 26px; padding-bottom: 26px; }
.trust-inner > div { display: flex; align-items: center; gap: 14px; font-size: .9rem; line-height: 1.4; }
.trust-inner .icon { width: 28px; height: 28px; color: var(--cyan-light); }
.trust-inner strong { display: block; color: #fff; font-family: var(--font-head); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--tint { background: var(--tint); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head p:last-child { color: var(--muted); font-size: 1.05rem; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.service-card, .value-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; color: var(--text);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #c7d2fe; color: var(--text); }
.service-card p, .value-card p { color: var(--muted); font-size: .95rem; }
.service-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 20px; flex-shrink: 0;
  background: linear-gradient(135deg, #eef2ff, #ecfeff); color: var(--primary-dark);
}
.service-icon .icon { width: 26px; height: 26px; }
.service-icon--lg { width: 64px; height: 64px; border-radius: 18px; }
.service-icon--lg .icon { width: 30px; height: 30px; }
.service-icon--green { background: #dcfce7; color: var(--green); }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--primary); }
.card-link .icon { width: 16px; height: 16px; transition: transform .2s ease; }
.service-card:hover .card-link .icon { transform: translateX(4px); }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.split--top { align-items: start; grid-template-columns: 1.3fr 1fr; }
.feature-list { display: grid; gap: 20px; }
.feature { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature h3 { margin-bottom: 4px; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--gradient); color: #fff; flex-shrink: 0; }
.feature-icon .icon { width: 22px; height: 22px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.steps li { position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }
.step-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; line-height: 1; margin-bottom: 16px; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

.tech-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 0 auto; }
.tech-list li { padding: 10px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: var(--ink); box-shadow: var(--shadow-sm); }

/* ---------- CTA ---------- */
.cta { padding: 0 0 96px; }
.section--tint + .cta { padding-top: 80px; }
.cta-inner {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: var(--gradient); border-radius: 24px; padding: 56px; color: #e0e7ff;
}
.cta-inner::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { margin: 0; font-size: 1.05rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }

/* ---------- Services page ---------- */
.service-detail-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service-detail { display: flex; gap: 24px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.service-detail h2 { font-size: 1.35rem; margin-bottom: 8px; }
.check-list { display: grid; gap: 8px; margin: 18px 0 22px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; }
.check-list .icon { color: var(--green); width: 18px; height: 18px; margin-top: 4px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; }
.text-link .icon { width: 16px; height: 16px; }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-family: var(--font-head); font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--primary); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* ---------- About page ---------- */
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 1.05rem; }
.prose ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.prose li { margin-bottom: .5em; }
.prose--narrow { max-width: 820px; }
.info-card { background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; position: sticky; top: calc(var(--header-h) + 24px); }
.info-card img { width: 56px; height: 56px; margin-bottom: 16px; }
.info-card dl { margin: 0; display: grid; gap: 14px; }
.info-card dl div { border-top: 1px solid var(--line); padding-top: 12px; }
.info-card dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.info-card dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--text); transition: border-color .2s ease, box-shadow .2s ease; }
.contact-card:hover { border-color: #c7d2fe; box-shadow: var(--shadow); color: var(--text); }
.contact-card .service-icon { margin: 0; }
.contact-card strong { display: block; font-family: var(--font-head); color: var(--ink); }
.contact-card > span:last-child { font-size: .95rem; line-height: 1.5; min-width: 0; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.6rem; margin-bottom: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid #cbd5e1; border-radius: var(--radius-sm); padding: 12px 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(79, 70, 229, .15); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field-error { display: block; color: var(--danger); font-size: .85rem; margin-top: 4px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin: 4px 0 22px; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--primary); flex-shrink: 0; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 14px 16px; border-radius: var(--radius-sm); margin: 16px 0; font-weight: 500; }
.form-alert.is-success { background: #dcfce7; color: #166534; }
.form-alert.is-error { background: #fee2e2; color: #991b1b; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #94a3b8; padding: 72px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 18px; }
.footer-title { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 16px; }
.footer-links { display: grid; gap: 10px; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.footer-contact { display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--cyan-light); margin-top: 4px; }
.udyam-badge { display: inline-flex; align-items: center; gap: 4px 8px; flex-wrap: wrap; font-size: .82rem; padding: 8px 12px; border-radius: 8px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #cbd5e1; }
.udyam-badge .icon { width: 16px; height: 16px; color: #fbbf24; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 22px; padding-bottom: 22px; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* WhatsApp floating button */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 25px -5px rgba(37, 211, 102, .6);
  transition: transform .2s ease;
}
.wa-float:hover { color: #fff; transform: scale(1.08); }
.wa-float .icon { width: 28px; height: 28px; }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    background: #fff; padding: 16px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { color: var(--text); padding: 12px 14px; border-radius: 10px; }
  .site-nav ul a:hover, .site-nav ul a[aria-current="page"] { color: var(--primary-dark); background: #eef2ff; }
  .site-nav .btn { width: 100%; }

  .hero-grid, .split, .split--top, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .hero-visual { max-width: 520px; width: 100%; margin: 0 auto; }
  .info-card { position: static; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail-list { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; padding: 40px; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .container { padding: 0 16px; }
  .brand-logo { height: 44px; }
  .hero { padding: calc(var(--header-h) + 48px) 0 64px; }
  .page-hero { padding: calc(var(--header-h) + 48px) 0 56px; }
  .lead { font-size: 1.05rem; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 340px; }
  .mock-browser { right: 24px; }
  .mock-phone { width: 130px; height: 250px; border-radius: 24px; }
  .mock-app { padding-top: 24px; }
  .mock-app img { width: 40px; height: 40px; }
  .mock-chip--a { left: 0; bottom: 30px; }
  .mock-chip--b { right: 80px; }
  .trust-inner { grid-template-columns: 1fr; gap: 16px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .card-grid, .card-grid--4, .steps { grid-template-columns: 1fr; }
  .service-detail { flex-direction: column; padding: 24px; gap: 4px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 24px 20px; }
  .cta { padding-bottom: 64px; }
  .section--tint + .cta { padding-top: 64px; }
  .cta-inner { padding: 32px 24px; border-radius: 20px; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
