/* ================================================================
   CypherOn — new_POC Design System
   Brand: #050505 · #F5F5F5 · #DBEC62 · Inter
   ================================================================ */

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }

/* === TOKENS === */
:root {
  --black:         #050505;
  --white:         #F5F5F5;
  --accent:        #DBEC62;
  --gray:          #404040;
  --secondary:     #1C1C1C;
  --lighter-black: #161616;
  --ease-out:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1);
}

/* === BASE === */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--black);
  color: var(--white);
  cursor: none;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }

/* === CURSOR (desktop / fine pointer only) === */
/* Hide on touch devices — pointer: coarse = finger input (phones & tablets) */
@media (pointer: coarse) {
  body { cursor: auto !important; }
  .cursor, .cursor-dot { display: none !important; }
}

.cursor {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(245,245,245,0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out),
              border-color 0.3s, background 0.3s;
}
.cursor.grow {
  width: 72px; height: 72px;
  border-color: rgba(219,236,98,0.5);
}
.cursor-dot {
  position: fixed;
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 28px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.4s var(--ease-out), background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 16px 56px;
  background: rgba(5,5,5,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: rgba(245,245,245,0.05);
}
.nav-logo {
  display: flex;
  align-items: center;
  line-height: 0;
}
.nav-logo img { height: 28px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,245,245,0.45);
  transition: color 0.25s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 100px;
  cursor: none;
  white-space: nowrap;
  transition: box-shadow 0.35s;
  position: relative;
  overflow: hidden;
}
.btn-arrow { font-size: 16px; }

.btn-accent { background: var(--accent); color: var(--black); }
.btn-accent:hover {
  box-shadow: 0 8px 36px rgba(219,236,98,0.32);
}
.btn-ghost {
  border: 1px solid rgba(245,245,245,0.18);
  color: var(--white);
}
.btn-ghost:hover {
  border-color: rgba(245,245,245,0.5);
  background: rgba(245,245,245,0.04);
}
.btn-dark { background: var(--black); color: var(--white); border: 1px solid rgba(245,245,245,0.1); }
.btn-dark:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  border-color: rgba(245,245,245,0.25);
}
.btn-lg { padding: 20px 44px; font-size: 12px; }

/* === HERO === */
.hero {
  height: 100svh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  padding: 0 56px;
  position: relative;
  overflow: hidden;
}
.hero-eyebrow {
  position: absolute;
  top: 108px;
  left: 56px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.hero-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-tag::before {
  content: '';
  width: 20px; height: 1px;
  background: currentColor;
}
.hero-content {
  flex: 1;
  display: flex;
  align-items: center;
}
.hero-content h1 {
  font-size: clamp(72px, 12.5vw, 196px);
  font-weight: 900;
  line-height: 0.87;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.hero-content h1 .line-solid { display: block; }
.hero-content h1 .line-outline {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(245,245,245,0.35);
}

/* Right-side scroll indicator */
.hero-scroll {
  position: absolute;
  right: -22px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-scroll::after {
  content: '';
  width: 48px; height: 1px;
  background: var(--gray);
  animation: scrollPulse 2s ease-in-out infinite alternate;
}
@keyframes scrollPulse {
  from { opacity: 0.3; width: 24px; }
  to   { opacity: 1;   width: 56px; }
}

.hero-footer {
  border-top: 1px solid rgba(245,245,245,0.07);
  padding: 24px 0 52px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
}
.hero-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(245,245,245,0.4);
  max-width: 360px;
}
.hero-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

/* === TICKER MARQUEE === */
.ticker {
  background: var(--accent);
  overflow: hidden;
  padding: 15px 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerRoll 28s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--black);
  white-space: nowrap;
  padding-right: 40px;
}
.ticker-sep {
  font-size: 11px;
  font-weight: 800;
  color: rgba(5,5,5,0.25);
  padding-right: 40px;
}
@keyframes tickerRoll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* === SECTION UTILS === */
.section { padding: 128px 56px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 18px; height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
.section-heading {
  font-size: clamp(42px, 6.5vw, 92px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.section-heading .accent-word { color: var(--accent); }

/* === SERVICES === */
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
}
.services-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,245,245,0.4);
  transition: color 0.25s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.services-link:hover { color: var(--white); }
.services-link::after { content: '→'; font-size: 16px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: #0e0e0e;
}
.service-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--black);
  padding: 48px 36px 44px;
  position: relative;
  overflow: hidden;
  cursor: none;
  transition: background 0.4s;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.service-card:hover { background: var(--lighter-black); }
.service-card:hover::after { transform: scaleX(1); }
.service-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gray);
  margin-bottom: 48px;
}
.service-icon {
  font-size: 30px;
  display: block;
  margin-bottom: 20px;
}
.service-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
}
.service-desc {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.68;
  color: rgba(245,245,245,0.42);
}
.service-arrow {
  display: inline-block;
  margin-top: 36px;
  font-size: 24px;
  color: var(--accent);
  transition: transform 0.3s var(--ease-out);
}
.service-card:hover .service-arrow { transform: translate(5px, -5px); }

