/* ==========================================================================
   DUOCLICK — DESIGN SYSTEM & STYLES (DARK TECH HIGH-CONVERSION)
   Inspiración tecnológica: Micro-resplandores, badges de ROI y estética cyber
   ========================================================================== */

/* ====== PARTICLES NETWORK BACKGROUND ====== */
#tsparticles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
#tsparticles canvas {
  pointer-events: auto;
}

:root {
  /* Paleta Dark Tech */
  --bg-0: #07080c;
  --bg-1: #0d0f17;
  --bg-2: #131622;
  --bg-card: rgba(15, 19, 30, 0.82);
  --bg-card-hover: rgba(20, 26, 42, 0.96);

  /* Bordes y Líneas */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(255, 255, 255, 0.16);
  --border-accent: rgba(244, 63, 94, 0.4);

  /* Colores de Marca y Acentos */
  --accent: #f43f5e;
  --accent-hover: #e11d48;
  --accent-2: #fb7185;
  --accent-gradient: linear-gradient(135deg, #f43f5e 0%, #fb7185 50%, #ff4b72 100%);
  --accent-glow: rgba(244, 63, 94, 0.3);

  /* Acentos Tecnológicos & Financieros (Inspiración Integral Tecnología) */
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --cyan-accent: #38bdf8;
  --cyan-glow: rgba(56, 189, 248, 0.2);

  /* Tipografía y Textos */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Sombras y Radios */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --shadow-card: 0 16px 36px -12px rgba(0, 0, 0, 0.65), 0 0 1px 1px var(--border-subtle);
  --shadow-glow: 0 0 40px -8px var(--accent-glow);

  /* Layout */
  --container: min(1200px, 92vw);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-0);
  color: var(--text-main);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .section-title, .brand {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  letter-spacing: -0.025em;
  font-weight: 700;
}

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

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

button, input, select {
  font-family: inherit;
  color: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
  position: relative;
  z-index: 1;
}

.text-center {
  text-align: center;
}

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

/* ====== EFECTOS DE FONDO AMBIENTALES ====== */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.glow-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.22) 0%, transparent 70%);
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
}

.glow-2 {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.16) 0%, transparent 70%);
  bottom: 8%;
  right: -100px;
}

.glow-emerald {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.14) 0%, transparent 70%);
  top: 35%;
  left: -80px;
}

/* ====== HEADER & NAV ====== */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 8, 12, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 0;
  transition: border-color 0.3s ease;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.status-pill-nav {
  display: none !important;
}

.brand {
  display: flex;
  align-items: center;
}

.brand .logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.menu a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.menu a:hover {
  color: var(--text-main);
}

.btn-nav-cta {
  background: rgba(244, 63, 94, 0.12);
  color: #ff6482 !important;
  border: 1px solid rgba(244, 63, 94, 0.3);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-nav-cta:hover {
  background: var(--accent);
  color: #ffffff !important;
  box-shadow: 0 0 16px var(--accent-glow);
  transform: translateY(-1px);
}

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

.menu-toggle .bar {
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ====== BOTONES ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

.btn-primary-glow {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 6px 24px -4px var(--accent-glow);
  position: relative;
  overflow: hidden;
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px -2px rgba(244, 63, 94, 0.55);
  color: #ffffff;
}

.btn-secondary-glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-highlight);
  backdrop-filter: blur(8px);
}

.btn-secondary-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

/* ====== HERO SECTION ====== */
.hero {
  padding: 4.2rem 0 3.5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 4.5vw, 64px);
  align-items: center;
}

.hero-content {
  text-align: left;
  max-width: 100%;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.45rem 1.15rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #34d399;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px -4px rgba(16, 185, 129, 0.2);
  white-space: nowrap;
  max-width: 100%;
  box-sizing: border-box;
}

.status-pill span:not(.status-dot) {
  white-space: nowrap;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 2s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.6; }
}

.headline {
  font-size: clamp(2.3rem, 3.8vw, 3.6rem);
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: 1.35rem;
  color: #ffffff;
  text-align: left;
}

