/*
Theme Name: Yücel Hukuk Premium
Theme URI: https://muratyucel.av.tr
Author: Yücel Hukuk Dijital
Description: Yücel Hukuk & Danışmanlık Bürosu için kurumsal logo paletine (altın, çelik mavisi, koyu zemin) göre tasarlanmış, açık/koyu temalı, hesaplama araçları, AI ön analiz, randevu sistemi ve Customizer destekli premium WordPress teması.
Version: 4.6.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL v2 or later
Text Domain: yucel-hukuk
Tags: law, custom-logo, custom-menu, dark-mode, one-column, translation-ready
*/

/* ===== TOKENS — kurumsal logo paleti (altın · çelik mavisi · koyu zemin) ===== */
:root, html.dark {
  --ink:#0d1214; --ink-2:#121a1e; --card:#162026; --card-2:#1d2a31;
  --gold:#deb757; --gold-light:#eed58f; --gold-dark:#b8902f; --gold-rgb:222 183 87;
  --steel:#7599b2; --steel-light:#a9c3d6; --steel-rgb:117 153 178;
  --line:rgb(222 183 87 / .18); --line-strong:rgb(222 183 87 / .36);
  --slate:#94a3b8; --text:#e9eef1; --text-dim:#a7b4bd; --text-faint:#8795a0; --head:#ffffff;
  --red:#f0766c; --green:#4fc08d; --blue:#7599b2; --danger:#e5534b;
  --topbar:#080b0d; --footer-bg:#080b0d; --header-bg:rgba(13,18,20,.86); --hair:rgba(255,255,255,.06); --on-gold:#0d1214;
  --bg-primary:var(--ink); --bg-secondary:var(--ink-2);
  --card-bg:rgba(22,32,38,.72); --card-border:rgba(222,183,87,.24); --text-main:#f5f7f8; --text-muted:#a7b4bd;
  --r-sm:6px; --r-md:10px; --r-lg:18px; --r-xl:24px;
  --shadow-sm:0 4px 14px rgba(0,0,0,.28); --shadow-md:0 14px 40px -12px rgba(0,0,0,.55); --shadow-lg:0 30px 80px -24px rgba(0,0,0,.7);
  --focus:0 0 0 3px rgb(222 183 87 / .5);
  --serif:'Playfair Display',Georgia,serif; --sans:'Inter',system-ui,sans-serif; --display:'Montserrat','Inter',system-ui,sans-serif; --mono:'JetBrains Mono',ui-monospace,monospace;
  color-scheme: dark;
}
/* ===== Açık tema ===== */
html:not(.dark) {
  --ink:#f5f7f8; --ink-2:#ebeff1; --card:#ffffff; --card-2:#eef2f4;
  --gold:#8f6a16; --gold-light:#a97e1e; --gold-dark:#73540f; --gold-rgb:143 106 22;
  --steel:#3f6a8a; --steel-light:#4f7390; --steel-rgb:63 106 138;
  --line:rgb(143 106 22 / .22); --line-strong:rgb(143 106 22 / .4);
  --slate:#5a6a74; --text:#10191e; --text-dim:#46555e; --text-faint:#5a6a74; --head:#10191e;
  --red:#c0392b; --green:#16794a; --blue:#3f6a8a;
  --header-bg:rgba(245,247,248,.9); --hair:rgba(16,25,30,.08); --on-gold:#ffffff;
  --card-bg:rgba(255,255,255,.94); --card-border:rgba(143,106,22,.28); --text-main:#10191e; --text-muted:#46555e;
  --shadow-sm:0 4px 14px rgba(16,25,30,.08); --shadow-md:0 14px 40px -14px rgba(16,25,30,.22); --shadow-lg:0 30px 80px -26px rgba(16,25,30,.3);
  --focus:0 0 0 3px rgb(143 106 22 / .4);
  color-scheme: light;
}
/* Topbar ve footer her iki temada koyu kalır */
.topbar, footer.site-footer {
  --text:#e9eef1; --text-dim:#aab7c0; --text-faint:#8795a0; --head:#fff; --card:#162026; --card-2:#1d2a31;
  --gold:#deb757; --gold-light:#eed58f; --gold-rgb:222 183 87; --on-gold:#0d1214; --steel:#7599b2; --steel-light:#a9c3d6;
  --line:rgb(222 183 87 / .18); --line-strong:rgb(222 183 87 / .36); --hair:rgba(255,255,255,.07);
}


