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

/* Marka paleti — logodan alindi.
   Lacivert #102747 yapisal renk, altin #e0a722 vurgu.
   Altin kucuk metinde kontrast birakmadigi icin yalnizca dekoratif
   ogelerde (serit, rozet, kenarlik) kullaniliyor. */
:root {
    --fog: #e8ebef;
    --vellum: #f8f9fb;
    --basalt: #151d2b;
    --basalt-2: #1e2838;
    --sea: #102747;
    --sea-2: #0a1c35;
    --celik: #365679;
    --altin: #e0a722;
    --altin-2: #b9831f;
    --mute: #5b6675;
    --rule: #ccd3dc;
    --rule-strong: #b0bac8;
    --cut: rgba(16, 39, 71, 0.1);
    --display: "Archivo Narrow", "Arial Narrow", sans-serif;
    --sans: "Source Sans 3", "Segoe UI", sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, monospace;
    --space: clamp(1.25rem, 3vw, 2.5rem);
    --gutter: clamp(1.15rem, 4vw, 3.25rem);
    --header: 4.25rem;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --max: 1280px;
    --plate-size: min(680px, calc(100svh - var(--header) - 9.75rem), calc(100vw - 42rem));
    --board-width: min(calc(100vw - 2 * var(--gutter)), calc(var(--plate-size) + 38rem));
}

html {
    scroll-behavior: smooth;
    color-scheme: light;
}

body {
    font-family: var(--sans);
    font-weight: 400;
    color: var(--basalt);
    background: var(--fog);
    line-height: 1.55;
    font-size: clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);
    overflow-x: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

ul,
ol {
    list-style: none;
}

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 200;
    padding: 0.55rem 0.9rem;
    background: var(--sea);
    color: var(--vellum);
}

.skip:focus {
    top: 1rem;
}

