/* =========================================================
   AstralForgeAE — Modern landing styles
   ========================================================= */

:root {
  --bg: #050814;
  --bg-elevated: #0a1020;
  --bg-card: rgba(14, 22, 42, 0.65);
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(94, 231, 255, 0.14);
  --border-strong: rgba(94, 231, 255, 0.28);
  --text: #e8eef8;
  --text-muted: #8b9bb4;
  --cyan: #5ee7ff;
  --cyan-dim: rgba(94, 231, 255, 0.15);
  --indigo: #7c8cff;
  --violet: #a78bfa;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  --gradient: linear-gradient(135deg, #5ee7ff 0%, #7c8cff 50%, #a78bfa 100%);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 20px;
  --radius-sm: 12px;
  --nav-h: 76px;
  --font: "Outfit", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

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

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

.mono {
  font-family: var(--mono);
}

/* Atmosphere */
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  opacity: 0.035;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.orb {
  pointer-events: none;
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.35;
  animation: float 18s ease-in-out infinite;
}

.orb-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(94, 231, 255, 0.35), transparent 70%);
  top: -120px;
  right: -80px;
}

.orb-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(124, 140, 255, 0.3), transparent 70%);
  bottom: 10%;
  left: -120px;
  animation-delay: -6s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.22), transparent 70%);
  top: 45%;
  right: 15%;
  animation-delay: -12s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.08); }
}

/* Layout */
.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.section {
  padding: 110px 0;
  position: relative;
  z-index: 1;
}

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(94, 231, 255, 0.03), transparent);
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head h2,
.about-copy h2,
.contact-copy h2,
.showcase-copy h2 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 12px 0 16px;
}

.price-highlight {
  color: var(--cyan);
  font-weight: 600;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  border-radius: var(--radius);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s;
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
}

.price-card-featured {
  border-color: var(--border-strong);
  box-shadow: 0 0 0 1px rgba(94, 231, 255, 0.15), 0 24px 60px rgba(0, 0, 0, 0.35);
  background:
    radial-gradient(circle at 50% 0%, rgba(94, 231, 255, 0.12), transparent 55%),
    var(--bg-card);
}

.price-tag {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.price-card h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.price-amount {
  font-size: 1rem;
  color: var(--text-muted);
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}

.price-amount span:first-child {
  font-family: var(--mono);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-unit {
  font-size: 0.95rem !important;
  color: var(--text-muted) !important;
  font-family: var(--font) !important;
  font-weight: 500 !important;
}

.price-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  flex: 1;
}

.price-card .btn {
  margin-top: 8px;
  width: 100%;
}

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

.hero-media img.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: saturate(1.1) contrast(1.05);
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(94, 231, 255, 0.6);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(94, 231, 255, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(94, 231, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 231, 255, 0); }
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}

.glass {
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(5, 8, 20, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.nav-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  background: #050814;
  border: 1px solid var(--border);
  box-shadow: 0 0 20px rgba(94, 231, 255, 0.18);
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-text strong {
  font-weight: 700;
}

.brand-ae {
  font-weight: 600;
  color: var(--cyan);
  font-size: 0.85em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a:not(.btn) {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1.5px;
  background: var(--gradient);
  transition: width 0.3s var(--ease);
}

.nav-links a:not(.btn):hover {
  color: var(--text);
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

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

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, border-color 0.25s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 0.85rem;
}

.btn-primary {
  background: var(--gradient);
  color: #050814;
  box-shadow: 0 8px 32px rgba(94, 231, 255, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 12px 40px rgba(94, 231, 255, 0.4);
}

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

.btn-ghost:hover {
  border-color: var(--cyan);
  background: var(--cyan-dim);
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  padding: calc(var(--nav-h) + 40px) 5vw 80px;
  z-index: 1;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: saturate(1.1) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(5, 8, 20, 0.2), transparent),
    linear-gradient(105deg, rgba(5, 8, 20, 0.95) 0%, rgba(5, 8, 20, 0.78) 45%, rgba(5, 8, 20, 0.55) 100%),
    linear-gradient(to top, var(--bg) 0%, transparent 35%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(94, 231, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 231, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 30% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, black 20%, transparent 70%);
}

.hero-content {
  max-width: 620px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 18px 0 20px;
}

.hero-lead {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 52ch;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 28px;
  border-right: 1px solid var(--border);
}

.stat:last-child {
  border-right: none;
  padding-right: 0;
}

.stat-value {
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--cyan);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Hero drawing */
.hero-drawing {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.glass-panel {
  width: min(100%, 380px);
  padding: 20px;
  border-radius: 24px;
  background: rgba(10, 16, 32, 0.55);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(94, 231, 255, 0.08);
  animation: panel-float 7s ease-in-out infinite;
}

@keyframes panel-float {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(-12px) rotate(0.5deg); }
}

.tech-svg {
  width: 100%;
  height: auto;
  display: block;
}

.draw-line {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: draw 2.8s var(--ease) forwards;
}

.draw-line.delay-a { animation-delay: 0.2s; }
.draw-line.delay-b { animation-delay: 0.4s; }
.draw-line.delay-c { animation-delay: 0.6s; }
.draw-line.delay-d { animation-delay: 0.8s; }
.draw-line.delay-e { animation-delay: 1s; }
.draw-line.delay-f { animation-delay: 1.2s; }
.draw-line.delay-g { animation-delay: 1.4s; }

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

.pulse-ring {
  animation: ring-pulse 2.5s ease-out infinite;
  transform-origin: center;
}

@keyframes ring-pulse {
  0% { opacity: 1; r: 6; }
  100% { opacity: 0; r: 28; }
}

.scan-bar {
  animation: scan 4s ease-in-out infinite;
}

@keyframes scan {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(400px); opacity: 0; }
}

.drawing-label {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.drawing-label .mono {
  color: var(--cyan);
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1.5px solid var(--border-strong);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  z-index: 3;
}

.scroll-hint span {
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--cyan);
  animation: scroll-dot 1.6s ease-in-out infinite;
}

@keyframes scroll-dot {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(14px); }
}

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

.services-grid-5,
.services-grid-6 {
  grid-template-columns: repeat(3, 1fr);
}

@media (min-width: 1025px) {
  .services-grid-5 {
    grid-template-columns: repeat(6, 1fr);
  }

  .services-grid-5 .service-card {
    grid-column: span 2;
  }

  .services-grid-5 .service-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .services-grid-5 .service-card:nth-child(5) {
    grid-column: 4 / span 2;
  }

  .services-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
  display: flex;
  flex-direction: column;
}

a.service-card-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

a.service-card-link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(94, 231, 255, 0.08);
}

.service-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-elevated);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.service-card:hover .service-media img {
  transform: scale(1.06);
}

