/* ==========================================================================
   Kurumsal teması: "editoryal kurumsal"
   Renk, yuvarlaklık ve yazı tipi aşağıdaki değişkenlerden gelir.
   Marka rengi includes/theme.php üzerinden :root'a yazılır.
   ========================================================================== */

/* ---------- Yazı tipleri (kendi sunucumuzdan; SIL OFL 1.1, bkz. assets/fonts/LICENSE.txt) ---------- */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 500; font-display: swap;
    src: url("../fonts/fraunces-normal-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 500; font-display: swap;
    src: url("../fonts/fraunces-normal-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400; font-display: swap;
    src: url("../fonts/fraunces-italic-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400; font-display: swap;
    src: url("../fonts/fraunces-italic-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
    src: url("../fonts/instrument-sans-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
    src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    --brand: #B4532A;
    --brand-dark: color-mix(in srgb, var(--brand) 82%, #000);
    --accent: color-mix(in srgb, var(--brand) 55%, #fff);   /* koyu zeminde vurgu */
    --brand-soft: color-mix(in srgb, var(--brand) 12%, var(--paper));
    --ink: #0F1B2D;
    --ink-2: color-mix(in srgb, var(--ink) 80%, #fff);
    --paper: #F5F1E8;
    --paper-2: color-mix(in srgb, var(--paper) 92%, #7a6a45);
    --card: #fff;
    --muted: color-mix(in srgb, var(--ink) 62%, var(--paper));
    --line: color-mix(in srgb, var(--ink) 14%, transparent);
    --radius: 18px;
    --radius-sm: calc(var(--radius) * .55);
    --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
    --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --maxw: 1240px;
    --gutter: clamp(20px, 4vw, 48px);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --shadow: 0 1px 2px rgba(15, 27, 45, .06), 0 12px 32px -12px rgba(15, 27, 45, .22);
    --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand); color: #fff; }
.i { width: 1.15em; height: 1.15em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Yerleşim ---------- */
.wrap { width: min(100% - var(--gutter) * 2, var(--maxw)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 132px); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section--ink { background: var(--ink); color: #fff; }
.section--paper2 { background: var(--paper-2); }
.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }

/* ---------- Tipografi ---------- */
.display, h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.015em; line-height: 1.08; font-optical-sizing: auto; }
.display { font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 1.02; letter-spacing: -.03em; }
h2, .h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3, .h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.2; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font: 600 .8rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
    color: var(--brand);
}
.eyebrow::before { content: ""; width: 36px; height: 1.5px; background: currentColor; }
.section--ink .eyebrow, .hero .eyebrow { color: var(--accent); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.section--ink .lead { color: rgba(255, 255, 255, .72); }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 820px; }
.sec-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.sec-head--split { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; }
.sec-head--split > div { display: grid; gap: 18px; max-width: 760px; }

/* ---------- Düğmeler ---------- */
.btn {
    --b: var(--brand);
    display: inline-flex; align-items: center; gap: 12px;
    padding: 16px 28px; border: 1.5px solid var(--b); border-radius: 999px;
    background: var(--b); color: #fff;
    font: 600 .95rem/1 var(--font-body); letter-spacing: .01em; white-space: nowrap;
    transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-2px); }
.btn .i { transition: transform .35s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--brand); }
.link-arrow .i { transition: transform .35s var(--ease); }
.link-arrow:hover .i { transform: translateX(5px); }

/* ---------- Üst şerit + menü ---------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .78); font-size: .84rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 42px; }
.topbar ul { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.topbar li { display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: #fff; }
.social { display: inline-flex; gap: 4px; }
.social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; transition: background .25s, color .25s; }
.social a:hover { background: var(--brand); color: #fff; }

.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 8px 30px -18px rgba(15, 27, 45, .35); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: var(--header-h); }
.brand img { height: 40px; width: auto; max-width: 220px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: clamp(12px, 1.7vw, 32px); }
.nav > li { position: relative; }
.nav > li > a { display: inline-flex; align-items: center; gap: 6px; padding: 12px 2px; font-weight: 500; font-size: .96rem; position: relative; white-space: nowrap; }
.nav > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1.5px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav > li:hover > a::after, .nav > li.is-current > a::after { transform: scaleX(1); }
.nav .has-sub > a .i { width: .8em; height: .8em; transition: transform .3s; }
.nav .has-sub:hover > a .i { transform: rotate(180deg); }
.nav .sub { position: absolute; top: 100%; left: -18px; min-width: 250px; padding: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.nav .sub a { display: block; padding: 10px 14px; border-radius: calc(var(--radius-sm) * .7); font-size: .94rem; }
.nav .sub a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; white-space: nowrap; }
@media (max-width: 1599px) { .header-phone span { display: none; } .header-phone { width: 46px; height: 46px; justify-content: center; border: 1.5px solid var(--line); border-radius: 50%; } }
.header-phone .i { color: var(--brand); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 50%; background: transparent; place-items: center; }
.nav-toggle .i { width: 22px; height: 22px; }

.drawer { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: 1fr; visibility: hidden; }
.drawer::before { content: ""; position: absolute; inset: 0; background: rgba(15, 27, 45, .55); opacity: 0; transition: opacity .35s; }
.drawer__panel { position: relative; margin-left: auto; width: min(420px, 100%); height: 100%; overflow-y: auto; background: var(--ink); color: #fff; padding: 24px var(--gutter) 40px; transform: translateX(100%); transition: transform .45s var(--ease); display: flex; flex-direction: column; gap: 28px; }
.drawer.is-open { visibility: visible; }
.drawer.is-open::before { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; }
.drawer__close { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .3); background: transparent; display: grid; place-items: center; }
.drawer nav a { display: block; padding: 14px 0; font: 400 1.7rem/1.2 var(--font-display); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.drawer nav a:hover { color: var(--accent); }
.drawer nav .sub-l a { font: 500 1rem var(--font-body); padding: 10px 0 10px 18px; opacity: .8; }
.drawer__contact { display: grid; gap: 10px; font-size: .95rem; margin-top: auto; }
.drawer__contact a { display: inline-flex; gap: 10px; align-items: center; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92vh, 860px); display: grid; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero__slide { position: absolute; inset: 0; display: grid; align-items: end; opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 1.2s; }
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.02); }
.hero__slide.is-active .hero__bg { animation: kenburns 14s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1.12); } }
.hero__shade { position: absolute; inset: 0; background:
    linear-gradient(90deg, color-mix(in srgb, var(--ink) 94%, transparent) 0%, color-mix(in srgb, var(--ink) 70%, transparent) 42%, transparent 82%),
    linear-gradient(0deg, color-mix(in srgb, var(--ink) 80%, transparent) 0%, transparent 45%); }
.hero__inner { position: relative; padding-block: clamp(120px, 16vh, 180px) clamp(96px, 14vh, 150px); display: grid; gap: 28px; max-width: 880px; }
.hero__slide.is-active .hero__inner > * { animation: rise .9s var(--ease) both; }
.hero__slide.is-active .hero__inner > :nth-child(2) { animation-delay: .12s; }
.hero__slide.is-active .hero__inner > :nth-child(3) { animation-delay: .24s; }
.hero__slide.is-active .hero__inner > :nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.hero .lead { color: rgba(255, 255, 255, .8); max-width: 56ch; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__ctrl { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(24px, 4vh, 44px); }
.hero__ctrl .wrap { display: flex; align-items: center; gap: 22px; }
.hero__count { font: 400 1rem var(--font-display); letter-spacing: .08em; min-width: 5.2em; }
.hero__bar { flex: 1; max-width: 340px; height: 2px; background: rgba(255, 255, 255, .25); overflow: hidden; border-radius: 2px; }
.hero__bar i { display: block; height: 100%; width: 0; background: #fff; }
.hero__bar.is-run i { animation: bar var(--dur, 6s) linear forwards; }
@keyframes bar { to { width: 100%; } }
.hero__arrows { display: flex; gap: 10px; margin-left: auto; }
.hero__arrows button { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); display: grid; place-items: center; transition: background .25s, color .25s; }
.hero__arrows button:hover { background: #fff; color: var(--ink); }

/* ---------- Hizmet kartları ---------- */
.card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card__media img { transform: scale(1.07); }
.card__num { position: absolute; top: 16px; left: 16px; padding: 8px 14px; border-radius: 999px; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); font: 400 .9rem var(--font-display); letter-spacing: .06em; }
.card__body { display: grid; gap: 12px; padding: 26px 26px 30px; flex: 1; align-content: start; }
.card__body p { color: var(--muted); font-size: .98rem; }
.card__more { margin-top: auto; padding-top: 8px; }
.card a.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__meta { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ---------- Hakkımızda ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.about__media { position: relative; padding: 0 0 36px 36px; }
.about__media::before { content: ""; position: absolute; left: 0; bottom: 0; width: 72%; height: 72%; background: var(--brand); border-radius: var(--radius); z-index: 0; }
.about__media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__text { display: grid; gap: 26px; }
.prose { color: color-mix(in srgb, var(--ink) 86%, var(--paper)); }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.6em; color: var(--ink); }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius-sm); }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose blockquote { border-left: 3px solid var(--brand); padding-left: 1.2em; font: italic 400 1.2em var(--font-display); }
.about__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 36px; }
.phone-chip { display: inline-flex; align-items: center; gap: 14px; }
.phone-chip__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); }
.phone-chip small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.2; }
.phone-chip strong { font-size: 1.1rem; }

