/* Hukukofisi.net — ön yüz teması */
:root {
    --ink: #142033;
    --ink-soft: #243044;
    --gold: #9a7344;
    --gold-deep: #7c5b32;
    --cream: #f3efe8;
    --paper: #fffcf8;
    --line: #e3dcd1;
    --muted: #5d6976;
    --text: #1c2430;
    --shadow: 0 18px 40px rgba(20, 32, 51, 0.08);
    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans: "Manrope", "Segoe UI", sans-serif;
}

body.site-body {
    margin: 0;
    background: var(--cream);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.site-body a {
    color: var(--gold-deep);
}

body.site-body a:hover {
    color: var(--ink);
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 252, 248, 0.92);
    backdrop-filter: saturate(1.2) blur(16px);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 76px;
    padding: 10px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: var(--ink) !important;
}

.brand__logo {
    display: block;
    height: 46px;
    width: auto;
    max-width: 168px;
    object-fit: contain;
}

.brand__logo--office {
    height: 52px;
    max-width: 92px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.brand__seal {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 12px;
    background: var(--ink);
    color: #f4e7d4;
    font-family: var(--serif);
    font-size: 22px;
}

.brand__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand__name {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 560;
    line-height: 1.15;
    letter-spacing: -0.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 42vw;
}

.brand__meta {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-gold,
.btn-ink,
.btn-line,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 10px 16px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff !important;
}

.btn-gold:hover,
.btn-gold:focus {
    background: var(--gold-deep);
    border-color: var(--gold-deep);
    color: #fff !important;
}

.btn-ink {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff !important;
}

.btn-ink:hover,
.btn-ink:focus {
    background: var(--ink-soft);
    color: #fff !important;
}

.btn-line {
    background: #fff;
    border-color: #d9d0c3;
    color: var(--ink) !important;
}

.btn-line:hover,
.btn-line:focus {
    border-color: var(--ink);
    color: var(--ink) !important;
}

.btn-ghost {
    background: transparent;
    color: var(--ink) !important;
    padding-left: 10px;
    padding-right: 10px;
}

.btn-block {
    width: 100%;
}

.site-footer {
    margin-top: 20px;
    padding: 36px 0 28px;
    background: var(--ink);
    color: #d5dbe3;
}

.site-footer a {
    color: #f0e2d0;
}

.site-footer a:hover {
    color: #fff;
}

.site-footer__grid {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: flex-start;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.site-footer__links a {
    font-weight: 700;
    font-size: 14px;
}

.site-footer p {
    margin: 0;
    color: #b7c0cb;
    font-size: 13px;
}

.site-footer__note {
    display: block;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    max-width: 640px;
}

.site-footer__social {
    display: flex;
    gap: 10px;
}

.site-footer__social a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
}

.site-footer__social a:hover {
    background: #fff;
    color: var(--ink);
}

.dock {
    display: none;
}

.directory,
.page-simple,
.register,
.office-hero,
.office-wrap {
    padding-top: 28px;
}

#hakkinda {
    width: auto;
    height: auto;
    background: none;
}

.avsor .form-control,
.ask-card .form-control {
    margin-bottom: 10px;
}

.office-hero__panel,
.note-card {
    height: 100%;
}

.contact-card img {
    width: 100%;
    border-radius: 12px;
}

.finder {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: center;
    margin-bottom: 28px;
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(154, 115, 68, 0.16), transparent 34%),
        var(--paper);
    box-shadow: var(--shadow);
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--gold-deep);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.finder h1,
.register-copy h1,
.page-card h1,
.baslik-buyuk {
    margin: 0 0 12px;
    color: var(--ink);
    font-family: var(--serif);
    font-weight: 560;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.finder h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.finder__lead,
.register-copy .lead {
    color: var(--muted);
    font-size: 1.05rem;
}

.finder__panel .form-control,
.register .form-control,
.avsor .form-control,
.page-card .form-control {
    min-height: 48px;
    border: 1px solid #ddd4c8;
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    box-shadow: none;
}

.finder__panel .form-control:focus,
.register .form-control:focus,
.avsor .form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(154, 115, 68, 0.16);
}

.finder__hint,
.directory__note {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.finder__hint {
    text-align: left;
}

.directory__note {
    text-align: center;
}

.finder__or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.finder__or::before,
.finder__or::after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--line);
}

.directory__back {
    margin-bottom: 18px;
}

.office-grid {
    margin-top: 8px;
}

