/* AD TechDanube — modern static landing (HestiaCP ready) */

:root {
  --bg: #0a0e14;
  --bg-elevated: #0f1520;
  --surface: #151b26;
  --glass: rgba(21, 27, 38, 0.65);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --accent: #42bcf5;
  --accent-2: #6366f1;
  --accent-glow: rgba(66, 188, 245, 0.4);
  --gradient: linear-gradient(135deg, #42bcf5 0%, #6366f1 100%);
  --font: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Plus Jakarta Sans", var(--font);
  --font-mono: "JetBrains Mono", "Cascadia Code", "Consolas", monospace;
  --code-bg: #0d1117;
  --code-border: rgba(66, 188, 245, 0.2);
  --syn-kw: #c792ea;
  --syn-fn: #82aaff;
  --syn-str: #c3e88d;
  --syn-cm: #546e7a;
  --syn-prop: #f78c6c;
  --syn-num: #f78c6c;
  --syn-ok: #42bcf5;
  --syn-prompt: #42bcf5;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --header-h: 68px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

main {
  position: relative;
  z-index: 1;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
}

img, svg { display: block; max-width: 100%; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
address { font-style: normal; }

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Ambient glow */
.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 40% at 80% 10%, rgba(99, 102, 241, 0.15), transparent),
    radial-gradient(ellipse 40% 30% at 10% 60%, rgba(66, 188, 245, 0.1), transparent);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: var(--bg);
  border-radius: 10px;
  font-weight: 600;
}
.skip-link:focus { top: calc(var(--safe-top) + 1rem); }

.container {
  width: min(100% - 2rem, 1120px);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* Glass card utility */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: var(--safe-top);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(10, 14, 20, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  width: min(100% - 2rem, 1120px);
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  min-height: 44px;
}
.logo:hover { text-decoration: none; color: var(--accent); }
.logo--footer { justify-content: center; }

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 0 20px var(--accent-glow);
}
.logo-mark img { width: 100%; height: 100%; }
.logo-mark--sm { width: 32px; height: 32px; }
.logo-accent { color: var(--accent); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.site-header.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: fixed;
  top: calc(var(--header-h) + var(--safe-top));
  right: 0;
  bottom: 0;
  width: min(88vw, 320px);
  padding: 1.5rem 1.25rem calc(1.5rem + var(--safe-bottom));
  background: rgba(15, 21, 32, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid var(--glass-border);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  visibility: hidden;
}
.site-header.is-open .site-nav {
  transform: translateX(0);
  visibility: visible;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block;
  padding: 0.95rem 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text);
  text-decoration: none;
  min-height: 44px;
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--accent); }
.site-nav .nav-cta {
  margin-top: 0.5rem;
  padding: 0.85rem 1.25rem;
  background: var(--gradient);
  color: var(--bg) !important;
  border-radius: 12px;
  text-align: center;
}
.site-nav .nav-cta:hover { filter: brightness(1.1); text-decoration: none; }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: -1;
}
.site-header.is-open .nav-backdrop { display: block !important; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.8rem 1.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.3s, filter 0.3s, background 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--gradient);
  color: #0a0e14;
  box-shadow: 0 8px 28px var(--accent-glow);
}
.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 12px 36px var(--accent-glow);
  text-decoration: none;
}
.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--glass-border);
}
.btn-glass:hover {
  border-color: rgba(66, 188, 245, 0.4);
  color: var(--accent);
  text-decoration: none;
}
.btn-lg { min-height: 54px; padding-inline: 2rem; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn.is-loading { pointer-events: none; opacity: 0.85; }
.btn-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(10, 14, 20, 0.2);
  border-top-color: var(--bg);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + var(--safe-top) + 2.5rem) 0 3rem;
  overflow: hidden;
}

