/*
Theme Name: Sjeďto
Theme URI: https://sjedto.cz
Author: Sjeďto Creative Agency
Description: Tmavá one-page šablona pro kreativní reklamní agenturu Sjeďto. Moderní design, custom kurzor, galerie s lightboxem.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: sjedto
*/

/* ===================================================================
   RESET & BASE
   =================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:          #080808;
  --bg-alt:      #0c0809;
  --bg-card:     #100e10;
  --text:        #ede8df;
  --text-muted:  #7a7268;
  --red:         #c01a08;
  --red-bright:  #ff2a0a;
  --accent:      #e83a00;
  --border:      rgba(255,255,255,0.06);
  --border-hover:rgba(255,42,10,0.25);

  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-body:    'Space Grotesk', 'Inter', sans-serif;

  --easing: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  cursor: none;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: none; }

/* ===================================================================
   CUSTOM CURSOR — SJETÝ EYE (kulatý)
   =================================================================== */
#sj-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 52px;
  height: 52px;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  will-change: left, top;
}

#sj-cursor svg {
  width: 100%;
  height: 100%;
  transform-origin: center center;
  transition: transform 0.15s var(--easing);
}

#sj-cursor.cursor-hover svg { transform: scale(1.5); }
#sj-cursor.cursor-click svg { transform: scaleX(1.15) scaleY(0.22); }

/* ===================================================================
   NAVIGATION
   =================================================================== */
#site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 64px;
  transition: background 0.5s var(--easing), padding 0.4s var(--easing);
}

#site-nav.scrolled {
  background: rgba(8,8,8,0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 18px 64px;
  border-bottom: 1px solid var(--border);
}

.nav-logo { display: flex; align-items: center; }
.nav-logo img {
  height: 42px;
  width: auto;
  transition: opacity 0.2s ease, transform 0.3s var(--easing);
}
.nav-logo:hover img { transform: scale(1.06); }

.nav-links {
  display: flex;
  gap: 44px;
  list-style: none;
}

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--red-bright);
  transition: width 0.35s var(--easing);
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* ===================================================================
   HERO
   =================================================================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 130px 64px 100px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 50%, rgba(192,26,8,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 15% 85%, rgba(120,10,5,0.07) 0%, transparent 60%),
    var(--bg);
  z-index: 0;
}

/* Grain texture overlay */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
}

.hero-logo-wrap { margin-bottom: 32px; }

.hero-logo-wrap img {
  height: 90px;
  width: auto;
  margin: 0 auto;
  animation: logoPulse 4.5s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(200,30,10,0.22));
}

@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(200,30,10,0.18)); }
  50%       { filter: drop-shadow(0 0 55px rgba(200,30,10,0.42)); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 120px);
  line-height: 0.9;
  letter-spacing: 0.01em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-headline .red { color: var(--red-bright); }

.hero-sub {
  font-size: clamp(15px, 1.6vw, 19px);
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 52px;
  letter-spacing: 0.02em;
  line-height: 1.75;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 17px 44px;
  border: none;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: background 0.25s ease, transform 0.2s var(--easing);
}

.btn-primary:hover {
  background: var(--red-bright);
  transform: translateY(-3px);
}

.btn-primary svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  fill: none;
  transition: transform 0.25s var(--easing);
}

.btn-primary:hover svg { transform: translateX(5px); }

.hero-scroll-hint {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: floatDown 2.4s ease-in-out infinite;
}

.hero-scroll-hint svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-muted);
  fill: none;
}

@keyframes floatDown {
  0%, 100% { opacity: 0.45; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 1;    transform: translateX(-50%) translateY(7px); }
}

/* ===================================================================
   SECTION BASE
   =================================================================== */
section { padding: 80px 64px; }

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 22px;
}

.section-label::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--red-bright);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 84px);
  line-height: 0.93;
  letter-spacing: 0.01em;
  margin-bottom: 40px;
}

