:root {
  --bg: #07100f;
  --bg-soft: #0d1b1a;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #f4fbf8;
  --muted: #a8b9b2;
  --line: rgba(255, 255, 255, 0.14);
  --green: #25d37f;
  --teal: #28c7bd;
  --amber: #f2b84b;
  --coral: #fb6f61;
  --violet: #8b7cf6;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 10%, rgba(37, 211, 127, 0.16), transparent 28%),
    radial-gradient(circle at 84% 22%, rgba(251, 111, 97, 0.12), transparent 26%),
    linear-gradient(180deg, #07100f 0%, #081412 42%, #0b1014 100%);
  color: var(--text);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
  background-image: linear-gradient(90deg, #fff 1px, transparent 1px), linear-gradient(#fff 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.cursor-dot, .cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 1000;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(37, 211, 127, 0.55);
  border-radius: 50%;
  transition: width 0.2s, height 0.2s, border-color 0.2s;
}

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.25s, border-color 0.25s, padding 0.25s;
}
.header.scrolled {
  padding: 10px 0;
  background: rgba(7, 16, 15, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.nav {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand img { width: 148px; height: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  border-radius: 999px;
  backdrop-filter: blur(16px);
}
.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.nav-links .nav-cta {
  color: #06100d;
  background: linear-gradient(135deg, var(--green), var(--amber));
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 132px 0 72px;
  overflow: hidden;
}

.page-hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: center;
  padding: 142px 0 74px;
  overflow: hidden;
}

.narrow {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.page-hero h1 {
  margin: 16px 0 0;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.96;
}

.page-hero p {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}
.hero-bg, .mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.mesh {
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(42px);
  opacity: 0.34;
  animation: float 12s ease-in-out infinite;
}
.mesh-a { background: var(--green); left: -120px; top: 80px; }
.mesh-b { background: var(--coral); right: -120px; top: 160px; animation-delay: -4s; }
.mesh-c { background: var(--teal); left: 46%; bottom: -210px; animation-delay: -7s; }
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 64px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0;
  font-size: 13px;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}
.hero h1, .section h2 {
  margin: 16px 0 0;
  line-height: 0.95;
  letter-spacing: 0;
}
.hero h1 {
  font-size: clamp(48px, 7vw, 92px);
  max-width: 820px;
}
.hero p, .section-head p, .section-copy p {
  color: var(--muted);
  line-height: 1.75;
}
.hero p {
  max-width: 680px;
  font-size: 18px;
  margin: 24px 0 0;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary {
  color: #06100d;
  background: linear-gradient(135deg, var(--green), var(--amber));
  box-shadow: 0 18px 46px rgba(37, 211, 127, 0.22);
}
.btn.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.055);
}
.hero-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
  color: var(--muted);
  font-size: 13px;
}
.hero-meta span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-visual { perspective: 1200px; }
.device {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.04));
  box-shadow: var(--shadow);
  transform: rotateX(4deg) rotateY(-7deg);
  animation: deviceFloat 7s ease-in-out infinite;
}
.device-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px 16px;
  color: var(--muted);
  font-size: 12px;
}
.device-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}
.device-top span:nth-child(2) { background: var(--amber); }
.device-top span:nth-child(3) { background: var(--green); }
.device-top strong { margin-left: auto; color: var(--text); }
.dashboard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(1, 9, 8, 0.72);
}
.metric-card, .signal-map, .code-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  padding: 18px;
}
.metric-card.wide { grid-column: span 2; }
.metric-card small { color: var(--muted); }
.metric-card strong { display: block; margin-top: 8px; font-size: 36px; }
.progress {
  height: 8px;
  margin-top: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--teal), var(--amber));
  animation: progressGlow 2.8s ease-in-out infinite;
}
.signal-map {
  position: relative;
  min-height: 164px;
  grid-column: span 2;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 38px 38px;
}
.signal-map span {
  position: absolute;
  width: 2px;
  bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(var(--green), transparent);
  animation: bars 1.8s ease-in-out infinite;
}
.signal-map span:nth-child(1) { height: 76px; left: 12%; }
.signal-map span:nth-child(2) { height: 118px; left: 33%; animation-delay: -0.4s; }
.signal-map span:nth-child(3) { height: 92px; left: 58%; animation-delay: -0.8s; }
.signal-map span:nth-child(4) { height: 132px; left: 82%; animation-delay: -1.1s; }
.pulse {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 12px rgba(37, 211, 127, 0.08);
}
.p1 { left: 20%; top: 42%; }
.p2 { left: 55%; top: 28%; background: var(--amber); }
.p3 { right: 16%; bottom: 24%; background: var(--coral); }
.code-card { grid-column: span 2; display: grid; gap: 10px; }
.code-card code {
  color: #d6fff0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.stats { position: relative; z-index: 3; margin-top: -34px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}
.stats article {
  padding: 26px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
  text-align: center;
}
.stats strong { display: block; font-size: 36px; }
.stats span { color: var(--muted); font-size: 14px; }

.section { padding: 110px 0; position: relative; z-index: 2; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section h2 { font-size: clamp(34px, 5vw, 64px); }
.section-head p { margin: 18px auto 0; font-size: 17px; }
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.section-copy p { font-size: 17px; }

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.summary-card {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,0.09), rgba(255,255,255,0.035));
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s, border-color 0.25s;
}

