/* ==========================================================================
   IZTECH MEDIA — Design tokens
   ========================================================================== */
:root {
  /* brand green never changes between themes */
  --brand-green: #006039;
  --brand-green-dark: #004d2e;
  --brand-green-tint: #e8f0ec;
  --brand-green-glow: rgba(0, 96, 39, 0.55);
  --hero-ghost: #dedcd7;

  /* theme-adaptive ink & surface (light values — default) */
  --black: #0a0a0b;
  --dark-gray: #5a5a5f;
  --light-gray: #bababd;
  --border: #e6e6e3;
  --off-white: #f7f7f5;
  --white: #ffffff;

  /* always-dark panels (footer, cta band, fab) — constant in both themes */
  --invert-bg: #0a0a0b;
  --invert-text: #ffffff;
  --invert-muted: #b8b8bd;

  --font-base: "Söhne", "Inter", "Helvetica Neue", Arial, sans-serif;

  --container: 1320px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --section-py: 96px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
  :root { --section-py: 128px; }
}
@media (min-width: 1200px) {
  :root { --section-py: 168px; }
}

/* ==========================================================================
   Dark theme — same brand green, inverted ink & surfaces
   ========================================================================== */
:root[data-theme="dark"] {
  --black: #f5f5f4;
  --dark-gray: #a3a3a8;
  --light-gray: #75757a;
  --border: rgba(255, 255, 255, 0.12);
  --off-white: #0a0a0b;
  --white: #121214;
  --brand-green-glow: rgba(0, 179, 107, 0.45);
  --hero-ghost: #1a1a1d;
}
:root[data-theme="dark"] body { color-scheme: dark; }

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
input, textarea { font: inherit; color: inherit; }

body {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
@media (min-width: 768px) { .container { padding-inline: 40px; } }

.section { padding-block: var(--section-py); }
.section-tight { padding-block: calc(var(--section-py) * 0.6); }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--black);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-green);
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 1.5px;
  background: var(--brand-green);
}

.h2 {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  max-width: 20ch;
}
.h2-sub {
  margin-top: 16px;
  max-width: 46ch;
  color: var(--dark-gray);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
}
.section-head { margin-bottom: 64px; }

.accent { color: var(--brand-green); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary { background: var(--brand-green); color: var(--invert-text); }
.btn-primary:hover { background: var(--brand-green-dark); }

.btn-secondary { background: transparent; border: 1px solid var(--black); color: var(--black); }
.btn-secondary:hover { background: var(--black); color: var(--white); }

.btn-ghost { background: transparent; color: var(--black); padding-inline: 0; }
.btn-ghost::after {
  content: "";
  display: block;
  height: 1px;
  background: var(--black);
  margin-top: 4px;
  transition: background 0.25s var(--ease);
}
.btn-ghost:hover { color: var(--brand-green); }
.btn-ghost:hover::after { background: var(--brand-green); }

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-block: 24px;
  transition: padding 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.navbar.is-stuck {
  padding-block: 16px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}
:root[data-theme="dark"] .navbar.is-stuck { background: rgba(10, 10, 11, 0.86); }

.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.logo-word { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; color: var(--black); }
.logo-sub { margin-top: 4px; font-size: 0.56rem; font-weight: 700; letter-spacing: 0.45em; padding-left: 0.45em; color: var(--brand-green); }

.nav-links { display: none; align-items: center; gap: 40px; }
.nav-links a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--black);
  padding-block: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--brand-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }

.navbar-actions { display: flex; align-items: center; gap: 16px; }
.navbar-actions .btn-primary { padding: 11px 20px; font-size: 0.88rem; }

.theme-toggle {
  position: relative;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--black);
  flex-shrink: 0;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.theme-toggle:hover { border-color: var(--brand-green); }
.theme-toggle svg { width: 17px; height: 17px; position: absolute; transition: opacity 0.25s var(--ease), transform 0.4s var(--ease); }
.theme-toggle .icon-sun { opacity: 0; transform: rotate(-40deg) scale(0.6); }
.theme-toggle .icon-moon { opacity: 1; transform: rotate(0) scale(1); }
:root[data-theme="dark"] .theme-toggle .icon-sun { opacity: 1; transform: rotate(0) scale(1); }
:root[data-theme="dark"] .theme-toggle .icon-moon { opacity: 0; transform: rotate(40deg) scale(0.6); }