/* ===================================================================
   CO DĚLÁME — manifesto
   =================================================================== */
#co-delame {
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

#co-delame::after {
  content: 'SJEĎTO';
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-family: var(--font-display);
  font-size: 220px;
  color: rgba(255,255,255,0.018);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.05em;
}

.manifesto-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.manifesto-body {
  font-size: 18px;
  line-height: 1.78;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.manifesto-body strong { color: var(--text); font-weight: 600; }
.manifesto-body:last-child { margin-bottom: 0; }

.manifesto-visual { position: relative; }

.manifesto-img {
  width: 100%;
  display: block;
  filter: grayscale(10%) brightness(0.9);
  transition: filter 0.5s ease;
}

.manifesto-visual:hover .manifesto-img {
  filter: grayscale(0%) brightness(1);
}

/* Red line accent on left of visual */
.manifesto-visual::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 10%;
  bottom: 10%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--red-bright), transparent);
}

/* ===================================================================
   KLIENTI
   =================================================================== */
#klienti {
  background: var(--bg);
  padding-bottom: 0;
}

.clients-header {
  max-width: 1240px;
  margin: 0 auto 48px;
  padding: 0;
}

/* Shared client block styles */
.client-block {
  padding: 56px 64px;
  border-top: 1px solid var(--border);
}

.client-block--alt { background: var(--bg-alt); }

.client-meta {
  max-width: 1240px;
  margin: 0 auto 48px;
  display: flex;
  align-items: baseline;
  gap: 28px;
  flex-wrap: wrap;
}

.client-num {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.85;
  color: rgba(255,255,255,0.12);
  flex-shrink: 0;
  transition: color 0.35s ease;
}

.client-block:hover .client-num { color: rgba(200,26,8,0.10); }

.client-name {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 60px);
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.client-name-sub {
  font-size: 0.55em;
  color: var(--red-bright);
  display: block;
  letter-spacing: 0.03em;
}

.client-desc {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 480px;
  margin-top: 20px;
  flex-basis: 100%;
}

/* ─── Pipmaster: horizontal scroll strip ───────────────────────── */
.client-strip-wrap {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.client-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  /* Hide scrollbar visually */
  scrollbar-width: thin;
  scrollbar-color: var(--red) transparent;
}

.client-strip::-webkit-scrollbar { height: 3px; }
.client-strip::-webkit-scrollbar-track { background: transparent; }
.client-strip::-webkit-scrollbar-thumb { background: var(--red); border-radius: 2px; }

.strip-item {
  flex: 0 0 auto;
  width: 240px;
  scroll-snap-align: start;
  overflow: hidden;
  position: relative;
  display: block;
}

.strip-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s var(--easing), filter 0.4s ease;
  filter: grayscale(10%);
}

.strip-item:hover img { transform: scale(1.06); filter: grayscale(0%); }

/* Right fade hint */
.strip-fade-r {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 12px;
  width: 120px;
  background: linear-gradient(to right, transparent, var(--bg));
  pointer-events: none;
}

/* ─── Autoservis Vydra: main + 3-sub grid ───────────────────────── */
.client-inner-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.client-inner-grid .client-meta {
  margin-bottom: 0;
  flex-direction: column;
  align-items: flex-start;
}

.client-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 10px;
}

/* Main image spans both rows on left */
.cg-main {
  grid-row: 1 / 3;
  overflow: hidden;
  position: relative;
  display: block;
}

.cg-main img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s var(--easing), filter 0.4s ease;
  filter: grayscale(10%);
}

.cg-sub {
  overflow: hidden;
  position: relative;
  display: block;
}

.cg-sub img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s var(--easing), filter 0.4s ease;
  filter: grayscale(10%);
}

.cg-main:hover img,
.cg-sub:hover img { transform: scale(1.05); filter: grayscale(0%); }

