/* Kamu ofis sitesi — "muhasebe defteri" görünümü (yönetici temasıyla ayrı).
   Motifler: çizgili kâğıt, kırmızımsı kenar çizgisi, toplam altındaki çift çizgi.
   Bu dosya iki kökte durur: değiştirince kerat/assets/css/public-site.css üzerine
   de kopyala. KERAT yönetimi de bu dosyayı yükler (body.kyo). */

:root {
    --site-font: "DM Sans", system-ui, sans-serif;
    --site-serif: "Source Serif 4", "Times New Roman", serif;
    --site-navy: #12324d;
    --site-navy-deep: #0b2033;
    --site-ink: #18242f;
    --site-muted: #566573;
    --site-gold: #b8954a;
    --site-gold-light: #e3c687;
    --site-gold-text: #7d6218;
    --site-gold-soft: rgba(184, 149, 74, 0.16);
    --site-margin: #b5533c;
    --site-paper: #f7f4ed;
    --site-card: #fffdf8;
    --site-cream: #f7f1e3;
    --site-cream-muted: rgba(247, 241, 227, 0.8);
    --site-line: rgba(18, 50, 77, 0.14);
    --site-wrap: 1160px;
    --site-radius: 10px;
    --site-rule-step: 2.5rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
}

body.site {
    font-family: var(--site-font);
    color: var(--site-ink);
    background: var(--site-paper);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
}

/* :where özgüllüğü sıfırlar; yoksa bu kural .btn ve menü bağlantılarının rengini ezer. */
:where(body.site) a {
    color: var(--site-navy);
}

:where(body.site) :where(a, button, input, textarea, select):focus-visible {
    outline: 2px solid var(--site-gold);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    left: 0.75rem;
    top: -3rem;
    z-index: 80;
    padding: 0.5rem 0.8rem;
    background: var(--site-navy);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
}

.skip-link:focus {
    top: 0.75rem;
}

.site-wrap {
    width: min(var(--site-wrap), calc(100% - 2.5rem));
    margin-inline: auto;
}

/* ---------- Üst menü ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 253, 248, 0.95);
    border-bottom: 1px solid var(--site-line);
    backdrop-filter: blur(10px);
}

.site-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.5rem;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--site-navy);
    min-width: 0;
}

.site-brand__logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 6px;
}

.site-brand__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.site-brand__name {
    font-family: var(--site-serif);
    font-weight: 600;
    font-size: 1.08rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-brand__unvan {
    font-size: 0.7rem;
    color: var(--site-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-nav-toggle {
    display: none;
    min-height: 2.75rem;
    align-items: center;
    border: 1px solid var(--site-line);
    background: transparent;
    color: var(--site-navy);
    border-radius: 8px;
    padding: 0.45rem 0.85rem;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.15rem 1.35rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-nav__link {
    text-decoration: none;
    color: var(--site-muted);
    font-size: 0.93rem;
    font-weight: 500;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.site-nav__link:hover,
.site-nav__link.is-active {
    color: var(--site-navy);
}

.site-nav__link:hover {
    border-bottom-color: var(--site-line);
}

.site-nav__link.is-active {
    border-bottom-color: var(--site-gold);
}

.site-nav__cta {
    display: inline-flex;
    align-items: center;
    margin-left: 0.4rem;
    padding: 0.5rem 0.95rem;
    border-radius: 8px;
    background: var(--site-navy);
    color: var(--site-cream);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: background 0.15s ease;
}

.site-nav__cta:hover {
    background: var(--site-navy-deep);
}

.site-main {
    flex: 1 1 auto;
}

/* ---------- Kahraman alanları: lacivert defter kâğıdı ---------- */

.hero,
.page-hero {
    color: var(--site-cream);
    background:
        repeating-linear-gradient(
            180deg,
            transparent 0,
            transparent calc(var(--site-rule-step) - 1px),
            rgba(227, 198, 135, 0.075) calc(var(--site-rule-step) - 1px),
            rgba(227, 198, 135, 0.075) var(--site-rule-step)
        ),
        linear-gradient(155deg, var(--site-navy) 0%, var(--site-navy-deep) 78%);
    border-bottom: 4px double var(--site-gold);
}

