/* ============================================================
   BryEnerji — Industrial Electrical & Energy
   Design tokens & global styles
   ============================================================ */

:root {
  /* Palette */
  --navy: #0B1220;
  --navy-900: #0B1220;
  --navy-800: #0E1626;
  --navy-700: #111C30;
  --navy-600: #16243C;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --white: #FFFFFF;
  --ink-100: #F4F7FB;
  --ink-300: #C3CDDC;
  --ink-400: #93A1B5;
  --ink-500: #6B7A91;

  /* Accent (overridable by Tweaks) */
  --accent: #FFD700;
  --accent-deep: #E6BE00;
  --accent-ink: #0B1220;
  --glow: 0 0 0 1px rgba(255, 215, 0, 0.35), 0 12px 40px -8px rgba(255, 215, 0, 0.45);

  /* Type */
  --font-display: "Saira Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Spacing / shape */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 9vw, 140px);
  --radius: 4px;
  --radius-lg: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-glow="off"] {
  --glow: 0 0 0 1px rgba(255, 215, 0, 0.0);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* ── Custom scrollbar ───────────────────────────────────── */
* { scrollbar-width: thin; scrollbar-color: var(--accent) var(--navy-800); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track {
  background: var(--navy-800);
  border-left: 1px solid var(--line);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--navy-600), var(--navy-700));
  border: 3px solid var(--navy-800);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(var(--accent), var(--accent-deep));
  border-width: 2px;
}
::-webkit-scrollbar-corner { background: var(--navy-800); }

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--ink-300);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html { overflow-x: clip; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--white);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--accent); color: var(--accent-ink); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── Shared atoms ───────────────────────────────────────── */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow.center::after {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 68px);
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(38px, 5.6vw, 76px);
  margin-top: 18px;
}
.section-head p {
  margin-top: 20px;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink-400);
  max-width: 620px;
}
.section-head.center p { margin-inline: auto; }

.btn {
  --pad-y: 16px;
  --pad-x: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.5), 0 18px 48px -8px rgba(255, 215, 0, 0.6);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}
.btn-block { width: 100%; }
.btn-lg { --pad-y: 19px; --pad-x: 34px; font-size: 19px; }

/* ── Reveal animation ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
[data-delay="4"] { transition-delay: 0.32s; }
[data-delay="5"] { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
  .nav, .scrim, .mobile-menu { position: static; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s var(--ease), backdrop-filter 0.3s var(--ease),
    border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 88px;
  transition: height 0.3s var(--ease);
}
.nav.scrolled {
  background: rgba(11, 18, 32, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.8);
}
.nav.scrolled .nav-inner { height: 68px; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-logo {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
  transition: width 0.3s var(--ease), height 0.3s var(--ease);
}
.nav.scrolled .brand-logo { width: 58px; height: 58px; }
.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--accent);
  border-radius: var(--radius);
  color: var(--accent-ink);
  box-shadow: var(--glow);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 25px;
  letter-spacing: 0.01em;
  color: var(--white);
  text-transform: uppercase;
}
.brand-name b { color: var(--accent); font-weight: 700; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-300);
  border-radius: var(--radius);
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.icon-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-2px); }
.icon-btn.wa:hover { border-color: #25D366; color: #25D366; }

.nav-cta { padding: 12px 22px; font-size: 15px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  place-items: center;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
}
.nav-toggle svg { width: 24px; height: 24px; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, 86vw);
  background: var(--navy-800);
  border-left: 1px solid var(--line);
  z-index: 110;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  padding: 96px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}
.mobile-menu.open { transform: none; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 22px;
  text-transform: uppercase;
  color: var(--white);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 18px; }
.mobile-actions { display: flex; gap: 10px; margin-top: 12px; }
.scrim {
  position: fixed; inset: 0;
  background: rgba(5, 9, 17, 0.6);
  backdrop-filter: blur(3px);
  z-index: 105;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.scrim.show { opacity: 1; pointer-events: auto; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 88px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg image-slot {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.42;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, var(--navy-900) 0%, rgba(11, 18, 32, 0.92) 38%, rgba(11, 18, 32, 0.55) 70%, rgba(11, 18, 32, 0.7) 100%),
    radial-gradient(120% 80% at 0% 100%, rgba(11, 18, 32, 0.9), transparent 60%);
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 80% 10%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 90% at 80% 10%, black, transparent 75%);
  opacity: 0.6;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 4vh, 56px);
  padding-block: clamp(40px, 6vh, 88px);
}
.hero-copy { max-width: 820px; }
.hero-copy .eyebrow { margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.hero h1 .hl { color: var(--accent); }
.hero-sub {
  margin-top: 24px;
  font-size: clamp(17px, 1.55vw, 21px);
  color: var(--ink-300);
  max-width: 560px;
}
.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 4px;
}
.stat {
  padding: 26px 28px 8px 0;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 4.4vw, 62px);
  line-height: 1;
  color: var(--white);
}
.stat-num .suffix { color: var(--accent); }
.stat-label {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--ink-400);
  letter-spacing: 0.02em;
}

/* Hero SPLIT variant */
[data-hero="split"] .hero-bg { inset: 0 0 0 52%; }
[data-hero="split"] .hero-bg::after {
  background:
    linear-gradient(90deg, var(--navy-900) 0%, rgba(11,18,32,0.4) 30%, transparent 60%),
    linear-gradient(0deg, var(--navy-900), transparent 40%);
}
[data-hero="split"] .hero-grid-lines {
  mask-image: radial-gradient(90% 90% at 20% 30%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(90% 90% at 20% 30%, black, transparent 70%);
}
[data-hero="split"] .hero-copy { max-width: 600px; }
@media (min-width: 980px) {
  [data-hero="split"] .hero h1 { font-size: clamp(44px, 5.2vw, 78px); }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding-block: var(--section-y); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.svc-card {
  position: relative;
  padding: 38px 32px 34px;
  border-radius: var(--radius-lg);
  background: var(--navy-800);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}
.svc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 120% at 50% 0%, rgba(255, 215, 0, 0.10), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.svc-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), var(--glow);
}
.svc-card:hover::before { opacity: 1; }
.svc-icon {
  position: relative;
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.25);
  color: var(--accent);
  margin-bottom: 26px;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}
