/*
 * Kazanç Sigorta marka renkleri ve ortak sayfa stilleri.
 * Renkleri yönetim panelindeki görünüm ayarları belirler.
 */
:root {
    --brand-blue: #1c5ca6;
    --brand-red: #e31e28;
    --brand-navy: #2a2a29;
    --page-background: #f5f7fa;
}

body {
    background: var(--page-background);
}

/* Marka renkleri */
.announcement {
    background: #eaf2f9;
    color: #344c63;
}

.announcement-dot,
.note-icon,
.label-icon {
    color: var(--brand-blue);
}

.announcement-dot {
    background: var(--brand-red);
}

.brand-mark span,
.brand-name {
    color: var(--brand-navy);
}

.brand-mark span {
    background: var(--brand-navy);
}

.hero h1 em,
.section h2 em,
.about-copy h2 em,
.page-title em {
    color: var(--brand-blue);
}

.eyebrow,
.page-kicker,
.page-kicker::before {
    color: var(--brand-blue);
}

.eyebrow-line,
.page-kicker::before {
    background: var(--brand-blue);
}

.nav-cta,
.button-dark,
.contact-section,
.topbar,
.subbar,
.page-footer {
    background: var(--brand-navy);
}

.nav-cta span,
.button-dark span,
.card-link b,
.page-contact-link span,
.footer-columns > div > a:hover {
    color: var(--brand-red);
}

.button-accent,
.contact-form button {
    background: var(--brand-red);
    color: #fff;
}

.note-icon {
    border-color: #bcd4e8;
}

.label-icon {
    background: #e5f0f8;
}

.label-icon.heart,
.contact-copy h2 em {
    color: var(--brand-red);
}

.label-icon.heart {
    background: #fbeaec;
}

.hill-back {
    fill: #e5edf5;
}

.hill-front {
    fill: #cdddec;
}

.house-roof {
    fill: #263f5a;
}

.window {
    fill: #bdd6ea;
}

.door {
    fill: #397fb4;
}

.person-one {
    fill: #548ab8;
}

.person-two {
    fill: #243b55;
}

.spark,
.spark-cross {
    fill: var(--brand-red);
    stroke: var(--brand-red);
}

.about-shape {
    background: #e7f0f7;
}

.about-stamp {
    color: #1b527f;
    border-color: #76a5c9;
}

.about-ring {
    border-color: #9abdd8;
}

.about-star,
.about-points > div > span,
.location-icon,
.form-step {
    color: var(--brand-blue);
}

.contact-location small {
    color: #c5d7e7;
}

.form-card input:focus,
.form-card select:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--brand-blue);
}

.form-card input[type="checkbox"] {
    accent-color: var(--brand-blue);
}

.site-footer {
    background: #f1f4f8;
}

.footer-bottom a,
.back-top,
.page-menu a.selected,
.page-menu > a:hover,
.menu-dropdown > a:hover,
.dropdown-panel a:hover,
.guide-link,
.footer-base a {
    color: var(--brand-blue);
}

.page-main {
    background: var(--page-background);
}

.subbar,
.page-footer {
    color: #fff;
}

.page-brand {
    color: var(--brand-navy);
}

.page-brand-mark {
    color: var(--brand-blue);
    border-color: #8ab5d5;
}

.page-contact-link,
.solid-link {
    background: var(--brand-navy);
}

.page-contact-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-inline: 24px;
    text-align: center;
}

.page-contact-link span,
.solid-link span {
    color: var(--brand-red);
}

.page-contact-link span {
    position: absolute;
    right: 12px;
    padding-left: 0;
    line-height: 1;
}

.page-hero {
    background: #eaf2f9;
}

.solution-tile:hover {
    border-color: #8ab5d5;
}

.solution-tile span {
    color: var(--brand-blue);
}

.guide-note {
    border-color: var(--brand-blue);
    background: #eff5fa;
}

/* Logo: aynı oran korunur, masaüstü başlığında daha ölçülü görünür. */
.page-brand img {
    display: block;
    width: 112px;
    height: auto;
    max-height: 47px;
    object-fit: contain;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    padding: 3px 5px;
    border-radius: 3px;
    background: #fff;
}

