/* nexoratechnologies.org.in — light theme only.
   Text colours are chosen for WCAG AA on the backgrounds they sit on
   (ratios beside each token, measured against --bg #faf8f5; every accent also
   passes 4.5:1 on --bg-2 and on its own --accent-soft tint).
   Bright accent shades (--accent-2) are decoration only, never text. */
:root {
  --bg: #faf8f5;
  --bg-2: #f3eee7;
  --surface: #ffffff;
  --ink: #17130f;        /* 17.9:1 */
  --ink-2: #3d3832;      /* 11.0:1 */
  --muted: #5f5851;      /*  6.6:1 */
  --line: #e4ddd3;
  --line-2: #d3cabd;
  --orange: #b43c0a;     /*  5.5:1, 5.1:1 on --bg-2 */
  --green: #13703a;      /*  5.8:1, 5.3:1 on --bg-2 */
  --pink: #be185d;       /*  5.9:1 */
  --violet: #6d28d9;     /*  6.7:1 */
  --blue: #1d4ed8;       /*  6.4:1 */
  --wa: #157a3f;         /* white on it 5.4:1 */
  --accent: var(--orange);
  --accent-2: #f97316;
  --accent-soft: #fff1e7;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(23, 19, 15, .05), 0 12px 32px -12px rgba(23, 19, 15, .14);
  --shadow-lg: 0 2px 4px rgba(23, 19, 15, .05), 0 40px 80px -28px rgba(23, 19, 15, .28);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Segoe UI Variable Display", "SF Pro Display", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  color-scheme: light;
}
[data-accent="orange"] { --accent: var(--orange); --accent-2: #f97316; --accent-soft: #fff1e7; }
[data-accent="green"] { --accent: var(--green); --accent-2: #22c55e; --accent-soft: #eaf8ef; }
[data-accent="pink"] { --accent: var(--pink); --accent-2: #ec4899; --accent-soft: #fdeef5; }
[data-accent="violet"] { --accent: var(--violet); --accent-2: #8b5cf6; --accent-soft: #f2edfe; }
[data-accent="blue"] { --accent: var(--blue); --accent-2: #3b82f6; --accent-soft: #ebf1fe; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16.5px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; }
::selection { background: #fed7aa; color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 12px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Scroll progress (CSS only, where supported). */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, #f97316, #ec4899, #8b5cf6, #3b82f6); pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}

/* ---------------------------------------------------------------- header */
.top {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 18px;
  padding: 12px clamp(16px, 4vw, 48px); background: rgba(250, 248, 245, .9);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
@supports (backdrop-filter: blur(1px)) { .top { background: rgba(250, 248, 245, .78); backdrop-filter: saturate(1.6) blur(14px); } }
.top.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(23, 19, 15, .3); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -.01em; margin-right: auto; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand span { font-size: 16px; }
.mainnav { display: flex; align-items: center; gap: 4px; font-size: 14.5px; }
.mainnav a { text-decoration: none; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; transition: background .2s, color .2s; }
.mainnav a:hover { background: var(--bg-2); color: var(--ink); }
.mainnav a[aria-current="page"] { color: var(--ink); background: var(--bg-2); font-weight: 600; }
.mainnav .pill { margin-left: 6px; background: var(--ink); color: #fff; font-weight: 600; }
.mainnav .pill:hover, .mainnav .pill[aria-current="page"] { background: var(--orange); color: #fff; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
  border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 18px; height: 18px; }
.menu .x { display: none; }
.menu[open] .x { display: block; }
.menu[open] .bars { display: none; }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(92vw, 360px); padding: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
  display: grid; gap: 2px; animation: drop .35s var(--ease);
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.menu-panel a { display: flex; justify-content: space-between; align-items: center; padding: 13px 14px; border-radius: 12px;
  text-decoration: none; font-weight: 600; color: var(--ink); }
.menu-panel a small { font-weight: 400; color: var(--muted); font-size: 13px; }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: var(--bg-2); }
.menu-panel .menu-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.menu-panel .menu-cta a { justify-content: center; gap: 8px; color: #fff; }
.menu-panel .menu-cta .c { background: var(--orange); }
.menu-panel .menu-cta .w { background: var(--wa); }
.menu-panel .menu-cta svg { width: 18px; height: 18px; }
@media (max-width: 1180px) { .mainnav { display: none; } .menu { display: block; } }

/* ---------------------------------------------------------------- type + buttons */
h1, h2, h3 { font-family: var(--display); color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 4.25rem); line-height: 1.03; letter-spacing: -.035em; font-weight: 700; margin: 0 0 22px; }
h2 { font-size: clamp(1.85rem, 3.5vw, 3rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; margin: 0 0 14px; }
h3 { font-size: 1.28rem; line-height: 1.3; letter-spacing: -.015em; font-weight: 650; margin: 0 0 8px; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 32px; height: 2px; border-radius: 2px; background: var(--accent-2); }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.24rem); line-height: 1.65; color: var(--ink-2); max-width: 640px; margin: 0 0 30px; }
.sub { color: var(--muted); font-size: 1.06rem; max-width: 680px; margin: 0 0 40px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; border-radius: 999px; font-weight: 650; font-size: 15.5px; line-height: 1.1;
  text-decoration: none; border: 0; cursor: pointer; transition: transform .45s var(--ease), color .3s, box-shadow .3s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn .arr { transition: transform .45s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 12px 28px -14px rgba(23, 19, 15, .7); }
.btn-primary::before { background: var(--orange); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 12px 28px -14px rgba(21, 122, 63, .8); }
.btn-wa::before { background: #0f5f31; }
.btn-call { background: var(--orange); color: #fff; }
.btn-call::before { background: #9a3412; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: #fff; }
.go { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--accent); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 2px; transition: background-size .45s var(--ease); }
.go:hover { background-size: 100% 1.5px; }
.go span { transition: transform .4s var(--ease); }
.go:hover span { transform: translateX(4px); }

/* ---------------------------------------------------------------- layout */
.band { padding: clamp(64px, 9vw, 120px) clamp(16px, 5vw, 64px); max-width: 1260px; margin: 0 auto; }
.band.tint { max-width: none; background: var(--bg-2); }
.band.tint > .inner { max-width: 1132px; margin: 0 auto; }
.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: 40px; }
.head-row .sub { margin: 0; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* ---------------------------------------------------------------- hero (home) */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.6s ease; }
.hero-bg.ready { opacity: 1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -3;
  background: radial-gradient(60% 70% at 85% 30%, #fff3e8 0%, transparent 60%), radial-gradient(50% 60% at 70% 90%, #f1ecfd 0%, transparent 60%), var(--bg); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  max-width: 1260px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) clamp(16px, 5vw, 64px) clamp(40px, 6vw, 80px); min-height: min(86vh, 800px); }
.hero-copy { position: relative; z-index: 2; }
.hero h1 .ln { display: block; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; padding: 0; margin: 30px 0 0; }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  background: rgba(255, 255, 255, .85); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; }
.trust-row li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px #dcfce7; }
.stage { position: relative; height: clamp(360px, 46vw, 560px); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.nodes { position: absolute; inset: 0 0 0 auto; width: 46%; display: flex; flex-direction: column; justify-content: space-around;
  list-style: none; margin: 0; padding: 4% 0; z-index: 2; }
.nodes a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 16px; text-decoration: none;
  background: rgba(255, 255, 255, .94); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .3s, border-color .3s; }
.nodes a:hover { transform: translateX(-6px); border-color: var(--accent-2); box-shadow: var(--shadow-lg); }
.nodes .dot { width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.nodes .dot svg { width: 18px; height: 18px; }
.nodes b { display: block; font-size: 15px; color: var(--ink); line-height: 1.2; }
.nodes small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.nodes a.hit { border-color: var(--accent-2); }
.nodes a.hit .dot { animation: hit .7s var(--ease); }
@keyframes hit { 30% { transform: scale(1.18); box-shadow: 0 0 0 6px var(--accent-soft); } }

/* Hero intro: pure CSS so the first paint never waits on JavaScript.
   Starts at opacity .01 (not 0) so the headline stays an LCP candidate. */
@keyframes intro { from { opacity: .01; transform: translate3d(0, 22px, 0); } }
.intro { animation: intro 1.1s var(--ease) both; }
.intro.d1 { animation-delay: .08s; } .intro.d2 { animation-delay: .16s; } .intro.d3 { animation-delay: .24s; }
.intro.d4 { animation-delay: .32s; } .intro.d5 { animation-delay: .4s; }

/* Ticker of capabilities under the hero. */
.ticker { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.ticker ul { display: flex; gap: 44px; list-style: none; margin: 0; padding: 18px 22px; flex: none; }
.ticker li { display: inline-flex; align-items: center; gap: 14px; font-family: var(--display); font-size: 1.15rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.ticker li::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); margin-left: 30px; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------------------------------------------------------------- product rows (home) */
.prow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.prow:first-of-type { border-top: 0; }
.prow:nth-of-type(even) .prow-media { order: -1; }
.prow h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.03em; line-height: 1.1; margin-bottom: 12px; }
.prow .kicker svg { width: 16px; height: 16px; }
.prow .kicker { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 700; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 5px 12px; margin-bottom: 16px; }
.prow p { color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: calc(.3em + 4px); width: 5px; height: 9px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.prow-media { position: relative; }

/* Framed media: a browser window or device around a real screen. */
.frame { position: relative; margin: 0; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.frame .bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f6f3ee; border-bottom: 1px solid var(--line); }
.frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2dad0; }
.frame .bar i:nth-child(1) { background: #fca5a5; } .frame .bar i:nth-child(2) { background: #fcd34d; } .frame .bar i:nth-child(3) { background: #86efac; }
.frame .bar span { margin-left: 10px; font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px; }
.frame img { width: 100%; }
.frame figcaption { font-size: 13.5px; color: var(--muted); padding: 11px 16px; border-top: 1px solid var(--line); background: var(--surface); }
.floaty { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: 13.5px; font-weight: 600; color: var(--ink); animation: bob 6s ease-in-out infinite; }
.floaty small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.floaty .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.floaty .ic svg { width: 16px; height: 16px; }
.floaty.f1 { left: -18px; bottom: 16%; }
.floaty.f2 { right: -14px; top: 12%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.js .tilt.reveal { transform: perspective(1400px) rotateX(10deg) translateY(36px) scale(.96); transition: opacity 1s ease, transform 1.3s var(--ease); }
.js .tilt.reveal.in { transform: none; }

/* ---------------------------------------------------------------- scenes (animated SVG illustrations) */
.scene { margin: 0; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(14px, 2.5vw, 26px); }
.scene svg { display: block; width: 100%; height: auto; }
.band > .scene { max-width: 780px; margin-inline: auto; }
.scene figcaption { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.scene .t { font: 600 13px var(--sans); fill: var(--ink); }
.scene .ts { font: 12px var(--sans); fill: var(--muted); }
.scene .tb { font: 700 15px var(--display); fill: var(--ink); }
.scene .pulse { animation: pulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 50% { transform: scale(1.08); opacity: .75; } }
.scene .dash { stroke-dasharray: 5 7; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }

/* ---------------------------------------------------------------- flow diagram (product pages) */
.flow { margin: 0 0 28px; padding: clamp(14px, 2.5vw, 26px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.flow svg { display: block; width: 100%; height: auto; }
.flow .v { display: none; max-width: 360px; margin: 0 auto; }
.flow .lbl { font: 700 15px var(--display); fill: var(--ink); }
.flow .lbl2 { font: 12.5px var(--sans); fill: #5f5851; }
.flow .num { font: 700 11px var(--sans); fill: #fff; }
@media (max-width: 720px) { .flow .h { display: none; } .flow .v { display: block; } }

/* SVG scene + flow colours. Animated attributes (opacity, stroke on .tick,
   dash offsets) are never set here: a CSS rule would override the animation. */
.flow { color: var(--accent); }
.flow .box { fill: #fff; stroke: var(--accent-2); stroke-width: 1.5; }
.flow .glow { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 2.5; }
.flow .badge { fill: var(--accent); }
.c2 { stroke: var(--accent-2); }
.f2 { fill: var(--accent-2); }
.scene .inv { fill: #fff; }
.scene .phone, .scene .phone2, .scene .win { fill: #fff; stroke: var(--line-2); stroke-width: 1.5; }
.scene .phone-top, .scene .sendbtn { fill: var(--accent); }
.scene .bubble { fill: var(--accent-soft); stroke: var(--line); }
.scene .imgph { fill: #bbf7d0; }
.scene .txtph { fill: #e4ddd3; }
.scene .wire { fill: none; stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 4 6; }
.scene .avatar { fill: var(--accent-soft); stroke: var(--accent-2); stroke-width: 1.5; }
.scene .msg, .scene .post-s, .scene .card-s { fill: #fff; stroke: var(--line); }
.scene .msg2, .scene .gap { fill: #fff; stroke: var(--line-2); }
.scene .tick { fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.scene .axis { stroke: var(--line-2); stroke-width: 1.5; }
.scene .bar-w { fill: #ef4444; }
.scene .bar-ok { fill: #fdba74; }
.scene .flag { fill: #b91c1c; }
.scene .trend { fill: none; stroke: var(--green); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; }
.scene .okc { fill: #15803d; }
.scene .okp { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.scene .applyb { fill: var(--orange); }
.scene .folder { fill: #fde68a; stroke: #f59e0b; stroke-width: 1.5; }
.scene .ph1 { fill: #f9a8d4; } .scene .ph2 { fill: #c4b5fd; } .scene .ph3 { fill: #fdba74; }
.scene .heart { fill: #ec4899; }
.scene .dm { fill: var(--pink); }
.scene .winbar { fill: #f6f3ee; }
.scene .d1 { fill: #fca5a5; } .scene .d2 { fill: #fcd34d; } .scene .d3 { fill: #86efac; }
.scene .blk1 { fill: #dbeafe; } .scene .blk2 { fill: #fde68a; } .scene .blk3 { fill: #fbcfe8; } .scene .blk4 { fill: #e4ddd3; } .scene .blk5 { fill: var(--blue); }
.scene .ring-bg { fill: none; stroke: #e4ddd3; stroke-width: 10; }
.scene .ring-fg { fill: none; stroke: #15803d; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 1; }
.scene .big { font: 800 30px var(--display); fill: var(--ink); }
.scene .tsm { font: 11.5px var(--sans); fill: var(--muted); }
.scene .kw-bg { fill: #e8eefc; }
.scene .kw { fill: var(--blue); }
.scene .auth { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.card .ico + h3 { margin-top: 6px; }

/* ---------------------------------------------------------------- cards */
.card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .4s, border-color .4s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.card h3 { margin: 4px 0 2px; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card p { color: var(--ink-2); margin: 0; }
.card .ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.card .ico svg { width: 22px; height: 22px; }
.tag { display: inline-block; width: fit-content; font-size: 12.5px; font-weight: 700; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 4px 11px; margin: 0; }
.price { font-family: var(--display); font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); margin: 6px 0 2px !important; }
.plan-note { color: var(--muted); font-size: 14px; }

/* Blog cards with photos. */
.post { padding: 0; overflow: hidden; }
.post img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.2s var(--ease); }
.post:hover img { transform: scale(1.05); }
.post .pi { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.post h3 { font-size: 1.12rem; }
.post time { font-size: 13px; color: var(--muted); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: s; }
.steps li { position: relative; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.steps .n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.steps p { color: var(--ink-2); margin: 0; }

/* Customer logos marquee */
.logos { overflow: hidden; display: flex; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; flex: none; gap: 18px; padding: 8px 9px; margin: 0; list-style: none; min-width: 100%; justify-content: space-around; animation: marquee2 34s linear infinite; }
.logos:hover .logo-track { animation-play-state: paused; }
@keyframes marquee2 { to { transform: translateX(-100%); } }
.logo-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; width: 180px; height: 96px; display: grid; place-items: center; padding: 12px; flex: none; }
.logo-card img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; }

.duo { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: center; }
@media (max-width: 960px) { .duo { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
@media (max-width: 960px) { .gallery { grid-template-columns: 1fr; } }

/* Office photos */
.office { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.office figure { margin: 0; position: relative; border-radius: 18px; overflow: hidden; background: var(--bg-2); }
.office img { width: 100%; height: 100%; object-fit: cover; }
.office figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content; max-width: calc(100% - 24px); font-size: 13px; font-weight: 600; color: var(--ink); background: rgba(255, 255, 255, .94); border-radius: 10px; padding: 6px 11px; }
.office .wide { grid-column: 1 / -1; aspect-ratio: 1200 / 495; }
.office .tall { aspect-ratio: 3 / 4; }
.office-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; }

/* Facts table */
.facts dl { display: grid; gap: 0; margin: 0 0 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts dl > div { display: grid; grid-template-columns: 170px 1fr; gap: 14px; padding: 14px 18px; border-top: 1px solid var(--line); }
.facts dl > div:first-child { border-top: 0; }
.facts dt { color: var(--muted); font-size: 14.5px; }
.facts dd { margin: 0; font-weight: 600; }
.facts a { color: var(--blue); }
@media (max-width: 560px) { .facts dl > div { grid-template-columns: 1fr; gap: 2px; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 2px 20px; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; padding: 16px 30px 16px 0; font-weight: 650; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; font-size: 24px; font-weight: 400; color: var(--accent); transition: rotate .4s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq p { margin: 0 0 18px; color: var(--ink-2); }

/* Inner page hero */
.phero { padding: clamp(36px, 6vw, 80px) clamp(16px, 5vw, 64px) clamp(24px, 4vw, 48px); max-width: 1260px; margin: 0 auto; }
.phero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.phero h1 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); }
.phero .frame img { max-height: 560px; object-fit: cover; object-position: top; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 24px; font-size: 13.5px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { text-decoration: underline; }
.prose { max-width: 780px; color: var(--ink-2); }
.prose a, .faq a, .card p a { color: var(--blue); }
.prose.list { padding-left: 20px; }
.prose.list li { margin: 6px 0; }
.meta { color: var(--muted); font-size: 14px; }
.foot-note { font-size: 13.5px; color: var(--muted); max-width: 820px; margin-top: 22px; }
.trust { background: var(--accent-soft); border-radius: var(--radius); padding: clamp(26px, 4vw, 44px); }
.trust p { color: var(--ink-2); margin: 0; }
.trust a { color: var(--blue); }
.closing { text-align: center; }
.closing .box { max-width: 900px; margin: 0 auto; padding: clamp(36px, 6vw, 72px) clamp(20px, 5vw, 64px); border-radius: 28px;
  background: radial-gradient(70% 90% at 15% 0%, #fff1e7, transparent 60%), radial-gradient(70% 90% at 90% 100%, #eaf8ef, transparent 60%), var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.closing p { color: var(--ink-2); max-width: 620px; margin: 0 auto 28px; }
.closing .cta { justify-content: center; }

/* ---------------------------------------------------------------- footer */
.foot { background: var(--bg-2); border-top: 1px solid var(--line); padding: 56px clamp(16px, 5vw, 64px) 30px; color: var(--ink-2); font-size: 14.5px; }
.foot-grid { display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; max-width: 1260px; margin: 0 auto 24px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot h2 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin: 0 0 12px; }
.foot p { margin: 4px 0; }
.foot-grid > div > a { display: block; margin: 2px 0; padding: 4px 0; text-decoration: none; color: var(--ink-2); width: fit-content; }
.foot-grid > div > a:hover { color: var(--ink); text-decoration: underline; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 17px; margin: 0 0 10px !important; }
.foot-brand img { width: 36px; height: 36px; border-radius: 10px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink-2); background: var(--surface); transition: color .2s, border-color .2s, transform .3s var(--ease); }
.socials a:hover { color: var(--orange); border-color: var(--orange); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }
.foot-contact a { font-weight: 700; color: var(--ink); }
.off-name { margin: 12px 0 2px !important; font-weight: 650; color: var(--ink); }
.foot-grid > div > a.nav-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; margin: 4px 0 8px; color: var(--blue); }
.foot-grid > div > a.g-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 15px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); color: #1a56c4; font-size: 13.5px; font-weight: 650; text-decoration: none; }
.linkbtn { background: none; border: 0; padding: 4px 0; margin: 2px 0; font: inherit; color: var(--ink-2); cursor: pointer; text-align: left; }
.linkbtn:hover { color: var(--ink); text-decoration: underline; }
.legal { max-width: 1260px; margin: 0 auto; padding-top: 18px; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }

/* ---------------------------------------------------------------- call + WhatsApp (mandatory on every screen) */
.float-stack { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 12px; z-index: 50; }
.float-stack a { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(23, 19, 15, .55); transition: transform .4s var(--ease); }
.float-stack a:hover { transform: scale(1.08); }
.float-stack svg { width: 28px; height: 28px; }
.call-float { background: var(--orange); }
.wa-float { background: var(--wa); position: relative; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); animation: ping 2.6s ease-out infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 16px rgba(34, 197, 94, 0); } }
.mbar { display: none; }
@media (max-width: 720px) {
  .float-stack { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(23, 19, 15, .35); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; border-radius: 14px; font-weight: 700; font-size: 16px; color: #fff; text-decoration: none; }
  .mbar svg { width: 22px; height: 22px; }
  .mbar-call { background: var(--orange); }
  .mbar-wa { background: var(--wa); }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* ---------------------------------------------------------------- cookie banner */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 70; width: min(440px, calc(100vw - 120px)); padding: 20px 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); animation: drop .5s var(--ease); }
.cookie h2 { font-size: 16px; letter-spacing: -.01em; margin: 0 0 6px; }
.cookie p { font-size: 14px; color: var(--ink-2); margin: 0 0 14px; }
.cookie a { color: var(--blue); }
.cookie .cta { gap: 10px; }
.cookie .btn { min-height: 44px; padding: 10px 20px; font-size: 14.5px; flex: 1; }
@media (max-width: 720px) {
  .cookie { left: 10px; right: 10px; width: auto; bottom: calc(80px + env(safe-area-inset-bottom)); padding: 16px; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .hero-in, .phero-grid, .prow, .office-wrap { grid-template-columns: 1fr; }
  .hero-in { min-height: 0; padding-top: 36px; }
  .prow:nth-of-type(even) .prow-media { order: 0; }
  .floaty.f1 { left: 8px; } .floaty.f2 { right: 8px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .top { padding: 10px 14px; }
  .brand span { font-size: 15px; }
  .stage { height: 380px; margin: 0 -8px; }
  .nodes { width: 62%; }
  .nodes a { padding: 8px 10px; gap: 10px; }
  .nodes small { display: none; }
  .cta .btn { flex: 1 1 auto; }
  .floaty { display: none; }
  .logo-card { width: 150px; height: 84px; }
}

/* ---------------------------------------------------------------- scroll reveal (armed only once JS runs) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform 1.1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-clip > * { clip-path: inset(0 0 100% 0); transform: translateY(18px); transition: clip-path 1.2s var(--ease), transform 1.2s var(--ease); }
.js .reveal-clip.in > * { clip-path: inset(0 0 -10% 0); transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal, .js .reveal-clip > *, .js .tilt.reveal { opacity: 1; transform: none; clip-path: none; }
  .ticker-track, .logo-track { animation: none; }
  .logos { overflow-x: auto; }
  .logo-track.dup, .ticker ul + ul { display: none; }
}