.svc-icon svg { width: 28px; height: 28px; }
.svc-card:hover .svc-icon { background: var(--accent); color: var(--accent-ink); transform: scale(1.05); }
.svc-card h3 { position: relative; font-size: 28px; margin-bottom: 12px; }
.svc-card p { position: relative; font-size: 16px; color: var(--ink-400); line-height: 1.55; }
.svc-no {
  position: absolute;
  top: 28px; right: 30px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-500);
  letter-spacing: 0.1em;
}

/* Card style: OUTLINE */
[data-cards="outline"] .svc-card { background: transparent; }
[data-cards="outline"] .svc-card:hover { background: var(--navy-800); }

/* Card style: ACCENT (top bar) */
[data-cards="accent"] .svc-card { padding-top: 42px; }
[data-cards="accent"] .svc-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
[data-cards="accent"] .svc-card:hover::after { transform: scaleX(1); }

/* ── Dynamic service category cards ─────────────────────── */
.svc-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.svc-cat {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 30px 14px;
  border-radius: var(--radius-lg);
  background: var(--navy-800);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}
.svc-cat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 70% at 50% 0%, rgba(255, 215, 0, 0.10), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.svc-cat::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.svc-cat:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 34px 64px -34px rgba(0, 0, 0, 0.92), var(--glow);
}
.svc-cat:hover::before { opacity: 1; }
.svc-cat:hover::after { transform: scaleX(1); }

.svc-cat-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.svc-cat-ic {
  flex-shrink: 0;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.25);
  color: var(--accent);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.svc-cat-ic svg { width: 27px; height: 27px; }
.svc-cat:hover .svc-cat-ic { background: var(--accent); color: var(--accent-ink); transform: scale(1.06); }
.svc-cat-meta {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.svc-cat:hover .svc-cat-meta { color: var(--accent); border-color: rgba(255, 215, 0, 0.35); }
.svc-cat h3 {
  position: relative;
  font-size: 26px;
  line-height: 1.05;
  margin: 0 0 6px;
  text-wrap: balance;
}
.svc-cat-list {
  position: relative;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
}
.svc-cat-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-400);
  line-height: 1.42;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.svc-cat-list li svg {
  flex-shrink: 0;
  width: 16px; height: 16px;
  margin-top: 2px;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
}
.svc-cat:hover .svc-cat-list li { color: var(--ink-300); }
.svc-cat-list li:hover { transform: translateX(3px); }
.svc-cat-list li:hover svg { transform: scale(1.18); }