/* ---------- Bant (CTA) ---------- */
.cta { position: relative; background: var(--brand); color: #fff; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; right: -8%; top: -60%; width: 560px; height: 560px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .25); box-shadow: 0 0 0 70px rgba(255, 255, 255, .05), 0 0 0 140px rgba(255, 255, 255, .04); z-index: -1; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 64px; }
.cta h2 { max-width: 20ch; font-size: clamp(2rem, 4.4vw, 3.8rem); }

/* ---------- Projeler (yatay kaydırma) ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 400px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 28px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-ctrl { display: flex; gap: 10px; }
.rail-ctrl button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; display: grid; place-items: center; transition: background .25s, color .25s, border-color .25s; }
.rail-ctrl button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.section--ink .rail-ctrl button:hover { background: #fff; color: var(--ink); border-color: #fff; }
.project { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); color: #fff; isolation: isolate; }
.project img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); z-index: -2; }
.project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 27, 45, .88) 0%, rgba(15, 27, 45, .15) 55%, transparent); z-index: -1; }
.project:hover img { transform: scale(1.08); }
.project__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; display: grid; gap: 10px; }
.chip { justify-self: start; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .45); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.project__go { position: absolute; top: 20px; right: 20px; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; transform: scale(.7) rotate(-30deg); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
.project:hover .project__go { transform: none; opacity: 1; }
.project a.stretch::after { content: ""; position: absolute; inset: 0; z-index: 2; }

/* ---------- Yorumlar ---------- */
.quote { display: grid; gap: 22px; align-content: space-between; padding: 34px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.quote__stars { display: flex; gap: 3px; color: var(--brand); }
.quote__stars .i { fill: currentColor; width: 1.05em; height: 1.05em; }
.quote p { font: 400 1.22rem/1.5 var(--font-display); letter-spacing: -.005em; }
.quote__who { display: flex; align-items: center; gap: 14px; }
.quote__who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quote__who strong { display: block; font-size: 1rem; line-height: 1.2; }
.quote__who span { font-size: .86rem; color: var(--muted); }

/* ---------- Sayaçlar ---------- */
.stats { position: relative; isolation: isolate; overflow: hidden; }
.stats__bg { position: absolute; inset: 0; z-index: -1; }
.stats__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.stats__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink), color-mix(in srgb, var(--ink) 86%, transparent)); }
.stat-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.stat { padding: 34px 28px 10px 0; border-right: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 8px; }
.stat:last-child { border-right: 0; }
.stat__num { font: 300 clamp(3rem, 6vw, 5.4rem)/1 var(--font-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat__num sup { font-size: .45em; vertical-align: top; margin-left: 4px; color: var(--accent); }
.stat__label { color: rgba(255, 255, 255, .7); font-size: .95rem; }

/* ---------- Haber kartı ---------- */
.post .card__media { aspect-ratio: 16 / 10; }
.post__date { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Markalar ---------- */
.logos { overflow: hidden; border-block: 1px solid var(--line); padding-block: 36px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos__track { display: flex; gap: clamp(48px, 7vw, 110px); width: max-content; animation: marquee 38s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logos img { height: 54px; width: auto; max-width: 180px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .3s, opacity .3s; }
.logos img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- İç sayfa başlığı ---------- */
.page-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; padding-block: clamp(64px, 10vw, 128px) clamp(48px, 7vw, 88px); }
.page-hero::before { content: ""; position: absolute; right: -6%; top: -40%; width: 520px; height: 520px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .16); box-shadow: 0 0 0 64px rgba(255, 255, 255, .035), 0 0 0 128px rgba(255, 255, 255, .03); z-index: -1; }
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.8rem); letter-spacing: -.03em; max-width: 20ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 26px; font-size: .86rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: rgba(255, 255, 255, .62); }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .5; }

