/* ─────────────────────────────────────────────────────────
   SCHNELL7 LABS — style.css
   Dark navy background, orange/amber fox accent, cyan text accent.
──────────────────────────────────────────────────────────── */

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
  --bg:           #0d1528;
  --bg-card:      #121e38;
  --bg-card-hover:#16244a;
  --border:       rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.14);

  --text:         #e8edf5;
  --text-muted:   #7a8aab;
  --text-faint:   #4a5a7a;

  --accent-orange: #f97316;
  --accent-cyan:   #38bdf8;
  --accent-wa:     #25d366;
  --accent-ig:     #e1306c;
  --accent-glow:   rgba(249,115,22,0.18);
  --accent-cyan-glow: rgba(56,189,248,0.12);

  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;

  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

  --nav-h:        68px;
  --section-gap:  clamp(80px, 12vw, 160px);

  color-scheme: dark;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

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

img { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── LAYOUT ──────────────────────────────────────────────── */
.container {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}

/* ── REVEAL ANIMATION ────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; translate: 0 32px; }
  to   { opacity: 1; translate: 0 0; }
}

.reveal {
  opacity: 0;
  animation: fade-up 0.7s ease both;
  animation-play-state: paused;
}
.reveal.is-visible {
  animation-play-state: running;
  animation-delay: var(--delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; animation: none; }
}

/* ── WORDMARK ────────────────────────────────────────────────
   Used in nav and footer alongside the fox logo icon.
   Matches the full logo's color scheme exactly:
   - Braces { } → cyan (#38bdf8)
   - "7" → cyan (#38bdf8)
   - "SCHNELL" + " LABS" → white/light
──────────────────────────────────────────────────────────── */
.nav__wordmark,
.footer__wordmark {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
  user-select: none;
}
.nav__wordmark  { font-size: 1rem; }
.footer__wordmark { font-size: 0.85rem; }

.wm-brace,
.wm-seven {
  color: var(--accent-cyan);
}

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(20px, 4vw, 56px);
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(13, 21, 40, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: var(--border);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__logo-img {
  height: 34px;
  width: 34px;
  object-fit: contain;
  /* logo has dark bg — keep it tight as an icon */
  border-radius: 6px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--text); }

.nav__cta {
  color: var(--accent-cyan) !important;
  padding: 7px 18px;
  border: 1px solid rgba(56,189,248,0.35);
  border-radius: 100px;
  transition: background 0.2s, border-color 0.2s !important;
}
.nav__cta:hover {
  background: rgba(56,189,248,0.08);
  border-color: rgba(56,189,248,0.65) !important;
}

/* ── NAV RIGHT & LANG SWITCH ────────────────────────────── */
.nav__right {
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  flex-shrink: 0;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-hover);
  border-radius: 100px;
  padding: 3px 4px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  user-select: none;
  -webkit-user-select: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  touch-action: manipulation;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 5px 9px;
  min-height: 32px;
  min-width: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: 1;
  transition: all 0.2s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.is-active {
  background: rgba(56, 189, 248, 0.18);
  color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.28);
}