/* === STATS BAR === */
.stats-bar {
  background: var(--accent);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat-item {
  padding: 60px 56px;
  border-right: 1px solid rgba(5,5,5,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-value {
  font-size: clamp(60px, 8.5vw, 108px);
  font-weight: 900;
  color: var(--black);
  line-height: 1;
  letter-spacing: -0.04em;
  display: flex;
  align-items: flex-start;
}
.stat-value sup {
  font-size: 0.38em;
  font-weight: 900;
  margin-top: 0.18em;
  margin-left: 3px;
}
.stat-label {
  margin-top: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(5,5,5,0.42);
}

/* === WHY SECTION === */
.why-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
  gap: 48px;
}
.why-intro-text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(245,245,245,0.45);
  max-width: 400px;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: #0e0e0e;
}
.why-item {
  background: var(--lighter-black);
  padding: 60px 56px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}
.why-item:hover { background: #1a1a1a; }
.why-item-num {
  position: absolute;
  right: 44px; top: 36px;
  font-size: 80px;
  font-weight: 900;
  color: rgba(245,245,245,0.03);
  letter-spacing: -0.04em;
  line-height: 1;
  user-select: none;
}
.why-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.why-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}
.why-text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.72;
  color: rgba(245,245,245,0.48);
}

/* === PHILOSOPHY BAND === */
.philosophy {
  padding: 160px 56px;
  text-align: center;
  border-top: 1px solid rgba(245,245,245,0.06);
  border-bottom: 1px solid rgba(245,245,245,0.06);
  position: relative;
  overflow: hidden;
}
.philosophy-bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(120px, 18vw, 220px);
  font-weight: 900;
  color: rgba(245,245,245,0.018);
  letter-spacing: -0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.philosophy-quote {
  font-size: clamp(22px, 3.2vw, 46px);
  font-weight: 300;
  line-height: 1.38;
  letter-spacing: -0.01em;
  max-width: 840px;
  margin: 0 auto 48px;
  position: relative;
}
.philosophy-quote strong { font-weight: 900; color: var(--accent); }
.philosophy-sig {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gray);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.philosophy-sig::before,
.philosophy-sig::after {
  content: '';
  width: 32px; height: 1px;
  background: var(--gray);
}

/* === CTA BLOCK === */
.cta-wrap {
  padding: 0 56px 128px;
}
.cta-block {
  background: var(--accent);
  border-radius: 20px;
  padding: 80px 80px 80px 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: 'ON';
  position: absolute;
  right: -20px; bottom: -80px;
  font-size: 320px;
  font-weight: 900;
  color: rgba(5,5,5,0.055);
  letter-spacing: -0.06em;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}
.cta-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(5,5,5,0.4);
  margin-bottom: 16px;
}
.cta-heading {
  font-size: clamp(36px, 5.5vw, 76px);
  font-weight: 900;
  color: var(--black);
  line-height: 0.91;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.cta-right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.cta-note {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(5,5,5,0.38);
  text-align: right;
}

/* CTA service-page variants (label/title/desc used on detail pages) */
.cta-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(5,5,5,0.45);
  margin-bottom: 16px;
}
.cta-title {
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 900;
  color: var(--black);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.cta-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(5,5,5,0.6);
  max-width: 480px;
}
/* Inverted button inside accent CTA block */
.cta-block .btn-accent {
  background: var(--black);
  color: var(--accent);
  box-shadow: none;
}
.cta-block .btn-accent:hover {
  box-shadow: 0 8px 36px rgba(0,0,0,0.45);
}

