/* =========================================================
   Dateksoft Technologies — styles
   Line-illustration style: navy ink lines on white, with the
   logo orange as the accent and soft green / peach fills.
   Font: Rubik. Light theme by default, dark on request.
   ========================================================= */

/* ---------- colours ---------- */
:root {
  --bg: #FBFBFD;
  --soft: #F2F4F8;
  --paper: #FFFFFF;
  --ink: #1E2A44;          /* text and drawing lines */
  --muted: #5C6880;
  --line: #E1E5EE;
  --orange: #E8601A;
  --orange-text: #C24E12;  /* orange that is readable as small text */
  --green: #DCEBD8;
  --peach: #FDE3D1;
  --sky: #DDE8F7;
  --nav-bg: rgba(236, 239, 244, .96);
  --btn-text: #FFFFFF;
  --ok: #1D7A46;
  --err: #C62828;
  --font: 'Rubik', 'Noto Sans Tamil', 'Noto Sans Devanagari', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #121826;
  --soft: #172033;
  --paper: #1A2335;
  --ink: #E4E9F2;
  --muted: #A2ADC2;
  --line: #2A3550;
  --orange: #F07A3A;
  --orange-text: #F59A66;
  --green: #24412F;
  --peach: #4A2E20;
  --sky: #1F3150;
  --nav-bg: rgba(26, 33, 50, .96);
  --btn-text: #121826;
  --ok: #7CC79A;
  --err: #F28B82;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16.5px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1180px; 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: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.logo-on-dark { display: none; }
[data-theme="dark"] .logo-on-light { display: none; }
[data-theme="dark"] .logo-on-dark { display: block; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 40px; border: 2px solid transparent; font-weight: 500; font-size: 16px; cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
.btn-ink { background: var(--ink); color: var(--btn-text); }
.btn-ink:hover { background: var(--orange); color: #fff; }
.btn-line { border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--btn-text); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- line illustrations ---------- */
.ill { width: 100%; height: auto; overflow: visible; }
.ill .ln { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ill .acc { stroke: var(--orange); }
.ill .fill-green { fill: var(--green); }
.ill .fill-peach { fill: var(--peach); }
.ill .flow path { fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-dasharray: 7 9; stroke-linecap: round; animation: flow 1.2s linear infinite; }
.ill .dots circle { fill: var(--orange); }
.ill .bars rect { fill: var(--sky); stroke: var(--ink); stroke-width: 2.5; transform-box: fill-box; transform-origin: bottom; animation: bar 3.2s ease-in-out infinite; }
.ill .bars rect:nth-child(2) { animation-delay: .4s; }
.ill .bars rect:nth-child(3) { animation-delay: .8s; }
.ill .bars rect:nth-child(4) { animation-delay: 1.2s; fill: var(--peach); }
.ill .gear { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; transform-box: fill-box; transform-origin: center; animation: spin 8s linear infinite; }
.ill .flag { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linejoin: round; }
.ill .flag { animation: wave 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: left center; }
.ill .labels text { font-family: var(--font); font-size: 15px; font-weight: 500; fill: var(--muted); text-anchor: middle; }
.ill .labels text.start { text-anchor: start; }
@keyframes flow { to { stroke-dashoffset: -32; } }
@keyframes bar { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.55); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wave { 0%, 100% { transform: skewY(0); } 50% { transform: skewY(-8deg); } }

/* lines draw themselves in when they come into view (main.js sets pathLength="1") */
html:not(.no-js) .anim .ln > * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s cubic-bezier(.45, .05, .25, 1); }
html:not(.no-js) .anim.in .ln > * { stroke-dashoffset: 0; }
html:not(.no-js) .anim .fill-green, html:not(.no-js) .anim .fill-peach { fill-opacity: 0; transition: fill-opacity .8s 2s; }
html:not(.no-js) .anim.in .fill-green, html:not(.no-js) .anim.in .fill-peach { fill-opacity: 1; }
/* flow lines, dots, bars, gear, flag and labels fade in once the drawing has finished */
html:not(.no-js) .anim .after { opacity: 0; transition: opacity .7s 2.6s; }
html:not(.no-js) .anim.in .after { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html:not(.no-js) .anim .ln > * { stroke-dashoffset: 0; }
  html:not(.no-js) .anim .fill-green, html:not(.no-js) .anim .fill-peach { fill-opacity: 1; }
  html:not(.no-js) .anim .after { opacity: 1; }
  .ill .dots, .pipe-dot { display: none; }
}

/* ---------- navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.nav.scrolled { box-shadow: 0 6px 18px rgba(30, 42, 68, .08); }
.nav-in { display: flex; align-items: center; gap: 26px; min-height: 72px; }
.logo { flex-shrink: 0; }
.logo img { width: 124px; height: auto; }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a { font-size: 15px; font-weight: 500; white-space: nowrap; position: relative; padding: 4px 0; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.links a:hover::after { transform: scaleX(1); }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.lang-select { height: 38px; padding: 0 28px 0 12px; border-radius: 20px; border: 1.5px solid var(--line); background: transparent; font-size: 14px; cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 15px) 16px, calc(100% - 11px) 16px; background-size: 4px 4px; background-repeat: no-repeat; }
.lang-select option { background: var(--paper); color: var(--ink); }
.icon-btn { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; cursor: pointer; }
.icon-btn:hover { border-color: var(--ink); }
.theme-btn .moon { display: none; }
[data-theme="dark"] .theme-btn .sun { display: none; }
[data-theme="dark"] .theme-btn .moon { display: block; }
.nav-quote { min-height: 40px; padding: 0 18px; font-size: 15px; }
.menu-btn { display: none; }
.mobile { display: none; padding: 6px 20px 20px; border-top: 1px solid var(--line); background: var(--bg); }
.mobile.open { display: grid; }
.mobile a { padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.mobile .btn { margin-top: 16px; border-bottom: 0; }

/* ---------- hero ---------- */
.hero { padding-top: 56px; padding-bottom: 20px; overflow: hidden; }
.hero h1 { font-size: clamp(36px, 4.6vw, 62px); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 20px; }
html[lang="ta"] .hero h1, html[lang="hi"] .hero h1 { font-size: clamp(28px, 3.8vw, 46px); line-height: 1.35; }
.lead { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--muted); max-width: 680px; margin: 0 auto; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-ill { max-width: 1240px; margin: 34px auto 0; padding: 0 20px; }
.hl-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 56px 0 30px; }
.hl-row li { display: flex; gap: 12px; align-items: flex-start; padding: 20px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 16px; }
.hl-row svg { flex-shrink: 0; color: var(--orange); margin-top: 2px; }
.hl-row b { display: block; font-weight: 600; }
.hl-row span { color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.soft { background: var(--soft); }
.sec-head { margin-bottom: 48px; max-width: 760px; }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.kicker { font-size: 15px; font-weight: 500; color: var(--orange-text); margin-bottom: 10px; display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 26px; border-top: 2px dashed var(--orange); }
.h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; letter-spacing: -.01em; }
.h3 { font-size: 24px; margin-top: 26px; }
html[lang="ta"] .h2, html[lang="hi"] .h2 { font-size: clamp(24px, 2.8vw, 33px); line-height: 1.4; }
.sub { color: var(--muted); font-size: 17.5px; margin-top: 12px; }

/* services */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.svc { background: var(--paper); border: 1.5px solid var(--line); border-radius: 18px; padding: 30px; display: grid; grid-template-columns: 150px 1fr; gap: 26px; transition: border-color .2s; }
.svc:hover { border-color: var(--ink); }
.svc .ill { width: 150px; }
.svc h3 { font-size: 21px; }
.svc > div > p { color: var(--muted); margin: 6px 0 14px; font-size: 15.5px; }
.svc li { display: flex; gap: 10px; padding: 7px 0; border-top: 1px dashed var(--line); font-size: 15px; }
.svc li b { font-weight: 500; }
.svc li::before { content: ""; flex-shrink: 0; width: 7px; height: 7px; margin-top: 9px; border-radius: 50%; border: 2px solid var(--orange); }
.svc-link { display: inline-block; margin-top: 14px; font-weight: 500; color: var(--orange-text); }
.svc-link:hover { text-decoration: underline; }

/* process pipeline */
.pipeline { position: relative; }
.pipe-line { position: absolute; left: 12.5%; right: 12.5%; top: 46px; width: 75%; height: 20px; overflow: visible; }
.pipe-line path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 6 8; vector-effect: non-scaling-stroke; }
.pipe-dot { fill: var(--orange); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps li { text-align: center; }
.step-ic { width: 112px; height: 112px; margin: 0 auto 18px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); display: grid; place-items: center; position: relative; }
.step-ic .ill { width: 64px; }
.step-no { position: absolute; top: -4px; right: -4px; width: 32px; height: 32px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 600; font-size: 14px; display: grid; place-items: center; }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15px; max-width: 240px; margin: 0 auto; }