/* ─── Jan Špetla: full-bleed hero image ─────────────────────────── */
.client-hero-img {
  max-width: 1240px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.client-hero-img .gallery-item { display: block; }

.client-hero-img img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(10%);
  transition: transform 0.7s var(--easing), filter 0.4s ease;
}

.client-hero-img:hover img { transform: scale(1.025); filter: grayscale(0%); }

/* ===================================================================
   POSTUP PRÁCE
   =================================================================== */
#postup {
  background: var(--bg-alt);
}

.postup-inner { max-width: 1240px; margin: 0 auto; }

.process-step {
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.process-step--flip .process-step-content { order: 1; }
.process-step--flip .process-step-img     { order: 0; }

.process-step-num {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: rgba(255,255,255,0.10);
  flex-shrink: 0;
}

.process-step-title {
  font-family: var(--font-display);
  font-size: 52px;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  color: var(--text);
}

.process-step-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
}

.process-step-img img {
  width: 100%;
  display: block;
  filter: grayscale(15%);
  transition: filter 0.4s ease;
}

.process-step-img:hover img { filter: grayscale(0%); }

/* Process photo grid — masonry, 4 cols -->*/
.process-gallery {
  columns: 4;
  column-gap: 10px;
  margin-top: 60px;
}

.process-gallery .gallery-item {
  margin-bottom: 10px;
}

/* ===================================================================
   FOOTER UPDATE — back to top arrow
   =================================================================== */
.footer-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  flex-shrink: 0;
}

.footer-top:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.footer-top svg { width: 18px; height: 18px; }

/* ===================================================================
   GALLERY / PORTFOLIO
   =================================================================== */
#portfolio { background: var(--bg-alt); }

.gallery-inner { max-width: 1440px; margin: 0 auto; }

.gallery-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.filter-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 24px;
  transition: all 0.22s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* Masonry grid */
.gallery-grid {
  columns: 3;
  column-gap: 12px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 12px;
  overflow: hidden;
  position: relative;
  display: block;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s var(--easing), filter 0.4s ease;
  filter: grayscale(15%) brightness(0.95);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: grayscale(0%) brightness(1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay svg {
  width: 32px;
  height: 32px;
  stroke: white;
  fill: none;
  stroke-width: 1.5;
}

.gallery-overlay span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

/* Gallery placeholders */
.gallery-placeholder {
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.08);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px dashed rgba(255,255,255,0.06);
}

/* Lightbox */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 9900;
  background: rgba(5,4,5,0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

#lightbox.active {
  opacity: 1;
  pointer-events: all;
}

#lightbox-img {
  max-width: 88vw;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 0 100px rgba(0,0,0,0.9);
  transition: transform 0.3s var(--easing);
}

#lightbox-close {
  position: absolute;
  top: 32px;
  right: 44px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.55);
  font-size: 36px;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

#lightbox-close:hover { color: #fff; transform: rotate(90deg); }

#lightbox-prev,
#lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  font-size: 28px;
  padding: 22px 18px;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

#lightbox-prev { left: 28px; }
#lightbox-next { right: 28px; }

#lightbox-prev:hover,
#lightbox-next:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

#lightbox-caption {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ===================================================================
   CONTACT
   =================================================================== */
#contact {
  background: var(--bg);
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
}

.contact-glow {
  position: absolute;
  bottom: -250px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(192,26,8,0.12) 0%, transparent 68%);
  pointer-events: none;
}

.contact-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px;
  align-items: start;
}

.contact-info .section-title { margin-bottom: 28px; }

.contact-tagline {
  font-size: 19px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 52px;
  max-width: 420px;
}

.contact-details { display: flex; flex-direction: column; gap: 32px; }

.contact-detail-item { display: flex; flex-direction: column; gap: 5px; }

.cdl {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-bright);
}

.cdv {
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s ease;
}

.cdv:hover { color: var(--red-bright); }

.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 52px;
}