::selection {
    background: var(--sea);
    color: var(--vellum);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    height: var(--header);
    padding: 0 var(--gutter);
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.header-bar {
    width: min(100%, calc(var(--plate-size) + 38rem));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header.is-scrolled,
.header.is-menu {
    background: rgba(246, 247, 248, 0.96);
    border-bottom-color: var(--rule);
    box-shadow: 0 1px 0 rgba(26, 36, 34, 0.04);
    backdrop-filter: blur(14px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.logo-mark {
    width: 1.15rem;
    height: 1.5rem;
    color: var(--sea);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.logo-text strong {
    font-family: var(--display);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.92rem;
}

.logo-text small {
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mute);
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.nav a {
    font-size: 0.92rem;
    color: var(--mute);
    transition: color 0.25s var(--ease);
}

.nav a:hover {
    color: var(--basalt);
}

.nav-phone {
    font-family: var(--mono);
    font-size: 0.78rem !important;
    letter-spacing: 0.04em;
    color: var(--basalt) !important;
    padding: 0.5rem 0.8rem;
    border: 1px solid var(--rule-strong);
    background: var(--vellum);
    transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.nav-phone:hover {
    border-color: var(--sea);
    color: var(--sea) !important;
}

.header.is-scrolled .nav-phone,
.header.is-menu .nav-phone {
    background: var(--sea);
    border-color: var(--sea);
    color: var(--vellum) !important;
}

.header.is-scrolled .nav-phone:hover,
.header.is-menu .nav-phone:hover {
    background: var(--sea-2);
    border-color: var(--sea-2);
    color: var(--vellum) !important;
}

.menu-btn {
    display: none;
    width: 2.4rem;
    height: 2.4rem;
    position: relative;
}

.menu-btn span {
    position: absolute;
    left: 0.45rem;
    right: 0.45rem;
    height: 1px;
    background: var(--basalt);
    transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.menu-btn span:first-child { top: 0.95rem; }
.menu-btn span:last-child { top: 1.35rem; }

.menu-btn.is-open span:first-child {
    top: 1.15rem;
    transform: rotate(40deg);
}

.menu-btn.is-open span:last-child {
    top: 1.15rem;
    transform: rotate(-40deg);
}

.mobile-menu {
    position: fixed;
    inset: var(--header) 0 0 0;
    z-index: 55;
    background: var(--vellum);
    padding: 1.25rem var(--gutter) 3rem;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.mobile-menu[hidden] {
    display: none;
}

.mobile-menu a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--rule);
    font-size: 1.05rem;
}

.hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.15rem;
    padding: calc(var(--header) + 1.15rem) var(--gutter) 2rem;
    scroll-margin-top: var(--header);
}

.hero-intro {
    width: var(--board-width);
}

.hero-intro h1 {
    font-size: clamp(1.85rem, 3.2vw, 2.55rem);
    max-width: 22ch;
    margin-bottom: 0;
}

.hero-board {
    display: grid;
    grid-template-columns: var(--plate-size) 15.5rem minmax(17.5rem, 20.5rem);
    gap: 1rem;
    align-items: stretch;
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
}

.hero-sheet {
    position: relative;
    width: var(--plate-size);
    height: var(--plate-size);
    aspect-ratio: 1 / 1;
    flex: none;
    background: var(--vellum);
    border: 1px solid var(--rule);
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.18;
    mix-blend-mode: multiply;
    background-image:
        linear-gradient(to right, rgba(26, 36, 34, 0.07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(26, 36, 34, 0.07) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.plate-stage {
    position: absolute;
    inset: 0;
}

.plate-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    mix-blend-mode: multiply;
}

.plate-svg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plate-svg.is-off {
    display: none;
}

.plate-svg .viz {
    width: min(72%, 420px);
    height: auto;
}

.plate-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    z-index: 3;
}

.plate-canvas.is-on {
    opacity: 1;
    transition: none;
    /* Süpürme clip-path ile yapılıyor; will-change bileşiciye erken haber verir
       ki ilk karede sıçrama olmasın. */
    will-change: clip-path;
}

/* --- Plotter cetveli -----------------------------------------------------
   Geçiş sırasında paftayı soldan sağa tarayan dikey çizgi. Üç katman:
   önünde ince bir gölge (henüz kaldırılmamış taraf), çekirdekte marka altını,
   arkasında hafif bir iz. Konumu JS'te canvas maskesiyle aynı zamanlamaya
   bağlandığı için çizgi ile açılan kenar birbirinden ayrılmaz.             */
.plate-rule {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 4;
    width: 1px;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(
        180deg,
        rgba(224, 167, 34, 0) 0%,
        rgba(224, 167, 34, 0.9) 12%,
        rgba(224, 167, 34, 0.9) 88%,
        rgba(224, 167, 34, 0) 100%
    );
    /* Kaldırılan tarafta kalan ince iz: kâğıttan silinen grafitin izlenimi. */
    box-shadow:
        -14px 0 18px -12px rgba(16, 39, 71, 0.4),
        0 0 6px rgba(224, 167, 34, 0.55);
    transition: opacity 0.14s ease;
}

.plate-rule.is-on {
    opacity: 1;
}

/* Cetvel kafası: plotter kaleminin oturduğu küçük blok. Sadece üstte, çünkü
   gerçek bir çizim makinesinde de kafa üst raydan asılıdır. */
.plate-rule-bas {
    position: absolute;
    top: -1px;
    left: 50%;
    width: 0.68rem;
    height: 0.34rem;
    transform: translateX(-50%);
    background: var(--sea);
    border-radius: 0 0 1px 1px;
}

.plate-rule-bas::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 1px;
    height: 0.3rem;
    transform: translateX(-50%);
    background: var(--altin);
}

/* Süpürme sırasında kılavuz biraz geri çekilir: gözü çizgiye toplar. */
.hero-sheet.is-supuruluyor .hero-grid {
    opacity: 0.1;
    transition: opacity 0.24s ease;
}

@media (prefers-reduced-motion: reduce) {
    .plate-rule {
        display: none;
    }
}

.title-block {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 5;
    display: grid;
    grid-template-columns: auto minmax(7rem, 1fr) auto;
    max-width: 100%;
    border-top: 1px solid var(--basalt);
    border-left: 1px solid var(--basalt);
    background: var(--vellum);
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--mute);
}

.title-block span {
    padding: 0.55rem 0.65rem;
    border-right: 1px solid var(--rule);
}

.title-block span:nth-child(2) {
    line-height: 1.3;
    color: var(--basalt);
}

.title-block span:last-child {
    border-right: 0;
    color: var(--basalt);
}

.hero-side {
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
}

.hero-side .index-list {
    position: static;
    max-height: none;
    overflow: auto;
    background: transparent;
    flex: 1;
}

.hero-side .index-item {
    padding: 0.58rem 0.15rem 0.58rem 0;
}

.hero-side .index-title {
    font-size: 1.02rem;
}

.hero-side .index-kisa {
    font-size: 0.76rem;
}

.hero-detail {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    background: var(--vellum);
    border: 1px solid var(--rule);
    padding: 1.2rem 1.25rem 1.3rem;
}

.hero-detail .eyebrow {
    margin-bottom: 0.85rem;
}

.hero-panels {
    flex: 1;
    min-height: 0;
    overflow: auto;
}

.hero-panels .panel {
    display: none;
    grid-area: auto;
    grid-template-rows: none;
    min-height: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hero-panels .panel.is-active {
    display: block;
}

.hero-panels .panel-grup {
    margin-bottom: 0.3rem;
}

.hero-panels h3 {
    font-size: clamp(1.55rem, 2vw, 2rem);
    margin-bottom: 0.65rem;
}

.hero-panels p {
    color: var(--mute);
    font-size: 0.98rem;
    margin-bottom: 1.1rem;
}

.hero-panels ul {
    display: grid;
    gap: 0.45rem;
}

.hero-panels li {
    position: relative;
    padding-left: 1rem;
    font-size: 0.95rem;
}

.hero-panels li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 0.45rem;
    height: 1px;
    background: var(--sea);
}

.hero-detail .hero-actions {
    margin-top: 1.2rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--rule);
}

.eyebrow {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sea);
    margin-bottom: 1.1rem;
}

h1,
h2,
h3 {
    font-family: var(--display);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 0.98;
}

h1 {
    font-size: clamp(2.7rem, 6.2vw, 5.1rem);
    line-height: 1.02;
    margin-bottom: 1.35rem;
}

h1 span {
    display: block;
    color: var(--celik);
}

.lede {
    color: var(--mute);
    font-size: clamp(1.02rem, 1.35vw, 1.18rem);
    font-weight: 400;
    max-width: 34rem;
    margin-bottom: 1.85rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.7rem 1.2rem;
    font-size: 0.92rem;
    border-radius: 2px;
    transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn-primary {
    background: var(--sea);
    color: var(--vellum);
}

.btn-primary:hover {
    background: var(--sea-2);
}

.btn-ghost {
    border: 1px solid var(--rule-strong);
    color: var(--basalt);
    background: var(--vellum);
}

.btn-ghost:hover {
    border-color: var(--basalt);
}

.viz-bg {
    fill: transparent;
}

.viz-line {
    stroke: var(--basalt);
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.viz-dim,
.viz-guide,
.viz-cut {
    stroke: var(--mute);
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.viz-poche {
    fill: var(--cut);
}

@media (prefers-reduced-motion: no-preference) {
    .hero-sheet {
        animation: rise 0.85s var(--ease) both;
    }

    .hero-side {
        animation: rise 0.85s var(--ease) 0.12s both;
    }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: var(--board-width);
    margin: 0 auto;
    border: 1px solid var(--rule);
    background: var(--vellum);
}

.facts > div {
    padding: 1.15rem 1.25rem 1.25rem;
    border-right: 1px solid var(--rule);
}

.facts > div:last-child {
    border-right: 0;
}

.facts dt {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mute);
    margin-bottom: 0.35rem;
}

.facts dd {
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.section-head {
    width: var(--board-width);
    margin: 0 auto clamp(1.2rem, 2.5vw, 1.8rem);
    padding: 0;
    max-width: none;
}

.section-head h2,
.close h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.section-note {
    margin-top: 0.8rem;
    color: var(--mute);
}

.index-section,
.method,
.reasons,
.clusters {
    padding: clamp(2.8rem, 5.5vw, 4.25rem) 0;
    scroll-margin-top: var(--header);
}

.index-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.86fr) 1.14fr;
    gap: 1.15rem;
    padding: 0 var(--gutter);
    align-items: start;
}

.index-list {
    border-top: 1px solid var(--basalt);
    background: transparent;
}

.index-item {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.8rem;
    align-items: center;
    text-align: left;
    padding: 0.95rem 0.2rem 0.95rem 0;
    border-bottom: 1px solid var(--rule);
    transition: color 0.25s var(--ease), background 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.index-item:hover,
.index-item.is-active {
    color: var(--sea);
}

.index-item.is-active {
    padding-left: 0.65rem;
    background: var(--vellum);
    box-shadow: inset 3px 0 0 var(--altin);
}

.index-title {
    display: block;
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.index-kisa {
    display: block;
    margin-top: 0.12rem;
    font-size: 0.82rem;
    color: var(--mute);
}

.index-item.is-active .index-kisa {
    color: var(--celik);
}

.index-flag {
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sea);
    background: var(--altin);
    font-weight: 600;
    padding: 0.22rem 0.42rem;
}

.index-stage {
    background: var(--vellum);
    border: 1px solid var(--rule);
    min-height: min(76vh, 720px);
    position: relative;
    display: grid;
}

.panel {
    grid-area: 1 / 1;
    display: grid;
    grid-template-rows: 1.1fr 0.9fr;
    min-height: min(76vh, 720px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

.panel.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.panel-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(to right, rgba(26, 36, 34, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(26, 36, 34, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    padding: 1.4rem;
}

.panel-visual .viz {
    width: min(68%, 320px);
    height: auto;
}

.panel-body {
    padding: 1.5rem 1.6rem 1.7rem;
    border-top: 1px solid var(--rule);
}

.panel-grup {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sea);
    margin-bottom: 0.45rem;
}

.panel-body h3,
.stack-body h3,
.cluster h3,
.reason h3 {
    font-size: clamp(1.7rem, 2.6vw, 2.25rem);
    margin-bottom: 0.55rem;
}

.panel-body p,
.stack-body p {
    color: var(--mute);
    margin-bottom: 1rem;
}

.panel-body ul,
.stack-body ul {
    display: grid;
    gap: 0.4rem;
}

.panel-body li,
.stack-body li {
    padding-left: 1rem;
    position: relative;
    font-size: 0.95rem;
}

.panel-body li::before,
.stack-body li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 0.45rem;
    height: 1px;
    background: var(--sea);
}

.stack {
    padding: 0 var(--gutter);
    margin-top: 0.5rem;
}

.stack-list {
    display: grid;
    gap: 1rem;
}

.stack-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1.2rem;
    padding: 1.2rem 0;
    border-top: 1px solid var(--rule);
    scroll-margin-top: calc(var(--header) + 1rem);
    background: var(--fog);
}

.stack-card:last-child {
    border-bottom: 1px solid var(--rule);
}

.stack-visual {
    background: var(--vellum);
    border: 1px solid var(--rule);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.stack-visual .viz {
    width: 78%;
    height: auto;
}

.stack-no {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sea);
    margin-bottom: 0.35rem;
}

.method {
    background: transparent;
    border: 0;
}

.method-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    width: var(--board-width);
    margin: 0 auto;
    background: var(--rule);
    border: 1px solid var(--rule);
}

.method-list li {
    background: var(--vellum);
    padding: 1.45rem 1.3rem 1.55rem;
    margin: 0;
    border: 0;
}

.method-kod {
    display: block;
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--sea);
    margin-bottom: 0.7rem;
}

.method-list h3 {
    font-size: 1.65rem;
    margin-bottom: 0.55rem;
}

.method-list p {
    color: var(--mute);
    font-size: 0.95rem;
}

.reason-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    width: var(--board-width);
    margin: 0 auto;
    padding: 0;
}

.reason {
    background: var(--vellum);
    border: 1px solid var(--rule);
    padding: 1.5rem 1.4rem 1.6rem;
    min-height: 12.5rem;
}

.reason p {
    color: var(--mute);
}

.cluster-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    width: var(--board-width);
    margin: 0 auto;
    background: var(--rule);
    border: 1px solid var(--rule);
}

.cluster {
    background: var(--vellum);
    padding: 1.5rem 1.3rem 1.6rem;
    min-height: 13.5rem;
}

.cluster p {
    color: var(--mute);
    margin-bottom: 1.2rem;
    font-size: 0.92rem;
}

.cluster a {
    display: block;
    padding: 0.45rem 0;
    border-top: 1px solid var(--rule);
    font-size: 0.92rem;
    transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.cluster a:hover {
    color: var(--sea);
    padding-left: 0.35rem;
}

.close {
    padding: clamp(2.8rem, 5.5vw, 4.25rem) var(--gutter);
    background: var(--fog);
    color: var(--basalt);
    scroll-margin-top: var(--header);
}

.close-board {
    width: var(--board-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
    background: var(--vellum);
    border: 1px solid var(--rule);
}

.close-copy {
    padding: 1.85rem 1.9rem 1.95rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.close-copy .eyebrow {
    margin-bottom: 0.7rem;
}

.close-copy h2 {
    max-width: none;
    margin-bottom: 0.75rem;
}

.close-copy .lede {
    color: var(--mute);
    margin-bottom: 0;
    max-width: 36rem;
}

.close-card {
    padding: 1.85rem 1.7rem;
    border-left: 1px solid var(--rule);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.7rem;
}

.close-card .btn {
    width: 100%;
}

.close-place {
    margin-top: 0.35rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--rule);
    font-family: var(--mono);
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--mute);
    max-width: none;
}

.footer {
    background: var(--sea);
    color: var(--fog);
    padding: 2.6rem var(--gutter) 1.5rem;
    border-top: 1px solid rgba(228, 232, 234, 0.12);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
    width: var(--board-width);
    margin: 0 auto 2.2rem;
}

.footer-kicker {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--altin);
    margin-bottom: 0.9rem;
}

.footer-legal,
.footer-list a {
    color: #9aa7ab;
    font-size: 0.92rem;
}

.footer-legal {
    max-width: 24rem;
}

.footer-place {
    margin-top: 0.7rem;
    color: var(--fog);
    font-size: 0.92rem;
}

.footer-list {
    display: grid;
    gap: 0.4rem;
}

.footer-list a:hover {
    color: var(--fog);
}

.footer-copy {
    width: var(--board-width);
    margin: 0 auto;
    border-top: 1px solid rgba(228, 232, 234, 0.12);
    padding-top: 1.1rem;
    color: #7d898d;
    font-family: var(--mono);
    font-size: 0.72rem;
}

:focus-visible {
    outline: 2px solid var(--sea);
    outline-offset: 3px;
}

@media (max-width: 1080px) {
    .cluster-grid,
    .method-list,
    .reason-grid,
    .facts {
        grid-template-columns: 1fr 1fr;
    }

    .facts > div:nth-child(2) {
        border-right: 0;
    }
}

@media (max-width: 1180px) {
    :root {
        --plate-size: min(680px, calc(100vw - 2 * var(--gutter)));
    }

    .hero {
        align-items: stretch;
    }

    .hero-intro {
        width: 100%;
    }

    .hero-board {
        width: 100%;
        grid-template-columns: 1fr 1fr;
        justify-content: stretch;
    }

    .hero-sheet {
        grid-column: 1 / -1;
        width: var(--plate-size);
        height: var(--plate-size);
        justify-self: center;
    }
}

@media (max-width: 960px) {
    .nav {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .hero {
        min-height: auto;
        padding-bottom: 1.5rem;
    }

    .hero-board {
        grid-template-columns: 1fr;
    }

    .hero-sheet {
        grid-column: auto;
        width: var(--plate-size);
        height: var(--plate-size);
        justify-self: center;
    }

    .close-board {
        grid-template-columns: 1fr;
    }

    .close-card {
        border-left: 0;
        border-top: 1px solid var(--rule);
        padding-top: 1.5rem;
    }

    .title-block {
        grid-template-columns: 1fr 1.2fr 0.9fr;
        font-size: 0.58rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 961px) {
    .stack {
        display: none;
    }
}

@media (max-width: 640px) {
    .cluster-grid,
    .method-list,
    .reason-grid,
    .facts {
        grid-template-columns: 1fr;
    }

    .facts > div {
        border-right: 0;
        margin-right: 0;
        padding-right: 0;
        border-bottom: 1px solid var(--rule);
    }

    .facts > div:last-child {
        border-bottom: 0;
    }

    .stack-card {
        grid-template-columns: 1fr;
    }

    .stack-visual {
        min-height: 220px;
    }

    .hero-sheet {
        aspect-ratio: 1 / 1;
    }

    .title-block {
        grid-template-columns: 1fr;
    }

    .title-block span {
        border-right: 0;
        border-bottom: 1px solid var(--rule);
    }

    .title-block span:last-child {
        border-bottom: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}
/* ===========================================================================
   Zahan İnşaat — iç sayfalar, proje bölümü, SSS ve galeri
   Mevcut tasarım diline sadık: ince çizgi, vellum kart, mono etiket, sea vurgu.
   Bu dosya style.css'in sonuna @import ile değil, doğrudan eklenir.
   ======================================================================== */

/* --- Kırıntı yolu ------------------------------------------------------ */
.kirinti {
    padding: calc(var(--header) + 1rem) var(--gutter) 0;
}

.kirinti ol {
    width: var(--board-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.55rem;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mute);
}

.kirinti li + li::before {
    content: "/";
    margin-right: 0.55rem;
    color: var(--rule-strong);
}

.kirinti a:hover {
    color: var(--sea);
}

.kirinti [aria-current] {
    color: var(--basalt);
}

/* --- Ana sayfa hero ek metni ------------------------------------------- */
.hero-lede {
    margin-top: 0.9rem;
    max-width: 62ch;
    color: var(--mute);
    font-size: clamp(0.98rem, 1.1vw, 1.06rem);
}

.hero-lede strong {
    color: var(--basalt);
    font-weight: 600;
}

.panel-link {
    margin-top: 1rem;
    font-size: 0.92rem;
}

.panel-link a {
    color: var(--sea);
    border-bottom: 1px solid var(--rule-strong);
    padding-bottom: 1px;
}

.panel-link a:hover {
    border-bottom-color: var(--sea);
}

.mobile-kicker {
    margin-top: 1.1rem;
    padding-bottom: 0.35rem;
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sea);
}

/* --- Ortak bölüm iskeleti ---------------------------------------------- */
.hizmetler,
.projeler-onecikan,
.sss,
.bolgeler {
    padding: clamp(2.8rem, 5.5vw, 4.25rem) 0;
    scroll-margin-top: var(--header);
}

.bolum-cta {
    width: var(--board-width);
    margin: 1.6rem auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

/* --- İş kolu kartları --------------------------------------------------- */
.hizmet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    width: var(--board-width);
    margin: 0 auto;
    background: var(--rule);
    border: 1px solid var(--rule);
}

.hizmet-kart {
    background: var(--vellum);
    padding: 1.5rem 1.4rem 1.6rem;
    display: flex;
    flex-direction: column;
    scroll-margin-top: calc(var(--header) + 1rem);
}

.hizmet-no {
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sea);
    margin-bottom: 0.5rem;
}

.hizmet-kart h3 {
    font-size: clamp(1.3rem, 1.8vw, 1.6rem);
    margin-bottom: 0.7rem;
}

.hizmet-kart h3 a:hover {
    color: var(--sea);
}

.hizmet-cevap {
    color: var(--mute);
    font-size: 0.94rem;
    margin-bottom: 1.05rem;
}

.hizmet-maddeler {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
}

.hizmet-maddeler li {
    position: relative;
    padding-left: 1rem;
    font-size: 0.9rem;
}

.hizmet-maddeler li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 0.45rem;
    height: 1px;
    background: var(--sea);
}

.hizmet-devam {
    margin-top: auto;
    padding-top: 0.9rem;
    border-top: 1px solid var(--rule);
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sea);
    transition: padding-left 0.25s var(--ease);
}