/* education */
.edu { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tabs button { padding: 8px 18px; border-radius: 30px; border: 1.5px solid var(--line); background: transparent; font-weight: 500; cursor: pointer; }
.tabs button:hover { border-color: var(--ink); }
.tabs button.on { background: var(--ink); border-color: var(--ink); color: var(--btn-text); }
.accr { margin-top: 18px; padding-left: 14px; border-left: 3px solid var(--orange); color: var(--muted); font-size: 15.5px; }
.accr b { color: var(--ink); font-weight: 600; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 26px; }
.pills span { border: 1.5px solid var(--line); border-radius: 20px; padding: 4px 12px; font-size: 14px; font-weight: 500; background: var(--paper); }
.window { background: var(--paper); border: 2px solid var(--ink); border-radius: 16px; overflow: hidden; box-shadow: 8px 8px 0 var(--sky); }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 2px solid var(--ink); font-size: 14px; font-weight: 500; }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--ink); }
.win-bar i:first-child { background: var(--orange); border-color: var(--orange); }
.win-bar span { margin-left: 10px; color: var(--muted); }
.mods { padding: 10px 22px 18px; }
.mods li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-weight: 500; opacity: 0; transform: translateX(-8px); animation: modIn .4s forwards; }
.mods li:last-child { border-bottom: 0; }
.mods .chk { flex-shrink: 0; width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 6px; display: grid; place-items: center; }
.mods .chk svg { color: var(--orange); }
@keyframes modIn { to { opacity: 1; transform: none; } }