.nav-toggle {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  position: relative;
  display: block;
  width: 20px; height: 1.5px;
  background: var(--black);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle span { margin-block: 5px; }

@media (min-width: 992px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  transform: translateY(-100%);
  transition: transform 0.4s var(--ease);
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu a {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding-block: 14px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .btn { margin-top: 32px; }

body.menu-open { overflow: hidden; }
body.menu-open .nav-toggle span { opacity: 0; }
body.menu-open .nav-toggle::before { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .nav-toggle::after { transform: translateY(-6.5px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding-top: clamp(140px, 20vw, 220px);
  padding-bottom: clamp(80px, 10vw, 140px);
  overflow: hidden;
  background: var(--off-white);
}
.hero-grid {
  display: grid;
  gap: 48px;
  align-items: end;
}
.hero-grid > *,
.service-detail > *,
.process-item > *,
.contact-grid > *,
.footer-top > *,
.pillars-grid > * { min-width: 0; }
@media (min-width: 992px) {
  .hero-grid { grid-template-columns: 1fr auto; }
}

.hero-eyebrow { margin-bottom: 28px; }
.hero-title {
  font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5.4rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.hero-lede {
  margin-top: 32px;
  max-width: 46ch;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
  color: var(--dark-gray);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }

.hero-graphic {
  position: relative;
  width: clamp(140px, 22vw, 260px);
  aspect-ratio: 1 / 1.15;
  justify-self: end;
}
.hero-graphic svg { width: 100%; height: 100%; }
.hero-graphic path, .hero-graphic line {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw 1.4s var(--ease) 0.3s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ==========================================================================
   Hero background — globe + chess queen wrapped in a green mist
   ========================================================================== */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  display: none;
}
@media (min-width: 768px) { .hero-bg { display: block; } }
.hero > .container { position: relative; z-index: 1; }

.hero-mist {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  background: radial-gradient(circle, var(--brand-green-glow), transparent 70%);
  animation: mist-drift 14s ease-in-out infinite alternate;
}
.hero-mist-a { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; right: -6%; top: -8%; }
.hero-mist-b { width: 30vw; height: 30vw; max-width: 420px; max-height: 420px; right: 16%; top: 42%; animation-delay: -5s; opacity: 0.85; }
.hero-mist-c { width: 22vw; height: 22vw; max-width: 300px; max-height: 300px; right: 2%; top: 58%; animation-delay: -9s; opacity: 0.7; }
@keyframes mist-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-3%, 3%) scale(1.08); }
}

.hero-illustration {
  position: absolute;
  right: -2%;
  top: 4%;
  height: 92%;
  width: auto;
  color: var(--hero-ghost);
  opacity: 0.9;
}
.hero-globe { fill: none; stroke: currentColor; stroke-width: 1; }
.hero-queen { fill: currentColor; stroke: none; }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
/* Content stays fully visible without JS (a blocked script, a crawler that
   doesn't execute JS, an error) — the fade/slide-in is opt-in, only once the
   early inline script in <head> confirms JS is actually running. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Marquee strip (services ticker)
   ========================================================================== */
.strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding-block: 20px;
}
.strip-track {
  display: flex;
  width: max-content;
  animation: strip-scroll 32s linear infinite;
}
.strip:hover .strip-track { animation-play-state: paused; }
.strip-group {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
  flex-shrink: 0;
}
.strip-track span {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--dark-gray);
  white-space: nowrap;
}
.strip-track .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-green);
  flex-shrink: 0;
}
@keyframes strip-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.service-card:hover {
  border-color: var(--brand-green);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(10, 10, 11, 0.06);
}
:root[data-theme="dark"] .service-card:hover { box-shadow: 0 20px 40px rgba(0, 179, 107, 0.12); }
.service-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--brand-green-tint);
  color: var(--brand-green);
  margin-bottom: 24px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { color: var(--dark-gray); font-size: 0.95rem; margin-bottom: 20px; }
.service-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.88rem; font-weight: 600; color: var(--black);
}
.service-link svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.service-card:hover .service-link { color: var(--brand-green); }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ==========================================================================
   Service detail rows
   ========================================================================== */
.service-detail {
  display: grid;
  gap: 40px;
  padding-block: 56px;
  border-top: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: 1px solid var(--border); }