.lang-divider {
  color: var(--text-faint);
  font-size: 0.68rem;
  line-height: 1;
  padding-inline: 1px;
}

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 8px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s;
}
.nav__burger:hover {
  background: rgba(255, 255, 255, 0.05);
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(13, 21, 40, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 80px 24px 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.mobile-link {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  transition: color 0.2s, transform 0.2s;
  padding: 4px 16px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.mobile-link:active {
  color: var(--accent-cyan);
  transform: scale(0.96);
}
.mobile-menu .nav__cta {
  font-size: 1.15rem;
  padding: 10px 28px;
  margin-top: 6px;
}

.mobile-menu__lang {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  width: min(100%, 280px);
}
.mobile-menu__lang-title {
  font-size: 0.74rem;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.mobile-menu__lang-switch {
  display: flex;
  gap: 8px;
  width: 100%;
}
.mobile-menu__lang-switch .lang-btn {
  flex: 1;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 0.84rem;
  font-family: var(--font-mono);
  font-weight: 600;
  border: 1px solid var(--border-hover);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border-radius: 12px;
}
.mobile-menu__lang-switch .lang-btn.is-active {
  background: rgba(56, 189, 248, 0.16);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, border-color 0.18s;
  letter-spacing: 0.01em;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--accent-orange);
  color: #fff;
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn--primary:hover {
  background: #fb8a3c;
  box-shadow: 0 8px 28px var(--accent-glow);
}

.btn--ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--border-hover);
}
.btn--ghost:hover { background: rgba(255,255,255,0.1); }

.btn--outline {
  background: transparent;
  color: var(--accent-cyan);
  border: 1px solid rgba(56,189,248,0.35);
}
.btn--outline:hover {
  background: rgba(56,189,248,0.07);
  border-color: rgba(56,189,248,0.65);
}

.btn--lg { padding: 15px 36px; font-size: 1rem; }

/* ── SECTION LABEL ───────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 28px;
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero__noise {
  position: absolute;
  inset: 0;
  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.75' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
  opacity: 0.4;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero__orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(249,115,22,0.12) 0%, transparent 65%);
  top: -100px; right: -120px;
}
.hero__orb--2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(56,189,248,0.09) 0%, transparent 65%);
  bottom: -80px; left: -100px;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-inline: 24px;
  max-width: 780px;
  margin-inline: auto;
}

.hero__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 24px;
}

.hero__headline {
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 28px;
}

.hero__accent {
  background: linear-gradient(in oklch, var(--accent-orange) 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 44px;
  margin-inline: auto;
  font-weight: 400;
  max-width: 620px;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── SERVICES ────────────────────────────────────────────── */
.services {
  padding-block: var(--section-gap);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

/* ── CARD ────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: border-color 0.25s, background 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(249,115,22,0.06) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.3);
}
.card:hover::before { opacity: 1; }

.card__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(249,115,22,0.1);
  border: 1px solid rgba(249,115,22,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  margin-bottom: 24px;
}

.card__title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
}

.card__body {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.card__tags li {
  font-size: 0.75rem;
  font-weight: 500;
  font-family: var(--font-mono);
  color: var(--text-faint);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 12px;
  letter-spacing: 0.02em;
}

/* ── PORTFOLIO ───────────────────────────────────────────── */
.portfolio {
  padding-block: var(--section-gap);
  border-top: 1px solid var(--border);
  position: relative;
}

.portfolio__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 48px;
}

.portfolio__headline {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-top: 10px;
  margin-bottom: 14px;
}

.portfolio__sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
}

/* Category Filter Tabs */
.portfolio__filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.portfolio__filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hover);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.portfolio__filter-btn:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.portfolio__filter-btn.is-active {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* Portfolio Cards Grid */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.portfolio__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.portfolio__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--card-accent, var(--accent-cyan)), transparent);
  opacity: 0.25;
  transition: opacity 0.3s ease;
}

.portfolio__card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.6);
}

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

.portfolio__card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.portfolio__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.portfolio__icon--eggly {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.portfolio__icon--alvindo {
  background: #ffffff;
  padding: 6px;
  object-fit: contain;
}

.portfolio__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.portfolio__tag {
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 500;
  white-space: nowrap;
}

.portfolio__tag--mobile {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #4ade80;
}

.portfolio__tag--web {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38bdf8;
}

.portfolio__title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 4px;
}

.portfolio__tagline {
  font-size: 0.88rem;
  color: var(--accent-orange);
  font-weight: 500;
  margin-bottom: 14px;
}

.portfolio__desc {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.68;
  margin-bottom: 28px;
  flex-grow: 1;
}

/* Action buttons */
.portfolio__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.portfolio__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1;
}

.portfolio__btn--primary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-hover);
  color: var(--text);
}

.portfolio__btn--primary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}

.portfolio__btn--play {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: #4ade80;
}

.portfolio__btn--play:hover {
  background: rgba(34, 197, 94, 0.18);
  border-color: rgba(34, 197, 94, 0.45);
  transform: translateY(-1px);
}

/* ── ABOUT ───────────────────────────────────────────────── */
.about {
  padding-block: var(--section-gap);
  border-top: 1px solid var(--border);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: center;
}

.about__portrait {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24), 0 0 60px var(--accent-cyan-glow);
}

.about__portrait::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 35% 0 0;
  background: linear-gradient(180deg, transparent, rgba(8, 15, 30, 0.9));
  pointer-events: none;
}

.about__portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 25%;
}

.about__caption {
  position: absolute;
  z-index: 2;
  inset: auto 28px 24px;
  display: grid;
  gap: 3px;
}

.about__caption strong {
  color: var(--text);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.about__caption span {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 500;
}

.about__headline {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text);
  margin-top: 8px;
  transform: translateY(-10px);
}

.about__right p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.about__right .btn { margin-top: 8px; }

/* ── CONTACT ─────────────────────────────────────────────── */
.contact {
  padding-block: var(--section-gap);
}

