/* =========================================================
   Defne Özel Eğitim ve Rehabilitasyon Merkezi
   Tasarım sistemi + bileşenler
   ========================================================= */

:root {
  /* Marka renkleri (logodan) */
  --green-950: #12290f;
  --green-900: #183516;
  --green-800: #234a20;
  --green-700: #2c5e28;
  --green-600: #377331;
  --green-500: #4a8f43;
  --green-300: #a9d3a3;
  --green-100: #e6f1e1;
  --green-50:  #f3f8ef;
  --gray-brand: #71716f;

  --amber-600: #c2680a;
  --amber-500: #f0a020;
  --amber-100: #fff1d6;

  --ink: #1b2a1a;
  --muted: #475646;
  --line: #dfe8da;
  --bg: #fdfcf8;
  --surface: #ffffff;
  --surface-2: #f6f9f2;

  --focus: #0b57d0;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 2px 8px rgba(24, 53, 22, .06);
  --shadow: 0 10px 30px -8px rgba(24, 53, 22, .18);
  --shadow-lg: 0 30px 60px -20px rgba(24, 53, 22, .35);

  --font-head: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;

  --header-h: 76px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}


/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; margin: 0 0 .5em; color: var(--ink); letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--green-700); }
button { font: inherit; cursor: pointer; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 1000; background: var(--green-900); color: #fff;
  padding: .75rem 1.25rem; border-radius: 0 0 12px 12px; text-decoration: none; font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 0; }

.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .7rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 800; font-size: 1rem; text-decoration: none; line-height: 1.2; text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 56px; padding: .9rem 1.8rem; font-size: 1.05rem; }
.btn-sm { min-height: 40px; padding: .4rem 1rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--green-600); color: #fff; box-shadow: 0 8px 20px -6px rgba(55, 115, 49, .55); }
.btn-primary:hover { background: var(--green-700); box-shadow: 0 14px 28px -8px rgba(55, 115, 49, .6); color: #fff; }
.btn-soft { background: var(--green-100); color: var(--green-800); }
.btn-soft:hover { background: #d7e9d0; }
.btn-light { background: #fff; color: var(--green-800); }
.btn-light:hover { background: var(--amber-100); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--surface-2); }
html[data-contrast="high"] .btn { border-color: #000; }
html[data-contrast="high"] .btn-soft, html[data-contrast="high"] .btn-light { background: #fff; color: #000; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(253, 252, 248, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -12px rgba(24, 53, 22, .25); }
html[data-contrast="high"] .site-header { background: #fff; border-bottom: 2px solid #000; }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 1.5rem; }
.brand { display: block; flex: none; }
.brand img { height: 42px; width: auto; filter: brightness(0) invert(37%) sepia(28%) saturate(1131%) hue-rotate(75deg) brightness(91%) contrast(89%); }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 1.5rem; }
.main-nav ul { display: flex; gap: .25rem; }
.main-nav ul a {
  display: block; padding: .55rem .9rem; border-radius: 999px; text-decoration: none;
  color: var(--ink); font-weight: 700; font-size: .98rem; transition: background .2s, color .2s;
}
.main-nav ul a:hover { background: var(--green-100); color: var(--green-800); }
.main-nav ul a.active { background: var(--green-600); color: #fff; }
html[data-contrast="high"] .main-nav ul a.active { background: #000; }
.nav-cta { min-height: 44px; padding: .5rem 1.15rem; }

.header-tools { display: flex; gap: .5rem; align-items: center; }
.icon-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface);
  display: grid; place-items: center; color: var(--green-700); transition: all .2s; padding: 0;
}
.icon-btn:hover { border-color: var(--green-600); background: var(--green-50); }
.icon-btn[aria-expanded="true"] { background: var(--green-600); color: #fff; border-color: var(--green-600); }
.icon-btn .ico { width: 24px; height: 24px; }
.menu-btn { display: none; }
.burger { width: 22px; height: 16px; position: relative; display: block; }
.burger i { position: absolute; left: 0; width: 100%; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.burger i:nth-child(1) { top: 0; } .burger i:nth-child(2) { top: 6.75px; } .burger i:nth-child(3) { top: 13.5px; }
.menu-btn[aria-expanded="true"] .burger i:nth-child(1) { top: 6.75px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .burger i:nth-child(3) { top: 6.75px; transform: rotate(-45deg); }


/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(1rem, 2vw, 1.5rem) 0 clamp(3rem, 6vw, 6rem); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); }
.blob-1 { width: 620px; height: 620px; right: -160px; top: -140px; background: radial-gradient(circle at 30% 30%, #cfe6c8, #e8f3e3 60%, transparent 70%); }
.blob-2 { width: 380px; height: 380px; left: -120px; bottom: -80px; background: radial-gradient(circle at 60% 40%, #ffe6b8, #fff3da 60%, transparent 70%); }
.dots { position: absolute; right: 4%; bottom: 6%; width: 140px; height: 140px; background-image: radial-gradient(var(--green-300) 2px, transparent 2.5px); background-size: 18px 18px; opacity: .8; }
html[data-contrast="high"] .hero-bg { display: none; }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); font-weight: 700; font-size: .9rem; color: var(--green-800); box-shadow: var(--shadow-sm); margin-bottom: 1.25rem;
}
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--green-500); position: relative; }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--green-500); opacity: 0; animation: ping 2s infinite; }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); font-weight: 800; letter-spacing: -.01em; margin-bottom: 1.2rem; color: var(--green-950); }
html[data-contrast="high"] .hero h1 { color: #000; }
.hl { position: relative; color: var(--green-600); white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .02em; height: .32em; z-index: -1; border-radius: 99px;
  background: var(--amber-500); opacity: .45; transform-origin: left; animation: grow 1s .5s var(--ease) both;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 36em; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.2rem; }
.hero-actions .btn-lg { padding-inline: 1.5rem; }

.trust { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; padding-top: 1.5rem; border-top: 1px dashed var(--green-300); }
.trust li { display: grid; line-height: 1.25; }
.trust strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--green-700); }
.trust span { font-size: .9rem; color: var(--muted); font-weight: 600; }