.summary-card:hover {
  transform: translateY(-8px);
  border-color: rgba(37, 211, 127, 0.42);
}

.summary-card span {
  color: var(--green);
  font-weight: 900;
}

.summary-card h3 {
  margin: 18px 0 0;
  font-size: 22px;
}

.summary-card p {
  color: var(--muted);
  line-height: 1.65;
}

.mini-projects {
  display: grid;
  gap: 16px;
}

.mini-projects article {
  display: grid;
  gap: 7px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(37, 211, 127, 0.13), rgba(255, 255, 255, 0.045));
}

.mini-projects strong {
  font-size: 22px;
}

.mini-projects span {
  color: var(--muted);
}

.cta-section {
  padding-top: 40px;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 10%, rgba(37, 211, 127, 0.23), transparent 35%),
    radial-gradient(circle at 92% 36%, rgba(242, 184, 75, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04));
  box-shadow: var(--shadow);
}

.cta-band h2 {
  max-width: 820px;
  margin: 14px 0 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.cta-band p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.75;
  margin: 18px 0 28px;
}
.values { display: grid; gap: 16px; }
.values article, .service-card, .project-card, .timeline article, .contact-form {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,0.09), rgba(255,255,255,0.035));
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}
.values article {
  padding: 26px;
  border-radius: 20px;
}
.values span, .timeline span {
  color: var(--green);
  font-weight: 900;
}
.values h3, .timeline h3, .service-card h3, .project-card h3 { margin: 10px 0 0; }
.values p, .timeline p, .service-card p, .project-card p { color: var(--muted); line-height: 1.65; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service-card {
  position: relative;
  min-height: 254px;
  padding: 24px;
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% 20%;
  height: 120px;
  background: radial-gradient(circle, rgba(37, 211, 127, 0.22), transparent 65%);
  transition: transform 0.25s;
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(37, 211, 127, 0.42); }
.service-card:hover::after { transform: translateY(-22px); }
.icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #06100d;
  background: linear-gradient(135deg, var(--green), var(--amber));
  font-weight: 900;
}
.service-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.service-card b {
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 12px;
}

.portfolio { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.035), transparent); }
.filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filters button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}
.filters button.active {
  color: #06100d;
  border-color: transparent;
  background: linear-gradient(135deg, var(--green), var(--amber));
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.featured-grid {
  margin-top: -10px;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}
.project-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: 14px;
  border-radius: 24px;
  cursor: pointer;
  transition: transform 0.25s, opacity 0.25s, border-color 0.25s;
}
.project-card.hide { display: none; }
.project-card:hover, .project-card:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(37, 211, 127, 0.42);
}
.project-card:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}
.project-visual {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  margin-bottom: 18px;
  overflow: hidden;
  color: rgba(255,255,255,0.88);
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 900;
  background:
    linear-gradient(135deg, rgba(37, 211, 127, 0.65), rgba(40, 199, 189, 0.34)),
    radial-gradient(circle at 80% 20%, rgba(242, 184, 75, 0.8), transparent 32%),
    #101c1a;
}
.project-visual.large {
  min-height: 0;
  aspect-ratio: 16 / 9;
  margin: 0;
  font-size: clamp(62px, 10vw, 116px);
}

.project-visual.has-image {
  aspect-ratio: 2872 / 1388;
  background: rgba(255, 255, 255, 0.06);
}

.project-visual.large.has-image {
  aspect-ratio: 2872 / 1388;
}

.project-visual.has-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.project-card h3 {
  overflow-wrap: anywhere;
}

.project-card p {
  flex: 1;
}

.loading-message {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
}
.project-card span { color: var(--green); font-size: 13px; font-weight: 800; }

.project-detail-hero {
  min-height: 68vh;
}

.project-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 52px;
  align-items: center;
}

