@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&family=Space+Grotesk:wght@400;500;600&display=swap');

/* ============================================================
   DESIGN SYSTEM — APPLE INSPIRED / REFINED LUXURY
   Original FJweb Palette: Deep Navy, Midnight Blue & Crisp White
   ============================================================ */
:root {
  --bg:           #07101f;
  --bg-surface:   #0b1829;
  --bg-card:      #0e1d32;
  --bg-card-hover:#132640;
  --text:         #FBF9FF;
  --text-dim:     rgba(251, 249, 255, 0.58);
  --text-faint:   rgba(251, 249, 255, 0.28);
  --border:       rgba(251, 249, 255, 0.09);
  --border-hover: rgba(251, 249, 255, 0.25);
  --accent:       #2563eb;
  --accent-light: #3b82f6;

  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:    'Space Grotesk', monospace, sans-serif;

  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-pill:  999px;

  --ease-apple:   cubic-bezier(0.16, 1, 0.3, 1);
  --transition:   0.32s var(--ease-apple);
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition), color var(--transition), border-color var(--transition);
}

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   EVIDENT & SMOOTH SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 0.95s var(--ease-apple), transform 0.95s var(--ease-apple);
  will-change: opacity, transform;
}

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

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.30s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 52px;
  background: rgba(7, 16, 31, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: padding var(--transition), background var(--transition);
}

#header.scrolled {
  padding: 13px 52px;
  background: rgba(7, 16, 31, 0.96);
  border-bottom-color: rgba(251, 249, 255, 0.14);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.logo img {
  height: 36px;
  width: auto;
  transition: opacity var(--transition), transform var(--transition);
  user-select: none;
  -webkit-user-select: none;
}

.logo:hover img {
  opacity: 0.88;
  transform: scale(1.02);
}

nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

nav ul li a {
  display: inline-block;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--text-dim);
  border: 1px solid transparent;
  transition: all var(--transition);
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--text);
  background: rgba(251, 249, 255, 0.07);
  border-color: var(--border);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 350;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

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

/* ============================================================
   HERO SECTION
   Letter 'g' descender preserved, text caret blocked on click
   ============================================================ */
#inicio {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 90px;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(3.4rem, 8.5vw, 6.8rem);
  font-weight: 600;
  line-height: 1.18;
  margin-bottom: 24px;
  color: var(--text);
  overflow: visible;
  padding-bottom: 0.12em;
  user-select: none;
  -webkit-user-select: none;
  cursor: default;
  opacity: 0;
  transform: translateY(35px);
  animation: heroEntranceTitle 1.1s var(--ease-apple) 0.15s forwards;
}

@keyframes heroEntranceTitle {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 44px;
  font-weight: 300;
  line-height: 1.65;
  user-select: none;
  -webkit-user-select: none;
  cursor: default;
  opacity: 0;
  transform: translateY(25px);
  animation: heroEntranceFade 0.95s var(--ease-apple) 0.35s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: heroEntranceFade 0.95s var(--ease-apple) 0.52s forwards;
}

@keyframes heroEntranceFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-primary {
  display: inline-block;
  padding: 13px 36px;
  border-radius: var(--radius-pill);
  background: var(--text);
  color: var(--bg);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(251, 249, 255, 0.15);
}

.btn-outline {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 400;
  background: rgba(251, 249, 255, 0.02);
  transition: all var(--transition);
}

.btn-outline:hover {
  background: rgba(251, 249, 255, 0.08);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
.section {
  padding: 120px 0;
  position: relative;
}

.section-alt {
  padding: 120px 0;
  background: var(--bg-surface);
  position: relative;
}

.section-header {
  max-width: 680px;
  margin-bottom: 56px;
}

.section-title {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 600;
  margin-bottom: 16px;
  user-select: none;
  -webkit-user-select: none;
  cursor: default;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-dim);
  font-weight: 300;
}

/* ============================================================
   "LO QUE HACEMOS." — 3D RENDER STAGE (WEBGL THREE.JS)
   Genuine 3D Render: Floating metallic monolith with realistic lights
   ============================================================ */
.floating-stage-wrapper {
  max-width: 1040px;
  margin: 0 auto;
}

.floating-stage-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.floating-stage-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.55);
}

/* Three.js 3D WebGL Canvas Container */
.stage-visual-pane {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 320px;
}