/* work */
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.work { background: var(--paper); border: 1.5px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.work:hover { border-color: var(--ink); transform: translateY(-3px); }
.work .ill { width: 110px; margin-bottom: 14px; }
.work small { color: var(--orange-text); font-weight: 500; font-size: 13.5px; }
.work h3 { font-size: 18px; margin: 4px 0 8px; }
.work p { color: var(--muted); font-size: 15px; }
.work .pills { margin: auto 0 0; padding-top: 14px; }
.work .pills span { font-size: 12.5px; padding: 2px 10px; }

/* about */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why { border-top: 2px solid var(--ink); padding-top: 20px; }
.why .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--sky); display: grid; place-items: center; margin-bottom: 14px; color: var(--ink); }
.why:nth-child(2) .ic { background: var(--peach); }
.why:nth-child(3) .ic { background: var(--green); }
.why:nth-child(4) .ic { background: var(--soft); border: 1.5px solid var(--line); }
.why h3 { font-size: 18px; margin-bottom: 6px; }
.why p { color: var(--muted); font-size: 15px; }
.stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 56px; padding-top: 34px; border-top: 1.5px dashed var(--line); }
.stack h3 { font-size: 16px; }
.stack .pills { margin: 12px 0 0; }

/* faq */
.faq-wrap { max-width: 880px; }
.faq details { border-bottom: 1.5px solid var(--line); }
.faq details:first-child { border-top: 1.5px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 500; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--ink);
  background: linear-gradient(var(--ink), var(--ink)) center/10px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center/2px 10px no-repeat; transition: transform .25s, background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); border-color: var(--orange); background-color: var(--orange);
  background-image: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff); }
