/* ── RESET & VARS ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --white:   #F5F4F0;
  --off:     #EDECEA;
  --black:   #0C0C0B;
  --ink:     #1A1917;
  --muted:   #6B6A67;
  --blue:    #497cff;
  --blue-d:  #2f5ce8;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white); color: var(--black);
  overflow-x: hidden;
}
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
}
@media (hover: none), (pointer: coarse) {
  #cursor, #cursor-ring { display: none !important; }
}

/* ── CURSOR ── */
#cursor {
  position: fixed; width: 10px; height: 10px;
  background: var(--blue); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .2s, height .2s;
  mix-blend-mode: multiply;
}
#cursor-ring {
  position: fixed; width: 40px; height: 40px;
  border: 1.5px solid var(--blue); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width .2s, height .2s, opacity .2s; opacity: .45;
}

/* ── NOISE ── */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ── HEADER ── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 68px;
  background: rgba(245,244,240,.86); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.06); transition: box-shadow .3s;
}
header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.07); }
.logo-mark {
  font-family: var(--font-display); font-weight: 800; font-size: 1.28rem;
  letter-spacing: -0.02em; color: var(--black); text-decoration: none;
}
nav { display: flex; align-items: center; gap: 6px; }
nav a {
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 500;
  color: var(--muted); text-decoration: none; padding: 8px 16px;
  border-radius: 100px; transition: color .2s, background .2s;
}
nav a:hover { color: var(--black); background: rgba(0,0,0,.05); }
nav .nav-cta { background: var(--black); color: var(--white) !important; padding: 9px 22px; }
nav .nav-cta:hover { background: var(--blue); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none;
}
.hamburger span { width: 22px; height: 2px; background: var(--black); border-radius: 2px; display: block; transition: .3s; }

/* ── MOBILE DRAWER ── */
.mob-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 280px;
  background: var(--white); z-index: 600; padding: 80px 28px 40px;
  transform: translateX(100%); transition: transform .3s ease;
  box-shadow: -8px 0 40px rgba(0,0,0,.12);
}
.mob-drawer.open { transform: translateX(0); }
.mob-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.4);
  z-index: 599; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.mob-overlay.open { opacity: 1; pointer-events: auto; }