.hero {
    padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.hero__kicker {
    margin: 0 0 1rem;
    color: var(--site-gold-light);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.section-title {
    font-family: var(--site-serif);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.015em;
}

.hero h1,
.page-hero h1 {
    color: #fffaf0;
}

.section-title {
    color: var(--site-navy);
}

.hero h1 {
    margin: 0;
    font-size: clamp(2.5rem, 5.6vw, 4.25rem);
    max-width: 14ch;
}

.hero .lead,
.page-hero .lead {
    color: var(--site-cream-muted);
}

.lead {
    margin: 1.1rem 0 0;
    font-size: 1.08rem;
    max-width: 38rem;
}

.hero__swap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.2rem 0 0;
    font-family: var(--site-serif);
    font-size: 1.25rem;
    color: var(--site-gold-light);
}

.hero__swap-dot {
    flex: 0 0 auto;
    width: 1.75rem;
    height: 1px;
    background: var(--site-gold-light);
}

.hero__swap-word {
    display: inline-block;
    min-height: 1.4em;
    font-weight: 500;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero__swap-word.is-out {
    opacity: 0;
    transform: translateY(-0.35em);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.9rem;
}

.hero__content > *,
.kunye {
    animation: heroRise 0.6s ease both;
}

.hero__content > :nth-child(2) {
    animation-delay: 0.06s;
}

.hero__content > :nth-child(3) {
    animation-delay: 0.12s;
}

.hero__content > :nth-child(4) {
    animation-delay: 0.18s;
}

.hero__content > :nth-child(5) {
    animation-delay: 0.24s;
}

.kunye {
    animation-delay: 0.2s;
}

@keyframes heroRise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.page-hero {
    padding: clamp(2.4rem, 5vw, 3.6rem) 0;
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 4.4vw, 3rem);
}

.page-hero a:not(.btn) {
    color: var(--site-gold-light);
}

/* Büro künyesi: kahramanın sağındaki defter yaprağı */
.kunye {
    color: var(--site-ink);
    background: var(--site-card);
    border-radius: 4px;
    padding: 1.5rem 1.5rem 1.6rem;
    box-shadow: 0 24px 50px rgba(4, 14, 24, 0.42);
}

.kunye__title {
    margin: 0 0 0.85rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--site-gold-text);
}

.kunye__list {
    margin: 0;
    border-top: 1px solid var(--site-line);
    border-bottom: 4px double var(--site-navy);
}

.kunye__row {
    display: grid;
    grid-template-columns: 4.6rem minmax(0, 1fr);
    border-bottom: 1px solid var(--site-line);
}

.kunye__row:last-child {
    border-bottom: 0;
}

.kunye__row dt {
    padding: 0.62rem 0.7rem 0.62rem 0;
    font-size: 0.78rem;
    color: var(--site-muted);
}

.kunye__row dd {
    margin: 0;
    padding: 0.55rem 0 0.55rem 0.8rem;
    border-left: 1px solid rgba(181, 83, 60, 0.55);
    font-size: 0.93rem;
    font-weight: 500;
    line-height: 1.45;
    overflow-wrap: anywhere;
    font-variant-numeric: tabular-nums;
}

.kunye__row dd a {
    display: block;
    text-decoration: none;
}

.kunye__row dd a:hover {
    text-decoration: underline;
}

/* ---------- Bölümler ---------- */

.section {
    padding: 3.25rem 0;
}

.section + .section {
    padding-top: 0.75rem;
}

.section--tight {
    padding-top: 3.25rem;
}

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1.25rem;
    margin-bottom: 1.4rem;
    flex-wrap: wrap;
}

.section-head .section-title {
    margin-right: auto;
}

.section-title {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.05rem);
}

.section-link {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: underline;
    text-decoration-color: var(--site-gold);
    text-underline-offset: 0.25em;
}

.notice {
    margin: 0 0 1.4rem;
    padding-left: 0.85rem;
    border-left: 2px solid var(--site-margin);
    color: var(--site-muted);
    font-size: 0.92rem;
}

.section-title + .notice {
    margin-top: 0.85rem;
}

.empty-hint {
    color: var(--site-muted);
}

/* ---------- Hizmetler: hücreli defter tablosu ---------- */

.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    counter-reset: svc;
    background: var(--site-card);
    border-top: 1px solid var(--site-line);
    border-left: 1px solid var(--site-line);
    border-radius: var(--site-radius);
    overflow: hidden;
}

.svc-grid--spaced {
    margin-top: 1.4rem;
}

.svc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    padding: 1.6rem 1.5rem 1.5rem;
    border-right: 1px solid var(--site-line);
    border-bottom: 1px solid var(--site-line);
    counter-increment: svc;
    transition: background 0.18s ease;
}

.svc-card::after {
    content: counter(svc, decimal-leading-zero);
    position: absolute;
    top: 1.6rem;
    right: 1.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    color: var(--site-muted);
    font-variant-numeric: tabular-nums;
}

a.svc-card:hover {
    background: #fbf5e4;
}