.faq .ans { color: var(--muted); padding: 0 40px 22px 0; }

/* cta */
.cta { padding: 20px 0 0; }
.cta-in { display: grid; grid-template-columns: 220px 1fr auto; gap: 40px; align-items: center; border: 2px solid var(--ink); border-radius: 22px; padding: 30px 40px; background: var(--paper); box-shadow: 8px 8px 0 var(--peach); }
.cta h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; }
.cta p { color: var(--muted); margin-top: 6px; }

/* contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.c-list { margin-top: 32px; }
.c-list li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-top: 1px dashed var(--line); }
.c-list svg { flex-shrink: 0; color: var(--orange); margin-top: 3px; }
.c-list small { display: block; color: var(--muted); font-size: 13.5px; }
.c-list a { font-weight: 500; }
.c-list a:hover { color: var(--orange-text); }
.quote-form .win-bar span { color: var(--ink); }
.form-body { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; padding: 26px; }
.field { display: grid; gap: 6px; }
.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; }
.req { color: var(--orange); }
.inp { width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); font-size: 15.5px; }
.inp:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(232, 96, 26, .18); }
.inp[aria-invalid="true"] { border-color: var(--err); }
textarea.inp { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.form-note { font-size: 13.5px; color: var(--muted); }
.form-note a { text-decoration: underline; }
.form-status { font-weight: 500; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }

/* footer */
.footer { margin-top: 40px; border-top: 0; font-size: 15px; }
.foot-ill { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.foot-ill .ln { stroke-width: 2.5; }
.foot-ill .flow path { stroke-width: 2; }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding-top: 40px; padding-bottom: 30px; }
.f-logo img { width: 140px; height: auto; margin-bottom: 12px; }
.footer p { color: var(--muted); }
.footer h3 { font-size: 15px; margin-bottom: 12px; }
.f-grid > div > a { display: block; padding: 3px 0; color: var(--muted); }
.footer a:hover { color: var(--orange-text); }
.f-bottom { border-top: 1px dashed var(--line); padding-top: 18px; padding-bottom: 26px; color: var(--muted); font-size: 14px; }

/* WhatsApp button */
.wa-btn { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: #1E9E52; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--green); transition: transform .2s; }
.wa-btn:hover { transform: translateY(-2px); }

/* ---------- simple pages (privacy, 404) ---------- */
.page { max-width: 780px; margin: 0 auto; padding: 64px 20px 96px; }
.page h1 { font-size: clamp(32px, 4.4vw, 44px); font-weight: 700; margin-bottom: 14px; }
.page h2 { font-size: 21px; margin: 36px 0 10px; }
.page p, .page li { color: var(--muted); }
.page p + p, .page ul, .page ul + p { margin-top: 10px; }
.page ul { padding-left: 20px; list-style: disc; }
.page a { color: var(--orange-text); text-decoration: underline; }
.page .btn { text-decoration: none; color: var(--btn-text); }
.page .eyebrow { color: var(--orange-text); font-weight: 500; }
.page-nav .nav-in { justify-content: space-between; }
.page-nav .back { font-weight: 500; border: 1.5px solid var(--line); border-radius: 30px; padding: 8px 16px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .links, .nav-quote { display: none; }
  .menu-btn { display: inline-grid; }
  .nav-tools { margin-left: auto; }
  .work-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .edu, .contact { grid-template-columns: 1fr; gap: 44px; }
  .hl-row { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .pipe-line { display: none; }
  .stack { grid-template-columns: 1fr; }
  .cta-in { grid-template-columns: 1fr; text-align: center; }
  .cta-ill { max-width: 200px; margin: 0 auto; }
  .f-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 68px 0; }
  .hero { padding-top: 36px; }
  .hero-ill { margin-top: 26px; padding: 0 8px; }
  .ill .labels text { font-size: 21px; }
  .svc { grid-template-columns: 1fr; padding: 24px; }
  .svc .ill { width: 120px; }
  .hl-row, .work-grid, .why-grid, .steps, .f-grid { grid-template-columns: 1fr; }
  .form-body { grid-template-columns: 1fr; padding: 20px; }
  .cta-in { padding: 26px 22px; }
  .wa-btn { right: 14px; bottom: 14px; width: 50px; height: 50px; }
}
@media print { .nav, .wa-btn, .quote-form, .cta { display: none; } }

@media (max-width: 1320px) { html[lang="ta"] .nav-quote { display: none; } }

/* ---------- photos ---------- */
.ph { margin: 0; overflow: hidden; border-radius: 18px; background: var(--soft); position: relative; }
.ph img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s cubic-bezier(.2,.8,.2,1); }
html:not(.no-js) .ph { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
html:not(.no-js) .ph.in { opacity: 1; transform: none; }
.ph.in img { transform: scale(1); }
.ph-main img { animation: kenburns 18s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08) translate(-1.5%, -1%); } }
@keyframes floatcard { 50% { transform: translateY(-10px); } }
.svc { grid-template-columns: 200px 1fr; }
.svc-ph { height: 100%; min-height: 200px; }
.step-ic { overflow: visible; }
.step-ph { position: absolute; inset: 0; border-radius: 50%; }
.work-ph { height: 150px; margin-bottom: 16px; border-radius: 14px; }
.edu-side { display: grid; gap: 20px; }
.edu-ph { height: 220px; }
.cta-ph { height: 150px; border-radius: 16px; }
.ph:hover img { transform: scale(1.05); }
@media (max-width: 600px) { .svc { grid-template-columns: 1fr; } .svc-ph { min-height: 180px; } .cta-ph { height: 160px; } }
@media (prefers-reduced-motion: reduce) { html:not(.no-js) .ph { opacity: 1; transform: none; } .ph img { transform: none !important; animation: none !important; } }
.step-no { z-index: 2; }