.mob-drawer a {
  display: block; font-family: var(--font-display); font-size: 1.15rem;
  font-weight: 700; color: var(--black); text-decoration: none;
  padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,.07); transition: color .2s;
}
.mob-drawer a:hover { color: var(--blue); }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 130px 24px 80px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(73,124,255,.14) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 82% 78%, rgba(73,124,255,.07) 0%, transparent 60%);
}
.orb { position: absolute; border-radius: 50%; pointer-events: none; animation: orbFloat 9s ease-in-out infinite; }
.orb-1 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(73,124,255,.16) 0%, transparent 70%); top: -100px; left: -120px; animation-duration: 11s; }
.orb-2 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(73,124,255,.1) 0%, transparent 70%); bottom: 40px; right: -80px; animation-duration: 14s; animation-delay: -5s; }
@keyframes orbFloat { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-28px) scale(1.04); } }
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgba(73,124,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(73,124,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(73,124,255,.1); border: 1px solid rgba(73,124,255,.22);
  color: var(--blue); font-family: var(--font-display); font-size: 0.76rem;
  font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: 6px 18px; border-radius: 100px; margin-bottom: 32px;
  position: relative; z-index: 2; animation: fadeUp .8s .1s both;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.hero h1 {
  font-family: var(--font-display); font-size: clamp(2.8rem, 7vw, 6.2rem);
  font-weight: 800; line-height: 1.06; letter-spacing: -0.035em;
  color: var(--black); max-width: 860px; margin: 0 auto 28px;
  position: relative; z-index: 2; animation: fadeUp .9s .2s both;
}
.hero h1 em { font-style: normal; color: var(--blue); position: relative; }
.hero h1 em::after {
  content: ''; position: absolute; left: 0; bottom: -4px; right: 0; height: 3px;
  background: var(--blue); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; animation: lineGrow 1s 1.2s forwards;
}
@keyframes lineGrow { to { transform: scaleX(1); } }
.hero p {
  font-size: 1.1rem; font-weight: 300; color: var(--muted);
  max-width: 500px; margin: 0 auto 48px; line-height: 1.72;
  position: relative; z-index: 2; animation: fadeUp .9s .35s both;
}
.hero-actions {
  display: flex; align-items: center; gap: 14px; justify-content: center;
  position: relative; z-index: 2; animation: fadeUp .9s .48s both;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--black); color: var(--white);
  padding: 15px 32px; border-radius: 100px;
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 600;
  text-decoration: none; transition: transform .2s, background .2s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(73,124,255,.32);
}
.btn-primary:hover { background: var(--blue); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(144, 175, 255, 0.32); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; color: var(--muted);
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 600;
  text-decoration: none; padding: 15px 24px; border-radius: 100px;
  border: 1px solid rgba(0,0,0,.14); transition: color .2s, border-color .2s, transform .2s;
}
.btn-ghost:hover { color: var(--black); border-color: var(--black); transform: translateY(-2px); }

/* ── HERO 3D CARD ── */
.hero-card-wrap { position: relative; z-index: 2; margin-top: 72px; perspective: 1100px; animation: fadeUp .9s .6s both; }
.hero-card {
  background: var(--black); border-radius: 24px; width: min(800px, 90vw); padding: 28px;
  box-shadow: 0 40px 80px rgba(0,0,0,.24), 0 0 0 1px rgba(255,255,255,.06) inset, 0 60px 120px rgba(73,124,255,.09);
  transform: rotateX(8deg) rotateY(-2deg); transform-style: preserve-3d;
  animation: heroCardFloat 7s ease-in-out infinite; transition: transform .6s ease;
}
.hero-card:hover { transform: rotateX(2deg) rotateY(0); }
@keyframes heroCardFloat { 0%,100% { transform: rotateX(8deg) rotateY(-2deg) translateY(0); } 50% { transform: rotateX(6deg) rotateY(-1deg) translateY(-10px); } }
.card-topbar { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-r { background: #ff5f57; } .dot-y { background: #ffbd2e; } .dot-g { background: #28ca41; }
.card-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.mini-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); border-radius: 12px; padding: 16px; }
.mini-card-label { font-size: 0.68rem; color: rgba(255,255,255,.38); letter-spacing: .07em; text-transform: uppercase; margin-bottom: 8px; }
.mini-card-val { font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; color: #fff; }
.mini-card-val.blue { color: var(--blue); }
.mini-card-trend { font-size: 0.71rem; color: #34d399; margin-top: 4px; }
.card-chart { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); border-radius: 12px; padding: 16px; height: 100px; display: flex; align-items: flex-end; gap: 6px; }
.bar { flex: 1; border-radius: 4px 4px 0 0; background: rgba(73,124,255,.28); animation: barGrow .8s ease both; }
.bar.active { background: var(--blue); }
@keyframes barGrow { from { height: 0 !important; } }

/* ── SHARED LAYOUT ── */
.section-inner { max-width: 1100px; margin: 0 auto; padding: 120px 32px; }
.label { font-family: var(--font-display); font-size: 0.73rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; display: block; }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -0.03em; color: var(--black); line-height: 1.1; margin-bottom: 18px; }
.section-sub { font-family: var(--font-body); font-size: 1.04rem; font-weight: 300; color: var(--muted); max-width: 480px; line-height: 1.72; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .72s ease, transform .72s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── MARQUEE ── */
.marquee-section { border-top: 1px solid rgba(0,0,0,.07); border-bottom: 1px solid rgba(0,0,0,.07); padding: 22px 0; overflow: hidden; background: var(--off); }
.marquee-track { display: flex; white-space: nowrap; animation: marquee 24s linear infinite; }
.marquee-item { display: inline-flex; align-items: center; gap: 18px; padding: 0 38px; font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.marquee-item::before { content: '●'; color: var(--blue); font-size: .48rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── STATS ── */
.stats-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; margin-top: 80px; border: 1px solid rgba(0,0,0,.08); border-radius: 22px; overflow: hidden; }
.stat-box { padding: 48px 36px; background: var(--white); display: flex; flex-direction: column; gap: 8px; transition: background .3s; }
.stat-box:hover { background: var(--black); }
.stat-box:hover .stat-n, .stat-box:hover .stat-unit, .stat-box:hover .stat-desc { color: var(--white); }
.stat-box:hover .stat-n { color: var(--blue); }
.stat-n { font-family: var(--font-display); font-size: 3.8rem; font-weight: 800; letter-spacing: -0.045em; color: var(--black); line-height: 1; transition: color .3s; }
.stat-unit { font-size: 2rem; color: var(--blue); font-weight: 800; font-family: var(--font-display); transition: color .3s; }
.stat-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.55; transition: color .3s; }

/* ── SERVICES ── */
.services-bg { background: var(--black); }
.services-bg .section-title { color: var(--white); }
.services-bg .section-sub { color: rgba(255,255,255,.4); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 64px; }
.svc-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 20px; padding: 36px 28px; transition: transform .35s ease, background .35s, box-shadow .35s; transform-style: preserve-3d; perspective: 800px; cursor: default; }
.svc-card:hover { background: rgba(255,255,255,.07); box-shadow: 0 24px 60px rgba(0,0,0,.4), 0 0 0 1px rgba(73,124,255,.2); }
.svc-icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(73,124,255,.15); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 24px; }
.svc-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.svc-card p { font-size: 0.88rem; color: rgba(255,255,255,.42); line-height: 1.62; }
.svc-tag { display: inline-block; margin-top: 22px; font-family: var(--font-display); font-size: 0.7rem; letter-spacing: .09em; text-transform: uppercase; color: var(--blue); font-weight: 700; }