.sub {
  font-size: clamp(1.05rem, 1.25vw, 1.18rem);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 0 2.2rem 0;
  line-height: 1.65;
  text-align: left;
}

.sub strong {
  color: #ffffff;
}

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

/* Trust Bar */
.trust-bar {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.8rem;
  padding: 1rem 1.8rem;
  max-width: 100%;
  width: fit-content;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.trust-item strong {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  white-space: nowrap;
}

.trust-item span {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  margin-top: 3px;
  line-height: 1.3;
}

.trust-divider {
  width: 1px;
  height: 28px;
  background: var(--border-subtle);
  flex-shrink: 0;
}

/* ====== HERO VISUAL & 3D TILT (DESKTOP) ====== */
.hero-visual {
  perspective: 1000px;
  position: relative;
}

.tilt-wrapper {
  position: relative;
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  transform-style: preserve-3d;
}

.visual-glow {
  position: absolute;
  inset: -14px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(30px);
  z-index: -1;
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.dashboard-card {
  background: var(--bg-1);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75);
}

.card-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
}

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

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.window-title {
  font-size: 0.72rem;
  font-family: monospace;
  color: var(--text-dim);
}

.dashboard-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Badges Flotantes */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(14, 16, 23, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  z-index: 2;
  animation: floatAnim 4s ease-in-out infinite alternate;
}

.badge-top-right {
  top: -15px;
  right: -15px;
}

.badge-bottom-left {
  bottom: -20px;
  left: -20px;
  animation-delay: 2s;
}

.badge-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bg-green { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.bg-rose { background: rgba(244, 63, 94, 0.15); color: #fb7185; }

.floating-badge small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  line-height: 1.2;
}

.floating-badge strong {
  font-size: 0.88rem;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
}

@keyframes floatAnim {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* ====== TECH MARQUEE ====== */
.tech-marquee-section {
  padding: 2.2rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(14, 16, 23, 0.4);
  overflow: hidden;
  position: relative;
}

.marquee-label {
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 1.15rem;
  font-weight: 600;
}

.marquee-track {
  display: flex;
  width: 100%;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.marquee-content {
  display: flex;
  gap: 1.5rem;
  flex-shrink: 0;
  animation: scrollMarquee 26s linear infinite;
  will-change: transform;
}

.marquee-track:hover .marquee-content {
  animation-play-state: paused;
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.tech-svg {
  flex-shrink: 0;
}

@keyframes scrollMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* ====== SECCIÓN: SERVICIOS / SOLUCIONES ====== */
.services-section {
  padding: 4.8rem 0;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fb7185;
  background: rgba(244, 63, 94, 0.1);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(244, 63, 94, 0.25);
  margin-bottom: 0.9rem;
}

.section-header {
  margin-bottom: 3.2rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #ffffff;
  margin-bottom: 0.6rem;
  line-height: 1.22;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 620px;
  margin-inline: auto;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  backdrop-filter: blur(14px);
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-5px);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.7), 0 0 25px -5px rgba(244, 63, 94, 0.18);
}

.service-card.highlight-card {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 25px -5px rgba(16, 185, 129, 0.12);
}

.service-card.highlight-card:hover {
  border-color: rgba(16, 185, 129, 0.65);
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.75), 0 0 30px -3px rgba(16, 185, 129, 0.28);
}

/* Card Top Row with Metric Badges */
.card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  gap: 0.5rem;
}

