/* ================================================
   INDUSTRIAL PHOTOGRAPHY — STYLES
   ================================================ */

:root {
  interpolate-size: allow-keywords;

  /* palette */
  --bg: #F4F5F7;
  --surface: #FFFFFF;
  --surface-2: #ECEEF2;
  --ink: #1C1F26;
  --ink-soft: #5A5F6B;
  --accent: #FF5722;
  --accent-2: #455A64;
  --line: rgba(28,31,38,0.12);
  --line-strong: rgba(28,31,38,0.22);

  /* typo */
  --font-heading: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Consolas', 'Monaco', 'Courier New', monospace;
  --tracking: -0.02em;

  /* layout */
  --max-w: 1240px;
  --pad: clamp(1rem, 3vw, 2rem);
  --header-h: 72px;
  --radius: 6px;
  --radius-lg: 10px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { overflow-x: hidden; max-width: 100vw; margin: 0; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: var(--tracking);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ---- SKIP LINK ---- */
.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--accent); color: #fff;
  padding: 8px 18px; border-radius: var(--radius);
  z-index: 10000; font-weight: 600;
  transition: top 200ms;
}
.skip-link:focus { top: 12px; }

/* ---- CONTAINER ---- */
.container {
  width: 100%; max-width: var(--max-w); margin: 0 auto;
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.012em;
  line-height: 1.15;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.05rem; }

.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.mono { font-family: var(--font-mono); font-weight: 500; }

.section-sub {
  color: var(--ink-soft);
  max-width: 640px;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 12px;
}

/* ---- HEADER ---- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1080;
  background: rgba(244,245,247,0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 240ms ease, box-shadow 240ms ease, padding 240ms ease;
  height: var(--header-h);
}
.site-header.scrolled {
  background: rgba(244,245,247,0.98);
  box-shadow: 0 8px 24px -16px rgba(0,0,0,0.18);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 10px;
}
.logo svg { width: 28px; height: 28px; }
.logo-accent { color: var(--accent); }

/* nav desktop */
.nav-desktop { display: flex; align-items: center; gap: 6px; }
.nav-desktop a {
  padding: 8px 14px; border-radius: var(--radius);
  font-size: 0.88rem; font-weight: 600;
  color: var(--ink);
  position: relative;
  transition: color 200ms, background 200ms;
}
.nav-desktop a::after {
  content: ''; position: absolute; bottom: 2px; left: 14px; right: 14px;
  height: 2px; background: var(--accent); border-radius: 1px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 260ms cubic-bezier(.2,.7,.2,1);
}
.nav-desktop a:hover { color: var(--accent); }
.nav-desktop a:hover::after { transform: scaleX(1); }
.nav-desktop a.is-active { color: var(--accent); }
.nav-desktop a.is-active::after { transform: scaleX(1); }

.nav-desktop .nav-cta {
  background: var(--ink); color: var(--surface);
  border-radius: var(--radius); padding: 9px 20px;
  font-weight: 600;
  transition: background 200ms, color 200ms, transform 200ms;
}
.nav-desktop .nav-cta::after { display: none; }
.nav-desktop .nav-cta:hover { background: var(--accent); color: var(--surface); transform: translateY(-2px); }

/* hamburger */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
  position: relative; z-index: 1100;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 26px; height: 2.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), opacity 180ms;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
}

.nav-toggle[aria-label] {
  -webkit-tap-highlight-color: transparent;
}

/* ---- DRAWER (outside header) ---- */
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1040;
  opacity: 0; visibility: hidden;
  transition: opacity 240ms, visibility 240ms;
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(360px, 92vw);
  background: var(--surface);
  z-index: 1050;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
  padding: calc(var(--header-h) + 24px) 28px 32px;
  display: flex; flex-direction: column; gap: 4px;
  overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer a {
  display: block; padding: 14px 8px;
  font-size: 1.05rem; font-weight: 600;
  border-bottom: 1px solid var(--line);
  transition: color 200ms, padding-left 200ms;
}
.drawer a:hover { color: var(--accent); padding-left: 14px; }
.drawer a.is-active { color: var(--accent); }
.drawer .drawer-cta {
  margin-top: 16px;
  background: var(--accent); color: #fff;
  text-align: center; border-radius: var(--radius);
  padding: 14px; border: none;
  font-weight: 700;
  transition: background 200ms, color 200ms;
}
.drawer .drawer-cta:hover { background: var(--ink); color: var(--surface); }