.hizmet-devam:hover {
    padding-left: 0.3rem;
}

/* --- Proje kartları ----------------------------------------------------- */
.proje-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: var(--board-width);
    margin: 0 auto;
}

.proje-kart {
    background: var(--vellum);
    border: 1px solid var(--rule);
    transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.proje-kart:hover {
    border-color: var(--rule-strong);
}

.proje-kart-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.proje-kart-gorsel {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--fog);
    border-bottom: 1px solid var(--rule);
}

.proje-kart-gorsel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.proje-kart:hover .proje-kart-gorsel img {
    transform: scale(1.04);
}

.proje-kart-govde {
    display: flex;
    flex-direction: column;
    padding: 1.15rem 1.2rem 1.3rem;
    flex: 1;
}

.proje-kart-meta {
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sea);
    margin-bottom: 0.45rem;
}

.proje-kart-baslik {
    font-family: var(--display);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.12;
    font-size: 1.28rem;
    margin-bottom: 0.5rem;
}

.proje-kart:hover .proje-kart-baslik {
    color: var(--sea);
}

.proje-kart-ozet {
    color: var(--mute);
    font-size: 0.9rem;
}

.proje-kart-etiketler {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: auto;
    padding-top: 1rem;
}

.etiket {
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mute);
    border: 1px solid var(--rule);
    padding: 0.2rem 0.42rem;
}