.footer-brand img {
    width: 112px;
    height: auto;
}

.admin-logo {
    display: block;
    width: 112px;
    height: 47px;
    padding: 2px 5px;
    border-radius: 3px;
    background: #fff;
    object-fit: contain;
}

.admin-brand > span {
    color: #fff;
    font-size: 9px;
    letter-spacing: 0.15em;
}

.admin-brand .admin-logo {
    width: 112px;
    height: 47px;
}

.view-site,
.overline {
    color: var(--brand-blue);
}

.save-bar button,
.login-card button {
    background: var(--brand-navy);
}

.save-bar button b {
    color: var(--brand-red);
}

.card-heading > span {
    background: #eaf2f9;
    color: var(--brand-blue);
}

.logo-preview {
    display: block;
    width: 200px;
    height: 86px;
    margin-top: 8px;
    border: 1px solid #e2e6eb;
    border-radius: 4px;
    background: #f5f7fa;
    object-fit: contain;
    object-position: left center;
}

.editor-jumps {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 10px;
    border-bottom: 1px solid #e2e7ed;
    background: #f5f7fa;
}

.editor-jumps a {
    flex: 0 0 auto;
    padding: 8px 10px;
    border-radius: 3px;
    background: #fff;
    color: var(--brand-blue);
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

.editor-jumps a:hover {
    background: var(--brand-blue);
    color: #fff;
}

/* Ana sayfa */
.home-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, #f8fafc 0%, #eaf2f9 100%);
}

.home-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 36px;
    min-height: 520px;
    padding-top: 52px;
    padding-bottom: 52px;
}

.home-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 610px;
}

.home-hero-copy .page-title {
    margin: 18px 0;
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.home-hero-copy .page-lead {
    max-width: 540px;
}

.home-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 28px;
}

.home-actions > a:not(.solid-link),
.home-section-heading > a,
.home-text-link {
    color: var(--brand-navy);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.home-actions span,
.home-section-heading > a span,
.home-text-link span {
    margin-left: 7px;
    color: var(--brand-red);
}

.home-promises {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    color: #53687c;
    font-size: 12px;
}

.home-promises i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--brand-red);
}

.home-hero-art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
}

.home-hero-art svg {
    position: relative;
    z-index: 1;
    width: min(100%, 360px);
    height: auto;
}

.home-art-ring {
    position: absolute;
    width: 270px;
    height: 270px;
    border: 1px solid #c5d9e9;
    border-radius: 50%;
}

.home-art-sun {
    position: absolute;
    top: 22px;
    right: 13%;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f7dfe0;
}

