/* =====================================================
   ALENCAR DESIGN — Design System
   Inspirado no FacilPay.io | dark mode premium
   ===================================================== */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS Variables ── */
:root {
  /* Colors */
  --bg-primary:     #080608;
  --bg-secondary:   #0f0e10;
  --bg-card:        #111013;
  --bg-glass:       rgba(255, 255, 255, 0.04);
  --bg-glass-hover: rgba(255, 255, 255, 0.08);

  --accent-amber:   #F59E0B;
  --accent-orange:  #F97316;
  --accent-glow:    rgba(245, 158, 11, 0.25);
  --accent-glow-s:  rgba(245, 158, 11, 0.08);

  --text-primary:   #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted:     #475569;

  --border:         rgba(255, 255, 255, 0.07);
  --border-accent:  rgba(245, 158, 11, 0.25);

  /* Typography */
  --font-head: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-pad: 7rem 0;
  --container-w: 1200px;

  /* Transitions */
  --ease-smooth: cubic-bezier(.19, 1, .22, 1);
  --ease-out:    cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Gradients */
  --gradient-accent: linear-gradient(135deg, var(--accent-amber), var(--accent-orange));
  --gradient-text:   linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  --gradient-hero:   radial-gradient(ellipse 80% 60% at 50% -10%, rgba(245,158,11,0.18) 0%, transparent 70%);
}

/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-amber); border-radius: 10rem; }

/* ── Selection ── */
::selection { background: var(--accent-amber); color: #000; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Utility ── */
.section { padding: var(--section-pad); position: relative; overflow: hidden; }
.section-alt { background: var(--bg-secondary); }

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

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

.text-muted { color: var(--text-secondary); }
.text-sm { font-size: 0.875rem; }

/* ── Preloader ── */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }

.preloader-logo {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.preloader-logo span { color: var(--accent-amber); }

.preloader-bar {
  width: 180px;
  height: 2px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}
.preloader-bar-fill {
  height: 100%;
  background: var(--gradient-accent);
  border-radius: 100px;
  width: 0%;
  animation: preload 1.2s var(--ease-smooth) forwards;
}
@keyframes preload {
  to { width: 100%; }
}

/* ── Custom Cursor ── */
.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-amber);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
}
.cursor-ring {
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(245,158,11,0.5);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  transition: all 0.12s ease;
}
.cursor-ring.hovered { transform: translate(-50%, -50%) scale(1.6); border-color: var(--accent-amber); }

/* ════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(8,6,8,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  padding: 0.8rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav-logo img { height: 36px; width: auto; filter: brightness(1.1); }
.nav-logo-text {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.nav-logo-text span { color: var(--accent-amber); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
  font-family: var(--font-head);
}
.nav-links a:hover { color: var(--text-primary); background: var(--bg-glass); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* CTA Button — Magic style */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-accent);
  color: #000;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1.4rem;
  border-radius: 10px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.btn-primary:hover { box-shadow: 0 0 24px var(--accent-glow), 0 4px 12px rgba(0,0,0,0.3); transform: translateY(-1px); }
.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 1.4rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.btn-ghost:hover { border-color: var(--border-accent); background: var(--bg-glass); }

/* Mobile Nav Toggle */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(8,6,8,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-smooth);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  transition: color 0.2s ease;
}
.mobile-menu a:hover { color: var(--accent-amber); }
.mobile-menu .btn-primary { font-size: 1rem; padding: 0.8rem 2rem; margin-top: 1rem; }

