/* Av. Gizem Baykan — Premium kurumsal hukuk bürosu */
:root {
    --bg: #f5f3ef;
    --bg-elevated: #ffffff;
    --surface: #ebe8e2;
    --text: #0f1c2e;
    --text-muted: #4a5568;
    --text-soft: #7a8494;
    --primary: #0c2340;
    --primary-dark: #081828;
    --primary-light: #dce6f0;
    --accent: #b8942e;
    --accent-light: rgba(184, 148, 46, 0.14);
    --border: #dde3ec;
    --shadow-sm: 0 1px 2px rgba(26, 35, 50, 0.05);
    --shadow-md: 0 8px 30px rgba(26, 35, 50, 0.08);
    --shadow-lg: 0 20px 50px rgba(30, 58, 95, 0.12);
    --radius: 16px;
    --radius-lg: 24px;
    --max: 1140px;
    --header-h: 80px;
    --site-header-offset: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    --page-gutter: 1.25rem;
    --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    max-width: 100%;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
    width: 100%;
    max-width: calc(var(--max) + var(--page-gutter) * 2);
    margin-inline: auto;
    padding-inline: max(var(--page-gutter), env(safe-area-inset-left, 0px)) max(var(--page-gutter), env(safe-area-inset-right, 0px));
}

/* ── Header ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 201;
    min-height: var(--header-h);
    padding-top: env(safe-area-inset-top, 0px);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
    align-items: center;
    height: var(--header-h);
    gap: 0.5rem 0.75rem;
    width: 100%;
    min-width: 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 1;
    min-width: 0;
    max-width: 100%;
    line-height: 1.15;
    text-decoration: none;
}

.logo-mark {
    height: 44px;
    width: auto;
    max-width: 56px;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
    object-position: left center;
    transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1), max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.06rem;
    min-width: 0;
}

.logo-name {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.03em;
    white-space: nowrap;
    transition: font-size 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-tagline {
    font-size: 0.58rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.logo-img {
    height: 58px;
    width: auto;
    max-width: min(210px, 46vw);
    object-fit: contain;
    object-position: left center;
    transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo--footer .logo-mark {
    height: 58px;
}

.logo--footer .logo-name {
    font-size: 1.2rem;
}

.logo--footer .logo-tagline {
    font-size: 0.68rem;
}

.nav-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    min-width: 0;
    flex-wrap: nowrap;
}

.nav-desktop a {
    padding: 0.45rem 0.6rem;
    border-radius: 10px;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
}

.nav-desktop a:hover,
.nav-desktop a.active {
    color: var(--primary-dark);
    background: var(--primary-light);
}

.header-cta {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0.45rem;
    justify-self: end;
}

.header-cta .btn {
    white-space: nowrap;
    flex-shrink: 0;
}

.header-cta .btn-outline {
    padding: 0.55rem 0.75rem;
    font-size: 0.8rem;
    font-variant-numeric: tabular-nums;
}

.header-cta .btn-primary {
    padding: 0.55rem 0.85rem;
    font-size: 0.8rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: var(--bg-elevated);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    padding: 0.5rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-shrink: 0;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    z-index: 199;
}

.nav-backdrop.open {
    display: block;
}

.nav-mobile {
    display: none;
    position: fixed;
    top: var(--site-header-offset);
    left: 0;
    right: 0;
    bottom: 0;
    min-height: calc(100dvh - var(--site-header-offset));
    background: #ffffff;
    padding: 0 1.5rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
    flex-direction: column;
    gap: 0.35rem;
    border-top: none;
    z-index: 200;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.14);
    pointer-events: auto;
}

.nav-mobile.open { display: flex; }

.nav-mobile .btn {
    width: 100%;
    justify-content: center;
    margin-top: 0.35rem;
}

.nav-mobile a:not(.btn) {
    padding: 0.9rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    position: relative;
    z-index: 1;
}

.nav-mobile a:not(.btn):hover,
.nav-mobile a:not(.btn).active {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.nav-mobile .btn-primary {
    color: #fff;
}

.nav-mobile .btn-primary:hover {
    color: #fff;
}

/* ── Hero ── */
.hero {
    padding: 4rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero--banner {
    padding: 1.75rem 0 2.5rem;
}

.hero-banner-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    line-height: 0;
}

.hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

.hero::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -20%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.hero-badge svg { width: 16px; height: 16px; }

.hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.15rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--primary), #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-lead {
    font-size: 1.08rem;
    color: var(--text-muted);
    max-width: 32rem;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
}

.stat-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-visual .hero-float-card {
    position: static;
    width: 100%;
}

.hero-image-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.hero-image-wrap img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.hero-float-card {
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    background: var(--bg-elevated);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.rating-stars { color: #f59e0b; font-size: 0.9rem; letter-spacing: 1px; }

/* ── Sections ── */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 3rem;
}

.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.02rem;
}

/* ── Cards grid ── */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: rgba(30, 58, 95, 0.25);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary-dark);
    display: grid;
    place-items: center;
    margin-bottom: 1.25rem;
}

.card-icon svg { width: 24px; height: 24px; }

.card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ── Gallery ── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 16/10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.04); }

.gallery-caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.25rem;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.85));
    color: #fff;
}

.gallery-caption strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.gallery-caption span { font-size: 0.82rem; opacity: 0.85; }

/* ── Testimonials ── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
}

.testimonial-stars { color: #f59e0b; margin-bottom: 1rem; font-size: 0.85rem; }

.testimonial p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
}

.testimonial-author span {
    font-size: 0.82rem;
    color: var(--text-soft);
}

/* ── CTA band ── */
.cta-band {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: var(--radius-lg);
    padding: 3rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-band h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.cta-band p { opacity: 0.9; max-width: 28rem; }

.cta-band .btn-primary {
    background: #fff;
    color: var(--primary-dark);
}

.cta-band .btn-primary:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); }

/* ── Page hero (inner) ── */
.page-hero {
    padding: 3.5rem 0 2.5rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
}

.page-hero h1 {
    font-size: clamp(1.85rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.page-hero p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 40rem;
}

.breadcrumb {
    display: flex;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-soft);
    margin-bottom: 1rem;
}

.breadcrumb a:hover { color: var(--primary); }

/* ── Services detail ── */
.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border);
}

.service-block:last-child { border-bottom: none; }

.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }

.service-block img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%;
}

.service-block h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.service-block p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.service-list li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: 0.5rem;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.service-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

/* ── About ── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-values {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.value-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.value-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.info-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.info-card strong {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-soft);
    margin-bottom: 0.35rem;
}

/* ── Blog ── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.blog-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.25s, transform 0.25s;
}

.blog-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.blog-card-body { padding: 1.5rem; }

.blog-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-dark);
    background: var(--primary-light);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.blog-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.blog-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.blog-meta {
    font-size: 0.8rem;
    color: var(--text-soft);
}

.blog-article {
    max-width: 720px;
    margin: 0 auto;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.blog-article h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 2rem 0 0.75rem;
}

.blog-article h2:first-child { margin-top: 0; }

.blog-article p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* ── Contact ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary-dark);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.82rem;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.2rem;
}

.contact-item a:hover { color: var(--primary); }

.contact-form {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--bg);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.15);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.map-wrap {
    margin-top: 2rem;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 21/9;
    min-height: 280px;
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── Footer ── */
.site-footer {
    background: var(--text);
    color: #cbd5e1;
    padding: 4rem 0 2rem;
    margin-top: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    font-size: 0.9rem;
    margin-top: 1rem;
    line-height: 1.6;
    max-width: 22rem;
}

.footer-col h4 {
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col a,
.footer-col p {
    display: block;
    font-size: 0.88rem;
    margin-bottom: 0.5rem;
    color: #94a3b8;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.82rem;
    color: #64748b;
}

/* Powered by Turkinsoft */
.ak-powered-footer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.6rem 1.25rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
    background: #0b1220;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ak-powered-footer a {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    opacity: 0.92;
    transition: opacity 0.2s ease;
}

.ak-powered-footer a:hover {
    opacity: 1;
}

.ak-powered-by {
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.9);
    line-height: 1;
    white-space: nowrap;
}

.ak-powered-footer img {
    display: block;
    height: 1.1rem;
    width: auto;
    max-width: min(9rem, 42vw);
    object-fit: contain;
    flex-shrink: 0;
}

.footer-col a.maps-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.35rem;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.88rem;
}