.contact__card {
  background: linear-gradient(135deg in oklch, var(--bg-card) 0%, rgba(22,36,74,0.7) 100%);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 8vw, 96px) clamp(32px, 6vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(56,189,248,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.contact__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 20px;
}

.contact__headline {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 16px;
}

.contact__sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 48px;
  line-height: 1.6;
}

/* Contact channel cards */
.contact__channels {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.contact__channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  min-width: 180px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  text-decoration: none;
  color: var(--text);
}
.contact__channel:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-3px);
}

.contact__ch-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
/* WA icon: green */
.contact__ch-icon--wa { color: var(--accent-wa); }
.contact__channel:has(.contact__ch-icon--wa):hover .contact__ch-icon--wa {
  background: rgba(37,211,102,0.12);
  border-color: rgba(37,211,102,0.3);
}
/* IG icon: pink */
.contact__ch-icon--ig { color: var(--accent-ig); }
.contact__channel:has(.contact__ch-icon--ig):hover .contact__ch-icon--ig {
  background: rgba(225,48,108,0.12);
  border-color: rgba(225,48,108,0.3);
}
/* Email hover */
.contact__channel:has(:not(.contact__ch-icon--wa, .contact__ch-icon--ig)):hover .contact__ch-icon {
  color: var(--accent-cyan);
  background: rgba(56,189,248,0.1);
  border-color: rgba(56,189,248,0.25);
}

.contact__ch-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.contact__ch-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  font-family: var(--font-mono);
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding-block: 36px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__logo {
  height: 26px;
  width: 26px;
  object-fit: contain;
  border-radius: 4px;
}

.footer__copy {
  font-size: 0.82rem;
  color: var(--text-faint);
}

/* ── WA FLOATING BUTTON ──────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-wa);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

/* Pulse ring animation */
.wa-float__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent-wa);
  animation: wa-pulse 2.4s ease-out infinite;
}

@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float__pulse { animation: none; }
}

/* Tooltip on hover */
.wa-float__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  translate: 0 -50%;
  background: rgba(13,21,40,0.92);
  border: 1px solid var(--border-hover);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 8px;
  backdrop-filter: blur(8px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.wa-float:hover .wa-float__tooltip { opacity: 1; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav {
    padding-inline: 16px;
    height: 64px;
  }
  .nav__logo-img {
    height: 30px;
    width: 30px;
  }
  .nav__wordmark {
    font-size: 0.88rem;
    letter-spacing: 0.05em;
  }
  .nav__links { display: none; }
  .nav__burger { display: flex; flex-shrink: 0; }
  .nav__right {
    display: flex;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }
  .lang-switch {
    flex-shrink: 0;
  }

  .hero {
    padding-top: 80px;
    min-height: calc(100svh - 40px);
  }
  .hero__headline {
    font-size: clamp(2.3rem, 7.5vw, 3.8rem);
    margin-bottom: 20px;
  }
  .hero__sub {
    font-size: 1rem;
    margin-bottom: 32px;
  }

  .portfolio__grid {
    grid-template-columns: 1fr;
  }
  .portfolio__card {
    padding: 28px 22px;
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about__portrait {
    width: min(100%, 340px);
    max-width: 340px;
    aspect-ratio: 1 / 1;
    margin-inline: auto;
  }
  .about__portrait img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 25%;
  }

  .br-md { display: none; }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .contact__channels { flex-direction: column; align-items: center; }
  .contact__channel { width: 100%; max-width: 340px; flex-direction: row; padding: 18px 22px; gap: 16px; }
  .contact__ch-label { display: none; }

  .wa-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
  .wa-float__tooltip { display: none; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; max-width: 280px; }

  .card {
    padding: 28px 20px;
  }

  .portfolio__filters { gap: 8px; }
  .portfolio__filter-btn { padding: 8px 14px; font-size: 0.82rem; min-height: 38px; }
  .portfolio__actions { flex-direction: column; }
  .portfolio__btn { width: 100%; justify-content: center; }

  .about__portrait {
    width: min(100%, 280px);
    max-width: 280px;
    aspect-ratio: 1 / 1;
  }
  .about__caption {
    inset: auto 20px 18px;
  }
  .about__caption strong {
    font-size: 1.05rem;
  }
  .about__caption span {
    font-size: 0.8rem;
  }
}

@media (max-width: 360px) {
  .nav { padding-inline: 12px; }
  .nav__wordmark { font-size: 0.8rem; letter-spacing: 0.04em; }
  .lang-btn { padding: 4px 7px; font-size: 0.72rem; min-width: 28px; }
  .portfolio__card { padding: 22px 16px; }
  .card { padding: 24px 16px; }
}

/* ── SCROLLBAR ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.18); }