.hero-orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 12s ease-in-out infinite;
}
.orb-1 {
  width: 320px; height: 320px;
  top: -80px; left: -60px;
  background: rgba(66, 188, 245, 0.25);
}
.orb-2 {
  width: 280px; height: 280px;
  top: 30%; right: -80px;
  background: rgba(99, 102, 241, 0.2);
  animation-delay: -4s;
}
.orb-3 {
  width: 200px; height: 200px;
  bottom: 10%; left: 30%;
  background: rgba(66, 188, 245, 0.15);
  animation-delay: -8s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -15px) scale(1.05); }
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.45rem 1rem 0.45rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(66, 188, 245, 0.1);
  border: 1px solid rgba(66, 188, 245, 0.25);
  border-radius: 100px;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 8.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero-lead {
  margin: 0 0 2rem;
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 38ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.75rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-stats li {
  padding: 1.1rem 0.65rem;
  text-align: center;
  border-radius: var(--radius);
}
.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.2rem;
}
.hero-stats span {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Trust bar */
.trust {
  padding: 2rem 0 3rem;
  border-bottom: 1px solid var(--glass-border);
}
.trust-label {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.trust-list li {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(148, 163, 184, 0.7);
  transition: color 0.3s;
}
.trust-list li:hover { color: var(--accent); }

/* Sections */
.section { padding: 4.5rem 0; }
.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-header { text-align: center; margin-bottom: 2.75rem; }
.section-header--left { text-align: left; margin-bottom: 1.25rem; }
.section-header h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.section-lead {
  margin: 0 auto;
  max-width: 44ch;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Services */
.services { background: var(--bg-elevated); }
.services-grid {
  display: grid;
  gap: 1rem;
}
.service-card {
  position: relative;
  padding: 1.65rem;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(66, 188, 245, 0.3);
}
.card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.04) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.service-card:hover .card-shine { transform: translateX(100%); }

.service-icon {
  width: 48px; height: 48px;
  margin-bottom: 1.1rem;
  padding: 11px;
  border-radius: 12px;
  background: rgba(66, 188, 245, 0.12);
  color: var(--accent);
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}
.service-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Process */
.process-steps {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}
.process-step {
  padding: 1.75rem;
  position: relative;
}
.process-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.5;
  margin-bottom: 0.5rem;
}
.process-step h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}
.process-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* About */
.about-grid { display: grid; gap: 2.5rem; }
.about-copy p { margin: 0 0 1rem; color: var(--text-muted); }
.about-copy strong { color: var(--text); }
.about-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.about-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.65rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.about-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gradient);
}
.about-visual { display: grid; gap: 1rem; }
.about-card {
  padding: 1.65rem;
}
.about-card--accent {
  border-color: rgba(66, 188, 245, 0.25);
  background: linear-gradient(135deg, var(--glass), rgba(66, 188, 245, 0.08));
}
.about-card-icon {
  width: 40px; height: 40px;
  margin-bottom: 0.85rem;
  padding: 8px;
  border-radius: 10px;
  background: rgba(66, 188, 245, 0.12);
  color: var(--accent);
}
.about-card-icon svg { width: 100%; height: 100%; }
.about-card-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.45rem;
}
.about-card address, .about-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.55;
}

/* CTA */
.cta-band { padding: 2rem 0 4.5rem; }
.cta-band-inner {
  position: relative;
  padding: 2.5rem 1.75rem;
  text-align: center;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 50% 50%, var(--accent-glow), transparent 55%);
  opacity: 0.35;
  pointer-events: none;
}
.cta-band h2 {
  position: relative;
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.5vw, 2.1rem);
  font-weight: 800;
}
.cta-band p {
  position: relative;
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}

/* Contact */
.contact-grid { display: grid; gap: 1.5rem; }
.contact-info { display: grid; gap: 0.85rem; }
.contact-block {
  padding: 1.35rem 1.5rem;
  margin: 0;
}
.contact-block h3 {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-company {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}
.contact-block address, .contact-block p {
  margin: 0;
  line-height: 1.6;
}
.contact-role { font-size: 0.875rem; color: var(--text-muted); }
.contact-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
  font-weight: 600;
  font-size: 0.9375rem;
}
.contact-map-link:hover { text-decoration: none; filter: brightness(1.15); }
.contact-link {
  display: inline-block;
  font-weight: 600;
  font-size: 0.9375rem;
  word-break: break-word;
}
.contact-link:hover { text-decoration: none; filter: brightness(1.15); }

.contact-form-wrap {
  position: relative;
  padding: 1.75rem;
  min-height: 320px;
}
.contact-form-wrap.is-success .contact-form {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  inset: 1.75rem;
}