/* ---- MAIN ---- */
main { padding-top: var(--header-h); }
main section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---- SECTION SPACING ---- */
.section { padding: clamp(60px, 10vw, 100px) 0; }
.section-dark { background: var(--ink); color: var(--surface); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--surface); }
.section-dark .eyebrow { color: var(--accent); }
.section-dark .section-sub { color: rgba(255,255,255,0.7); }

/* ---- HERO ---- */
.hero {
  position: relative;
  padding: clamp(60px, 10vw, 100px) 0 clamp(50px, 8vw, 80px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.hero-text { position: relative; z-index: 2; }
.hero-h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.08;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 28px;
}
.hero-keys {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 32px;
}
.hero-key {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.78rem;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  color: var(--accent-2);
  white-space: nowrap;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 4/3;
}
.hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* SVG measurement lines overlay */
.hero-svg-overlay {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 3;
}
.hero-svg-overlay line, .hero-svg-overlay path, .hero-svg-overlay polyline {
  stroke: var(--accent);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
}
.hero-svg-overlay.is-drawn line,
.hero-svg-overlay.is-drawn path,
.hero-svg-overlay.is-drawn polyline {
  animation: svgDraw 1.4s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero-svg-overlay text {
  font-family: var(--font-mono);
  font-size: 11px;
  fill: var(--accent);
  opacity: 0;
}
.hero-svg-overlay.is-drawn text {
  animation: svgTextIn 0.5s 0.9s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes svgDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes svgTextIn {
  to { opacity: 1; }
}

/* stats strip */
.hero-stats {
  display: flex; gap: clamp(20px, 4vw, 40px);
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-stat-num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--accent);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual { order: -1; aspect-ratio: 16/10; }
  .hero-stats { flex-wrap: wrap; }
}

/* ---- TRUST STRIP ---- */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 20px;
}
.trust-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 600;
  color: var(--accent-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 5px 14px 5px 8px;
}
.trust-badge svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---- TABLES (scroll wrapper) ---- */
.table-scroll {
  display: block; width: 100%; max-width: 100%; min-width: 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.table-scroll > table { margin: 0 !important; min-width: 480px; width: 100%; }
:where(*:has(> .table-scroll), *:has(> * > .table-scroll), *:has(> * > * > .table-scroll)) { min-width: 0; }

.tech-table {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.85rem;
}
.tech-table th {
  background: var(--surface-2);
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid var(--line-strong);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.tech-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.tech-table tbody tr:hover { background: rgba(255,87,34,0.04); }
.tech-table .td-accent { color: var(--accent); font-weight: 600; }

/* ---- CARDS ---- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), box-shadow 280ms cubic-bezier(.2,.7,.2,1);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px -12px rgba(255,87,34,0.15);
}
.card-img {
  width: 100%; aspect-ratio: 16/10;
  object-fit: cover;
}
.card-body { padding: clamp(16px, 3vw, 28px); }
.card-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: 0.06em;
}
.card-title { margin-bottom: 10px; }
.card-text {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.card-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink-soft);
}

/* case-study grid */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 3vw, 28px);
}
@media (max-width: 640px) { .cases-grid { grid-template-columns: 1fr; } }

/* ---- HIZMET MATRISI ---- */
.matrix-table th, .matrix-table td {
  text-align: center;
  padding: 12px 14px;
}
.matrix-table th:first-child, .matrix-table td:first-child {
  text-align: left;
  font-weight: 600;
}
.matrix-check { color: var(--accent); font-size: 1.2rem; }
.matrix-dash { color: var(--line-strong); }

/* ---- PRICING ---- */
.price-table .price-val {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--accent);
}
.price-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 14px;
  font-style: italic;
}
.section-dark .price-note { color: rgba(255,255,255,0.55); }