.metric-badge {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.metric-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.badge-green {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.32);
}
.badge-green .metric-dot { background: #10b981; box-shadow: 0 0 6px #10b981; }

.badge-cyan {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.32);
}
.badge-cyan .metric-dot { background: #38bdf8; box-shadow: 0 0 6px #38bdf8; }

.badge-rose {
  background: rgba(244, 63, 94, 0.12);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.32);
}
.badge-rose .metric-dot { background: #f43f5e; box-shadow: 0 0 6px #f43f5e; }

.badge-purple {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.32);
}
.badge-purple .metric-dot { background: #a855f7; box-shadow: 0 0 6px #a855f7; }

.service-icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-emerald { background: rgba(16, 185, 129, 0.14); color: #10b981; }
.icon-cyan { background: rgba(56, 189, 248, 0.14); color: #38bdf8; }
.icon-rose { background: rgba(244, 63, 94, 0.14); color: #f43f5e; }
.icon-purple { background: rgba(168, 85, 247, 0.14); color: #a855f7; }

.service-card h3 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.service-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ff6482;
  transition: gap 0.2s ease, color 0.2s ease;
}

.service-link:hover {
  color: #ffffff;
}

/* Banner de Requerimiento Especial / Solución a Medida */
.custom-solution-banner {
  margin-top: 2.2rem;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.custom-solution-banner:hover {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 14px 36px -8px rgba(0, 0, 0, 0.6), 0 0 25px -5px rgba(244, 63, 94, 0.15);
}

.custom-solution-banner .banner-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
}

.custom-solution-banner .banner-text {
  flex-grow: 1;
}

.custom-solution-banner .banner-text h4 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.custom-solution-banner .banner-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.custom-solution-banner .banner-text strong {
  color: #ffffff;
}

.custom-solution-banner .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 820px) {
  .custom-solution-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.6rem 1.4rem;
  }

  .custom-solution-banner .banner-icon {
    margin: 0 auto;
  }

  .custom-solution-banner .btn {
    width: 100%;
  }
}

/* ====== SECCIÓN: PROYECTOS RECIENTES / CASOS DE ÉXITO ====== */
.projects-section {
  padding: 5rem 0 5.5rem;
  position: relative;
  background: radial-gradient(circle at 50% 15%, rgba(244, 63, 94, 0.05) 0%, transparent 65%);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-bottom: 2.5rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s ease, 
              box-shadow 0.35s ease;
  position: relative;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(244, 63, 94, 0.45);
  box-shadow: 0 22px 48px -12px rgba(0, 0, 0, 0.8),
              0 0 32px -6px rgba(244, 63, 94, 0.22);
}

/* Ocultar clones en pantallas de escritorio para preservar la cuadrícula de 3 columnas */
.project-card.is-clone {
  display: none !important;
}

/* Browser Header Mockup */
.project-browser {
  background: rgba(13, 16, 26, 0.95);
  border-bottom: 1px solid var(--border-subtle);
}

.browser-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.9rem;
  background: rgba(10, 12, 20, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.b-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

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

.browser-address-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.22rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  max-width: 62%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lock-icon {
  color: #10b981;
  flex-shrink: 0;
}

.browser-url {
  color: #94a3b8;
  letter-spacing: -0.01em;
}

.browser-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #34d399;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  animation: pulseGreen 2s infinite ease-in-out;
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Browser Viewport & Image */
.browser-viewport {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #090b11;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

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

.viewport-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 8, 12, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.project-card:hover .viewport-overlay {
  opacity: 1;
  pointer-events: auto;
}

.overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  background: rgba(244, 63, 94, 0.95);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px -4px rgba(244, 63, 94, 0.6);
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.project-card:hover .overlay-btn {
  transform: translateY(0);
}

.overlay-btn:hover {
  background: #ff4b72;
  transform: translateY(-2px) scale(1.03);
}

/* Project Content */
.project-content {
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.project-highlight-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.project-title {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.project-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.6rem;
  flex-grow: 1;
}

/* Project Tech Tags */
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
}

.p-tag {
  font-size: 0.74rem;
  font-weight: 500;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.p-tag:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

/* Project Action Buttons */
.project-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: auto;
}

.btn-project-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: rgba(244, 63, 94, 0.12);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.35);
  padding: 0.65rem 0.9rem;
  font-size: 0.84rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-project-primary:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 4px 18px -2px rgba(244, 63, 94, 0.5);
  transform: translateY(-2px);
}

.btn-project-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  padding: 0.65rem 0.9rem;
  font-size: 0.84rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-project-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  color: var(--text-main);
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

/* Portfolio Bottom Banner */
.portfolio-cta-banner {
  background: linear-gradient(135deg, rgba(20, 26, 42, 0.85) 0%, rgba(15, 19, 30, 0.95) 100%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
  margin-top: 1rem;
}

.portfolio-cta-banner:hover {
  border-color: rgba(244, 63, 94, 0.4);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.7), 0 0 25px -5px rgba(244, 63, 94, 0.15);
}

.cta-banner-content h4 {
  font-size: 1.22rem;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.cta-banner-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 650px;
}

.portfolio-cta-banner .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

/* Carousel Controls (Hidden by default on desktop) */
.projects-carousel-controls {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 1080px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .projects-section {
    padding: 3.5rem 0 1.5rem;
    overflow: hidden;
  }

  /* Transform vertically stacked cards into a smooth horizontal touch carousel */
  .projects-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 1.2rem;
    padding: 0.5rem 1.25rem 1.4rem;
    margin-inline: -1.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .projects-grid::-webkit-scrollbar {
    display: none;
  }

  .projects-grid .project-card {
    flex: 0 0 calc(100vw - 3.6rem);
    max-width: 390px;
    min-width: 280px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    opacity: 1 !important;
    transform: none !important;
    margin-bottom: 0;
  }

  .projects-grid .project-card.reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .projects-grid .project-card.is-clone {
    display: flex !important;
  }

  .projects-grid .project-content {
    padding: 1.35rem 1.2rem;
  }

  .projects-grid .project-desc {
    margin-bottom: 1.35rem;
    font-size: 0.85rem;
  }

  .projects-carousel-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0.2rem;
    margin-bottom: 1.8rem;
  }

  .projects-carousel-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0.28rem 0.85rem;
    border-radius: var(--radius-full);
    margin-bottom: 0.9rem;
  }

  .projects-carousel-hint svg {
    color: var(--accent);
    animation: swipeHintAnim 2s infinite ease-in-out;
  }

  @keyframes swipeHintAnim {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
  }

  .projects-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  .carousel-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .carousel-nav-btn:hover,
  .carousel-nav-btn:active {
    background: rgba(244, 63, 94, 0.15);
    border-color: rgba(244, 63, 94, 0.4);
    color: #ffffff;
    transform: scale(1.08);
  }

  .projects-carousel-dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.22);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-tap-highlight-color: transparent;
  }

  .carousel-dot.active {
    width: 26px;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(244, 63, 94, 0.6);
  }

  .portfolio-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.8rem 1.4rem;
    margin-top: 0.8rem;
  }

  .portfolio-cta-banner p {
    max-width: 100%;
  }

  .portfolio-cta-banner .btn {
    width: 100%;
  }

  .project-actions {
    grid-template-columns: 1fr;
  }
}

