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

:root {
  --bg:        #ffffff;
  --bg-warm:   #f6f5f1;
  --bg-dark:   #111110;
  --border:    #e4e3de;
  --border-h:  #c8c7c0;
  --red:       #e8302a;
  --red-dark:  #c42520;
  --text:      #111110;
  --text-muted:#5a5955;
  --text-dim:  #9a9990;
  --radius:    10px;
  --radius-sm: 6px;
  --trans:     0.25s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* =====================
   TYPOGRAPHY HELPERS
   ===================== */
.red-text { color: var(--red); }

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1.5px;
  background: var(--red);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 500px;
}

.section-header {
  margin-bottom: 56px;
}
.section-header.center {
  text-align: center;
}
.section-header.center .section-label {
  justify-content: center;
}
.section-header.center .section-label::before { display: none; }
.section-header.center .section-sub { margin: 0 auto; }

/* =====================
   LAYOUT
   ===================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: 100px 0; }

/* =====================
   REVEAL
   ===================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   NAVBAR
   ===================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all var(--trans);
}
#navbar.scrolled {
  background: rgba(255,255,255,0.95);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo .dot { color: var(--red); }
.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color var(--trans);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1.5px;
  background: var(--red);
}
.nav-cta {
  background: var(--red) !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background var(--trans) !important;
}
.nav-cta:hover { background: var(--red-dark) !important; }
.nav-cta::after { display: none !important; }
.lang-switch {
  background: transparent;
  border: 1px solid var(--border-h);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: all var(--trans);
}
.lang-switch:hover {
  border-color: var(--red);
  color: var(--red);
}
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--trans);
}
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 12px 32px 24px;
  gap: 0;
  border-top: 1px solid var(--border);
  background: #fff;
}
.nav-mobile.open { display: flex; }
.mob-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--trans);
}
.mob-link:last-child { border-bottom: none; }
.mob-link:hover { color: var(--text); }
.mob-cta {
  margin-top: 12px;
  background: var(--red);
  color: #fff !important;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  border-bottom: none !important;
  font-weight: 600 !important;
}

/* =====================
   HERO
   ===================== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 32px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.12;
  animation: blobFloat 9s ease-in-out infinite alternate;
  pointer-events: none;
}
.blob-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--red) 0%, transparent 70%);
  top: -80px; left: -80px;
  animation-delay: 0s;
}
.blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #ff8c00 0%, transparent 70%);
  bottom: 0; right: -40px;
  animation-delay: -4s;
}
@keyframes blobFloat {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(30px,20px) scale(1.06); }
}
#tileCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 32px;
  background: rgba(255,255,255,0.7);
}
.badge-dot {
  width: 6px; height: 6px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 6px #22c55e; }
  50% { box-shadow: 0 0 12px #22c55e, 0 0 20px rgba(34,197,94,0.4); }
}
.hero-title {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin-bottom: 28px;
  max-width: 860px;
}
.hero-title .accent { color: var(--red); }
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 540px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.stat {}
.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 500;
  margin-top: 2px;
}
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}
.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}
.scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
@keyframes scrollDown {
  0%   { transform: scaleY(0); transform-origin: top; }
  49%  { transform: scaleY(1); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--trans);
  font-family: inherit;
}
.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-h);
}
.btn-ghost:hover {
  border-color: var(--text);
  background: rgba(0,0,0,0.03);
}
.btn-lg { padding: 14px 32px; font-size: 0.95rem; }
.btn-full { width: 100%; justify-content: center; }

/* =====================
   ABOUT
   ===================== */
#about { background: var(--bg-warm); }
.about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}
.about-photo-wrap {
  position: relative;
}
.about-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  display: block;
}
.about-photo-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.82rem;
}
.about-photo-label strong {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
}
.about-photo-label span {
  color: var(--text-muted);
  font-size: 0.78rem;
}
.about-text {
  padding-top: 8px;
}
.about-body {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
  padding: 28px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.about-fact-item {}
.about-fact-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.about-fact-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}
.about-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.87rem;
  font-weight: 500;
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--trans);
  background: white;
}
.social-link:hover {
  color: var(--text);
  border-color: var(--border-h);
}

