:root {
    --brand: #680202;
    --brand-deep: #4a0101;
    --ink: #141414;
    --ink-muted: #5c5c5c;
    --line: rgba(20, 20, 20, 0.1);
    --font-display: "Outfit", sans-serif;
    --font-body: "Source Sans 3", sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; background: #ebe7e1; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: #ebe7e1;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

/* İnce bordo kaydırma çubuğu */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--brand) transparent;
}

*::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background: var(--brand);
    border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
    background: var(--brand-deep);
}

a { color: inherit; text-decoration: none; }

.brand-beyan-only, .brand-ofis-only { display: block; }
html:not([data-brand="ofis"]) .brand-ofis-only { display: none !important; }
html[data-brand="ofis"] .brand-beyan-only { display: none !important; }

.atmosphere {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 90% 60% at 12% 0%, rgba(104, 2, 2, 0.2), transparent 58%),
        linear-gradient(165deg, #f7f5f2 0%, #ebe7e1 48%, #e2ddd6 100%);
}

.page { position: relative; z-index: 1; }

.auth-bar {
    position: fixed;
    top: 1.1rem;
    right: 1.1rem;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-bar__login {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
    padding: 0.55rem 0.9rem;
    border-radius: 4px;
    transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.auth-bar__login:hover {
    color: var(--brand);
    background: rgba(255, 255, 255, 0.35);
}

.auth-bar__login--cta {
    color: #fff;
    background: var(--brand);
}

.auth-bar__login--cta:hover {
    color: #fff;
    background: var(--brand-deep);
}

.legal-page { padding: 6.5rem 1.5rem 3rem; }

.legal-page__inner { max-width: 760px; margin: 0 auto; }

.legal-page__back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink-muted);
    margin-bottom: 1.5rem;
}

.legal-page__back:hover { color: var(--brand); }

.legal-page h1 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    letter-spacing: -0.035em;
    margin-bottom: 0.75rem;
}

.legal-page__lead {
    color: var(--ink-muted);
    font-size: 1.02rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.legal-page section { margin-bottom: 1.75rem; }

.legal-page h2 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.legal-page p, .legal-page li {
    color: var(--ink-muted);
    font-size: 0.96rem;
    line-height: 1.65;
}

.legal-page ul {
    list-style: disc;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.35rem;
}

.contact-cards {
    display: grid;
    gap: 0.85rem;
    margin: 1.5rem 0 2rem;
}

.contact-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.55);
}

.contact-card__label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 0.2rem;
}

.contact-card__value {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
}

.contact-card__action {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--brand);
}

.footer {
    padding: 2.5rem 1.5rem 3rem;
    border-top: 1px solid var(--line);
    color: var(--ink-muted);
}

.footer__inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer__brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.footer__logo {
    display: block;
    height: 1.35rem;
    width: auto;
    max-width: min(100%, 7.75rem);
}

.footer__row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.footer__links a:hover { color: var(--brand); }

.footer__social {
    padding-top: 0.25rem;
    border-top: 1px solid var(--line);
}

.footer__social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer__social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.38rem 0.62rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.45);
}

.footer__social-link:hover {
    color: var(--brand);
    border-color: rgba(104, 2, 2, 0.25);
    background: #fff;
}

.footer__social-link svg {
    width: 0.85rem;
    height: 0.85rem;
    flex-shrink: 0;
}

.footer__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    font-size: 0.92rem;
}

.footer__contact a {
    color: var(--ink);
    font-weight: 600;
}

.footer__contact a:hover { color: var(--brand); }

.footer__wa { color: #128C7E; }
.footer__wa:hover { color: #0f7368; }

.wa-fab {
    position: fixed;
    right: max(1.25rem, env(safe-area-inset-right, 0px));
    bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
    z-index: 60;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 16px rgba(20, 20, 20, 0.18);
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.wa-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 20, 20, 0.22);
}

.wa-fab svg {
    width: 1.65rem;
    height: 1.65rem;
    fill: currentColor;
}

@media (min-width: 768px) {
    .legal-page { padding: 7rem 2rem 4rem; }
    .footer { padding: 2.75rem 2rem 3.25rem; }
}