/* ====== SECCIÓN: QUIÉNES SOMOS ====== */
.about-section {
  padding: 4.5rem 0 5rem;
  position: relative;
  background: radial-gradient(circle at 50% 30%, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
  overflow: hidden;
  width: 100%;
}

.about-header {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 3rem;
  width: 100%;
}

.about-header .section-tag {
  margin-inline: auto;
  display: inline-flex;
}

.about-header .section-title {
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  line-height: 1.22;
  margin-bottom: 1.2rem;
  word-break: break-word;
  text-align: center;
}

.about-lead {
  font-size: 1.08rem;
  line-height: 1.7;
  color: #f1f5f9;
  margin-bottom: 1rem;
  word-break: break-word;
  text-align: center;
}

.about-lead strong {
  color: #ffffff;
}

.about-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  word-break: break-word;
  text-align: center;
}

.about-text strong {
  color: #ffffff;
}

/* Value Pillars 3-Column Grid */
.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  margin-bottom: 2.8rem;
  width: 100%;
}

.about-pillar-card {
  background: rgba(15, 19, 30, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  position: relative;
  overflow: hidden;
  min-width: 0;
  box-sizing: border-box;
}

.about-pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.3s ease;
}

.about-pillar-card:hover {
  border-color: var(--border-highlight);
  background: rgba(20, 26, 42, 0.9);
  transform: translateY(-5px);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.6), 0 0 20px -5px rgba(99, 102, 241, 0.15);
}