/* Outline / accent tweak variants */
[data-cards="outline"] .svc-cat { background: transparent; }
[data-cards="outline"] .svc-cat:hover { background: var(--navy-800); }
[data-cards="filled"] .svc-cat::after,
[data-cards="outline"] .svc-cat::after { display: none; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding-block: var(--section-y); background: var(--navy-800); border-block: 1px solid var(--line); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.about-copy { position: relative; padding-left: 34px; }
.about-accent-line {
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 3px;
  background: var(--line-strong);
  overflow: hidden;
}
.about-accent-line::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 0%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.6);
  transition: height 1.4s var(--ease);
}
.about-copy.in .about-accent-line::after { height: 100%; }
.about-copy h2 { font-size: clamp(34px, 4.4vw, 60px); margin: 16px 0 22px; }
.about-copy > p { color: var(--ink-400); font-size: 17.5px; }
.about-points {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 30px;
}
.about-point h4 {
  font-size: 20px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.about-point h4 svg { width: 19px; height: 19px; color: var(--accent); flex-shrink: 0; }
.about-point p { font-size: 15.5px; color: var(--ink-400); line-height: 1.5; }

.about-visual { position: relative; }
.about-visual image-slot {
  width: 100%;
  aspect-ratio: 4 / 5;
}
.about-frame {
  position: absolute;
  inset: -16px -16px auto auto;
  width: 60%; height: 60%;
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: var(--radius-lg);
  pointer-events: none;
  z-index: 2;
}
.about-badge {
  position: absolute;
  left: -28px; bottom: 36px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 20px 26px;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.7);
  z-index: 3;
}
.about-badge .n { font-family: var(--font-display); font-weight: 700; font-size: 46px; line-height: 1; }
.about-badge .t { font-size: 14px; font-weight: 600; margin-top: 4px; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why { padding-block: var(--section-y); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.why-card {
  display: flex;
  gap: 20px;
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.why-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.why-ic {
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: rgba(255, 215, 0, 0.1);
  color: var(--accent);
}
.why-ic svg { width: 25px; height: 25px; }
.why-card h4 { font-size: 22px; margin-bottom: 8px; }
.why-card p { font-size: 15.5px; color: var(--ink-400); line-height: 1.5; }

/* ============================================================
   PROJECTS
   ============================================================ */
.projects { padding-block: var(--section-y); background: var(--navy-800); border-block: 1px solid var(--line); }
.proj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.proj-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 380px;
  display: flex;
}
.proj-card image-slot {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.proj-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11,18,32,0.15) 0%, rgba(11,18,32,0.55) 45%, rgba(11,18,32,0.96) 100%);
  transition: background 0.4s var(--ease);
}
.proj-card:hover .proj-overlay {
  background: linear-gradient(180deg, rgba(11,18,32,0.35) 0%, rgba(11,18,32,0.7) 45%, rgba(11,18,32,0.98) 100%);
}
.proj-body {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 34px;
  width: 100%;
}
.proj-cat {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.proj-card h3 { font-size: 32px; margin: 12px 0 0; }
.proj-detail {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease), opacity 0.4s var(--ease), margin 0.45s var(--ease);
  color: var(--ink-300);
  font-size: 16px;
}
.proj-card:hover .proj-detail { max-height: 120px; opacity: 1; margin-top: 14px; }
.proj-meta {
  display: flex;
  gap: 24px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.proj-meta span {
  font-size: 13.5px;
  color: var(--ink-400);
  display: flex;
  align-items: center;
  gap: 7px;
}
.proj-meta svg { width: 15px; height: 15px; color: var(--accent); }

/* ============================================================
   REFERENCES
   ============================================================ */
.refs { padding-block: clamp(56px, 7vw, 96px); }
.marquee {
  position: relative;
  overflow: hidden;
  margin-top: 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.ref-logo {
  flex-shrink: 0;
  height: 96px;
  width: 220px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--navy-800);
  color: var(--ink-400);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color 0.3s, border-color 0.3s;
}
.ref-logo:hover { color: var(--white); border-color: var(--line-strong); }
.ref-logo span { color: var(--accent); }

.certs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 48px;
}
.cert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--navy-800);
}
.cert svg { width: 22px; height: 22px; color: var(--accent); }
.cert b { color: var(--white); font-family: var(--font-display); font-size: 18px; letter-spacing: 0.02em; }
.cert small { display: block; font-size: 12px; color: var(--ink-500); }

