/* Logica Engineering — site styles. Brand: navy #0b1658, sky #1fa2dd (from the logo). */
:root {
  --navy: #0b1658; --navy-2: #1f3a93; --navy-deep: #070d33; --sky: #1fa2dd; --sky-2: #5cc6f2;
  --ink: #141a33; --muted: #5d6478; --line: #e3e7f0; --soft: #f4f7fc; --white: #fff;
  --radius: 16px; --shadow: 0 18px 50px rgba(11, 22, 88, .10);
  --font: "Segoe UI", system-ui, -apple-system, "Inter", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--navy-2); text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; letter-spacing: -.02em; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 10px; padding: 11px 20px; font-weight: 650; font-size: 15px; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s, box-shadow .15s, background .15s; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-primary { background: linear-gradient(90deg, var(--navy-2), #2156c9); color: #fff; box-shadow: 0 10px 26px rgba(31, 58, 147, .30); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(31, 58, 147, .38); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* nav */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(11,22,88,.06); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand img { height: 50px; width: auto; }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a { color: var(--ink); font-weight: 550; font-size: 15px; position: relative; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--sky); transform: scaleX(0); transition: transform .2s; }
.links a:hover::after, .links a.on::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.tel { color: var(--navy); font-weight: 650; font-size: 14.5px; white-space: nowrap; }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; padding: 8px; }
.burger span { display: block; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* hero */
.hero { position: relative; color: #dfe6fb; padding: 84px 0 0; overflow: hidden; background: var(--navy-deep); }
.hero-bg { position: absolute; inset: 0; background:
  radial-gradient(900px 520px at 8% 0%, rgba(53, 87, 214, .55), transparent 60%),
  radial-gradient(800px 500px at 100% 30%, rgba(31, 162, 221, .30), transparent 60%),
  linear-gradient(180deg, #0b1658 0%, #070d33 100%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #b9c6ef; border: 1px solid rgba(160,180,255,.25); border-radius: 999px; padding: 7px 16px; background: rgba(255,255,255,.04); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.2); }
.hero h1 { color: #fff; font-size: clamp(36px, 4.6vw, 58px); font-weight: 800; margin: 22px 0 18px; letter-spacing: -.03em; }
.grad { background: linear-gradient(90deg, #a9bdf0, var(--sky-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: #b6c1e3; max-width: 580px; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: #c9d3ef; }
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.9' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.hero-visual { position: relative; }
.hero-photo { margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid rgba(160,180,255,.22); box-shadow: 0 40px 90px rgba(0,0,0,.45); transform: perspective(1200px) rotateY(-6deg) rotateX(2deg); }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.float-card { position: absolute; background: rgba(255,255,255,.96); color: var(--ink); border-radius: 14px; padding: 14px 18px; box-shadow: 0 18px 40px rgba(0,0,0,.25); display: grid; animation: bob 6s ease-in-out infinite; }
.float-card b { font-size: 22px; color: var(--navy); letter-spacing: -.02em; }
.float-card span { font-size: 13px; color: var(--muted); }
.fc1 { left: -26px; bottom: 44px; } .fc2 { right: -14px; top: 26px; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 72px 0 0; border-top: 1px solid rgba(160,180,255,.16); }
.stats > div { padding: 28px 24px 34px; border-right: 1px solid rgba(160,180,255,.12); }
.stats > div:last-child { border-right: 0; }
.stats b { display: block; color: #fff; font-size: 40px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stats span { color: #9fb0dd; font-size: 14px; }

/* sections */
.section { padding: 104px 0; }
.section.soft { background: var(--soft); }
.section.dark { background: linear-gradient(180deg, #0b1658, #081045); color: #c9d3ef; }
.section.dark h2, .section.dark h3 { color: #fff; }
.sec-head { max-width: 760px; margin-bottom: 48px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); margin-bottom: 12px; }
.sec-head h2, .why-copy h2, .about-copy h2, .contact-copy h2 { font-size: clamp(30px, 3.3vw, 42px); font-weight: 800; margin-bottom: 14px; }
.sec-head p { font-size: 18px; color: var(--muted); margin: 0; }
.dark .sec-head p { color: #aab6d8; }

/* product cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cfd8ef; }
.card-img { aspect-ratio: 4 / 3.2; background: linear-gradient(160deg, #eef2fb, #dfe6f6); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-size: 18px; color: var(--navy); }
.card p { margin: 0; font-size: 14.5px; color: var(--muted); }
.spec { list-style: none; padding: 12px 0 0; margin: auto 0 0; border-top: 1px dashed var(--line); display: grid; gap: 5px; font-size: 13.5px; color: var(--ink); }
.spec li { padding-left: 16px; position: relative; }
.spec li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 2px; background: var(--sky); }
.range { margin-top: 56px; padding: 32px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.range h3 { font-size: 20px; color: var(--navy); margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 14px; color: var(--ink); }

/* applications */
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.app { padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(160,180,255,.16); transition: background .2s, border-color .2s, transform .2s; }
.app:hover { background: rgba(255,255,255,.07); border-color: rgba(92,198,242,.45); transform: translateY(-3px); }
.app .ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, rgba(31,162,221,.25), rgba(53,87,214,.35)); color: #bfe8fb; margin-bottom: 18px; }
.app h3 { font-size: 19px; margin-bottom: 8px; }
.app p { margin: 0; color: #aab6d8; font-size: 15px; }

/* why */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.why-copy p { color: var(--muted); font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.ticks li { padding-left: 36px; position: relative; color: var(--muted); }
.ticks li b { color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 8px; background: #e6f4fb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.4l3.2 3.2L17 8.8' stroke='%231fa2dd' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/24px no-repeat; }
.steps { display: grid; gap: 14px; position: relative; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 1px 0 rgba(11,22,88,.03); }
.step span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; font-weight: 800; font-size: 18px; }
.step h4 { font-size: 17px; color: var(--navy); margin: 4px 0 4px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* quality & reviews */
.quality { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 40px; }
.q-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; overflow: hidden; }
.q-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--navy-2), var(--sky)); }
.q-card b { font-size: 20px; color: var(--navy); }
.q-card p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }
.reviews { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 18px; }
.rating { background: var(--navy); color: #c9d3ef; border-radius: var(--radius); padding: 26px; }
.score { font-size: 54px; font-weight: 800; color: #fff; line-height: 1; }
.score small { font-size: 22px; color: #9fb0dd; }
.stars { color: #f2b705; letter-spacing: 3px; font-size: 18px; margin: 8px 0 4px; }
.rating p { margin: 0 0 14px; font-size: 14px; }
.bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 13px; }
.bars li { display: grid; grid-template-columns: 1fr 70px 36px; gap: 8px; align-items: center; }
.bars i { height: 6px; border-radius: 3px; background: rgba(255,255,255,.12); position: relative; overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--sky); border-radius: 3px; }
.bars b { color: #fff; text-align: right; }
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; justify-content: space-between; }
.quote p { margin: 0 0 18px; font-size: 17px; color: var(--ink); line-height: 1.5; }
.quote cite { font-style: normal; color: var(--muted); font-size: 14px; font-weight: 600; }

/* about */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }
.about-copy p { color: var(--muted); font-size: 17px; }
.facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts div { background: #fff; padding: 18px 20px; }
.facts dt { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 650; }
.facts dd { margin: 4px 0 0; font-weight: 650; color: var(--navy); font-size: 15px; word-break: break-word; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact-copy p { color: #aab6d8; font-size: 17px; }
.c-item { margin-top: 22px; }
.c-item span { display: block; font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; color: #8fa0d0; font-weight: 650; margin-bottom: 4px; }
.c-item a { color: #fff; font-size: 22px; font-weight: 700; }
.c-item address { font-style: normal; color: #e3e9fb; }
.map-link { display: inline-block; margin-top: 18px; color: var(--sky-2); font-weight: 650; }
.enquiry { background: #fff; color: var(--ink); border-radius: 20px; padding: 32px; box-shadow: 0 30px 80px rgba(0,0,0,.35); display: grid; gap: 16px; }
.enquiry label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 650; color: #3b4258; }
.enquiry input, .enquiry select, .enquiry textarea { font: inherit; font-size: 15px; font-weight: 400; padding: 12px 14px; border: 1px solid #d5dbe8; border-radius: 10px; background: #fbfcfe; color: var(--ink); width: 100%; }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(31,162,221,.15); background: #fff; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.enquiry .btn { justify-content: center; }
.form-msg { margin: 0; min-height: 22px; font-size: 14.5px; }
.form-msg.ok { color: #1b6e3f; } .form-msg.err { color: #b3261e; }

/* footer */
.foot { background: #050a28; color: #8f9cc5; padding: 64px 0 28px; font-size: 14.5px; }
.foot-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.foot-logo { height: 56px; width: auto; background: #fff; border-radius: 10px; padding: 6px 10px; margin-bottom: 14px; }
.foot h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.foot a, .foot span { display: block; color: #8f9cc5; margin: 6px 0; }
.foot a:hover { color: #fff; }
.legal span { display: inline; margin: 0; }
.legal { border-top: 1px solid rgba(160,180,255,.12); margin-top: 40px; padding-top: 22px; font-size: 13px; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } .float-card { animation: none; } html { scroll-behavior: auto; } }

/* responsive */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr 1fr; }
  .quality { grid-template-columns: repeat(2, 1fr); }
  .tel { display: none; }
}
@media (max-width: 900px) {
  .links { position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(11,22,88,.12); transform: translateY(-120%); transition: transform .25s; }
  .links.open { transform: none; }
  .links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .burger { display: block; }
  .nav-cta .btn { display: none; }
  .hero-in, .why, .about, .contact { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { transform: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(2) { border-right: 0; }
  .apps { grid-template-columns: 1fr 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .section { padding: 76px 0; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .cards, .apps, .reviews, .quality, .row2, .facts { grid-template-columns: 1fr; }
  .fc1 { left: 8px; } .fc2 { right: 8px; }
  .stats b { font-size: 32px; }
  .enquiry { padding: 22px; }
}

.links a.erp-link { color: var(--navy-2); border: 1px solid #cfd8ef; border-radius: 8px; padding: 4px 12px; margin-top: -5px; }
.links a.erp-link::after { display: none; }
.links a.erp-link:hover { background: #eef2fb; }
@media (max-width: 900px) { .links a.erp-link { border: 0; padding: 14px 0; margin: 0; } }

/* hero carousel */
.carousel { position: relative; }
.carousel .track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.carousel .track::-webkit-scrollbar { display: none; }
.carousel .slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; position: relative; }
.carousel .slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.carousel figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 16px; font-size: 15px; font-weight: 650; color: #fff; background: linear-gradient(transparent, rgba(5,10,40,.78)); }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--navy); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.25); opacity: 0; transition: opacity .2s; }
.carousel:hover .car-btn, .car-btn:focus-visible { opacity: 1; }
.car-btn.prev { left: 12px; } .car-btn.next { right: 12px; }
.dots { position: absolute; right: 18px; bottom: 16px; display: flex; gap: 6px; }
.dots button { width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; background: rgba(255,255,255,.5); cursor: pointer; transition: width .25s, background .25s; }
.dots button.on { width: 22px; background: #fff; }
/* photo marquee */
.marquee { position: relative; overflow: hidden; padding: 0 0 56px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: 150px; width: 210px; object-fit: cover; border-radius: 12px; border: 1px solid rgba(160,180,255,.2); opacity: .9; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
@media (max-width: 900px) { .car-btn { opacity: 1; width: 36px; height: 36px; font-size: 22px; } .marquee img { height: 110px; width: 150px; } }
