/* =========================================================================
   ALFATEK TEMASI — ekler (alfatek-site.css'ten sonra yüklenir)
   Tam ekran slider · Hizmetlerimiz · Süreç/çağrı · Teklif Al · Videolar · Mobil
   ========================================================================= */

:root {
    --alf-gold: var(--atlas-green, #936309);
    --alf-gold-dark: var(--atlas-green-dark, #614105);
    --alf-gold-soft: var(--atlas-green-soft, #ffe4b2);
    --alf-ink: #121314;
    --alf-text: #303538;
    --alf-muted: #777e82;
    --alf-line: #e7e9e8;
    --alf-radius: 18px;
    --alf-ease: cubic-bezier(.22, .8, .2, 1);
}

html, body { max-width: 100%; overflow-x: clip; }
img, video, iframe { max-width: 100%; }

/* ---------- Ortak butonlar ---------- */
.alf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 24px; border-radius: 14px; border: 1px solid transparent; font-weight: 700; font-size: 15px; line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .2s var(--alf-ease), background .2s, color .2s, border-color .2s, box-shadow .2s; }
.alf-btn:active { transform: scale(.97); }
.alf-btn-gold { background: var(--alf-gold); color: #fff; box-shadow: 0 12px 26px -12px rgba(147, 99, 9, .8); }
.alf-btn-gold:hover { background: var(--alf-gold-dark); color: #fff; transform: translateY(-2px); }
.alf-btn-glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.alf-btn-glass:hover { background: #fff; color: var(--alf-ink); }
.alf-btn-line { background: #fff; color: var(--alf-ink); border-color: var(--alf-line); }
.alf-btn-line:hover { border-color: var(--alf-gold); color: var(--alf-gold); }
.alf-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--alf-gold); }
.alf-kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; }

/* =========================================================================
   1) TAM EKRAN SLIDER
   ========================================================================= */
.alf-hero { position: relative; width: 100%; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #050505; color: #fff; isolation: isolate; }
.alf-hero-track { position: absolute; inset: 0; }
.alf-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--alf-ease), visibility 0s linear 1s; }
.alf-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s var(--alf-ease), visibility 0s; z-index: 1; }
.alf-slide-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 22% center; transform: scale(1.06); transition: transform 7s linear; }
.alf-slide.is-active .alf-slide-media { transform: scale(1); }
.alf-slide-fill { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(30px) brightness(.45); transform: scale(1.1); display: none; }
.alf-hero::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, .7) 100%); }
.alf-slide-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, .1) 65%); }
.alf-slide-content { position: absolute; z-index: 3; left: max(24px, calc((100vw - 1452px) / 2)); bottom: 190px; max-width: 640px; padding-right: 24px; }
.alf-slide-content h2 { font-size: clamp(34px, 5.4vw, 72px); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; margin: 14px 0; color: #fff; }
.alf-slide-content p { font-size: clamp(15px, 1.4vw, 19px); color: rgba(255, 255, 255, .85); max-width: 52ch; margin: 0; }
.alf-slide-empty { background: radial-gradient(120% 120% at 80% 20%, #3b2a06, #050505 60%); opacity: 1; visibility: visible; }

.alf-hero-ui { position: absolute; z-index: 5; left: 0; right: 0; bottom: 34px; display: flex; align-items: center; justify-content: flex-end; gap: 28px; padding: 0 max(24px, calc((100vw - 1452px) / 2)); }
.alf-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.alf-hero-nav { display: flex; align-items: center; gap: 22px; }
.alf-hero-count { font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 6px; }
.alf-hero-count b { font-size: 26px; font-weight: 800; }
.alf-hero-count span { color: rgba(255, 255, 255, .6); font-size: 14px; font-weight: 600; }
.alf-hero-dots { display: flex; gap: 8px; }
.alf-dot { width: 46px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.alf-dot i { display: block; width: 100%; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; position: relative; }
.alf-dot i::after { content: ""; position: absolute; inset: 0; background: var(--alf-gold-soft); transform: scaleX(0); transform-origin: left; }
.alf-dot.is-done i::after { transform: scaleX(1); }
.alf-dot.is-active i::after { animation: alfDot var(--alf-interval, 6s) linear forwards; }
.alf-hero.is-paused .alf-dot.is-active i::after { animation-play-state: paused; }
@keyframes alfDot { to { transform: scaleX(1); } }
.alf-hero-arrows { display: flex; gap: 8px; }
.alf-hero-arrows button { width: 50px; height: 50px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; font-size: 18px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: pointer; transition: background .2s, color .2s; }
.alf-hero-arrows button:hover { background: #fff; color: #000; }
.alf-scroll { position: absolute; z-index: 5; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255, 255, 255, .8); text-decoration: none; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.alf-scroll-mouse { width: 24px; height: 38px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 14px; display: flex; justify-content: center; padding-top: 7px; }
.alf-scroll-mouse i { width: 3px; height: 8px; border-radius: 3px; background: #fff; animation: alfScroll 1.6s ease-in-out infinite; }
@keyframes alfScroll { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
.alf-scroll:hover { color: #fff; }

/* Ana sayfada üst menü slider'ın üstünde yüzer */
body.alf-has-hero .site-header, body:has(.alf-hero) .site-header { position: fixed; left: 0; right: 0; top: 0; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.alf-has-hero .site-header:not(.is-sticky) .site-navbar, body:has(.alf-hero) .site-header:not(.is-sticky) .site-navbar { background: rgba(0, 0, 0, .38); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border: 1px solid rgba(255, 255, 255, .12); }
body.alf-has-hero .site-header.is-sticky, body:has(.alf-hero) .site-header.is-sticky { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.alf-has-hero .site-header.is-sticky .site-navbar, body:has(.alf-hero) .site-header.is-sticky .site-navbar { background: #000; box-shadow: 0 14px 30px rgba(0, 0, 0, .25); }
body.alf-has-hero main, body:has(.alf-hero) main { padding-top: 0 !important; }
.alf-hero + .home-products-section, .alf-hero ~ .home-products-section { scroll-margin-top: 90px; }

/* Masaüstü geniş ekranda başlık alanının altında kalmasın */
@media (min-width: 992px) {
    /* Slayt görsellerindeki yazılar solda: sol kenar her zaman görünür kalsın */
    .alf-hero .alf-slide-media { object-position: left center; }
}
@media (min-aspect-ratio: 21/9) {
    .alf-hero .alf-slide-media { object-position: center; }
}

/* =========================================================================
   2) HİZMETLERİMİZ
   ========================================================================= */
.home-products-section { scroll-margin-top: 90px; }
.alf-services-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: end; margin-bottom: 36px; }
.alf-services-intro h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -.02em; margin: 10px 0 14px; color: var(--alf-ink); }
.alf-services-intro p { font-size: 16.5px; line-height: 1.7; color: var(--alf-muted); max-width: 58ch; margin: 0 0 22px; }
.alf-services-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.alf-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.alf-highlight { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--alf-radius); background: #fff; border: 1px solid var(--alf-line); transition: border-color .2s, transform .25s var(--alf-ease), box-shadow .25s; }
.alf-highlight:hover { border-color: var(--alf-gold-soft); transform: translateY(-3px); box-shadow: 0 18px 34px -24px rgba(0, 0, 0, .35); }
.alf-highlight-icon { width: 46px; height: 46px; flex: none; border-radius: 13px; display: grid; place-items: center; background: var(--alf-gold-soft); color: var(--alf-gold-dark); font-size: 20px; }
.alf-highlight b { display: block; font-size: 15px; color: var(--alf-ink); line-height: 1.3; }
.alf-highlight small { display: block; color: var(--alf-muted); font-size: 13px; line-height: 1.5; margin-top: 4px; }

/* Hizmet kartı ekleri */
.product-view-image { position: relative; }
.alf-card-icon { position: absolute; left: 14px; bottom: -22px; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--alf-gold); color: #fff; font-size: 21px; box-shadow: 0 10px 22px -8px rgba(147, 99, 9, .8); z-index: 2; }
.products-grid-view .product-view-content { padding-top: 30px !important; }
.alf-points { list-style: none; margin: 10px 0 4px; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.alf-points li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--alf-text); }
.alf-points li span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.alf-points li i { color: var(--alf-gold); font-size: 15px; line-height: 1.2; flex: none; }
.products-list-view .alf-card-icon { display: none; }
.product-view-card { transition: transform .25s var(--alf-ease), box-shadow .25s, border-color .2s; }
.products-grid-view .product-view-card:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -28px rgba(0, 0, 0, .45); }
.product-view-image img { transition: transform .6s var(--alf-ease); }
.product-view-card:hover .product-view-image img { transform: scale(1.05); }

/* Süreç + çağrı bandı */
.alf-process { padding: 30px 0 70px; }
.alf-process-box { position: relative; overflow: hidden; border-radius: 28px; background: #0c0c0d; color: #fff; padding: clamp(28px, 4vw, 56px); }
.alf-process-box::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(147, 99, 9, .45), transparent 65%); }
.alf-process-head { position: relative; margin-bottom: 30px; }
.alf-process-head .section-kicker { color: var(--alf-gold-soft); }
.alf-process-head h2 { color: #fff; font-size: clamp(26px, 3vw, 40px); font-weight: 800; letter-spacing: -.01em; margin: 10px 0 0; }
.alf-steps { position: relative; list-style: none; margin: 0 0 34px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.alf-step { position: relative; padding: 22px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.alf-step-no { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--alf-gold); font-weight: 800; margin-bottom: 14px; }
.alf-step b { display: block; font-size: 17px; margin-bottom: 6px; }
.alf-step p { margin: 0; color: rgba(255, 255, 255, .68); font-size: 14px; line-height: 1.6; }
.alf-step:not(:last-child)::after { content: "\2192"; position: absolute; right: -14px; top: 30px; color: rgba(255, 255, 255, .3); font-size: 18px; z-index: 2; }
.alf-cta { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 26px; border-radius: 20px; background: linear-gradient(110deg, var(--alf-gold), #b8860b); }
.alf-cta h3 { margin: 0; font-size: clamp(20px, 2.2vw, 28px); font-weight: 800; color: #fff; }
.alf-cta p { margin: 6px 0 0; color: rgba(255, 255, 255, .88); }
.alf-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.alf-cta .alf-btn-gold { background: #000; box-shadow: none; }
.alf-cta .alf-btn-gold:hover { background: #fff; color: #000; }

/* Geçiş görseli */
.alf-transition { display: block; margin: 26px 0 10px; border-radius: 22px; overflow: hidden; }
.alf-transition img { display: block; width: 100%; height: auto; transition: transform .8s var(--alf-ease); }
a.alf-transition:hover img { transform: scale(1.02); }

/* =========================================================================
   3) VİDEOLAR (projeler)
   ========================================================================= */
.alf-player { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; }
.alf-player iframe, .alf-player video, .alf-player img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.alf-player video { object-fit: contain; background: #000; }
.alf-player.is-lite { cursor: pointer; display: block; }
.alf-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; background: var(--alf-gold); color: #fff; font-size: 34px; box-shadow: 0 0 0 10px rgba(147, 99, 9, .25); transition: transform .2s; }
.alf-player.is-lite:hover .alf-play { transform: translate(-50%, -50%) scale(1.08); }
.alf-player-lg { border-radius: 24px; box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .6); }
.alf-page-video { margin-bottom: 34px; }
.alf-page-video-text { padding: 16px 4px 0; }
.alf-page-video-text h3 { font-size: 20px; font-weight: 800; margin: 0 0 6px; }
.alf-page-video-text p { color: var(--alf-muted); margin: 0; }
.alf-featured-video { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 30px; align-items: center; padding: 18px; margin-bottom: 26px; border-radius: 26px; background: #0c0c0d; color: #fff; }
.alf-featured-video-info { padding: 10px 14px 10px 0; }
.alf-featured-video-info h3 { color: #fff; font-size: clamp(22px, 2.4vw, 32px); font-weight: 800; margin: 12px 0 10px; }
.alf-featured-video-info p { color: rgba(255, 255, 255, .7); margin: 0 0 20px; line-height: 1.65; }
.alf-featured-video .alf-kicker { color: var(--alf-gold-soft); }
.alf-video-badge { background: var(--alf-gold) !important; color: #fff !important; }

/* =========================================================================
   4) TEKLİF AL PENCERESİ
   ========================================================================= */
.alf-qq .modal-dialog { max-width: 1040px; }
.alf-qq .modal-content { border: 0; border-radius: 26px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.alf-qq-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); min-height: 600px; }
.alf-qq-side { position: relative; overflow: hidden; padding: 36px 30px; background: #0c0c0d; color: #fff; display: flex; flex-direction: column; gap: 16px; }
.alf-qq-side::after { content: ""; position: absolute; right: -90px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(147, 99, 9, .55), transparent 65%); }
.alf-qq-side .alf-kicker { color: var(--alf-gold-soft); }
.alf-qq-side h2 { font-size: 34px; font-weight: 800; margin: 0; color: #fff; }
.alf-qq-side p { color: rgba(255, 255, 255, .72); line-height: 1.6; margin: 0; }
.alf-qq-trust { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.alf-qq-trust li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: rgba(255, 255, 255, .9); }
.alf-qq-trust i { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--alf-gold-soft); }
.alf-qq-contact { margin-top: auto; position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; }
.alf-qq-contact small { color: rgba(255, 255, 255, .5); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.alf-qq-contact a { color: #fff; text-decoration: none; display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 14px; }
.alf-qq-contact a:hover { color: var(--alf-gold-soft); }
.alf-qq-main { position: relative; padding: 30px 34px 26px; overflow-y: auto; max-height: calc(100vh - 3.5rem); display: flex; flex-direction: column; }
.alf-qq-close { position: absolute; right: 18px; top: 18px; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--alf-line); background: #fff; color: var(--alf-ink); cursor: pointer; z-index: 3; }
.alf-qq-close:hover { background: var(--alf-ink); color: #fff; }
.alf-qq-progress { margin: 0 50px 22px 0; }
.alf-qq-steps { display: flex; gap: 18px; margin-bottom: 10px; }
.alf-qq-steps span { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--alf-muted); }
.alf-qq-steps b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #f1f1ef; font-size: 12px; }
.alf-qq-steps .is-active { color: var(--alf-ink); }
.alf-qq-steps .is-active b, .alf-qq-steps .is-done b { background: var(--alf-gold); color: #fff; }
.alf-qq-progress > i { display: block; height: 4px; border-radius: 4px; background: #f1f1ef; overflow: hidden; }
.alf-qq-progress em { display: block; height: 100%; width: 33%; background: var(--alf-gold); transition: width .35s var(--alf-ease); }
.alf-qq-alert { padding: 12px 16px; border-radius: 12px; background: #fff3cd; color: #7a5a00; font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.alf-qq form { display: flex; flex-direction: column; flex: 1; }
.alf-qq-step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.alf-qq-step.is-active { display: block; animation: alfIn .35s var(--alf-ease); }
@keyframes alfIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.alf-qq-step legend { float: none; width: auto; font-size: 22px; font-weight: 800; color: var(--alf-ink); margin: 0 0 4px; padding: 0; }
.alf-qq-hint { color: var(--alf-muted); margin: 0 0 16px; font-size: 14px; }
.alf-qq-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.alf-qq-chip { position: relative; margin: 0; cursor: pointer; }
.alf-qq-chip input { position: absolute; opacity: 0; pointer-events: none; }
.alf-qq-chip span { display: flex; align-items: center; gap: 12px; height: 100%; min-height: 62px; padding: 12px 40px 12px 14px; border: 1.5px solid var(--alf-line); border-radius: 16px; background: #fff; transition: border-color .15s, background .15s, transform .15s; }
.alf-qq-chip span > i { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; background: #f5f3ee; color: var(--alf-gold-dark); font-size: 18px; transition: background .15s, color .15s; }
.alf-qq-chip b { font-size: 14px; line-height: 1.3; color: var(--alf-ink); }
.alf-qq-chip em { position: absolute; right: 12px; top: 50%; transform: translateY(-50%) scale(.5); opacity: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--alf-gold); color: #fff; font-size: 13px; transition: .15s; }
.alf-qq-chip:hover span { border-color: var(--alf-gold-soft); }
.alf-qq-chip input:checked + span { border-color: var(--alf-gold); background: #fffaf0; }
.alf-qq-chip input:checked + span > i { background: var(--alf-gold); color: #fff; }
.alf-qq-chip input:checked + span em { opacity: 1; transform: translateY(-50%) scale(1); }
.alf-qq-chip input:focus-visible + span { outline: 2px solid var(--alf-gold); outline-offset: 2px; }
.alf-qq-field { margin-bottom: 14px; }
.alf-qq-field label, .alf-qq-captcha label { display: block; font-size: 13px; font-weight: 700; color: var(--alf-ink); margin-bottom: 6px; }
.alf-qq-field input, .alf-qq-field textarea, .alf-qq-captcha input { width: 100%; min-height: 50px; padding: 12px 15px; border: 1.5px solid var(--alf-line); border-radius: 13px; background: #fafaf9; font: inherit; font-size: 16px; color: var(--alf-ink); outline: none; transition: border-color .15s, background .15s, box-shadow .15s; }
.alf-qq-field textarea { min-height: 120px; resize: vertical; }
.alf-qq-field input:focus, .alf-qq-field textarea:focus, .alf-qq-captcha input:focus { border-color: var(--alf-gold); background: #fff; box-shadow: 0 0 0 4px rgba(147, 99, 9, .12); }
.alf-qq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.alf-qq-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.alf-qq-pills label { margin: 0; cursor: pointer; }
.alf-qq-pills input { position: absolute; opacity: 0; pointer-events: none; }
.alf-qq-pills span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--alf-line); font-size: 14px; font-weight: 600; color: var(--alf-text); transition: .15s; }
.alf-qq-pills input:checked + span { background: var(--alf-ink); border-color: var(--alf-ink); color: #fff; }
.alf-qq-captcha { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px; border-radius: 14px; background: #f7f6f2; margin-bottom: 10px; }
.alf-qq-captcha label { margin: 0; }
.alf-qq-captcha b { color: var(--alf-gold-dark); font-size: 16px; }
.alf-qq-captcha input { width: 120px; min-height: 44px; }
.alf-qq-error { display: none; color: #c0392b; font-size: 12.5px; font-weight: 600; margin-top: 6px; width: 100%; }
.alf-qq-error.is-on { display: block; }
.alf-qq-legal { font-size: 12.5px; color: var(--alf-muted); margin: 6px 0 0; }
.alf-qq-legal i { color: var(--alf-gold); }
.alf-qq-nav { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 22px; }
.alf-qq-nav [data-qq-next], .alf-qq-nav [data-qq-submit] { margin-left: auto; }
.alf-qq-picked { font-size: 13px; font-weight: 600; color: var(--alf-gold-dark); }
.alf-qq-done { text-align: center; margin: auto; padding: 40px 10px; }
.alf-qq-done-icon { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--alf-gold); color: #fff; font-size: 42px; box-shadow: 0 0 0 12px rgba(147, 99, 9, .15); }
.alf-qq-done h3 { font-size: 28px; font-weight: 800; }
.alf-qq-done p { color: var(--alf-muted); max-width: 40ch; margin: 10px auto 24px; }

/* =========================================================================
   5) MOBİL — tüm site
   ========================================================================= */
@media (max-width: 1199px) {
    .alf-services-head { grid-template-columns: 1fr; gap: 24px; }
    .alf-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .alf-step:nth-child(2)::after { display: none; }
}

@media (max-width: 991px) {
    /* Hizmet kategorileri: yatay kaydırılabilir çipler */
    .product-category-sidebar { padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; position: static !important; }
    .product-category-sidebar-head, .product-category-sidebar small, .product-category-sidebar .bi-arrow-right-short, .product-category-toggle, .product-category-direct, .product-category-children { display: none !important; }
    .product-category-sidebar { display: flex !important; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -24px 6px; padding: 2px 24px 6px !important; scroll-snap-type: x proximity; }
    .product-category-sidebar::-webkit-scrollbar { display: none; }
    .product-category-list { display: contents !important; }
    .product-category-item, .product-category-parent { display: contents !important; }
    .product-category-all, .product-category-parent-link { flex: none; display: inline-flex !important; align-items: center; gap: 8px; width: auto !important; min-height: 46px; margin: 0 !important; padding: 6px 16px 6px 6px !important; border-radius: 99px !important; border: 1px solid var(--alf-line) !important; background: #fff !important; color: var(--alf-ink) !important; white-space: nowrap; scroll-snap-align: start; }
    .product-category-all.active, .product-category-parent-link.active { background: var(--alf-gold) !important; border-color: var(--alf-gold) !important; color: #fff !important; }
    .product-category-all-icon, .product-category-icon { width: 34px !important; height: 34px !important; min-width: 34px; border-radius: 50% !important; display: grid !important; place-items: center; font-size: 15px; }
    .product-category-all-text strong, .product-category-name strong { font-size: 13.5px !important; }
    .alf-hero-ui { flex-direction: column; align-items: stretch; gap: 18px; bottom: 26px; }
    .alf-hero-nav { justify-content: space-between; }
    .alf-scroll { display: none; }
    .alf-qq-grid { grid-template-columns: 1fr; min-height: 0; }
    .alf-qq-side { padding: 24px 22px 20px; gap: 10px; }
    .alf-qq-side h2 { font-size: 26px; }
    .alf-qq-trust, .alf-qq-side::after { display: none; }
    .alf-qq-contact { flex-direction: row; flex-wrap: wrap; gap: 8px 16px; margin-top: 4px; }
    .alf-qq-contact small { width: 100%; }
    .alf-featured-video { grid-template-columns: 1fr; gap: 14px; }
    .alf-featured-video-info { padding: 4px 8px 10px; }
}

@media (max-width: 767px) {
    /* Slider: telefonda tam ekran; ayrı telefon görseli yoksa görsel taşmadan sığdırılır */
    .alf-hero { min-height: 520px; }
    .alf-slide:not(.has-mobile) .alf-slide-fill { display: block; }
    /* Ayrı telefon görseli yoksa: yazının bulunduğu sol bölüm ekranı dolduracak şekilde büyütülür */
    .alf-slide:not(.has-mobile) .alf-slide-media { inset: auto; left: 0; top: 40%; width: 142%; height: auto; max-width: none; aspect-ratio: auto; object-fit: initial; transform: translateY(-50%) !important; transition: none; border-radius: 0; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
    .alf-slide.has-mobile .alf-slide-media { object-position: center; }
    .alf-slide-content { left: 20px; right: 20px; bottom: 210px; padding: 0; }
    .alf-slide-content h2 { font-size: 34px; }
    .alf-hero-ui { padding: 0 18px; bottom: calc(18px + env(safe-area-inset-bottom)); }
    .alf-hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .alf-hero-actions .alf-btn { width: 100%; padding: 0 12px; min-height: 52px; font-size: 14.5px; }
    .alf-hero-actions .alf-btn[hidden] + .alf-btn { grid-column: 1 / -1; }
    .alf-hero-count b { font-size: 20px; }
    .alf-dot { width: 30px; }
    .alf-hero-arrows button { width: 44px; height: 44px; border-radius: 12px; }

    .alf-services-intro h2 { font-size: 32px; }
    .alf-services-intro p { font-size: 15px; }
    .alf-services-actions .alf-btn { flex: 1 1 auto; }
    .alf-highlights { grid-template-columns: 1fr; }
    .alf-highlight { padding: 14px; }
    .alf-steps { grid-template-columns: 1fr; gap: 10px; }
    .alf-step::after { display: none; }
    .alf-step { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 16px; }
    .alf-step-no { grid-row: span 2; margin: 0; }
    .alf-cta { padding: 20px; }
    .alf-cta-actions, .alf-cta-actions .alf-btn { width: 100%; }
    .alf-process { padding: 10px 0 40px; }
    .alf-process-box { border-radius: 22px; }

    /* Teklif penceresi: tam ekran sayfa gibi */
    .alf-qq .modal-content { border-radius: 0; }
    .alf-qq-main { padding: 20px 18px calc(16px + env(safe-area-inset-bottom)); max-height: none; }
    .alf-qq-close { position: fixed; right: 14px; top: 14px; background: rgba(255, 255, 255, .95); }
    .alf-qq-side { padding: 18px 70px 16px 18px; gap: 6px; }
    .alf-qq-side p { display: none; }
    .alf-qq-side h2 { font-size: 24px; }
    .alf-qq-contact small { display: none; }
    .alf-qq-contact { gap: 6px 14px; }
    .alf-qq-contact a { font-size: 13px; }
    .alf-qq-progress { margin-right: 0; }
    .alf-qq-steps { gap: 12px; }
    .alf-qq-steps span { font-size: 12px; }
    .alf-qq-step legend { font-size: 19px; }
    .alf-qq-chips { grid-template-columns: 1fr 1fr; gap: 8px; }
    .alf-qq-chip span { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; min-height: 96px; }
    .alf-qq-chip b { font-size: 13px; }
    .alf-qq-chip em { top: 12px; transform: scale(.5); }
    .alf-qq-chip input:checked + span em { transform: scale(1); }
    .alf-qq-row { grid-template-columns: 1fr; gap: 0; }
    .alf-qq-nav { position: sticky; bottom: 0; background: #fff; margin: 0 -18px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--alf-line); }
    .alf-qq-nav .alf-btn { min-height: 52px; }
    .alf-qq-nav [data-qq-next], .alf-qq-nav [data-qq-submit] { flex: 1; }
    .alf-qq-picked { display: none; }

    .alf-play { width: 62px; height: 62px; font-size: 28px; }
    .alf-player, .alf-player-lg { border-radius: 16px; }
    .alf-featured-video { padding: 10px; border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .alf-slide-media, .alf-slide, .alf-dot.is-active i::after, .alf-scroll-mouse i { transition: none !important; animation: none !important; }
}

/* Açık pencere varken çerez bandı pencerenin altında kalsın */
body.modal-open .wr-consent { z-index: 1040 !important; }
