* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #060606;
  --text: #f2f2f2;
  --text-muted: #666;
  --gold: #d4af37;
  --gold-light: #f0d875;
  --gold-glow: rgba(212, 175, 55, 0.4);
  --card-bg: #0e0e0e;
  --card-border: #151515;
  --surface: rgba(14, 14, 14, 0.72);
  --surface-border: rgba(255, 255, 255, 0.06);
  --blur: 12px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

::selection {
  background: rgba(212, 175, 55, 0.3);
  color: #fff;
}

::-moz-selection {
  background: rgba(212, 175, 55, 0.3);
  color: #fff;
}

section[id] {
  scroll-margin-top: 120px;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.25);
  border-radius: 999px;
  transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.45);
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.25) var(--bg);
}

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0;
  transition: opacity 1.2s ease;
}

#bg-canvas.is-visible {
  opacity: 1;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  padding: 10px 14px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  z-index: 9999;
}

.skip-link:focus {
  left: 10px;
}

.nav {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
}

.nav > * {
  pointer-events: auto;
}

.nav-brand,
.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand {
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-radius: 999px;
  padding: 6px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo {
  width: auto;
  height: 26px;
  object-fit: contain;
}

.nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 16px var(--gold-glow);
}

.nav-brand-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}

.nav-links {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-radius: 999px;
  padding: 10px 12px;
}

.nav-link {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: #999;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--gold);
}

.nav-actions {
  margin-left: 10px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-radius: 999px;
  padding: 10px 10px;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  cursor: pointer;
  transition: all 0.25s ease;
}

.nav-btn:hover {
  border-color: var(--gold);
  box-shadow: 0 0 18px var(--gold-glow);
}

.nav-btn-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: #101010;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  cursor: pointer;
  gap: 5px;
  padding: 0;
  transition: border-color 0.2s ease;
}

.nav-toggle:hover {
  border-color: var(--gold);
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 122px 20px 40px;
}

.header {
  text-align: center;
  margin-bottom: 72px;
}

.logo-ring {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
}

.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid transparent;
}

.ring-1 {
  width: 100%;
  height: 100%;
  border-color: var(--gold);
  opacity: 0.3;
  animation: rotate 20s linear infinite;
}

.ring-2 {
  width: 110%;
  height: 110%;
  border-color: var(--gold);
  opacity: 0.15;
  animation: rotate 30s linear infinite reverse;
}

@keyframes rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 0 15px var(--gold-glow));
}

.name {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.15;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.tagline {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
}

.star {
  color: var(--gold);
  font-size: 0.6rem;
  opacity: 0.6;
  animation: twinkle 2s ease-in-out infinite;
}

.star:nth-child(2) { animation-delay: 0.5s; }
.star:nth-child(3) { animation-delay: 1s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.hero-copy {
  max-width: 56ch;
  margin: 18px auto 0;
  color: rgba(242, 242, 242, 0.72);
  font-size: 0.95rem;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  transition: all 0.25s ease;
}

.cta-primary {
  color: #101010;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-secondary {
  color: var(--text);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
}

.cta-secondary:hover,
.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35), 0 0 22px var(--gold-glow);
}

.hero-note {
  max-width: 62ch;
  margin: 12px auto 0;
  font-size: 0.82rem;
  color: rgba(242, 242, 242, 0.62);
}

:where(a, button):focus-visible {
  outline: 2px solid rgba(212, 175, 55, 0.7);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12), 0 0 18px var(--gold-glow);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.whatsapp-float {
  display: none;
  position: fixed;
  right: calc(16px + env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  width: 56px;
  height: 56px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  background: rgba(37, 211, 102, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35), 0 10px 24px rgba(37, 211, 102, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  background: rgba(37, 211, 102, 0.94);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.42), 0 0 26px rgba(37, 211, 102, 0.42);
}

.whatsapp-float:active {
  transform: translateY(0);
}

.whatsapp-float:focus-visible {
  outline-color: rgba(37, 211, 102, 0.75);
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.2), 0 0 26px rgba(37, 211, 102, 0.42);
}

.whatsapp-float-icon {
  display: block;
}

.project-card-link:focus-visible .project-card {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4), 0 0 24px var(--gold-glow);
}

.project-card-link:focus-visible .card-bg {
  opacity: 0.1;
}

.project-card-link:focus-visible .card-overlay-icon {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Section dividers */
section::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 48px auto 0;
  opacity: 0.2;
}

.header::after,
.footer::after,
.contact::after {
  display: none;
}

