:root {
  --green: #74ab00;
  --green-dark: #4d7300;
  --green-deep: #2f4600;
  --ink: #1d2318;
  --text: #3d4437;
  --muted: #5f6659;
  --line: #e3e7dc;
  --bg: #ffffff;
  --bg-soft: #f5f7f1;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 30, 10, .06), 0 8px 24px rgba(20, 30, 10, .07);
  --max: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Oswald", "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 7rem; -webkit-text-size-adjust: 100%; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

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

h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; font-weight: 600; letter-spacing: .01em; margin: 0 0 .75rem; }
h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

a { color: var(--green-dark); text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }

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

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1.5rem; padding-top: .6rem; padding-bottom: .6rem; }
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { width: 196px; height: auto; }

.nav { width: 100%; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.nav::-webkit-scrollbar { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; white-space: nowrap; }
.nav a {
  display: block; padding: .45rem .7rem; border-radius: 8px;
  font-weight: 500; font-size: .95rem; color: var(--ink); text-decoration: none;
}
.nav a:hover { background: var(--bg-soft); color: var(--green-dark); }
.nav .nav-cta { background: var(--green-dark); color: #fff; }
.nav .nav-cta:hover { background: var(--green-deep); color: #fff; }

@media (min-width: 900px) {
  .nav { width: auto; margin: 0; padding: 0; overflow: visible; }
  .brand img { width: 224px; }
}

.hero {
  position: relative; color: #fff; isolation: isolate;
  background: #1c2410 url("kas-muhendislik-banner.png") center 70% / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(16, 22, 8, .9) 0%, rgba(16, 22, 8, .72) 55%, rgba(16, 22, 8, .35) 100%);
}
.hero-inner { padding-top: clamp(4rem, 10vw, 8rem); padding-bottom: clamp(4rem, 10vw, 8rem); max-width: 760px; margin-left: 0; }
.hero .eyebrow { color: #c8eb7a; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 1.4rem + 4vw, 3.6rem); margin-bottom: 1rem; }
.hero p { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: #eef2e6; max-width: 40rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-dark); margin-bottom: .6rem; }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.3rem; border-radius: 10px; border: 2px solid transparent;
  font-weight: 600; text-decoration: none; line-height: 1.2;
}
.btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }
.btn-primary { background: var(--green); color: #14200a; }
.btn-primary:hover { background: #86c20a; color: #14200a; }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-dark { background: var(--green-dark); color: #fff; }
.btn-dark:hover { background: var(--green-deep); color: #fff; }
.btn-outline { border-color: var(--green-dark); color: var(--green-dark); }
.btn-outline:hover { background: var(--bg-soft); }

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.about-grid { display: grid; gap: 2rem; }
.about-text p { font-size: 1.08rem; }
.fields { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.25rem 0 0; }
.fields li { background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .92rem; padding: .35rem .85rem; border-radius: 999px; }

.cards { display: grid; gap: 1.25rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.card h3 { display: flex; align-items: center; gap: .6rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.icon { width: 2.5rem; height: 2.5rem; border-radius: 10px; background: #eef5df; color: var(--green-dark); display: inline-grid; place-items: center; flex-shrink: 0; }
.icon svg { width: 1.35rem; height: 1.35rem; }

@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1.3fr 1fr; align-items: start; gap: 3rem; }
  .cards-2 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
}

.scope-list {
  list-style: none; margin: 0 0 3.5rem; padding: 0;
  display: grid; gap: .6rem; grid-template-columns: 1fr;
}
@media (min-width: 560px) { .scope-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .scope-list { grid-template-columns: repeat(3, 1fr); } }
.scope-list li {
  display: flex; align-items: flex-start; gap: .65rem;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: .8rem 1rem; color: var(--ink); font-weight: 500;
}
.scope-list li::before {
  content: ""; flex-shrink: 0; width: .55rem; height: .55rem; margin-top: .55rem;
  border-radius: 2px; background: var(--green); transform: rotate(45deg);
}
.scope-list small { display: block; color: var(--muted); font-weight: 400; font-size: .85rem; }

.feature { display: grid; gap: 1.25rem; align-content: start; }
.feature figure { margin: 0; border-radius: 10px; overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line); }
.feature figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #fff; }
.feature p { font-size: .98rem; }

.policy ul { padding-left: 1.15rem; margin: 0; }
.policy li { margin-bottom: .4rem; }
.policy li::marker { color: var(--green-dark); }

.contact-grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-list .value { font-size: 1.08rem; color: var(--ink); font-weight: 600; }
.contact-list a.value { color: var(--green-dark); text-decoration: none; }
.contact-list a.value:hover { text-decoration: underline; }
.map-card { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; background: var(--green-deep); color: #e9f1da; border-color: var(--green-deep); }
.map-card h3 { color: #fff; }
.map-card .btn { align-self: flex-start; }

.site-footer { background: #151a10; color: #c9cfbf; padding: 2.5rem 0; font-size: .92rem; }
.footer-inner { display: grid; gap: 1rem; }
.site-footer strong { color: #fff; }
.site-footer a { color: #c8eb7a; }
.site-footer p { margin: 0; }
@media (min-width: 768px) { .footer-inner { grid-template-columns: 1fr auto; align-items: end; } }
address { font-style: normal; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
