/* Ortaklar Çatı
   Yön: "Çatı katman katman kurulur." Soğuk kar beyazı ve arduaz tonları; logodan gelen kırmızı yalnızca
   eylem ve kiremit için. Başlıklar dar Saira Condensed (logodaki köşeli yazı), metin Saira.
   Tek cesur öğe: ana sayfadaki çatı kesiti. Hareket: yalnızca girişte bir kez. */

/* Saira ve Saira Condensed (SIL Open Font License 1.1), Google Fonts'tan indirilip kendi sunucumuzda sunulur. */
/* Saira — latin-ext */
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/saira-latin-ext-9d821c.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Saira — latin */
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/saira-latin-8eed14.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;
}
/* Saira — latin-ext */
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/saira-latin-ext-9d821c.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Saira — latin */
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/saira-latin-8eed14.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;
}
/* Saira — latin-ext */
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/saira-latin-ext-9d821c.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Saira — latin */
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/saira-latin-8eed14.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;
}
/* Saira — latin-ext */
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/saira-latin-ext-9d821c.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Saira — latin */
@font-face {
  font-family: 'Saira';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/saira-latin-8eed14.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;
}
/* Saira Condensed — latin-ext */
@font-face {
  font-family: 'Saira Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/saira-condensed-latin-ext-e096cf.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Saira Condensed — latin */
@font-face {
  font-family: 'Saira Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/saira-condensed-latin-abe7cf.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;
}
/* Saira Condensed — latin-ext */
@font-face {
  font-family: 'Saira Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/saira-condensed-latin-ext-49b86b.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Saira Condensed — latin */
@font-face {
  font-family: 'Saira Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/saira-condensed-latin-799a15.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 {
  --snow: #f3f4f2;
  --white: #ffffff;
  --ink: #15191c;
  --ink-2: #33393d;
  --steel: #5d676d;
  --line: #d6dadb;
  --slate: #1f262a;
  --slate-2: #2a3237;
  --slate-line: rgba(255, 255, 255, .12);
  --on-slate: #eef1f2;
  --on-slate-muted: #a9b3b8;
  --red: #e3242b;
  --red-dark: #b81c22;
  --green: #187a41;
  --green-dark: #125f33;

  /* çizim renkleri */
  --tile: #c8322b;
  --tile-edge: #8f1f1a;
  --wood: #b58150;
  --wood-dark: #8a5c33;
  --insulation: #e7c36a;
  --membrane: #3a4247;
  --vapour: #8fb0bf;

  --radius: 4px;
  --radius-lg: 10px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 78px;
  --display: "Saira Condensed", "Saira", system-ui, sans-serif;
  --text: "Saira", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 24px 48px -28px rgba(21, 25, 28, .45);
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--snow);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .45em; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.005em; line-height: .98; }
h1 { font-size: clamp(2.9rem, 7.2vw, 5.8rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.25; }
.h3 { font-family: var(--text); font-size: 1.35rem; font-weight: 600; line-height: 1.25; margin-top: 1.8em; }
p { margin: 0 0 1em; }
ul, ol, dl, dd { margin: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }

.lead { max-width: 62ch; font-size: clamp(1.05rem, 1.7vw, 1.2rem); font-weight: 300; line-height: 1.6; color: var(--steel); }
.text-link { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.text-link:hover { color: var(--red); }

/* ---------- Bölümler ---------- */
.section { padding-block: clamp(72px, 10vw, 136px); }
.section--tight { padding-block: clamp(44px, 6vw, 72px); }
.section--white { background: var(--white); }
.section--slate { background: var(--slate); color: var(--on-slate); }
.section--slate h2 { color: var(--white); }
.section--slate .lead { color: var(--on-slate-muted); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { margin-bottom: .3em; }
.section-head .lead { margin: 0; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; }
.section-head--row h2 { margin: 0; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px;
  border: 2px solid transparent; border-radius: var(--radius);
  font: 600 1rem/1 var(--text);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dark); }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.btn--whatsapp { background: var(--green); color: var(--white); }
.btn--whatsapp:hover { background: var(--green-dark); }
.btn--block { width: 100%; }

/* ---------- Üst kısım ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 244, 242, .94);
  -webkit-backdrop-filter: saturate(1.3) blur(12px);
  backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { flex: none; }
.brand img { height: 58px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav ul { list-style: none; padding: 0; display: flex; gap: 2px; }
.site-nav ul a { display: block; padding: 10px 14px; font-weight: 500; font-size: 1rem; text-decoration: none; border-bottom: 2px solid transparent; }
.site-nav ul a:hover { color: var(--red); }
.site-nav ul a[aria-current="page"] { border-bottom-color: var(--red); }
.site-nav__cta { min-height: 46px; padding-inline: 22px; }
.nav-toggle { display: none; }

@media (max-width: 980px) {
  .brand img { height: 48px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; margin-right: -8px;
    border: 0; background: transparent; cursor: pointer; color: var(--ink);
  }
  .nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
    display: block; width: 24px; height: 2px; background: currentColor; position: relative;
    transition: transform .25s, background-color .25s;
  }
  .nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bar::before { top: -7px; }
  .nav-toggle__bar::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

  .site-header__inner { flex-wrap: wrap; height: auto; min-height: var(--header-h); }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .site-nav { width: 100%; padding-bottom: 12px; flex-wrap: wrap; }
  html:not(.js) .site-nav ul { flex-wrap: wrap; }

  .js .site-nav {
    display: none;
    position: fixed; inset: var(--header-h) 0 auto 0;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 8px var(--gutter) 24px;
    background: var(--snow); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav ul { flex-direction: column; gap: 0; }
  .js .site-nav ul a { padding: 14px 2px; font-family: var(--display); font-size: 1.6rem; font-weight: 600; border-bottom: 1px solid var(--line); }
  .js .site-nav ul a[aria-current="page"] { color: var(--red); border-bottom-color: var(--line); }
}

/* ---------- Giriş alanları ---------- */
/* Alt kenar, ortası yükselen bir çatı mahyası gibi kesilir. */
.hero, .page-hero {
  --roof-cut: clamp(36px, 6vw, 84px);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - var(--roof-cut)), 0 100%);
}

.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--slate); color: var(--white); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(21, 25, 28, .88) 0%, rgba(21, 25, 28, .62) 45%, rgba(21, 25, 28, .2) 100%),
    linear-gradient(180deg, rgba(21, 25, 28, 0) 55%, rgba(21, 25, 28, .55) 100%);
}
.hero__inner {
  display: grid; gap: 40px; align-items: end;
  min-height: min(90vh, 820px);
  padding-block: clamp(96px, 14vh, 150px) clamp(120px, 14vw, 190px);
}
@media (min-width: 1000px) { .hero__inner { grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; } }
.hero__place { margin-bottom: 18px; font-weight: 500; color: rgba(255, 255, 255, .78); display: flex; align-items: center; gap: 10px; }
.hero__place::before { content: ""; width: 10px; height: 10px; background: var(--red); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.hero h1 { max-width: 13ch; color: var(--white); }
.hero__text { max-width: 52ch; font-size: clamp(1.05rem, 1.9vw, 1.25rem); font-weight: 300; color: rgba(255, 255, 255, .88); }

/* Girişte tek seferlik sıralı beliriş */
.motion .hero--home .hero__place,
.motion .hero--home h1,
.motion .hero--home .hero__text,
.motion .hero--home .quick-quote { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.motion .hero--home h1 { animation-delay: .08s; }
.motion .hero--home .hero__text { animation-delay: .18s; }
.motion .hero--home .quick-quote { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.quick-quote {
  display: grid; gap: 12px;
  padding: 26px; border-radius: var(--radius-lg);
  background: var(--white); color: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.quick-quote__label { font-family: var(--display); font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.quick-quote select {
  width: 100%; min-height: 52px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--snow); color: var(--ink); font: inherit;
}
.quick-quote__call { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 4px; font-size: .95rem; color: var(--steel); text-decoration: none; }
.quick-quote__call svg { width: 18px; height: 18px; color: var(--red); }
.quick-quote__call strong { color: var(--ink); }
.quick-quote__call:hover strong { color: var(--red); }

.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(56px, 9vw, 110px) 0 clamp(96px, 12vw, 160px);
  background: var(--slate); color: var(--on-slate);
}
.page-hero h1 { max-width: 16ch; color: var(--white); }
.page-hero .lead { margin: 0; color: var(--on-slate-muted); }
.page-hero__media { position: absolute; inset: 0; z-index: -1; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.breadcrumb { margin-bottom: 20px; font-size: .92rem; color: var(--on-slate-muted); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb span { margin-inline: 8px; opacity: .6; }
.breadcrumb [aria-current] { margin: 0; opacity: 1; color: var(--on-slate); }

/* ---------- Hizmet listesi (ana sayfa) ---------- */
.svc-list { display: grid; gap: 48px; }
@media (min-width: 960px) { .svc-list { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; } }
.svc-list__media { display: none; }
@media (min-width: 960px) {
  .svc-list__media { display: block; position: sticky; top: calc(var(--header-h) + 32px); aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-lg); background: var(--slate); }
  .svc-list__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
  .svc-list__media img.is-swapping { opacity: .2; }
}
.svc-list__rows { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.svc-row {
  display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 18px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
}
@media (min-width: 960px) { .svc-row { grid-template-columns: minmax(0, 1fr); padding: 28px 0; } }
.svc-row__thumb { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); }
.svc-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) { .svc-row__thumb { display: none; } }
.svc-row__title {
  display: block; font-family: var(--display); font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.05;
  transition: color .2s;
}
.svc-row__summary { display: block; margin-top: 6px; color: var(--steel); }
.svc-row:hover .svc-row__title, .svc-row:focus-visible .svc-row__title, .svc-row.is-active .svc-row__title { color: var(--red); }
@media (min-width: 960px) {
  .svc-row { position: relative; padding-right: 48px; }
  .svc-row::after {
    content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
    border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg);
    opacity: .25; transition: opacity .2s, right .2s;
  }
  .svc-row:hover::after, .svc-row.is-active::after { opacity: 1; right: 2px; color: var(--red); }
}

/* ---------- Çatı katmanları ---------- */
.layers__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .layers__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; } }
.layers__figure { order: -1; }
@media (min-width: 1000px) { .layers__figure { order: 0; } }
.layer-list { list-style: none; padding: 0; margin-top: 32px; border-top: 1px solid var(--slate-line); }
.layer-list__item { border-bottom: 1px solid var(--slate-line); }
.layer-list__button {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 15px 0; border: 0; background: none; cursor: pointer;
  color: var(--on-slate); font: 500 1.08rem/1.3 var(--text); text-align: left;
}
.layer-list__button:hover { color: var(--white); }
.layer-list__item.is-active .layer-list__button { color: var(--white); font-weight: 600; }
.layer-list__swatch { flex: none; width: 26px; height: 14px; border-radius: 2px; }
.layer-list__swatch--kiremit { background: var(--tile); }
.layer-list__swatch--cita { background: repeating-linear-gradient(90deg, var(--wood) 0 6px, transparent 6px 10px); }
.layer-list__swatch--ortu { background: var(--membrane); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.layer-list__swatch--osb { background: var(--wood); }
.layer-list__swatch--yalitim { background: var(--insulation); }
.layer-list__swatch--mertek { background: var(--wood-dark); }
.layer-list__swatch--buhar { background: var(--vapour); }
.layer-list__body { padding: 0 0 18px 40px; color: var(--on-slate-muted); }
.layer-list__body p { margin-bottom: 8px; }
.layer-list__body a { color: var(--on-slate); font-weight: 600; text-decoration-color: var(--red); text-underline-offset: 4px; }
.js .layer-list__body { display: none; }
.js .layer-list__item.is-active .layer-list__body { display: block; }

.roof { width: 100%; height: auto; overflow: hidden; }
.js .roof__layer { cursor: pointer; }
.roof__layer { transition: opacity .3s; }
.roof.has-active .roof__layer:not(.is-active) { opacity: .38; }
.roof__tiles path, .roof__tiles rect { fill: var(--tile); stroke: var(--tile-edge); stroke-width: 1.5; }
.roof__battens rect { fill: var(--wood); stroke: var(--wood-dark); stroke-width: 1; }
.roof__membrane { fill: var(--membrane); stroke: rgba(255, 255, 255, .35); stroke-width: 1; }
.roof__deck { fill: var(--wood); stroke: var(--wood-dark); stroke-width: 1; }
.roof__insulation { fill: var(--insulation); }
.roof__fibres { fill: none; stroke: rgba(150, 110, 30, .45); stroke-width: 1.5; }
.roof__rafters rect { fill: var(--wood-dark); stroke: #5f3d1f; stroke-width: 1; }
.roof__vapour { fill: var(--vapour); }

/* ---------- Bolu iklimi ---------- */
.climate__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .climate__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; } }
.climate__media { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-lg); }
.climate__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 959px) { .climate__media { aspect-ratio: 3 / 2; } }
.climate__list { display: grid; margin-top: 28px; border-top: 1px solid var(--line); }
.climate__list > div { display: grid; gap: 4px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 600px) { .climate__list > div { grid-template-columns: 170px minmax(0, 1fr); } }
.climate__list dt { font-family: var(--display); font-size: 1.45rem; font-weight: 700; line-height: 1.15; }
.climate__list dd { color: var(--ink-2); }