.footer-col a.maps-link:hover {
    text-decoration: underline;
}

/* ── Utilities ── */
.bg-white { background: var(--bg-elevated); }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* ── Responsive ── */
@media (min-width: 961px) {
    :root {
        --page-gutter: 2.5rem;
    }
}

@media (max-width: 1280px) {
    .site-header .logo-tagline {
        display: none;
    }
}

@media (min-width: 961px) and (max-width: 1180px) {
    .nav-desktop a {
        padding: 0.4rem 0.45rem;
        font-size: 0.76rem;
    }

    .logo-name {
        font-size: 0.8rem;
    }

    .header-cta .btn-outline,
    .header-cta .btn-primary {
        padding: 0.5rem 0.65rem;
        font-size: 0.76rem;
    }
}

@media (max-width: 960px) {
    :root {
        --header-h: 64px;
    }

    .hero-grid,
    .cards-grid,
    .testimonials-grid,
    .blog-grid,
    .about-grid,
    .contact-grid,
    .service-block,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .service-block.reverse { direction: ltr; }

    .gallery-grid { grid-template-columns: 1fr; }

    .nav-desktop,
    .header-cta .btn-outline,
    .header-cta .btn-primary { display: none; }

    .menu-toggle { display: flex; }

    .site-header {
        backdrop-filter: none;
        background: #ffffff;
        height: auto;
        min-height: var(--header-h);
        padding-top: env(safe-area-inset-top, 0px);
        overflow: hidden;
    }

    .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: var(--header-h);
        gap: 0.5rem;
    }

    .logo {
        flex: 1 1 auto;
        min-width: 0;
        max-width: calc(100% - 3rem);
    }

    .logo-tagline {
        display: none;
    }

    .logo-name {
        font-size: 0.72rem;
        letter-spacing: -0.02em;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .logo-mark {
        height: 36px;
        max-width: 48px;
    }

    .header-cta {
        flex-shrink: 0;
        gap: 0;
    }

    .menu-toggle {
        padding: 0.4rem;
        margin: 0;
    }

    .nav-mobile {
        top: var(--site-header-offset);
        padding-top: 0.5rem;
        margin-top: 0;
    }

    .nav-mobile.open > :first-child {
        margin-top: 0;
    }

    .hero--banner {
        padding: 1rem 0 1.75rem;
    }

    .hero-visual { order: -1; }

    .hero-float-card {
        position: static;
        width: 100%;
        right: auto;
        bottom: auto;
    }

    .cta-band { text-align: center; justify-content: center; }

    .info-cards { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .section { padding: 3.5rem 0; }
    .hero { padding: 2.5rem 0 3rem; }
    .hero-stats { gap: 1.25rem; }
    .cards-grid { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
    .logo-text {
        display: none;
    }

    .logo {
        max-width: none;
        flex: 0 0 auto;
    }
}

/* ── Hukuk bürosu özel ── */
.hero-trust-panel {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(165deg, var(--primary) 0%, #152a45 55%, #1e3a5f 100%);
    padding: 2rem;
    color: #fff;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-trust-panel::before {
    content: "";
    position: absolute;
    top: -20%;
    right: -15%;
    width: 55%;
    height: 80%;
    background: radial-gradient(circle, rgba(166, 124, 61, 0.2), transparent 65%);
    pointer-events: none;
}

.hero-trust-icon {
    width: 56px;
    height: 56px;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.hero-trust-panel h3 {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.hero-trust-panel p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
}

.hero-trust-meta {
    display: grid;
    gap: 0.65rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.85rem;
}

.hero-trust-meta strong {
    color: var(--accent);
    font-weight: 700;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: var(--accent-light);
    border: 1px solid rgba(166, 124, 61, 0.25);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.process-step {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    position: relative;
}

.process-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 0.85rem;
}

.process-step h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.process-step p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.faq-list {
    display: grid;
    gap: 0.75rem;
    max-width: 48rem;
    margin-inline: auto;
}

.faq-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-item summary {
    padding: 1.15rem 1.35rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--accent);
    flex-shrink: 0;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
    padding: 0 1.35rem 1.15rem;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.service-detail {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.service-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-detail h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.service-detail p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 960px) {
    .process-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .process-grid { grid-template-columns: 1fr; }
}

.hero-law-photo {
    position: relative;
}

.hero-law-photo img {
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: 72% center;
}

.hero-law-caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 2rem 1.15rem 1rem;
    background: linear-gradient(to top, rgba(21, 42, 69, 0.92) 0%, rgba(21, 42, 69, 0.55) 55%, transparent 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.hero-law-caption strong {
    font-size: 0.92rem;
    font-weight: 700;
    color: #e8c99a;
}

.hero-law-caption span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.88);
}

/* ── Premium: odak uzmanlık alanları ── */
.focus-practice {
    background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
}

.focus-practice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.focus-card {
    position: relative;
    padding: 1.75rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.focus-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.focus-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.focus-card-num {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.focus-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
    color: var(--primary);
}

.focus-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1rem;
}

.focus-card-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1.15rem;
}

.focus-card-keywords span {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: var(--accent-light);
    color: var(--primary);
}

.focus-card-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--accent);
}