/* ── TECH ── */
.tech-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.tech-visual { perspective: 900px; }
.tech-box { background: var(--black); border-radius: 24px; padding: 36px; position: relative; overflow: hidden; transform: rotateY(-8deg) rotateX(4deg); box-shadow: 24px 24px 60px rgba(0,0,0,.15), 0 0 0 1px rgba(0,0,0,.08); animation: techFloat 8s ease-in-out infinite; transition: transform .5s ease; }
@keyframes techFloat { 0%,100% { transform: rotateY(-8deg) rotateX(4deg) translateY(0); } 50% { transform: rotateY(-5deg) rotateX(2deg) translateY(-8px); } }
.tech-box:hover { transform: rotateY(0) rotateX(0); }
.tech-glow { position: absolute; width: 200px; height: 200px; background: radial-gradient(circle, rgba(73,124,255,.3) 0%, transparent 70%); top: -40px; right: -40px; pointer-events: none; }
.tech-label { display: inline-block; padding: 5px 14px; border-radius: 100px; background: rgba(73,124,255,.15); color: var(--blue); font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 20px; }
.tech-big { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1.22; margin-bottom: 28px; letter-spacing: -0.02em; }
.tech-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.tech-list li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.7); font-size: 0.9rem; }
.tech-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.feat-list { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; }
.feat-item { display: flex; align-items: flex-start; gap: 16px; padding: 20px; border-radius: 14px; border: 1px solid rgba(0,0,0,.08); transition: border-color .2s, box-shadow .2s, transform .2s; }
.feat-item:hover { border-color: var(--blue); box-shadow: 0 4px 20px rgba(73,124,255,.1); transform: translateX(4px); }
.feat-num { font-family: var(--font-display); font-size: 1rem; font-weight: 800; color: var(--blue); flex-shrink: 0; width: 36px; }
.feat-text h4 { font-family: var(--font-display); font-size: 0.92rem; font-weight: 700; margin-bottom: 4px; }
.feat-text p { font-size: 0.84rem; color: var(--muted); line-height: 1.55; }