@media (min-width: 992px) {
  .service-detail { grid-template-columns: 0.9fr 1.3fr 1fr; align-items: start; gap: 56px; }
}
.service-detail-index { font-size: 0.85rem; font-weight: 600; color: var(--light-gray); }
.service-detail-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); margin-top: 8px; }
.service-detail-msg { font-size: 1.05rem; font-weight: 600; margin-bottom: 12px; }
.service-detail-sub { color: var(--dark-gray); }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tag {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--dark-gray);
}

/* ==========================================================================
   Process
   ========================================================================== */
.process-list { border-top: 1px solid var(--border); }
.process-item {
  display: grid;
  gap: 16px;
  padding-block: 40px;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s var(--ease);
}
@media (min-width: 768px) {
  .process-item { grid-template-columns: 100px 1fr 2fr; align-items: baseline; gap: 32px; }
}
.process-item:hover { background: var(--off-white); }
.process-num { font-size: 1rem; font-weight: 700; color: var(--brand-green); }
.process-item h3 { font-size: 1.3rem; }
.process-item p { color: var(--dark-gray); max-width: 52ch; }

/* ==========================================================================
   Pillars (why us)
   ========================================================================== */
.pillars-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
@media (min-width: 768px) { .pillars-grid { grid-template-columns: repeat(3, 1fr); } }
.pillar { background: var(--white); padding: 44px 36px; }
.pillar-num {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--brand-green); margin-bottom: 18px; display: block;
}
.pillar h3 { font-size: 1.25rem; margin-bottom: 12px; }
.pillar p { color: var(--dark-gray); font-size: 0.95rem; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  position: relative;
  background: var(--invert-bg);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 72px);
  overflow: hidden;
  text-align: center;
}
.cta-band h2 { color: var(--invert-text); max-width: 18ch; margin-inline: auto; }
.cta-band p { color: var(--invert-muted); max-width: 48ch; margin: 20px auto 0; }
.cta-band .btn-group { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.cta-band .btn-secondary { border-color: rgba(255,255,255,0.35); color: var(--invert-text); }
.cta-band .btn-secondary:hover { background: var(--invert-text); color: var(--invert-bg); }
.cta-line {
  position: absolute;
  top: -20%;
  right: 6%;
  width: 1px;
  height: 140%;
  background: linear-gradient(var(--brand-green), transparent);
  opacity: 0.5;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; gap: 56px; }
@media (min-width: 992px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.contact-info-item { padding-block: 22px; border-top: 1px solid var(--border); }
.contact-info-item:last-child { border-bottom: 1px solid var(--border); }
.contact-info-item span { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-green); margin-bottom: 6px; }
.contact-info-item a, .contact-info-item p { font-size: 1.1rem; font-weight: 500; }

.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 8px; color: var(--dark-gray); }
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--off-white);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-green);
  background: var(--white);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { margin-top: 16px; font-size: 0.82rem; color: var(--dark-gray); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--invert-bg); color: var(--invert-text); padding-block: 80px 32px; }
.footer-top { display: grid; gap: 48px; margin-bottom: 64px; }
@media (min-width: 992px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; } }
.footer-brand .logo-word { color: var(--invert-text); }
.footer-brand .logo-sub { color: var(--brand-green); }
.footer-brand p { margin-top: 20px; color: var(--invert-muted); max-width: 32ch; font-size: 0.92rem; }
.footer-col h4 { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--invert-muted); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: 0.95rem; color: var(--invert-text); opacity: 0.85; transition: opacity 0.25s var(--ease), color 0.25s var(--ease); }
.footer-col a:hover { opacity: 1; color: var(--brand-green); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.82rem; color: var(--invert-muted);
}
.footer-social { display: flex; gap: 18px; }
.footer-social a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: border-color 0.25s var(--ease), background 0.25s var(--ease); }
.footer-social a svg { width: 15px; height: 15px; }
.footer-social a:hover { border-color: var(--brand-green); background: var(--brand-green); }

/* ==========================================================================
   Back to top
   ========================================================================== */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px; height: 44px;
  background: var(--invert-bg);
  color: var(--invert-text);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
  z-index: 90;
}
.to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { background: var(--brand-green); }
.to-top svg { width: 16px; height: 16px; }