/* ============================================================
   PROCESS
   ============================================================ */
.process { padding-block: var(--section-y); background: var(--navy-800); border-block: 1px solid var(--line); }
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.timeline-rail {
  position: absolute;
  top: 31px; left: 8%; right: 8%;
  height: 2px;
  background: var(--line-strong);
  z-index: 0;
}
.timeline-rail::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 0%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.6);
  transition: width 2s var(--ease);
}
.timeline.in .timeline-rail::after { width: 100%; }
.step { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.step-dot {
  width: 64px; height: 64px;
  margin: 0 auto 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy-700);
  border: 2px solid var(--line-strong);
  color: var(--ink-400);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  transition: all 0.4s var(--ease);
}
.timeline.in .step-dot {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--navy-900);
}
.timeline.in .step:nth-child(2) .step-dot { transition-delay: 0.3s; }
.timeline.in .step:nth-child(3) .step-dot { transition-delay: 0.7s; }
.timeline.in .step:nth-child(4) .step-dot { transition-delay: 1.1s; }
.timeline.in .step:nth-child(5) .step-dot { transition-delay: 1.5s; }
.timeline.in .step:nth-child(6) .step-dot { transition-delay: 1.9s; }
.step h4 { font-size: 24px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--ink-400); line-height: 1.45; }
.step-text { display: block; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi { padding-block: var(--section-y); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.testi-card {
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: var(--navy-800);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.testi-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.testi-quote { color: var(--accent); font-family: var(--font-display); font-size: 64px; line-height: 0.6; height: 30px; }
.testi-card p { font-size: 17px; color: var(--ink-300); line-height: 1.6; flex: 1; }
.testi-stars { display: flex; gap: 3px; margin: 18px 0; color: var(--accent); }
.testi-stars svg { width: 17px; height: 17px; }
.testi-author { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.testi-ava {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy-600);
  border: 1px solid var(--line-strong);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
}
.testi-author b { color: var(--white); font-size: 17px; display: block; font-weight: 600; }
.testi-author small { color: var(--ink-500); font-size: 14px; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta { padding-block: clamp(40px, 5vw, 64px); }
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--accent);
  color: var(--accent-ink);
  padding: clamp(44px, 6vw, 80px) clamp(32px, 6vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11,18,32,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,18,32,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(80% 120% at 100% 0%, black, transparent 70%);
  mask-image: radial-gradient(80% 120% at 100% 0%, black, transparent 70%);
}
.cta-band .eyebrow { color: var(--accent-ink); }
.cta-band .eyebrow::before { background: var(--accent-ink); }
.cta-text { position: relative; max-width: 640px; }
.cta-text h2 { color: var(--accent-ink); font-size: clamp(32px, 4.4vw, 58px); margin-top: 16px; }
.cta-actions { position: relative; display: flex; gap: 14px; flex-wrap: wrap; }
.btn-dark { background: var(--accent-ink); color: var(--white); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(0,0,0,0.5); }
.btn-wa { background: #25D366; color: #06321a; }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(37,211,102,0.6); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding-block: var(--section-y); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
}
.contact-info .eyebrow { margin-bottom: 18px; }
.contact-info h2 { font-size: clamp(34px, 4.4vw, 56px); margin-bottom: 16px; }
.contact-info > p { color: var(--ink-400); margin-bottom: 36px; max-width: 440px; }
.contact-list { display: flex; flex-direction: column; gap: 8px; }
.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item:last-child { border-bottom: none; }
.contact-item .ci {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.22);
  color: var(--accent);
}
.contact-item .ci svg { width: 22px; height: 22px; }
.contact-item .lbl { font-size: 13px; color: var(--ink-500); font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.contact-item .val { font-size: 19px; color: var(--white); font-weight: 500; margin-top: 2px; }
.contact-item .val a:hover { color: var(--accent); }

.form-card {
  background: var(--navy-800);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--navy-900);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 14px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-500); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.14);
}
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%2393A1B5' d='M0 0h12L6 8z'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; }
.form-note { font-size: 13px; color: var(--ink-500); margin-top: 14px; text-align: center; }
.form-ok {
  display: none;
  margin-top: 16px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #6ee7a0;
  font-size: 15px;
  text-align: center;
}
.form-ok.show { display: block; }