/* ── PORTFOLIO ── */
.port-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 64px; }
.port-card { border-radius: 18px; overflow: hidden; background: var(--off); border: 1px solid rgba(0,0,0,.07); position: relative; transition: transform .3s ease, box-shadow .3s; }
.port-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,.1); }
.port-preview { height: 200px; background: var(--black); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.port-mockup { width: 88%; height: 78%; border-radius: 8px; background: var(--ink); display: flex; flex-direction: column; overflow: hidden; }
.port-bar { height: 20px; background: rgba(255,255,255,.05); display: flex; align-items: center; gap: 5px; padding: 0 8px; }
.port-dot { width: 5px; height: 5px; border-radius: 50%; }
.port-body { flex: 1; padding: 8px; display: grid; grid-template-columns: 1fr 2fr; gap: 6px; }
.port-sidebar { background: rgba(255,255,255,.05); border-radius: 4px; }
.port-main { background: rgba(73,124,255,.1); border-radius: 4px; }
.port-hover { position: absolute; inset: 0; background: rgba(73,124,255,.88); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .25s; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; text-decoration: none; letter-spacing: .04em; }
.port-card:hover .port-hover { opacity: 1; }
.port-info { padding: 20px; }
.port-name { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--black); }
.port-type { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }
/* iframe-based portfolio previews (shared across all pages) */
.portfolio-iframe-wrap {
  position: relative; width: 100%; height: 240px;
  overflow: hidden; background: #f2f2f2;
}
.portfolio-iframe-wrap iframe {
  width: 200%; height: 200%; border: none;
  transform: scale(0.5); transform-origin: top left;
  pointer-events: none;
}

