:root {
  color-scheme: dark;
  --ink: #f3f7fb;
  --muted: #b9c6d0;
  --ice: #72d9f5;
  --cyan: #20d6f0;
  --line: #334651;
  --gutter: clamp(24px, 4vw, 75px);
  --max: 1820px;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  font-synthesis: weight style;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 18px; }
body { margin: 0; background: #07111a; color: var(--ink); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
h1,h2,h3,p,ul,ol { margin: 0; }
button,a,summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #71e8ff; outline-offset: 4px; }
[hidden] { display: none !important; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; top: 8px; left: 8px; z-index: 20; padding: 8px 16px; color: #06141c; background: white; transform: translateY(-190%); }
.skip:focus { transform: translateY(0); }
.opening { overflow: clip; }
.mast { position: relative; z-index: 5; background: linear-gradient(116deg,#061019 5%,#0b1824 52%,#1c2834 100%); border-bottom: 1px solid #485865; }
.mast-inner { position: relative; height: clamp(72px,7.12vw,125px); max-width: var(--max); margin: auto; }
.brand { position: absolute; z-index: 1; left: var(--gutter); top: clamp(6px,1.04vw,18px); width: min(35.95vw,650px); display: block; }
.brand img { display: block; width: 100%; height: auto; }
.nav-wrap { position: absolute; inset: 0 clamp(15px,1.88vw,38px) 0 auto; display: flex; align-items: center; gap: clamp(16px,2.05vw,36px); padding-top: 1.05vw; }
.primary-nav { display: flex; align-items: center; gap: clamp(12px,2.15vw,39px); }
.nav-link { background: none; border: 0; padding: 8px 0; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; position: relative; font-size: clamp(14px,1.18vw,21px); font-weight: 500; }
.nav-link[aria-current], .nav-link:hover, .nav-link:focus-visible { color: #d9f6ff; }
.nav-link[aria-current] { font-weight: 650; }
.nav-link::after { position: absolute; content: ""; inset: auto 0 0; height: 2px; background: linear-gradient(90deg,#48c6f6,#3ddaef); box-shadow: 0 0 9px #0cb7ff93; transform: scaleX(0); transform-origin: left; transition: transform .17s ease; }
.nav-link[aria-current]::after, .nav-link:hover::after, .nav-link[aria-expanded=true]::after { transform: scaleX(1); }
.nav-link .icon,.language .icon { width: 13px; height: 13px; stroke-width: 4; }
.language,.nav-services { position: relative; }
.language-toggle,.mobile-toggle { background: #0c1620bf; border: 1px solid #586672; border-radius: 8px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 6px clamp(10px,1.02vw,18px); font-size: clamp(13px,1vw,18px); min-height: 35px; }
.dropdown { position: absolute; top: calc(100% + 9px); left: -14px; width: max-content; padding: 6px; background: #101f2b; border: 1px solid #3c5262; border-radius: 9px; box-shadow: 0 12px 34px #0008; }
.dropdown a { display: block; padding: 9px 13px; border-radius: 4px; font-size: 15px; }
.dropdown a:hover,.dropdown a:focus-visible,.lang-menu [aria-current] { color: #9beaff; background: #1c3445; }
.lang-menu { left: auto; right: 0; }
.mobile-toggle { display: none; }
.hero { isolation: isolate; position: relative; background: #07101a; }
.hero-bg,.hero-photo { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg { background: linear-gradient(90deg,#040c14f7 4%,#091522eb 26%,#091522af 41%,#07131ac7 72%), url('muhendislik-tezgahi.webp') center 44% / cover; filter: blur(7px); clip-path: inset(0); }
.hero-photo { left: 40.5%; background: url('muhendislik-tezgahi.webp') right 48% / cover; mask-image: linear-gradient(90deg,transparent 0%,#000 12%,#000 100%); }
.hero-inner { max-width: var(--max); margin: auto; padding: clamp(90px,7.24vw,135px) var(--gutter) clamp(30px,2.52vw,46px); }
.hero h1 { font-size: clamp(46px,4vw,74px); line-height: 1.03; letter-spacing: -.025em; font-weight: 700; font-style: italic; color: #f5f7fa; text-shadow: 0 3px 17px #0005; }
.hero h1 em { font-style: inherit; color: var(--cyan); }
.hero p { max-width: clamp(405px,31.4vw,600px); font-size: clamp(18px,1.55vw,29px); line-height: 1.29; margin: clamp(12px,.85vw,17px) 0 clamp(23px,1.82vw,35px); letter-spacing: -.014em; text-shadow: 0 1px 9px #000a; }
.hero-actions { display: flex; align-items: center; gap: clamp(14px,1.65vw,31px); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: clamp(7px,.7vw,13px); padding: .55em 1.1em; min-height: clamp(41px,3.13vw,58px); border: 1px solid; border-radius: 10px; font-size: clamp(14px,1.15vw,21px); font-weight: 650; line-height: 1.25; transition: background .15s, transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 1.48em; height: 1.48em; stroke-width: 2.8; }
.btn .end-icon { width: 1.1em; height: 1.1em; stroke-width: 3.5; }
.btn-main { background: linear-gradient(165deg,#0793d3,#0477bb 70%,#0571ac); border-color: #31c5f9; color: #fff; box-shadow: inset 0 1px 0 #71dbff46,0 6px 20px #008bc11a; }
.btn-main:hover { background: linear-gradient(165deg,#0aa3e3,#0678b3); box-shadow: 0 5px 22px #009dd133; }
.btn-film { background: #06111b94; border-color: #e5eff4; }
.btn-film:hover { background: #1b3446; }
.quick { border-block: 1px solid #3a4b58; background: linear-gradient(102deg,#0b1823 0%,#152433 50%,#101d28); }
.quick-inner { display: grid; grid-template-columns: 26.1% 24.1% 26.4% 23.4%; max-width: var(--max); margin: auto; padding: clamp(17px,1.5vw,28px) clamp(16px,2.1vw,40px); }
.quick-link { padding: 0 clamp(10px,1.7vw,31px); display: flex; gap: clamp(12px,1.37vw,26px); align-items: center; min-width: 0; position: relative; }
.quick-link + .quick-link::before, .why li+li::before { content: ""; position: absolute; left: 0; height: 80%; width: 1px; background: #52616c; top: 10%; }
.quick-link .icon { color: #54c8e9; width: clamp(37px,3.9vw,71px); height: clamp(37px,3.9vw,71px); }
.quick-link:first-child { padding-left: clamp(18px,2.75vw,50px); }
.quick-link:last-child { padding-right: 0; }
.quick-link strong,.quick-link small { display: block; }
.quick-link strong { font-size: clamp(16px,1.47vw,27px); line-height: 1.22; font-weight: 700; letter-spacing: -.035em; }
.quick-link small { font-size: clamp(12px,1.01vw,19px); color: #ced9e3; line-height: 1.32; margin-top: 5px; letter-spacing: -.023em; }
.quick-link:hover strong { color: var(--ice); }
.why { isolation: isolate; position: relative; background: radial-gradient(ellipse at 50% 50%,#182a37 0%,#0e1d29 43%,#07121d 88%); padding: clamp(15px,1.25vw,24px) var(--gutter) clamp(34px,3.4vw,62px); border-bottom: 1px solid #243541; }
.why h2 { display: flex; gap: clamp(18px,3vw,55px); align-items: center; justify-content: center; font-size: clamp(28px,2.3vw,42px); line-height: 1.35; letter-spacing: -.035em; }
.why h2::before,.why h2::after { content: ""; height: 2px; width: min(17vw,300px); background: linear-gradient(90deg,transparent,#16435c 55%,#08acf3 98%,#b2f7ff); filter: drop-shadow(0 0 3px #1799d783); }
.why h2::after { transform: scaleX(-1); }
.why ul { max-width: 1660px; margin: clamp(19px,1.6vw,31px) auto 0; display: grid; grid-template-columns: 1fr 1.02fr .9fr .95fr 1.1fr; padding: 0; list-style: none; }
.why li { position: relative; display: flex; gap: clamp(11px,1.4vw,25px); align-items: center; justify-content: center; font-size: clamp(14px,1.16vw,21px); line-height: 1.3; font-weight: 500; letter-spacing: -.018em; }
.why li .icon { width: clamp(34px,3.6vw,65px); height: clamp(34px,3.6vw,65px); color: #74d2eb; }
.section { padding: clamp(58px,6vw,100px) var(--gutter); }
.section-inner { width: min(1270px,100%); margin: 0 auto; }
.section-label { font-size: 13px; color: #79daef; font-weight: 650; margin-bottom: 10px; }
.section h2 { font-size: clamp(31px,3vw,51px); font-weight: 650; line-height: 1.12; letter-spacing: -.045em; }
.lead { color: var(--muted); max-width: 710px; line-height: 1.65; margin-top: 15px; font-size: clamp(16px,1.2vw,19px); }
.expertise { background: #0b1721; }
.expertise-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(22px,4vw,65px); margin-top: 36px; }
.detail-photo { position: relative; overflow: hidden; border: 1px solid #384854; border-radius: 12px; min-height: 265px; background: #192a38 url('muhendislik-tezgahi.webp') 37% 63%/auto 134%; }
.detail-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg,#07141a03 40%,#142f4280); }
.detail-photo span { position: absolute; inset: 15px; opacity: .75; z-index: 1; background: linear-gradient(#a9e9f9,#a9e9f9) left top/22px 1px,linear-gradient(#a9e9f9,#a9e9f9) left top/1px 22px,linear-gradient(#a9e9f9,#a9e9f9) right bottom/22px 1px,linear-gradient(#a9e9f9,#a9e9f9) right bottom/1px 22px; background-repeat: no-repeat; }
.accordions { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
summary { cursor: pointer; display: flex; align-items: center; gap: 14px; list-style: none; padding: 18px 3px; font-size: clamp(17px,1.4vw,23px); font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary .icon { color: var(--ice); }
summary .plus { margin-left: auto; width: 20px; height: 20px; }
details[open] .plus { transform: rotate(45deg); }
.detail-body { padding: 0 12px 22px 42px; max-width: 650px; line-height: 1.6; color: #c4d1da; }
.detail-body span { margin-top: 10px; display: block; font-size: 13px; color: #83d0e1; }
.process { background: linear-gradient(110deg,#122333,#0c1925); border-block: 1px solid #30404d; }
.process ol { list-style: none; display: grid; grid-template-columns: repeat(4,1fr); gap: 25px; margin: 35px 0 0; padding: 0; }
.process li { border-top: 1px solid #527684; padding-top: 16px; }
.phase-index { font: 500 14px/1.4 Consolas,monospace; color: #77d7ee; }
.process h3,.app-content h3 { font-size: clamp(19px,1.55vw,25px); line-height: 1.25; margin: 12px 0 7px; letter-spacing: -.025em; }
.process li p,.app-content p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.apps { background: #09151f; }
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 32px; }
.app-card { border: 1px solid #324653; border-radius: 12px; overflow: hidden; display: grid; grid-template-columns: .74fr 1.26fr; background: #101f2b; }
.app-content { padding: clamp(17px,2vw,30px); }
.app-content h3 { margin-top: 0; }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--ice); font-weight: 650; font-size: 15px; margin-top: 18px; }
.text-link .icon { width: 17px; height: 17px; }
.text-link:hover,.contact-mail:hover { color: #bff8ff; }
.app-art { display: grid; place-items: center; overflow: hidden; min-height: 125px; position: relative; isolation: isolate; }
.art-0 { background: radial-gradient(ellipse at 60% 30%,#245368,#122a3b 80%); }
.wheel-drawing { width: min(65%,145px); aspect-ratio: 1; border-radius: 50%; padding: 5px; border: 2px solid #9cdae1; box-shadow: 0 0 0 6px #376075,0 15px 30px #02101a88; position: relative; transform: rotate(-12deg); }
.wheel-drawing span { display: block; height: 100%; border-radius: inherit; background: repeating-conic-gradient(from 0deg,#46a3bc 0deg 43deg,#a3cfcc 43deg 45deg,#173d53 45deg 88deg,#90bad0 88deg 90deg); }
.wheel-drawing::before { content: ""; position: absolute; inset: 40%; border: 2px solid #9ecdd2; background: #19364a; border-radius: 50%; }
.wheel-drawing::after { content: ""; position: absolute; top:-8%; left: 45%; width: 12%; height: 22%; background: #d7f8f8; clip-path: polygon(0 0,100% 0,50% 100%); }
.art-1 { background-color: #132e39; background-image: linear-gradient(#779da209 1px,transparent 1px),linear-gradient(90deg,#779da209 1px,transparent 1px); background-size: 15px 15px; }
.map-drawing { width: 145%; height: 90%; }
.map-drawing .roads { stroke: #709199; stroke-width: 3; opacity: .52; }
.map-drawing .route { stroke: #73e1cf; stroke-width: 4; }
.map-drawing circle { fill: #183840; stroke: #b4fff5; stroke-width: 3; }
.contact { background: linear-gradient(105deg,#112837,#0d1e2d); border-block: 1px solid var(--line); }
.contact-layout { display: flex; align-items: center; gap: 40px; justify-content: space-between; }
.contact-layout .lead { max-width: 650px; }
.contact-mail { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; font-size: clamp(18px,1.7vw,27px); font-weight: 600; color: #92e0f2; white-space: nowrap; }
footer { display: flex; align-items: center; gap: 20px; font-size: 13px; color: #adbfcb; max-width: 1420px; margin: auto; padding: 20px var(--gutter); }
footer>span:first-child { margin-right: auto; }
.footer-dot { padding: 0 6px; color: #4e7e90; }
footer a { display: grid; place-items:center; min-width: 38px; min-height: 38px; border: 1px solid var(--line); border-radius: 50%; }
footer .icon { width: 18px; height: 18px; }
dialog { background: #0c1823; padding: 0; color: var(--ink); border: 1px solid #577080; border-radius: 12px; width: min(820px,calc(100% - 28px)); max-height: calc(100dvh - 26px); box-shadow: 0 25px 90px #000a; }
dialog::backdrop { background: #020811df; }
.film-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; }
.film-head h2 { font-size: 18px; font-weight: 600; }
.film-close { display: grid; place-items: center; width: 38px; height: 38px; background: #152735; border: 1px solid #415766; border-radius: 6px; }
video { display: block; width: 100%; aspect-ratio: 16/9; background: #000; max-height: 66dvh; }
#film-description { padding: 10px 16px 14px; font-size: 14px; line-height: 1.5; color: #bfced8; }
html[lang=en] .hero h1 { font-size: clamp(40px,3.55vw,65px); }
@media (min-width: 1101px) {
  html[lang=tr] .hero h1 { transform-origin: left; transform: scaleX(1.045); width: 90%; }
  .hero p { margin-top: .62vw; }
  html[lang=tr] .hero p { max-width: 30.2vw; }
  .quick-link:first-child { gap: 1.8vw; }
}
@media (min-width: 1250px) {
  .quick-link small { white-space: nowrap; }
}
@media (min-width: 1820px) {
  .hero-photo { left: 39%; background-position: center; }
}
@media (max-width: 1100px) {
  .quick-link { padding-inline: 13px; gap: 10px; }
  .quick-link:first-child { padding-left: 10px; }
  .nav-wrap,.primary-nav { gap: 14px; }
  .brand { width: 34vw; }
  .quick-link small { font-size: 12px; }
  .app-card { grid-template-columns: 1fr; }
  .app-art { height: 140px; }
  .wheel-drawing { width: 95px; }
  .map-drawing { width: 100%; height: 100%; }
}
@media (max-width: 1000px) {
  .mast-inner { height: 81px; }
  .brand { width: 245px; max-width: calc(100% - 160px); top: 50%; transform: translateY(-50%); }
  .nav-wrap { right: var(--gutter); padding: 0; gap: 10px; }
  .language { order: -1; }
  .language-toggle,.mobile-toggle { min-height: 40px; }
  .mobile-toggle { display: grid; padding-inline: 9px; }
  .mobile-toggle .icon { width: 21px; height: 21px; stroke-width: 3; }
  .mobile-toggle .icon:last-child,.mobile-toggle[aria-expanded=true] .icon:first-child { display: none; }
  .mobile-toggle[aria-expanded=true] .icon:last-child { display: block; }
  .primary-nav { display: none; position: absolute; top: 100%; right: calc(-1 * var(--gutter)); width: min(370px,100vw); background: #0e1e2b; border: 1px solid #3b5364; border-radius: 0 0 0 10px; padding: 10px 18px 16px; box-shadow: 0 20px 30px #0008; max-height: calc(100dvh - 82px); overflow-y: auto; }
  .primary-nav.is-open { display: flex; align-items: stretch; flex-direction: column; gap: 0; }
  .nav-link { padding: 11px 8px; text-align: left; width: 100%; font-size: 15px; }
  .nav-link::after { display: none; }
  .nav-link[aria-current] { color: var(--ice); }
  .service-menu { position: static; width: 100%; border: 0; border-left: 1px solid #3c6378; border-radius: 0; margin-left: 8px; padding-block: 0; box-shadow: none; }
  .hero-inner { padding-top: 64px; padding-bottom: 48px; }
  .hero-photo { left: 24%; opacity: .82; }
  .hero h1 { font-size: clamp(44px,6.05vw,58px); }
  .hero p { font-size: 19px; max-width: 400px; }
  .quick-inner { grid-template-columns: repeat(2,1fr); padding: 4px var(--gutter); }
  .quick-link,.quick-link:first-child { padding: 14px; }
  .quick-link:nth-child(odd) { padding-left: 0; }
  .quick-link:nth-child(3)::before { display: none; }
  .quick-link:nth-child(-n+2) { border-bottom: 1px solid #354753; }
  .quick-link+.quick-link::before { height: 58%; top: 21%; }
  .why { padding-block: 24px 30px; }
  .why li { flex-direction: column; text-align: center; gap: 7px; font-size: 13px; }
  .why li .icon { width: 34px; height: 34px; }
  .process ol { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  :root { --gutter: 19px; }
  .mast-inner { height: 76px; }
  .brand { max-width: calc(100% - 143px); width: 203px; left: 14px; }
  .nav-wrap { right: 15px; gap: 7px; }
  .language-toggle { gap: 5px; padding-inline: 9px; }
  .hero { display: flex; flex-direction: column; }
  .hero-bg { background: radial-gradient(ellipse at 80% 0%,#142c3a,#08141f 66%); }
  .hero-photo { position: relative; inset: auto; width: 100%; height: clamp(155px,44vw,250px); z-index: -1; opacity: 1; background-position: 50% 57%; mask-image: linear-gradient(#000 70%,transparent); }
  .hero-inner { width: 100%; margin-top: -13px; padding: 0 var(--gutter) 28px; }
  .hero h1 { font-size: clamp(34px,8.7vw,52px); line-height: 1.07; }
  html[lang=en] .hero h1 { font-size: clamp(27px,7.6vw,42px); }
  .hero p { max-width: 470px; font-size: 16px; line-height: 1.45; margin: 13px 0 19px; }
  .hero-actions { flex-wrap: wrap; gap: 8px; }
  .btn { padding: 9px 10px; min-height: 43px; border-radius: 8px; font-size: 13px; gap: 6px; }
  .btn .icon { width: 18px; height: 18px; }
  .btn .end-icon { display: none; }
  .quick-inner { padding-inline: var(--gutter); }
  .quick-link { gap: 8px; }
  .quick-link,.quick-link:first-child { padding-block: 15px; }
  .quick-link:nth-child(even) { padding-left: 12px; padding-right: 0; }
  .quick-link:nth-child(odd) { padding-right: 8px; }
  .quick-link .icon { width: 28px; height: 28px; }
  .quick-link strong { font-size: 14px; }
  .quick-link small { font-size: 11px; line-height: 1.35; margin-top: 4px; }
  .why h2 { font-size: 25px; gap: 15px; }
  .why ul { grid-template-columns: repeat(2,1fr); margin-top: 18px; gap: 15px 13px; }
  .why li { flex-direction: row; justify-content: start; text-align: left; gap: 11px; }
  .why li+li::before { display: none; }
  .why li .icon { width: 31px; height: 31px; }
  .why li:last-child { grid-column: 1/-1; justify-content: center; margin-top: 1px; }
  .section { padding-block: 43px; }
  .section-label { margin-bottom: 7px; }
  .lead { margin-top: 11px; }
  .expertise-layout,.app-grid { grid-template-columns: 1fr; gap: 17px; margin-top: 23px; }
  .detail-photo { min-height: 150px; background-size: cover; }
  summary { padding-block: 16px; }
  .process ol { gap: 22px 16px; margin-top: 23px; }
  .process li p { font-size: 14px; }
  .app-card { grid-template-columns: min(29%,128px) 1fr; }
  .app-content { padding: 16px; }
  .app-art { height: 100%; }
  .wheel-drawing { width: 70%; }
  .map-drawing { width: 145%; }
  .contact-layout { display: block; }
  .contact-mail { margin-top: 18px; }
  footer { flex-wrap: wrap; column-gap: 12px; row-gap: 4px; font-size: 12px; }
  footer>span:first-child { width: 100%; }
  footer a { margin-left: auto; }
}
@media (max-width: 365px) {
  .hero-actions { display: grid; grid-template-columns: 1.12fr 1fr; align-items: stretch; }
  .hero-actions .btn { font-size: 12px; padding: 8px; }
  .process ol { grid-template-columns: 1fr; }
  .quick-link .icon { width: 23px; height: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