/* About */
.about {
  margin-bottom: 48px;
}

.about-card {
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.08), transparent 34%),
    var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px;
}

.about-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.about-text:last-child {
  margin-bottom: 0;
}

.highlight-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.highlight-link:hover {
  color: var(--gold-light);
}

.proof-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.proof-item {
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 14px 12px;
  background: rgba(0, 0, 0, 0.18);
}

.proof-kicker {
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 6px;
}

.proof-text {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

/* Services */
.services {
  margin-bottom: 48px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 20px 14px;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.service-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.service-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.service-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Stack */
.stack {
  margin-bottom: 48px;
}

.stack-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.stack-tag {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  padding: 8px 14px;
  background: rgba(14, 14, 14, 0.86);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  color: var(--gold);
  box-shadow: inset 0 0 14px rgba(212, 175, 55, 0.03);
}

/* Process */
.process {
  margin-bottom: 48px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.process-step {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 20px 16px;
  transition: all 0.3s ease;
}

.process-step:hover {
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateY(-3px);
}

.process-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.process-pill {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.18);
}

.process-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
}

.process-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Projects */
.projects {
  margin-bottom: 48px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .name {
    font-size: 1.8rem;
  }
}

@media (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
}

.project-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 20px 14px;
  color: var(--text);
  text-align: left;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-card-link:hover .project-card {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(212, 175, 55, 0.14);
}

.card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-glow) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card-link:hover .card-bg {
  opacity: 0.1;
}

.card-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.55rem;
  color: var(--gold);
  opacity: 0.5;
}

.card-media {
  position: relative;
  height: 160px;
  flex-shrink: 0;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  overflow: hidden;
  background: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.3s ease;
  background:
    radial-gradient(120px 60px at 20% 30%, rgba(212, 175, 55, 0.15), transparent 60%),
    linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(0, 0, 0, 0.2));
}

.card-media[data-accent="game"] {
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.05), rgba(0, 0, 0, 0.2));
}

.card-media[data-accent="brand"] {
  background: linear-gradient(135deg, rgba(255, 0, 127, 0.05), rgba(0, 0, 0, 0.2));
}

.card-media[data-accent="product"] {
  background: linear-gradient(135deg, rgba(120, 255, 140, 0.05), rgba(0, 0, 0, 0.2));
}

.card-media[data-accent="dental"] {
  background: linear-gradient(135deg, rgba(180, 220, 255, 0.06), rgba(0, 0, 0, 0.2));
}

.card-media[data-accent="cafe"] {
  background: linear-gradient(135deg, rgba(255, 180, 80, 0.06), rgba(0, 0, 0, 0.2));
}

.card-overlay-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--gold);
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.25s ease;
}

.project-card-link:hover .card-overlay-icon {
  opacity: 1;
  transform: translateY(0);
}

.card-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  position: relative;
  display: inline-block;
}

.card-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(212, 175, 55, 0.5);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card-link:hover .card-title::after {
  width: 100%;
}

.card-desc {
  font-size: 0.65rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  min-height: 28px;
  align-content: flex-start;
}

.tag {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.18);
}

.card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.18);
  color: var(--text);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  transition: all 0.25s ease;
}

.card-link:hover {
  border-color: var(--gold);
  box-shadow: 0 0 18px var(--gold-glow);
}

.card-link.ghost {
  color: var(--gold);
  background: transparent;
}

.card-line {
  width: 24px;
  height: 2px;
  background: var(--gold);
  margin: 4px 0 0;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.project-card-link:hover .card-line {
  transform: scaleX(1);
}

/* Projects extra (hidden by default) */
.projects-extra {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease, margin 0.3s ease;
}

.projects-extra--open {
  max-height: 600px;
  overflow: visible;
  opacity: 1;
}

@media (max-width: 900px) {
  .projects-extra {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .projects-extra {
    grid-template-columns: 1fr;
  }
}

.projects-footer {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.projects-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--text-muted);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.projects-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 18px var(--gold-glow);
}

.projects-toggle:active {
  transform: scale(0.97);
}

.projects-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--gold);
}

.projects-toggle--open .projects-toggle-icon {
  transform: rotate(45deg);
}

/* Contact */
.contact {
  margin-top: 24px;
  margin-bottom: 64px;
  padding: 26px 18px;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.09), transparent 42%),
    rgba(14, 14, 14, 0.68);
}

.contact-desc {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 54ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 16px;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 50px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
}

.contact-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 20px var(--gold-glow);
}