/* ---------- Süreç ---------- */
.process { list-style: none; padding: 0; display: grid; gap: 36px; }
@media (min-width: 800px) { .process { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }
.process__step { position: relative; padding-top: 28px; border-top: 2px solid var(--ink); }
.process__num {
  display: block; margin-bottom: 14px;
  font-family: var(--display); font-size: 3.6rem; font-weight: 700; line-height: .9; color: var(--red);
}
.process__step h3 { font-family: var(--display); font-size: 1.7rem; font-weight: 700; margin-bottom: 8px; }
.process__step p { margin: 0; color: var(--steel); }

/* ---------- Projeler ---------- */
.project-mosaic, .project-grid { display: grid; gap: clamp(14px, 2vw, 24px); }
@media (min-width: 800px) {
  .project-mosaic { grid-template-columns: 3fr 2fr; grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .project-mosaic > .project:first-child { grid-row: span 2; aspect-ratio: auto; min-height: 520px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) { .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.project {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 3 / 2; border-radius: var(--radius-lg);
  background: var(--slate); color: var(--white); text-decoration: none;
}
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.project:hover img { transform: scale(1.04); }
.project__info { position: absolute; inset: auto 0 0; padding: 64px 24px 22px; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); }
.project__info h3 { margin: 0 0 2px; font-family: var(--display); font-size: 1.6rem; font-weight: 700; }
.project__info p { margin: 0; font-size: .92rem; color: rgba(255, 255, 255, .8); }
.badge {
  position: absolute; top: 14px; left: 14px;
  padding: 5px 10px; border-radius: 3px;
  background: rgba(21, 25, 28, .8); color: var(--white);
  font-size: .8rem; font-weight: 500;
}
.notice { margin: 0 0 28px; padding: 14px 18px; border-left: 4px solid var(--red); background: var(--white); color: var(--steel); }

/* ---------- SSS ---------- */
.faq__grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 80px; } }
.faq__head { align-self: start; }
@media (min-width: 960px) { .faq__head { position: sticky; top: calc(var(--header-h) + 32px); } }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-size: 1.15rem; font-weight: 600;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
              linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  transition: transform .25s;
}
.faq__item[open] summary::after { transform: rotate(45deg); color: var(--red); }
.faq__item summary:hover { color: var(--red); }
.faq__item p { max-width: 64ch; padding-bottom: 24px; margin: 0; color: var(--ink-2); }