/* === FOOTER === */
.footer {
  border-top: 1px solid rgba(245,245,245,0.06);
  padding: 72px 56px 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 64px;
  margin-bottom: 72px;
}
.footer-brand { flex-shrink: 0; max-width: 280px; }
.footer-logo {
  display: block;
  line-height: 0;
  margin-bottom: 8px;
}
.footer-logo img { height: 22px; width: auto; }
.footer-tagline {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 12px;
}
.footer-about {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(245,245,245,0.35);
}
.footer-cols { display: flex; gap: 56px; }
.footer-col h5 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(245,245,245,0.06);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a {
  font-size: 13px;
  font-weight: 300;
  color: rgba(245,245,245,0.45);
  transition: color 0.25s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(245,245,245,0.06);
  padding-top: 28px;
  font-size: 11px;
  font-weight: 300;
  color: var(--gray);
  letter-spacing: 0.05em;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-accent { color: var(--accent); font-weight: 700; }

/* === REVEAL SYSTEM === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
.reveal-left.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }

/* === CONTACT PAGE === */
.contact-hero {
  padding: 160px 56px 80px;
  border-bottom: 1px solid rgba(245,245,245,0.06);
  display: flex;
  flex-direction: column;
}
.contact-hero h1 {
  font-size: clamp(64px, 11vw, 170px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 40px;
}
.contact-hero h1 .line-outline {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(245,245,245,0.35);
}
.contact-hero-meta {
  display: flex;
  align-items: center;
  gap: 32px;
}
.contact-hero-note {
  font-size: 13px;
  font-weight: 300;
  color: rgba(245,245,245,0.4);
}
.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid rgba(219,236,98,0.3);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.contact-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 96px;
  padding: 80px 56px 128px;
  align-items: start;
}

/* Form */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--lighter-black);
  border: 1px solid rgba(245,245,245,0.07);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 300;
  font-family: inherit;
  color: var(--white);
  cursor: none;
  transition: border-color 0.3s, background 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: rgba(245,245,245,0.2); }
.form-select option {
  background: #1a1a1a;
  color: #f5f5f5;
}
.form-select option:disabled {
  color: rgba(245,245,245,0.35);
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(219,236,98,0.03);
}
.form-textarea { resize: vertical; min-height: 150px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-select-wrap { position: relative; }
.form-select-wrap::after {
  content: '↓';
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
  pointer-events: none;
  font-size: 14px;
}
.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.form-note {
  font-size: 11px;
  font-weight: 300;
  color: rgba(245,245,245,0.25);
}

/* Contact Info */
.contact-info h2 {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 48px;
}
.contact-info h2 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(245,245,245,0.3);
}
.info-item {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(245,245,245,0.06);
}
.info-item:last-of-type { border-bottom: none; }
.info-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}
.info-value {
  font-size: 16px;
  font-weight: 400;
  color: rgba(245,245,245,0.7);
  line-height: 1.5;
  transition: color 0.25s;
}
.info-value a:hover { color: var(--accent); }

