/* =========================================================
   WEB SIN PROBLEMAS — style.css
   Palette: Deep navy #0B1628 + electric green #3AFF7A
   Typography: Sora (display) + Inter (body)
   ========================================================= */

/* === TOKENS === */
:root {
  --font-display: 'Sora', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  --content-narrow:  640px;
  --content-default: 960px;
  --content-wide:    1200px;

  /* ── Brand palette (from screenshot) ── */
  --color-bg:              #0B1628;
  --color-surface:         #101e33;
  --color-surface-2:       #162440;
  --color-surface-offset:  #1c2d4e;
  --color-border:          rgba(255,255,255,0.07);
  --color-divider:         rgba(255,255,255,0.05);

  --color-text:            #e8edf5;
  --color-text-muted:      #8b9fc0;
  --color-text-faint:      #435070;

  --color-accent:          #3AFF7A;
  --color-accent-hover:    #2de069;
  --color-accent-active:   #20c058;
  --color-accent-teal:     #3affe0;
  --color-accent-glow:     rgba(58, 255, 122, 0.18);

  --color-primary-btn:     #22c55e;
  --color-primary-hover:   #16a34a;

  --shadow-sm:   0 1px 3px rgba(0,0,0,0.5);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.55);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.65);
  --shadow-glow: 0 0 50px rgba(58,255,122,0.18);
}

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

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
ul[role="list"], ol[role="list"] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.15; font-family: var(--font-display); }
p { text-wrap: pretty; }
button { cursor: pointer; background: none; border: none; }
table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

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

/* === LAYOUT === */
.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 4vw, var(--space-8));
}

.section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

.center { text-align: center; }

/* === TYPOGRAPHY === */
.section-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.section-sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 56ch;
  margin-inline: auto;
  margin-bottom: clamp(var(--space-8), 5vw, var(--space-16));
}

.text-accent { color: var(--color-accent); }
.text-accent-teal { color: var(--color-accent-teal); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--color-accent);
  color: #0B1628;
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  box-shadow: 0 0 24px rgba(58,255,122,0.4);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: rgba(255,255,255,0.22);
}
.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-1px);
}

.btn-sm { padding: 0.5rem 1.1rem; font-size: var(--text-xs); }
.btn-lg { padding: 1rem 2rem; font-size: var(--text-base); }
.btn-full { width: 100%; justify-content: center; }

/* === BADGES === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(58,255,122,0.08);
  color: var(--color-accent);
  border: 1px solid rgba(58,255,122,0.22);
}

.badge-dot::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

.badge-red {
  background: rgba(239,68,68,0.1);
  color: #f87171;
  border-color: rgba(239,68,68,0.22);
}

.badge-green {
  background: rgba(58,255,122,0.1);
  color: var(--color-accent);
  border-color: rgba(58,255,122,0.22);
  font-size: var(--text-xs);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.badge-blue {
  background: rgba(99,179,237,0.1);
  color: #90cdf4;
  border-color: rgba(99,179,237,0.22);
  font-size: var(--text-xs);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.section-label-wrap {
  text-align: center;
  margin-bottom: var(--space-4);
}

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

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */

/* Scroll-reveal base */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger helper — JS adds --delay */
.reveal[style*="--delay"] {
  transition-delay: var(--delay, 0ms);
}

/* Hero title word-by-word fade-slide */
@keyframes hero-word-in {
  from { opacity: 0; transform: translateY(16px) skewY(1deg); }
  to   { opacity: 1; transform: translateY(0) skewY(0deg); }
}
.hero-title .word {
  display: inline-block;
  animation: hero-word-in 0.55s cubic-bezier(0.22,1,0.36,1) both;
}

/* Floating glow orb */
@keyframes float-orb {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-24px); }
}
.hero-bg-glow {
  animation: float-orb 7s ease-in-out infinite;
}

/* Bounce scroll hint */
@keyframes bounce-hint {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}
.scroll-hint { animation: bounce-hint 2.2s ease-in-out infinite; }

/* Pulse badge dot */
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(58,255,122,0.35); }
  70%  { box-shadow: 0 0 0 8px rgba(58,255,122,0); }
  100% { box-shadow: 0 0 0 0 rgba(58,255,122,0); }
}
.wa-float { animation: pulse-ring 2.5s ease-in-out infinite; }