/* ==========================================================================
   Blog — listing
   ========================================================================== */
.blog-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(10, 10, 11, 0.08); border-color: var(--brand-green); }
:root[data-theme="dark"] .blog-card:hover { box-shadow: 0 20px 40px rgba(0, 179, 107, 0.14); }

.blog-cover {
  --cover-img: none;
  aspect-ratio: 1 / 1;
  background-image: var(--cover-img), radial-gradient(120% 120% at 85% 15%, rgba(0,96,57,0.55), transparent 60%), linear-gradient(160deg, #0a0a0b, #0f1f17);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  position: relative;
}
.blog-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,11,0.05), rgba(0,96,57,0.08));
}

.blog-card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 24px; }
.blog-tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-green);
  background: var(--brand-green-tint);
  padding: 5px 10px;
  border-radius: 999px;
}
.blog-card h3 { font-size: 1.15rem; }
.blog-card p { color: var(--dark-gray); font-size: 0.92rem; flex: 1; }
.blog-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.78rem; color: var(--light-gray);
  padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--border);
}

/* ==========================================================================
   Blog — article
   ========================================================================== */
.article-hero { padding-top: clamp(120px, 16vw, 180px); padding-bottom: 0; background: var(--off-white); }
.article-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600; color: var(--dark-gray);
  margin-bottom: 28px;
}
.article-back svg { width: 14px; height: 14px; transform: rotate(180deg); transition: transform 0.25s var(--ease); }
.article-back:hover { color: var(--brand-green); }
.article-back:hover svg { transform: rotate(180deg) translateX(3px); }

.article-title { font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem); max-width: 22ch; }
.article-lede { margin-top: 20px; max-width: 60ch; font-size: 1.15rem; color: var(--dark-gray); }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 20px;
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 0.85rem; color: var(--dark-gray);
}
.article-meta strong { color: var(--black); }

.article-cover {
  --cover-img: none;
  aspect-ratio: 21 / 9;
  border-radius: var(--radius-lg);
  margin-top: 48px;
  background-image: var(--cover-img), radial-gradient(120% 160% at 85% 15%, rgba(0,96,57,0.55), transparent 60%), linear-gradient(160deg, #0a0a0b, #0f1f17);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
}

.article-body { max-width: 720px; margin-inline: auto; padding-block: var(--section-py) calc(var(--section-py) * 0.4); }
.article-body h2 { font-size: 1.6rem; margin-top: 52px; margin-bottom: 18px; }
.article-body h2:first-child { margin-top: 0; }
.article-body p { color: var(--dark-gray); margin-bottom: 20px; font-size: 1.05rem; }
.article-body ul { margin: 0 0 24px 0; padding: 0; list-style: none; }
.article-body ul li { position: relative; padding-left: 28px; margin-bottom: 12px; color: var(--dark-gray); font-size: 1.02rem; }
.article-body ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 14px; height: 1.5px; background: var(--brand-green); }
.article-body strong { color: var(--black); }

.project-gallery {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px;
  margin-top: 40px;
}
.project-gallery-item {
  aspect-ratio: 4 / 3; border-radius: var(--radius-md);
  background-image: var(--cover-img), linear-gradient(160deg, #0a0a0b, #0f1f17);
  background-size: cover; background-position: center; background-repeat: no-repeat;
}

.article-cta-inline {
  margin-top: 56px; padding: 40px 32px;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--off-white); text-align: center;
}
.article-cta-inline h3 { font-size: 1.4rem; margin-bottom: 10px; }
.article-cta-inline p { color: var(--dark-gray); margin-bottom: 24px; }

