:root {
    --bg: #f4efe7;
    --surface: #fffdf9;
    --surface-strong: #f9f2e7;
    --ink: #18222f;
    --muted: #5e6876;
    --line: rgba(24, 34, 47, 0.12);
    --accent: #0d3b66;
    --accent-2: #c48a3a;
    --shadow: 0 18px 55px rgba(13, 30, 52, 0.08);
    --radius: 28px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(196, 138, 58, 0.18), transparent 28%),
        linear-gradient(180deg, #fbf7f0 0%, #f2ece2 100%);
    color: var(--ink);
    font-family: "Manrope", sans-serif;
    line-height: 1.7;
}

a {
    color: var(--accent);
    text-decoration: none;
}

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

.site-shell {
    min-height: 100vh;
}

.site-main,
.site-header__inner,
.site-footer,
.listing-shell,
.entry-shell,
.hero-panel,
.content-section,
.contact-band {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(16px);
    background: rgba(251, 247, 240, 0.78);
    border-bottom: 1px solid var(--line);
}

.site-header__inner,
.site-nav__menu,
.hero-panel__actions,
.hero-panel__stats,
.site-footer__bottom,
.section-heading {
    display: flex;
    align-items: center;
}

.site-header__inner {
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--ink);
}

.site-brand__mark {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), #0a2746);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.site-brand__text strong,
.hero-panel h1,
.section-heading h2,
.entry-card__header h1,
.contact-band h2 {
    font-family: "Cormorant Garamond", serif;
}

.site-brand__text {
    display: grid;
}

.site-brand__text small,
.section-heading p,
.post-card__meta,
.entry-card__meta,
.long-copy {
    color: var(--muted);
}

.site-nav__menu {
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-header__cta,
.button-primary,
.button-secondary,
.hero-panel__map,
.sticky-contact a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 700;
}

.site-header__cta,
.button-primary,
.sticky-contact a:first-child {
    background: var(--accent);
    color: #fff;
}

.button-secondary,
.hero-panel__map,
.sticky-contact a:last-child {
    background: #fff;
    color: var(--accent);
    border: 1px solid rgba(13, 59, 102, 0.16);
}

.hero-panel {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr;
    gap: 28px;
    padding: 56px 0 36px;
}

.hero-panel__content,
.hero-panel__card,
.content-section,
.contact-band,
.entry-card,
.listing-shell {
    background: rgba(255, 253, 249, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow);
}

.hero-panel__content,
.hero-panel__card,
.content-section,
.contact-band,
.entry-card,
.listing-shell {
    border-radius: var(--radius);
}

.hero-panel__content,
.hero-panel__card,
.content-section,
.contact-band,
.entry-card,
.listing-shell {
    padding: 34px;
}

.hero-panel__eyebrow,
.section-eyebrow,
.site-footer__eyebrow,
.hero-panel__card-label {
    display: inline-block;
    color: var(--accent-2);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 12px;
    font-weight: 800;
}

.hero-panel h1 {
    margin: 10px 0 18px;
    font-size: clamp(42px, 6vw, 74px);
    line-height: 0.94;
}

.hero-panel__actions,
.hero-panel__stats {
    gap: 14px;
    flex-wrap: wrap;
}

.hero-panel__stats {
    list-style: none;
    padding: 18px 0 0;
    margin: 18px 0 0;
    border-top: 1px solid var(--line);
}

.hero-panel__stats strong {
    display: block;
    font-size: 28px;
}

.content-section,
.listing-shell,
.entry-shell {
    margin-bottom: 24px;
}

.content-section--tint {
    background: linear-gradient(180deg, rgba(13, 59, 102, 0.06), rgba(255, 253, 249, 0.82));
}

.content-section--split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
}

.section-heading {
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.section-heading h2 {
    margin: 8px 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1;
}

.card-grid,
.post-grid,
.site-footer__grid,
.team-stack {
    display: grid;
    gap: 18px;
}

.card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.tool-card,
.post-card,
.team-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px;
}

.site-footer {
    margin-top: 24px;
    padding-bottom: 110px;
}

.site-footer a,
.site-footer p,
.site-footer h3 {
    display: block;
    margin: 0 0 12px;
}

.site-footer__bottom {
    justify-content: space-between;
    gap: 14px;
    padding: 18px 0 0;
    margin-top: 18px;
    border-top: 1px solid var(--line);
}

.entry-shell {
    padding: 24px 0;
}

.entry-card__header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.entry-card__header h1 {
    margin: 10px 0 0;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1;
}

.entry-card__content h2,
.entry-card__content h3 {
    margin-top: 30px;
}

.entry-card__content table,
.entry-card__content .hesaplama-araci,
.entry-card__content .hesaplama-araci-sonuc,
.entry-card__content .infaz-tablo {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    overflow: hidden;
    border-radius: 18px;
}

.entry-card__content th,
.entry-card__content td {
    padding: 14px 16px;
    border: 1px solid rgba(13, 59, 102, 0.1);
    vertical-align: top;
}

.entry-card__content th {
    background: var(--surface-strong);
    text-align: left;
}

.entry-card__content input,
.entry-card__content select,
.entry-card__content textarea,
.entry-card__content button {
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(13, 59, 102, 0.18);
    border-radius: 14px;
    font: inherit;
    background: #fff;
}

.entry-card__content input[type="radio"] {
    width: auto;
}

.entry-card__content .alert,
.entry-card__content .custom-info,
.entry-card__content .hesaplama-sonuc {
    margin: 18px 0;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(196, 138, 58, 0.12);
    border: 1px solid rgba(196, 138, 58, 0.18);
}

.contact-band,
.site-footer__bottom,
.pagination-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.sticky-contact {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    padding: 10px;
    background: rgba(24, 34, 47, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 999px;
}

@media (max-width: 980px) {
    .hero-panel,
    .content-section--split,
    .card-grid,
    .post-grid,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .section-heading,
    .contact-band,
    .site-footer__bottom,
    .site-header__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav {
        width: 100%;
    }

    .site-nav__menu {
        flex-wrap: wrap;
    }
}

@media (max-width: 720px) {
    .hero-panel__content,
    .hero-panel__card,
    .content-section,
    .contact-band,
    .entry-card,
    .listing-shell {
        padding: 22px;
    }

    .sticky-contact {
        width: calc(100% - 24px);
    }

    .sticky-contact a {
        flex: 1;
    }
}