.perks {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.perk {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.perk-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}
.perk-text {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(245,245,245,0.45);
}
.perk-text strong { color: var(--white); font-weight: 600; }

/* === RESPONSIVE === */
@media (max-width: 1280px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .nav { padding: 22px 32px; }
  .nav.scrolled { padding: 14px 32px; }
  .nav-links { gap: 24px; }
  .hero { padding: 0 32px; }
  .hero-eyebrow { left: 32px; }
  .section { padding: 96px 32px; }
  .cta-wrap { padding: 0 32px 96px; }
  .cta-block { padding: 64px; }
  .footer { padding: 56px 32px 32px; }
  .stats-bar { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { padding: 64px 32px 96px; gap: 64px; }
  .contact-hero { padding: 140px 32px 64px; }
  .services-grid { gap: 2px; }
  .why-grid { gap: 2px; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-eyebrow, .hero-scroll { display: none; }
  .hero-footer { flex-direction: column; align-items: flex-start; gap: 28px; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(5,5,5,0.1); }
  .stat-item:last-child { border-bottom: none; }
  .why-grid { grid-template-columns: 1fr; }
  .why-intro { flex-direction: column; gap: 20px; }
  .cta-block { flex-direction: column; padding: 48px 36px; border-radius: 14px; }
  .cta-block::before { display: none; }
  .cta-right { align-items: flex-start; }
  .footer-top { flex-direction: column; }
  .footer-cols { flex-wrap: wrap; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .services-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 600px) {
  .hero { padding: 0 20px; }
  .section { padding: 72px 20px; }
  .cta-wrap { padding: 0 20px 80px; }
  .footer { padding: 48px 20px 28px; }
  .contact-hero { padding: 120px 20px 48px; }
  .contact-grid { padding: 48px 20px 72px; }
  .form-row { grid-template-columns: 1fr; }
  .philosophy { padding: 100px 20px; }
  .stat-item { padding: 44px 32px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .why-item { padding: 44px 32px; }
  .service-card { padding: 36px 28px 36px; }
}

/* ================================================================
   NAV FLIP ANIMATION
================================================================ */
.nav-flip {
  display: inline-block;
  overflow: hidden;
  height: 1.2em;
  vertical-align: top;
}
.nav-flip span {
  display: block;
  line-height: 1.2;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Second span sits naturally below the container (hidden by overflow) */
.nav-flip span:last-child { color: var(--accent); }
/* On hover: first span exits top, second enters from bottom */
a:hover .nav-flip span:first-child { transform: translateY(-100%); }
a:hover .nav-flip span:last-child  { transform: translateY(-100%); }

/* ================================================================
   BUTTON ARROW ANIMATION
================================================================ */
@keyframes arrowShoot {
  0%   { transform: translateX(0);    opacity: 1; }
  38%  { transform: translateX(10px); opacity: 0; }
  39%  { transform: translateX(-8px); opacity: 0; }
  100% { transform: translateX(0);    opacity: 1; }
}
.btn:hover .btn-arrow {
  display: inline-block;
  animation: arrowShoot 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ================================================================
   HAMBURGER BUTTON
================================================================ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  cursor: none;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}
.nav-hamburger span {
  display: block;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
              opacity   0.25s ease,
              width     0.38s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center;
}
.nav-hamburger span:nth-child(2) { width: 70%; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ================================================================
   MOBILE MENU OVERLAY
================================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 120px 32px 56px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0.42s;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-menu-links {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}
.mobile-menu-links li {
  border-bottom: 1px solid rgba(245,245,245,0.06);
  overflow: hidden;
}
.mobile-menu-links a {
  display: block;
  font-size: clamp(32px, 8vw, 56px);
  font-weight: 900;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--white);
  padding: 18px 0;
  transform: translateY(60px);
  opacity: 0;
  transition: color 0.25s, transform 0.48s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.48s ease;
}
.mobile-menu-links a:hover { color: var(--accent); }
.mobile-menu.open .mobile-menu-links li:nth-child(1) a { transform: translateY(0); opacity: 1; transition-delay: 0.06s; }
.mobile-menu.open .mobile-menu-links li:nth-child(2) a { transform: translateY(0); opacity: 1; transition-delay: 0.1s; }
.mobile-menu.open .mobile-menu-links li:nth-child(3) a { transform: translateY(0); opacity: 1; transition-delay: 0.14s; }
.mobile-menu.open .mobile-menu-links li:nth-child(4) a { transform: translateY(0); opacity: 1; transition-delay: 0.18s; }
.mobile-menu.open .mobile-menu-links li:nth-child(5) a { transform: translateY(0); opacity: 1; transition-delay: 0.22s; }
.mobile-menu-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease 0.32s, transform 0.4s ease 0.32s;
}
.mobile-menu.open .mobile-menu-footer { opacity: 1; transform: translateY(0); }
.mobile-menu-footer a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(245,245,245,0.4);
  letter-spacing: 0.06em;
}
.mobile-menu-footer a:hover { color: var(--accent); }
.mobile-menu-contact {
  font-size: 12px;
  font-weight: 300;
  color: rgba(245,245,245,0.22);
  margin-top: 16px;
}

/* ================================================================
   SVG SERVICE ICONS
================================================================ */
.service-icon-svg {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
}
.service-icon-svg svg {
  width: 100%;
  height: 100%;
}

/* ================================================================
   BLOG SECTION
================================================================ */
.blog-section {
  padding: 96px 56px;
  background: var(--black);
}
.blog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}
.blog-all-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color 0.25s;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(245,245,245,0.12);
}
.blog-all-link:hover { color: var(--accent); border-color: var(--accent); }

.blog-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  grid-template-rows: auto auto;
  gap: 2px;
}

/* Featured card (spans 2 rows) */
.blog-card {
  position: relative;
  background: var(--lighter-black);
  overflow: hidden;
  cursor: none;
  display: flex;
  flex-direction: column;
  transition: background 0.35s;
}
.blog-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.blog-card:hover::after { transform: scaleX(1); }
.blog-card-featured {
  grid-row: 1 / 3;
  min-height: 540px;
}
.blog-card-inner {
  padding: 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-featured .blog-card-inner { padding: 44px; }

.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.blog-cat {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 5px 12px;
  border: 1px solid rgba(219,236,98,0.25);
  border-radius: 100px;
}
.blog-date {
  font-size: 11px;
  font-weight: 300;
  color: rgba(245,245,245,0.3);
  letter-spacing: 0.08em;
}
.blog-card-num {
  position: absolute;
  top: 32px; right: 36px;
  font-size: 80px;
  font-weight: 900;
  color: rgba(245,245,245,0.03);
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  transition: color 0.4s;
}
.blog-card:hover .blog-card-num { color: rgba(219,236,98,0.05); }
.blog-card-featured .blog-card-num { font-size: 160px; top: 40px; right: 44px; }

.blog-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 14px;
  transition: color 0.25s;
}
.blog-card:hover .blog-title { color: var(--accent); }
.blog-card-featured .blog-title {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 20px;
}

.blog-excerpt {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(245,245,245,0.38);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              opacity    0.4s ease;
}
.blog-card:hover .blog-excerpt {
  max-height: 200px;
  opacity: 1;
}
.blog-card-featured .blog-excerpt {
  max-height: none;
  opacity: 1;
  font-size: 14px;
  margin-top: 4px;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color 0.25s;
}
.blog-card:hover .blog-read-more { color: var(--accent); }
.blog-read-arrow {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.blog-card:hover .blog-read-arrow { transform: translateX(6px); }

/* Visual stripe for featured card */
.blog-visual {
  height: 180px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(219,236,98,0.04) 0px,
    rgba(219,236,98,0.04) 1px,
    transparent 1px,
    transparent 18px
  );
  border-bottom: 1px solid rgba(245,245,245,0.04);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.blog-visual::after {
  content: attr(data-label);
  position: absolute;
  bottom: 20px; left: 44px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(219,236,98,0.35);
}
.blog-visual-accent {
  position: absolute;
  top: 50%; left: 44px;
  transform: translateY(-50%);
  width: 80px;
  height: 80px;
  border: 1.5px solid rgba(219,236,98,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-visual-accent::before {
  content: '';
  width: 40px; height: 40px;
  border: 1.5px solid rgba(219,236,98,0.35);
  border-radius: 50%;
}

/* Blog responsive */
@media (max-width: 900px) {
  .blog-section { padding: 72px 32px; }
  .blog-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .blog-card-featured { grid-row: auto; min-height: 420px; }
  .blog-excerpt { max-height: none; opacity: 1; }
  .blog-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 600px) {
  .blog-section { padding: 64px 20px; }
  .blog-card-inner { padding: 28px; }
  .blog-card-featured .blog-card-inner { padding: 28px; }
  .blog-visual { height: 140px; }
  .blog-card-featured .blog-card-num { font-size: 100px; }
}

/* ================================================================
   ABOUT PAGE  (o-nas.html)
================================================================ */
.page-hero {
  padding: 160px 56px 80px;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(245,245,245,0.06);
}
.page-hero h1 {
  font-size: clamp(60px, 10vw, 160px);
  font-weight: 900;
  line-height: 0.87;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 40px;
}
.page-hero h1 .line-outline {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(245,245,245,0.3);
}
.page-hero-sub {
  max-width: 560px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(245,245,245,0.42);
}
.page-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* Mission intro 2-col grid */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 80px 56px;
  background: #0e0e0e;
}
.mission-col {
  background: var(--lighter-black);
  padding: 56px;
}
.mission-col:first-child {
  border-right: 1px solid rgba(245,245,245,0.04);
}
.mission-statement {
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
}
.mission-statement em {
  font-style: normal;
  color: var(--accent);
}
.mission-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(245,245,245,0.45);
}
.mission-desc + .mission-desc { margin-top: 20px; }

/* Values grid */
.values-section {
  padding: 96px 56px;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 48px;
  background: #0e0e0e;
}
.value-card {
  background: var(--lighter-black);
  padding: 48px 44px;
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: attr(data-num);
  position: absolute;
  bottom: -10px; right: 24px;
  font-size: 120px;
  font-weight: 900;
  color: rgba(245,245,245,0.025);
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
}
.value-icon {
  width: 40px; height: 40px;
  margin-bottom: 20px;
}
.value-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.value-text {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(245,245,245,0.4);
}

/* Team section */
.team-section {
  padding: 96px 56px;
  background: var(--lighter-black);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 48px;
  background: #0e0e0e;
}
.team-card {
  background: var(--lighter-black);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.team-card:hover { background: #1c1c1c; }
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #0e0e0e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 20px;
  border: 1px solid rgba(219,236,98,0.15);
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.03em;
}
.team-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.team-role {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.team-bio {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(245,245,245,0.38);
}

/* Timeline / milestones */
.milestones-section {
  padding: 96px 56px;
}
.milestones-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
  max-width: 840px;
}
.milestone-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 36px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(245,245,245,0.06);
  align-items: start;
}
.milestone-year {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  padding-top: 2px;
}
.milestone-text { }
.milestone-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}
.milestone-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(245,245,245,0.4);
}