/* --- Proje listesi başlığı ve filtre ------------------------------------ */
.sayfa {
    padding-bottom: 0;
}

.liste-bas {
    width: var(--board-width);
    margin: 0 auto;
    padding: clamp(1.6rem, 3vw, 2.4rem) 0 clamp(1.4rem, 2.5vw, 2rem);
}

main.sayfa {
    padding: calc(var(--header) + 1.5rem) var(--gutter) 0;
}

/* Kirinti yolu zaten sabit basligi telafi ediyor; ust bosluk tekrarlanmasin. */
.kirinti + main.sayfa {
    padding-top: 1rem;
}

.liste-bas h1 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    max-width: 20ch;
    margin-bottom: 1rem;
}

.liste-lede {
    color: var(--mute);
    max-width: 60ch;
    font-size: clamp(1rem, 1.2vw, 1.1rem);
}

.liste-ozet {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 1.8rem;
    border: 1px solid var(--rule);
    background: var(--vellum);
}

.liste-ozet > div {
    padding: 0.95rem 1.1rem 1.05rem;
    border-right: 1px solid var(--rule);
}

.liste-ozet > div:last-child {
    border-right: 0;
}

.liste-ozet dt {
    font-family: var(--mono);
    font-size: 0.64rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mute);
    margin-bottom: 0.3rem;
}