.about-pillar-card:hover::before {
  background: linear-gradient(90deg, #f43f5e, #38bdf8);
}

.about-pillar-card .pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(244, 63, 94, 0.1);
  color: #fb7185;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.3rem;
  border: 1px solid rgba(244, 63, 94, 0.25);
  flex-shrink: 0;
}

.about-pillar-card:nth-child(2) .pillar-icon {
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.25);
}

.about-pillar-card:nth-child(3) .pillar-icon {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.25);
}

.about-pillar-card h4 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
  word-break: break-word;
}

.about-pillar-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  word-break: break-word;
}

.about-action {
  display: flex;
  justify-content: center;
  width: 100%;
}

.about-action .btn {
  padding: 0.95rem 2.2rem;
  font-size: 0.95rem;
}

/* Responsividad para Quiénes Somos */
@media (max-width: 960px) {
  .about-pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.3rem;
  }
}

@media (max-width: 640px) {
  .about-section {
    padding: 1.8rem 0 3.2rem;
  }

  .about-header {
    margin-bottom: 1.8rem;
    text-align: center;
  }

  .about-header .section-tag {
    margin-inline: auto;
    display: inline-flex;
  }

  .about-header .section-title {
    font-size: clamp(1.45rem, 5.8vw, 1.95rem);
    text-align: center;
  }

  .about-lead {
    font-size: 0.94rem;
    line-height: 1.55;
    text-align: center;
  }

  .about-text {
    font-size: 0.86rem;
    line-height: 1.55;
    text-align: center;
  }

  .about-pillars-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin-bottom: 1.8rem;
  }

  .about-pillar-card {
    padding: 1.5rem 1.3rem;
    align-items: center;
    text-align: center;
  }

  .about-pillar-card .pillar-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 0.9rem;
    margin-inline: auto;
  }

  .about-pillar-card h4 {
    font-size: 1.05rem;
    text-align: center;
  }

  .about-pillar-card p {
    font-size: 0.84rem;
    text-align: center;
  }

  .about-action .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ====== SECCIÓN: PROCESO ====== */
.process-section {
  padding: 4.2rem 0;
}

.steps-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2rem;
}

.step {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.step:hover {
  border-color: var(--border-highlight);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.5);
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(244, 63, 94, 0.15);
  color: #ff6482;
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.step h3 {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.step-connector {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--border-subtle), var(--border-highlight));
  flex-shrink: 0;
}

/* ====== SECCIÓN: CONTACTO ====== */
.contact-section {
  padding: 4.2rem 0 5.2rem;
}

.contact-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.2rem;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-card);
}

.contact-header {
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

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

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(10, 12, 18, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 14px rgba(244, 63, 94, 0.3);
}

.form-group select option {
  background-color: #0d0f17;
  color: #ffffff;
}

.btn-submit {
  width: 100%;
  margin-top: 0.6rem;
  padding: 0.95rem;
  font-size: 1rem;
}

/* ====== FOOTER ====== */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(6, 7, 10, 0.95);
  padding: 2.5rem 0 2rem;
  font-size: 0.88rem;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.8rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 1.5rem;
}

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

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.78rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 1.2rem;
}

/* ====== WHATSAPP FAB ====== */
.wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px) scale(0.8);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease, box-shadow 0.25s ease;
}

.wa-fab.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

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

.wa-fab-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  opacity: 0.6;
  animation: waPulse 2s infinite ease-out;
  pointer-events: none;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ====== SCROLL REVEAL ANIMATIONS ====== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* ====== RESPONSIVIDAD ====== */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-row {
    flex-direction: column;
    gap: 1rem;
  }

  .step-connector {
    width: 2px;
    height: 20px;
  }
}