/* ============================================================
   TOKENS & DEĞİŞKENLER (Landing Page Konsepti)
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; transition: color .3s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* WP Admin Bar Çakışması Önleme */
.admin-bar .site-header { top: 32px; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 3px;
}

/* ============================================================
   TOPBAR & HEADER
   ============================================================ */
.topbar { background: var(--topbar); border-bottom: 1px solid var(--line); font-size: .78rem; color: var(--text-faint); }
.topbar-inner { max-width: 1280px; margin: 0 auto; padding: 8px 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar-left { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.topbar-left i, .topbar-right i { color: var(--gold); margin-right: 5px; font-size: .7rem; }
.topbar-right a { color: var(--text-faint); transition: color .2s; }
.topbar-right a:hover { color: var(--gold); }

header.site-header {
  position: sticky; top: 0; z-index: 500;
  background: var(--header-bg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-mark { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--gold); letter-spacing: .04em; }
.brand-div { width: 1px; height: 28px; background: var(--line-strong); }
.brand-sub { display: flex; flex-direction: column; line-height: 1.35; }
.brand-sub span { font-size: .62rem; letter-spacing: .22em; color: var(--slate); text-transform: uppercase; font-weight: 600; }

nav.primary-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; }
.nav-list > li > a { display: flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 500; color: var(--text); padding: 10px 14px; border-radius: var(--r-sm); transition: color .2s, background .2s; }
.nav-list > li > a:hover { color: var(--gold); background: rgb(var(--gold-rgb) / .06); }
.nav-list > li > a .car { font-size: .65rem; opacity: .6; transition: transform .2s; }
.nav-list > li:hover .car { transform: rotate(180deg); }

/* Dropdowns & Mega Menu */
.drop { position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; background: var(--card); border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: 0 0 var(--r-md) var(--r-md); padding: 8px; box-shadow: 0 18px 40px rgba(0,0,0,.5); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav-list > li:hover .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop li a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; font-size: .83rem; color: var(--text-dim); border-radius: 6px; transition: all .15s; }
.drop li a:hover { color: var(--gold); background: rgb(var(--gold-rgb) / .06); padding-left: 16px; }
.drop li a i { width: 14px; font-size: .74rem; color: var(--gold); }
.has-mega { position: static !important; }
.mega { position: absolute; max-height: 78vh; overflow-y: auto; top: 100%; left: 0; width: 100%; background: var(--card); border-top: 2px solid var(--gold); box-shadow: 0 22px 50px rgba(0,0,0,.55); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .22s, transform .22s, visibility .22s; }
.has-mega:hover .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-inner { max-width: 1280px; margin: 0 auto; padding: 30px 32px; display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.mega-col h4 { font-family: var(--serif); font-weight: 600; color: var(--gold); font-size: .85rem; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px dashed var(--line-strong); }
.mega-col ul li a { display: block; font-size: .82rem; color: var(--text-dim); padding: 5px 0; transition: color .15s, padding .15s; }
.mega-col ul li a::before { content: '— '; color: var(--gold); }
.mega-col ul li a:hover { color: var(--text); padding-left: 3px; }

/* Buttons & Mobile Nav */
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-weight: 600; font-size: .85rem; border: 1px solid transparent; border-radius: var(--r-sm); padding: 10px 20px; transition: all .2s; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 8px 20px rgb(var(--gold-rgb) / .25); }
.btn-outline { background: transparent; color: var(--gold); border-color: var(--line-strong); }
.btn-outline:hover { background: rgb(var(--gold-rgb) / .07); border-color: var(--gold); }
.btn-ghost { background: transparent; color: var(--text-dim); border-color: var(--line); }
.btn-ghost:hover { color: var(--text); border-color: var(--line-strong); }
.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 14px 30px; font-size: .95rem; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--gold); border-radius: 1px; transition: all .25s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(3px); z-index: 600; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.mobile-overlay.open { opacity: 1; visibility: visible; }
.mobile-panel { position: fixed; top: 0; right: -100%; width: 300px; max-width: 88vw; height: 100%; background: var(--ink-2); border-left: 1px solid var(--line-strong); z-index: 601; overflow-y: auto; transition: right .35s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; }
.mobile-panel.open { right: 0; }
.mobile-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.mobile-close { background: none; border: none; color: var(--text-dim); font-size: 1.3rem; padding: 4px; }
.mobile-list { padding: 8px 0; flex: 1; }
.mobile-list > li { border-bottom: 1px solid var(--hair); }
.mobile-list > li > a { display: flex; align-items: center; gap: 10px; padding: 14px 20px; font-size: .9rem; font-weight: 500; color: var(--text); }
.mobile-list > li > a:hover { color: var(--gold); }
.mobile-list > li > a i { width: 16px; color: var(--gold); }
.mob-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; background: none; border: none; padding: 14px 20px; font-size: .9rem; font-weight: 500; color: var(--text); }
.mob-toggle span { display: flex; align-items: center; gap: 10px; }
.mob-toggle span i { width: 16px; color: var(--gold); }
.mob-toggle .car { font-size: .7rem; color: var(--text-dim); transition: transform .25s; }
.mob-toggle[aria-expanded="true"] .car { transform: rotate(180deg); }
.mob-sub { max-height: 0; overflow: hidden; background: rgba(0,0,0,.25); transition: max-height .35s ease; }
.mob-sub.open { max-height: 600px; }
.mob-sub li a { display: block; padding: 10px 20px 10px 46px; font-size: .82rem; color: var(--text-dim); border-bottom: 1px solid var(--hair); }
.mob-sub li a:hover { color: var(--gold); }
.mob-group { padding: 10px 20px 4px; font-size: .68rem; font-weight: 700; color: var(--gold); letter-spacing: .18em; text-transform: uppercase; border-top: 1px solid var(--line); margin-top: 4px; }
.mobile-foot { padding: 18px 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }

@media(max-width:1179px) { nav.primary-nav { display: none; } }
@media(max-width:760px) { .nav-actions { display: none; } }
@media(max-width:1100px) { .topbar { display: none; } }
.hamburger { display: flex; }


/* ============================================================
   HERO & TICKER
   ============================================================ */
.file-ref{ font-family:var(--mono); font-size:.7rem; letter-spacing:.12em; color:var(--gold); text-transform:uppercase; display:inline-flex; align-items:center; gap:.5em; margin-bottom:14px; }
.file-ref::before{content:'§';font-size:.95em;opacity:.7;}
.file-ref .file-ref-line{ display:inline-block; width:34px; height:1px; background:var(--line-strong); }

.hero { position: relative; overflow: hidden; padding: 88px 32px 80px; background: radial-gradient(ellipse 70% 50% at 75% 0%, rgb(var(--gold-rgb) / .07), transparent 60%), radial-gradient(ellipse 60% 50% at 15% 100%, rgba(111,155,214,.05), transparent 60%), var(--ink); }
.hero-grid { position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(rgb(var(--gold-rgb) / .025) 1px,transparent 1px), linear-gradient(90deg,rgb(var(--gold-rgb) / .025) 1px,transparent 1px); background-size: 64px 64px; }
.hero-inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 16px; margin-bottom: 26px; }
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(1.35); } }
.hero h1 { font-family: var(--serif); font-weight: 600; line-height: 1.08; font-size: clamp(2.4rem,4.6vw,4rem); margin-bottom: 20px; letter-spacing: -.01em;  color: var(--head);}
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 400; }
.hero p.lead { font-size: 1.05rem; color: var(--text-dim); max-width: 520px; margin-bottom: 36px; line-height: 1.8; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-stats { display: flex; gap: 0; border-top: 1px solid var(--line); padding-top: 28px; }
.hero-stat { flex: 1; padding-right: 24px; }
.hero-stat .num { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: var(--gold); line-height: 1; }
.hero-stat .lbl { font-size: .74rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: .14em; margin-top: 6px; }

.hero-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; position: relative; box-shadow: 0 30px 70px rgba(0,0,0,.45); }
.hero-card::before { content: ''; position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.hero-card-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.hero-card-head .tag { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; color: var(--gold); text-transform: uppercase; }
.hero-card-head .status { font-size: .7rem; font-weight: 600; color: var(--green); display: flex; align-items: center; gap: 6px; }
.hero-card-head .status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.hero-card h3 { font-family: var(--serif); font-size: 1.25rem; margin-bottom: 6px;  color: var(--head);}
.hero-card .sub { font-size: .83rem; color: var(--text-dim); margin-bottom: 24px; }
.ledger-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--hair); font-size: .84rem; }
.ledger-row:last-child { border-bottom: none; }
.ledger-row .k { color: var(--text-faint); }
.ledger-row .v { font-family: var(--mono); color: var(--text); font-weight: 500; }
.ledger-row .v.gold { color: var(--gold); font-weight: 600; }

