/* ── NexLab Digital — shared site styles ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #07080f;
  --bg2:      #0d0f1a;
  --bg3:      #12152a;
  --blue:     #2563eb;
  --blue-lt:  #3b82f6;
  --cyan:     #06b6d4;
  --amber:    #d4a843;
  --glow:     rgba(37,99,235,0.35);
  --text:     #f0f4ff;
  --muted:    #8892b0;
  --border:   rgba(255,255,255,0.07);
  --whatsapp: #25d366;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

a { color: inherit; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 70px;
  background: rgba(7,8,15,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img { height: 42px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-links li.nav-actions { display: flex; align-items: center; gap: 10px; list-style: none; }

.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.nav-cta:hover { background: var(--blue-lt); transform: translateY(-1px); }

.nav-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.35);
  color: #4ade80 !important;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}

.nav-whatsapp:hover { background: rgba(37,211,102,0.2); transform: translateY(-1px); }

/* Floating WhatsApp (mobile) */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  text-decoration: none;
  color: #fff;
}

/* ── PAGE HERO (sub-pages) ── */
.page-hero {
  position: relative;
  padding: 160px 5vw 80px;
  text-align: center;
  overflow: hidden;
}

.page-hero .hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37,99,235,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-content { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }

.page-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.page-hero p {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ── HERO (home) ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 5vw 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37,99,235,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(6,182,212,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 30%, transparent 100%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 860px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(37,99,235,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-lt);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

h1 .highlight {
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 36px;
  font-weight: 400;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.trust-line {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 32px rgba(37,99,235,0.4);
  display: inline-block;
}

.btn-primary:hover {
  background: var(--blue-lt);
  transform: translateY(-2px);
  box-shadow: 0 0 48px rgba(37,99,235,0.6);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.2s;
  cursor: pointer;
  display: inline-block;
}

.btn-outline:hover {
  border-color: var(--blue);
  background: rgba(37,99,235,0.08);
  transform: translateY(-2px);
}

.btn-small {
  padding: 10px 22px;
  font-size: 0.85rem;
  border-radius: 8px;
}

/* ── SECTION BASE ── */
section { padding: 100px 5vw; position: relative; }

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-lt);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-header.center .section-sub { margin: 0 auto; }

/* ── DUAL SPLIT (Choose what you need) ── */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

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

.split-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px 40px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.split-card:hover {
  border-color: rgba(37,99,235,0.35);
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.4);
}

.split-icon { font-size: 2.4rem; margin-bottom: 20px; }

.split-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.split-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* ── SERVICE GRID ── */
#services, .services-section { background: var(--bg2); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

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

.service-card:hover {
  border-color: rgba(37,99,235,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px; height: 52px;
  background: rgba(37,99,235,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.service-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── PRICING ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.price-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}

.price-card.featured {
  border-color: rgba(37,99,235,0.5);
  background: linear-gradient(180deg, rgba(37,99,235,0.08), var(--bg3) 40%);
  box-shadow: 0 0 40px rgba(37,99,235,0.12);
}

.price-card:hover { transform: translateY(-4px); }

.price-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--blue);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.price-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.price-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.price-tag span { font-size: 0.95rem; color: var(--muted); font-weight: 500; }

.price-note { font-size: 0.85rem; color: var(--muted); margin-bottom: 24px; }

.price-list {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}

.price-list li {
  font-size: 0.88rem;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.price-list li:last-child { border-bottom: none; }

.price-list li::before {
  content: '✓';
  color: var(--cyan);
  font-weight: 700;
  flex-shrink: 0;
}

.price-list.not-included li::before { content: '—'; color: var(--muted); }
.price-list.not-included li { color: var(--muted); }

.price-cta { margin-top: auto; }

/* Simple pricing table */
.pricing-table-wrap { overflow-x: auto; }

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg3);
  border-radius: 14px;
  overflow: hidden;
  min-width: 480px;
}

.pricing-table th, .pricing-table td {
  text-align: left;
  padding: 16px 24px;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
}

.pricing-table th {
  background: rgba(37,99,235,0.08);
  color: var(--blue-lt);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-table td:last-child, .pricing-table th:last-child { text-align: right; font-weight: 600; }
.pricing-table tr:last-child td { border-bottom: none; }

/* ── WHY CHOOSE ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.why-card { padding: 8px; }

.why-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.why-card h3::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  flex-shrink: 0;
}

.why-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

/* ── PORTFOLIO ── */
#work, .work-section { background: var(--bg); }

.work-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
  flex-wrap: wrap;
  gap: 24px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.project-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}

.project-card:hover {
  border-color: rgba(37,99,235,0.4);
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 40px var(--glow);
}

.browser-chrome {
  background: #1a1d2e;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; }
.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #28ca41; }

.browser-url {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: 'Space Grotesk', monospace;
}

.browser-preview { position: relative; height: 220px; overflow: hidden; background: #fff; }

.browser-preview iframe {
  width: 150%; height: 150%;
  transform: scale(0.667);
  transform-origin: top left;
  border: none;
  pointer-events: none;
  transition: opacity 0.3s;
}

.preview-overlay { position: absolute; inset: 0; background: transparent; z-index: 2; }

.mockup-preview {
  width: 100%; height: 100%;
  overflow: hidden;
  position: relative;
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
}

.mockup-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 10px; height: 26px; flex-shrink: 0;
}

.mockup-logo-text { font-size: 6.5px; font-weight: 800; letter-spacing: 0.08em; }

.mockup-nav-links { display: flex; gap: 7px; align-items: center; }
.mockup-nav-links span { width: 18px; height: 3px; border-radius: 2px; opacity: 0.35; }

.mockup-body { flex: 1; overflow: hidden; }

.project-info { padding: 24px; }

.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

.tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(37,99,235,0.12);
  color: var(--blue-lt);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: 100px;
  padding: 3px 10px;
}

.project-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.project-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.6; margin-bottom: 20px; }

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-lt);
  text-decoration: none;
  transition: gap 0.2s;
}