/* ---------- hero: text left, photos right ---------- */
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.hero .lead { margin: 0; max-width: 540px; }
.hero-visual { position: relative; padding: 28px 28px 28px 0; }
.ph-main { aspect-ratio: 4 / 3.4; border-radius: 28px; box-shadow: 0 30px 60px rgba(30, 42, 68, .18); }
.ph-main img { animation: kenburns 18s ease-in-out infinite alternate; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-text { text-align: center; } .hero .lead { margin: 0 auto; } .hero-ctas { justify-content: center; }
  .hero-visual { max-width: 640px; margin: 0 auto; width: 100%; }
}
@media (max-width: 600px) {
  .hero-visual { padding: 18px 18px 18px 0; }
    }

/* ---------- smooth reveal on scroll ---------- */
html:not(.no-js) .rv { opacity: 0; transform: translateY(32px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); will-change: opacity, transform; }
html:not(.no-js) .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html:not(.no-js) .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- hero extras ---------- */
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: 15px; color: var(--muted); font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  background: var(--orange) 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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center/12px no-repeat; }
.deco { position: absolute; pointer-events: none; z-index: 0; }
.hero-visual .ph-main { position: relative; z-index: 1; }
.deco-dots { right: 0; bottom: 0; width: 46%; height: 52%; border-radius: 24px;
  background-image: radial-gradient(var(--orange) 1.6px, transparent 1.8px); background-size: 18px 18px; opacity: .45; animation: dotsdrift 14s ease-in-out infinite alternate; }
.deco-ring { left: -26px; top: 6%; width: 120px; height: 120px; border-radius: 50%; border: 14px solid rgba(30, 111, 217, .22); animation: ringfloat 9s ease-in-out infinite; }
@keyframes dotsdrift { to { transform: translate(-10px, -12px); } }
@keyframes ringfloat { 50% { transform: translate(8px, 16px) scale(1.06); } }
@media (max-width: 960px) { .hero-points { justify-content: center; } }
@media (max-width: 600px) { .deco-ring { width: 80px; height: 80px; border-width: 10px; left: -10px; } .hero-points { flex-direction: column; align-items: center; gap: 8px; } }
@media (prefers-reduced-motion: reduce) { .deco { animation: none; } }