/* ---------- Teklif şeridi ---------- */
.cta-band { position: relative; background: var(--red); color: var(--white); overflow: hidden; }
.cta-band::before {
  /* arka planda büyük bir mahya çizgisi */
  content: ""; position: absolute; right: -8%; top: 30%; width: 60vw; height: 60vw;
  border-top: 2px solid rgba(255, 255, 255, .18); border-left: 2px solid rgba(255, 255, 255, .18);
  transform: rotate(45deg); pointer-events: none;
}
.cta-band__inner { position: relative; display: grid; gap: 32px; padding-block: clamp(64px, 8vw, 104px); }
@media (min-width: 960px) { .cta-band__inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 64px; } }
.cta-band h2 { margin-bottom: 12px; color: var(--white); }
.cta-band p { max-width: 52ch; margin: 0; font-size: 1.1rem; color: rgba(255, 255, 255, .9); }
.cta-band__actions { display: grid; gap: 14px; justify-items: start; }
.cta-band .btn--primary { background: var(--white); color: var(--red); }
.cta-band .btn--primary:hover { background: var(--snow); }
.cta-band__phone, .cta-band__wa { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 500; }
.cta-band__phone { font-family: var(--display); font-size: 1.9rem; font-weight: 700; }
.cta-band__phone svg, .cta-band__wa svg { width: 22px; height: 22px; flex: none; }
.cta-band__phone:hover span, .cta-band__wa:hover span { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- İç sayfalar ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); background: var(--white); color: inherit; text-decoration: none; }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--slate); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { flex: 1; padding: 22px 24px 26px; }
.card__body h3 { margin-bottom: 6px; font-family: var(--display); font-size: 1.7rem; font-weight: 700; line-height: 1.05; transition: color .2s; }
.card:hover h3 { color: var(--red); }
.card__body p { margin: 0; color: var(--steel); }