.project-link:hover { gap: 10px; }

.project-detail {
  padding: 24px;
  border-top: 1px solid var(--border);
}

.project-detail h4 {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-lt);
  margin-bottom: 6px;
}

.project-detail p { font-size: 0.88rem; color: var(--muted); margin-bottom: 16px; line-height: 1.6; }

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(7,8,15,0.9);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 120px rgba(0,0,0,0.8);
}

.modal-header {
  background: #1a1d2e;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--border);
}

.modal-dots { display: flex; gap: 6px; }
.modal-dots span { width: 12px; height: 12px; border-radius: 50%; }
.modal-dots span:nth-child(1) { background: #ff5f57; cursor: pointer; }
.modal-dots span:nth-child(2) { background: #ffbd2e; }
.modal-dots span:nth-child(3) { background: #28ca41; }

.modal-url {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 7px 16px;
  font-size: 0.82rem;
  color: var(--muted);
  font-family: 'Space Grotesk', monospace;
}

.modal-open-btn {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.modal-body { flex: 1; overflow: hidden; background: #fff; }
.modal-body iframe { width: 100%; height: 100%; min-height: 70vh; border: none; }

/* ── PROCESS ── */
#process, .process-section { background: var(--bg2); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  margin-top: 64px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(10% + 28px);
  right: calc(10% + 28px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--blue), var(--border), transparent);
}

.step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 20px; position: relative; }

.step-num {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 24px rgba(37,99,235,0.4);
}

.step h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  text-align: left;
  padding: 22px 4px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-question .faq-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--blue-lt);
  transition: transform 0.25s;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer { max-height: 320px; }

.faq-answer p { padding: 0 4px 22px; color: var(--muted); font-size: 0.92rem; line-height: 1.7; }

/* ── HOME TECH CATEGORY GRID ── */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.tech-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
}

.tech-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}

.tech-card ul { list-style: none; }

.tech-card ul li {
  font-size: 0.86rem;
  color: var(--muted);
  padding: 5px 0;
  padding-left: 18px;
  position: relative;
}

.tech-card ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}

/* ── CTA ── */
#contact, .cta-section {
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(37,99,235,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg2);
  border: 1px solid rgba(37,99,235,0.25);
  border-radius: 24px;
  padding: 64px 48px;
  box-shadow: 0 0 80px rgba(37,99,235,0.12);
}

.cta-box .section-title { margin-bottom: 16px; }
.cta-box .section-sub { margin: 0 auto 40px; }

/* ── CONTACT FORM ── */
.contact-form { text-align: left; margin-top: 36px; }

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

@media (max-width: 580px) { .form-row { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-group input, .form-group select, .form-group textarea {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238892b0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group select option { background: var(--bg2); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

.form-group input::placeholder, .form-group textarea::placeholder { color: #4a5278; }

.form-submit {
  width: 100%;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  box-shadow: 0 0 24px rgba(37,99,235,0.3);
}

.form-submit:hover:not(:disabled) {
  background: var(--blue-lt);
  box-shadow: 0 0 40px rgba(37,99,235,0.5);
  transform: translateY(-1px);
}

.form-submit:disabled { opacity: 0.7; cursor: not-allowed; }

.form-msg {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  display: none;
}

.form-msg.success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.25); color: #4ade80; display: block; }
.form-msg.error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.25); color: #f87171; display: block; }

.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

/* ── FOOTER ── */
footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 64px 5vw 32px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo img { height: 42px; }

.footer-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.7; max-width: 320px; margin-bottom: 16px; }

.footer-contact { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-contact li a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact li a:hover { color: var(--text); }

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-lt);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

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

.footer-legal { display: flex; gap: 20px; list-style: none; flex-wrap: wrap; }
.footer-legal a { color: var(--muted); text-decoration: none; font-size: 0.8rem; transition: color 0.2s; }
.footer-legal a:hover { color: var(--text); }

/* ── HAMBURGER ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

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

/* ── RESPONSIVE ── */
@media (max-width: 1220px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 18px;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .nav-links.open li.nav-actions { flex-direction: column; align-items: stretch; width: 100%; margin-top: 8px; gap: 10px; }
  .nav-toggle { display: flex; }
  .wa-float { display: flex; }
}

@media (max-width: 768px) {
  .process-steps::before { display: none; }
  .cta-box { padding: 40px 24px; }
  .work-header { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── ANIMATIONS ── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }
.fade-in:nth-child(6) { transition-delay: 0.5s; }

@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-24px); } }
@keyframes glow-float {
  0%, 100% { transform: translateY(0px) scale(1); opacity: 0.8; }
  50% { transform: translateY(-24px) scale(1.1); opacity: 1; }
}

.hero-logo-wrap { position: relative; width: clamp(200px, 42vw, 440px); max-width: 90vw; margin: 0 auto 20px; }

.hero-logo-glow {
  position: absolute;
  inset: -8% -6%;
  background: radial-gradient(ellipse at 50% 50%, rgba(147,210,255,0.28) 0%, rgba(96,185,255,0.12) 50%, transparent 75%);
  filter: blur(22px);
  border-radius: 50%;
  animation: glow-float 5s ease-in-out infinite;
  will-change: transform, opacity;
  pointer-events: none;
}

.hero-logo { position: relative; width: 100%; height: auto; display: block; animation: float 5s ease-in-out infinite; will-change: transform; }