.liste-ozet dd {
    font-family: var(--display);
    font-size: 1.3rem;
    font-weight: 600;
}

.filtre {
    width: var(--board-width);
    margin: 0 auto 1.3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.filtre-btn {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.5rem 0.8rem;
    border: 1px solid var(--rule-strong);
    background: var(--vellum);
    color: var(--mute);
    transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.filtre-btn:hover {
    color: var(--basalt);
    border-color: var(--basalt);
}

.filtre-btn.is-active {
    background: var(--sea);
    border-color: var(--sea);
    color: var(--vellum);
}

.filtre-btn span {
    opacity: 0.7;
}

.proje-kart[hidden] {
    display: none;
}

/* --- Yazı (hizmet ve proje detay) --------------------------------------- */
.yazi {
    width: var(--board-width);
    margin: 0 auto;
}

.yazi-bas {
    padding: clamp(1.4rem, 3vw, 2.2rem) 0 0;
}

.yazi-bas h1 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    max-width: 22ch;
    margin-bottom: 1.4rem;
}

.yazi-eskiz {
    background: var(--vellum);
    border: 1px solid var(--rule);
    padding: 1.5rem;
    margin-bottom: 1.4rem;
    display: flex;
    justify-content: center;
    background-image:
        linear-gradient(to right, rgba(26, 36, 34, 0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(26, 36, 34, 0.045) 1px, transparent 1px);
    background-size: 26px 26px;
}

.yazi-eskiz img {
    width: min(360px, 70%);
    height: auto;
    mix-blend-mode: multiply;
}

.yazi-kapak {
    margin-bottom: 1.5rem;
    border: 1px solid var(--rule);
    background: var(--vellum);
}

.yazi-kapak img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.yazi-kapak figcaption,
.galeri-oge figcaption {
    padding: 0.7rem 0.9rem 0.8rem;
    border-top: 1px solid var(--rule);
    font-family: var(--mono);
    font-size: 0.68rem;
    line-height: 1.5;
    color: var(--mute);
}

/* Doğrudan cevap bloğu — yapay zekâ motorlarının alıntıladığı pasaj. */
.cevap-blok {
    background: var(--vellum);
    border: 1px solid var(--rule);
    border-left: 3px solid var(--altin);
    padding: 1.2rem 1.35rem 1.3rem;
    margin-bottom: 2rem;
}

.cevap-etiket {
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sea);
    margin-bottom: 0.5rem;
}

.cevap-blok p:last-child {
    font-size: 1.02rem;
    max-width: 68ch;
}

/* Künye tablosu */
.kunye {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--vellum);
    border: 1px solid var(--rule);
    margin-bottom: 2.2rem;
}

/* Ayirici cizgiler hucre golgesiyle cizilir; boylece son satirda
   bos hucre kalsa bile gri bosluk gorunmez. */
.kunye > div {
    padding: 0.95rem 1.1rem 1.05rem;
    box-shadow: inset -1px -1px 0 var(--rule);
}

.kunye dt {
    font-family: var(--mono);
    font-size: 0.64rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mute);
    margin-bottom: 0.3rem;
}

.kunye dd {
    font-size: 0.95rem;
    font-weight: 500;
}

.kunye dd a {
    color: var(--sea);
    border-bottom: 1px solid var(--rule-strong);
}