.logo-3d-viewport {
  width: 100%;
  max-width: 320px;
  height: 320px;
  position: relative;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.logo-3d-viewport:active {
  cursor: grabbing;
}

#logo-3d-canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.logo-3d-caption {
  font-size: 0.76rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  margin-top: 6px;
  font-family: var(--font-sans);
}

.stage-info-pane {
  display: flex;
  flex-direction: column;
}

.stage-info-pane h3 {
  font-size: 2.4rem;
  margin-bottom: 16px;
  line-height: 1.15;
}

.stage-info-pane p {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 28px;
}

.stage-feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stage-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--text);
}

.stage-feature-item svg {
  width: 18px;
  height: 18px;
  color: #3b82f6;
  flex-shrink: 0;
  margin-top: 3px;
}

.stage-feature-item span strong {
  font-weight: 500;
  color: var(--text);
}

.stage-feature-item span {
  color: var(--text-dim);
}

/* ============================================================
   INNOVATIVE SECTION: "LA DIFERENCIA" / STUDIO SIMULATOR
   100% Opaque Layers (ZERO text bleed-through), No ugly pills,
   Distinct, realistic website mockups!
   ============================================================ */
.simulator-container {
  max-width: 1040px;
  margin: 0 auto;
}

.simulator-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 14px;
}

.simulator-hint {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-style: italic;
  font-weight: 300;
}

/* Simulator Frame (Mac/Safari style) */
.simulator-frame {
  background: #07101f;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  margin: 0 auto;
}

.simulator-browser-bar {
  height: 40px;
  background: rgba(11, 24, 41, 0.98);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 14px;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  opacity: 0.8;
}