/* =====================
   SERVICES — EDITORIAL LIST
   ===================== */
#services { background: white; }
.services-list {
  display: flex;
  flex-direction: column;
}
.service-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 32px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  transition: all var(--trans);
  cursor: default;
}
.service-row:first-child { border-top: 1px solid var(--border); }
.service-row:hover { background: var(--bg-warm); margin: 0 -32px; padding: 36px 32px; }
.service-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.05em;
  padding-top: 4px;
}
.service-main h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.service-main p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
}
.service-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding-top: 4px;
}
.service-tags span {
  padding: 3px 10px;
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

/* =====================
   PROCESS
   ===================== */
#process { background: var(--bg-dark); color: white; }
#process .section-label { color: var(--red); }
#process .section-title { color: white; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 48px;
}
.process-step {
  background: var(--bg-dark);
  padding: 36px 28px;
  transition: background var(--trans);
}
.process-step:hover { background: #1a1a18; }
.step-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 20px;
}
.step-content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
}
.step-content p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
}

/* =====================
   PORTFOLIO
   ===================== */
#portfolio { background: var(--bg-warm); }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.portfolio-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--trans);
  display: flex;
  flex-direction: column;
}
.portfolio-card:hover {
  border-color: var(--border-h);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.07);
}
.portfolio-visual {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-vis-1 { background: #fef2f2; }
.p-vis-2 { background: #f0f9ff; }
.p-vis-3 { background: #f0fdf4; }
.p-icon { font-size: 3rem; }
.portfolio-info { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.portfolio-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.portfolio-tags span {
  padding: 2px 8px;
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 0.68rem;
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.portfolio-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.portfolio-info p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =====================
   CTA BANNER
   ===================== */
#cta-banner { padding: 80px 0; background: white; }
.cta-box {
  background: var(--bg-dark);
  border-radius: var(--radius);
  padding: 72px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 300px;
  background: radial-gradient(ellipse, rgba(232,48,42,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}
.cta-box h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.15;
  color: white;
}
.cta-box h2 .accent { color: var(--red); }
.cta-sub {
  color: rgba(255,255,255,0.45);
  margin-bottom: 36px;
  font-size: 0.95rem;
}

/* =====================
   CONTACT
   ===================== */
#contact { background: var(--bg-warm); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-body {
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.75;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
  transition: all var(--trans);
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: white;
}
.contact-item:hover {
  border-color: var(--border-h);
  transform: translateX(3px);
}
.contact-icon {
  width: 38px; height: 38px;
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}
.contact-label-sm {
  font-size: 0.7rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1px;
}
.contact-value {
  font-size: 0.9rem;
  font-weight: 600;
}
.contact-form-wrap {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 13px;
  color: var(--text);
  font-size: 0.88rem;
  font-family: inherit;
  transition: border-color var(--trans);
  outline: none;
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  background: white;
}

/* =====================
   FOOTER
   ===================== */
#footer {
  background: var(--bg-dark);
  padding-top: 56px;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 48px;
  flex-wrap: wrap;
}
.footer-brand .nav-logo { display: block; margin-bottom: 10px; color: white; }
.footer-brand p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.65;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.87rem;
  transition: color var(--trans);
}
.footer-links a:hover { color: white; }
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: all var(--trans);
}
.footer-social a:hover {
  color: white;
  border-color: rgba(255,255,255,0.3);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color var(--trans);
}
.footer-legal a:hover { color: white; }

/* =====================
   COOKIE BANNER
   ===================== */
#cookieBanner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 20px 22px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
#cookieBanner.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.cookie-text {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}
.cookie-text a {
  color: rgba(255,255,255,0.75);
  text-decoration: underline;
}
.cookie-text a:hover { color: white; }
.cookie-actions {
  display: flex;
  gap: 8px;
}
.btn-cookie-accept {
  background: var(--red);
  color: white;
  border: none;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--trans);
}
.btn-cookie-accept:hover { background: var(--red-dark); }
.btn-cookie-decline {
  background: transparent;
  color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--trans);
}
.btn-cookie-decline:hover {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.25);
}