/* Gövde metni */
.yazi-govde {
    max-width: 68ch;
}

.yazi-govde p {
    margin-bottom: 1.15rem;
    color: var(--basalt);
}

.yazi-govde h2 {
    font-size: clamp(1.45rem, 2.3vw, 1.95rem);
    margin: 2.4rem 0 0.9rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--rule);
}

.isaret-liste {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 1.6rem;
}

.isaret-liste li {
    position: relative;
    padding-left: 1.15rem;
    color: var(--mute);
}

.isaret-liste li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.68em;
    width: 0.55rem;
    height: 1px;
    background: var(--sea);
}

/* --- Galeri ------------------------------------------------------------- */
.galeri {
    padding: clamp(2.4rem, 4vw, 3.4rem) 0 0;
    scroll-margin-top: var(--header);
}

.galeri h2,
.yazi .sss h2,
.ilgili h2 {
    font-size: clamp(1.55rem, 2.6vw, 2.1rem);
    margin-bottom: 0.6rem;
}

.galeri-not {
    color: var(--mute);
    font-size: 0.9rem;
    margin-bottom: 1.3rem;
}

.galeri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
}

.galeri-oge {
    background: var(--vellum);
    display: flex;
    flex-direction: column;
}

.galeri-btn {
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    background: var(--fog);
}

.galeri-btn img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.55s var(--ease);
}

.galeri-btn:hover img {
    transform: scale(1.05);
}

.galeri-oge figcaption {
    flex: 1;
}

/* --- Lightbox ----------------------------------------------------------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 120;
    background: rgba(20, 28, 27, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 4vw, 3rem);
}

.lightbox[hidden] {
    display: none;
}

.lightbox-icerik {
    max-width: min(1100px, 100%);
    max-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.lightbox-icerik img {
    max-width: 100%;
    max-height: calc(100vh - 9rem);
    width: auto;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

.lightbox-icerik figcaption {
    text-align: center;
    color: #cfd8d6;
    font-family: var(--mono);
    font-size: 0.74rem;
    line-height: 1.5;
}

.lightbox-kapat,
.lightbox-yon {
    position: absolute;
    z-index: 2;
    color: var(--vellum);
    width: 3rem;
    height: 3rem;
    font-size: 2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(246, 247, 248, 0.25);
    background: rgba(20, 28, 27, 0.6);
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.lightbox-kapat:hover,
.lightbox-yon:hover {
    background: var(--sea);
    border-color: var(--sea);
}

.lightbox-kapat {
    top: 1rem;
    right: 1rem;
    font-size: 1.8rem;
}

.lightbox-onceki { left: 1rem; }
.lightbox-sonraki { right: 1rem; }

/* --- SSS ---------------------------------------------------------------- */
.sss-liste {
    width: 100%;
    border-top: 1px solid var(--basalt);
}

.hizmetler + .sss .sss-liste,
main > .sss .sss-liste {
    width: var(--board-width);
    margin: 0 auto;
}

.sss-item {
    border-bottom: 1px solid var(--rule);
    background: var(--vellum);
}

.sss-item summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.2rem;
    cursor: pointer;
    list-style: none;
    transition: color 0.25s var(--ease);
}

.sss-item summary::-webkit-details-marker {
    display: none;
}

.sss-item summary::after {
    content: "+";
    font-family: var(--mono);
    font-size: 1.2rem;
    line-height: 1;
    color: var(--sea);
    flex: none;
}

.sss-item[open] summary::after {
    content: "–";
}

.sss-item summary:hover {
    color: var(--sea);
}