.b-red { background: #ff5f56; }
.b-yellow { background: #ffbd2e; }
.b-green { background: #27c93f; }

.browser-url-text {
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

/* Simulator Viewport Container */
.simulator-viewport {
  position: relative;
  height: 460px;
  overflow: hidden;
  background: #0d1726;
  user-select: none;
  -webkit-user-select: none;
}

/* ------------------------------------------------------------
   LAYER 1 (CONVENTIONAL WEBSITE - UNDERNEATH)
   100% Solid Opaque Background (#0e1728) - Zero Bleed!
   ------------------------------------------------------------ */
.sim-layer.conventional {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #0e1728; /* Solid opaque */
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.conv-site-header {
  height: 46px;
  background: #131f33;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
}

.conv-site-logo {
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.conv-site-nav {
  display: flex;
  gap: 14px;
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  color: #64748b;
}

.conv-site-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding: 30px 48px;
  text-align: right;
  background: #0e1728;
  margin-left: auto;
  max-width: 500px;
}

.conv-hero-title {
  font-family: Arial, sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 12px;
  line-height: 1.15;
}

.conv-hero-desc {
  font-family: Arial, sans-serif;
  font-size: 0.86rem;
  color: #64748b;
  max-width: 380px;
  margin-bottom: 22px;
  line-height: 1.5;
}

.conv-hero-btn {
  font-family: Arial, sans-serif;
  padding: 10px 20px;
  background: #1e293b;
  color: #94a3b8;
  border-radius: 4px;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ------------------------------------------------------------
   LAYER 2 (FJWEB BESPOKE SITE - FOREGROUND CLIPPED)
   100% Solid Opaque Background (#07101f) - Zero Bleed!
   ------------------------------------------------------------ */
.sim-layer.fjweb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #07101f; /* 100% SOLID OPAQUE - Prevents any bleed-through */
  z-index: 2;
  clip-path: polygon(0 0, var(--split-pos, 60%) 0, var(--split-pos, 60%) 100%, 0 100%);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.fjweb-site-header {
  height: 46px;
  background: #0b1829;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
}

.fjweb-site-logo {
  height: 20px;
  width: auto;
}

.fjweb-site-nav {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.fjweb-site-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 30px 48px;
  text-align: left;
  background: #07101f;
  max-width: 500px;
}

.fjweb-hero-title {
  font-size: 2.6rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
  line-height: 1.1;
  font-family: var(--font-serif);
}

.fjweb-hero-desc {
  font-size: 0.92rem;
  color: var(--text-dim);
  max-width: 400px;
  margin-bottom: 22px;
  line-height: 1.6;
  font-weight: 300;
}

.fjweb-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: var(--radius-pill);
  background: var(--text);
  color: var(--bg);
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.fjweb-hero-btn:hover {
  transform: translateY(-2px);
  background: #ffffff;
}

/* ------------------------------------------------------------
   DRAGGABLE SPLIT HANDLE
   ------------------------------------------------------------ */
.sim-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split-pos, 50%);
  width: 2px;
  background: var(--text);
  z-index: 10;
  transform: translateX(-50%);
  cursor: ew-resize;
  pointer-events: auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

.sim-handle-grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}

.sim-handle-grip svg {
  width: 16px;
  height: 16px;
}

/* ============================================================
   SHOWCASE DECK / SLIDER DE PORTFOLIO
   ============================================================ */
.portfolio-wrapper {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
}

.portfolio-header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.portfolio-counter {
  font-size: 0.88rem;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}

.portfolio-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.portfolio-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(251, 249, 255, 0.03);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.portfolio-arrow:hover {
  background: rgba(251, 249, 255, 0.1);
  border-color: var(--border-hover);
  transform: scale(1.06);
}

.portfolio-arrow svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

.portfolio-slider {
  position: relative;
  min-height: 440px;
}

.portfolio-slide {
  display: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-apple), transform 0.5s var(--ease-apple);
}

.portfolio-slide.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  transition: border-color var(--transition);
}

.project-card:hover {
  border-color: var(--border-hover);
}

.project-mockup {
  background: #050b14;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.mockup-bar {
  height: 38px;
  background: rgba(11, 24, 41, 0.95);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 14px;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  opacity: 0.8;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.mockup-url {
  font-size: 0.76rem;
  color: var(--text-dim);
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
}

.mockup-screen {
  position: relative;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
  background: #03070d;
}

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

.project-card:hover .mockup-screen img {
  transform: scale(1.025);
}

.project-info {
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-surface);
}

.project-title {
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.project-location {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 20px;
  font-weight: 300;
}

.project-desc {
  font-size: 0.95rem;
  color: var(--text-dim);
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 32px;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 3px;
  width: fit-content;
  transition: border-color var(--transition);
}

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

.slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(251, 249, 255, 0.2);
  cursor: pointer;
  transition: all var(--transition);
}

.slider-dot.active {
  background: var(--text);
  transform: scale(1.25);
}

/* ============================================================
   PLANES SECTION
   ============================================================ */
.planes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.plan-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition);
}

.plan-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.plan-image {
  width: 100%;
  height: 180px;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 26px;
}

.plan-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.plan-card:hover .plan-image img {
  transform: scale(1.03);
}

.plan-card h3 {
  font-size: 2rem;
  margin-bottom: 18px;
}

.plan-highlights {
  flex: 1;
  margin-bottom: 32px;
}

.plan-highlights li {
  font-size: 0.88rem;
  color: var(--text-dim);
  padding: 8px 0;
  border-bottom: 1px solid rgba(251, 249, 255, 0.04);
  font-weight: 300;
}

.plan-highlights li:last-child {
  border-bottom: none;
}

.plan-footer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-block {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.contact-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.contact-line {
  font-size: 1.05rem;
  color: var(--text-dim);
  font-weight: 300;
}

.contact-line a:hover {
  color: var(--text);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  text-align: center;
  padding: 40px 24px;
  font-size: 0.8rem;
  color: var(--text-faint);
  border-top: 1px solid var(--border);
  letter-spacing: 0.02em;
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 250;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: transform var(--transition);
}

.wa-float:hover {
  transform: scale(1.08);
}

.wa-float svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 960px) {
  .floating-stage-card {
    grid-template-columns: 1fr;
    padding: 38px 28px;
    gap: 36px;
  }
  .planes-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .project-card {
    grid-template-columns: 1fr;
  }
  .mockup-screen {
    min-height: 260px;
  }
  .simulator-viewport {
    height: 420px;
  }
}

@media (max-width: 768px) {
  #header { padding: 16px 24px; }
  #header.scrolled { padding: 12px 24px; }

  .menu-toggle { display: flex; }

  nav ul {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 250;
  }

  nav ul.open { display: flex; }

  nav ul li a {
    font-size: 1.15rem;
    padding: 12px 36px;
  }

  .section,
  .section-alt {
    padding: 90px 24px;
  }

  .fjweb-hero-title,
  .conv-hero-title {
    font-size: 1.8rem;
  }
}
