/* ===== Genel bölüm yapısı ===== */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-light { background: var(--offwhite); color: var(--text-dark); }
.section-light .eyebrow, .section-light .accent { color: var(--orange-ink); }
.section-dark { background: var(--night); color: #fff; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { font-size: 1.05rem; }
.section-light .section-head p { color: var(--gray-ink); }
.section-dark .section-head p { color: var(--gray); }
.section-dark .section-head strong { color: #fff; }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; }
.section-head--split > div:first-child { max-width: 640px; }

/* ===== Hizmetler ===== */
/* İki sütunlu bölüm başlığı: solda başlık, sağda açıklama + link */
.section-head--row {
  max-width: none; display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px 64px; align-items: end;
}
.section-head--row h2 { margin-bottom: 0; }
.section-head-aside p { margin-bottom: 14px; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; text-decoration: none; color: var(--text-dark);
}
.text-link .icon {
  width: 30px; height: 30px; padding: 7px; border-radius: 50%;
  background: var(--text-dark); color: #fff;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), background-color .25s, color .25s;
}
.text-link:hover { color: var(--orange-ink); }
.text-link:hover .icon { transform: rotate(-45deg); background: var(--orange); color: var(--night); }
@media (max-width: 860px) { .section-head--row { grid-template-columns: 1fr; } }

.group-title {
  display: flex; align-items: center; gap: 14px;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gray-ink); margin-bottom: 20px;
}
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line-light); }
.group-title--spaced { margin-top: 56px; }

/* Bento ızgara: 4 sütun; geniş kartlar 2 sütun kaplar */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bento-wide { grid-column: span 2; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.service-card {
  position: relative; overflow: hidden;
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 26px;
  background: #fff; color: var(--text-dark); text-align: left;
  border: 1px solid var(--line-light); border-radius: 20px;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .3s;
}
/* Üzerine gelince köşeden yayılan turuncu ışık */
.service-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at 100% 0%, rgba(255, 106, 0, .12), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(255, 106, 0, .55); box-shadow: 0 22px 44px -26px rgba(11, 13, 16, .45); }
.service-card:hover::before { opacity: 1; }

.svc-top { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 6px; }
.svc-num { font: 600 .8rem/1 ui-monospace, "Cascadia Code", Consolas, monospace; color: #B5B8BC; letter-spacing: .05em; }
.service-icon {
  width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--night); color: var(--orange); border-radius: 14px;
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.06); }
.service-title { font-size: 1.15rem; font-weight: 800; line-height: 1.3; letter-spacing: -.015em; }
.service-desc { flex: 1; font-size: .93rem; color: var(--gray-ink); }
.service-more { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; font-weight: 700; font-size: .88rem; color: var(--text-dark); }
.service-more .icon {
  width: 32px; height: 32px; padding: 8px; border-radius: 50%;
  background: var(--offwhite); color: var(--text-dark);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), background-color .25s, color .25s;
}
.service-card:hover .service-more .icon { transform: rotate(-45deg); background: var(--orange); color: var(--night); }

