﻿/* ==========================================================
   Dynamic Printing Lab — Design System v4 FINAL
   Dark modern theme · Gradient mesh · Glass effects · Animated
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700&display=swap');

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
  --bg:          #0a0e1a;
  --bg-card:     #111827;
  --bg-elevated: #1a2035;
  --surface:     #1e293b;
  --line:        rgba(255,255,255,.08);
  --line-light:  rgba(255,255,255,.12);
  --ink:         #f1f5f9;
  --muted:       #94a3b8;
  --light:       #64748b;
  --white:       #ffffff;

  --accent:      #3b82f6;
  --accent-bright: #60a5fa;
  --accent-dark: #1d4ed8;
  --accent-glow: rgba(59,130,246,.25);
  --accent-tint: rgba(59,130,246,.08);

  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 40%, #172554 70%, #0f172a 100%);
  --gradient-accent: linear-gradient(135deg, #3b82f6, #8b5cf6, #06b6d4);
  --gradient-card: linear-gradient(145deg, rgba(30,41,59,.8), rgba(15,23,42,.95));
  --gradient-glow: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(59,130,246,.06), transparent 40%);

  --glass: rgba(255,255,255,.04);
  --glass-border: rgba(255,255,255,.08);
  --glass-strong: rgba(255,255,255,.07);

  --success:     #22c55e;
  --danger:      #ef4444;

  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --shadow:      0 8px 32px rgba(0,0,0,.3);
  --shadow-lg:   0 24px 64px rgba(0,0,0,.4);
  --shadow-glow: 0 0 40px rgba(59,130,246,.15);
  --container:   1200px;
  --header-h:    72px;
}

/* ── RESET ───────────────────────────────────────────────── */
*, ::before, ::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.25rem; }

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

/* ── LAYOUT ──────────────────────────────────────────────── */
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* ── SKIP LINK ───────────────────────────────────────────── */
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
  left: 1rem; top: 1rem; z-index: 9999;
  background: var(--accent); color: #fff;
  padding: .5rem 1rem; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}

/* ── HEADER ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(10,14,26,.85);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

/* ── LOGO ────────────────────────────────────────────────── */
.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: -.03em;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.25) 0%, transparent 50%);
  border-radius: inherit;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: -.01em;
}