.ticker-wrap { background: var(--card-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; position: relative; }
.ticker-wrap::before, .ticker-wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; }
.ticker-wrap::before { left: 0; background: linear-gradient(90deg,var(--card-2),transparent); }
.ticker-wrap::after { right: 0; background: linear-gradient(-90deg,var(--card-2),transparent); }
.ticker { display: inline-flex; white-space: nowrap; animation: ticker 38s linear infinite; padding: 13px 0; }
.ticker:hover { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; padding: 0 44px; font-size: .85rem; color: var(--text-dim); }
.ticker-item .badge { font-family: var(--mono); font-size: .66rem; font-weight: 600; letter-spacing: .12em; color: var(--gold); border: 1px solid var(--line-strong); border-radius: 3px; padding: 2px 8px; text-transform: uppercase; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================================================
   GENEL SECTIONS & GRIDS
   ============================================================ */
.section { padding: 96px 32px; }
.section-alt { background: var(--ink-2); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head .file-ref { justify-content: center; }
.section-head h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem,3vw,2.5rem); margin-bottom: 14px;  color: var(--head);}
.section-head p { color: var(--text-dim); font-size: .98rem; line-height: 1.8; }
.container { max-width: 1280px; margin: 0 auto; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 22px; }
.service-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; position: relative; overflow: hidden; transition: transform .3s, border-color .3s, background .3s; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg,var(--gold),var(--blue)); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.service-card:hover { transform: translateY(-6px); border-color: var(--line-strong); background: var(--card-2); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 48px; height: 48px; border-radius: var(--r-md); background: rgb(var(--gold-rgb) / .08); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; color: var(--gold); margin-bottom: 18px; transition: all .3s; }
.service-card:hover .service-icon { background: var(--gold); color: var(--on-gold); }
.service-card h3 { font-family: var(--serif); font-size: 1.08rem; margin-bottom: 10px; color: var(--text); }
.service-card p { color: var(--text-dim); font-size: .87rem; line-height: 1.75; }

.tools-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 18px; }
.tool-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; text-decoration: none; transition: all .25s; }
.tool-card:hover { border-color: var(--gold); background: var(--card-2); transform: translateY(-4px); }
.tool-card .icon { font-size: 1.7rem; margin-bottom: 14px; display: block; }
.tool-card h3 { font-family: var(--serif); font-size: 1.02rem; color: var(--gold); margin-bottom: 6px; }
.tool-card p { font-size: .82rem; color: var(--text-dim); line-height: 1.65; margin-bottom: 12px; }
.tool-card .tag { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); border: 1px solid var(--line); border-radius: 3px; padding: 3px 9px; }

.why-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 32px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: var(--r-md); background: rgb(var(--gold-rgb) / .08); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; color: var(--gold); }
.why-item h4 { font-size: .95rem; margin-bottom: 5px; color: var(--text); font-weight: 600; }
.why-item p { font-size: .83rem; color: var(--text-dim); line-height: 1.7; }

