/* ============================================================
   VHISTECH — kurumsal site ortak stilleri (site.css)
   Tüm sayfalar bu dosyayı link'ler. Sayfaya özel stiller
   ilgili HTML içinde <style> ile eklenir.
   ============================================================ */

:root {
  --green: #57b431;
  --green-d: #479526;
  --green-l: #eaf6e2;
  --blue: #2b7fe0;
  --blue-d: #1f6ac2;
  --ink: #0f1619;
  --ink-2: #18222a;
  --head: #1c2831;
  --text: #51606b;
  --muted: #8a96a0;
  --bg: #ffffff;
  --bg-soft: #eef2ef;
  --line: #e6ebe7;
  --shadow-card: 0 10px 30px rgba(20,35,25,0.07), 0 2px 6px rgba(20,35,25,0.05);
  --shadow-lift: 0 20px 50px rgba(20,35,25,0.12);
  --r: 16px;
  --maxw: 1320px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Manrope", system-ui, sans-serif; font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, h4 { font-family: "Saira", "Manrope", sans-serif; color: var(--head); margin: 0; line-height: 1.1; font-weight: 700; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.lucide { width: 20px; height: 20px; }
.green-txt { color: var(--green); }
.blue-txt { color: var(--blue); }

/* ---------- BUTTONS ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: "Manrope", sans-serif; font-weight: 700; font-size: 15px; border-radius: 12px; cursor: pointer; border: none; transition: transform .12s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-green { background: var(--green); color: #fff; padding: 0 22px; height: 48px; box-shadow: 0 6px 16px rgba(87,180,49,0.32); }
.btn-green:hover { background: var(--green-d); }
.btn-dark { background: var(--ink); color: #fff; padding: 0 22px; height: 48px; }
.btn-dark:hover { background: #1d2a31; }
.btn-outline { background: #fff; border: 1px solid var(--line); color: var(--head); height: 48px; padding: 0 22px; }
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-lang { background: #fff; border: 1px solid var(--line); color: var(--head); height: 48px; padding: 0 16px; border-radius: 12px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.btn-sm { height: 44px; }

/* ---------- HEADER ---------- */
header.site { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s ease, background .3s ease; }
header.site.scrolled { box-shadow: 0 6px 24px rgba(15,40,25,0.07); background: rgba(255,255,255,0.92); }
header.site .wrap.nav { max-width: 1480px; gap: 20px; flex-wrap: nowrap; min-width: 0; }
.nav { display: flex; align-items: center; gap: 28px; height: 86px; transition: height .3s ease; }
header.site.scrolled .nav { height: 70px; }
.brand { display: flex; flex-direction: column; gap: 4px; line-height: 1; flex: none; }
.brand .word { font-family: "Saira", sans-serif; font-weight: 800; font-size: 28px; letter-spacing: 0.5px; display: inline-flex; align-items: baseline; }
.brand .word .v { font-size: 1.14em; background: linear-gradient(180deg, #8cc63f 0%, #57b431 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand .word .h { background: linear-gradient(180deg, #3f9be8 0%, #1f6ac2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand .word .t { color: var(--head); }
.brand .word .leaf { color: var(--green); width: 14px; height: 14px; align-self: flex-start; margin-top: 2px; margin-left: 3px; }
.brand .tag { font-size: 9px; font-weight: 700; letter-spacing: 1.7px; color: var(--muted); white-space: nowrap; }
.brand .tag b { color: var(--green); font-weight: 700; }
nav.menu { display: flex; align-items: center; gap: 12px; margin-left: 16px; flex: 0 1 auto; min-width: 0; flex-wrap: nowrap; }
nav.menu a { font-size: 13px; font-weight: 600; color: #46535d; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; transition: color .15s; }
nav.menu a:hover { color: var(--green); }
nav.menu a.active { color: var(--green); }
nav.menu .caret { width: 14px; height: 14px; opacity: .7; }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; flex: none; }

/* ---------- Dil menüsü (TR/EN dropdown) ---------- */
.lang-wrap { position: relative; }
.lang-wrap .caret { transition: transform .2s ease; }
.lang-wrap.open .caret { transform: rotate(180deg); }
.lang-dd { position: absolute; top: calc(100% + 8px); right: 0; min-width: 180px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(15,40,25,0.12); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 120; }
.lang-wrap.open .lang-dd { opacity: 1; visibility: visible; transform: none; }
.lang-dd button { display: flex; align-items: center; justify-content: space-between; width: 100%; background: none; border: none; text-align: left; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--head); cursor: pointer; transition: background .15s; }
.lang-dd button:hover { background: var(--bg-soft); }
.lang-dd button.active { color: var(--green); }
.lang-dd button em { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); background: var(--bg-soft); padding: 2px 7px; border-radius: 999px; }

/* ---------- Mobil hamburger + drawer ---------- */
.nav-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; flex: none; }
.nav-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--head); transition: transform .28s ease, opacity .2s ease; }
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-drawer { position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); background: #fff; box-shadow: -20px 0 50px rgba(15,40,25,0.16); transform: translateX(100%); transition: transform .34s cubic-bezier(.4,.0,.2,1); z-index: 200; padding: 92px 0 28px; overflow-y: auto; visibility: hidden; }
html.nav-open .mobile-drawer { transform: none; visibility: visible; }
.mobile-drawer::before { content: ""; position: fixed; inset: 0; background: rgba(12,28,18,0); pointer-events: none; transition: background .34s ease; z-index: -1; }
html.nav-open .mobile-drawer::before { background: rgba(12,28,18,0.42); pointer-events: auto; }
html.nav-open { overflow: hidden; }
.md-inner { display: flex; flex-direction: column; }
.md-inner a { font-size: 17px; font-weight: 600; color: var(--head); padding: 15px 28px; border-bottom: 1px solid var(--line); }
.md-inner a.active { color: var(--green); }
.md-inner a:active { background: var(--bg-soft); }
.md-inner .md-cta { margin: 22px 28px 0; height: 52px; justify-content: center; }
.md-lang { display: flex; gap: 8px; margin: 16px 28px 0; }
.md-lang button { flex: 1; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; font-size: 14px; font-weight: 700; color: var(--head); cursor: pointer; transition: all .15s; }
.md-lang button.active { background: var(--green); border-color: var(--green); color: #fff; }

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero { position: relative; background: var(--ink); overflow: hidden; }
.page-hero .grid-tex { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(120% 100% at 88% 0%, #000 12%, transparent 72%);
  mask-image: radial-gradient(120% 100% at 88% 0%, #000 12%, transparent 72%); }
.page-hero::before { content: ""; position: absolute; top: -40%; right: -10%; width: 620px; height: 620px; background: radial-gradient(circle, rgba(87,180,49,0.22), transparent 60%); }
.page-hero::after { content: ""; position: absolute; bottom: -50%; left: 20%; width: 620px; height: 620px; background: radial-gradient(circle, rgba(43,127,224,0.20), transparent 60%); }
.page-hero .wrap { position: relative; z-index: 2; padding: 64px 32px 72px; }
.page-hero .crumb { display: inline-flex; align-items: center; gap: 8px; color: #9fb0a7; font-size: 0.82rem; font-weight: 600; margin-bottom: 18px; }
.page-hero .crumb a:hover { color: var(--green); }
.page-hero .eyebrow { color: var(--green); font-weight: 800; font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.5px; margin: 14px 0 0; max-width: 760px; }
.page-hero h1 .s { background: linear-gradient(90deg, #6cc63f, #57b431); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero p.sub { color: #cdd6d0; font-size: 1.1rem; max-width: 600px; margin: 18px 0 0; }

/* ---------- SECTION HELPERS ---------- */
.section { padding: 72px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head .eyebrow { color: var(--green); font-weight: 800; font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 12px 0 0; }
.section-head p { font-size: 1.05rem; margin: 14px 0 0; }

/* feature/info card grid */
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-card); }
.icon-tile { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.icon-tile.green { background: var(--green-l); } .icon-tile.green .lucide { color: var(--green-d); }
.icon-tile.blue { background: #e6f0fb; } .icon-tile.blue .lucide { color: var(--blue-d); }

/* ---------- STATS BAND ---------- */
.band { background: var(--ink); }
.band .wrap { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding: 38px 32px; }
.stat-item { display: flex; align-items: center; gap: 14px; }
.stat-item:not(:last-child) { border-right: 1px solid rgba(255,255,255,0.1); }
.stat-item .ring { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 1.5px solid rgba(87,180,49,0.4); display: grid; place-items: center; }
.stat-item .ring .lucide { color: var(--green); width: 22px; height: 22px; }
.stat-item .big { font-family: "Saira", sans-serif; font-weight: 800; font-size: 1.7rem; color: var(--green); line-height: 1; }
.stat-item .lbl { color: #c4cdc8; font-size: 0.84rem; font-weight: 600; margin-top: 3px; }

/* ---------- GÖRSEL UYUMU: marka duotone muamelesi ---------- */
.sol .imgwrap, .prod .pimg { position: relative; }
.sol .imgwrap image-slot, .sol .imgwrap img,
.prod .pimg image-slot, .prod .pimg img {
  filter: grayscale(.5) saturate(.85) contrast(1.04) brightness(.97);
  transition: filter .35s ease;
}
.sol:hover .imgwrap image-slot, .sol:hover .imgwrap img,
.prod:hover .pimg image-slot, .prod:hover .pimg img {
  filter: grayscale(.12) saturate(1) contrast(1.02) brightness(1);
}
.sol .imgwrap::after, .prod .pimg::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(150deg, rgba(63,155,232,0.20) 0%, rgba(11,32,22,0) 40%, rgba(15,58,33,0.46) 100%);
  mix-blend-mode: multiply;
}

/* iç sayfa fotoğraf container'ları da aynı duotone dilini alır */
.intro .media, .member .ph, .solrow .media, .case .ph { position: relative; overflow: hidden; }
.intro .media image-slot, .intro .media img,
.member .ph image-slot, .member .ph img,
.solrow .media image-slot, .solrow .media img,
.case .ph image-slot, .case .ph img {
  filter: grayscale(.5) saturate(.85) contrast(1.04) brightness(.97);
  transition: filter .4s ease, transform .4s ease;
}
.intro:hover .media image-slot, .intro:hover .media img,
.member:hover .ph image-slot, .member:hover .ph img,
.solrow:hover .media image-slot, .solrow:hover .media img,
.case:hover .ph image-slot, .case:hover .ph img {
  filter: grayscale(.1) saturate(1) contrast(1.02) brightness(1);
}
.intro .media::after, .member .ph::after, .solrow .media::after, .case .ph::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(150deg, rgba(63,155,232,0.18) 0%, rgba(11,32,22,0) 42%, rgba(15,58,33,0.42) 100%);
  mix-blend-mode: multiply;
}

/* ---------- CTA STRIP ---------- */
.cta-strip { position: relative; overflow: hidden; border-radius: 24px; background: linear-gradient(115deg, #173a1b, #0f2630); padding: 56px; text-align: center; }
.cta-strip::before { content: ""; position: absolute; top: -40%; left: -5%; width: 480px; height: 480px; background: radial-gradient(circle, rgba(87,180,49,0.28), transparent 60%); }
.cta-strip::after { content: ""; position: absolute; bottom: -50%; right: -5%; width: 480px; height: 480px; background: radial-gradient(circle, rgba(43,127,224,0.24), transparent 60%); }
.cta-strip > * { position: relative; z-index: 2; }
.cta-strip h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.cta-strip p { color: #cdd6d0; font-size: 1.1rem; max-width: 560px; margin: 14px auto 28px; }
.cta-strip .row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- FOOTER ---------- */
footer.site { background: var(--ink); color: #aeb9b3; padding: 64px 0 28px; }
footer.site .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
footer.site .brand .word .t { color: #fff; }
footer.site .fdesc { font-size: 0.92rem; color: #93a09a; max-width: 280px; margin: 16px 0 18px; }
footer.site .social { display: flex; gap: 10px; }
footer.site .social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.06); display: grid; place-items: center; transition: background .2s; }
footer.site .social a:hover { background: var(--green); }
footer.site .social a .lucide { width: 18px; height: 18px; color: #fff; }
footer.site h4 { color: #fff; font-size: 0.82rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
footer.site ul a { font-size: 0.92rem; color: #aeb9b3; transition: color .15s; }
footer.site ul a:hover { color: var(--green); }
footer.site .contact-row { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; margin-bottom: 12px; }
footer.site .contact-row .lucide { width: 17px; height: 17px; color: var(--green); flex: none; margin-top: 3px; }
footer.site .foot-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; align-items: center; font-size: 0.84rem; color: #7e8c84; }
footer.site .foot-bottom .links { display: flex; gap: 22px; }
footer.site .foot-bottom a:hover { color: var(--green); }

/* ---------- WHY-US / FEATURE 4-GRID ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.whyc { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; transition: box-shadow .2s, transform .2s; }
.whyc:hover { box-shadow: var(--shadow-card); transform: translateY(-4px); }
.whyc .ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; }
.whyc h3 { font-size: 1.08rem; margin-bottom: 8px; }
.whyc p { font-size: 0.9rem; margin: 0; color: var(--text); }

/* ---------- FAQ (accordion) ---------- */
.faq { max-width: none; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; align-items: start; }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; } }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: box-shadow .2s; }
.faq-item[open] { box-shadow: var(--shadow-card); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; font-family: "Manrope", sans-serif; font-weight: 700; color: var(--head); font-size: 1rem; list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q .chev { transition: transform .25s var(--ease, ease); color: var(--green); flex: none; }
.faq-item[open] .faq-q .chev { transform: rotate(180deg); }
.faq-a { padding: 0 22px 20px; color: var(--text); font-size: 0.94rem; line-height: 1.6; }

@media (min-width: 1301px) {
  .mobile-drawer { display: none !important; }
}
@media (max-width: 1300px) {
  nav.menu { display: none; }
  .nav-burger { display: flex; }
  .btn-lang { display: none; }
}
@media (max-width: 1180px) {
  .band .wrap { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .stat-item { border-right: none !important; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  footer.site .cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .nav { height: 68px; }
  header.site.scrolled .nav { height: 60px; }
  .brand .word { font-size: 25px; }
  .brand .tag { font-size: 8px; letter-spacing: 1.2px; }
  .header-cta .btn-green span, .header-cta [data-talep] { font-size: 0; gap: 0; padding: 0; width: 44px; justify-content: center; }
  .header-cta [data-talep] .lucide { width: 20px; height: 20px; }
  .band .wrap { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .why-grid { grid-template-columns: 1fr; }
  footer.site { padding: 48px 0 24px; }
  footer.site .cols { grid-template-columns: 1fr; gap: 30px; }
  footer.site .foot-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cta-strip { padding: 36px 24px; }
}

/* ============================================================
   MOTION — scroll reveal, sayaç, hero ken-burns, cila
   (site-anim.js, JS varsa html.reveal-on ekler; yoksa içerik
    her zaman görünür kalır)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {

  /* --- scroll reveal ---
     Gizleme HAM seçicilerle yapılır ki <head>'deki ön-boyama scripti
     html.reveal-on'u eklediğinde elemanlar daha ilk boyamadan önce
     gizlensin. Böylece "görünür → gizlen → animasyon" zıplaması olmaz.
     .in (JS ekler) animasyonu both fill ile bitişe sabitler. */
  html.reveal-on [data-reveal],
  html.reveal-on .section-head,
  html.reveal-on .whyc, html.reveal-on .prod, html.reveal-on .pcard,
  html.reveal-on .sol, html.reveal-on .uc,
  html.reveal-on .faq-item, html.reveal-on .stat-item, html.reveal-on .cta-strip,
  html.reveal-on .pill, html.reveal-on .acr, html.reveal-on .tl,
  html.reveal-on .member, html.reveal-on .vm,
  html.reveal-on .intro, html.reveal-on .specs .s, html.reveal-on .form-card,
  html.reveal-on .result,
  html.reveal-on .page-hero .crumb, html.reveal-on .page-hero h1,
  html.reveal-on .page-hero p.sub, html.reveal-on .page-hero .eyebrow {
    opacity: 0;
  }
  html.reveal-on header.site [data-reveal] { opacity: 1; } /* header hiçbir zaman gizlenmez */

  html.reveal-on .reveal.in {
    animation: vh-reveal .72s cubic-bezier(.16,.84,.44,1) var(--reveal-delay, 0ms) both;
  }
  @keyframes vh-reveal {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: none; }
  }

  /* --- hero görselinde yavaş ken-burns --- */
  .hero-banner .banner-img {
    animation: vh-kenburns 20s ease-out both;
    transform-origin: 60% 45%;
  }
  @keyframes vh-kenburns {
    from { transform: scale(1.09); }
    to   { transform: scale(1); }
  }

  /* --- iç sayfa hero arka plan parıltıları nazikçe nefes alsın --- */
  .page-hero::before { animation: vh-float 16s ease-in-out infinite alternate; }
  .page-hero::after  { animation: vh-float 20s ease-in-out infinite alternate-reverse; }
  @keyframes vh-float {
    from { transform: translate3d(0,0,0) scale(1); }
    to   { transform: translate3d(0,-26px,0) scale(1.08); }
  }

  /* --- istatistik bandı ikon halkası, görünürken nazik bir vurgu --- */
  html.reveal-on .stat-item.reveal.in .ring {
    animation: vh-pop .6s cubic-bezier(.34,1.56,.64,1) both;
  }
  @keyframes vh-pop {
    from { transform: scale(.6); opacity: 0; }
    60%  { transform: scale(1.08); opacity: 1; }
    to   { transform: scale(1); }
  }
}

/* --- buton parıltısı (hover'da ışık geçişi) — hareket tercihinden bağımsız, çok ince --- */
.btn-green, .btn-dark { position: relative; overflow: hidden; }
.btn-green::after, .btn-dark::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-18deg); transition: left .55s ease; pointer-events: none;
}
.btn-green:hover::after, .btn-dark:hover::after { left: 130%; }

/* --- kart ve link mikro-etkileşim cilası --- */
.sol .imgwrap image-slot, .prod .pimg image-slot { transition: transform .4s ease; display: block; }
.sol:hover .imgwrap image-slot, .prod:hover .pimg image-slot { transform: scale(1.05); }
.sol .imgwrap, .prod .pimg { overflow: hidden; }
nav.menu a { position: relative; }
nav.menu a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--green); border-radius: 2px; transition: width .25s ease;
}
nav.menu a:hover::after, nav.menu a.active::after { width: 100%; }
