/* Classic CRM public site - Minimalism, Inter, slate neutrals + safety-orange CTA, 8px grid, mobile-first.
   Brand colours come from Classic Website Settings via CSS variables set in the page <head>. */
:root {
	--brand: #C2410C; --brand-strong: #9A3412; --accent: #EA580C; --ink: #0F172A;
	--fg: #334155; --muted: #475569; --line: #E2E8F0; --bg: #F8FAFC; --card: #FFFFFF; --soft: #F1F5F9;
	--ok: #15803D; --err: #B91C1C; --radius: 12px; --shadow: 0 1px 2px rgba(15,23,42,.06), 0 8px 24px rgba(15,23,42,.06);
	--wrap: 1160px; --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s6: 48px; --s8: 64px; --s12: 96px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Tamil", sans-serif;
	font-size: 16px; line-height: 1.6; color: var(--fg); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 var(--s2); letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 600; }
p { margin: 0 0 var(--s2); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s2); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 16px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* buttons: 44px+ targets */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s1); min-height: 48px; padding: 12px 22px;
	border-radius: 10px; border: 2px solid transparent; font-family: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-strong); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-wa { background: #15803D; color: #fff; }
.btn-wa:hover { background: #166534; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line);
	backdrop-filter: saturate(1.4) blur(6px); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: var(--s2); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.125rem; }
.brand img { height: 40px; width: auto; }
.brand-mark { width: 36px; height: 36px; border-radius: 9px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.nav-links { display: none; gap: var(--s3); align-items: center; }
.nav-links a { color: var(--fg); text-decoration: none; font-weight: 500; padding: 10px 2px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--brand); }
.nav-cta { display: none; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line);
	border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 14px var(--s2); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 500; }
@media (min-width: 960px) {
	.nav-links, .nav-cta { display: flex; }
	.menu-btn, .mobile-menu { display: none !important; }
}