.contact-btn--instagram {
  background:
    radial-gradient(circle at 28% 105%, rgba(254, 218, 117, 0.72) 0 14%, transparent 34%),
    radial-gradient(circle at 18% 20%, rgba(250, 126, 30, 0.48) 0 13%, transparent 30%),
    linear-gradient(135deg, #5b2b82 0%, #94306f 38%, #bd2f63 68%, #d75a39 100%);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  box-shadow: 0 8px 18px rgba(225, 48, 108, 0.16);
}

.contact-btn--whatsapp {
  background: #25d366;
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.18);
}

.contact-btn--instagram:hover,
.contact-btn--whatsapp:hover {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  transform: translateY(-2px);
}

.contact-btn--instagram:hover {
  box-shadow: 0 0 18px rgba(225, 48, 108, 0.26);
}

.contact-btn--whatsapp:hover {
  box-shadow: 0 0 26px rgba(37, 211, 102, 0.42);
}

.btn-icon {
  font-size: 1rem;
  flex: 0 0 auto;
}

.btn-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

/* Testimonials */
.testimonials {
  margin-bottom: 48px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.quote {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 20px 16px;
}

.quote-text {
  color: var(--text);
  font-size: 0.9rem;
}

.quote-meta {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.note {
  margin-top: 12px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* Footer */
.footer {
  text-align: center;
}

.footer-line {
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 14px;
  opacity: 0.3;
}

.footer-text {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Dialogs */
.case {
  width: min(560px, calc(100vw - 28px));
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(10, 10, 10, 0.92);
  color: var(--text);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 22px var(--gold-glow);
}

.case::backdrop {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

.case-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.case-kicker {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.case-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

.case-close {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  cursor: pointer;
}

.case-body {
  padding: 14px 18px 2px;
}

.case-text {
  color: var(--text-muted);
  margin-bottom: 10px;
}

.case-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 14px 18px 18px;
}

.case-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(135deg, rgba(240, 216, 117, 0.95), rgba(212, 175, 55, 0.95));
  color: #101010;
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.case-link.ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Motion off */
body[data-motion="off"] #bg-canvas {
  opacity: 0;
  pointer-events: none;
}

body[data-motion="off"] .ring-1,
body[data-motion="off"] .ring-2,
body[data-motion="off"] .star {
  animation: none !important;
}

body[data-motion="off"] .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

body[data-motion="off"] .cta-secondary:hover,
body[data-motion="off"] .cta-primary:hover,
body[data-motion="off"] .project-card-link:hover .project-card {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .ring-1,
  .ring-2,
  .star {
    animation: none !important;
  }

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

  .cta-secondary:hover,
  .cta-primary:hover,
  .project-card-link:hover .project-card {
    transform: none;
  }

  .whatsapp-float {
    transition: none;
  }

  .whatsapp-float:hover,
  .whatsapp-float:active {
    transform: none;
  }
}

@media (max-width: 600px) {
  .whatsapp-float {
    display: inline-flex;
  }
}

/* Touch devices: card feedback */
@media (hover: none) {
  .project-card {
    border-color: rgba(212, 175, 55, 0.12);
  }

  .card-bg {
    opacity: 0.04;
  }

  .project-card-link:active .project-card {
    transform: translateY(-3px) scale(0.98);
    border-color: var(--gold);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.1);
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  }

  .project-card-link:active .card-media img {
    transform: scale(1.03);
  }

  .project-card-link:active .card-overlay-icon {
    opacity: 1;
    transform: translateY(0);
  }

  .project-card-link:active .card-line {
    transform: scaleX(1);
  }

  .project-card-link:active .card-title::after {
    width: 100%;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .services-grid,
  .projects-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .services-grid,
  .projects-grid,
  .process-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .name {
    font-size: 1.4rem;
  }

  .service-card,
  .project-card {
    padding: 24px 18px;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 14px;
    right: 14px;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border-radius: 16px;
    padding: 16px;
    gap: 12px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
  }

  .nav-menu--open {
    max-height: 400px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    background: none;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    gap: 4px;
  }

  .nav-link {
    font-size: 0.8rem;
    padding: 10px 16px;
    border-radius: 10px;
    width: 100%;
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .nav-link:hover {
    background: rgba(212, 175, 55, 0.08);
  }

  .nav-actions {
    flex-direction: column;
    width: 100%;
    background: none;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    margin-left: 0;
    gap: 8px;
  }

  .nav-btn {
    width: 100%;
    justify-content: center;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
  }
}