/* ---- FORM ---- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid .field-full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 0.95rem;
  transition: border-color 200ms, box-shadow 200ms;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,87,34,0.12);
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { cursor: pointer; }

.field-checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}
.field input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: auto;
  width: 18px; height: 18px;
  min-width: 18px; min-height: 18px;
  padding: 0; border: 0; margin: 2px 0 0;
  accent-color: var(--accent);
}
.field-checkbox span {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border: none; border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 200ms, color 200ms, transform 200ms, box-shadow 200ms;
}
.btn-primary { background: var(--ink); color: var(--surface); }
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--accent); color: var(--surface);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(255,87,34,0.35);
}
.btn-primary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: var(--surface); color: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
}
.btn-ghost:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover, .btn-accent:focus-visible {
  background: #E64A19; color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(255,87,34,0.35);
}

.btn svg { width: 18px; height: 18px; }

/* ---- PROCESS TIMELINE ---- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute; left: 14px; top: 0; bottom: 0;
  width: 2px; background: var(--line-strong);
}
.timeline-step {
  position: relative;
  padding-bottom: 36px;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -40px; top: 2px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  z-index: 1;
}
.timeline-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 4px;
}
.timeline-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.timeline-desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---- TESTIMONIALS ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 28px);
}
@media (max-width: 768px) { .testimonials-grid { grid-template-columns: 1fr; } }

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  position: relative;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), box-shadow 280ms cubic-bezier(.2,.7,.2,1);
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px -12px rgba(255,87,34,0.14);
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.2;
  position: absolute; top: 16px; left: 20px;
  line-height: 1;
}
.testimonial-text {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 16px;
  padding-top: 10px;
}
.testimonial-author {
  font-weight: 700;
  font-size: 0.88rem;
}
.testimonial-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  margin-top: 2px;
}

/* ---- FAQ ---- */
.faq-list { max-width: 800px; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  transition: color 200ms;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 300ms cubic-bezier(.2,.7,.2,1);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item summary:hover { color: var(--accent); }

.faq-item > .faq-body {
  height: 0;
  padding: 0 clamp(18px, 3vw, 28px);
  overflow: hidden;
  transition: height 360ms cubic-bezier(.4,0,.2,1),
              padding-block-end 360ms cubic-bezier(.4,0,.2,1);
}
.faq-item[open] > .faq-body {
  height: auto;
  padding-block-end: 22px;
}
@media (prefers-reduced-motion: reduce) {
  .faq-item > .faq-body { transition: none; }
}
.faq-body p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ---- TEAM ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 28px);
}
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), box-shadow 280ms cubic-bezier(.2,.7,.2,1);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px -12px rgba(255,87,34,0.14);
}
.team-img {
  width: 100%; aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--surface-2);
}
.team-body { padding: clamp(16px, 2vw, 24px); }
.team-name { font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.team-role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 10px;
}
.team-bio { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.6; }