.sss-item summary h3 {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.sss-item > p {
    padding: 0 3.2rem 1.3rem 1.2rem;
    color: var(--mute);
    max-width: 78ch;
}

/* --- Hizmet bölgeleri --------------------------------------------------- */
.bolge-liste {
    width: var(--board-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
}

.bolge-liste li {
    flex: 1 1 9rem;
    background: var(--vellum);
    padding: 0.85rem 1rem;
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-align: center;
}

.bolge-genel {
    color: var(--sea);
}

/* --- İlgili / diğer ----------------------------------------------------- */
.ilgili {
    padding: clamp(2.4rem, 4vw, 3.4rem) 0 0;
}

.ilgili .proje-grid,
.ilgili .bolum-cta {
    width: 100%;
}

.diger {
    padding: clamp(2rem, 3.5vw, 2.8rem) 0 clamp(2.4rem, 4vw, 3.2rem);
    border-top: 1px solid var(--rule);
    margin-top: clamp(2rem, 3.5vw, 3rem);
}

.diger ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.diger a {
    display: block;
    padding: 0.5rem 0.85rem;
    border: 1px solid var(--rule-strong);
    background: var(--vellum);
    font-size: 0.88rem;
    transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.diger a:hover {
    border-color: var(--sea);
    color: var(--sea);
}

/* --- Sayfa içi close bölümü iç sayfalarda ------------------------------- */
.yazi .close,
.sayfa .close {
    padding-inline: 0;
    background: transparent;
}

.yazi .close-board,
.sayfa .close-board {
    width: 100%;
}

/* --- Alt bilgi eklentileri ---------------------------------------------- */
.footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 0.8fr;
}

.footer-desc {
    margin-top: 0.8rem;
    color: #9aa7ab;
    font-size: 0.88rem;
    max-width: 30rem;
}

.footer-adres {
    margin-top: 0.9rem;
    display: grid;
    gap: 0.15rem;
    font-style: normal;
    color: var(--fog);
    font-size: 0.88rem;
}

.footer-bolge {
    width: var(--board-width);
    margin: 0 auto 1.8rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(228, 232, 234, 0.12);
}

.footer-bolge p:last-child {
    color: #9aa7ab;
    font-size: 0.85rem;
    line-height: 1.7;
}

/* --- Duyarlı düzen ------------------------------------------------------ */
@media (max-width: 1080px) {
    .hizmet-grid,
    .proje-grid,
    .kunye,
    .liste-ozet {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .hizmet-grid,
    .proje-grid,
    .kunye,
    .liste-ozet {
        grid-template-columns: 1fr;
    }

    .liste-ozet > div,
    .kunye > div {
        border-right: 0;
    }

    .galeri-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lightbox-yon {
        top: auto;
        bottom: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Başlık hiyerarşisi düzeltmesi: hero'daki "İş kollarımız" artık <h2>.
   Görsel olarak eyebrow kalmalı, bu yüzden başlık varsayılanları geri alınır. */
h2.eyebrow,
h3.eyebrow {
    font-family: var(--mono);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.12em;
}
/* ===========================================================================
   İletişim / teklif formu, yandan açılan panel, WhatsApp ve CTA düğmeleri
   ======================================================================== */

:root {
    --wa: #1f8a4c;
    --wa-2: #176c3b;
    --uyari: #9a2c2c;
}

/* --- Düğmeler ----------------------------------------------------------- */
.btn-ikon {
    flex: none;
    margin-right: 0.5rem;
}

.btn-whatsapp {
    background: var(--wa);
    color: var(--vellum);
}

.btn-whatsapp:hover {
    background: var(--wa-2);
}

/* İş kolu panelindeki "… sayfası" düğmesi */
.btn-panel {
    width: 100%;
    justify-content: space-between;
    gap: 0.7rem;
    min-height: 2.75rem;
    padding: 0.6rem 0.95rem;
    background: var(--vellum);
    border: 1px solid var(--rule-strong);
    color: var(--basalt);
    font-family: var(--display);
    font-weight: 600;
    letter-spacing: -0.01em;
    font-size: 0.98rem;
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn-panel svg {
    transition: transform 0.25s var(--ease);
}

.btn-panel:hover {
    background: var(--sea);
    border-color: var(--sea);
    color: var(--vellum);
}

.btn-panel:hover svg {
    transform: translateX(3px);
}

.panel-link {
    margin-top: 1.1rem;
}

/* --- CTA grubu ---------------------------------------------------------- */
.cta-grubu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.cta-grubu .btn {
    flex: 1 1 auto;
}

.cta-dikey {
    flex-direction: column;
}

.cta-dikey .btn {
    width: 100%;
}

.cta-sik .btn {
    min-height: 2.75rem;
    padding: 0.55rem 0.9rem;
    font-size: 0.88rem;
}

/* Başlıktaki WhatsApp simgesi */
.nav-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    color: var(--wa) !important;
    border: 1px solid var(--rule-strong);
    background: var(--vellum);
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.nav-wa:hover {
    background: var(--wa);
    border-color: var(--wa);
    color: var(--vellum) !important;
}

.mobil-cta {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--rule);
}

/* --- Sabit alt çubuk (mobil) -------------------------------------------- */
.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: none;
    background: var(--vellum);
    border-top: 1px solid var(--rule);
    box-shadow: 0 -4px 20px rgba(26, 36, 34, 0.1);
}

.sticky-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.6rem 0.4rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-right: 1px solid var(--rule);
    color: var(--basalt);
}

.sticky-btn:last-child {
    border-right: 0;
}

.sticky-ara { color: var(--sea); }
.sticky-wa { color: var(--wa); }

.sticky-teklif {
    background: var(--sea);
    color: var(--vellum);
    font-size: 0.82rem;
}

.sticky-teklif:hover {
    background: var(--sea-2);
}

/* --- Form --------------------------------------------------------------- */
.teklif-form {
    background: var(--vellum);
    border: 1px solid var(--rule);
    padding: clamp(1.2rem, 2.5vw, 1.9rem);
}

.form-izgara {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.1rem;
}

.alan {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin: 0;
    min-width: 0;
}

.alan-genis {
    grid-column: 1 / -1;
}

.alan label,
.alan-etiket {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mute);
}

.alan label span[aria-hidden] {
    color: var(--sea);
}

.alan-not {
    text-transform: none;
    letter-spacing: 0;
    font-family: var(--sans);
    font-size: 0.78rem;
}

.alan input[type="text"],
.alan input[type="tel"],
.alan input[type="email"],
.alan input[type="date"],
.alan select,
.alan textarea {
    width: 100%;
    font: inherit;
    font-size: 0.95rem;
    color: var(--basalt);
    background: #fff;
    border: 1px solid var(--rule-strong);
    border-radius: 2px;
    padding: 0.62rem 0.7rem;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.alan textarea {
    resize: vertical;
    min-height: 7rem;
    line-height: 1.55;
}

.alan input:focus,
.alan select:focus,
.alan textarea:focus {
    outline: none;
    border-color: var(--sea);
    box-shadow: 0 0 0 3px rgba(31, 74, 68, 0.12);
}

.alan input[aria-invalid="true"],
.alan select[aria-invalid="true"],
.alan textarea[aria-invalid="true"] {
    border-color: var(--uyari);
}

.alan input[type="file"] {
    font-size: 0.86rem;
    padding: 0.5rem 0;
}

.alan-grup {
    display: grid;
    grid-template-columns: 1fr 8rem;
    gap: 0.5rem;
}

.gizli-etiket {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.alan-hata {
    font-size: 0.82rem;
    color: var(--uyari);
    margin: 0;
}

.alan-onay {
    margin-top: 1.2rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--rule);
}

.alan-onay label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-family: var(--sans);
    font-size: 0.88rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--mute);
    cursor: pointer;
}

.alan-onay input {
    margin-top: 0.2rem;
    accent-color: var(--sea);
    width: 1rem;
    height: 1rem;
    flex: none;
}

.form-uyari {
    background: #fbeaea;
    border: 1px solid #e3bcbc;
    border-left: 3px solid var(--uyari);
    color: #6d1f1f;
    padding: 0.85rem 1rem;
    margin-bottom: 1.2rem;
    font-size: 0.92rem;
}

.form-eylem {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem;
    margin-top: 1.3rem;
}

.form-not {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--mute);
}

/* Bal küpü — insanlar görmez, botlar doldurur. */
.bal-kupu {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* --- İletişim sayfası düzeni -------------------------------------------- */
.iletisim-duzen {
    width: var(--board-width);
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 1.2rem;
    align-items: start;
}

.iletisim-kart {
    background: var(--vellum);
    border: 1px solid var(--rule);
    padding: 1.35rem 1.4rem 1.5rem;
    margin-bottom: 1rem;
}

.iletisim-liste {
    display: grid;
    gap: 1rem;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--rule);
}