.related-services { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.related-services a {
  font-size: 0.85rem; font-weight: 600; color: var(--black);
  border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.related-services a:hover { border-color: var(--brand-green); color: var(--brand-green); }

/* ==========================================================================
   Carousel — services / blog preview
   ========================================================================== */
.carousel-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin-bottom: 48px;
}
.carousel-hint {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 600; color: var(--dark-gray);
  padding-bottom: 4px;
}
.carousel-hint svg { width: 14px; height: 14px; color: var(--brand-green); animation: hint-swipe 1.6s ease-in-out infinite; }
@keyframes hint-swipe {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

.carousel-viewport { overflow: hidden; }
.carousel-track {
  display: flex;
  transition: transform 0.5s var(--ease);
  cursor: grab;
  touch-action: pan-y;
}
.carousel-track:active { cursor: grabbing; }
.carousel-slide { flex: 0 0 100%; padding-inline: 10px; box-sizing: border-box; }
.carousel-slide > * { height: 100%; }
@media (min-width: 640px) { .carousel-slide { flex-basis: 50%; } }
@media (min-width: 1200px) { .carousel-slide { flex-basis: 33.3333%; } }

.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 36px; }
.carousel-arrow {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--black);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.carousel-arrow svg { width: 16px; height: 16px; }
.carousel-arrow:hover { background: var(--black); border-color: var(--black); color: var(--white); }
.carousel-prev svg { transform: rotate(180deg); }

.carousel-dots { display: flex; align-items: center; gap: 2px; }
.carousel-dot {
  width: 24px; height: 24px; padding: 8px; border-radius: 50%;
  background: var(--border); background-clip: content-box;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.carousel-dot.is-active { background: var(--brand-green); transform: scale(1.15); }

/* ==========================================================================
   İzChat — floating FAQ assistant
   ========================================================================== */
.izchat-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--brand-green);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 96, 57, 0.35);
  z-index: 200;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.izchat-launcher:hover { background: var(--brand-green-dark); transform: scale(1.06); }
.izchat-launcher svg { width: 24px; height: 24px; }
.izchat-launcher .izchat-icon-close { display: none; }
.izchat-launcher.is-open .izchat-icon-chat { display: none; }
.izchat-launcher.is-open .izchat-icon-close { display: block; }
.izchat-dot {
  position: absolute;
  top: 2px; right: 2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #ff5a3c;
  border: 2px solid var(--white);
}
.izchat-dot[hidden] { display: none; }

.izchat-panel {
  position: fixed;
  right: 24px;
  bottom: 92px;
  width: min(370px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 140px));
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(10, 10, 11, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 200;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.izchat-panel.is-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

.izchat-header {
  background: var(--invert-bg);
  color: var(--invert-text);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.izchat-header-mark {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--brand-green);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.izchat-header-mark svg { width: 18px; height: 18px; color: #fff; }
.izchat-header h4 { font-size: 0.95rem; margin: 0; }
.izchat-header p { font-size: 0.75rem; color: var(--invert-muted); margin: 2px 0 0; display: flex; align-items: center; gap: 6px; }
.izchat-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; display: inline-block; }

.izchat-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--off-white);
}
.izchat-msg { display: flex; }
.izchat-msg.bot { justify-content: flex-start; }
.izchat-msg.user { justify-content: flex-end; }
.izchat-bubble {
  max-width: 84%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
}
.izchat-msg.bot .izchat-bubble { background: var(--white); border: 1px solid var(--border); border-bottom-left-radius: 4px; color: var(--black); }
.izchat-msg.user .izchat-bubble { background: var(--brand-green); color: #fff; border-bottom-right-radius: 4px; }
.izchat-bubble a { color: var(--brand-green); font-weight: 600; text-decoration: underline; }
.izchat-msg.user .izchat-bubble a { color: #fff; }

.izchat-suggestions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 14px; background: var(--off-white); flex-shrink: 0; }
.izchat-chip {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--black);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.izchat-chip:hover { border-color: var(--brand-green); color: var(--brand-green); }

.izchat-form { display: flex; gap: 8px; padding: 14px; border-top: 1px solid var(--border); background: var(--white); flex-shrink: 0; }
.izchat-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.88rem;
  background: var(--off-white);
  color: var(--black);
}
.izchat-input:focus { outline: none; border-color: var(--brand-green); background: var(--white); }
.izchat-send {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brand-green);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s var(--ease);
}
.izchat-send:hover { background: var(--brand-green-dark); }
.izchat-send svg { width: 16px; height: 16px; }

.izchat-typing { display: flex; gap: 4px; padding: 4px 2px; }
.izchat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--light-gray); animation: izchat-bounce 1.2s infinite ease-in-out; }
.izchat-typing span:nth-child(2) { animation-delay: 0.15s; }
.izchat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes izchat-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

@media (max-width: 480px) {
  .izchat-panel { right: 16px; left: 16px; width: auto; bottom: 88px; }
  .izchat-launcher { right: 16px; bottom: 16px; }
}