/* ---- CONTACT CHANNELS ---- */
.contact-channels {
  display: grid; gap: 18px;
}
.contact-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  transition: transform 240ms cubic-bezier(.4,0,.2,1), background 240ms;
  border-radius: var(--radius);
  padding-left: 8px;
}
.contact-row:hover {
  transform: translateX(4px);
  background: var(--surface-2);
}
.contact-row svg {
  width: 20px; height: 20px;
  color: var(--ink-soft);
  transition: color 240ms;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-row:hover svg { color: var(--accent); }
.contact-label {
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 2px;
}
.contact-value {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.contact-value a { color: var(--accent); transition: color 200ms; }
.contact-value a:hover { color: var(--ink); }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: clamp(40px, 8vw, 72px) 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: 40px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand { max-width: 300px; }
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 14px;
}
.footer-heading {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.footer-links a {
  display: block; padding: 5px 0;
  font-size: 0.88rem;
  transition: color 200ms, padding-left 200ms;
}
.footer-links a:hover { color: var(--accent); padding-left: 6px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 0.78rem;
}
.footer-legal a { margin-left: 16px; transition: color 200ms; }
.footer-legal a:hover { color: var(--accent); }

/* ---- REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms cubic-bezier(.2,.7,.2,1), transform 600ms cubic-bezier(.2,.7,.2,1);
}
.reveal.is-in { opacity: 1; transform: none; }

.reveal-stagger { transition-delay: calc(var(--i, 0) * 80ms); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
html.no-js .reveal { opacity: 1; transform: none; }

/* ---- COUNTER UP ---- */
.counter { font-variant-numeric: tabular-nums; }

/* ---- PARALLAX ---- */
.parallax-wrap {
  overflow: hidden;
  position: relative;
}
.parallax-img {
  will-change: transform;
  transition: transform 50ms linear;
}

/* ---- SECTION DIVIDER (technical line) ---- */
.tech-divider {
  width: 100%; height: 40px;
  display: block;
  margin: 0 auto;
}
.tech-divider line {
  stroke: var(--line-strong);
  stroke-width: 1;
  stroke-dasharray: 4 4;
}
.tech-divider circle { fill: var(--accent); }

/* ---- COOKIE BANNER ---- */
.cookie-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: 0 16px 48px -12px rgba(0,0,0,0.2);
  z-index: 9999;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), opacity 240ms;
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }

@media (min-width: 640px) {
  .cookie-banner { left: 24px; right: auto; max-width: 420px; }
}

.cookie-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.cookie-text {
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 16px;
}
.cookie-actions {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.cookie-actions button {
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  min-height: 44px;
  transition: background 200ms, color 200ms, border-color 200ms;
}
.cookie-actions button:hover { border-color: var(--ink); }
.cookie-actions .cookie-accept {
  background: var(--ink); color: var(--surface); border-color: var(--ink);
}
.cookie-actions .cookie-accept:hover { background: var(--accent); border-color: var(--accent); color: var(--surface); }
.cookie-actions .cookie-reject:hover { background: var(--surface-2); color: var(--ink); }
.cookie-actions .cookie-settings:hover { background: var(--surface-2); color: var(--ink); }

/* ---- FOCUS RING ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---- UTILITY ---- */
.text-center { text-align: center; }
.mt-xs { margin-top: 8px; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 28px; }
.mt-lg { margin-top: 48px; }
.mb-sm { margin-bottom: 16px; }
.mb-md { margin-bottom: 28px; }

/* ---- NICHE ANIMATIONS: Industrial ---- */

/* Blueprint grid background */
@keyframes blueprintFade {
  0%, 100% { opacity: 0.03; }
  50% { opacity: 0.07; }
}
.blueprint-bg {
  background-image:
    linear-gradient(var(--accent-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--accent-2) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: blueprintFade 10s ease-in-out infinite;
}

/* Crosshair pulse on stats */
@keyframes crosshairPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.12); }
}
.crosshair-icon {
  animation: crosshairPulse 3s ease-in-out infinite;
}

/* Measurement tick on section headers */
@keyframes tickDraw {
  from { width: 0; }
  to { width: 48px; }
}
.section-header-tick {
  display: block;
  height: 2px;
  background: var(--accent);
  margin-top: 12px;
  width: 0;
}
.is-in .section-header-tick { animation: tickDraw 0.7s 0.3s cubic-bezier(.2,.7,.2,1) forwards; }

/* Drone float */
@keyframes droneFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-8px) rotate(1deg); }
  75% { transform: translateY(4px) rotate(-0.5deg); }
}
.drone-float { animation: droneFloat 8s ease-in-out infinite; }