.hero h1 {
    font-size: clamp(2rem, 4.5vw, 2.85rem);
    letter-spacing: -0.035em;
}

.hero-lead {
    font-size: 1.05rem;
    max-width: 36rem;
}

.local-seo-band {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--primary);
    color: rgba(255, 255, 255, 0.92);
}

.local-seo-band .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.local-seo-band h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.local-seo-band p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
}

.local-seo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.local-seo-tags span {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
    .focus-practice-grid {
        grid-template-columns: 1fr;
    }

    .local-seo-band .container {
        grid-template-columns: 1fr;
    }
}

/* ── Lawyer portrait (4:3 vertical) ── */
.lawyer-portrait-wrap {
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    background: var(--bg-elevated);
}

.lawyer-portrait-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.lawyer-portrait-caption {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.lawyer-portrait-caption strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.lawyer-portrait-caption span {
    font-size: 0.85rem;
    color: var(--text-soft);
}

/* ── Google reviews expand ── */
.testimonials-google-note {
    max-width: 36rem;
    margin: 0.75rem auto 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.testimonials-google-note a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.testimonials-more {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition:
        max-height 0.85s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.55s ease,
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        margin-top 0.55s ease;
    margin-top: 0;
}

.testimonials-more.is-open {
    max-height: 4200px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 1.5rem;
}

.testimonials-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.testimonials-more-btn[aria-expanded="true"] {
    opacity: 0.75;
    pointer-events: none;
}

.testimonial-source {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.google-g-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ── Blog feed ── */
.blog-feed {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 48rem;
    margin: 0 auto;
}

.blog-feed .blog-article {
    scroll-margin-top: 6rem;
}

/* ── WhatsApp floating button ── */
.whatsapp-float {
    position: fixed;
    right: max(1.1rem, env(safe-area-inset-right, 0px));
    bottom: calc(3.35rem + env(safe-area-inset-bottom, 0px));
    z-index: 210;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 4px 18px rgba(37, 211, 102, 0.42),
        0 2px 8px rgba(15, 23, 42, 0.14);
    animation: whatsapp-float-bob 2.8s ease-in-out infinite;
    transition: box-shadow 0.25s ease, filter 0.25s ease;
}

.whatsapp-float::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.35);
    animation: whatsapp-float-pulse 2.8s ease-in-out infinite;
    pointer-events: none;
}

.whatsapp-float:hover {
    filter: brightness(1.06);
    box-shadow:
        0 6px 24px rgba(37, 211, 102, 0.52),
        0 3px 10px rgba(15, 23, 42, 0.16);
    animation-play-state: paused;
}

.whatsapp-float:hover::before {
    animation-play-state: paused;
}

.whatsapp-float__icon {
    width: 1.7rem;
    height: 1.7rem;
    position: relative;
    z-index: 1;
}

@keyframes whatsapp-float-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

@keyframes whatsapp-float-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.55;
    }
    50% {
        transform: scale(1.12);
        opacity: 0.15;
    }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float,
    .whatsapp-float::before {
        animation: none;
    }
}

@media (max-width: 600px) {
    .whatsapp-float {
        width: 3.15rem;
        height: 3.15rem;
        right: max(0.85rem, env(safe-area-inset-right, 0px));
    }

    .whatsapp-float__icon {
        width: 1.5rem;
        height: 1.5rem;
    }
}