/* About responsive */
@media (max-width: 1024px) {
  .page-hero { padding: 140px 32px 64px; }
  .mission-grid { padding: 64px 32px; }
  .mission-col { padding: 40px; }
  .values-section, .milestones-section { padding: 72px 32px; }
  .team-section { padding: 72px 32px; }
}
@media (max-width: 900px) {
  .mission-grid { grid-template-columns: 1fr; }
  .mission-col:first-child { border-right: none; border-bottom: 1px solid rgba(245,245,245,0.04); }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .milestone-item { grid-template-columns: 80px 1fr; gap: 20px; }
}
@media (max-width: 600px) {
  .page-hero { padding: 120px 20px 48px; }
  .mission-grid { padding: 0; }
  .mission-col { padding: 36px 24px; }
  .values-section, .milestones-section { padding: 64px 20px; }
  .team-section { padding: 64px 20px; }
  .team-grid { grid-template-columns: 1fr; }
  .value-card { padding: 36px 28px; }
}

/* ================================================================
   SERVICES OVERVIEW PAGE  (sluzby.html)
================================================================ */
.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: #0e0e0e;
  margin-top: 48px;
}
.so-card {
  background: var(--lighter-black);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  cursor: none;
  transition: background 0.3s;
}
.so-card:hover { background: #1c1c1c; }
.so-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.so-card:hover::after { transform: scaleX(1); }
.so-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--gray);
  margin-bottom: 24px;
}
.so-icon { margin-bottom: 28px; }
.so-title {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.so-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(245,245,245,0.4);
  margin-bottom: 32px;
}
.so-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.so-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid rgba(245,245,245,0.1);
  border-radius: 100px;
  color: rgba(245,245,245,0.35);
  transition: border-color 0.25s, color 0.25s;
}
.so-card:hover .so-tag { border-color: rgba(219,236,98,0.2); color: rgba(219,236,98,0.6); }
.so-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
  border-bottom: 1px solid rgba(245,245,245,0.12);
  padding-bottom: 4px;
  transition: color 0.25s, border-color 0.25s;
}
.so-card:hover .so-link { color: var(--accent); border-color: var(--accent); }
.so-link-arrow {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.so-card:hover .so-link-arrow { transform: translateX(5px); }

/* Process steps */
.process-section {
  padding: 96px 56px;
  background: var(--lighter-black);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 48px;
  background: #0e0e0e;
}
.process-step {
  background: var(--lighter-black);
  padding: 40px 32px;
  position: relative;
}
.process-step-num {
  font-size: 48px;
  font-weight: 900;
  color: rgba(219,236,98,0.12);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 20px;
}
.process-step-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.process-step-text {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(245,245,245,0.38);
}

/* Compliance badges */
.compliance-section {
  padding: 80px 56px;
}
.compliance-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  align-items: center;
}
.compliance-badge {
  padding: 12px 24px;
  border: 1px solid rgba(245,245,245,0.1);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(245,245,245,0.5);
  letter-spacing: 0.06em;
  transition: border-color 0.25s, color 0.25s;
}
.compliance-badge:hover { border-color: rgba(219,236,98,0.3); color: var(--accent); }