/* ====== PANTALLAS MEDIANAS / LAPTOPS (Gana espacio elevando el letrero al header) ====== */
@media (min-width: 992px) and (max-width: 1320px), (min-width: 992px) and (max-height: 820px) {
  .status-pill-nav {
    display: inline-flex !important;
    padding: 0.32rem 0.8rem;
    gap: 0.45rem;
    font-size: 0.76rem;
    margin-bottom: 0;
  }

  .status-pill-nav .status-dot {
    width: 7px;
    height: 7px;
  }

  .hero .hero-content > .status-pill {
    display: none !important;
  }

  .hero {
    padding: 1.8rem 0 2rem;
  }

  .hero-grid {
    gap: 2.2rem;
  }

  .headline {
    font-size: clamp(1.9rem, 3.1vw, 2.75rem);
    margin-bottom: 0.9rem;
    line-height: 1.13;
  }

  .sub {
    font-size: 1.02rem;
    margin-bottom: 1.6rem;
    line-height: 1.55;
    max-width: 520px;
  }

  .hero-actions {
    margin-bottom: 2rem;
    gap: 0.85rem;
  }

  .trust-bar {
    padding: 0.85rem 1.4rem;
    gap: 1.3rem;
  }

  .trust-item strong {
    font-size: 1.18rem;
  }

  .trust-item span {
    font-size: 0.7rem;
  }

  .floating-badge {
    padding: 8px 13px;
    gap: 9px;
  }

  .floating-badge strong {
    font-size: 0.8rem;
  }
}

@media (max-width: 991px) {
  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
  }

  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 860px;
    margin: 0 auto;
  }

  .headline {
    text-align: center;
  }

  .sub {
    text-align: center;
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .trust-bar {
    width: 100%;
    justify-content: space-between;
  }

  .trust-item {
    align-items: center;
    text-align: center;
  }

  .hero-visual {
    display: none !important;
  }
}

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

  .menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(10, 12, 18, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.4rem;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    padding: 2rem 0 2.2rem;
  }

  .status-pill {
    padding: 0.38rem 0.85rem;
    gap: 0.5rem;
    font-size: clamp(0.68rem, 2.3vw, 0.82rem);
    margin-bottom: 1.25rem;
  }

  .headline {
    font-size: 2.1rem;
  }

  .trust-bar {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.85rem 0.9rem;
    border-radius: var(--radius-md);
    box-sizing: border-box;
  }

  .trust-item {
    flex: 1;
    min-width: 0;
  }

  .trust-item strong {
    font-size: 1.05rem;
  }

  .trust-item span {
    font-size: 0.66rem;
    letter-spacing: 0.02em;
    line-height: 1.25;
  }

  .trust-divider {
    height: 24px;
    flex-shrink: 0;
  }

  .footer-wrap {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }
}

@media (max-width: 520px) {
  header.navbar {
    padding: 0.65rem 0;
  }

  .hero {
    padding: 1.25rem 0 1.8rem;
  }

  .status-pill {
    padding: 0.32rem 0.65rem;
    gap: 0.4rem;
    font-size: clamp(0.58rem, 2.6vw, 0.74rem);
    margin-bottom: 1rem;
    max-width: 100%;
  }

  .status-dot {
    width: 6px;
    height: 6px;
    flex-shrink: 0;
  }

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

  .tech-marquee-section {
    padding: 1.8rem 0;
  }

  .marquee-label {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    padding: 0 1rem;
    line-height: 1.4;
  }

  .tech-tag {
    padding: 6px 13px;
    font-size: 0.78rem;
    gap: 7px;
  }

  .trust-bar {
    gap: 0.35rem;
    padding: 0.75rem 0.5rem;
    border-radius: var(--radius-md);
  }

  .trust-item strong {
    font-size: 0.82rem;
    white-space: normal;
    text-align: center;
    line-height: 1.15;
  }

  .trust-item span {
    font-size: 0.58rem;
    letter-spacing: 0;
    line-height: 1.2;
  }

  .trust-divider {
    height: 20px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .contact-card {
    padding: 1.8rem 1.2rem;
  }

  .wa-fab {
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
  }

  .wa-fab svg {
    width: 24px;
    height: 24px;
  }
}