.project-hero-grid h1 {
  margin: 16px 0 0;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.96;
}

.project-hero-grid p {
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 800;
}

.back-link:hover {
  color: var(--text);
}

.project-showcase {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,0.11), rgba(255,255,255,0.04));
  box-shadow: var(--shadow);
}

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
}

.project-meta span {
  color: var(--muted);
}

.project-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 22px;
  align-items: start;
}

.detail-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,0.09), rgba(255,255,255,0.035));
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.22);
}

.detail-panel h2 {
  font-size: clamp(30px, 4vw, 52px);
}

.detail-panel p {
  color: var(--muted);
  line-height: 1.75;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.tech-list b {
  padding: 9px 11px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.07);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: item;
}
.timeline article {
  min-height: 230px;
  padding: 28px;
  border-radius: 22px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: start;
}
.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.contact-list a, .contact-list span {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
}
.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
}
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.18);
  outline: none;
  padding: 14px 15px;
}
textarea { resize: vertical; min-height: 140px; }
input:focus, textarea:focus, select:focus { border-color: rgba(37, 211, 127, 0.62); }
select option { color: #101715; }
.form-note { margin: 0; color: var(--muted); font-size: 13px; }

.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  padding: 54px 0 26px;
  background: rgba(0, 0, 0, 0.2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
}
.footer img { width: 144px; margin-bottom: 16px; }
.footer p, .footer a, .footer span {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}
.footer strong { display: block; margin-bottom: 14px; }
.footer a, .footer-grid span { display: block; margin: 9px 0; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.whatsapp {
  padding: 10px 14px;
  border-radius: 999px;
  color: #06100d !important;
  background: var(--green);
  font-weight: 800;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 82px;
  z-index: 95;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.32);
  transition: transform 0.2s, box-shadow 0.2s;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 22px 50px rgba(37, 211, 102, 0.42);
}

.floating-whatsapp svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

.floating-whatsapp::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: inherit;
  border: 1px solid rgba(37, 211, 102, 0.34);
  animation: whatsappPulse 2.2s ease-out infinite;
}
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  background: rgba(7, 16, 15, 0.76);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s, transform 0.2s;
}
.to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(34px, -28px, 0) scale(1.08); }
}
@keyframes deviceFloat {
  0%, 100% { transform: rotateX(4deg) rotateY(-7deg) translateY(0); }
  50% { transform: rotateX(2deg) rotateY(-4deg) translateY(-14px); }
}
@keyframes progressGlow {
  0%, 100% { filter: saturate(1); }
  50% { filter: saturate(1.8) brightness(1.15); }
}
@keyframes bars {
  0%, 100% { transform: scaleY(0.75); opacity: 0.65; }
  50% { transform: scaleY(1); opacity: 1; }
}

@keyframes whatsappPulse {
  0% { transform: scale(0.88); opacity: 0.8; }
  100% { transform: scale(1.25); opacity: 0; }
}

@media (max-width: 1020px) {
  .hero-grid, .split, .contact-grid, .project-hero-grid, .project-detail-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 640px; }
  .service-grid, .timeline, .summary-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .project-showcase {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
  .container, .nav { width: min(100% - 28px, 1180px); }
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-radius: 20px;
    padding: 12px;
    background: rgba(7, 16, 15, 0.94);
  }
  .nav-links.open { display: flex; }
  .nav-links a { text-align: center; }
  .hero { padding-top: 112px; }
  .hero h1 { font-size: 43px; }
  .page-hero { min-height: 48vh; padding-top: 116px; }
  .page-hero h1 { font-size: 42px; }
  .hero p { font-size: 16px; }
  .dashboard { grid-template-columns: 1fr; }
  .metric-card.wide, .signal-map, .code-card { grid-column: auto; }
  .stats-grid, .service-grid, .portfolio-grid, .timeline, .form-row, .footer-grid, .summary-grid { grid-template-columns: 1fr; }
  .portfolio-grid {
    gap: 16px;
  }
  .project-card {
    padding: 12px;
    border-radius: 20px;
  }
  .project-visual {
    border-radius: 15px;
    margin-bottom: 15px;
  }
  .project-visual.has-image,
  .project-visual.large.has-image {
    aspect-ratio: 2872 / 1388;
  }
  .project-hero-grid {
    gap: 28px;
  }
  .floating-whatsapp {
    right: 16px;
    bottom: 76px;
    width: 54px;
    height: 54px;
  }
  .floating-whatsapp svg {
    width: 29px;
    height: 29px;
  }
  .section { padding: 78px 0; }
  .cta-band { padding: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