/* Services page responsive */
@media (max-width: 1024px) {
  .process-section, .compliance-section { padding: 72px 32px; }
}
@media (max-width: 900px) {
  .services-overview-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .process-section, .compliance-section { padding: 64px 20px; }
  .so-card { padding: 40px 28px; }
  .process-steps { grid-template-columns: 1fr; }
}

/* ================================================================
   SERVICE DETAIL PAGE  (sluzba-*.html)
================================================================ */
.sd-hero {
  padding: 160px 56px 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(245,245,245,0.06);
}
.sd-hero-bg-icon {
  position: absolute;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.035;
  pointer-events: none;
}
.sd-hero-bg-icon svg { width: 360px; height: 360px; }
.sd-hero-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.sd-hero h1 {
  font-size: clamp(52px, 8vw, 130px);
  font-weight: 900;
  line-height: 0.87;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  max-width: 800px;
  margin-bottom: 40px;
}
.sd-hero h1 .line-outline {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(245,245,245,0.3);
}
.sd-hero-desc {
  max-width: 540px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(245,245,245,0.45);
  margin-bottom: 40px;
}

/* Description grid */
.sd-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 80px 56px;
  align-items: start;
}
.sd-intro-text h2 {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 24px;
}
.sd-intro-text p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.78;
  color: rgba(245,245,245,0.42);
}
.sd-intro-text p + p { margin-top: 16px; }

/* Deliverables */
.sd-deliverables-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sd-deliverables-list li {
  padding: 18px 0 18px 20px;
  border-left: 2px solid rgba(219,236,98,0.25);
  border-bottom: 1px solid rgba(245,245,245,0.05);
  font-size: 13px;
  font-weight: 400;
  color: rgba(245,245,245,0.6);
  line-height: 1.5;
  transition: border-left-color 0.25s, color 0.25s, padding-left 0.25s;
}
.sd-deliverables-list li:hover {
  border-left-color: var(--accent);
  color: var(--white);
  padding-left: 28px;
}
.sd-deliverables-list li strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
}