/* Elevation number flicker */
@keyframes elevFlicker {
  0%, 85%, 100% { opacity: 1; }
  88% { opacity: 0.4; }
  92% { opacity: 0.9; }
}
.elev-flicker { animation: elevFlicker 5s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .blueprint-bg { animation: none; }
  .crosshair-icon { animation: none; opacity: 0.5; }
  .is-in .section-header-tick { animation: none; width: 48px; }
  .drone-float { animation: none; }
  .elev-flicker { animation: none; }
}

/* ---- POLICY / LEGAL PAGES ---- */
.legal-content h2 { margin-top: 40px; margin-bottom: 16px; font-size: 1.4rem; }
.legal-content h3 { margin-top: 28px; margin-bottom: 12px; font-size: 1.15rem; }
.legal-content p { margin-bottom: 14px; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.75; }
.legal-content ul { padding-left: 24px; margin-bottom: 14px; }
.legal-content ul li { margin-bottom: 6px; color: var(--ink-soft); font-size: 0.95rem; list-style: disc; }

/* ---- THANK YOU ---- */
.thankyou-section {
  min-height: 60vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 80px 0;
}
.thankyou-icon { margin-bottom: 20px; }
.thankyou-icon svg { width: 64px; height: 64px; color: var(--accent); }

/* ---- 404 ---- */
.not-found-section {
  min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 80px 0;
}
.not-found-code {
  font-family: var(--font-mono);
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 800;
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 12px;
}

/* ---- SITEMAP PAGE ---- */
.sitemap-list { padding-left: 0; }
.sitemap-list li {
  list-style: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.sitemap-list a {
  font-weight: 600;
  color: var(--accent);
  transition: color 200ms;
}
.sitemap-list a:hover { color: var(--ink); }
.sitemap-list .sitemap-desc {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 2px;
}

/* ---- CONTACT PAGE 2-col layout ---- */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 60px);
  margin-top: 48px;
}
@media (max-width: 768px) {
  .contact-page-grid { grid-template-columns: 1fr; }
}

/* hakkimizda 2-col */
.about-twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-top: 40px;
}
@media (max-width: 640px) {
  .about-twocol { grid-template-columns: 1fr; }
}

/* ---- HAMBURGER MOBILE ENHANCEMENT ---- */
@media (max-width: 1024px) {
  .nav-toggle {
    background: rgba(28,31,38,0.12);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    transition: background 200ms, border-color 200ms, box-shadow 200ms;
    flex-shrink: 0;
  }
  .nav-toggle:hover {
    background: rgba(255,87,34,0.10);
    border-color: var(--accent);
  }
  .nav-toggle:focus-visible {
    background: rgba(255,87,34,0.10);
    border-color: var(--accent);
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(255,87,34,0.12);
  }
  .nav-toggle span {
    width: 22px;
    height: 3px;
    background: var(--ink);
    border-radius: 2px;
  }
}

/* ---- TEAM IMAGE PLACEHOLDER ---- */
.team-img:empty,
.team-img:not(:has(img)) {
  background-color: var(--surface-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 100' fill='none' stroke='%235A5F6B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' opacity='0.25'%3E%3Ccircle cx='40' cy='30' r='14'/%3E%3Cpath d='M12 90c0-16 12-28 28-28s28 12 28 28'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center 55%;
  background-size: 32%;
}

/* ---- COOKIE BANNER ENHANCEMENTS ---- */
@media (max-width: 640px) {
  .cookie-banner {
    bottom: 0; left: 0; right: 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 16px 20px;
    max-width: 100%;
  }
  .cookie-text { margin-bottom: 12px; }
}

.cookie-reject {
  border-width: 2px;
  border-color: var(--ink);
  font-weight: 700;
  color: var(--ink);
  background: var(--surface-2);
}
.cookie-reject:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255,87,34,0.08);
}