.map-wrap {
  margin-top: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 320px;
  filter: grayscale(0.4) contrast(1.05) brightness(0.85);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-900);
  border-top: 1px solid var(--line);
  padding-top: clamp(56px, 7vw, 88px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand .brand { margin-bottom: 22px; }
.footer-brand p { color: var(--ink-400); font-size: 15.5px; max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 20px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--ink-400); font-size: 15.5px; transition: color 0.2s, padding 0.2s; }
.footer-col a:hover { color: var(--accent); padding-left: 4px; }
.footer-areas { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-areas span {
  font-size: 13.5px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-300);
  white-space: nowrap;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--ink-500);
}
.footer-bottom a:hover { color: var(--ink-300); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .services-grid, .why-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-cat h3 { font-size: 23px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 30px; }
  .timeline { grid-template-columns: repeat(3, 1fr); gap: 36px 16px; }
  .timeline-rail { display: none; }
}
@media (max-width: 900px) {
  .nav-links, .nav-actions .desk { display: none; }
  .nav-toggle { display: grid; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; max-width: 480px; }
  .about-badge { left: auto; right: 20px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat { border-bottom: 1px solid var(--line); padding-bottom: 22px; }
}
@media (max-width: 680px) {
  body { font-size: 17px; }
  .services-grid, .why-grid, .testi-grid, .proj-grid, .svc-cat-grid { grid-template-columns: 1fr; }
  .svc-cat { padding: 28px 24px 12px; }
  .about-points, .form-row { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr !important; gap: 16px; text-align: left; }
  .timeline-rail { display: none !important; }
  .step { display: flex !important; flex-direction: row !important; gap: 16px; align-items: center !important; text-align: left !important; padding: 0 !important; }
  .step-dot { margin: 0 !important; flex: 0 0 52px !important; width: 52px !important; height: 52px !important; font-size: 18px !important; }
  .step-text { flex: 1; }
  .step h4 { font-size: 17px !important; margin-bottom: 4px !important; }
  .step p { font-size: 14px !important; margin: 0 !important; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   PRODUCTION ADDITIONS (PHP conversion)
   - .img-slot   : themed placeholder replacing <image-slot>
   - .hp-field   : honeypot (hidden from humans)
   - .form-err   : form error banner
   ============================================================ */

/* Image placeholders — inherit the same box the <image-slot> had */
.about-visual .img-slot {
  width: 100%;
  aspect-ratio: 4 / 5;
}
.proj-card .img-slot {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

/* Themed empty-state look (dark, industrial, on-brand) */
.img-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255,215,0,0.05), rgba(255,215,0,0) 60%),
    radial-gradient(120% 120% at 50% 0%, var(--navy-600), var(--navy-800) 70%);
  border: 1px solid var(--line-strong);
  background-image:
    linear-gradient(135deg, rgba(255,215,0,0.05), rgba(255,215,0,0) 60%),
    radial-gradient(120% 120% at 50% 0%, var(--navy-600), var(--navy-800) 70%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 12px);
}
img.img-slot {
  object-fit: cover;
  padding: 0;
  border: none;
  background: none;
}
/* Hide the decorative corner frame when a real image is shown */
img.img-slot ~ .about-frame { display: none; }
.img-slot .img-slot-cap {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-500);
  text-transform: uppercase;
}
.proj-card .img-slot .img-slot-cap { color: var(--ink-400); }

/* When a real image is added later, drop this on the element:
   <div class="img-slot" style="background-image:url('assets/img/about.jpg');
        background-size:cover;background-position:center"> ... </div>
   The placeholder caption can then be removed. */

/* Honeypot — visually + audibly hidden, still submittable by bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Form error banner — mirrors .form-ok but red */
.form-err {
  display: none;
  margin-top: 16px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(229, 62, 62, 0.12);
  border: 1px solid rgba(229, 62, 62, 0.4);
  color: #fca5a5;
  font-size: 15px;
  text-align: center;
}
.form-err.show { display: block; }

