/* ==========================================================
   Altısyapı — Ana stil dosyası
   ========================================================== */
:root {
    --orange: #f47c13;
    --orange-d: #d9650a;
    --dark: #1b2028;
    --dark-2: #232a34;
    --text: #2b313a;
    --muted: #6b7380;
    --line: #e6e8ec;
    --soft: #f5f6f8;
    --white: #fff;
    --radius: 10px;
    --shadow: 0 6px 24px rgba(20, 25, 35, .08);
    --shadow-h: 0 14px 34px rgba(20, 25, 35, .14);
    --head: "Barlow", system-ui, sans-serif;
    --body: "Inter", system-ui, sans-serif;
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }
body { margin: 0; font-family: var(--body); color: var(--text); font-size: 15.5px; line-height: 1.65; background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--dark); line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.hl { color: var(--orange); }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-family: var(--head); font-weight: 600; font-size: 1rem; padding: .8em 1.5em; border-radius: 6px; border: 2px solid transparent; cursor: pointer; transition: .2s; white-space: nowrap; }
.btn .ico { width: 1em; height: 1em; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-d); transform: translateY(-1px); }
.btn-outline { border-color: rgba(255,255,255,.85); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--dark); }
.btn-light { background: #fff; color: var(--orange-d); }
.btn-light:hover { background: var(--dark); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--dark); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-sm { padding: .55em 1em; font-size: .9rem; }
.btn.block { width: 100%; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.logo-dark { color: var(--dark); }
.logo-mark { width: 44px; height: 36px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font-family: var(--head); font-size: 1.65rem; font-weight: 800; letter-spacing: -.5px; }
.logo-text b span { color: var(--orange); }
.logo-text small { font-size: .58rem; opacity: .75; letter-spacing: .3px; margin-top: 3px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--dark); box-shadow: 0 2px 12px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { flex: none; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 4px; }
.main-nav li { position: relative; }
.main-nav > ul > li > a { display: flex; align-items: center; gap: 4px; color: #e7e9ee; font-weight: 500; font-size: .93rem; padding: 10px 12px; border-radius: 6px; transition: .2s; }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a.active { color: var(--orange); }
.caret { width: .9em; height: .9em; transition: transform .2s; }
.sub { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border-radius: 8px; box-shadow: var(--shadow-h); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; border-top: 3px solid var(--orange); }
.sub a { display: block; padding: 9px 12px; border-radius: 6px; font-size: .92rem; color: var(--text); }
.sub a:hover { background: var(--soft); color: var(--orange); }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .caret { transform: rotate(180deg); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.nav-toggle .ico { width: 28px; height: 28px; }
.nav-toggle .i-close { display: none; }

/* ---------- Hero ---------- */
/* Slider */
.hero-slider { position: relative; height: clamp(520px, 78vh, 680px); overflow: hidden; background: var(--dark); color: #fff; touch-action: pan-y; }
.slides, .slide { position: absolute; inset: 0; }
.slide { display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s 1s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease; z-index: 1; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.12); }
.slide.is-active .slide-bg { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(15,18,24,.9) 0%, rgba(15,18,24,.6) 50%, rgba(15,18,24,.12) 100%); }
/* Görsel yokken her slayda farklı renk */
.slide-1 .slide-bg:not([style*="url"]) { background-image: linear-gradient(120deg, #1b2028 0%, #3a2b20 55%, #d06a1a 115%); }
.slide-2 .slide-bg:not([style*="url"]) { background-image: linear-gradient(120deg, #1b2028 0%, #2c3a4a 55%, #6d8299 115%); }
.slide-3 .slide-bg:not([style*="url"]) { background-image: linear-gradient(120deg, #1b2028 0%, #3b3127 55%, #a8865c 115%); }
.slide-4 .slide-bg:not([style*="url"]) { background-image: linear-gradient(120deg, #1b2028 0%, #22363a 55%, #4f8a86 115%); }
.hero-inner { position: relative; z-index: 2; padding: 0 0 50px; }
.hero-text { max-width: 640px; }
.hero-slider h1, .hero-slider .h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; margin-bottom: .45em; }
.hero-slider p { font-size: 1.12rem; color: #e5e7eb; max-width: 480px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-text > * { opacity: 0; transform: translateY(26px); }
.slide.is-active .hero-text > * { animation: slideUp .8s ease forwards; }
.slide.is-active .hero-text > :nth-child(2) { animation-delay: .15s; }
.slide.is-active .hero-text > :nth-child(3) { animation-delay: .3s; }
@keyframes slideUp { to { opacity: 1; transform: none; } }
.sl-arrow { position: absolute; top: 45%; z-index: 3; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.25); color: #fff; display: grid; place-items: center; cursor: pointer; transition: .2s; backdrop-filter: blur(4px); }
.sl-arrow:hover { background: var(--orange); border-color: var(--orange); }
.sl-arrow .ico { width: 24px; height: 24px; }
.sl-prev { left: 24px; } .sl-prev .ico { transform: rotate(180deg); }
.sl-next { right: 24px; }
.sl-dots { position: absolute; z-index: 3; left: 50%; bottom: 84px; transform: translateX(-50%); display: flex; gap: 10px; }
.sl-dot { width: 46px; height: 4px; padding: 8px 0; border: 0; background: none; cursor: pointer; box-sizing: content-box; }
.sl-dot span { display: block; height: 4px; border-radius: 2px; background: rgba(255,255,255,.35); overflow: hidden; position: relative; }
.sl-dot span::after { content: ""; position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.sl-dot.is-active span::after { animation: progress var(--sl-delay, 6s) linear forwards; }
.hero-slider.paused .sl-dot.is-active span::after { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .slide-bg, .hero-text > * { animation: none !important; opacity: 1; transform: none; } }

/* ---------- Quick services ---------- */
.quick-services { position: relative; margin-top: -60px; z-index: 2; }
.qs-bar { display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-h); overflow: hidden; }
.qs-item { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 26px 12px; font-family: var(--head); font-weight: 700; color: var(--dark); line-height: 1.2; transition: .2s; }
.qs-item + .qs-item { border-left: 1px solid var(--line); }
.qs-item:hover { background: var(--orange); color: #fff; }
.qs-ico { width: 40px; height: 40px; color: var(--orange); transition: .2s; }
.qs-item:hover .qs-ico { color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.bg-soft { background: var(--soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head p { color: var(--muted); }
.section-head.split { display: flex; align-items: end; justify-content: space-between; text-align: left; max-width: none; gap: 20px; }
.bar-title { position: relative; padding-left: 16px; }
.bar-title::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px; background: var(--orange); border-radius: 2px; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: 1.1fr 1.2fr .55fr; gap: 40px; align-items: center; }
.why-img { aspect-ratio: 4/3; }
.checks li { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-weight: 500; }
.checks .ico { color: #fff; background: var(--orange); border-radius: 50%; padding: 2px; stroke-width: 2.4; }
.checks .ico circle { display: none; }
.checks.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; margin-bottom: 28px; }
.why-text .btn { margin-top: 20px; }
.stats { display: flex; flex-direction: column; gap: 12px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 12px; text-align: center; box-shadow: var(--shadow); }
.stat strong { display: block; font-family: var(--head); font-size: 2.1rem; font-weight: 800; color: var(--orange); line-height: 1; }
.stat span { font-size: .85rem; color: var(--muted); }
.stats.inline { flex-direction: row; margin-top: 24px; }
.stats.inline .stat { flex: 1; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc-card, .prj-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .25s; display: flex; flex-direction: column; }
.svc-card:hover, .prj-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); }
.svc-img, .prj-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.cover { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.svc-card:hover .cover, .prj-card:hover .cover { transform: scale(1.05); }
.rounded { border-radius: var(--radius); overflow: hidden; }
.svc-body { padding: 0 22px 22px; flex: 1; display: flex; flex-direction: column; }
.svc-body h3 { display: flex; align-items: center; gap: 10px; margin-top: -22px; position: relative; }
.svc-ico { display: grid; place-items: center; width: 48px; height: 48px; background: #fff; border-radius: 8px; box-shadow: var(--shadow); color: var(--orange); flex: none; }
.svc-ico .ico { width: 26px; height: 26px; }
.svc-body p { color: var(--muted); font-size: .93rem; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 4px; color: var(--orange); font-weight: 600; font-size: .9rem; }
.more .ico { width: 1em; }
.prj-body { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; }
.prj-body h3 { margin: 0; font-size: 1.05rem; }
.prj-arrow { color: var(--orange); width: 22px; height: 22px; transition: .2s; }
.prj-card:hover .prj-arrow { transform: translateX(4px); }
.prj-status { position: absolute; top: 12px; left: 12px; background: #16a34a; color: #fff; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 20px; }
.prj-status.ongoing { background: var(--orange); }
.prj-card.hide { display: none; }

/* Görsel yer tutucu (assets/img içine dosya ekleyince otomatik kalkar) */
.img-ph { width: 100%; height: 100%; min-height: 100%; display: grid; place-items: center; color: rgba(255,255,255,.55);
    background:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 22px 22px,
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 22px 22px,
        linear-gradient(135deg, #2b3440 0%, #1b2028 60%, #4a3020 100%); }
.img-ph .ico { width: 64px; height: 64px; stroke-width: 1.2; }
.why-img .img-ph, .about-img .img-ph, .detail-img .img-ph { aspect-ratio: 4/3; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip { font: 600 .95rem var(--head); padding: 9px 20px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--dark); cursor: pointer; transition: .2s; }
.chip:hover { border-color: var(--orange); color: var(--orange); }
.chip.active { background: var(--orange); border-color: var(--orange); color: #fff; }
.empty-msg { text-align: center; color: var(--muted); }

/* ---------- Page hero ---------- */
.page-hero { position: relative; color: #fff; padding: 64px 0 70px; background: linear-gradient(120deg, #1b2028 0%, #26303d 70%, #3b4a5c 100%); background-size: cover; background-position: center; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,18,24,.9) 0%, rgba(15,18,24,.6) 60%, rgba(15,18,24,.25) 100%); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; margin: 14px 0 10px; }
.page-hero p { max-width: 560px; color: #dde1e7; font-size: 1.05rem; margin: 0; }
.crumbs { font-size: .85rem; color: #b9c0ca; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--orange); }
.crumbs em { font-style: normal; color: #fff; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.about-img { box-shadow: -10px 10px 0 var(--orange); border-radius: var(--radius); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.value { padding: 10px 30px; }
.value + .value { border-left: 1px solid var(--line); }
.value-ico { width: 48px; height: 48px; color: var(--orange); margin-bottom: 12px; }
.value p { color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 0; margin: 0; list-style: none; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.steps b { font-family: var(--head); font-size: 2.4rem; color: var(--orange); opacity: .3; line-height: 1; }
.steps p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Service detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 330px; gap: 40px; align-items: start; }
.detail-img { aspect-ratio: 16/9; margin-bottom: 30px; }
.detail-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 22px; }
.side-box { background: var(--soft); border-radius: var(--radius); padding: 24px; }
.side-box.dark { background: var(--dark); color: #cfd4db; }
.side-box.dark h4 { color: #fff; }
.side-list a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 6px; font-weight: 500; transition: .2s; }
.side-list a .ico { color: var(--orange); }
.side-list a:hover, .side-list a.active { background: #fff; color: var(--orange); box-shadow: var(--shadow); }

/* ---------- References & testimonials ---------- */
.ref-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ref-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: .2s; min-height: 170px; justify-content: center; }
.ref-card:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.ref-card img { max-height: 70px; width: auto; filter: grayscale(1); opacity: .8; transition: .2s; }
.ref-card:hover img { filter: none; opacity: 1; }
.ref-initial { width: 54px; height: 54px; border-radius: 50%; background: var(--dark); color: var(--orange); display: grid; place-items: center; font: 800 1.5rem var(--head); }
.ref-card strong { font-family: var(--head); color: var(--dark); }
.ref-card small { color: var(--muted); }
.testi { margin: 0; background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.testi-q { width: 34px; height: 34px; color: var(--orange); }
.testi blockquote { margin: 14px 0 18px; font-size: .98rem; }
.testi figcaption strong { display: block; font-family: var(--head); color: var(--dark); }
.testi figcaption span { font-size: .85rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.ci-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ci-item:last-child { border: 0; }
.ci-ico { width: 28px; height: 28px; color: var(--orange); margin-top: 2px; }
.ci-item h3 { margin: 0 0 2px; font-size: 1.05rem; }
.ci-item p { margin: 0; color: var(--muted); }
.ci-item a:hover { color: var(--orange); }
.contact-form { background: #fff; border-radius: 12px; box-shadow: var(--shadow-h); padding: 34px; }
.contact-form h2 { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; }
.form-ico { width: 30px; height: 30px; color: var(--orange); }
.field { position: relative; display: block; margin-bottom: 14px; }
.field > .ico { position: absolute; left: 14px; top: 14px; color: var(--muted); width: 18px; height: 18px; pointer-events: none; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: .95rem; padding: 12px 14px 12px 42px; border: 1px solid #d7dbe1; border-radius: 8px; background: #fff; color: var(--text); transition: .2s; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7380' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(244,124,19,.15); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.kvkk { font-size: .8rem; color: var(--muted); }
.kvkk a { color: var(--orange); }
.alert { border-radius: 8px; padding: 14px 16px; margin-bottom: 18px; font-size: .93rem; display: flex; gap: 10px; align-items: flex-start; }
.alert.ok { background: #ecfdf3; color: #146c3b; border: 1px solid #b7ebcb; }
.alert.err { background: #fef2f2; color: #9b1c1c; border: 1px solid #fbcaca; }
.alert ul { padding-left: 18px; list-style: disc; }
.map iframe { display: block; width: 100%; height: 400px; border: 0; filter: grayscale(.2); }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(110deg, var(--orange) 0%, #e8590c 100%); color: #fff; padding: 50px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .25em; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.cta p { margin: 0; opacity: .95; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #aab1bc; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 40px; padding: 64px 0 44px; }
.site-footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 18px; }
.site-footer li { margin-bottom: 9px; }
.site-footer a:hover { color: var(--orange); }
.f-about p { margin: 18px 0; }
.social { display: flex; gap: 10px; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: .2s; }
.social a:hover { background: var(--orange); color: #fff; }
.social .ico { width: 18px; height: 18px; }
.f-contact li { display: flex; gap: 12px; align-items: flex-start; }
.f-contact .ico { color: var(--orange); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: .85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Floating buttons ---------- */
.float-actions { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 10px; z-index: 90; }
.fab { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.25); transition: .2s; }
.fab:hover { transform: scale(1.08); }
.fab .ico { width: 24px; height: 24px; }
.fab-wa { background: #25d366; }
.fab-call { background: var(--orange); display: none; }
.fab-top { background: var(--dark); opacity: 0; visibility: hidden; }
.fab-top.show { opacity: 1; visibility: visible; }

/* ---------- Misc ---------- */
.prose { max-width: 780px; }
.big404 { font-size: 7rem; color: var(--orange); margin: 0; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .header-phone { display: none; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .stats:not(.inline) { grid-column: 1 / -1; flex-direction: row; }
    .stats:not(.inline) .stat { flex: 1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
    .nav-toggle { display: block; }
    .main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--dark); padding: 20px; overflow-y: auto; transform: translateX(100%); transition: transform .3s; }
    .nav-open .main-nav { transform: none; }
    .nav-open .nav-toggle .i-open { display: none; }
    .nav-open .nav-toggle .i-close { display: block; }
    .main-nav > ul { flex-direction: column; }
    .main-nav > ul > li > a { font-size: 1.1rem; padding: 14px 8px; border-bottom: 1px solid rgba(255,255,255,.07); justify-content: space-between; }
    .sub { position: static; opacity: 1; visibility: visible; transform: none; display: none; background: transparent; box-shadow: none; border: 0; padding: 0 0 8px 12px; }
    .has-sub.open .sub { display: block; }
    .has-sub.open .caret { transform: rotate(180deg); }
    .sub a { color: #c3c9d2; }
    .sub a:hover { background: transparent; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .qs-bar { grid-template-columns: repeat(3, 1fr); }
    .qs-item:nth-child(4) { border-left: 0; }
    .qs-item:nth-child(n+4) { border-top: 1px solid var(--line); }
    .about-grid, .contact-grid, .detail-grid { grid-template-columns: 1fr; }
    .detail-side { position: static; }
    .steps, .ref-grid { grid-template-columns: repeat(2, 1fr); }
    .fab-call { display: grid; }
}
@media (max-width: 640px) {
    :root { --header-h: 66px; }
    body { font-size: 15px; }
    .section { padding: 56px 0; }
    .logo-text b { font-size: 1.4rem; }
    .logo-mark { width: 38px; }
    .hero-slider { height: 560px; }
    .sl-arrow { display: none; }
    .sl-dots { bottom: 76px; }
    .sl-dot { width: 30px; }
    .why-grid, .card-grid, .values, .steps { grid-template-columns: 1fr; }
    .value + .value { border-left: 0; border-top: 1px solid var(--line); padding-top: 26px; }
    .qs-bar { grid-template-columns: repeat(2, 1fr); }
    .qs-item { border-left: 0 !important; border-top: 1px solid var(--line); }
    .qs-item:nth-child(even) { border-left: 1px solid var(--line) !important; }
    .qs-item:nth-child(-n+2) { border-top: 0; }
    .qs-item:last-child { grid-column: 1 / -1; }
    .stats.inline, .stats:not(.inline) { flex-direction: column; }
    .row2, .checks.two-col { grid-template-columns: 1fr; gap: 0; }
    .row2 { gap: 0; }
    .contact-form { padding: 24px 18px; }
    .section-head.split { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .cta-btns .btn { flex: 1; }
}