.logo-text small {
  font-size: .68rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Back-compat: old .logo-mark still needs to not break */
.logo-mark { display: none; }

/* ── NAV TOGGLE ──────────────────────────────────────────── */
.nav-toggle {
  display: none;
  background: var(--glass-strong);
  border: 1px solid var(--line-light);
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  padding: .5rem .9rem;
  border-radius: 8px;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

/* ── PRIMARY NAV ─────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-link,
.nav-dd-btn {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 600;
  padding: .5rem .8rem;
  border-radius: 8px;
  border: none;
  background: none;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: all .2s;
  font-family: inherit;
  text-decoration: none;
}

.nav-link:hover,
.nav-dd-btn:hover {
  color: #fff;
  background: var(--glass-strong);
}

.nav-link[aria-current='page'] {
  color: var(--accent-bright);
  background: var(--accent-tint);
}

.btn-nav-cta {
  margin-left: .5rem;
  background: var(--accent);
  color: #fff !important;
  padding: .55rem 1.2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: .85rem;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: all .2s;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-nav-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.lang-switch {
  margin-left: .5rem;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  overflow: hidden;
}

.lang-switch a {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--muted);
  padding: .4rem .58rem;
  text-transform: uppercase;
  transition: all .2s;
}

.lang-switch a:hover {
  color: #fff;
  background: var(--glass-strong);
}

.lang-switch a[aria-current='page'] {
  background: var(--accent-tint);
  color: var(--accent-bright);
}

/* ── DROPDOWN ────────────────────────────────────────────── */
.has-dropdown { position: relative; }

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background: var(--bg-elevated);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .5rem;
  z-index: 300;
  list-style: none;
  backdrop-filter: blur(16px);
}

.nav-dd-btn[aria-expanded='true'] + .dropdown {
  display: block;
  animation: ddFade .18s ease;
}

@keyframes ddFade {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.dropdown li { margin: 0; }

.dropdown a {
  display: block;
  padding: .55rem .9rem;
  font-size: .86rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: 8px;
  transition: all .15s;
}

.dropdown a:hover {
  background: var(--accent-tint);
  color: var(--accent-bright);
}

.dropdown-divider {
  height: 1px;
  background: var(--line);
  margin: .35rem .5rem;
}

.dd-arrow {
  font-size: .65rem;
  transition: transform .2s;
  display: inline-block;
  opacity: .6;
}

.nav-dd-btn[aria-expanded='true'] .dd-arrow {
  transform: rotate(180deg);
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 5.5rem 0 4.5rem;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background:
    radial-gradient(circle at 20% 50%, rgba(59,130,246,.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139,92,246,.1) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(6,182,212,.08) 0%, transparent 45%);
  animation: meshFloat 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes meshFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(2%, -3%) rotate(1deg); }
  66% { transform: translate(-1%, 2%) rotate(-1deg); }
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

.hero * { position: relative; z-index: 1; }

.hero h1, .hero h2, .hero h3 { color: #fff; }
.hero p { color: #cbd5e1; }
.hero .small { color: var(--light); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: .5rem;
}

.hero-card img {
  border-radius: 22px;
  width: 100%;
}

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3 {
  line-height: 1.15;
  margin: 0 0 .85rem;
  color: var(--ink);
}

h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -.03em;
}

h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -.02em;
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

p { margin: 0 0 .85rem; color: var(--muted); }
.small { font-size: .85rem; color: var(--light); }

.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── KICKER / TAG ────────────────────────────────────────── */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--accent-tint);
  color: var(--accent-bright);
  border: 1px solid rgba(59,130,246,.15);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .3rem .8rem;
  border-radius: 999px;
  margin-bottom: .85rem;
}

.kicker::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.hero .kicker {
  background: rgba(255,255,255,.06);
  color: var(--accent-bright);
  border-color: rgba(255,255,255,.1);
}

.tag {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent-bright);
}

/* ── SECTIONS ────────────────────────────────────────────── */
main section {
  padding: 4rem 0;
  position: relative;
}

.section-dark {
  background: var(--bg-card);
}

.section-alt {
  background: var(--bg-elevated);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

/* ── PANELS + CARDS ──────────────────────────────────────── */
.panel {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
  position: relative;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity .3s;
}

.card:hover {
  border-color: var(--line-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.card:hover::before { opacity: 1; }

.card h3 { margin-top: 0; }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* ── GRID ────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.split  { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

/* ── PORTFOLIO ─────────────────────────────────────────── */
.portfolio-hero-intro {
  max-width: 760px;
}

.portfolio-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.25rem;
}

.portfolio-pill-row span {
  display: inline-flex;
  align-items: center;
  padding: .45rem .8rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #dbeafe;
  border: 1px solid rgba(147,197,253,.25);
  background: rgba(30,64,175,.24);
}

.portfolio-feature-grid {
  display: grid;
  gap: 1.4rem;
}

.portfolio-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--gradient-card);
  box-shadow: var(--shadow);
}

.portfolio-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.portfolio-feature-content {
  padding: 1.5rem 1.6rem;
}

.portfolio-feature-content h3 {
  margin-bottom: .65rem;
  font-size: 1.35rem;
}

.portfolio-feature-content p {
  margin-bottom: .7rem;
}

.portfolio-meta {
  margin-bottom: .5rem;
  color: var(--accent-bright);
  font-size: .73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .3s cubic-bezier(.4,0,.2,1);
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.portfolio-card figcaption {
  padding: 1rem 1rem 1.1rem;
  color: var(--muted);
  font-size: .9rem;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-light);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border-radius: var(--radius);
  padding: .8rem 1.5rem;
  border: none;
  font: inherit;
  font-weight: 700;
  font-size: .93rem;
  text-decoration: none;
  cursor: pointer;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-secondary {
  background: var(--glass-strong);
  color: var(--ink);
  border: 1px solid var(--line-light);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
  background: var(--accent-tint);
}

.btn-outline {
  background: transparent;
  color: var(--accent-bright);
  border: 1.5px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 14px;
}

.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Inside hero */
.hero .btn-secondary {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
}
.hero .btn-secondary:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.3);
}