/* Vertical process steps */
.sd-process {
  padding: 96px 56px;
  background: var(--lighter-black);
}
.sd-process-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
  max-width: 760px;
  position: relative;
}
.sd-process-list::before {
  content: '';
  position: absolute;
  left: 20px; top: 0; bottom: 0;
  width: 1px;
  background: rgba(245,245,245,0.06);
}
.sd-process-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 28px;
  padding-bottom: 40px;
  position: relative;
}
.sd-process-dot {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--black);
  border: 1px solid rgba(219,236,98,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.sd-process-content { padding-top: 10px; }
.sd-process-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.sd-process-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(245,245,245,0.38);
}

/* FAQ accordion */
.sd-faq {
  padding: 96px 56px;
}
.faq-list {
  margin-top: 48px;
}
.faq-item {
  border-bottom: 1px solid rgba(245,245,245,0.07);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  cursor: none;
  font-size: 16px;
  font-weight: 600;
  gap: 24px;
  transition: color 0.25s;
}
.faq-question:hover { color: var(--accent); }
.faq-chevron {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border: 1px solid rgba(245,245,245,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.25s, border-color 0.25s;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner {
  padding: 0 0 24px;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(245,245,245,0.42);
}

/* === SERVICE ITEM ACCORDION === */
.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 56px;
}
.svc-item {
  background: var(--lighter-black);
  overflow: hidden;
}
.svc-item.full-width { grid-column: 1 / -1; }
.svc-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 40px 40px 0;
  background: none;
  border: none;
  color: inherit;
  cursor: none;
  text-align: left;
  font-family: inherit;
}
.svc-dash {
  color: var(--accent);
  font-size: 18px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}
.svc-title {
  flex: 1;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  text-align: left;
}
.svc-chevron {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border: 1px solid rgba(245,245,245,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: rgba(245,245,245,0.5);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.25s, border-color 0.25s, color 0.25s;
}
.svc-item.open .svc-chevron {
  transform: rotate(180deg);
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
}
.svc-item:hover .svc-title { color: var(--accent); }
.svc-item { cursor: none; }
.svc-preview {
  padding: 12px 40px 32px calc(40px + 34px);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(245,245,245,0.55);
  margin: 0;
}
.svc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.svc-item.open .svc-body { max-height: 600px; }
.svc-body-inner {
  margin: 0 40px 32px calc(40px + 34px);
  padding-top: 16px;
  border-top: 1px solid rgba(245,245,245,0.06);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(245,245,245,0.42);
}
@media (max-width: 768px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-item.full-width { grid-column: 1; }
  .svc-toggle { padding: 28px 24px 0; }
  .svc-preview { padding: 12px 24px 24px calc(24px + 34px); }
  .svc-body-inner { margin: 0 24px 24px calc(24px + 34px); }
}

/* Service detail responsive */
@media (max-width: 1024px) {
  .sd-hero { padding: 140px 32px 64px; }
  .sd-intro { padding: 64px 32px; gap: 48px; }
  .sd-process, .sd-faq { padding: 72px 32px; }
  .sd-hero-bg-icon { right: 32px; }
  .sd-hero-bg-icon svg { width: 260px; height: 260px; }
}
@media (max-width: 900px) {
  .sd-intro { grid-template-columns: 1fr; gap: 48px; }
  .sd-hero-bg-icon { display: none; }
}
@media (max-width: 600px) {
  .sd-hero { padding: 120px 20px 48px; }
  .sd-intro { padding: 48px 20px; }
  .sd-process, .sd-faq { padding: 64px 20px; }
}

/* ================================================================
   MOBILE RESPONSIVE  (additions for hamburger)
================================================================ */
@media (max-width: 900px) {
  .nav-hamburger { display: flex; }
  /* Hide CTA button on mobile to save space */
  .nav > .btn { display: none; }
}
@media (max-width: 600px) {
  .blog-section { padding: 64px 20px; }
}

/* ================================================================
   CONTACT FORM — SUCCESS / ERROR STATES
================================================================ */
.form-success {
  padding: 56px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.form-success-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--accent);
}
.form-success-text {
  font-size: 14px;
  font-weight: 300;
  color: rgba(245,245,245,0.45);
  line-height: 1.65;
}
.form-error {
  margin-top: 16px;
  font-size: 12px;
  font-weight: 400;
  color: #ff6b6b;
  line-height: 1.55;
}