.form-note {
  margin: 0 0 1.35rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.contact-form label {
  display: block;
  margin-bottom: 1.1rem;
}
.contact-form label span {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: rgba(10, 14, 20, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  transition: border-color 0.25s, box-shadow 0.25s;
  -webkit-appearance: none;
  appearance: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(66, 188, 245, 0.15);
}
.contact-form textarea {
  resize: vertical;
  min-height: 128px;
}

/* Form success */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
  min-height: 280px;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.contact-form-wrap.is-success .form-success {
  opacity: 1;
  transform: scale(1);
}
.form-success[hidden] { display: none !important; }
.contact-form-wrap.is-success .form-success[hidden] {
  display: flex !important;
}

.form-success-icon {
  width: 72px; height: 72px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(66, 188, 245, 0.15);
  color: var(--accent);
  animation: successPop 0.5s var(--ease);
}
.form-success-icon svg { width: 36px; height: 36px; }
@keyframes successPop {
  0% { transform: scale(0.5); opacity: 0; }
  70% { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}
.form-success h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}
.form-success p {
  margin: 0 0 1.5rem;
  max-width: 28ch;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* Footer */
.site-footer {
  padding: 2.75rem 0 calc(2.25rem + var(--safe-bottom));
  border-top: 1px solid var(--glass-border);
  background: var(--bg-elevated);
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  text-align: center;
}
.footer-brand .logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
}
.footer-legal {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.footer-nav a {
  font-weight: 500;
  color: var(--text-muted);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-nav a:hover { color: var(--accent); text-decoration: none; }
.footer-copy {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Responsive */
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .hero-stats li { padding: 1.35rem 1rem; }
}

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    width: auto;
    padding: 0;
    background: none;
    border: none;
    transform: none;
    visibility: visible;
    backdrop-filter: none;
  }
  .site-nav ul { display: flex; align-items: center; gap: 0.15rem; }
  .site-nav a {
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    min-height: auto;
  }
  .site-nav .nav-cta {
    margin-top: 0;
    margin-left: 0.5rem;
    padding: 0.55rem 1.15rem;
    font-size: 0.875rem;
  }
  .nav-backdrop { display: none !important; }
  .about-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }
  .contact-grid {
    grid-template-columns: 0.95fr 1.15fr;
    align-items: start;
  }
  .footer-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
  .footer-brand .logo { justify-content: flex-start; }
  .footer-copy { width: 100%; text-align: center; margin-top: 0.75rem; }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-lead { font-size: 1.125rem; max-width: 48ch; }
}

/* ─── IT / Code theme ─── */

.inline-code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  font-weight: 500;
  color: var(--accent);
  background: rgba(66, 188, 245, 0.1);
  padding: 0.1em 0.4em;
  border-radius: 5px;
  border: 1px solid rgba(66, 188, 245, 0.2);
}

/* Matrix-style code rain background */
.code-rain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.35;
  mask-image: linear-gradient(180deg, transparent, black 15%, black 85%, transparent);
}
.code-rain-col {
  position: absolute;
  top: -100%;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.35;
  color: var(--accent);
  white-space: pre;
  animation: codeFall linear infinite;
  user-select: none;
}
@keyframes codeFall {
  to { transform: translateY(220vh); }
}

/* Floating section code lines */
.section {
  position: relative;
  overflow: hidden;
}
.section-code {
  position: absolute;
  font-family: var(--font-mono);
  font-size: clamp(0.65rem, 2vw, 0.8rem);
  color: var(--accent);
  opacity: 0.12;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  letter-spacing: 0.02em;
}
.section-code--hero { top: 12%; right: -2%; transform: rotate(-6deg); }
.section-code--trust { bottom: 15%; left: 2%; }
.section-code--services { top: 8%; left: 3%; transform: rotate(3deg); }
.section-code--process { top: 20%; right: 4%; }
.section-code--about { bottom: 10%; right: 5%; transform: rotate(-4deg); }
.section-code--cta { top: 25%; left: 4%; }
.section-code--contact { bottom: 12%; left: 2%; }