/* ── CTA STRIP ───────────────────────────────────────────── */
.cta-strip {
  background: linear-gradient(135deg, #1e1b4b 0%, #1e3a5f 50%, #172554 100%);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(59,130,246,.2), transparent 70%);
  pointer-events: none;
}

.cta-strip h2, .cta-strip h3 { color: #fff; margin-bottom: .35rem; position: relative; }
.cta-strip p { color: #94a3b8; margin: 0; position: relative; }

.btn-cta-white {
  background: #fff;
  color: var(--accent-dark);
  font-weight: 800;
  border-radius: var(--radius);
  padding: .85rem 1.8rem;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: all .2s;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}

.btn-cta-white:hover {
  background: #e0e7ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
}

/* ── STAT ROW ────────────────────────────────────────────── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.stat-item strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: .35rem;
}

.stat-item span {
  font-size: .82rem;
  color: var(--muted);
  font-weight: 600;
}

/* ── LIST ────────────────────────────────────────────────── */
.list-tight { margin: .5rem 0; padding-left: 1.2rem; }
.list-tight li { margin-bottom: .45rem; color: var(--muted); }

/* ── NOTICE ──────────────────────────────────────────────── */
.notice {
  background: var(--accent-tint);
  border-left: 3px solid var(--accent);
  padding: .9rem 1.2rem;
  border-radius: 10px;
  color: var(--ink);
}

/* ── TABLE ───────────────────────────────────────────────── */
.table { width: 100%; border-collapse: collapse; }
.table th {
  background: var(--bg-elevated);
  color: var(--ink);
  font-size: .88rem;
  font-weight: 700;
  padding: .8rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--line);
}
.table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .93rem;
}
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--glass); }

/* ── FAQ ─────────────────────────────────────────────────── */
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: .65rem;
  background: var(--bg-card);
  transition: border-color .2s;
}
details:hover { border-color: var(--line-light); }
summary {
  cursor: pointer;
  font-weight: 700;
  padding: 1rem 1.2rem;
  list-style: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 700;
  transition: transform .2s;
}
details[open] summary { color: var(--accent-bright); }
details[open] summary::after { content: '-'; }
details p, details div { padding: 0 1.2rem 1rem; margin: 0; color: var(--muted); }

/* ── FORMS ───────────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }

label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  margin-bottom: .35rem;
}

input, select, textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: .75rem 1rem;
  font: inherit;
  font-size: .95rem;
  background: var(--bg-card);
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; }

/* ── ALERTS ──────────────────────────────────────────────── */
.alert { border-radius: 10px; padding: .9rem 1.1rem; font-weight: 600; margin-bottom: .85rem; }
.alert-success { background: rgba(34,197,94,.1); color: var(--success); border: 1px solid rgba(34,197,94,.2); }
.alert-error   { background: rgba(239,68,68,.1); color: var(--danger); border: 1px solid rgba(239,68,68,.2); }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  margin-top: 4rem;
  background: var(--bg-card);
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.site-footer h3 {
  color: var(--ink);
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-family: 'Space Grotesk', sans-serif;
}

.site-footer p { color: var(--light); font-size: .88rem; margin: .3rem 0; }
.site-footer a { color: var(--muted); transition: color .15s; }
.site-footer a:hover { color: var(--accent-bright); }
.site-footer .small { color: var(--light); margin-top: 1.5rem; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  flex-wrap: wrap;
  gap: .5rem;
}

.footer-links { display: flex; gap: 1.5rem; font-size: .85rem; }
.footer-links a { color: var(--light); }
.footer-links a:hover { color: var(--accent-bright); }