/* ---------- Detay sayfası ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(36px, 6vw, 88px); align-items: start; }
.detail--full { grid-template-columns: minmax(0, 1fr); }
.detail__cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 40px; aspect-ratio: 16 / 9; background: var(--paper-2); }
.detail__cover img { width: 100%; height: 100%; object-fit: cover; }
.side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; }
.side__box { padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.side__box h3 { font-size: 1.3rem; margin-bottom: 14px; }
.side__list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; transition: color .25s, padding .3s var(--ease); }
.side__list li:last-child a { border-bottom: 0; }
.side__list a:hover, .side__list a.is-current { color: var(--brand); padding-left: 6px; }
.facts { display: grid; gap: 0; }
.facts div { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: .9rem; }
.facts dd { margin: 0; font-weight: 600; text-align: right; }

/* ---------- Ekip ---------- */
.person .card__media { aspect-ratio: 4 / 5; }
.person__role { color: var(--muted); font-size: .92rem; }
.person .social { margin-top: 6px; }
.person .social a { width: 36px; height: 36px; border: 1px solid var(--line); }

/* ---------- SSS ---------- */
.faq { display: grid; gap: 14px; max-width: 900px; margin-inline: auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; list-style: none; cursor: pointer; font: 400 1.25rem/1.3 var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--brand); transition: transform .4s var(--ease); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq__a { padding: 0 26px 26px; color: var(--muted); }