/* Card hover lift (applied via CSS) */
.pain-card,
.service-card,
.case-card,
.process-card {
  transition: border-color var(--transition), box-shadow var(--transition),
              transform 0.3s cubic-bezier(0.22,1,0.36,1);
}

/* Counter number pop */
@keyframes count-pop {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: scale(1); }
}

/* Shimmer on CTA glow */
@keyframes shimmer {
  0%   { opacity: 0.06; }
  50%  { opacity: 0.13; }
  100% { opacity: 0.06; }
}
.cta-full-glow { animation: shimmer 4s ease-in-out infinite; }

/* Process connector draw */
@keyframes line-draw-h {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes line-draw-v {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}
.process-connector.animate-h {
  transform-origin: left center;
  animation: line-draw-h 0.7s cubic-bezier(0.22,1,0.36,1) both;
}
.process-connector.animate-v {
  transform-origin: top center;
  animation: line-draw-v 0.7s cubic-bezier(0.22,1,0.36,1) both;
}


/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11,22,40,0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(11,22,40,0.97);
  box-shadow: var(--shadow-md);
}

.navbar-inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-left: auto;
}

.nav-links a {
  position: relative;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.22,1,0.36,1);
}

.nav-links a:hover { color: var(--color-accent); }
.nav-links a:hover::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  margin-left: auto;
}

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

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* === HERO === */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  overflow: hidden;
}

/* Subtle grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(58,255,122,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58,255,122,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-bg-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(58,255,122,0.1) 0%, transparent 68%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-16);
}

.hero-content .badge { margin-bottom: var(--space-6); }

.hero-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: var(--space-5);
  color: var(--color-text);
}

.hero-sub {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  max-width: 56ch;
}

.hero-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 52ch;
  margin-bottom: var(--space-8);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}


/* === PAIN POINTS === */
.pain-section { background: var(--color-surface); }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px,100%), 1fr));
  gap: var(--space-5);
}

.pain-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}

.pain-card:hover {
  border-color: rgba(58,255,122,0.28);
  box-shadow: 0 6px 30px rgba(58,255,122,0.1);
  transform: translateY(-3px);
}

.pain-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(99,179,237,0.1);
  border-radius: var(--radius-lg);
  color: #90cdf4;
  margin-bottom: var(--space-4);
  transition: transform 0.3s ease, background 0.3s ease;
}

.pain-card:hover .pain-icon {
  transform: scale(1.12) rotate(-4deg);
  background: rgba(99,179,237,0.18);
}

.pain-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.pain-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}


/* === TAGLINE === */
.tagline-section {
  padding-block: clamp(var(--space-16), 10vw, var(--space-24));
  background: linear-gradient(135deg, var(--color-bg) 0%, #091220 100%);
}

.tagline {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

.tagline-sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
}


/* === SERVICES === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px,100%), 1fr));
  gap: var(--space-5);
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.service-card:hover {
  border-color: rgba(58,255,122,0.32);
  box-shadow: 0 10px 40px rgba(58,255,122,0.12);
  transform: translateY(-4px);
}

.service-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(58,255,122,0.08);
  border-radius: var(--radius-lg);
  color: var(--color-accent);
  transition: transform 0.3s ease, background 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(58,255,122,0.15);
}

.service-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
}

.service-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  flex: 1;
}

.service-price {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-accent);
  font-family: var(--font-display);
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.service-features li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.service-features li i { color: var(--color-accent); flex-shrink: 0; }


/* === PROCESS === */
.process-section { background: var(--color-surface); }

.process-timeline {
  display: flex;
  align-items: stretch;
  gap: 0;
  position: relative;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  flex: 1;
  min-width: 0;
}

.process-num {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  font-size: var(--text-lg);
  font-weight: 800;
  font-family: var(--font-display);
  background: var(--color-bg);
  z-index: 1;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}

.process-step:hover .process-num {
  background: var(--color-accent);
  color: #0B1628;
}

.process-connector {
  flex: 0 0 auto;
  width: clamp(16px, 3vw, 40px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent) 0%, rgba(58,255,122,0.12) 100%);
  /* Align with center of the number circle (56px/2 = 28px from top) */
  margin-top: 28px;
  transform-origin: left center;
  align-self: flex-start;
}

.process-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  width: 100%;
  /* Equal height: all cards stretch to tallest */
  flex: 1;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform 0.3s ease;
}