.split { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .split--even { grid-template-columns: 1fr 1fr; align-items: center; }
}
.prose { max-width: 70ch; }
.prose p { color: var(--ink-2); }
.prose .lead { color: var(--ink); font-weight: 400; }
.checklist { display: grid; gap: 12px; margin-top: 20px; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.aside-card { position: sticky; top: calc(var(--header-h) + 24px); padding: 32px; border-radius: var(--radius-lg); background: var(--slate); color: var(--on-slate); }
.aside-card h3 { font-family: var(--display); font-size: 1.8rem; font-weight: 700; color: var(--white); }
.aside-card p { color: var(--on-slate-muted); }
.aside-card .btn { width: 100%; margin-top: 10px; }
.figure { overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--radius-lg); }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.tag-list a { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-weight: 500; text-decoration: none; }
.tag-list a:hover { border-color: var(--red); color: var(--red); }

/* ---------- Blog ---------- */
.topic-filter { margin-bottom: clamp(28px, 4vw, 44px); }
.topic-filter a[aria-current] { border-color: var(--slate); background: var(--slate); color: var(--white); }
.page-hero .lead a { color: var(--white); text-underline-offset: 3px; }
.post-meta { margin: 0 0 8px; font-size: .88rem; font-weight: 500; letter-spacing: .02em; color: var(--steel); }
.page-hero .post-meta { margin: 6px 0 0; font-size: .95rem; color: var(--on-slate-muted); }
.page-post .page-hero h1 { max-width: 22ch; font-size: clamp(2.3rem, 5.2vw, 4.2rem); }
.prose--article h2 { margin-top: 1.6em; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.prose--article h3 { margin-top: 1.4em; font-family: var(--text); font-size: 1.2rem; }
.prose--article ul, .prose--article ol { padding-left: 1.3em; color: var(--ink-2); }
.prose--article li { margin-bottom: .45em; }
.prose--article li::marker { color: var(--red); }
.prose--article strong { color: var(--ink); font-weight: 600; }
.prose--article a { color: var(--red-dark); text-underline-offset: 3px; }
.post-related { margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--line); font-weight: 500; }