.social-link {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.social-link:hover { background: var(--red); border-color: var(--red); }

.social-link svg { width: 18px; height: 18px; transition: fill 0.25s ease, stroke 0.25s ease; }
.social-link:hover svg { fill: #fff !important; stroke: #fff !important; }

/* Form */
.contact-form { padding-top: 12px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group { margin-bottom: 22px; }

.form-group label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-bottom-color: rgba(255,255,255,0.12);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 15px 18px;
  outline: none;
  -webkit-appearance: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.18); }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red-bright);
  background: rgba(255,255,255,0.04);
}

.form-group textarea { min-height: 150px; resize: vertical; }

.form-group select { color: var(--text); }
.form-group select option { background: #111; }

/* Custom select arrow */
.select-wrap { position: relative; }
.select-wrap::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--text-muted);
  pointer-events: none;
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 12px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 18px 46px;
  border: none;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  transition: background 0.25s ease, transform 0.2s var(--easing);
}

.btn-submit:hover { background: var(--red-bright); transform: translateY(-3px); }

.btn-submit svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.5;
  transition: transform 0.25s var(--easing);
}

.btn-submit:hover svg { transform: translateX(4px); }
.btn-submit:disabled { opacity: 0.6; transform: none; }

.form-note { font-size: 12px; color: var(--text-muted); }

#form-feedback {
  margin-top: 18px;
  font-size: 14px;
  display: none;
  padding: 14px 18px;
  border-left: 2px solid;
}

#form-feedback.success { color: #5acd99; border-color: #5acd99; background: rgba(90,205,153,0.06); }
#form-feedback.error   { color: #ff4422; border-color: #ff4422; background: rgba(255,68,34,0.06); }

/* ===================================================================
   FOOTER
   =================================================================== */
#site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 36px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 120px;
}

.footer-copy { font-size: 13px; color: var(--text-muted); }
.footer-copy a { color: var(--text-muted); transition: color 0.2s ease; }
.footer-copy a:hover { color: var(--red-bright); }

.footer-logo img { height: 30px; opacity: 0.5; transition: opacity 0.25s ease; }
.footer-logo:hover img { opacity: 1; }

/* ===================================================================
   SCROLL REVEAL ANIMATIONS
   =================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s var(--easing), transform 0.75s var(--easing);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.34s; }
.reveal-delay-4 { transition-delay: 0.46s; }

/* ===================================================================
   DIVIDER LINE
   =================================================================== */
.section-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1100px) {
  .gallery-grid    { columns: 3; }
  .process-gallery { columns: 3; }
  .client-inner-grid { grid-template-columns: 1fr; }
  .cg-main { grid-row: auto; }
}

@media (max-width: 900px) {
  section { padding: 80px 32px; }

  #site-nav,
  #site-nav.scrolled { padding-left: 32px; padding-right: 32px; }

  .manifesto-inner  { grid-template-columns: 1fr; gap: 48px; }
  .manifesto-visual::before { display: none; }
  .contact-inner    { grid-template-columns: 1fr; gap: 56px; }
  .clients-header   { padding: 0 32px; }
  .client-block     { padding: 60px 32px; }
  .process-step     { grid-template-columns: 60px 1fr; grid-template-rows: auto auto; }
  .process-step-img { grid-column: 1 / -1; }
  .process-gallery  { columns: 2; }
  .gallery-grid     { columns: 2; }
  .form-row         { grid-template-columns: 1fr; }

  #site-footer {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    padding: 28px 32px;
    margin-top: 80px;
  }
}

@media (max-width: 640px) {
  .nav-links          { display: none; }
  .gallery-grid       { columns: 1; }
  .process-gallery    { columns: 2; }
  .hero-logo-wrap img { height: 80px; }
  .strip-item         { width: 180px; }
  .strip-item img     { height: 320px; }
  .client-gallery-grid { grid-template-columns: 1fr; }
  .cg-sub img         { height: 220px; }
}