.process-step:hover .process-card {
  border-color: rgba(58,255,122,0.25);
  transform: translateY(-2px);
}

.process-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(99,179,237,0.1);
  border-radius: var(--radius-lg);
  color: #90cdf4;
  margin-bottom: var(--space-3);
}

.process-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.process-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}


/* === CASES CAROUSEL === */
.cases-carousel {
  position: relative;
}

.cases-track {
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  /* Hide scrollbar cross-browser */
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px; /* prevent clip on card shadow */
}

.cases-track::-webkit-scrollbar {
  display: none;
}

.case-card {
  /* Desktop: 3 cards visible, accounting for 2 gaps of var(--space-5)=1.25rem */
  flex: 0 0 calc((100% - 2 * var(--space-5)) / 3);
  scroll-snap-align: start;
  min-width: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: border-color var(--transition), transform 0.3s ease;
}

.case-card:hover {
  border-color: rgba(58,255,122,0.25);
  transform: translateY(-3px);
}

.case-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(58,255,122,0.08);
  border-radius: var(--radius-lg);
  color: var(--color-accent);
}

.case-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
}

.case-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.case-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.case-card ul li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.case-card ul li i { color: var(--color-accent); flex-shrink: 0; margin-top: 2px; }

.case-footer {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-3);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.carousel-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  background: var(--color-surface);
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform 0.2s ease;
}

.carousel-btn:hover {
  background: var(--color-surface-2);
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: scale(1.1);
}

.carousel-dots { display: flex; gap: var(--space-2); }

.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-text-faint);
  border: none;
  padding: 0;
  transition: background var(--transition), transform var(--transition), width 0.3s ease;
  cursor: pointer;
}

.carousel-dot.active {
  background: var(--color-accent);
  transform: scale(1.3);
  width: 24px;
  border-radius: var(--radius-full);
}


/* === CTA BANNER === */
.cta-banner {
  padding-block: var(--space-10);
  background: radial-gradient(ellipse at center, rgba(58,255,122,0.06) 0%, transparent 70%);
}


/* === CTA FULL === */
.cta-full {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #091220 0%, #0d1e38 50%, #091220 100%);
}

.cta-full-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(58,255,122,0.1) 0%, transparent 68%);
  pointer-events: none;
}

.shield-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(58,255,122,0.08);
  border: 1px solid rgba(58,255,122,0.22);
  color: var(--color-accent);
  margin: 0 auto var(--space-6);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.shield-icon:hover {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: var(--shadow-glow);
}

.cta-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.cta-sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  margin-bottom: var(--space-5);
}

.cta-note {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}


/* === FAQ === */
.faq-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-8);
  align-items: start;
}

.faq-tabs {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  position: sticky;
  top: 90px;
}

.faq-tab {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  background: transparent;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform 0.2s ease;
}

.faq-tab:hover {
  background: var(--color-surface);
  color: var(--color-text);
  transform: translateX(3px);
}

.faq-tab.active {
  background: rgba(58,255,122,0.08);
  color: var(--color-accent);
  border-color: rgba(58,255,122,0.22);
}

.faq-contact-box {
  margin-top: var(--space-8);
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.faq-contact-box strong { color: var(--color-text); }

.faq-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item[data-cat]:not(.faq-visible) { display: none; }
.faq-item.faq-visible { display: block; }
.faq-item.faq-open {
  border-color: rgba(58,255,122,0.28);
  box-shadow: 0 4px 24px rgba(58,255,122,0.08);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  background: transparent;
  cursor: pointer;
  transition: color var(--transition);
}

.faq-q:hover { color: var(--color-accent); }
.faq-q[aria-expanded="true"] { 
  color: var(--color-accent);
  background: rgba(58,255,122,0.04);
}
.faq-q[aria-expanded="true"] + .faq-a { border-top: 1px solid var(--color-divider); }

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-a.open { max-height: 300px; }

.faq-a p {
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}


/* === CONTACT === */
.contact-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-10);
  align-items: start;
}
.contact-how {
  position: sticky;
  top: 90px;
}

.contact-how h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.contact-how > p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.steps-list li {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: border-color var(--transition), color var(--transition);
}
.steps-list li:hover {
  border-color: rgba(58,255,122,0.25);
  color: var(--color-text);
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #0B1628;
  font-size: var(--text-xs);
  font-weight: 800;
  flex-shrink: 0;
  font-family: var(--font-display);
}