.ref-satir > [class*="col-"] {
    margin-bottom: 18px;
}

.ref-satir > [class*="col-"] > a {
    display: block;
    height: 100%;
    color: inherit;
}

.ref-kutu {
    height: 100%;
    margin: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(20, 32, 51, 0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ref-satir > [class*="col-"] > a:hover .ref-kutu,
.ref-kutu:hover {
    transform: translateY(-3px);
    background: #fff;
    box-shadow: var(--shadow);
}

.buro-adi {
    margin-bottom: 14px;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 560;
    letter-spacing: -0.03em;
    line-height: 1.2;
    text-align: left;
}

.ref-logo {
    width: 100%;
    height: 132px;
    object-fit: contain;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f8f5f0;
}

.alan1,
.hakkinda-p.alan1 {
    margin-bottom: 6px;
    color: var(--ink-soft);
    font-size: 14px !important;
    line-height: 1.45;
    word-break: break-word;
}

.ref-kutu .fa {
    width: 1.1em;
    color: var(--gold);
}

.office-go,
.office-distance a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
}

.office-distance {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
    text-align: left;
}

.directory__note {
    margin-top: 8px;
    text-align: center;
}

.register {
    padding-bottom: 56px;
}

.register-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: start;
}

.register-copy h1 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.price-pill {
    display: inline-flex;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #e7f3ea;
    color: #1d6b3a;
    font-weight: 800;
}

.register-card,
.page-card,
.office-hero__panel,
.note-card,
.contact-card,
.team-card {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow);
}

.register-card {
    padding: 22px;
}

.register-card__head {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--ink);
    color: #fff;
    font-weight: 800;
}

.register-card__head .fa {
    color: #e7c89a;
}

.field-label {
    display: block;
    margin-bottom: 6px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
}

.field {
    margin-bottom: 14px;
}

.domain-field {
    display: flex;
    align-items: stretch;
    border: 1px solid #ddd4c8;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.domain-field .form-control {
    border: 0;
    border-radius: 0;
    min-height: 48px;
    text-align: right;
}

.domain-field .form-control:focus {
    box-shadow: none;
}

.domain-field:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(154, 115, 68, 0.16);
}