/* ================================================================
   COOKIE CONSENT BAR
================================================================ */
.cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: #111111;
  border-top: 1px solid rgba(245,245,245,0.07);
  padding: 18px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.cookie-bar.visible { transform: translateY(0); }
.cookie-text {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(245,245,245,0.5);
  margin: 0;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.cookie-decline {
  background: transparent;
  border: 1px solid rgba(245,245,245,0.12);
  color: rgba(245,245,245,0.4);
}
.cookie-decline:hover {
  border-color: rgba(245,245,245,0.28);
  color: var(--white);
}
.cookie-accept {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: var(--black);
}
.cookie-accept:hover {
  box-shadow: 0 4px 20px rgba(219,236,98,0.3);
}
@media (max-width: 768px) {
  .cookie-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 20px;
    gap: 14px;
  }
}

/* ================================================================
   BLOG PAGE — FULL GRID, FILTER BAR, NEWSLETTER
================================================================ */

/* ── Filter bar ── */
.blog-filter-bar {
  position: sticky;
  top: 72px;
  z-index: 100;
  background: rgba(5,5,5,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(245,245,245,0.05);
  padding: 0 56px;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.blog-filter-bar::-webkit-scrollbar { display: none; }

.filter-pill {
  flex-shrink: 0;
  padding: 18px 22px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245,245,245,0.3);
  background: transparent;
  border: none;
  cursor: none;
  position: relative;
  transition: color 0.25s;
  white-space: nowrap;
}
.filter-pill::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.filter-pill:hover { color: rgba(245,245,245,0.65); }
.filter-pill.active {
  color: var(--white);
}
.filter-pill.active::after { transform: scaleX(1); }

/* results count */
.blog-results-count {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(245,245,245,0.2);
  padding: 18px 0 18px 32px;
  white-space: nowrap;
}

/* ── Blog full-page section ── */
.blog-full-section {
  padding: 64px 56px 96px;
  min-height: 60vh;
}

/* ── 2-col grid — all cards equal width ── */
.blog-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

/* All items equal width — no special spanning */
.blog-full-grid .blog-item { grid-column: span 1; }

/* Items fill row height */
.blog-item {
  display: flex;
  flex-direction: column;
  transition: opacity 0.28s ease, transform 0.28s ease;
  transform-origin: top left;
}
.blog-item .blog-card { flex: 1; }

.blog-item.is-exit {
  opacity: 0;
  transform: scale(0.97);
}

/* ── Individual article card on blog page ── */
.blog-full-grid .blog-card {
  min-height: 400px;
}

/* Always show excerpt text on the full blog page (override homepage hover-only) */
.blog-full-grid .blog-excerpt {
  max-height: none !important;
  opacity: 1 !important;
}

/* ── Empty state ── */
.blog-empty {
  grid-column: 1 / -1;
  padding: 96px 0;
  text-align: center;
  display: none;
}
.blog-empty.visible { display: block; }
.blog-empty-icon {
  font-size: 40px;
  margin-bottom: 16px;
  opacity: 0.25;
}
.blog-empty-text {
  font-size: 14px;
  font-weight: 300;
  color: rgba(245,245,245,0.3);
}

/* ── Newsletter / CTA on blog page ── */
.blog-newsletter {
  background: var(--lighter-black);
  border-top: 1px solid rgba(245,245,245,0.05);
  padding: 80px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.blog-newsletter-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.blog-newsletter-title span { color: var(--accent); }
.blog-newsletter-sub {
  font-size: 14px;
  font-weight: 300;
  color: rgba(245,245,245,0.4);
  line-height: 1.65;
  margin-top: 16px;
  max-width: 380px;
}
.blog-newsletter-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.newsletter-input {
  flex: 1;
  min-width: 200px;
  background: rgba(245,245,245,0.04);
  border: 1px solid rgba(245,245,245,0.1);
  border-radius: 100px;
  padding: 15px 24px;
  font-size: 13px;
  font-family: inherit;
  font-weight: 300;
  color: var(--white);
  outline: none;
  transition: border-color 0.25s;
}
.newsletter-input::placeholder { color: rgba(245,245,245,0.2); }
.newsletter-input:focus { border-color: rgba(245,245,245,0.3); }

/* Article reading time badge */
.blog-read-time {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(245,245,245,0.22);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .blog-filter-bar { padding: 0 28px; }
  .blog-full-section { padding: 48px 28px 72px; }
  .blog-newsletter { grid-template-columns: 1fr; gap: 36px; padding: 56px 28px; }
}
@media (max-width: 640px) {
  .blog-full-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  .blog-filter-bar { padding: 0 20px; top: 60px; }
  .blog-full-section { padding: 36px 20px 64px; }
  .blog-newsletter { padding: 48px 20px; }
}