.hero-art { position: relative; max-width: 500px; margin-inline: auto; width: 100%; }
.frame { margin: 0; overflow: hidden; position: relative; display: flex; justify-content: center; align-items: center; }
.frame img { width: 100%; max-width: 400px; height: auto; display: block; transition: transform .8s var(--ease); }
.frame:hover img { transform: scale(1.05); }

.float-card {
  position: absolute; display: flex; align-items: center; gap: .75rem; padding: .7rem 1.1rem .7rem .7rem; border-radius: 18px;
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); box-shadow: var(--shadow); line-height: 1.2; border: 1px solid var(--line); z-index: 2;
}
.float-card div { display: grid; }
.float-card strong { font-family: var(--font-head); font-size: 1.05rem; }
.float-card span:not(.fc-ico) { font-size: .82rem; color: var(--muted); font-weight: 600; }
.fc-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--green-600); color: #fff; display: grid; place-items: center; }
.fc-ico-amber { background: var(--amber-500); color: #3a2300; }
.fc-1 { left: -1.5rem; bottom: -2%; animation: floaty 6s .5s ease-in-out infinite; }
.fc-2 { right: -.5rem; top: 4%; animation: floaty 7s 1.5s ease-in-out infinite; }

/* ---------- Bölümler ---------- */
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; position: relative; }
.kicker { display: inline-block; font-weight: 800; font-size: .88rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-600); margin-bottom: .6rem; }
.kicker::before { content: ""; display: inline-block; width: 28px; height: 3px; border-radius: 2px; background: var(--amber-500); margin-right: .6rem; vertical-align: middle; }
.kicker-light { color: #cfe6c8; }
html[data-contrast="high"] .kicker { color: #000; }
.section-head { max-width: 760px; margin: 0 auto clamp(2rem, 5vw, 3.5rem); text-align: center; }
.section-head h2, .about-copy h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); font-weight: 800; letter-spacing: -.005em; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* Hakkımızda */
.about { background: var(--surface-2); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-media { position: relative; padding: 0 0 3rem 0; max-width: 520px; margin-inline: auto; width: 100%; }
.about-photo { margin: 0; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); width: 100%; background: var(--green-100); border: 6px solid #fff; }
.about-photo img { width: 100%; height: auto; display: block; }
.about-badge { position: absolute; left: -.5rem; bottom: 1rem; width: 96px; height: 96px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); border: 1px solid var(--line); z-index: 2; }
.about-badge img { width: 64px; height: 64px; }
.about-copy p { color: var(--muted); font-size: 1.08rem; }
.values { display: grid; gap: 1rem; margin-top: 1.75rem; }
.values li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.2rem; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.values li:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.values h3 { font-size: 1.1rem; margin: 0 0 .15rem; }
.values p { margin: 0; font-size: .98rem; }
.v-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; flex: none; }
.v-ico .ico { width: 26px; height: 26px; }