/* Geniş kartlar: solda metin, sağda görsel */
.bento-wide .service-card { display: grid; grid-template-columns: 1fr 1.05fr; gap: 24px; align-items: stretch; }
.svc-text { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.svc-visual {
  position: relative; display: grid; place-items: center;
  min-height: 190px; padding: 18px; border-radius: 14px; overflow: hidden;
  background: radial-gradient(240px circle at 80% 0%, rgba(255, 106, 0, .25), transparent 70%), var(--night);
}
.svc-visual .mock-browser { height: 150px; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.service-card:hover .svc-visual .mock-browser { transform: translateY(-4px) scale(1.02); }

/* Entegrasyon akışı: noktalar sistemler arasında akar */
.flow { width: 100%; display: flex; align-items: center; }
.flow-node {
  flex: none; padding: 14px 12px; min-width: 64px; text-align: center;
  font-size: .78rem; font-weight: 700; color: #fff;
  background: var(--charcoal); border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px;
}
.flow-core { background: var(--orange); border-color: var(--orange); color: var(--night); box-shadow: 0 0 0 6px rgba(255, 106, 0, .15); }
.flow-line { position: relative; flex: 1; height: 2px; margin: 0 6px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .25) 0 6px, transparent 6px 11px); }
.flow-line i {
  position: absolute; top: 50%; left: 0; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 10px var(--orange);
  animation: flow 2.2s ease-in-out infinite;
}
.flow-line:last-of-type i { animation-direction: reverse; animation-delay: .6s; }
@keyframes flow { 0% { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }

/* İkincil (yaratıcı) hizmetler: koyu ve kompakt */
.service-card--dark { padding: 22px 24px; background: var(--night); color: #fff; border-color: var(--night); }
.service-card--dark .service-icon { width: 42px; height: 42px; background: var(--charcoal); }
.service-card--dark .service-title { font-size: 1.05rem; }
.service-card--dark .service-desc { color: var(--gray); font-size: .9rem; }
.service-card--dark .svc-num { color: #4B5057; }
.service-card--dark .service-more { color: #fff; }
.service-card--dark .service-more .icon { background: var(--charcoal); color: #fff; }
.service-card--dark::before { background: radial-gradient(420px circle at 100% 0%, rgba(255, 106, 0, .22), transparent 60%); }

@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) {
  .bento, .service-grid { grid-template-columns: 1fr; }
  .bento-wide { grid-column: auto; }
  .bento-wide .service-card { display: flex; }
  .svc-visual { display: none; }
  .service-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { .flow-line i { animation: none; left: 50%; } }

/* Kademeli belirme: kartlar sayfa kaydırıldıkça birbiri ardına süzülür */
.js .bento.reveal, .js .service-grid.reveal { opacity: 1; transform: none; }
.js .bento.reveal > li, .js .service-grid.reveal > li {
  opacity: 0; transform: translateY(22px);
  transition: opacity .6s cubic-bezier(.2, .8, .2, 1), transform .6s cubic-bezier(.2, .8, .2, 1);
}
.js .bento.reveal.is-visible > li, .js .service-grid.reveal.is-visible > li { opacity: 1; transform: none; }
.js .reveal.is-visible > li:nth-child(1) { transition-delay: 0ms; }
.js .reveal.is-visible > li:nth-child(2) { transition-delay: 90ms; }
.js .reveal.is-visible > li:nth-child(3) { transition-delay: 180ms; }
.js .reveal.is-visible > li:nth-child(4) { transition-delay: 270ms; }
.js .reveal.is-visible > li:nth-child(5) { transition-delay: 360ms; }
.js .reveal.is-visible > li:nth-child(6) { transition-delay: 450ms; }
.js .reveal.is-visible > li:nth-child(7) { transition-delay: 540ms; }

/* Web önizlemesi: kart görününce blokları sırayla dolar */
.mock-line, .mock-btn, .mock-tile, .mock-bar i { transform-origin: left center; }
.js .bento.is-visible .mock-line { animation: fill-x .7s .5s cubic-bezier(.2, .8, .2, 1) both; }
.js .bento.is-visible .mock-line.thin { animation-delay: .7s; }
.js .bento.is-visible .mock-btn { animation: fill-x .5s .9s cubic-bezier(.2, .8, .2, 1) both; }
.js .bento.is-visible .mock-tile { animation: fill-pop .5s cubic-bezier(.2, .8, .2, 1) both; }
.js .bento.is-visible .mock-tile:nth-child(1) { animation-delay: 1.0s; }
.js .bento.is-visible .mock-tile:nth-child(2) { animation-delay: 1.12s; }
.js .bento.is-visible .mock-tile:nth-child(3) { animation-delay: 1.24s; }
.js .bento:not(.is-visible) .mock-line, .js .bento:not(.is-visible) .mock-btn, .js .bento:not(.is-visible) .mock-tile { opacity: 0; }
@keyframes fill-x { from { transform: scaleX(0); } }
@keyframes fill-pop { from { opacity: 0; transform: scale(.85); } }
@media (prefers-reduced-motion: reduce) {
  .js .bento.reveal > li, .js .service-grid.reveal > li { opacity: 1; transform: none; transition: none; }
  .js .bento .mock-line, .js .bento .mock-btn, .js .bento .mock-tile { animation: none !important; opacity: 1; }
}

/* ===== Çalışmalar ===== */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  padding: .55rem 1.05rem;
  font-weight: 600; font-size: .9rem; color: #D3D6DA;
  background: transparent; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px;
  transition: background-color .2s, border-color .2s, color .2s;
}
.filter-btn:hover { border-color: var(--orange); }
.filter-btn[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--night); }

.works-meta { font-size: .85rem; color: var(--gray); margin: -24px 0 20px; }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work-card {
  background: var(--charcoal); border: 1px solid var(--line-dark); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s, border-color .2s;
  animation: card-in .35s ease both;
}
.work-card:hover { transform: translateY(-4px); border-color: rgba(255, 106, 0, .5); }
@keyframes card-in { from { opacity: 0; transform: translateY(10px); } }
.work-visual { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 22px; background: #16181C; }
.work-visual.photo { padding: 0; }
.work-body { padding: 20px 22px 24px; }
.work-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.badge {
  padding: .2rem .55rem; border-radius: 6px;
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange); border: 1px dashed rgba(255, 106, 0, .6);
}
.work-cat { font-size: .82rem; font-weight: 600; color: var(--gray); }
.work-body h3 { margin-bottom: 6px; }
.work-body p { font-size: .92rem; color: var(--gray); }

@media (max-width: 960px) { .works-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .works-grid { grid-template-columns: 1fr; }
  .works-meta { margin-top: -20px; }
}

/* Demo konsept arayüz çizimleri (görsel değil, CSS) */
.mock-line { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .75); }
.mock-line.thin { height: 4px; background: rgba(255, 255, 255, .4); }
.mock-browser { width: 100%; height: 100%; display: flex; flex-direction: column; background: var(--offwhite); border-radius: 8px; overflow: hidden; }
.mock-bar { height: 18px; flex: none; display: flex; align-items: center; gap: 4px; padding: 0 8px; background: #E2E2DC; }
.mock-bar i { width: 6px; height: 6px; border-radius: 50%; background: #B6B9BE; }
.mock-hero { flex: 0 0 46%; display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 12px; background: var(--night); }
.mock-btn { width: 30%; height: 10px; border-radius: 5px; background: var(--orange); margin-top: 3px; }
.mock-content { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 10px; }
.mock-tile { background: #DEDED8; border-radius: 4px; }
.mock-products { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 7px; padding: 10px; }
.mock-product { display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; padding: 5px; background: #fff; border: 1px solid #E2E2DC; border-radius: 4px; }
.mock-product::before { content: ""; flex: 1; background: #E6E6E1; border-radius: 3px; }
.mock-product span { height: 4px; width: 50%; border-radius: 2px; background: var(--orange); }

.mock-phone {
  height: 100%; aspect-ratio: 9 / 18;
  display: flex; flex-direction: column; gap: 6px;
  padding: 8px 8px 10px; background: var(--night);
  border: 3px solid #30343A; border-radius: 18px;
}
.mock-notch { width: 36%; height: 6px; margin: 0 auto 4px; border-radius: 4px; background: #30343A; }
.mock-card { height: 24px; border-radius: 6px; background: var(--charcoal); }
.mock-card.accent { height: 34px; background: var(--orange); }
.mock-tabbar { margin-top: auto; height: 12px; border-radius: 4px; background: var(--charcoal); }

.mock-dash { width: 100%; height: 100%; display: grid; grid-template-columns: 22% 1fr; background: var(--offwhite); border-radius: 8px; overflow: hidden; }
.mock-side { display: flex; flex-direction: column; gap: 8px; padding: 12px 8px; background: var(--night); }
.mock-side .mock-line { height: 4px; background: rgba(255, 255, 255, .45); }
.mock-main { display: grid; grid-template-rows: auto 1fr; gap: 8px; padding: 10px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mock-stats span { height: 22px; border-radius: 4px; background: #fff; border: 1px solid #E2E2DC; }
.mock-chart { display: flex; align-items: flex-end; gap: 6px; padding: 8px; background: #fff; border: 1px solid #E2E2DC; border-radius: 4px; }
.mock-chart span { flex: 1; border-radius: 2px 2px 0 0; background: #C6C9CD; }
.mock-chart span.hi { background: var(--orange); }

.mock-int { width: 100%; display: flex; align-items: center; gap: 8px; }
.mock-node {
  flex: 1; padding: 18px 4px; text-align: center;
  font-size: .78rem; font-weight: 700; color: #fff;
  background: var(--charcoal); border: 1px solid var(--line-dark); border-radius: 8px;
}
.mock-node.core { background: var(--orange); color: var(--night); border-color: var(--orange); }
.mock-arrow { color: var(--orange); font-weight: 700; }

/* ===== Hakkımızda ===== */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.about-text > p { color: var(--gray-ink); font-size: 1.05rem; margin-top: 16px; }
.about-points { display: grid; gap: 16px; margin: 28px 0 32px; }
.about-points li { display: flex; gap: 14px; align-items: flex-start; }
.point-icon {
  width: 32px; height: 32px; flex: none; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255, 106, 0, .14); color: var(--orange-ink);
}
.point-icon .icon { width: 16px; height: 16px; stroke-width: 2.5; }
.about-points strong { display: block; }
.about-points span { color: var(--gray-ink); font-size: .95rem; }

/* Tek, güçlü fotoğraf; arkasında turuncu çerçeve kaydırılmış katman */
.about-visual { position: relative; padding: 0 0 18px 18px; }
.about-visual::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%;
  border-radius: 28px; background: var(--orange); opacity: .9;
}
.about-photo {
  position: relative; aspect-ratio: 4 / 3.3;
  border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(11, 13, 16, .55);
}
.about-photo img { transition: transform 1.4s cubic-bezier(.2, .8, .2, 1); }
.about-visual:hover .about-photo img { transform: scale(1.04); }
.about-chip { left: 16px; bottom: 16px; }

@media (max-width: 960px) {
  .about { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 600px) {
  .about-visual { padding: 0 0 12px 12px; }
  .about-photo, .about-visual::before { border-radius: 20px; }
}

/* ===== @kayseri_turkiye ===== */
.local { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 96px) 0; }
.local-bg { position: absolute; inset: 0; }
.local-bg::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11, 13, 16, .9) 0%, rgba(11, 13, 16, .7) 60%, rgba(11, 13, 16, .55) 100%); }
.local-bg .photo-note { left: auto; max-width: 340px; }
.local-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.local-text { color: #D3D6DA; font-size: 1.05rem; max-width: 56ch; margin-top: 16px; }
.local-text strong { color: #fff; }
.local-card {
  display: grid; justify-items: start; gap: 4px;
  padding: 32px; border-radius: 18px;
  background: rgba(32, 35, 40, .88); border: 1px solid var(--line-dark);
}
.local-handle { font-weight: 700; color: var(--orange); }
.local-number { font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.1; margin-top: 8px; }
.local-label { font-weight: 600; }
.local-note { font-size: .8rem; color: var(--gray); margin-bottom: 18px; }

@media (max-width: 960px) {
  .local-inner { grid-template-columns: 1fr; }
  .local-bg .photo-note { top: 12px; bottom: auto; left: 12px; max-width: none; }
  .local:has(.local-bg.is-missing) { padding-top: 120px; }
}

/* ===== Süreç: masaüstünde yatay, mobilde dikey ===== */
.process { display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: step; }
.process li { position: relative; padding: 64px 24px 0 0; }
.process li::after {
  content: ""; position: absolute; top: 23px; left: 58px; right: 10px;
  height: 2px; background: var(--line-light);
}
.process li:last-child::after { display: none; }
.step-num {
  position: absolute; top: 0; left: 0;
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 50%; background: var(--night); color: var(--orange);
  font-weight: 800; font-size: .95rem;
}
.process h3 { margin-bottom: 8px; }
.process p { color: var(--gray-ink); font-size: .93rem; }

@media (max-width: 960px) {
  .process { grid-template-columns: 1fr; }
  .process li { padding: 6px 0 32px 72px; }
  .process li::after { top: 56px; bottom: 6px; left: 23px; right: auto; width: 2px; height: auto; }
}

/* ===== İletişim ve form ===== */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info > p { color: var(--gray); font-size: 1.05rem; margin-top: 16px; }
.contact-list { display: grid; gap: 18px; margin-top: 32px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.ci-icon { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--charcoal); color: var(--orange); }
.ci-icon .icon { width: 20px; height: 20px; }
.ci-label { display: block; font-size: .78rem; color: var(--gray); }
.ci-value { font-weight: 600; text-decoration: none; }
a.ci-value[href]:hover { color: var(--orange); }

.contact-form {
  display: grid; gap: 18px;
  padding: 32px; border-radius: 18px;
  background: var(--charcoal); border: 1px solid var(--line-dark);
  color-scheme: dark;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-size: .88rem; font-weight: 600; color: #E4E6E9; }
.req { color: var(--orange); }
.opt { font-weight: 500; font-size: .8rem; color: var(--gray); }
.field-hint { font-size: .82rem; color: var(--gray); margin-bottom: -8px; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; padding: .8rem .9rem;
  background: var(--night); color: #fff;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 106, 0, .25); }
.field [aria-invalid="true"] { border-color: #FF6B6B !important; }
.field-error { font-size: .82rem; color: #FF9B9B; }
.field-error:empty { display: none; }

.field-check { grid-template-columns: auto 1fr; column-gap: 12px; }
.field-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--orange); }
.field-check label { font-weight: 500; color: #D3D6DA; }
.field-check label a { color: var(--orange); }
.field-check .field-error { grid-column: 2; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { display: none; padding: .9rem 1rem; border-radius: 10px; font-size: .92rem; }
.form-status.is-error, .form-status.is-success, .form-status.is-info { display: block; }
.form-status.is-error { background: rgba(255, 107, 107, .12); border: 1px solid rgba(255, 107, 107, .45); color: #FFC2C2; }
.form-status.is-success { background: rgba(74, 222, 128, .1); border: 1px solid rgba(74, 222, 128, .45); color: #B7F5CC; }
.form-status.is-info { background: rgba(255, 106, 0, .1); border: 1px solid rgba(255, 106, 0, .45); color: #FFCFAE; }

@media (max-width: 960px) { .contact { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
}