/* ════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 4rem;
}

/* Hero Background Glow */
.hero-bg-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(245,158,11,0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Canvas for particles */
#particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.6;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-amber);
  font-family: var(--font-head);
  margin-bottom: 1.75rem;
  backdrop-filter: blur(10px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent-amber);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-actions .btn-primary { font-size: 1rem; padding: 0.85rem 1.8rem; border-radius: 12px; }
.hero-actions .btn-ghost   { font-size: 1rem; padding: 0.85rem 1.8rem; border-radius: 12px; }

/* Floating Tags */
.hero-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.hero-tag {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-family: var(--font-head);
  font-weight: 500;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, color 0.2s ease;
  animation: float-tag 5s ease-in-out infinite;
}
.hero-tag:nth-child(2) { animation-delay: 0.5s; }
.hero-tag:nth-child(3) { animation-delay: 1s; }
.hero-tag:nth-child(4) { animation-delay: 1.5s; }
.hero-tag:nth-child(5) { animation-delay: 2s; }
.hero-tag:hover { border-color: var(--border-accent); color: var(--accent-amber); }

@keyframes float-tag {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Hero Image */
.hero-visual {
  position: relative;
  z-index: 2;
  margin-top: 4rem;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 60px var(--accent-glow-s);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.hero-visual img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-family: var(--font-head);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-indicator-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-amber), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ════════════════════════════════════════
   STATS SECTION
═══════════════════════════════════════ */
.stats-section {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border);
}

.stat-number {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  font-family: var(--font-head);
}

/* ════════════════════════════════════════
   SECTION HEADER (reusable)
═══════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent-glow-s);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-amber);
  font-family: var(--font-head);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ════════════════════════════════════════
   SERVICES SECTION
═══════════════════════════════════════ */
.services-section { padding: var(--section-pad); }

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

.service-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, var(--accent-glow-s) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-glass-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 30px var(--accent-glow-s);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-glow-s);
  border: 1px solid var(--border-accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: background 0.3s ease, transform 0.3s ease;
}
.service-card:hover .service-icon {
  background: var(--gradient-accent);
  transform: scale(1.05);
}
.service-card:hover .service-icon svg { color: #000 !important; }

.service-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-amber);
  font-family: var(--font-head);
  text-decoration: none;
  transition: gap 0.2s ease;
}
.service-link:hover { gap: 0.7rem; }

/* Large feature card */
.service-card.featured {
  grid-column: span 1;
  background: linear-gradient(135deg, rgba(245,158,11,0.1) 0%, rgba(249,115,22,0.05) 100%);
  border-color: var(--border-accent);
}

/* ════════════════════════════════════════
   PORTFOLIO SECTION
═══════════════════════════════════════ */
.portfolio-section { padding: var(--section-pad); background: var(--bg-secondary); }

.portfolio-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  font-family: var(--font-head);
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--gradient-accent);
  color: #000;
  border-color: transparent;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.portfolio-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/10;
  cursor: pointer;
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s ease;
}
.portfolio-item:hover { transform: scale(1.02); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}
.portfolio-item:hover img { transform: scale(1.05); }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,6,8,0.95) 0%, rgba(8,6,8,0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-amber);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-head);
  margin-bottom: 0.25rem;
}

.portfolio-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.portfolio-arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-smooth);
}
.portfolio-item:hover .portfolio-arrow { opacity: 1; transform: scale(1); }

/* Hidden portfolio items */
.portfolio-item.hidden { display: none; }

/* Portfolio CTA */
.portfolio-cta { text-align: center; margin-top: 3rem; }

/* ════════════════════════════════════════
   PROCESS SECTION
═══════════════════════════════════════ */
.process-section { padding: var(--section-pad); }

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 1rem;
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-accent), var(--accent-amber), var(--border-accent), transparent);
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  position: relative;
}

.process-number {
  width: 56px;
  height: 56px;
  background: var(--bg-glass);
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-amber);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
  background: var(--bg-secondary);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.process-step:hover .process-number {
  background: var(--gradient-accent);
  color: #000;
  box-shadow: 0 0 20px var(--accent-glow);
}

.process-step-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.process-step-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════ */
.about-section { padding: var(--section-pad); background: var(--bg-secondary); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-content {}
.about-content .section-badge { justify-content: flex-start; }
.about-content .section-title { text-align: left; }

.about-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.about-highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.about-highlight-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.about-highlight-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-head);
}