.domain-suffix {
    display: flex;
    align-items: center;
    padding: 0 12px;
    background: #f6f1e8;
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.form-checkline {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 4px 0 14px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.form-checkline input {
    margin-top: 3px;
}

.register-note {
    margin-top: 14px;
    color: var(--muted);
    font-size: 12px;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.benefit {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
}

.benefit__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: #f6f1e8;
    color: var(--gold-deep);
    font-size: 18px;
}

.benefit h2 {
    margin: 0 0 8px;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.45rem;
    letter-spacing: -0.03em;
}

.benefit p,
.benefit small {
    color: var(--muted);
}

.benefit small {
    display: block;
    margin-top: 8px;
}

.page-simple {
    padding-bottom: 64px;
}

.page-card {
    max-width: 820px;
    padding: 36px;
}

.page-card h1,
.page-card .baslik-buyuk {
    font-size: clamp(2rem, 4vw, 3rem);
}

.page-card p {
    margin-bottom: 10px;
}

.office-hero {
    padding-bottom: 10px;
}

.office-hero__panel,
.note-card,
.contact-card,
.team-card {
    padding: 28px;
}

.office-story {
    max-width: 820px;
}

#hakkinda .baslik-buyuk {
    font-size: clamp(2.2rem, 5vw, 4rem);
}

.office-wrap .baslik-buyuk,
.arabar {
    margin: 28px 0 16px;
    padding: 0;
    border: 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 560;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.office-logo {
    float: left;
    width: 112px;
    height: auto;
    margin: 4px 18px 12px 0;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.hakkinda-p {
    color: var(--ink-soft);
    font-family: var(--sans);
    font-size: 16.5px;
    font-weight: 500;
    line-height: 1.75;
}

.hakkinda-p img,
.hakkinda-p iframe {
    max-width: 100%;
    height: auto;
}

.hakkinda-p p:last-child {
    margin-bottom: 0;
}

.note-card h2 {
    margin: 0 0 8px;
    font-family: var(--serif);
    font-size: 1.7rem;
    color: var(--ink);
}

.team-card {
    margin-bottom: 10px;
}

.kadrolist .nav-tabs {
    border: 0;
}

.kadrolist .nav-item {
    width: 100%;
}

.kadrolist .nav-link {
    display: block;
    margin-bottom: 6px;
    padding: 12px 14px;
    border: 0 !important;
    border-radius: 12px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}

.kadrolist .nav-link:hover {
    background: #f6f1e8;
}

.kadrolist .nav-link.active {
    background: var(--ink);
    color: #fff;
}

.team-pane {
    padding: 8px 8px 8px 18px;
    color: var(--ink-soft);
    font-size: 15px;
}

img.kadroresim {
    width: min(220px, 46%);
    max-width: 220px;
    height: auto;
    float: right;
    margin: 0 0 12px 16px;
    border-radius: 16px;
}

.baslik-sm {
    display: none;
    margin-bottom: 10px;
    font-family: var(--serif);
    font-size: 1.4rem;
}

hr.ara-sm {
    display: none;
}

.ask-card {
    margin-bottom: 16px;
    padding: 22px;
    border-radius: 24px;
    background: var(--ink);
    color: #e7edf4;
    box-shadow: var(--shadow);
}

.ask-card h1,
.avsor h1 {
    margin: 0 0 14px;
    color: #f3e6d4;
    font-family: var(--serif);
    font-size: 1.8rem;
    font-weight: 560;
    text-align: left;
}

.office-hero .avsor h1 {
    color: var(--ink);
    text-align: left;
}

.ask-card label,
.avsor label {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: inherit;
    font-size: 13px;
    font-weight: 600;
}

.ask-card .btn,
.avsor input[type="button"] {
    width: 100%;
    margin-top: 8px;
    border: 0;
    border-radius: 999px;
    background: var(--gold);
    color: #fff;
    font-weight: 800;
}

.ask-card .btn.disabled,
.avsor input[type="button"].disabled {
    opacity: 0.45;
}

.contact-card {
    height: 100%;
    margin-bottom: 16px;
}

.contact-card strong {
    display: block;
    margin-bottom: 10px;
    font-family: var(--serif);
    font-size: 1.35rem;
}

.krokix {
    height: auto;
    min-height: 220px;
    overflow: hidden;
    border-radius: 16px;
}

.krokix iframe,
.krokix img,
.krokix embed {
    width: 100%;
    min-height: 240px;
    border: 0;
}

.hit-count {
    margin: 8px 0 28px;
    color: var(--muted);
    font-size: 12px;
    text-align: right;
}

.ui-autocomplete.ui-menu {
    z-index: 3000;
    padding: 6px;
    border: 1px solid var(--line) !important;
    border-radius: 14px;
    font-family: var(--sans);
    box-shadow: var(--shadow);
}

.ui-menu .ui-menu-item-wrapper {
    padding: 8px 12px;
    border-radius: 8px;
}

.ui-state-active,
.ui-widget-content .ui-state-active {
    border-color: var(--ink) !important;
    background: var(--ink) !important;
    color: #fff !important;
}

.drmsoru:empty {
    display: none;
}

@media (max-width: 991px) {
    .finder,
    .register-layout,
    .benefit-grid,
    .site-footer__grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .site-footer__grid {
        display: grid;
    }

    .brand__name {
        max-width: 34vw;
        font-size: 1rem;
    }

    .team-pane {
        padding-left: 0;
    }

    .baslik-sm,
    hr.ara-sm {
        display: block;
    }

    img.kadroresim {
        float: none;
        width: 100%;
        max-width: 320px;
        margin: 0 0 12px;
    }
}

@media (max-width: 768px) {
    .menu-ust {
        display: none !important;
    }

    .dock {
        display: block;
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 1040;
    }

    .dock__bar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
        padding: 6px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 18px;
        background: var(--ink);
        box-shadow: 0 12px 30px rgba(20, 32, 51, 0.28);
    }

    .dock__link {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        padding: 8px 4px;
        border-radius: 12px;
        color: #fff !important;
        font-size: 11px;
        font-weight: 700;
    }

    .dock__link .fa {
        font-size: 16px;
    }

    .dock__link--accent {
        background: var(--gold);
    }

    body.site-body {
        padding-bottom: 92px;
    }

    .finder,
    .register-card,
    .office-hero__panel,
    .page-card,
    .note-card {
        padding: 18px;
        border-radius: 18px;
    }

    .office-logo {
        float: none;
        display: block;
        margin: 0 0 14px;
    }

    .brand__meta {
        display: none;
    }

    .brand__name {
        max-width: 62vw;
        font-size: 0.98rem;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .btn-ghost span.hide-sm {
        display: none;
    }
}