.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  position: relative;
}

.form-group label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0.75rem var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-text-faint); }
.form-group select option { background: var(--color-surface-2); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(58,255,122,0.12);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.char-count {
  position: absolute;
  bottom: var(--space-2);
  right: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.form-feedback {
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  display: none;
}

.form-feedback.success {
  display: block;
  background: rgba(58,255,122,0.08);
  color: var(--color-accent);
  border: 1px solid rgba(58,255,122,0.22);
}

.form-feedback.error {
  display: block;
  background: rgba(239,68,68,0.08);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.22);
}


/* === FOOTER === */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-8);
  padding-bottom: var(--space-12);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 32ch;
}

.social-links { display: flex; gap: var(--space-3); }

.social-links a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition), border-color var(--transition),
              background var(--transition), transform 0.25s ease;
}

.social-links a:hover {
  color: var(--color-accent);
  border-color: rgba(58,255,122,0.3);
  background: rgba(58,255,122,0.06);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-5);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col ul li a,
.footer-col ul li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

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

.footer-contact li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer-contact i { color: var(--color-accent); flex-shrink: 0; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-5);
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-legal { display: flex; gap: var(--space-5); }

.footer-legal a {
  color: var(--color-text-faint);
  text-decoration: none;
  transition: color var(--transition);
}

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


/* === WA FLOAT === */
.wa-float {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 200;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--color-accent);
  color: #0B1628;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(58,255,122,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(58,255,122,0.65);
}

.wa-dot {
  position: absolute;
  top: 4px; right: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #ef4444;
  border: 2px solid var(--color-bg);
  animation: pulse-dot 2s ease-in-out infinite;
}


/* === RESPONSIVE === */
@media (max-width: 1024px) {
  /* Tablet: 2 cards visible */
  .case-card { flex: 0 0 calc((100% - var(--space-5)) / 2); min-width: 0; }

  .process-timeline {
    flex-direction: column;
    gap: var(--space-4);
  }

  .process-connector {
    width: 2px;
    height: 40px;
    margin-top: 0;
    margin-left: 27px;
    background: linear-gradient(180deg, var(--color-accent), rgba(58,255,122,0.12));
    align-self: auto;
    flex: 0 0 2px;
  }

  .process-timeline { align-items: flex-start; flex-direction: column; }
  .process-step { align-items: flex-start; flex-direction: row; width: 100%; }
  .process-card { flex: 1; }

  .faq-layout { grid-template-columns: 200px 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: var(--space-6); }
  .contact-how { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(11,22,40,0.98);
    backdrop-filter: blur(18px);
    flex-direction: column;
    gap: 0;
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.38s cubic-bezier(0.16,1,0.3,1), opacity 0.38s;
    pointer-events: none;
    z-index: 99;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    display: block;
    padding: var(--space-4) var(--space-6);
    border-bottom: 1px solid var(--color-divider);
    font-size: var(--text-base);
  }

  .hamburger { display: flex; }
  .navbar-inner > .btn { display: none; }

  .hero-ctas { flex-direction: column; }

  .case-card {
    /* Mobile: 1 full card, minus section horizontal padding (2×1rem=2rem) */
    flex: 0 0 calc(100vw - 2 * clamp(var(--space-4), 4vw, var(--space-8)));
    max-width: none;
  }

  .faq-layout { grid-template-columns: 1fr; }
  .faq-tabs {
    flex-direction: row;
    flex-wrap: wrap;
    position: static;
    gap: var(--space-2);
  }
  .faq-contact-box { display: none; }

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

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand p { max-width: 100%; }
}

@media (max-width: 480px) {
  .process-step { flex-direction: column; align-items: center; }
  .process-connector {
    width: 2px;
    height: 32px;
    margin: 0 auto;
    align-self: center;
    background: linear-gradient(180deg, var(--color-accent), rgba(58,255,122,0.12));
  }
  .pain-grid, .services-grid { grid-template-columns: 1fr; }
}

/* === LOGO IMAGE === */
.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  /* No box background — logo PNG is now transparent */
}

/* === SPIN ANIMATION (form loading) === */
@keyframes spin {
  to { transform: rotate(360deg); }
}
.spin { animation: spin 0.8s linear infinite; }