/* hero */
.hero { position: relative; background: var(--ink); color: #E2E8F0; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,23,42,.94) 0%, rgba(15,23,42,.78) 55%, rgba(15,23,42,.35) 100%); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .wrap { position: relative; z-index: 1; padding-top: var(--s8); padding-bottom: var(--s8); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero p.lead { font-size: 1.125rem; max-width: 56ch; color: #CBD5E1; }
.eyebrow { display: inline-block; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
	color: #FDBA74; margin-bottom: var(--s2); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s3); }
.trust { display: grid; grid-template-columns: 1fr; gap: var(--s2); margin-top: var(--s6); }
.trust-item { display: flex; gap: 12px; align-items: flex-start; color: #CBD5E1; font-size: .9375rem; }
.trust-item strong { color: #fff; display: block; }
.trust-item .icon { color: #FDBA74; margin-top: 3px; }
@media (min-width: 720px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust { grid-template-columns: repeat(4, 1fr); } .hero .wrap { padding-top: var(--s12); padding-bottom: var(--s12); } }

/* sections */
section.block { padding: var(--s8) 0; }
section.block.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s2); margin-bottom: var(--s4); }
.section-head p { max-width: 60ch; color: var(--muted); margin: 0; }
.grid { display: grid; gap: var(--s3); grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* service cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex;
	flex-direction: column; transition: border-color .2s ease, box-shadow .2s ease; }
.card:hover { border-color: #CBD5E1; box-shadow: var(--shadow); }
.card-media { aspect-ratio: 16 / 10; background: var(--soft); display: grid; place-items: center; color: var(--muted); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media .icon { width: 48px; height: 48px; stroke-width: 1.5; color: var(--brand); }
.card-body { padding: var(--s3); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { margin: 0; }
.card-body h3 a { color: var(--ink); text-decoration: none; }
.card-body h3 a:hover { text-decoration: underline; }
.chip { display: inline-flex; align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--muted);
	font-size: .75rem; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: var(--s2); }
.card-actions .btn { min-height: 44px; padding: 10px 14px; font-size: .9375rem; flex: 1 1 auto; }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s3); }
.filter { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--fg);
	font-family: inherit; font-weight: 500; font-size: .9375rem; cursor: pointer; }
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.search { width: 100%; max-width: 360px; }

/* process + lists */
.steps { counter-reset: step; display: grid; gap: var(--s3); grid-template-columns: 1fr; padding: 0; list-style: none; margin: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-weight: 800; color: var(--brand); margin-bottom: 8px; }
.checks { list-style: none; padding: 0; margin: 0 0 var(--s3); display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .icon { color: var(--ok); margin-top: 3px; }

/* faq */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; color: var(--ink); min-height: 44px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.25rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 20px 16px; }

/* forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s3); box-shadow: var(--shadow); }
@media (min-width: 720px) { .form-card { padding: var(--s4); } }
.form-grid { display: grid; gap: var(--s2); grid-template-columns: 1fr; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: span 2; } }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: .9375rem; }
.field .hint { font-size: .8125rem; color: var(--muted); margin-top: 4px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #CBD5E1; border-radius: 10px;
	font-family: inherit; font-weight: 400; font-size: 1rem; color: var(--ink); background: #fff; }
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: 3px solid rgba(234,88,12,.25); outline-offset: 0; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--err); }
.field .error { color: var(--err); font-size: .8125rem; margin-top: 4px; display: none; }
.field.invalid .error { display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; }
.consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--brand); }
.honey { position: absolute !important; left: -5000px !important; }
.alert { padding: 14px 16px; border-radius: 10px; margin-bottom: var(--s2); }
.alert-error { background: #FEF2F2; color: #7F1D1D; border: 1px solid #FECACA; }
.alert-ok { background: #F0FDF4; color: #14532D; border: 1px solid #BBF7D0; }
.success-ref { font-size: 1.5rem; font-weight: 800; color: var(--ink); letter-spacing: .02em; }
.toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-bottom: var(--s3); }
.toggle button { min-height: 44px; padding: 8px 16px; border: 0; background: #fff; font-family: inherit; font-weight: 600; font-size: .9375rem; cursor: pointer; color: var(--fg); }
.toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* service detail */
.detail-hero { background: #fff; border-bottom: 1px solid var(--line); padding: var(--s6) 0; }
.detail-grid { display: grid; gap: var(--s6); grid-template-columns: 1fr; }
@media (min-width: 1024px) { .detail-grid { grid-template-columns: 1.6fr 1fr; } .detail-aside { position: sticky; top: 92px; align-self: start; } }
.crumbs { font-size: .875rem; color: var(--muted); margin-bottom: var(--s2); }
.crumbs a { color: var(--muted); }
.prose h2 { font-size: 1.375rem; margin-top: var(--s4); }
.prose ul { padding-left: 1.25rem; }
.media-frame { border-radius: var(--radius); overflow: hidden; background: var(--soft); aspect-ratio: 16 / 9; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.gallery img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; }
.demo-note { font-size: .8125rem; color: #92400E; background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 8px; padding: 8px 12px; display: inline-block; }

/* CTA band, footer, sticky mobile bar */
.cta-band { background: var(--ink); color: #CBD5E1; border-radius: var(--radius); padding: var(--s6) var(--s3); display: grid; gap: var(--s3); }
.cta-band h2 { color: #fff; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr 1fr; align-items: center; padding: var(--s6); } }
.site-footer { background: #0B1220; color: #94A3B8; padding: var(--s8) 0 calc(var(--s8) + 72px); margin-top: var(--s8); font-size: .9375rem; }
.site-footer h4 { color: #fff; font-size: 1rem; }
.site-footer a { color: #CBD5E1; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; gap: var(--s4); grid-template-columns: 1fr; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .site-footer { padding-bottom: var(--s6); } }
.foot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.legal { border-top: 1px solid #1E293B; margin-top: var(--s4); padding-top: var(--s3); display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: space-between; }
.mobile-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff;
	border-top: 1px solid var(--line); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
.mobile-bar a { min-height: 48px; font-size: .875rem; padding: 8px; }
@media (min-width: 800px) { .mobile-bar { display: none; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .mobile-bar, .site-footer { display: none; } }

/* ---------- hero slider + vector art (mobile-first) ---------- */
.hero-grid { display: grid; grid-template-columns: 1fr; gap: var(--s4); align-items: center; }
.hero .h1-like { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; color: #fff; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 var(--s2); max-width: 15ch; }
.slider { position: relative; min-height: 11.5rem; }
.slide[hidden] { display: none; }
.slide.is-entering { animation: cc-fade .45s ease both; }
.hero-art { position: relative; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: #1E293B;
	box-shadow: 0 24px 60px rgba(0,0,0,.35); order: 2; }
.hero-art .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; }
.hero-art .art.is-active { opacity: 1; }
.slider-controls { display: flex; align-items: center; gap: 8px; margin-top: var(--s3); }
.slider-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent;
	color: #fff; display: inline-grid; place-items: center; cursor: pointer; transition: background-color .2s ease; }
.slider-btn:hover { background: rgba(255,255,255,.1); }
.slider-btn .flip { transform: rotate(180deg); }
.dots { display: flex; gap: 4px; }
.dot { width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; padding: 0; }
.dot::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.35); transition: width .25s ease, background-color .25s ease; }
.dot[aria-current="true"]::before { width: 26px; background: var(--accent); }
.hero .wrap.trust-wrap { position: relative; z-index: 1; padding-top: 0; padding-bottom: var(--s6); }
.hero .wrap.hero-grid { padding-bottom: var(--s6); }
.hero .trust { margin-top: 0; }
@media (min-width: 960px) {
	.hero-grid { grid-template-columns: 1.05fr 1fr; gap: var(--s6); }
	.slider { min-height: 13rem; }
}
@keyframes cc-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.card-media img { transition: transform .35s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.steps li img { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 10px; margin-bottom: var(--s2); background: var(--soft); }
.soft-art, .page-art { width: 100%; height: auto; border-radius: 16px; }
.page-head { display: grid; gap: var(--s3); align-items: center; grid-template-columns: 1fr; }
.page-art { max-width: 420px; justify-self: start; }
@media (min-width: 860px) { .page-head { grid-template-columns: 1.3fr 1fr; } .page-art { justify-self: end; } }
.empty { text-align: center; padding: var(--s4) var(--s2); color: var(--muted); }
.empty img { width: 220px; height: auto; margin: 0 auto var(--s2); border-radius: 12px; }
.media-frame { aspect-ratio: 16 / 10; }
@media (max-width: 639px) { .card-media { aspect-ratio: 16 / 9; } .card-body { padding: var(--s2) var(--s2) var(--s3); } }
@media (prefers-reduced-motion: reduce) {
	.slide.is-entering { animation: none; }
	.hero-art .art, .card-media img { transition: none; }
	.card:hover .card-media img { transform: none; }
}

/* service detail header with art + compact process timeline */
.detail-head { display: grid; gap: var(--s4); grid-template-columns: 1fr; align-items: center; }
.detail-art { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--soft); box-shadow: var(--shadow); }
.detail-art img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) { .detail-head { grid-template-columns: 1.15fr 1fr; gap: var(--s6); } }
.timeline { list-style: none; margin: 0 0 var(--s3); padding: 0; counter-reset: tl; }
.timeline li { counter-increment: tl; position: relative; padding: 0 0 var(--s3) 56px; }
.timeline li::before { content: counter(tl); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
	background: var(--brand); color: #fff; font-weight: 700; display: grid; place-items: center; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; background: var(--line); }
.timeline h3 { margin: 6px 0 4px; font-size: 1rem; }
.timeline p { margin: 0; color: var(--muted); }