/* Hizmetler */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (min-width: 1041px) {
  .service-card:last-child:nth-child(7) { grid-column: 2; }
}
.service-card {
  position: relative; padding: 2rem 1.75rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; overflow: hidden; isolation: isolate;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; background: var(--cs); opacity: 0; z-index: -1; transition: opacity .35s;
}
.service-card::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: var(--cs); z-index: -1; transition: transform .5s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--c); }
.service-card:hover::after { transform: scale(2.6); }
.s-ico { width: 64px; height: 64px; border-radius: 20px; background: var(--c); color: #fff; display: grid; place-items: center; margin-bottom: 1.25rem; box-shadow: 0 10px 20px -8px var(--c); transition: transform .4s var(--ease); }
.service-card:hover .s-ico { transform: rotate(-8deg) scale(1.08); }
.s-ico .ico { width: 32px; height: 32px; }
.service-card h3 { font-size: 1.3rem; }
.service-card p { color: var(--muted); margin: 0; }
html[data-contrast="high"] .service-card { border: 2px solid #000; }
html[data-contrast="high"] .s-ico { background: #000; box-shadow: none; }

.free-band {
  margin-top: clamp(2rem, 5vw, 3.5rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--radius-lg); color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--green-800), var(--green-600) 60%, var(--green-500));
}
.free-band::before, .free-band::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.free-band::before { width: 280px; height: 280px; right: -60px; top: -120px; }
.free-band::after { width: 180px; height: 180px; left: 38%; bottom: -110px; background: rgba(240, 160, 32, .25); }
.free-copy { max-width: 640px; position: relative; z-index: 1; }
.free-copy h3 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; }
.free-copy p { margin: 0; color: #e3f0df; font-size: 1.05rem; }
.free-band .btn { position: relative; z-index: 1; }
html[data-contrast="high"] .free-band { background: #000; }

.steps { margin-top: clamp(2.5rem, 5vw, 4rem); }
.steps-title { text-align: center; font-size: 1.5rem; margin-bottom: 1.5rem; }
.steps ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: s; position: relative; }
.steps li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; background: var(--surface); border: 1px dashed var(--green-300); border-radius: var(--radius); }
.steps .n { width: 44px; height: 44px; border-radius: 50%; background: var(--amber-500); color: #3a2300; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; display: grid; place-items: center; flex: none; }
html[data-contrast="high"] .steps .n { background: #000; color: #fff; }
.steps h4 { font-size: 1.1rem; margin: 0 0 .2rem; }
.steps p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Ekip */
.team { background: var(--surface-2); }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.5rem; }
.chip { min-height: 44px; padding: .5rem 1.2rem; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 700; transition: all .2s; }
.chip:hover { border-color: var(--green-600); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--green-600); border-color: var(--green-600); color: #fff; }
html[data-contrast="high"] .chip[aria-pressed="true"] { background: #000; border-color: #000; }

.team-group { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.team-group[hidden] { display: none; }

.pe-wrapper { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; align-items: flex-start; }
.pe-wrapper .team-group { margin-bottom: 0; flex: 1 1 200px; }
.pe-wrapper:not(:last-child) { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.group-title { display: flex; align-items: center; justify-content: center; gap: 1.25rem; font-size: clamp(1.15rem, 2.4vw, 1.5rem); margin-bottom: 1.75rem; color: var(--green-800); text-align: center; }
.group-title::before, .group-title::after { content: ""; flex: 1; max-width: 220px; height: 2px; background: linear-gradient(90deg, transparent, var(--green-300)); }
.group-title::after { background: linear-gradient(270deg, transparent, var(--green-300)); }
html[data-contrast="high"] .group-title { color: #000; }
.group-title span { padding: .35rem 1.1rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.group-title span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--amber-500); margin-right: .6rem; }

.member-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 250px)); justify-content: center; gap: 1.4rem; }
.team-group-founders .member-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 290px)); }
.member figure { margin: 0; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; height: 100%; }
.member:hover figure { transform: translateY(-6px); box-shadow: var(--shadow); }
.m-photo { aspect-ratio: 3 / 4; overflow: hidden; background: var(--green-100); position: relative; }
.m-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transition: transform .7s var(--ease); }
.m-photo img.pos-low { object-position: 50% 70%; }
.member:hover .m-photo img { transform: scale(1.06); }
.m-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, rgba(24, 53, 22, .12)); pointer-events: none; }
.member figcaption { padding: 1rem 1.1rem 1.2rem; border-top: 4px solid var(--green-600); }
.member h4 { margin: 0 0 .15rem; font-size: 1.1rem; font-weight: 500; line-height: 1.25; }
.member h4 b { font-weight: 800; display: block; color: var(--green-800); }
html[data-contrast="high"] .member h4 b { color: #000; }
.member figcaption p { margin: 0; font-size: .9rem; color: var(--muted); font-weight: 700; }
html[data-contrast="high"] .member figure { border: 2px solid #000; }

/* İletişim */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "cards form" "map form"; gap: clamp(1.25rem, 3vw, 2.5rem); align-items: stretch; }
.contact-cards { grid-area: cards; }
.contact-form { grid-area: form; align-self: start; }
.map { grid-area: map; }
.contact-cards { display: grid; gap: 1rem; }
.c-card { display: flex; align-items: center; gap: 1.1rem; padding: 1.2rem 1.4rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s, border-color .2s; }
.c-card:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: var(--green-600); }
.c-card span:last-child { display: grid; line-height: 1.3; }
.c-card small { color: var(--muted); font-weight: 700; font-size: .85rem; }
.c-card strong { font-family: var(--font-head); font-size: 1.2rem; }
.c-ico { width: 56px; height: 56px; border-radius: 16px; background: var(--green-600); color: #fff; display: grid; place-items: center; flex: none; }
.c-ico .ico { width: 26px; height: 26px; }
.c-wa { background: #1e8e4f; }
.c-ig { background: linear-gradient(135deg, #c13584, #e1306c 50%, #f77737); }
.c-map { background: var(--amber-600); }
html[data-contrast="high"] .c-ico { background: #000 !important; }
html[data-contrast="high"] .c-card { border: 2px solid #000; }

.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.25rem); box-shadow: var(--shadow); }
.contact-form h3 { font-size: 1.5rem; margin-bottom: .2rem; }
.form-note { color: var(--muted); font-size: .95rem; margin-bottom: 1.25rem; }
.field { margin-bottom: 1.1rem; display: grid; gap: .4rem; }
.field label { font-weight: 800; font-size: .95rem; }
.opt { font-weight: 600; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface-2); border: 2px solid var(--line); border-radius: 14px;
  padding: .85rem 1rem; min-height: 52px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-600); background: #fff; box-shadow: 0 0 0 4px rgba(55, 115, 49, .18); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.err { color: #b3261e; font-weight: 700; font-size: .9rem; min-height: 0; }
html[data-contrast="high"] .err { color: #8a0000; }

.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 280px; background: var(--green-100); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Footer */
.site-footer { background: var(--green-950); color: #d3e3cf; padding-top: clamp(2.5rem, 6vw, 4rem); position: relative; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--green-500), var(--amber-500), var(--green-500)); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.f-brand img { width: 320px; max-width: 100%; height: auto; margin-left: -.5rem; }
.f-brand p { color: #b6cdb1; margin-top: .5rem; }
.f-socials { display: flex; gap: 1rem; margin-top: 1rem; margin-bottom: 1rem; }
.f-socials a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; transition: background .2s, transform .2s; }
.f-socials a:hover { background: var(--green-600); transform: translateY(-2px); }
.f-socials .ico { width: 22px; height: 22px; }
.site-footer h2 { font-size: 1.05rem; color: #fff; margin-bottom: 1rem; letter-spacing: .02em; }
.site-footer ul { display: grid; gap: .55rem; }
.site-footer a { color: #d3e3cf; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; padding: 1.25rem 0 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .92rem; color: #a9c2a4; }
.footer-bottom p { margin: 0; }
html[data-contrast="high"] .site-footer { background: #000; color: #fff; }

/* Mobil çubuk */
.mobile-bar { display: none; }

/* ---------- Animasyon ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 80%, 100% { transform: scale(1.8); opacity: 0; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pop { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .steps ol { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .brand img { height: 32px; }
  .menu-btn { display: grid; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; flex-direction: column; align-items: stretch; gap: 1rem;
    background: var(--bg); padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -20px rgba(24, 53, 22, .3); max-height: calc(100dvh - var(--header-h)); overflow: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .3s var(--ease), opacity .25s, visibility 0s .3s;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; transition: transform .3s var(--ease), opacity .25s; }
  .main-nav ul { flex-direction: column; gap: .25rem; }
  .main-nav ul a { padding: .95rem 1.1rem; font-size: 1.1rem; border-radius: 14px; }
  .nav-cta { min-height: 52px; }
  .header-tools { margin-left: auto; }

  .hero { padding: 1.5rem 0 3rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { 
    position: absolute; inset: 0; max-width: none; width: 100%; height: 100%; z-index: -1; opacity: 0.08; pointer-events: none;
  }
  .hero-art .frame { width: 100%; height: 100%; border-radius: 0; border: none; box-shadow: none; background: transparent; }
  .hero-art .frame img { max-width: 100%; height: 100%; object-fit: contain; object-position: center; margin: 0 auto; }
  .hero-art .float-card { display: none; }
  .fc-1 { left: -.5rem; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; grid-template-areas: "cards" "form" "map"; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
  .map { aspect-ratio: 4 / 3; min-height: 0; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 2rem); }
  body { padding-bottom: 76px; }
  .hero-actions .btn { width: 100%; }
  .blob-2 { width: 240px; height: 240px; left: -80px; bottom: -60px; }
  .dots { width: 80px; height: 80px; background-size: 14px 14px; right: 2%; bottom: 2%; }
  .trust { flex-wrap: nowrap; gap: .25rem; justify-content: space-between; padding-top: 1.25rem; }
  .trust li { flex: 1 1 0; justify-items: center; text-align: center; padding: 0 .15rem; min-width: 0; }
  .trust strong { font-size: 1.1rem; margin-bottom: 2px; line-height: 1; }
  .trust span { font-size: .7rem; line-height: 1.15; display: block; word-wrap: break-word; }
  .service-grid { grid-template-columns: 1fr; }
  .member-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
  .member-grid .member:last-child:nth-child(odd) { grid-column: 1 / -1; width: calc(50% - .45rem); justify-self: center; }
  .team-group-founders .member-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .member figcaption { padding: .8rem .8rem 1rem; }
  .member h4 { font-size: 1rem; }
  .chips { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding: .25rem .1rem .75rem; margin-inline: -1rem; padding-inline: 1rem; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .chip { white-space: nowrap; scroll-snap-align: start; }
  .float-card { padding: .5rem .8rem .5rem .5rem; }
  .fc-ico { width: 32px; height: 32px; }
  .float-card strong { font-size: .92rem; }
  .float-card span:not(.fc-ico) { font-size: .72rem; }
  .fc-1 { left: -.25rem; bottom: -2%; } .fc-2 { right: -.25rem; top: 2%; }
  .free-band { text-align: left; }
  .free-band .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -12px rgba(24, 53, 22, .3);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; border-radius: 999px; font-weight: 800; text-decoration: none; }
  .mb-call { background: var(--green-600); color: #fff; }
  .mb-wa { background: #fff; color: #17653a; border: 2px solid #1e8e4f; }
  html[data-contrast="high"] .mobile-bar { background: #fff; border-top: 2px solid #000; }
  html[data-contrast="high"] .mb-call { background: #000; }
  html[data-contrast="high"] .mb-wa { border-color: #000; color: #000; }
}

@media (max-width: 380px) {
  .hl { white-space: normal; }
  .brand img { height: 38px; }
}

@media print {
  .site-header, .mobile-bar, .map, .contact-form { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