/* ============================================================
   AI ASSISTANT
   ============================================================ */
.ai-shell { max-width: 760px; margin: 0 auto; background: var(--card-2); border: 1px solid var(--line-strong); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.4); }
.ai-head { display: flex; align-items: center; gap: 12px; padding: 16px 22px; background: linear-gradient(90deg,rgba(111,155,214,.1),rgb(var(--gold-rgb) / .06)); border-bottom: 1px solid var(--line); }
.ai-head .ai-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); animation: pulse 2.2s ease-in-out infinite; }
.ai-head .name { font-weight: 600; font-size: .9rem;  color: var(--head);}
.ai-head .status { margin-left: auto; font-size: .74rem; color: var(--text-faint); }
.ai-messages { padding: 22px; min-height: 220px; max-height: 380px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.ai-msg { display: flex; gap: 10px; max-width: 88%; }
.ai-msg.user { flex-direction: row-reverse; align-self: flex-end; }
.ai-avatar { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; background: var(--ink-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: .75rem; }
.ai-msg.user .ai-avatar { background: rgb(var(--gold-rgb) / .12); border-color: var(--line-strong); color: var(--gold); }
.ai-bubble { background: var(--ink-2); border: 1px solid var(--line); border-radius: 4px 12px 12px 12px; padding: 12px 15px; font-size: .86rem; line-height: 1.7; color: var(--text); }
.ai-msg.user .ai-bubble { background: rgb(var(--gold-rgb) / .08); border-color: var(--line-strong); border-radius: 12px 4px 12px 12px; }
.ai-input-area { display: flex; gap: 10px; padding: 16px 20px; border-top: 1px solid var(--line); }
.ai-input { flex: 1; background: var(--ink-2); border: 1px solid var(--line); border-radius: 8px; padding: 11px 14px; color: var(--text); font-size: .86rem; outline: none; font-family: inherit; transition: border-color .2s; }
.ai-input:focus { border-color: var(--blue); }
.ai-send { background: var(--blue);  color: #fff; border: none; border-radius: 8px; padding: 11px 18px; font-weight: 600; font-size: .85rem; transition: opacity .2s; }
.ai-send:hover { opacity: .85; }
.ai-disclaimer { padding: 10px 20px; font-size: .7rem; color: var(--text-faint); text-align: center; border-top: 1px solid var(--line); }

/* ============================================================
   AVUKATLAR & CTA BAND & FORM
   ============================================================ */
.lawyer-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(270px,1fr)); gap: 24px; }
.lawyer-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: all .3s; }
.lawyer-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.lawyer-photo { height: 230px; background: var(--card-2); display: flex; align-items: center; justify-content: center; font-size: 3.5rem; color: var(--slate); overflow: hidden; }
.lawyer-photo img { width: 100%; height: 100%; object-fit: cover; }
.lawyer-body { padding: 22px; }
.lawyer-body h3 { font-family: var(--serif); font-size: 1.1rem; margin-bottom: 5px;  color: var(--head);}
.lawyer-body .sicil { font-size: .78rem; color: var(--text-faint); margin-bottom: 12px; }
.badge-skill { display: inline-block; font-size: .72rem; background: rgb(var(--gold-rgb) / .1); color: var(--gold); border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px 10px; margin: 2px 3px 2px 0; }
.lawyer-price { background: var(--card-2); border-radius: var(--r-sm); padding: 12px 14px; margin: 14px 0; text-align: center; }
.lawyer-price strong { font-family: var(--serif); font-size: 1.25rem; color: var(--gold); display: block; }
.lawyer-price small { font-size: .74rem; color: var(--text-faint); }