/* ============================================================
   CUSTOMER REVIEWS (yorum sistemi)
   ============================================================ */
.review-form-wrap {
  max-width: 760px;
  margin: clamp(40px, 6vw, 72px) auto 0;
}
.review-form-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: clamp(22px, 3vw, 30px);
  margin: 0 0 20px;
  text-align: center;
}
.review-form .field label small { color: var(--ink-500); font-weight: 400; text-transform: none; }

/* Star rating input — reverse-ordered radios, fill on hover/check */
.star-input {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}
.star-input input { position: absolute; opacity: 0; width: 0; height: 0; }
.star-input label {
  cursor: pointer;
  width: 34px; height: 34px;
  color: var(--ink-500);
  transition: color 0.15s var(--ease), transform 0.1s var(--ease);
}
.star-input label::before {
  content: "";
  display: block;
  width: 100%; height: 100%;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='m12 2 2.4 7.4H22l-6 4.6 2.3 7.4-6.3-4.6L5.7 21.4 8 14 2 9.4h7.6z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='m12 2 2.4 7.4H22l-6 4.6 2.3 7.4-6.3-4.6L5.7 21.4 8 14 2 9.4h7.6z'/></svg>") center/contain no-repeat;
}
/* Hover + checked: this star and all following (visually previous) light up */
.star-input label:hover,
.star-input label:hover ~ label,
.star-input input:checked ~ label {
  color: var(--accent);
}
.star-input label:hover { transform: scale(1.08); }
.star-input input:focus-visible + label {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ============================================================
   CALL MODAL (çoklu numara seçim penceresi)
   ============================================================ */
.call-modal{
  position:fixed; inset:0; z-index:1000;
  display:none; align-items:center; justify-content:center;
  padding:20px;
}
.call-modal.open{display:flex}
.call-modal-scrim{
  position:absolute; inset:0;
  background:rgba(6,10,18,.72); backdrop-filter:blur(3px);
  animation:callFade .2s var(--ease);
}
.call-modal-box{
  position:relative; z-index:1;
  width:100%; max-width:440px;
  background:var(--navy-800);
  border:1px solid var(--line-strong);
  border-radius:var(--radius-lg);
  padding:30px 26px 26px;
  box-shadow:0 30px 80px -20px rgba(0,0,0,.8);
  animation:callPop .25s var(--ease);
}
@keyframes callFade{from{opacity:0}to{opacity:1}}
@keyframes callPop{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
.call-modal-x{
  position:absolute; top:14px; right:14px;
  width:36px; height:36px; display:grid; place-items:center;
  background:transparent; border:1px solid var(--line); border-radius:var(--radius);
  color:var(--ink-300); cursor:pointer; transition:background .15s,color .15s;
}
.call-modal-x:hover{background:var(--navy-700); color:var(--white)}
.call-modal-x svg{width:18px;height:18px}
.call-modal-box h3{
  font-family:var(--font-display); text-transform:uppercase; letter-spacing:-.01em;
  font-size:26px; margin:0 0 4px;
}
.call-modal-sub{color:var(--ink-400); font-size:15px; margin:0 0 20px}
.call-list{display:flex; flex-direction:column; gap:12px}
.call-row{
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  flex-wrap:wrap;
  padding:14px 16px;
  background:var(--navy-700);
  border:1px solid var(--line);
  border-radius:var(--radius);
}
.call-row-info{display:flex; flex-direction:column; min-width:0}
.call-row-label{font-size:12px; text-transform:uppercase; letter-spacing:.04em; color:var(--accent); font-weight:700}
.call-row-num{font-family:var(--font-mono); font-size:15px; color:var(--ink-100); margin-top:2px}
.call-row-actions{display:flex; gap:8px; flex-wrap:wrap}
.call-row-actions .btn svg{width:16px;height:16px}
@media (max-width:460px){
  .call-row{flex-direction:column; align-items:stretch}
  .call-row-actions{justify-content:stretch}
  .call-row-actions .btn{flex:1; justify-content:center}
}
/* Small button variant (used in call modal) */
.btn-sm{padding:9px 16px; font-size:14px}