.art-ground { fill: #dce9f3; }
.art-house-shadow { fill: #d5e2ec; }
.art-house-roof { fill: #263f5a; }
.art-house { fill: #fff; }
.art-window { fill: #bdd6ea; }
.art-door { fill: #397fb4; }
.art-person { fill: #548ab8; }
.art-person-two { fill: #243b55; }
.art-face { fill: #f2c9a7; }
.art-hair { fill: #493b36; }

.art-plant {
    fill: none;
    stroke: #548b72;
    stroke-width: 7;
    stroke-linecap: round;
}

.art-pot { fill: #d97b69; }

.home-art-note {
    position: absolute;
    right: 0;
    bottom: 12px;
    z-index: 2;
    padding: 13px 17px;
    border: 1px solid #e2e9ef;
    border-radius: 4px;
    background: #fff;
    color: #40576b;
    font-size: 12px;
    box-shadow: 0 12px 30px #263f5a12;
}

.home-art-note span {
    margin-right: 8px;
    color: var(--brand-red);
}

.home-solutions {
    padding-top: 86px;
    padding-bottom: 92px;
}

.home-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 27px;
}

.home-section-heading .page-section-heading {
    margin: 10px 0 0;
}

.home-service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-about {
    padding: 76px 0;
    background: #fff;
}

.home-about-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    align-items: center;
    gap: 70px;
    max-width: 940px;
}

.home-about-mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 150px;
    height: 150px;
    border: 1px solid #d7e4ef;
    border-radius: 50%;
    color: var(--brand-blue);
    font-size: 76px;
    font-weight: 800;
}

.home-about-mark::before,
.home-about-mark::after {
    position: absolute;
    border: 1px solid #e6edf3;
    border-radius: 50%;
    content: "";
}

.home-about-mark::before { inset: 10px; }
.home-about-mark::after { inset: -9px; }

.home-about-mark i {
    position: absolute;
    top: 17px;
    right: 12px;
    color: var(--brand-red);
    font-size: 22px;
    font-style: normal;
}

.home-about-grid .page-section-heading {
    margin: 13px 0;
    font-size: clamp(30px, 4vw, 44px);
}

.home-about-grid p {
    max-width: 620px;
    color: #5d6b78;
    line-height: 1.8;
}

.home-text-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--brand-blue);
}

.home-contact {
    padding: 48px 0;
    background: #edf3f8;
}

.home-contact-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.home-contact h2 {
    margin: 12px 0;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -0.03em;
}

.home-contact h2 em {
    color: var(--brand-blue);
    font-style: normal;
}

.home-contact p {
    margin: 0;
    color: #5d6b78;
}

.about-contact-link {
    margin-top: 24px;
}

@media (max-width: 900px) {
    .home-hero-grid {
        gap: 18px;
    }

    .home-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-about-grid {
        gap: 40px;
    }
}

@media (max-width: 860px) {
    /* Mobil görünüm mevcut logo boyutunu korur. */
    .page-brand img {
        width: 132px;
        max-height: 55px;
    }

    .footer-brand img {
        width: 122px;
    }
}

@media (max-width: 720px) {
    .home-hero-grid {
        grid-template-columns: 1fr;
    }

    .home-hero-art {
        min-height: 300px;
    }
}

@media (max-width: 640px) {
    .home-hero-grid {
        grid-template-columns: 1fr;
        min-height: 0;
        padding-top: 48px;
        padding-bottom: 34px;
    }

    .home-hero-copy .page-title {
        font-size: 44px;
    }

    .home-hero-art {
        min-height: 290px;
    }

    .home-hero-art svg {
        width: min(100%, 330px);
    }

    .home-art-ring {
        width: 230px;
        height: 230px;
    }

    .home-art-note {
        right: 2px;
        bottom: 0;
        font-size: 11px;
    }

    .home-solutions {
        padding-top: 58px;
        padding-bottom: 60px;
    }

    .home-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .home-service-grid {
        grid-template-columns: 1fr;
    }

    .home-about {
        padding: 58px 0;
    }

    .home-about-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .home-about-mark {
        width: 125px;
        height: 125px;
        font-size: 62px;
    }

    .home-about-mark::before { inset: 9px; }
    .home-about-mark::after { inset: -8px; }

    .home-about-mark i {
        top: 14px;
        right: 10px;
        font-size: 19px;
    }

    .home-contact-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-contact .solid-link {
        align-self: flex-start;
    }
}

/* Interior banners and market strip refresh. */
html body:not(.news-hub-page):not(.admin-sidebar-layout) main.page-main > section.page-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid #e31e28;
    background: radial-gradient(ellipse at 88% 18%, rgba(92, 156, 211, .32), transparent 31%), linear-gradient(118deg, #102a43 0%, #173f68 58%, #1c5ca6 100%) !important;
}
html body:not(.news-hub-page):not(.admin-sidebar-layout) main.page-main > section.page-hero::after {
    position: absolute; top: -180px; right: -100px; width: 410px; height: 410px;
    border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%;
    box-shadow: 0 0 0 30px rgba(255, 255, 255, .045), 0 0 0 68px rgba(255, 255, 255, .03);
    content: ""; pointer-events: none;
}
html body:not(.news-hub-page):not(.admin-sidebar-layout) main.page-main > section.page-hero .page-hero-inner { position: relative; z-index: 1; padding-top: clamp(52px, 7vw, 82px); padding-bottom: clamp(48px, 6vw, 72px); }
html body:not(.news-hub-page):not(.admin-sidebar-layout) main.page-main > section.page-hero .page-kicker { color: #d8e8f6; }
html body:not(.news-hub-page):not(.admin-sidebar-layout) main.page-main > section.page-hero .page-kicker::before { background: #ef4650; }
html body:not(.news-hub-page):not(.admin-sidebar-layout) main.page-main > section.page-hero .page-title { color: #fff; }
html body:not(.news-hub-page):not(.admin-sidebar-layout) main.page-main > section.page-hero .page-lead { color: rgba(239, 246, 252, .84); }
html body:not(.news-hub-page):not(.admin-sidebar-layout) main.page-main > section.page-hero .crumbs,
html body:not(.news-hub-page):not(.admin-sidebar-layout) main.page-main > section.page-hero .crumbs a { color: rgba(235, 243, 251, .76); }
html body:not(.news-hub-page):not(.admin-sidebar-layout) main.page-main,
html body:not(.news-hub-page):not(.admin-sidebar-layout) main.page-main > .page-body { background: #f2f6fa; }

html body .page-header + section.market-strip { border-bottom: 1px solid rgba(255,255,255,.14); background: linear-gradient(110deg,#102a43,#173f68 64%,#1b4e80) !important; }
html body .page-header + section.market-strip .market-strip-inner { display:grid; grid-template-columns:168px minmax(0,1fr); gap:9px 20px; padding-top:14px; padding-bottom:14px; }
html body .page-header + section.market-strip .market-strip-title { grid-column:1; grid-row:1; color:#fff; font-size:11px; letter-spacing:.07em; }
html body .page-header + section.market-strip .market-values { grid-column:2; grid-row:1; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
html body .page-header + section.market-strip .market-value { display:grid; min-width:0; gap:5px; padding:10px 14px; border:1px solid rgba(255,255,255,.15); border-radius:12px; background:rgba(255,255,255,.08); color:#fff; text-decoration:none; transition:background-color .2s,border-color .2s; }
html body .page-header + section.market-strip .market-value:hover { border-color:rgba(255,255,255,.24); background:rgba(255,255,255,.11); }
html body .page-header + section.market-strip .market-value strong { color:#bcd2e4; font-size:10px; letter-spacing:.05em; }
html body .page-header + section.market-strip .market-value > span { color:#fff; font-size:17px; font-variant-numeric:tabular-nums; }
html body .page-header + section.market-strip .market-strip-meta { grid-column:2; grid-row:2; color:#c2d2df; }
html body .page-header + section.market-strip .market-strip-meta a { color:#fff; text-decoration-color:rgba(255,255,255,.42); }
html body .page-header + section.market-strip .market-disclaimer { color:#c2d2df; }
html body .page-header .page-contact-link { padding-inline:31px; }

@media(max-width:760px) {
    html body .page-header + section.market-strip .market-strip-inner { display:block; padding-top:11px; padding-bottom:10px; }
    html body .page-header + section.market-strip .market-strip-title { margin-bottom:8px; }
    html body .page-header + section.market-strip .market-values { display:grid; width:100%; height:76px; grid-template-columns:minmax(0,1fr); gap:0; overflow:hidden; padding:1px; }
    html body .page-header + section.market-strip .market-value { grid-area:1 / 1; min-width:0; min-height:68px; opacity:0; transform:translateX(14px); transition:opacity .45s ease,transform .45s ease; }
    html body .page-header + section.market-strip .market-value:first-child,
    html body .page-header + section.market-strip .market-value.is-active { opacity:1; transform:translateX(0); }
    html body .page-header + section.market-strip .market-strip-meta { display:flex; gap:6px 12px; padding-top:2px; }
    html body .page-header + section.market-strip .market-disclaimer { display:none; }
}
@media(max-width:640px) {
    html body:not(.news-hub-page):not(.admin-sidebar-layout) main.page-main > section.page-hero .page-hero-inner { padding-top:42px; padding-bottom:40px; }
    html body:not(.news-hub-page):not(.admin-sidebar-layout) main.page-main > section.page-hero::after { top:-180px; right:-245px; }
}