.about-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}
.social-btn {
  width: 42px;
  height: 42px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: all 0.2s ease;
}
.social-btn:hover { background: var(--gradient-accent); color: #000; border-color: transparent; }

.about-visual {
  position: relative;
}
.about-img-wrapper {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  position: relative;
}
.about-img-wrapper img {
  width: 100%;
  display: block;
  transition: transform 0.6s var(--ease-smooth);
}
.about-img-wrapper:hover img { transform: scale(1.03); }

.about-floating-card {
  position: absolute;
  bottom: -1.5rem;
  left: -2rem;
  background: rgba(8,6,8,0.9);
  border: 1px solid var(--border-accent);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.about-card-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.about-card-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-primary);
  line-height: 1;
}
.about-card-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-family: var(--font-head);
}

/* ════════════════════════════════════════
   TESTIMONIALS SECTION
═══════════════════════════════════════ */
.testimonials-section { padding: var(--section-pad); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
  position: relative;
}
.testimonial-card:hover { border-color: var(--border-accent); transform: translateY(-3px); }

.testimonial-quote {
  font-size: 2rem;
  color: var(--accent-amber);
  line-height: 1;
  margin-bottom: 1rem;
  font-family: serif;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1.25rem;
  color: var(--accent-amber);
  font-size: 0.9rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.9rem;
  color: #000;
  flex-shrink: 0;
}

.testimonial-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
}
.testimonial-company {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════ */
.cta-section {
  padding: var(--section-pad);
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(245,158,11,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.1;
}
.cta-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cta-actions .btn-primary { font-size: 1.05rem; padding: 0.9rem 2rem; border-radius: 12px; }
.cta-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-family: var(--font-head);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}
.cta-whatsapp:hover { color: #25D366; }

/* ════════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════ */
.contact-section { padding: var(--section-pad); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: flex-start;
}

.contact-info {}
.contact-info .section-badge { justify-content: flex-start; }
.contact-info .section-title { text-align: left; font-size: 2.2rem; }
.contact-info .section-desc { text-align: left; margin: 0; font-size: 0.95rem; margin-bottom: 2.5rem; }

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-link-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.contact-link-item:hover {
  border-color: var(--border-accent);
  background: var(--bg-glass-hover);
  transform: translateX(4px);
}
.contact-link-icon {
  width: 42px;
  height: 42px;
  background: var(--accent-glow-s);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-link-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-head);
  margin-bottom: 0.1rem;
}
.contact-link-value {
  font-weight: 600;
  font-size: 0.9rem;
  font-family: var(--font-head);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-row.single { grid-template-columns: 1fr; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  font-family: var(--font-head);
  letter-spacing: 0.02em;
}

.form-input, .form-select, .form-textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 3px var(--accent-glow-s);
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394A3B8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}
.form-select option { background: #1a1a2e; color: var(--text-primary); }
.form-textarea { resize: vertical; min-height: 130px; line-height: 1.6; }

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.9rem;
  font-size: 1rem;
  border-radius: 12px;
  justify-content: center;
}

/* ════════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  background: var(--bg-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-logo { margin-bottom: 1rem; display: flex; }
.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.footer-socials {
  display: flex;
  gap: 0.5rem;
}

.footer-col-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.88rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}
.footer-links a:hover { color: var(--accent-amber); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-size: 0.83rem;
  color: var(--text-muted);
}
.footer-copy span { color: var(--accent-amber); }
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  font-size: 0.83rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-bottom-links a:hover { color: var(--text-secondary); }

/* ════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
═══════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="scale"] {
  transform: scale(0.94);
}
[data-reveal="scale"].revealed {
  transform: scale(1);
}
[data-reveal="left"] {
  transform: translateX(-30px);
}
[data-reveal="left"].revealed {
  transform: translateX(0);
}
[data-reveal="right"] {
  transform: translateX(30px);
}
[data-reveal="right"].revealed {
  transform: translateX(0);
}

/* Delay utilities */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }
[data-delay="600"] { transition-delay: 0.6s; }

/* ════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { order: -1; }
  .about-floating-card { left: 1rem; bottom: -1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  .process-timeline::before { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .nav-hamburger { display: flex; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
  .stat-item:nth-child(3)::after { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .cursor-dot, .cursor-ring { display: none; }
  .process-timeline { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn-primary, .hero-actions .btn-ghost { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
