/* Temel tasarım değişkenleri */
:root {
    --color-primary: #0F2D52;
    --color-secondary: #2D6CDF;
    --color-accent: #F59E0B;
    --color-background: #FFFFFF;
    --color-surface: #F7F8FA;
    --color-text: #1F2937;
    --color-muted: #6B7280;
    --color-border: #E5E7EB;
    --color-whatsapp: #168F5B;
    --color-whatsapp-hover: #107449;
    --container-width: 1200px;
    --header-height: 76px;
    --radius-small: 8px;
    --radius-medium: 14px;
    --radius-large: 22px;
    --shadow-soft: 0 10px 30px rgba(15, 45, 82, 0.08);
}

/* Reset ve genel elemanlar */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body, h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
body {
    min-width: 320px;
    overflow-x: clip;
    color: var(--color-text);
    background: var(--color-background);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}
body.menu-open, body.lightbox-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button { border: 0; font: inherit; cursor: pointer; }
h1, h2 { color: var(--color-primary); line-height: 1.2; }
h1 { font-size: clamp(2rem, 7vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 5vw, 2.25rem); }

.container { width: min(100% - 32px, var(--container-width)); margin-inline: auto; }
.section { padding: 56px 0; }
.section--surface { background: var(--color-surface); }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: var(--radius-small);
    font-weight: 600;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.button--primary { color: #fff; background: var(--color-secondary); box-shadow: 0 8px 20px rgba(45, 108, 223, 0.2); }
.button--primary:hover { background: var(--color-primary); box-shadow: 0 10px 24px rgba(15, 45, 82, 0.24); transform: translateY(-2px); }
.button--whatsapp { color: #fff; background: var(--color-whatsapp); }
.button--whatsapp:hover { background: var(--color-whatsapp-hover); transform: translateY(-2px); }
.button--accent { color: var(--color-primary); background: var(--color-accent); box-shadow: 0 10px 26px rgba(245, 158, 11, 0.24); }
.button--accent:hover { background: #ffb526; transform: translateY(-2px); }
.button--outline { color: #fff; border: 1px solid rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(8px); }
.button--outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 300; top: 12px; left: 12px; padding: 10px 16px; color: #fff; background: var(--color-primary); border-radius: var(--radius-small); font-weight: 700; transform: translateY(-160%); transition: transform 180ms ease; }
.skip-link:focus { transform: translateY(0); }

/* Sticky header ve sağdan açılan mobil navigasyon */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: var(--header-height);
    border-bottom: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    transition: min-height 220ms ease, background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.home-page .site-header:not(.is-scrolled) { border-color: transparent; background: rgba(7, 25, 48, 0.18); }
.site-header.is-scrolled { min-height: 68px; border-color: transparent; background: rgba(255, 255, 255, 0.98); box-shadow: 0 8px 28px rgba(15, 45, 82, 0.1); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 22px; transition: min-height 220ms ease; }
.site-header.is-scrolled .header-inner { min-height: 68px; }
.site-logo { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; min-width: 0; color: var(--color-primary); font-weight: 700; letter-spacing: -0.02em; }
.site-logo > img { width: 42px; height: 42px; padding: 3px; object-fit: contain; background: #fff; border-radius: 10px; }
.site-logo img[hidden] { display: none; }
.site-logo > span { white-space: nowrap; }
.home-page .site-header:not(.is-scrolled) .site-logo { color: #fff; }
.menu-toggle { display: grid; flex: 0 0 auto; gap: 5px; width: 44px; height: 44px; place-content: center; color: var(--color-primary); background: #fff; border: 1px solid var(--color-border); border-radius: 10px; }
.home-page .site-header:not(.is-scrolled) .menu-toggle { color: #fff; border-color: rgba(255,255,255,0.38); background: rgba(255,255,255,0.1); }
.menu-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(3) { opacity: 0; }
.menu-toggle[aria-expanded="true"] > span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
.primary-navigation {
    position: fixed;
    z-index: 120;
    top: 0;
    right: 0;
    display: flex;
    width: min(86vw, 360px);
    height: 100dvh;
    padding: 24px;
    flex-direction: column;
    overflow-y: auto;
    background: var(--color-background);
    box-shadow: -18px 0 45px rgba(7, 25, 48, 0.2);
    visibility: hidden;
    transform: translateX(105%);
    transition: transform 220ms ease, visibility 220ms ease;
}
.primary-navigation.is-open { visibility: visible; transform: translateX(0); }
.mobile-menu-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--color-border); color: var(--color-primary); font-weight: 700; }
.menu-close { display: grid; width: 40px; height: 40px; place-items: center; color: var(--color-primary); background: var(--color-surface); border-radius: 50%; font-size: 1.8rem; line-height: 1; }
.primary-navigation ul { display: grid; gap: 6px; }
.primary-navigation li a { display: block; padding: 12px; border-radius: var(--radius-small); color: #39465a; font-size: 1rem; font-weight: 600; transition: color 180ms ease, background-color 180ms ease; }
.primary-navigation li a:hover { color: var(--color-secondary); background: var(--color-surface); }
.primary-navigation a[aria-current="page"] { color: var(--color-secondary); background: rgba(45, 108, 223, 0.08); font-weight: 600; }
.mobile-nav-actions { display: grid; gap: 10px; margin-top: auto; padding-top: 28px; }
.header-actions { display: none; align-items: center; gap: 9px; }
.nav-cta { width: 100%; margin-top: 14px; }
.menu-overlay { position: fixed; z-index: 90; inset: 0; background: rgba(5, 17, 34, 0.6); opacity: 0; transition: opacity 220ms ease; }
.menu-overlay.is-visible { opacity: 1; }
.menu-overlay[hidden] { display: none; }

/* Ana sayfa hero */
.hero {
    display: grid;
    min-height: 720px;
    margin-top: calc(var(--header-height) * -1);
    padding: calc(var(--header-height) + 84px) 0 72px;
    overflow: hidden;
    align-items: center;
    color: #fff;
    background-color: var(--color-primary);
    background-image:
        linear-gradient(90deg, rgba(5, 20, 40, 0.94) 0%, rgba(8, 34, 66, 0.84) 48%, rgba(8, 30, 58, 0.55) 100%),
        url("../img/hero.webp");
    background-position: center;
    background-size: cover;
}
.hero-inner { width: 100%; }
.hero-content { max-width: 760px; }
.hero-label { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; color: #ffd082; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; }
.hero-label span { color: var(--color-accent); }
.hero h1 { max-width: 760px; color: #fff; font-size: clamp(2.7rem, 6vw, 5.8rem); letter-spacing: -0.055em; line-height: 1.02; }
.hero h1 span { display: block; color: #ffbd4a; }
.hero-description { max-width: 650px; margin-top: 24px; color: rgba(255, 255, 255, 0.82); font-size: clamp(1rem, 2vw, 1.18rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-actions .button { min-height: 52px; padding: 13px 23px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 13px 24px; margin-top: 34px; color: rgba(255,255,255,0.88); font-size: 0.88rem; font-weight: 600; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust li span { display: grid; width: 20px; height: 20px; place-items: center; color: var(--color-primary); background: var(--color-accent); border-radius: 50%; font-size: 0.7rem; }

/* Ortak bölüm başlığı */
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-eyebrow { margin-bottom: 12px; color: var(--color-secondary); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; }
.section-title { font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: -0.04em; }
.section-title span { display: block; color: var(--color-secondary); }
.section-description { margin-top: 18px; color: var(--color-muted); font-size: clamp(0.96rem, 1.7vw, 1.08rem); line-height: 1.75; }

/* Neden Falez Kütüphane */
.why-us { background: var(--color-background); }
.benefit-grid { display: grid; gap: 18px; }
.benefit-card {
    min-width: 0;
    min-height: 245px;
    padding: 28px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: var(--color-background);
    box-shadow: 0 8px 24px rgba(15, 45, 82, 0.055);
    transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
.benefit-card:hover { border-color: rgba(45, 108, 223, 0.58); box-shadow: 0 16px 34px rgba(15, 45, 82, 0.11); transform: translateY(-5px); }
.benefit-icon { display: grid; width: 50px; height: 50px; margin-bottom: 22px; place-items: center; color: var(--color-secondary); background: rgba(45, 108, 223, 0.09); border-radius: 14px; }
.benefit-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.benefit-card h3 { color: var(--color-primary); font-size: 1.08rem; line-height: 1.35; }
.benefit-card p { margin-top: 10px; color: var(--color-muted); font-size: 0.92rem; line-height: 1.7; }

/* Şube kartları */
.branches { background: var(--color-surface); }
.branch-grid { display: grid; gap: 24px; }
.branch-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--color-border);
    border-radius: 22px;
    background: var(--color-background);
    box-shadow: var(--shadow-soft);
    transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
.branch-card:hover { border-color: rgba(45, 108, 223, 0.42); box-shadow: 0 18px 40px rgba(15, 45, 82, 0.13); transform: translateY(-4px); }
.branch-card__media { position: relative; overflow: hidden; width: 100%; aspect-ratio: 16 / 10; background: #e9edf2; }
.branch-card__media::before { position: absolute; inset: 0; display: grid; place-items: center; color: #98a2b0; content: "Falez Kütüphane"; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; }
.branch-card__media img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 240ms ease; }
.branch-card__media img[hidden] { display: none; }
.branch-card:hover .branch-card__media img { transform: scale(1.025); }
.branch-card__content { display: flex; min-width: 0; padding: 26px; flex: 1; flex-direction: column; }
.branch-card__content h3 { color: var(--color-primary); font-size: clamp(1.25rem, 2.4vw, 1.55rem); line-height: 1.3; }
.branch-card__content > p { margin-top: 12px; color: var(--color-muted); font-size: 0.93rem; line-height: 1.7; }
.branch-features { display: grid; gap: 9px; margin-top: 20px; color: #435066; font-size: 0.88rem; font-weight: 500; }
.branch-features li { display: flex; align-items: center; gap: 9px; }
.branch-features svg { flex: 0 0 auto; width: 19px; height: 19px; padding: 3px; fill: none; stroke: var(--color-secondary); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; background: rgba(45, 108, 223, 0.09); border-radius: 50%; }
.branch-card__link { align-self: flex-start; margin-top: 24px; }

/* Dört adımlı çalışma sistemi */
.how-it-works { background: var(--color-background); }
.process-grid { position: relative; display: grid; gap: 18px; }
.process-line { display: none; }
.process-card {
    position: relative;
    z-index: 1;
    min-width: 0;
    min-height: 250px;
    padding: 26px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: var(--color-background);
    box-shadow: 0 8px 24px rgba(15, 45, 82, 0.055);
    transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
.process-card:hover { border-color: rgba(45, 108, 223, 0.5); box-shadow: 0 15px 32px rgba(15, 45, 82, 0.11); transform: translateY(-4px); }
.process-card__top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 24px; }
.process-number { display: grid; width: 42px; height: 42px; place-items: center; color: #fff; background: var(--color-primary); border-radius: 50%; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; }
.process-icon, .service-icon { display: grid; width: 50px; height: 50px; place-items: center; color: var(--color-primary); background: rgba(15, 45, 82, 0.075); border-radius: 14px; }
.process-icon svg, .service-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.process-card h3 { color: var(--color-primary); font-size: 1.08rem; line-height: 1.35; }
.process-card p { margin-top: 10px; color: var(--color-muted); font-size: 0.91rem; line-height: 1.7; }

/* Hizmet kartları */
.services { background: var(--color-surface); }
.service-grid { display: grid; gap: 18px; }
.service-card {
    min-width: 0;
    min-height: 235px;
    padding: 26px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-background);
    box-shadow: 0 8px 24px rgba(15, 45, 82, 0.05);
    transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
.service-card:hover { border-color: rgba(45, 108, 223, 0.52); box-shadow: 0 15px 32px rgba(15, 45, 82, 0.1); transform: translateY(-4px); }
.service-icon { margin-bottom: 22px; transition: color 220ms ease, background-color 220ms ease; }
.service-card:hover .service-icon { color: #fff; background: var(--color-secondary); }
.service-card h3 { color: var(--color-primary); font-size: 1.03rem; line-height: 1.4; }
.service-card p { margin-top: 9px; color: var(--color-muted); font-size: 0.89rem; line-height: 1.68; }

/* JavaScript etkin olduğunda kartları hafifçe görünür kıl */
.reveal-ready .reveal { opacity: 0; transform: translateY(16px); transition: opacity 480ms ease, transform 480ms ease, border-color 220ms ease, box-shadow 220ms ease; }
.reveal-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-ready .benefit-card.is-visible:hover { transform: translateY(-5px); }
.reveal-ready .branch-card.is-visible:hover { transform: translateY(-4px); }
.reveal-ready .process-card.is-visible:hover, .reveal-ready .service-card.is-visible:hover { transform: translateY(-4px); }

/* Şube sekmeli galeri */
.gallery { background: var(--color-background); }
.gallery-tabs { display: inline-grid; grid-template-columns: repeat(2, minmax(110px, 1fr)); gap: 5px; max-width: 100%; margin-bottom: 28px; padding: 5px; border: 1px solid var(--color-border); border-radius: 13px; background: var(--color-surface); }
.gallery-tab { min-height: 44px; padding: 9px 22px; color: var(--color-muted); background: transparent; border-radius: 9px; font-weight: 700; transition: color 220ms ease, background-color 220ms ease, box-shadow 220ms ease; }
.gallery-tab:hover { color: var(--color-primary); }
.gallery-tab[aria-selected="true"] { color: #fff; background: var(--color-primary); box-shadow: 0 6px 16px rgba(15, 45, 82, 0.16); }
.gallery-panel[hidden] { display: none; }
.gallery .gallery-grid { display: grid; gap: 18px; margin-top: 0; }
.gallery-item { min-width: 0; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--color-border); border-radius: 20px; background: #e9edf2; box-shadow: 0 8px 24px rgba(15, 45, 82, 0.07); }
.gallery-open { position: relative; display: block; width: 100%; height: 100%; padding: 0; overflow: hidden; color: #fff; background: transparent; text-align: left; }
.gallery-open:disabled { cursor: default; }
.gallery-placeholder { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; color: var(--color-muted); font-size: 0.82rem; font-weight: 600; text-align: center; }
.gallery-open img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 260ms ease; }
.gallery-open img[hidden] { display: none; }
.gallery-overlay { position: absolute; z-index: 2; inset: 0; display: grid; place-items: end center; padding: 24px; color: #fff; background: linear-gradient(180deg, transparent 45%, rgba(7, 25, 48, 0.72)); font-size: 0.86rem; font-weight: 700; opacity: 0; transition: opacity 240ms ease; }
.gallery-open:not(:disabled):hover img, .gallery-open:not(:disabled):focus-visible img { transform: scale(1.04); }
.gallery-open:not(:disabled):hover .gallery-overlay, .gallery-open:not(:disabled):focus-visible .gallery-overlay { opacity: 1; }
.gallery-open:disabled .gallery-overlay { display: none; }

/* Galeri lightbox */
.lightbox { position: fixed; z-index: 200; inset: 0; display: grid; padding: 20px; place-items: center; opacity: 0; transition: opacity 180ms ease; }
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(3, 12, 24, 0.94); }
.lightbox__dialog { position: relative; z-index: 1; display: grid; width: min(1120px, 100%); max-height: calc(100dvh - 40px); grid-template-columns: 48px minmax(0, 1fr) 48px; gap: 12px; align-items: center; }
.lightbox__close, .lightbox__nav { display: grid; width: 48px; height: 48px; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,0.28); background: rgba(255,255,255,0.1); border-radius: 50%; transition: background-color 200ms ease, border-color 200ms ease; }
.lightbox__close:hover, .lightbox__nav:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.2); }
.lightbox__close { position: absolute; z-index: 2; top: 0; right: 0; font-size: 1.8rem; }
.lightbox__nav svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__figure { display: grid; min-width: 0; max-height: calc(100dvh - 40px); justify-items: center; }
.lightbox__image { display: block; max-width: 100%; max-height: calc(100dvh - 112px); object-fit: contain; background: var(--color-primary); border-radius: 12px; }
.lightbox__caption { max-width: 100%; padding: 12px 8px 0; overflow-wrap: anywhere; color: rgba(255,255,255,0.86); font-size: 0.9rem; text-align: center; }

/* Sık sorulan sorular */
.faq { background: var(--color-surface); }
.faq__heading { margin-inline: auto; text-align: center; }
.faq-list { display: grid; max-width: 900px; margin-inline: auto; gap: 12px; }
.faq-item { min-width: 0; overflow: hidden; border: 1px solid var(--color-border); border-radius: 18px; background: var(--color-background); box-shadow: 0 6px 18px rgba(15, 45, 82, 0.045); transition: border-color 220ms ease, box-shadow 220ms ease; }
.faq-item.is-open { border-color: rgba(45, 108, 223, 0.52); box-shadow: 0 10px 25px rgba(15, 45, 82, 0.08); }
.faq-item h3 { margin: 0; }
.faq-question { display: flex; width: 100%; min-width: 0; padding: 21px 22px; align-items: center; justify-content: space-between; gap: 18px; color: var(--color-primary); background: transparent; font-size: 0.98rem; font-weight: 700; line-height: 1.45; text-align: left; transition: background-color 200ms ease; }
.faq-question:hover { background: var(--color-surface); }
.faq-question > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.faq-icon { position: relative; flex: 0 0 auto; width: 28px; height: 28px; color: var(--color-secondary); background: rgba(45, 108, 223, 0.09); border-radius: 50%; }
.faq-icon::before, .faq-icon::after { position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; content: ""; background: currentColor; border-radius: 2px; transform: translate(-50%, -50%); transition: transform 200ms ease; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg) scaleX(0); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 220ms ease; }
.faq-answer.is-open { grid-template-rows: 1fr; }
.faq-answer[hidden] { display: none; }
.faq-answer__inner { min-height: 0; overflow: hidden; }
.faq-answer p { padding: 0 22px 22px; color: var(--color-muted); font-size: 0.92rem; line-height: 1.75; }

/* İletişim ve kayıt çağrısı */
.contact-cta { color: #fff; background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); }
.contact-grid { display: grid; gap: 42px; align-items: center; }
.contact-content { max-width: 660px; margin-bottom: 0; }
.contact-content .section-eyebrow { color: #ffd082; }
.contact-content .section-title, .contact-content .section-title span { color: #fff; }
.contact-content .section-description { color: rgba(255,255,255,0.8); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact-actions .button { min-height: 50px; padding-inline: 21px; }
.contact-trust { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 28px; color: rgba(255,255,255,0.86); font-size: 0.84rem; font-weight: 600; }
.contact-trust li { display: inline-flex; align-items: center; gap: 7px; }
.contact-trust li > span { display: grid; width: 19px; height: 19px; place-items: center; color: var(--color-primary); background: var(--color-accent); border-radius: 50%; font-size: 0.68rem; }
.contact-form { display: grid; min-width: 0; gap: 17px; padding: 26px; color: var(--color-text); background: var(--color-background); border-radius: 22px; box-shadow: 0 22px 54px rgba(3, 14, 29, 0.25); }
.form-field { display: grid; min-width: 0; gap: 7px; }
.form-field label { color: var(--color-primary); font-size: 0.82rem; font-weight: 700; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-width: 0; min-height: 48px; padding: 11px 13px; color: var(--color-text); border: 1px solid var(--color-border); border-radius: 12px; background: var(--color-background); font: inherit; font-size: 0.92rem; transition: border-color 180ms ease, box-shadow 180ms ease; }
.form-field textarea { min-height: 112px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--color-secondary); box-shadow: 0 0 0 3px rgba(45, 108, 223, 0.12); outline: 0; }
.form-field input:user-invalid, .form-field select:user-invalid, .form-field textarea:user-invalid { border-color: var(--color-accent); }
.consent-field { display: flex; align-items: flex-start; gap: 9px; color: var(--color-muted); font-size: 0.78rem; line-height: 1.5; cursor: pointer; }
.consent-field input { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 2px; accent-color: var(--color-secondary); }
.contact-submit { width: 100%; min-height: 50px; }
.form-status { padding: 11px 13px; color: var(--color-primary); background: var(--color-surface); border-left: 3px solid var(--color-secondary); border-radius: 10px; font-size: 0.84rem; font-weight: 600; }
.form-status[hidden] { display: none; }

/* Diğer içerik bölümleri için mevcut sade iskelet */
#branch-hero { min-height: 320px; display: grid; align-items: center; }
.gallery-grid { display: grid; gap: 16px; margin-top: 28px; }
.image-placeholder { overflow: hidden; min-height: 220px; aspect-ratio: 4 / 3; border: 1px solid var(--color-border); border-radius: var(--radius-medium); background: var(--color-surface); }
.image-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.image-placeholder img[hidden] { display: none; }

/* Kurumsal footer */
.site-footer { padding-top: 68px; color: #fff; background: var(--color-primary); }
.footer-grid { display: grid; gap: 38px; }
.footer-brand { max-width: 390px; }
.footer-logo { display: inline-flex; align-items: center; gap: 11px; color: #fff; font-size: 1.12rem; font-weight: 700; }
.footer-logo img { width: 48px; height: 48px; padding: 3px; object-fit: contain; background: #fff; border-radius: 11px; }
.footer-logo img[hidden] { display: none; }
.footer-brand > p { margin-top: 18px; color: rgba(255,255,255,0.72); font-size: 0.87rem; line-height: 1.75; }
.footer-social { display: inline-flex; min-height: 44px; margin-top: 17px; align-items: center; gap: 9px; color: rgba(255,255,255,0.88); font-size: 0.88rem; font-weight: 600; }
.footer-social svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.footer-title { margin-bottom: 16px; color: #fff; font-size: 1rem; }
.footer-links, .footer-branches, .footer-contact { display: grid; gap: 5px; }
.footer-links a, .footer-branches a { display: inline-flex; min-height: 38px; align-items: center; color: rgba(255,255,255,0.72); font-size: 0.86rem; transition: color 180ms ease, transform 180ms ease; }
.footer-links a:hover, .footer-branches a:hover, .footer-social:hover, .footer-contact a:hover { color: #fff; }
.footer-links a:hover { transform: translateX(3px); }
.footer-branches { gap: 14px; }
.footer-branches li { display: grid; }
.footer-branches small { color: rgba(255,255,255,0.5); font-size: 0.74rem; }
.footer-contact { gap: 8px; }
.footer-contact a { display: flex; min-width: 0; min-height: 42px; align-items: center; gap: 10px; color: rgba(255,255,255,0.76); font-size: 0.84rem; transition: color 180ms ease; }
.footer-contact a span { min-width: 0; overflow-wrap: anywhere; }
.footer-contact svg { flex: 0 0 auto; width: 20px; height: 20px; fill: none; stroke: var(--color-accent); stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom { display: grid; gap: 14px; margin-top: 52px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,0.16); font-size: 0.78rem; }
.footer-bottom p, .footer-bottom a { color: rgba(255,255,255,0.62); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.footer-bottom a { display: inline-flex; min-height: 32px; align-items: center; transition: color 180ms ease; }
.footer-bottom a:hover { color: #fff; }

/* Sabit hızlı erişim butonları */
.floating-whatsapp, .back-to-top { position: fixed; z-index: 80; right: 24px; display: inline-flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 12px 30px rgba(15,45,82,0.24); }
.floating-whatsapp { bottom: 24px; min-height: 54px; padding: 12px 18px; gap: 9px; background: var(--color-whatsapp); border-radius: 999px; font-size: 0.84rem; font-weight: 700; }
.floating-whatsapp:hover { background: var(--color-whatsapp-hover); }
.floating-whatsapp svg, .back-to-top svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.back-to-top { bottom: 90px; width: 48px; height: 48px; color: #fff; background: var(--color-primary); border: 1px solid rgba(255,255,255,0.18); border-radius: 50%; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity 200ms ease, transform 200ms ease, background-color 200ms ease; }
.back-to-top:hover { background: var(--color-secondary); }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* Klavye erişilebilirliği */
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

@media (min-width: 640px) {
    .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .process-grid, .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-bottom { grid-template-columns: 1fr auto; align-items: center; }
    .footer-bottom nav { justify-content: flex-end; }
}

@media (min-width: 768px) {
    body.menu-open { overflow: auto; }
    .section { padding: 80px 0; }
    .menu-toggle { display: none; }
    .site-logo > span { display: none; }
    .primary-navigation { position: static; display: block; width: auto; height: auto; padding: 0; overflow: visible; background: transparent; box-shadow: none; visibility: visible; transform: none; transition: none; }
    .primary-navigation ul { display: flex; align-items: center; gap: 0; }
    .primary-navigation li a { position: relative; padding: 10px 7px; color: var(--color-text); background: transparent; font-size: 0.83rem; font-weight: 600; white-space: nowrap; }
    .primary-navigation li a::after { position: absolute; right: 8px; bottom: 4px; left: 8px; height: 2px; content: ""; background: var(--color-secondary); transform: scaleX(0); transform-origin: center; transition: transform 180ms ease; }
    .primary-navigation li a:hover, .primary-navigation a[aria-current="page"] { color: var(--color-secondary); background: transparent; }
    .primary-navigation li a:hover::after, .primary-navigation a[aria-current="page"]::after { transform: scaleX(1); }
    .home-page .site-header:not(.is-scrolled) .primary-navigation li a { color: rgba(255,255,255,0.88); }
    .home-page .site-header:not(.is-scrolled) .primary-navigation li a:hover,
    .home-page .site-header:not(.is-scrolled) .primary-navigation a[aria-current="page"] { color: #fff; }
    .home-page .site-header:not(.is-scrolled) .primary-navigation li a::after { background: var(--color-accent); }
    .mobile-menu-header, .mobile-nav-actions { display: none; }
    .header-actions { display: flex; }
    .header-actions .button { min-height: 40px; padding: 8px 12px; font-size: 0.78rem; }
    .home-page .site-header:not(.is-scrolled) .header-actions .button--primary { color: var(--color-primary); background: #fff; box-shadow: none; }
    .nav-cta { width: auto; margin-top: 0; }
    .menu-overlay { display: none; }
    .hero { min-height: 100svh; padding-top: calc(var(--header-height) + 96px); padding-bottom: 88px; }
    .branch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 992px) {
    .benefit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .process-line { position: absolute; z-index: 0; top: 46px; right: 8%; left: 8%; display: block; height: 1px; background: var(--color-border); }
    .service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .section-heading { margin-bottom: 50px; }
    .contact-grid { grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr); gap: clamp(48px, 7vw, 90px); }
    .footer-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr) minmax(0, 0.95fr) minmax(0, 1.1fr); }
}

@media (min-width: 1024px) {
    .site-logo > span { display: inline; }
    .primary-navigation li a { padding-inline: 10px; font-size: 0.88rem; }
    .header-actions .button { padding-inline: 16px; font-size: 0.84rem; }
}

@media (max-width: 479px) {
    .site-logo > img { width: 38px; height: 38px; }
    .site-logo > span { font-size: 0.95rem; }
    .hero { padding-top: calc(var(--header-height) + 68px); padding-bottom: 60px; }
    .hero h1 { font-size: clamp(2.3rem, 12vw, 3.15rem); }
    .hero-label { font-size: 0.7rem; letter-spacing: 0.12em; }
    .hero-actions { display: grid; }
    .hero-actions .button { width: 100%; }
    .hero-trust { display: grid; gap: 11px; }
    .benefit-card, .branch-card__content, .process-card, .service-card { padding: 22px; }
    .branch-card__link { width: 100%; }
    .gallery-tabs { display: grid; width: 100%; }
    .gallery-tab { min-width: 0; padding-inline: 12px; }
    .lightbox { padding: 12px; }
    .lightbox__dialog { max-height: calc(100dvh - 24px); grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 5px; }
    .lightbox__close, .lightbox__nav { width: 44px; height: 44px; }
    .lightbox__figure { max-height: calc(100dvh - 24px); }
    .lightbox__image { max-height: calc(100dvh - 104px); }
    .lightbox__caption { font-size: 0.8rem; }
    .faq-question { padding: 18px; gap: 12px; font-size: 0.93rem; }
    .faq-answer p { padding: 0 18px 18px; }
    .contact-actions { display: grid; }
    .contact-actions .button { width: 100%; }
    .contact-trust { display: grid; gap: 10px; }
    .contact-form { padding: 21px; }
    .site-footer { padding-top: 56px; }
    .footer-grid { gap: 32px; }
    .floating-whatsapp { right: 16px; bottom: 16px; width: 52px; height: 52px; min-height: 52px; padding: 0; }
    .floating-whatsapp span { display: none; }
    .back-to-top { right: 18px; bottom: 80px; width: 46px; height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal-ready .reveal { opacity: 1; transform: none; transition: none; }
    .gallery-open img, .gallery-overlay, .lightbox { transition: none; }
    .faq-answer, .faq-icon::before, .faq-icon::after { transition: none; }
    .skip-link, .back-to-top { transition: none; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