.cta-band { background: linear-gradient(135deg,var(--ink-2),var(--card-2)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 72px 32px; text-align: center; }
.cta-band h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem,3vw,2.3rem); margin-bottom: 14px; color: var(--gold); }
.cta-band p { color: var(--text-dim); max-width: 520px; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.form-shell { max-width: 680px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--r-lg); padding: 44px; box-shadow: 0 25px 60px rgba(0,0,0,.4); }
.progress { display: flex; align-items: center; justify-content: center; margin-bottom: 32px; }
.progress-step { width: 34px; height: 34px; border-radius: 50%; background: var(--card-2); color: var(--text-faint); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .82rem; border: 2px solid transparent; transition: all .3s; }
.progress-step.active { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.progress-step.done { background: var(--green); color: var(--on-gold); border-color: var(--green); }
.progress-line { flex: 1; max-width: 60px; height: 2px; background: var(--card-2); }
.form-step { display: none; animation: fadeIn .4s ease; }
.form-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.form-step h3 { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px;  color: var(--head);}
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label { display: block; font-size: .82rem; font-weight: 500; color: var(--text-dim); margin-bottom: 7px; }
.form-control { width: 100%; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; color: var(--text); font-size: .9rem; font-family: inherit; transition: border-color .2s; outline: none; }
.form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgb(var(--gold-rgb) / .1); }
.form-control::placeholder { color: var(--text-faint); }
textarea.form-control { resize: vertical; min-height: 100px; }
.legal-note { background: rgb(var(--gold-rgb) / .05); border: 1px dashed var(--line-strong); border-radius: var(--r-md); padding: 16px 18px; font-size: .83rem; color: var(--text-dim); margin: 20px 0; line-height: 1.7; }
.legal-note strong { color: var(--gold); }
.check-row { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 8px; cursor: pointer; transition: border-color .2s; }
.check-row:hover { border-color: var(--line-strong); }
.check-row input { margin-top: 3px; accent-color: var(--gold); width: 16px; height: 16px; flex-shrink: 0; }
.check-row span { font-size: .82rem; color: var(--text-dim); line-height: 1.6; }
.check-row span strong { color: var(--gold); }
.form-btn-row { display: flex; gap: 10px; margin-top: 24px; }
.summary-box { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; margin-bottom: 18px; font-size: .88rem; }
.summary-box p { margin-bottom: 7px; }
.summary-box p strong { color: var(--gold); }

/* ============================================================
   FOOTER & FSEK MODAL
   ============================================================ */
footer.site-footer { background: var(--footer-bg); padding: 64px 32px 28px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; max-width: 1280px; margin: 0 auto 44px; }
.footer-brand .brand-mark { font-size: 1.3rem; }
.footer-brand p { color: var(--text-faint); font-size: .84rem; line-height: 1.75; margin: 14px 0 18px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 34px; height: 34px; border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--text-faint); font-size: .85rem; transition: all .2s; }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.footer-col h4 { font-size: .78rem; color: var(--gold); text-transform: uppercase; letter-spacing: .16em; margin-bottom: 16px; font-weight: 600; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: var(--text-faint); font-size: .84rem; transition: color .2s; }
.footer-col ul a:hover { color: var(--gold); }
.footer-contact { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 10px; color: var(--text-faint); font-size: .83rem; }
.footer-contact i { color: var(--gold); width: 14px; margin-top: 2px; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p, .footer-bottom a { color: var(--text-faint); font-size: .76rem; }
.footer-bottom a:hover { color: var(--gold); }
.footer-legal { display: flex; gap: 18px; }

.yh-fsek-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 999999; display: none; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.yh-fsek-box { background: var(--card-2); border-top: 5px solid var(--danger); padding: 40px; max-width: 450px; text-align: center; border-radius: 8px; box-shadow:0 15px 40px rgba(0,0,0,0.8);}

.loader { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.25); border-radius: 50%; border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--card-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* responsive */
@media(max-width:1080px) { .hero-inner { grid-template-columns: 1fr; } .hero-card { max-width: 480px; } }
@media(max-width:768px) {
  .nav-wrap { padding: 0 20px; height: 64px; }
  .hero { padding: 48px 20px 60px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .hero-stat { flex: 1 1 40%; }
  .section { padding: 64px 20px; }
  .form-shell { padding: 26px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; }
  .hero-actions, .cta-actions { flex-direction: column; }
}
@media(max-width:520px) { .footer-grid { grid-template-columns: 1fr; } }