/* ---------- Galeri / video ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.gallery a { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--paper-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery a:hover img { transform: scale(1.08); }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: #000; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; background: rgba(8, 14, 24, .92); padding: 24px; }
.lightbox.is-open { display: grid; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 8px; object-fit: contain; }
.lightbox button { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; display: grid; place-items: center; }

/* ---------- Proje süzgeci ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filters button { padding: 11px 22px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; font-weight: 600; font-size: .92rem; transition: all .25s; }
.filters button:hover { border-color: var(--ink); }
.filters button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.grid > [hidden] { display: none; }

/* ---------- İletişim + formlar ---------- */
.contact { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 84px); align-items: start; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field textarea, .field select { width: 100%; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--card); font: inherit; color: inherit; transition: border-color .25s, box-shadow .25s; }
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.info-card { padding: 30px; background: var(--ink); color: #fff; border-radius: var(--radius); display: grid; gap: 26px; }
.info-card li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.info-card .ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: color-mix(in srgb, var(--brand) 50%, #fff); }
.info-card small { display: block; color: rgba(255, 255, 255, .6); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.info-card a:hover { text-decoration: underline; }
.map { margin-top: clamp(40px, 6vw, 72px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 420px; border: 0; }

/* ---------- Sayfalama, bildirim ---------- */
.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 56px; }
.pager a { display: grid; place-items: center; min-width: 46px; height: 46px; padding-inline: 14px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; }
.pager a:hover { border-color: var(--ink); }
.pager a.is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.toast { position: fixed; z-index: 300; right: 20px; top: 20px; max-width: min(92vw, 420px); padding: 18px 22px; border-radius: var(--radius-sm); background: var(--ink); color: #fff; box-shadow: var(--shadow); border-left: 4px solid #3ecf8e; transform: translateX(130%); transition: transform .5s var(--ease); }
.toast.is-error { border-left-color: #ef5350; }
.toast.is-on { transform: none; }
.to-top { position: fixed; z-index: 40; right: 22px; bottom: 22px; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .78); padding-top: clamp(64px, 8vw, 110px); }
.footer__lead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px 60px; padding-bottom: clamp(44px, 6vw, 80px); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer__lead h2 { color: #fff; max-width: 14ch; font-size: clamp(2.2rem, 5vw, 4.4rem); }
.footer__mail { font: 400 clamp(1.3rem, 2.6vw, 2.2rem) var(--font-display); color: #fff; border-bottom: 1.5px solid var(--brand); padding-bottom: 6px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 64px); padding-block: clamp(44px, 6vw, 80px); }
.footer__grid h4 { color: #fff; font: 600 .8rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 22px; }
.footer__grid li + li { margin-top: 10px; }
.footer__grid a:hover { color: #fff; }
.footer__brand img { height: 42px; width: auto; margin-bottom: 22px; }
.footer__brand p { max-width: 38ch; font-size: .96rem; }
.footer__contact li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.footer__contact .i { color: var(--accent); margin-top: 4px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-block: 26px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; }
.footer__bottom .social a:hover { background: var(--brand); }

/* ---------- Hareket: scroll ile belirme ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1399px) {
    .nav, .header-phone { display: none; }
    .nav-toggle { display: grid; }
    .detail { grid-template-columns: 1fr; }
    .side { position: static; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .about, .contact { grid-template-columns: 1fr; }
    .about__media { max-width: 520px; }
    .sec-head--split { grid-template-columns: 1fr; }
    .topbar .social { display: none; }
    .stat { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); padding-right: 0; }
    .hero { min-height: 86vh; }
    .hero__arrows button { width: 44px; height: 44px; }
    .hero__bar { display: none; }
}
@media (max-width: 560px) {
    body { font-size: 16px; }
    .header-cta .btn { display: none; }
    .brand img { height: 34px; max-width: 170px; }
    .topbar li:nth-child(1) { display: none; }
    .form__row { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .btn { padding: 15px 24px; }
    .rail { grid-auto-columns: 84%; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* Hukuki sayfalar ve çerez onayı */
.legal { max-width: 820px; margin-inline: auto; }
.legal h2 { font-size: 1.25rem; margin: 2rem 0 .6rem; }
.legal p, .legal li { line-height: 1.75; }
.legal ul { padding-left: 1.2rem; }
.legal__note { margin-top: 2.5rem; color: var(--muted, #6b7587); font-size: .9rem; }
.footer__legal { font-size: .9rem; }
.footer__legal a { color: inherit; opacity: .85; }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 560px; margin-inline: auto; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: space-between; padding: 14px 18px; border-radius: var(--radius-sm, 12px); background: var(--ink, #0F1B2D); color: #fff; box-shadow: 0 12px 40px rgba(0,0,0,.28); }
.consent p { margin: 0; font-size: .92rem; }
.consent a { color: inherit; text-decoration: underline; }
.consent__btns { display: flex; gap: 8px; }
.consent .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }

/* Sektör sayfaları: fiyat kartı, neden biz, form seçim kutusu */
.form select { width: 100%; padding: 14px 16px; border: 1px solid var(--line, #e4e7ee); border-radius: var(--radius-sm, 12px); background: var(--card, #fff); font: inherit; color: inherit; }
.price { padding: 28px; border: 1px solid var(--line, #e4e7ee); border-radius: var(--radius, 18px); background: var(--card, #fff); display: grid; gap: 12px; align-content: start; }
.price__amount { font-size: 1.9rem; font-weight: 700; color: var(--brand); margin: 0; }
.why__item { padding: 26px; border: 1px solid var(--line, #e4e7ee); border-radius: var(--radius, 18px); background: var(--card, #fff); }
.why__no { display: inline-block; font-family: var(--serif, inherit); font-size: 1.6rem; color: var(--brand); margin-bottom: 8px; }
.grid--4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }

/* Sektör görünüm varyantları (includes/theme.php: display, hero) */
[data-display="sans"] .display, [data-display="sans"] h1, [data-display="sans"] h2, [data-display="sans"] h3 { font-family: var(--font-body); font-weight: 700; letter-spacing: -.025em; line-height: 1.12; }
[data-display="sans"] .display { letter-spacing: -.035em; }
.hero-center .hero__slide { align-items: center; }
.hero-center .hero__inner { margin-inline: auto; justify-items: center; text-align: center; max-width: 960px; }
.hero-center .hero__btns { justify-content: center; }
.hero-center .hero__shade { background: linear-gradient(0deg, color-mix(in srgb, var(--ink) 82%, transparent) 0%, color-mix(in srgb, var(--ink) 55%, transparent) 55%, color-mix(in srgb, var(--ink) 40%, transparent) 100%); }
.hero-split .hero__shade { background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 38%, color-mix(in srgb, var(--ink) 55%, transparent) 62%, transparent 88%); }
.hero-split .hero__inner { max-width: 620px; }
.hero-split .hero__bg { background-position: right center; }
@media (max-width: 760px) { .hero-split .hero__shade { background: linear-gradient(0deg, var(--ink) 0%, color-mix(in srgb, var(--ink) 70%, transparent) 60%, transparent 100%); } }