.iletisim-liste > li > span:first-child {
    display: block;
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mute);
    margin-bottom: 0.25rem;
}

.iletisim-liste address {
    font-style: normal;
    font-size: 0.92rem;
    line-height: 1.6;
}

.iletisim-liste a {
    color: var(--sea);
    border-bottom: 1px solid var(--rule-strong);
}

.iletisim-not {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--rule);
    font-size: 0.88rem;
    color: var(--mute);
}

.tesekkur .cta-grubu {
    margin-top: 1.6rem;
    max-width: 32rem;
}

/* --- Yandan açılan teklif paneli ---------------------------------------- */
.teklif-panel {
    position: fixed;
    inset: 0;
    z-index: 130;
}

.teklif-panel[hidden] {
    display: none;
}

.teklif-panel-perde {
    position: absolute;
    inset: 0;
    background: rgba(20, 28, 27, 0.55);
    backdrop-filter: blur(2px);
    animation: perde-ac 0.25s var(--ease);
}

.teklif-panel-govde {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(560px, 100%);
    background: var(--fog);
    border-left: 1px solid var(--rule);
    display: flex;
    flex-direction: column;
    box-shadow: -12px 0 40px rgba(26, 36, 34, 0.18);
    animation: panel-kay 0.32s var(--ease);
}

@keyframes perde-ac {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes panel-kay {
    from { transform: translateX(100%); }
    to { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .teklif-panel-perde,
    .teklif-panel-govde {
        animation: none;
    }
}

.teklif-panel-bas {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.3rem 1.4rem 1.1rem;
    border-bottom: 1px solid var(--rule);
    background: var(--vellum);
}

.teklif-panel-bas .eyebrow {
    margin-bottom: 0.35rem;
}

.teklif-panel-bas h2 {
    font-size: 1.55rem;
}

.teklif-panel-x {
    font-size: 1.9rem;
    line-height: 1;
    width: 2.4rem;
    height: 2.4rem;
    flex: none;
    color: var(--mute);
    border: 1px solid var(--rule);
    background: var(--fog);
    transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.teklif-panel-x:hover {
    color: var(--basalt);
    border-color: var(--basalt);
}

.teklif-panel-icerik {
    flex: 1;
    overflow-y: auto;
    padding: 1.2rem 1.4rem;
    overscroll-behavior: contain;
}

.teklif-panel-icerik .teklif-form {
    border: 0;
    padding: 0;
    background: transparent;
}

.teklif-panel-icerik .form-izgara {
    grid-template-columns: 1fr;
}

.teklif-panel-alt {
    padding: 1rem 1.4rem calc(1rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--rule);
    background: var(--vellum);
}

/* --- Duyarlı ------------------------------------------------------------ */
@media (max-width: 1080px) {
    .iletisim-duzen {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 960px) {
    .sticky-cta {
        display: flex;
    }

    body {
        padding-bottom: 4.2rem;
    }

    .nav-wa {
        display: none;
    }
}

@media (max-width: 640px) {
    .form-izgara {
        grid-template-columns: 1fr;
    }

    .teklif-panel-govde {
        width: 100%;
        top: auto;
        height: 92vh;
        border-left: 0;
        border-top: 1px solid var(--rule);
        animation-name: panel-yukari;
    }

    @keyframes panel-yukari {
        from { transform: translateY(100%); }
        to { transform: none; }
    }
}

/* ===========================================================================
   Marka görselleri — SVG yer tutucu yerine gerçek logo
   ======================================================================== */
.logo img {
    display: block;
    height: 2.45rem;
    width: auto;
}

.footer-logo {
    display: block;
    height: 2.7rem;
    width: auto;
    margin-bottom: 1.1rem;
}

/* Altın vurgunun ölçülü kullanıldığı yerler */
.eyebrow::after {
    content: "";
    display: inline-block;
    width: 1.6rem;
    height: 1px;
    margin-left: 0.6rem;
    vertical-align: middle;
    background: var(--altin);
}

.hizmet-devam:hover,
.panel-link a:hover {
    color: var(--altin-2);
}

.method-kod {
    color: var(--altin-2);
}

@media (max-width: 640px) {
    .logo img { height: 2.1rem; }
}


/* ===========================================================================
   DİL SEÇİMİ
   Bayrak tek başına dili göstermez (bayrak bir ülkeyi gösterir, dili değil),
   bu yüzden yanında her zaman iki harfli dil kodu yazılı durur.
   ======================================================================== */
.dil-secici {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 1.1rem;
    padding-left: 1.1rem;
    border-left: 1px solid var(--rule);
}

.dil-oge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.45rem;
    border: 1px solid transparent;
    border-radius: 2px;
    line-height: 1;
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.dil-oge .bayrak {
    display: block;
    width: 20px;
    height: auto;
    border-radius: 1px;
    /* İnce bir çerçeve: beyaz bantlı bayraklar (RU) açık zeminde kaybolmasın. */
    box-shadow: 0 0 0 1px rgba(21, 29, 43, 0.18);
}

.dil-kod {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    color: var(--mute);
}

a.dil-oge:hover {
    background: var(--fog);
    border-color: var(--rule);
}

a.dil-oge:hover .dil-kod { color: var(--sea); }

.dil-oge.is-etkin {
    background: var(--vellum);
    border-color: var(--rule-strong);
}

.dil-oge.is-etkin .dil-kod {
    color: var(--basalt);
    font-weight: 600;
}

.dil-oge.is-etkin .bayrak { box-shadow: 0 0 0 1px var(--sea); }

@media (max-width: 1080px) {
    .dil-secici { margin-left: 0.6rem; padding-left: 0.6rem; }
    .dil-kod { display: none; }
}

@media (max-width: 900px) {
    /* Mobilde menü düğmesinin soluna alınır; kod gizli, bayrak yeter. */
    .dil-secici { order: 2; margin-right: 0.4rem; }
}