.svc-card__icon {
    display: inline-flex;
    color: var(--site-gold-text);
    margin-bottom: 0.95rem;
}

.svc-card__icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.svc-card h3 {
    margin: 0 0 0.4rem;
    font-family: var(--site-serif);
    font-weight: 600;
    font-size: 1.22rem;
    line-height: 1.25;
    color: var(--site-navy);
}

.svc-card p {
    margin: 0;
    color: var(--site-muted);
    font-size: 0.94rem;
}

.svc-card__more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
    padding-top: 0.95rem;
    font-size: 0.87rem;
    font-weight: 600;
    color: var(--site-gold-text);
}

.svc-card__more svg {
    width: 0.95rem;
    height: 0.95rem;
    transition: transform 0.18s ease;
}

a.svc-card:hover .svc-card__more svg {
    transform: translateX(3px);
}

/* ---------- Yazı listesi: tarih kolonlu kayıtlar ---------- */

.blog-list {
    display: grid;
    border-top: 2px solid var(--site-navy);
}

.blog-item {
    display: grid;
    grid-template-columns: 9.5rem minmax(0, 1fr);
    column-gap: 1.25rem;
    padding: 1.35rem 0.75rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--site-line);
    transition: background 0.18s ease;
}

.blog-item:hover {
    background: rgba(255, 253, 248, 0.85);
}

.blog-item time {
    grid-row: 1 / span 3;
    padding-top: 0.32rem;
    color: var(--site-muted);
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
}

.blog-item h2 {
    grid-column: 2;
    margin: 0 0 0.3rem;
    font-family: var(--site-serif);
    font-weight: 600;
    font-size: 1.3rem;
    line-height: 1.3;
    color: var(--site-navy);
}

.blog-item p {
    grid-column: 2;
    margin: 0;
    color: var(--site-muted);
    max-width: 44rem;
}

.blog-item__more {
    grid-column: 2;
    margin-top: 0.55rem;
    font-size: 0.87rem;
    font-weight: 600;
    color: var(--site-gold-text);
}

/* ---------- Çağrı bandı ---------- */

.cta-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 2.5rem;
    align-items: center;
    padding: 1.75rem 1.75rem 1.85rem;
    background: var(--site-card);
    border: 1px solid var(--site-line);
    border-top: 4px double var(--site-navy);
    border-radius: 0 0 var(--site-radius) var(--site-radius);
}

.cta-band h2 {
    grid-column: 1;
    margin: 0 0 0.35rem;
    font-family: var(--site-serif);
    font-weight: 600;
    font-size: 1.55rem;
    line-height: 1.2;
    color: var(--site-navy);
}

.cta-band p {
    grid-column: 1;
    margin: 0;
    color: var(--site-muted);
    max-width: 36rem;
}

.cta-band__actions {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.6rem;
}

/* ---------- Düğmeler ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0.7rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font: inherit;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn--primary {
    background: var(--site-navy);
    color: var(--site-cream);
}

.btn--primary:hover {
    background: var(--site-navy-deep);
}

.btn--ghost {
    background: transparent;
    color: var(--site-navy);
    border-color: rgba(18, 50, 77, 0.32);
    transition: border-color 0.15s ease, background 0.15s ease;
}

.btn--ghost:hover {
    border-color: var(--site-navy);
    background: rgba(18, 50, 77, 0.04);
}

.hero .btn--primary,
.page-hero .btn--primary {
    background: var(--site-gold-light);
    color: var(--site-navy-deep);
}

.hero .btn--primary:hover,
.page-hero .btn--primary:hover {
    background: #eed59e;
}

.hero .btn--ghost,
.page-hero .btn--ghost {
    color: var(--site-cream);
    border-color: rgba(247, 241, 227, 0.42);
}

.hero .btn--ghost:hover,
.page-hero .btn--ghost:hover {
    border-color: var(--site-cream);
    background: rgba(247, 241, 227, 0.08);
}

/* ---------- Kart ve bilgi listeleri ---------- */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.card {
    background: var(--site-card);
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
    padding: 1.5rem 1.5rem 1.6rem;
}

.card h2,
.card h3 {
    margin: 0 0 0.4rem;
    font-family: var(--site-serif);
    font-weight: 600;
    font-size: 1.35rem;
    line-height: 1.25;
    color: var(--site-navy);
}

.card p {
    margin: 0;
    color: var(--site-muted);
    font-size: 0.96rem;
}

.card__more {
    margin-top: 1.1rem !important;
    font-size: 0.9rem !important;
}