.values { display: grid; gap: 32px; }
@media (min-width: 800px) { .values { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.value { padding-top: 24px; border-top: 2px solid var(--red); }
.value h3 { font-family: var(--display); font-size: 1.8rem; font-weight: 700; color: var(--white); }
.value p { margin: 0; color: var(--on-slate-muted); }

/* ---------- İletişim ---------- */
.contact-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.contact-item { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--radius-lg); background: var(--white); text-decoration: none; }
a.contact-item:hover strong { color: var(--red); }
.contact-item__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--snow); color: var(--red); }
.contact-item__icon svg { width: 20px; height: 20px; }
.contact-item small { display: block; font-size: .85rem; color: var(--steel); }
.contact-item strong { display: block; font-size: 1.05rem; font-weight: 600; overflow-wrap: anywhere; }
.map { margin-top: 20px; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); background: var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Form ---------- */
.form { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.form h2 { margin-bottom: 6px; }
.form > .lead { margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: 24px; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}
.field label { display: block; margin-bottom: 6px; font-size: .95rem; font-weight: 600; }
.field .opt { font-weight: 400; font-size: .88rem; color: var(--steel); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--snow); color: var(--ink); font: inherit; font-size: 1rem;
  transition: border-color .2s, background-color .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.field input[type="file"] { padding: 10px; background: var(--white); }
.field .hint { margin: 6px 0 0; font-size: .88rem; color: var(--steel); }
.field .error { margin: 6px 0 0; font-size: .9rem; font-weight: 500; color: var(--red-dark); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { margin-bottom: 22px; padding: 16px 18px; border-radius: var(--radius); font-weight: 500; }
.alert--success { border: 1px solid #bfe3ca; background: #e8f5ec; color: #1d5b31; }
.alert--error { border: 1px solid #f5c2c4; background: #fdecec; color: #8c1c20; }
.form .legal { display: block; margin-top: 12px; font-size: .85rem; color: var(--steel); }

/* ---------- Alt kısım ---------- */
.site-footer { padding-top: clamp(56px, 7vw, 96px); background: var(--slate); color: var(--on-slate-muted); font-size: .97rem; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer__brand img { width: auto; height: 76px; margin-bottom: 18px; }
.site-footer__brand p { max-width: 340px; }
.site-footer h2 { margin-bottom: 16px; font-family: var(--text); font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.4; color: var(--white); }
.site-footer ul { display: grid; gap: 9px; padding: 0; list-style: none; }
.site-footer a { color: var(--on-slate); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__contact li { display: flex; align-items: flex-start; gap: 10px; overflow-wrap: anywhere; }
.site-footer__contact svg { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--red); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.legal-text h2:first-child { margin-top: 0; }
.legal-text a { text-decoration-color: var(--red); text-underline-offset: 4px; }
.form .legal a { color: inherit; text-decoration-color: var(--red); text-underline-offset: 3px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; padding-block: 22px; border-top: 1px solid var(--slate-line); font-size: .88rem; }

/* ---------- Mobil hızlı iletişim ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(31, 38, 42, .97); box-shadow: 0 -6px 20px rgba(0, 0, 0, .18);
}
.mobile-cta .btn { min-height: 46px; padding-inline: 12px; font-size: .98rem; }
@media (min-width: 981px) { .mobile-cta { display: none; } }
@media (max-width: 980px) { body { padding-bottom: 72px; } }

/* ---------- Galeri ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 64px 16px; background: rgba(12, 14, 16, .95); }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1400px, 100%); max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lightbox button {
  position: absolute; display: grid; place-items: center;
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: var(--white);
  font-size: 1.7rem; line-height: 1; cursor: pointer;
}
.lightbox button:hover { background: rgba(255, 255, 255, .24); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-size: .9rem; color: rgba(255, 255, 255, .75); }

/* ---------- 404 ---------- */
.notfound { padding-block: clamp(80px, 14vw, 160px); text-align: center; }
.notfound__code { margin-bottom: 8px; font-family: var(--display); font-size: clamp(6rem, 18vw, 11rem); font-weight: 700; line-height: .9; color: var(--red); }
.notfound .lead { margin: 0 auto 28px; }

/* ---------- Hareket ----------
   .motion sınıfı yalnızca JS varsa ve ziyaretçi "hareketi azalt" demediyse eklenir;
   aksi halde her şey baştan görünür. Öğeler görünür alana girince .is-in alır. */
:root { --ease-out: cubic-bezier(.2, .7, .2, 1); }

.motion [data-anim="rise"] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .9s var(--ease-out); }
.motion [data-anim="rise"].is-in { opacity: 1; transform: none; }
.motion .cta-band__actions[data-anim="rise"] { transition-delay: .15s; }

.motion [data-anim="stagger"] > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .8s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.motion [data-anim="stagger"].is-in > * { opacity: 1; transform: none; }

/* Fotoğraf: alttan yukarı perde açılır, görüntü hafifçe yerine oturur */
.motion [data-anim="wipe"] { clip-path: inset(100% 0 0 0 round var(--radius-lg)); transition: clip-path 1.1s var(--ease-out); }
.motion [data-anim="wipe"] img { transform: scale(1.12); transition: transform 1.6s var(--ease-out); }
.motion [data-anim="wipe"].is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.motion [data-anim="wipe"].is-in img { transform: none; }

/* Süreç: adımların üstündeki kırmızı çizgi 1'den 4'e sırayla çizilir */
.process__step::before {
  content: ""; position: absolute; top: -2px; left: 0; width: 100%; height: 2px;
  background: var(--red); transform-origin: left center;
}
.motion .process__step::before { transform: scaleX(0); transition: transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 220ms + .25s); }
.motion .process.is-in .process__step::before { transform: scaleX(1); }

/* Çatı kesiti: katmanlar yapım sırasıyla yukarıdan yerine oturur */
.motion .roof:not(.is-in) .roof__layer { opacity: 0; transform: translateY(-70px); }
.motion .roof .roof__layer { transition: opacity .6s ease, transform .8s var(--ease-out); }
.motion .roof:not(.is-built) [data-layer="buhar"]   { transition-delay: .1s; }
.motion .roof:not(.is-built) [data-layer="mertek"]  { transition-delay: .35s; }
.motion .roof:not(.is-built) [data-layer="yalitim"] { transition-delay: .6s; }
.motion .roof:not(.is-built) [data-layer="osb"]     { transition-delay: .85s; }
.motion .roof:not(.is-built) [data-layer="ortu"]    { transition-delay: 1.1s; }
.motion .roof:not(.is-built) [data-layer="cita"]    { transition-delay: 1.35s; }
.motion .roof:not(.is-built) [data-layer="kiremit"] { transition-delay: 1.6s; }

/* Teklif şeridi: mahya çizgisi büyüyerek çizilir */
.motion .cta-band[data-anim="ridge"]::before { opacity: 0; transform: rotate(45deg) scale(.4); transition: opacity 1s ease, transform 1.4s var(--ease-out); }
.motion .cta-band[data-anim="ridge"].is-in::before { opacity: 1; transform: rotate(45deg) scale(1); }

/* Giriş fotoğrafı açılışta hafifçe uzaklaşır; iç sayfa başlıkları sırayla belirir */
.motion .hero__media img { animation: settle 2.6s var(--ease-out) both; }
@keyframes settle { from { transform: scale(1.1); } to { transform: none; } }
.motion .page-hero .breadcrumb,
.motion .page-hero h1,
.motion .page-hero .lead { animation: rise .9s var(--ease-out) both; }
.motion .page-hero h1 { animation-delay: .08s; }
.motion .page-hero .lead { animation-delay: .18s; }

/* SSS: cevap açılırken yumuşakça gelir */
.motion .faq__item[open] p { animation: rise .45s var(--ease-out) both; }

/* Üst menü kaydırınca incelir */
.site-header__inner { transition: height .3s var(--ease-out); }
.brand img { transition: height .3s var(--ease-out); }
.site-header { transition: box-shadow .3s ease, background-color .3s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(21, 25, 28, .45); background: rgba(243, 244, 242, .98); }
@media (min-width: 981px) {
  .site-header.is-scrolled .site-header__inner { height: 64px; }
  .site-header.is-scrolled .brand img { height: 46px; }
}

/* Butonlar: basıldığında hafifçe içe */
.btn:active { transform: translateY(1px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