/* ---- TABLE SCROLL INDICATOR (wrapper) ---- */
.table-scroll-wrap {
  position: relative;
  overflow: hidden;
  margin: 18px 0;
}
.table-scroll-wrap > .table-scroll {
  margin: 0;
}
.table-scroll-wrap::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 32px;
  background: linear-gradient(90deg, transparent, var(--bg));
  pointer-events: none;
  opacity: 1;
  transition: opacity 300ms;
  z-index: 2;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.table-scroll-wrap.scrolled-end::after { opacity: 0; }
.section-dark .table-scroll-wrap::after {
  background: linear-gradient(90deg, transparent, var(--ink));
}
[style*="background:var(--surface)"] .table-scroll-wrap::after,
.section[style*="background:var(--surface)"] .table-scroll-wrap::after {
  background: linear-gradient(90deg, transparent, var(--surface));
}

/* ---- ENHANCED CARD HOVER ---- */
.card {
  will-change: transform;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  opacity: 0;
  background: linear-gradient(135deg, rgba(255,87,34,0.04), transparent 60%);
  transition: opacity 350ms cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
  z-index: 1;
}
.card:hover::before { opacity: 1; }
.card { position: relative; }

/* ---- ENHANCED BUTTON HOVER ---- */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}
.btn-primary:hover::before {
  transform: translateX(100%);
}

/* ---- TIMELINE ENHANCEMENTS ---- */
.timeline-step {
  transition: transform 240ms cubic-bezier(.2,.7,.2,1);
}
.timeline-step:hover {
  transform: translateX(4px);
}
.timeline-step:hover .timeline-dot {
  background: var(--accent);
  color: #fff;
  transition: background 240ms, color 240ms;
}
.timeline-dot {
  transition: background 240ms cubic-bezier(.2,.7,.2,1), color 240ms cubic-bezier(.2,.7,.2,1), box-shadow 240ms;
}
.timeline-step:hover .timeline-dot {
  box-shadow: 0 0 0 4px rgba(255,87,34,0.15);
}

/* ---- TESTIMONIAL CARD ENHANCEMENTS ---- */
.testimonial-card::before {
  transition: opacity 280ms, transform 280ms cubic-bezier(.2,.7,.2,1);
}
.testimonial-card:hover::before {
  opacity: 0.35;
  transform: scale(1.15);
}

/* ---- FAQ ENHANCEMENTS ---- */
.faq-item summary {
  border-radius: var(--radius);
  padding-left: 4px;
  padding-right: 4px;
  transition: color 200ms, background 200ms;
}
.faq-item summary:hover {
  background: rgba(255,87,34,0.04);
}

/* ---- CONTACT ROW ENHANCEMENTS ---- */
.contact-row:hover {
  background: rgba(255,87,34,0.03);
}
.contact-row:hover .contact-label {
  color: var(--accent);
}
.contact-label {
  transition: color 240ms;
}

/* ---- FOOTER LINK HOVER ---- */
.footer-links a {
  position: relative;
}
.footer-links a::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width 220ms cubic-bezier(.2,.7,.2,1);
  transform: translateY(-50%);
}
.footer-links a:hover::before { width: 6px; }
.footer-links a:hover { padding-left: 12px; }

/* ---- INDUSTRIAL SCAN LINE (hero) ---- */
@keyframes heroScanLine {
  0% { top: -2px; opacity: 0; }
  5% { opacity: 0.5; }
  95% { opacity: 0.5; }
  100% { top: 100%; opacity: 0; }
}
.hero-visual::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  z-index: 4;
  pointer-events: none;
  animation: heroScanLine 6s 2s cubic-bezier(.4,0,.6,1) infinite;
}

/* ---- STAGGER REVEAL TIMING (smoother) ---- */
.reveal-stagger {
  transition-delay: calc(var(--i, 0) * 100ms);
  transition-timing-function: cubic-bezier(.16,.73,.24,.99);
}

/* ---- TABLE ROW HOVER (section-dark) ---- */
.section-dark .tech-table tbody tr {
  transition: background 200ms;
}
.section-dark .tech-table tbody tr:hover {
  background: rgba(255,87,34,0.08);
}