/* ── CONTACT ── */
.contact-bg { background: var(--black); }
.contact-bg .section-title { color: #fff; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-layout > div:last-child { padding-top: 25px; }
.contact-info-side { color: rgba(255,255,255,.6); }
.contact-info-side p { font-size: 0.94rem; line-height: 1.72; margin-bottom: 40px; }
.contact-links { display: flex; flex-direction: column; gap: 14px; }
.contact-link { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); text-decoration: none; color: #fff; font-family: var(--font-display); font-size: 0.88rem; font-weight: 500; transition: background .2s, transform .2s, border-color .2s; }
.contact-link:hover { background: rgba(73,124,255,.12); border-color: rgba(73,124,255,.3); transform: translateX(4px); }
.contact-link-icon { width: 42px; height: 42px; border-radius: 10px; background: rgba(73,124,255,.2); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-link-icon .icon-svg { width: 20px; height: 20px; object-fit: contain; display: block; }
.contact-link-sublabel { font-size: .7rem; color: rgba(255,255,255,.38); margin-bottom: 3px; letter-spacing: .07em; text-transform: uppercase; font-family: var(--font-display); font-weight: 700; }
.cform { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 24px; padding: 36px; }
.cform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.cform input { width: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 14px 18px; color: #fff; font-family: var(--font-body); font-size: 0.92rem; outline: none; transition: border-color .2s, background .2s; }
.cform input::placeholder { color: rgba(255,255,255,.28); }
.cform input:focus { border-color: var(--blue); background: rgba(73,124,255,.08); }
.cform-full { grid-column: 1 / -1; }
.cform-btn { width: 100%; margin-top: 6px; background: var(--blue); color: #fff; border: none; padding: 16px; border-radius: 100px; font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; letter-spacing: .02em; }
.cform-btn:hover { background: var(--blue-d); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(73,124,255,.35); }
.form-status-msg { margin-top: 12px; font-size: .84rem; text-align: center; color: rgba(255,255,255,.45); }

/* ── PAGE HERO (om-os, kontakt) ── */
.page-hero { padding: 120px 32px 0; max-width: 1100px; margin: 0 auto; }
.page-hero-eyebrow { font-family: var(--font-display); font-size: 0.73rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 20px; display: block; animation: fadeUp .7s .1s both; }
.page-hero-title { font-family: var(--font-display); font-size: clamp(2.4rem,5vw,4.8rem); font-weight: 800; letter-spacing: -0.035em; color: var(--black); line-height: 1.07; max-width: 720px; animation: fadeUp .8s .2s both; }
.page-hero-sub { font-size: 1.05rem; font-weight: 300; color: var(--muted); max-width: 500px; line-height: 1.72; margin-top: 20px; animation: fadeUp .8s .3s both; }
.page-img-wrap { width: 100%; height: 480px; overflow: hidden; margin-top: 60px; border-radius: 24px; animation: fadeUp .9s .4s both; }
.page-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* ── EXPERTISE (om-os) ── */
.expertise-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.expertise-pill { padding: 10px 22px; border-radius: 100px; border: 1.5px solid rgba(0,0,0,.1); font-family: var(--font-display); font-size: 0.88rem; font-weight: 600; color: var(--black); transition: background .2s, border-color .2s, color .2s; }
.expertise-pill:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.expertise-pill.blue { background: rgba(73,124,255,.1); border-color: rgba(73,124,255,.25); color: var(--blue); }

/* ── PORTFOLIO PAGE ── */
.portfolio-hero-section { text-align: center; padding: 140px 20px 60px; }
.portfolio-hero-title { font-family: var(--font-display); font-size: clamp(2.2rem,5vw,4rem); font-weight: 800; letter-spacing: -0.03em; color: var(--black); margin-bottom: 16px; animation: fadeUp .8s .1s both; }
.portfolio-hero-sub { font-size: 1.06rem; color: var(--muted); font-weight: 300; max-width: 480px; margin: 0 auto; line-height: 1.68; animation: fadeUp .8s .2s both; }
.portfolio-section { max-width: 1100px; margin: 0 auto 120px; padding: 0 32px; }

/* ── FOOTER ── */
footer { background: var(--black); border-top: 1px solid rgba(255,255,255,.06); padding: 60px 48px 36px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer-desc { font-size: 0.84rem; color: rgba(255,255,255,.32); line-height: 1.62; max-width: 240px; }
.footer-col h5 { font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,.52); text-decoration: none; font-size: 0.87rem; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,.22); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { display: none; }
  .hamburger { display: flex; }
  header { padding: 0 24px; }
  .tech-split { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .port-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .contact-layout > div:last-child { padding-top: 0; }
  .stats-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .page-img-wrap { height: 320px; border-radius: 16px; }
  .page-hero { padding: 100px 20px 0; }
}
@media (max-width: 768px) {
  .hero-card-wrap { perspective: none; margin-top: 48px; }
  .hero-card {
    transform: none !important;
    animation: none;
    width: min(800px, 100%);
    padding: 20px;
    border-radius: 18px;
  }
  .hero-card:hover { transform: none !important; }
  .tech-visual { perspective: none; }
  .tech-box {
    transform: none !important;
    animation: none;
    border-radius: 20px;
    padding: 28px;
  }
  .tech-box:hover { transform: none !important; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 2.5rem; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: min(320px, 100%);
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    justify-content: center;
    width: 100%;
  }
  .orb-1 { width: 220px; height: 220px; top: -60px; left: -70px; }
  .orb-2 { width: 160px; height: 160px; bottom: 20px; right: -50px; }
  .stat-n { font-size: clamp(2.2rem, 12vw, 3.2rem); }
  .stat-unit { font-size: 1.35rem; }
  .stat-box { padding: 32px 24px; }
  .footer-bottom { flex-wrap: wrap; gap: 12px 20px; align-items: flex-start; }
  .services-grid, .port-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .cform-grid { grid-template-columns: 1fr; }
  .section-inner { padding: 80px 20px; }
  .footer-top { grid-template-columns: 1fr; }
  footer { padding: 40px 20px 24px; }
  .page-img-wrap { height: 220px; margin-top: 36px; border-radius: 12px; }
  .page-hero { padding: 88px 20px 0; }
  .portfolio-hero-section { padding: 100px 16px 40px; }
  .portfolio-section { padding: 0 16px; }
}
@media (max-width: 480px) {
  .portfolio-iframe-wrap { height: 200px; }
}