/* Code window (IDE / terminal) */
.code-window {
  background: var(--code-bg);
  border: 1px solid var(--code-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(66, 188, 245, 0.08);
}
.code-window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.55rem 0.85rem;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--glass-border);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.code-window-title {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.code-block {
  margin: 0;
  padding: 1rem 1.1rem;
  font-family: var(--font-mono);
  font-size: clamp(0.65rem, 2.8vw, 0.78rem);
  line-height: 1.55;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.code-block code {
  font-family: inherit;
  white-space: pre;
}
.code-block .kw { color: var(--syn-kw); }
.code-block .fn { color: var(--syn-fn); }
.code-block .str { color: var(--syn-str); }
.code-block .cm { color: var(--syn-cm); }
.code-block .prop { color: var(--syn-prop); }
.code-block .num { color: var(--syn-num); }
.code-block .ok { color: var(--syn-ok); }
.code-block .prompt { color: var(--syn-prompt); }

.cursor-blink {
  color: var(--accent);
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}

.code-window--hero { margin-top: 1.5rem; }
.code-window--mini { max-width: 100%; margin: 0 auto 1.25rem; }
.code-window--cta { margin-bottom: 1rem; }

/* Hero two-column */
.hero-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero .hero-content { position: relative; z-index: 1; }

/* Trust */
.trust-wrap { position: relative; z-index: 1; }
.trust-list code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  padding: 0.25em 0.55em;
  background: rgba(66, 188, 245, 0.08);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  color: var(--accent);
}

/* Service card code snippets */
.service-snippet {
  margin: 1rem 0 0;
  padding: 0.75rem 0.85rem;
  background: rgba(13, 17, 23, 0.85);
  border: 1px solid var(--code-border);
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.5;
  overflow-x: auto;
}
.service-snippet code { white-space: pre; }
.service-snippet .kw { color: var(--syn-kw); }
.service-snippet .fn { color: var(--syn-fn); }
.service-snippet .str { color: var(--syn-str); }
.service-snippet .cm { color: var(--syn-cm); }
.service-snippet .num { color: var(--syn-num); }
.service-snippet .ok { color: var(--syn-ok); }

/* Process code */
.process-code {
  margin: 0 0 0.75rem;
  padding: 0.5rem 0.65rem;
  background: rgba(13, 17, 23, 0.7);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.45;
}
.process-code code { white-space: pre; }
.process-code .cm { color: var(--syn-cm); }
.process-code .fn { color: var(--syn-fn); }
.process-code .num { color: var(--syn-num); }

/* About JSON window */
.about-visual .code-window {
  margin-bottom: 1rem;
}

/* CTA layout */
.cta-layout {
  display: grid;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

/* Contact API snippet */
.contact-form-wrap { position: relative; }
.contact-api-code {
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  background: rgba(13, 17, 23, 0.75);
  border: 1px solid var(--code-border);
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.5;
  overflow-x: auto;
}
.contact-api-code .kw { color: var(--syn-kw); }
.contact-api-code .fn { color: var(--syn-fn); }
.contact-api-code .str { color: var(--syn-str); }
.contact-api-code .prop { color: var(--syn-prop); }

/* Footer terminal bar */
.footer-terminal {
  padding: 0.55rem 1rem;
  background: rgba(13, 17, 23, 0.9);
  border-top: 1px solid var(--code-border);
  border-bottom: 1px solid var(--glass-border);
  text-align: center;
  overflow-x: auto;
  position: relative;
  z-index: 1;
}
.footer-terminal code {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.footer-terminal .ok { color: #28c840; }
.footer-terminal .cm { color: var(--syn-cm); }
.footer-terminal .prop { color: var(--syn-prop); }

/* Header subtle code hint on scroll - optional via body */
.site-header.is-scrolled .logo-text::after {
  content: none;
}

@media (min-width: 768px) {
  .hero-layout {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .code-window--hero { margin-top: 0; }
  .cta-layout {
    grid-template-columns: 1fr 1.2fr;
    align-items: stretch;
  }
  .trust-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 1.5rem;
  }
  .code-window--mini { margin: 0; max-width: none; }
  .trust-label, .trust-list { grid-column: 2; }
}

@media (min-width: 1024px) {
  .code-block { font-size: 0.78rem; }
  .service-snippet { font-size: 0.72rem; }
}

@media (max-width: 767px) {
  .code-window--hero { display: block; }
  .section-code { display: none; }
  .code-rain { opacity: 0.2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb { animation: none; }
  .code-rain-col { animation: none; opacity: 0.15; }
  .cursor-blink { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
