:root {
  --ink: #15191e;
  --ink-2: #22262b;
  --ink-3: #3b434c;
  --muted: #66707a;
  --line: #e2e6ea;
  --paper: #ffffff;
  --paper-2: #f4f6f8;
  --blue: #1c7cc7;
  --cyan: #00b0ef;
  --yellow: #f2c230;
  --radius: 14px;
  --wrap: 1200px;
  --head: "Space Grotesk", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-family: var(--head); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); font-weight: 600; margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.section { padding: 110px 0; }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--ink); color: #fff; }
.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head p { color: var(--muted); font-size: 18px; }
.dark .section-head p { color: #aab4be; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .2s, background .2s, color .2s, border-color .2s; border: 2px solid transparent; cursor: pointer; font-family: var(--body); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--cyan); color: #04121c; }
.btn-primary:hover { background: #33c3f5; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-dark { background: var(--ink-2); color: #fff; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }

/* header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.site-header.solid { background: rgba(15,18,22,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.nav { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo img { height: 22px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.nav-links a { color: #dfe6ec; text-decoration: none; font-size: 15px; font-weight: 600; }
.nav-links a:hover { color: var(--cyan); }
.lang { display: flex; gap: 2px; font-size: 13px; font-weight: 700; }
.lang a { color: #9aa6b1; text-decoration: none; padding: 4px 7px; border-radius: 6px; display: inline-flex; align-items: center; white-space: nowrap; }
.lang a.on { color: #fff; background: rgba(255,255,255,.12); }
.nav .btn { padding: 10px 18px; font-size: 14px; }
.burger { display: none; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; margin-left: auto; }

/* hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; background: #0f1216; color: #fff; overflow: hidden; display: flex; align-items: center; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero.no-webgl { background: linear-gradient(90deg, rgba(15,18,22,.95) 30%, rgba(15,18,22,.5)), url(../img/proj/sepet-tasima-3.webp) center/cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,18,22,.92) 0%, rgba(15,18,22,.55) 38%, rgba(15,18,22,0) 62%), linear-gradient(0deg, rgba(15,18,22,.85), rgba(15,18,22,0) 28%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 80px; width: 100%; }
.hero h1 { font-size: clamp(40px, 6.2vw, 82px); max-width: 640px; font-weight: 700; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: #c6d0d9; max-width: 520px; margin-bottom: 34px; }
.hero .eyebrow { color: var(--cyan); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 46px; }
.chips span { font-family: var(--head); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; border: 1px solid rgba(0,176,239,.4); color: #bfe9fa; padding: 7px 13px; border-radius: 999px; background: rgba(0,176,239,.06); }
.scroll-hint { position: absolute; z-index: 2; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: hint 1.8s infinite; }
@keyframes hint { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* client logos */
.clients { background: var(--ink-2); color: #fff; padding: 44px 0; overflow: hidden; }
.clients p { text-align: center; color: #9aa6b1; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 26px; font-family: var(--head); }
.marquee { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee img { height: 64px; width: auto; margin: 0 34px; opacity: .72; transition: opacity .2s; }
.marquee img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* two main cards */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.big-card { position: relative; border-radius: 20px; overflow: hidden; min-height: 520px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 38px; text-decoration: none; isolation: isolate; }
.big-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.big-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,13,16,.95) 15%, rgba(10,13,16,.35) 60%, rgba(10,13,16,.1)); }
.big-card:hover img { transform: scale(1.06); }
.big-card .num { font-family: var(--head); color: var(--cyan); font-weight: 700; margin-bottom: 8px; }
.big-card h3 { font-size: 30px; }
.big-card p { color: #cfd7de; max-width: 460px; }
.big-card ul { list-style: none; padding: 0; margin: 4px 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.big-card li { font-size: 13px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); }
.big-card .more { font-weight: 700; color: var(--cyan); }

/* services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.svc:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(21,25,30,.25); }
.svc .ph { aspect-ratio: 16/10; background: #eef1f4; overflow: hidden; }
.svc .ph img { width: 100%; height: 100%; object-fit: cover; }
.svc .tx { padding: 24px 24px 26px; }
.svc h3 { font-size: 20px; }
.svc p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; position: relative; }
.step { padding: 0 26px 0 0; position: relative; }
.step .n { width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--cyan); display: grid; place-items: center; font-family: var(--head); font-weight: 700; color: var(--cyan); margin-bottom: 22px; background: var(--ink); position: relative; z-index: 1; }
.step::before { content: ""; position: absolute; top: 27px; left: 54px; right: 0; height: 2px; background: linear-gradient(90deg, rgba(0,176,239,.6), rgba(0,176,239,.1)); }
.step:last-child::before { display: none; }
.step h3 { font-size: 20px; }
.step p { color: #aab4be; font-size: 15.5px; }

/* projects */
.proj { display: grid; grid-template-columns: 1.15fr 1fr; gap: 50px; align-items: center; margin-bottom: 90px; }
.proj:last-child { margin-bottom: 0; }
.proj:nth-child(even) .gallery { order: 2; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 4/3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.gallery img:first-child { grid-row: span 2; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); background: rgba(28,124,199,.08); padding: 5px 11px; border-radius: 6px; margin-bottom: 14px; }
.proj h3 { font-size: 30px; }
.proj dl { margin: 22px 0 0; }
.proj dt { font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: 16px; }
.proj dd { margin: 4px 0 0; color: var(--muted); }
.proj .result { margin-top: 22px; padding: 16px 20px; border-left: 3px solid var(--cyan); background: var(--paper-2); border-radius: 0 10px 10px 0; font-weight: 600; }
.proj .dur { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* industries */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ind { border-top: 2px solid var(--ink); padding-top: 20px; }
.ind .n { font-family: var(--head); color: var(--blue); font-weight: 700; font-size: 14px; }
.ind h3 { margin-top: 8px; font-size: 21px; }
.ind p { color: var(--muted); font-size: 15.5px; }

/* why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why { padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.why .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(0,176,239,.12); color: var(--cyan); margin-bottom: 18px; }
.why h3 { font-size: 19px; }
.why p { color: #aab4be; font-size: 15px; margin: 0; }

/* about */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about img { border-radius: 18px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.about p { color: var(--ink-3); }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; }
.contact-info dl { margin: 30px 0 0; }
.contact-info dt { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8b97a2; margin-top: 18px; }
.contact-info dd { margin: 4px 0 0; font-size: 17px; }
.contact-info a { color: #fff; text-decoration: none; }
.contact-info a:hover { color: var(--cyan); }
form.rfq { background: #fff; color: var(--ink); border-radius: 18px; padding: 34px; display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
form.rfq label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
form.rfq .full { grid-column: 1 / -1; }
form.rfq input, form.rfq textarea, form.rfq select { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-2); }
form.rfq input:focus, form.rfq textarea:focus { outline: 2px solid var(--cyan); border-color: transparent; background: #fff; }
form.rfq textarea { min-height: 130px; resize: vertical; }
form.rfq .note { font-size: 13px; color: var(--muted); margin: 0; }

/* conveyor page */
.types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.type { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.type .ic { color: var(--blue); margin-bottom: 14px; }
.type h3 { font-size: 18px; }
.type p { color: var(--muted); font-size: 15px; margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img { border-radius: 18px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { padding-left: 32px; position: relative; margin-bottom: 12px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304121c' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }
.brands { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.brands span { font-family: var(--head); font-weight: 700; padding: 10px 18px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-3); background: #fff; }
.cta-band { background: linear-gradient(120deg, #0f1216, #18324a); color: #fff; border-radius: 22px; padding: 56px; display: flex; gap: 30px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 8px; }
.cta-band p { color: #c6d0d9; margin: 0; max-width: 620px; }

/* footer */
.site-footer { background: #0b0d10; color: #8b97a2; padding: 60px 0 30px; font-size: 15px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot img { height: 20px; width: auto; margin-bottom: 16px; }
.foot h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--cyan); }
.legal { border-top: 1px solid rgba(255,255,255,.08); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  html { scroll-behavior: auto; }
}

/* responsive */
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .why-grid, .ind-grid, .types { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 18px; }
}
@media (max-width: 900px) {
  .nav-links, .nav > .btn { display: none; }
  .burger { display: block; }
  .site-header.open { background: #0f1216; }
  .site-header.open .nav-links { display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0; background: #0f1216; padding: 10px 24px 26px; gap: 16px; margin: 0; }
  .lang { margin-left: 0; }
  .duo, .proj, .about, .contact, .split { grid-template-columns: 1fr; }
  .proj:nth-child(even) .gallery { order: 0; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .step::before { display: none; }
  .hero::after { background: linear-gradient(0deg, rgba(15,18,22,.96) 30%, rgba(15,18,22,.35) 75%, rgba(15,18,22,.2)); }
  .hero { align-items: flex-end; }
  .big-card { min-height: 440px; }
  .section { padding: 80px 0; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .svc-grid, .why-grid, .ind-grid, .types, .steps { grid-template-columns: 1fr; }
  form.rfq { grid-template-columns: 1fr; padding: 24px; }
  .foot { grid-template-columns: 1fr; }
  .cta-band { padding: 34px 24px; }
  .big-card { padding: 26px; }
  .marquee img { height: 48px; margin: 0 22px; }
}

/* faq */
.faq-list { max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-family: var(--head); font-weight: 600; font-size: 19px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 26px; color: var(--blue); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); margin: 0 0 20px; max-width: 760px; }

/* Standard conveyor series */
.series { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.series .type { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .3s, box-shadow .3s; }
.series .type:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(21,25,30,.25); }
.series .code, .spec .code { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .12em; color: var(--blue); }
.series .type ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); font-size: 14.5px; }
.series .type .more { margin-top: auto; padding-top: 14px; font-weight: 700; font-size: 14px; color: var(--blue); }
.series .type.custom { background: var(--ink); color: #fff; border-color: var(--ink); }
.series .type.custom p, .series .type.custom ul { color: #aab4be; }
.spec { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 30px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 30px; scroll-margin-top: 90px; }
.spec + .spec { margin-top: 22px; }
.spec table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 38%; color: var(--muted); font-weight: 600; }
@media (max-width: 1000px) { .series { grid-template-columns: 1fr 1fr; } .spec { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .series { grid-template-columns: 1fr; } .spec { padding: 20px; } }

/* Language flags */
.flag { display: inline-block; flex: none; width: 18px; height: 12px; margin-right: 5px; vertical-align: -1px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.15); object-fit: cover; }
.nav .btn { white-space: nowrap; }
.nav-links a { white-space: nowrap; }