/* ---- PRICING TABLE MIN-WIDTH ---- */
.price-table { min-width: 680px; }

@media (max-width: 640px) {
  .price-table { min-width: 600px; }
  .price-table td,
  .price-table th {
    padding: 10px 12px;
    font-size: 0.78rem;
  }
}

/* ---- SCROLL PROGRESS ---- */
.scroll-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  background: var(--accent);
  width: 0;
  z-index: 2;
  pointer-events: none;
  transition: none;
}

/* ---- DRAWER CLOSE BUTTON ---- */

/* ---- INDUSTRIAL GRID SHIMMER ON HERO KEYS ---- */
.hero-key {
  transition: border-color 240ms, color 240ms, background 240ms;
}
.hero-key:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255,87,34,0.04);
}

/* ---- CARD IMAGE ZOOM ON HOVER ---- */
.card-img {
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}
.card:hover .card-img {
  transform: scale(1.04);
}

/* ---- TEAM CARD IMAGE ZOOM ON HOVER ---- */
.team-img {
  transition: background-size 600ms cubic-bezier(.2,.7,.2,1), transform 400ms cubic-bezier(.2,.7,.2,1);
}
.team-card:hover .team-img {
  background-size: 34%;
}

/* ---- TRUST BADGE HOVER ---- */
.trust-badge {
  transition: border-color 200ms, color 200ms, background 200ms, transform 200ms;
}
.trust-badge:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255,87,34,0.04);
  transform: translateY(-1px);
}

/* ---- CARD TAG HOVER ---- */
.card-tag {
  transition: border-color 200ms, color 200ms, background 200ms;
}
.card:hover .card-tag {
  border-color: rgba(255,87,34,0.3);
}

/* ---- MATRIX TABLE CHECK PULSE ON ROW HOVER ---- */
.matrix-check {
  transition: transform 200ms;
}
.tech-table tbody tr:hover .matrix-check {
  transform: scale(1.2);
}

/* ---- REDUCED MOTION FOR NEW EFFECTS ---- */
@media (prefers-reduced-motion: reduce) {
  .hero-visual::after { animation: none; display: none; }
  .card::before { transition: none; }
  .btn-primary::before { transition: none; display: none; }
  .timeline-step { transition: none; }
  .timeline-step:hover { transform: none; }
  .timeline-dot { transition: none; }
  .testimonial-card::before { transition: none; }
  .faq-item summary { transition: none; }
  .contact-label { transition: none; }
  .footer-links a::before { transition: none; }
  .reveal-stagger { transition-delay: 0ms; }
  .hero-key { transition: none; }
  .card-img { transition: none; }
  .card:hover .card-img { transform: none; }
  .team-img { transition: none; }
  .trust-badge { transition: none; }
  .trust-badge:hover { transform: none; }
  .card-tag { transition: none; }
  .matrix-check { transition: none; }
  .tech-table tbody tr:hover .matrix-check { transform: none; }
}

/* ---- COOKIE BANNER MOBILE BUTTON SIZING ---- */
@media (max-width: 480px) {
  .cookie-actions {
    flex-wrap: nowrap;
  }
  .cookie-actions button {
    flex: 1;
    padding: 10px 10px;
    font-size: 0.8rem;
    min-height: 44px;
    text-align: center;
    justify-content: center;
  }
}

/* ---- SCROLL HINT PULSE FOR TABLES ON MOBILE ---- */
@media (max-width: 768px) {
  .table-scroll-wrap::after {
    width: 40px;
  }
}

/* ---- HERO HEADER CONTRAST ON MOBILE ---- */
@media (max-width: 768px) {
  .site-header {
    background: rgba(244,245,247,0.92);
  }
  .site-header.scrolled {
    background: rgba(244,245,247,0.98);
  }
}

/* ---- PRINT ---- */
@media print {
  .site-header, .drawer, .drawer-backdrop, .cookie-banner, .nav-toggle { display: none !important; }
  main { padding-top: 0 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  body { background: #fff; color: #000; }
}