.service-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(5, 8, 20, 0.7);
  border: 1px solid var(--border);
  color: var(--cyan);
  font-size: 0.8rem;
  backdrop-filter: blur(8px);
  z-index: 2;
}

.service-chip {
  position: absolute;
  bottom: 16px;
  right: 16px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--gradient);
  color: #050814;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 6px 20px rgba(94, 231, 255, 0.3);
  z-index: 2;
}

.service-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.service-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.service-list {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  font-size: 0.88rem;
  color: var(--text);
  padding-left: 18px;
  position: relative;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient);
}

.service-media-abstract {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(94, 231, 255, 0.12), transparent 55%),
    linear-gradient(160deg, #0a1020, #121a32);
}

.abstract-forge {
  position: relative;
  width: 140px;
  height: 140px;
}

.abstract-forge .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(94, 231, 255, 0.35);
  animation: spin 12s linear infinite;
}

.abstract-forge .r2 {
  inset: 18px;
  border-color: rgba(124, 140, 255, 0.4);
  animation-direction: reverse;
  animation-duration: 9s;
}

.abstract-forge .r3 {
  inset: 36px;
  border-color: rgba(167, 139, 250, 0.45);
  animation-duration: 6s;
}

.abstract-forge .core {
  position: absolute;
  inset: 52px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 40px rgba(94, 231, 255, 0.5);
  animation: core-glow 3s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes core-glow {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.12); opacity: 1; }
}

/* Showcase */
.showcase-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.showcase-copy p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 42ch;
  margin-bottom: 24px;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.video-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow), 0 0 80px rgba(94, 231, 255, 0.1);
  background: #000;
}

.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-chrome {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  background: linear-gradient(transparent, rgba(5, 8, 20, 0.9));
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

/* Process */
.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-line {
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--indigo), transparent);
  opacity: 0.35;
}

.process-step {
  position: relative;
  padding: 28px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.process-step:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.step-num {
  font-size: 0.85rem;
  color: var(--cyan);
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.about-card {
  position: relative;
  padding: 48px 36px;
  border-radius: 28px;
  text-align: center;
  overflow: hidden;
}

.about-logo {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  margin: 0 auto 24px;
  object-fit: cover;
  background: #050814;
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 48px rgba(94, 231, 255, 0.28);
}

.footer-logo {
  border-radius: 10px;
  object-fit: cover;
  background: #050814;
  border: 1px solid var(--border);
}

.about-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about-meta .mono {
  color: var(--cyan);
  letter-spacing: 0.14em;
  font-size: 0.8rem;
}

.about-meta span:last-child {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.constellation span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.5;
  animation: twinkle 3s ease-in-out infinite;
}

.constellation span:nth-child(1) { top: 18%; left: 16%; animation-delay: 0s; }
.constellation span:nth-child(2) { top: 28%; right: 18%; animation-delay: 0.6s; }
.constellation span:nth-child(3) { bottom: 24%; left: 22%; animation-delay: 1.2s; }
.constellation span:nth-child(4) { bottom: 18%; right: 20%; animation-delay: 1.8s; }
.constellation span:nth-child(5) { top: 50%; left: 10%; animation-delay: 2.2s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.6); }
}