.card__more a {
    font-weight: 600;
    text-decoration-color: var(--site-gold);
    text-underline-offset: 0.2em;
}

.card--link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.info-list {
    display: grid;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--site-line);
}

.info-list__item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--site-line);
}

.info-list__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.info-list__icon {
    flex: 0 0 auto;
    display: inline-flex;
    padding-top: 0.15rem;
    color: var(--site-gold-text);
}

.info-list__icon svg {
    width: 1.2rem;
    height: 1.2rem;
}

.info-list__body {
    min-width: 0;
}

.info-list__label {
    display: block;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--site-muted);
}

.info-list__value {
    display: block;
    font-weight: 500;
    font-size: 1rem;
    color: var(--site-ink);
    overflow-wrap: anywhere;
}

.info-list__value a {
    color: inherit;
    text-decoration: none;
}

.info-list__value a:hover {
    text-decoration: underline;
}

.about-grid,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 1.25rem;
    align-items: start;
}

.contact-grid {
    align-items: stretch;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.3rem;
}

.contact-card a {
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-card a.btn:hover {
    text-decoration: none;
}

.map-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
    background: #dde4ec;
}

.service-list {
    margin: 0;
    padding: 0;
    list-style: none;
    background: var(--site-card);
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
}

.service-list li {
    padding: 0.8rem 1.15rem;
    border-bottom: 1px solid var(--site-line);
    color: var(--site-ink);
}

.service-list li:last-child {
    border-bottom: 0;
}

/* ---------- Metin sayfaları ---------- */

.prose {
    max-width: 42rem;
}

.prose h2 {
    font-family: var(--site-serif);
    color: var(--site-navy);
    font-size: 1.35rem;
    margin: 1.6rem 0 0.5rem;
}

.prose p,
.prose li {
    color: var(--site-ink);
    font-size: 1.02rem;
}

.prose ul,
.prose ol {
    padding-left: 1.2rem;
}

.article {
    padding: 2.75rem 0 3.5rem;
}

.article .site-wrap {
    width: min(44rem, calc(100% - 2.5rem));
}

.article__meta {
    margin: 0 0 0.8rem;
    color: var(--site-muted);
    font-size: 0.88rem;
    font-variant-numeric: tabular-nums;
}

.article h1 {
    margin: 0 0 1.4rem;
    padding-bottom: 1.1rem;
    border-bottom: 4px double var(--site-navy);
    font-family: var(--site-serif);
    font-weight: 600;
    font-size: clamp(2rem, 4.4vw, 2.85rem);
    letter-spacing: -0.015em;
    color: var(--site-navy);
    line-height: 1.16;
}

.article__body h2,
.article__body h3 {
    font-family: var(--site-serif);
    font-weight: 600;
    color: var(--site-navy);
    margin: 1.9rem 0 0.5rem;
    line-height: 1.25;
}

.article__body p,
.article__body li {
    font-size: 1.07rem;
    line-height: 1.72;
}

.article__body a {
    color: #1e4d7b;
}

/* ---------- Formlar ---------- */

.online-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
    margin-bottom: 2.4rem;
}

.site-form {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.85rem;
}

.site-form label {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--site-navy);
}

.site-form input {
    width: 100%;
    padding: 0.68rem 0.75rem;
    margin-bottom: 0.45rem;
    border: 1px solid rgba(18, 50, 77, 0.28);
    border-radius: 8px;
    font: inherit;
    background: #fff;
    color: var(--site-ink);
}

.site-form input:focus {
    outline: 2px solid var(--site-gold);
    outline-offset: 1px;
    border-color: var(--site-navy);
}

.site-form .btn {
    margin-top: 0.4rem;
    justify-self: start;
}

.flash-ok,
.flash-err {
    margin: 0.6rem 0 0;
    font-size: 0.92rem;
}

.flash-ok {
    color: #1a6b4a;
}

.flash-err {
    color: #9b2c2c;
}

/* ---------- Alt bilgi ---------- */

.site-footer {
    margin-top: auto;
    background: var(--site-navy-deep);
    color: var(--site-cream-muted);
    padding: 2.75rem 0 1.25rem;
    border-top: 4px double var(--site-gold);
}

.site-footer a {
    color: var(--site-cream);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--site-gold-light);
    text-decoration: underline;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 1.75rem 2.5rem;
    padding-bottom: 1.75rem;
}

.site-footer__brand strong {
    display: block;
    font-family: var(--site-serif);
    font-weight: 600;
    color: #fffaf0;
    font-size: 1.2rem;
    margin-bottom: 0.45rem;
}

.site-footer__brand p,
.site-footer__col p {
    margin: 0 0 0.4rem;
    font-size: 0.92rem;
}