/* =====================
   LEGAL PAGES
   ===================== */
.legal-page { padding: 120px 0 80px; min-height: 80vh; }
.legal-page h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.legal-page .legal-updated {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 48px;
}
.legal-page h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 32px 0 10px;
}
.legal-page p, .legal-page li {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 8px;
}
.legal-page ul { padding-left: 20px; margin-bottom: 8px; }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 40px;
  transition: color var(--trans);
}
.legal-back:hover { color: var(--text); }

/* =====================
   FORMSPREE
   ===================== */
.form-success-msg {
  display: none;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: #22c55e;
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-weight: 500;
}
.fs-field-error, .fs-form-error {
  display: block;
  color: var(--red);
  font-size: 0.82rem;
  margin-top: 4px;
}

/* =====================
   FAQ
   ===================== */
#faq { background: var(--bg-warm); }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item summary {
  padding: 1.35rem 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text);
  transition: color var(--trans);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--red);
  flex-shrink: 0;
  transition: transform 0.2s ease;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--red); }
.faq-item p {
  padding: 0 2rem 1.35rem 0;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-photo { max-width: 100%; aspect-ratio: 3/2; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .service-row { grid-template-columns: 48px 1fr; }
  .service-tags { display: none; }
  /* Disable negative-margin hover on tablet — causes overflow */
  .service-row:hover { margin: 0; padding: 36px 0; background: transparent; }
}

@media (max-width: 680px) {
  section { padding: 64px 0; }
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  /* Hero */
  #hero { padding: 100px 20px 72px; }
  .hero-title { font-size: clamp(1.5rem, 6.5vw, 3.2rem); }
  .hero-stats { gap: 24px; }
  .scroll-indicator { display: none; }

  /* About */
  .about-photo { aspect-ratio: 4/3; }
  .about-photo-label { display: none; }
  .about-facts { grid-template-columns: 1fr 1fr; padding: 20px; }

  /* Services — no hover effects on touch */
  .service-row:hover { margin: 0; padding: 36px 0; background: transparent; }

  /* Process */
  .process-steps { grid-template-columns: 1fr; }
  .process-step { padding: 28px 22px; }

  /* Portfolio */
  .portfolio-grid { grid-template-columns: 1fr; }

  /* CTA */
  .cta-box { padding: 40px 24px; }

  /* Contact form */
  .contact-form-wrap { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* Cookie banner — full width on small screens */
  #cookieBanner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
    width: auto;
  }
}

@media (max-width: 400px) {
  .hero-title { font-size: clamp(1.3rem, 6vw, 1.5rem); }
  .section-title { font-size: 1.8rem; }
  .contact-form-wrap { padding: 18px 16px; }
}

/* Touch: bigger tap targets */
@media (hover: none) and (pointer: coarse) {
  .btn { min-height: 48px; padding: 13px 26px; }
  .mob-link { padding: 15px 0; }
  .faq-item summary { padding: 1.5rem 0; }
  /* Disable hover effects that don't make sense on touch */
  .service-row:hover { margin: 0 !important; padding: 36px 0 !important; background: transparent !important; }
  .portfolio-card:hover { transform: none; box-shadow: none; }
  .contact-item:hover { transform: none; }
}

/* Reduce motion / performance on mobile */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .blob { animation: none; }
  .scroll-line { animation: none; }
  .badge-dot { animation: none; }
}

/* Reduce GPU load on mobile: smaller blobs */
@media (max-width: 680px) {
  .blob-1 { width: 280px; height: 280px; filter: blur(60px); }
  .blob-2 { width: 220px; height: 220px; filter: blur(60px); }
  #tileCanvas { opacity: 0.25; }
}