.footer-lang-switch {
  color: var(--light);
  font-size: .82rem;
  font-weight: 700;
}

.footer-lang-switch a {
  color: var(--muted);
}

.footer-lang-switch a[aria-current='page'],
.footer-lang-switch a:hover {
  color: var(--accent-bright);
}

/* ── FLOATING CTA ────────────────────────────────────────── */
.floating-cta {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 500;
  background: var(--accent);
  color: #fff;
  padding: .8rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .88rem;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(59,130,246,.35);
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  transition: all .25s;
  animation: ctaPulse 3s ease-in-out infinite;
}

.floating-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 44px rgba(59,130,246,.5);
  animation: none;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(59,130,246,.35); }
  50% { box-shadow: 0 8px 40px rgba(59,130,246,.55); }
}

/* ── ANIMATION ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── BREADCRUMB ──────────────────────────────────────────── */
.breadcrumb { font-size: .82rem; color: var(--light); padding: .6rem 0; }
.breadcrumb a { color: var(--accent-bright); }
.breadcrumb a:hover { text-decoration: underline; }

/* ── SERVICE ICON GRID ───────────────────────────────────── */
.service-icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all .3s;
  text-decoration: none;
  color: inherit;
}

.service-icon-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.service-icon-card .icon {
  font-size: 2.2rem;
  margin-bottom: .75rem;
  display: block;
}

.service-icon-card h3 {
  font-size: .95rem;
  margin: 0 0 .35rem;
  color: var(--ink);
}

.service-icon-card p {
  font-size: .82rem;
  color: var(--light);
  margin: 0;
}

/* ── TESTIMONIAL ─────────────────────────────────────────── */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-size: 3.5rem;
  color: var(--accent);
  opacity: .3;
  position: absolute;
  top: .5rem;
  left: 1.25rem;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card p { color: var(--muted); margin-top: 1rem; font-style: italic; }
.testimonial-card .author { color: var(--ink); font-weight: 700; font-style: normal; font-size: .88rem; margin-top: .75rem; }
.testimonial-card .author span { color: var(--light); font-weight: 500; }

/* ── PROCESS STEPS ───────────────────────────────────────── */
.process-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.step-number {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  background: var(--accent-tint);
  color: var(--accent-bright);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(59,130,246,.15);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-grid, .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .grid-4, .split, .form-grid, .stat-row { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-feature { grid-template-columns: 1fr; }
  .portfolio-feature-content { padding: 1.2rem 1.2rem 1.35rem; }

  .nav-toggle { display: inline-flex; }

  .nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(10,14,26,.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: .75rem;
    z-index: 200;
    max-height: 80vh;
    overflow-y: auto;
  }

  .nav.open { display: flex; }

  .nav-link, .nav-dd-btn { padding: .7rem 1rem; border-radius: 10px; }
  .btn-nav-cta { margin: .5rem 0 0; text-align: center; justify-content: center; }
  .lang-switch { margin: .45rem 0 0; justify-content: center; }

  .has-dropdown { position: static; }

  .dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--glass);
    border-radius: 10px;
    padding: .25rem;
    margin: .15rem 0 .3rem;
    min-width: 0;
  }

  .nav-dd-btn[aria-expanded='true'] + .dropdown {
    animation: none;
  }

  .dropdown a { color: var(--muted) !important; padding: .55rem 1.25rem; }
  .dropdown a:hover { background: var(--accent-tint) !important; color: var(--accent-bright) !important; }

  .floating-cta {
    left: 1rem;
    right: 1rem;
    border-radius: 14px;
    justify-content: center;
  }

  .hero { padding: 3.5rem 0 3rem; }

  .cta-strip {
    padding: 2rem 1.5rem;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .cta-strip .btn-cta-white { align-self: center; }

  .panel { padding: 1.5rem; }
}

/* ── UTILITIES ───────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.gap-sm { gap: .75rem; }
.inline-link { color: var(--accent-bright); font-weight: 600; }
.inline-link:hover { text-decoration: underline; }