.site-footer__note {
    margin-top: 0.75rem !important;
    font-size: 0.82rem !important;
    color: rgba(247, 241, 227, 0.64);
}

.site-footer__col h2 {
    margin: 0 0 0.7rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--site-gold-light);
}

.site-footer__col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__col li {
    margin: 0 0 0.35rem;
    font-size: 0.92rem;
}

.site-footer__bar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(247, 241, 227, 0.16);
    font-size: 0.82rem;
    color: rgba(247, 241, 227, 0.64);
}

/* KERAT giriş kabuğu (kerat.bumuhasebe.net): tek satırlık üst menü ve footer.
   Menü düğmesi yok, bu yüzden dar ekranda da açık kalmalı. */
.site-footer--kerat {
    padding: 1.1rem 0;
}

.site-footer--kerat .site-footer__bar {
    padding-top: 0;
    border-top: 0;
}

.site-footer__admin {
    font-size: 0.78rem;
}

.site-footer .site-footer__admin {
    color: rgba(247, 241, 227, 0.64);
}

/* ---------- Kayarak belirme ----------
   Yalnız JS çalışıyorsa gizlenir (html.js, <head> içinde eklenir); yoksa içerik
   görünür kalır. */

.js .reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.45s ease, transform 0.45s ease, background 0.18s ease;
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

.svc-grid .reveal:nth-child(3n + 2) {
    transition-delay: 0.05s, 0.05s, 0s;
}

.svc-grid .reveal:nth-child(3n) {
    transition-delay: 0.1s, 0.1s, 0s;
}

/* ---------- Dar ekranlar ---------- */

@media (max-width: 980px) {
    .hero__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero h1 {
        max-width: none;
    }

    .svc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-band {
        grid-template-columns: minmax(0, 1fr);
    }

    .cta-band__actions {
        grid-column: 1;
        grid-row: auto;
        justify-content: flex-start;
        margin-top: 1.1rem;
    }
}

@media (max-width: 860px) {
    .card-grid,
    .contact-grid,
    .online-grid,
    .about-grid,
    .site-footer__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 4.5rem;
        background: var(--site-card);
        border-bottom: 1px solid var(--site-line);
        box-shadow: 0 18px 30px rgba(11, 32, 51, 0.12);
        flex-direction: column;
        align-items: stretch;
        padding: 0.4rem 1.25rem 1.1rem;
        gap: 0;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav:not(.site-nav--kerat) .site-nav__link {
        padding: 0.72rem 0;
        border-bottom: 1px solid var(--site-line);
    }

    .site-nav:not(.site-nav--kerat) .site-nav__link.is-active {
        color: var(--site-navy);
        font-weight: 600;
        box-shadow: inset 3px 0 0 var(--site-gold);
        padding-left: 0.75rem;
    }

    .site-nav--kerat {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 0.75rem;
        padding: 0;
        border-bottom: 0;
        background: none;
        box-shadow: none;
    }

    .site-nav--kerat .site-nav__cta {
        margin: 0;
    }

    /* KERAT kabuğunda menü düğmeye katlanmadığı için marka ile aynı satırda
       sıkışıp "K…" diye kesiliyordu; dar ekranda ikisini alt alta alıyoruz. */
    .site--kerat .site-header__row {
        flex-wrap: wrap;
        min-height: 0;
        padding: 0.6rem 0;
    }

    .site--kerat .site-brand,
    .site-nav--kerat {
        flex: 1 1 100%;
    }

    .site-nav--kerat {
        justify-content: space-between;
    }

    .site-nav__cta {
        margin: 0.75rem 0 0;
        padding: 0.7rem 0.95rem;
        justify-content: center;
    }
}

@media (max-width: 620px) {
    .svc-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .blog-item {
        grid-template-columns: minmax(0, 1fr);
        padding-inline: 0;
    }

    .blog-item time {
        grid-row: auto;
        padding: 0 0 0.25rem;
    }

    .blog-item h2,
    .blog-item p,
    .blog-item__more {
        grid-column: 1;
    }

    .hero__actions .btn,
    .cta-band__actions .btn,
    .contact-actions .btn {
        flex: 1 1 100%;
    }

    .site-footer__bar {
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero__content > *,
    .kunye {
        animation: none;
    }

    .hero__swap-word,
    .svc-card,
    .svc-card__more svg,
    .blog-item,
    .btn--ghost,
    .site-nav__link,
    .site-nav__cta {
        transition: none;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media print {
    .js .reveal {
        opacity: 1;
        transform: none;
    }
}