.about-copy p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-weight: 600;
  margin-top: 8px;
  transition: gap 0.25s;
}

.text-link:hover {
  gap: 12px;
}

/* Contact */
.contact-panel {
  border-radius: 28px;
  padding: clamp(32px, 5vw, 56px);
  display: grid;
  gap: 40px;
}

.contact-copy p {
  color: var(--text-muted);
  max-width: 50ch;
  margin-top: 8px;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
}

.contact-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  background: rgba(94, 231, 255, 0.05);
}

.contact-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}

.contact-icon.whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: var(--whatsapp);
}

.contact-icon.support {
  background: var(--cyan-dim);
  color: var(--cyan);
}

.contact-icon.email {
  background: rgba(167, 139, 250, 0.15);
  color: var(--violet);
}

.contact-role {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-number {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.contact-number-sm {
  font-size: 1.05rem;
  word-break: break-all;
}

.contact-cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.contact-quote-btn {
  margin-top: 20px;
}

.contact-action {
  display: block;
  font-size: 0.9rem;
  color: var(--cyan);
  font-weight: 500;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.social-row a {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s;
}

.social-row a:hover {
  color: var(--cyan);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  display: block;
}

.footer-brand strong {
  display: block;
  font-size: 0.95rem;
}

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

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--cyan);
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-h) + 56px) 0 32px;
}

.page-hero-inner {
  max-width: 720px;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 14px 0 16px;
}

.page-hero-lead {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 54ch;
}

/* Quote page */
.section-quote {
  padding-top: 40px;
}

.quote-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 32px;
  align-items: start;
}

.quote-form-panel {
  border-radius: 28px;
  padding: clamp(28px, 4vw, 40px);
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-field .req {
  color: var(--cyan);
}

.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  width: 100%;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(139, 155, 180, 0.65);
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238b9bb4' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-field select option {
  background: #0a1020;
  color: var(--text);
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: var(--border-strong);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(94, 231, 255, 0.12);
  background: rgba(94, 231, 255, 0.04);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.form-note {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.form-note a {
  color: var(--cyan);
  font-weight: 500;
}

.form-note a:hover {
  text-decoration: underline;
}

.form-error {
  font-size: 0.9rem;
  color: #ff8a8a;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 100, 100, 0.08);
  border: 1px solid rgba(255, 100, 100, 0.25);
}

.form-success {
  font-size: 0.9rem;
  color: var(--cyan);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--cyan-dim);
  border: 1px solid var(--border-strong);
}

.quote-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}

.quote-aside-card {
  border-radius: 24px;
  padding: 28px 24px;
}

.quote-aside-card .eyebrow {
  margin-bottom: 18px;
}

.quote-service-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote-service-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 14px;
  border-left: 2px solid var(--border-strong);
}

.quote-service-list strong {
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.quote-service-list span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.quote-service-list em {
  font-style: normal;
  color: var(--cyan);
  font-weight: 500;
}

.quote-contact-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.quote-contact-stack a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s, background 0.2s;
  font-weight: 600;
  font-size: 0.95rem;
}

.quote-contact-stack a:hover {
  border-color: var(--border-strong);
  background: rgba(94, 231, 255, 0.05);
}

.quote-contact-stack .mono {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 500;
}

/* FAB */
.fab-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
  animation: fab-in 0.6s var(--ease) 1.2s both;
}

.fab-wa:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.55);
}

@keyframes fab-in {
  from { opacity: 0; transform: scale(0.5) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.45s; }

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding-bottom: 100px;
  }

  .hero-drawing {
    max-width: 340px;
    margin: 0 auto;
  }

  .services-grid,
  .services-grid-5,
  .services-grid-6 {
    grid-template-columns: 1fr 1fr;
  }

  .showcase-layout,
  .about-grid,
  .quote-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .quote-aside {
    position: static;
  }

  .process-track {
    grid-template-columns: 1fr 1fr;
  }

  .process-line {
    display: none;
  }

  .contact-cards,
  .contact-cards-3 {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 20, 0.96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-links a:not(.btn) {
    font-size: 1.35rem;
    color: var(--text);
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .hero-stats {
    gap: 16px;
  }

  .stat {
    padding-right: 16px;
  }

  .process-track {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .services-grid-5,
  .services-grid-6 {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .section {
    padding: 80px 0;
  }

  .container {
    width: min(1180px, calc(100% - 28px));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .draw-line,
  .scan-bar,
  .pulse-ring,
  .glass-panel,
  .orb,
  .abstract-forge .ring,
  .abstract-forge .core {
    animation: none !important;
  }
  .draw-line {
    stroke-dashoffset: 0;
  }
}
