/* ==========================================================================
   DigitalFlow - Components Stylesheet
   Navbar, Buttons, Hero Showcase, Video Player, Cards, Drawer IA,
   Modal Cotización, Vitrina Tecnológica & Barra Flotante Móvil
   Anti-Slop Architecture · Pure White + Royal Blue + Deep Navy Contrast
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Header & Navigation Sticky (Frosted White Glass)
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 1002;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.04);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--text-heading);
  display: flex;
  align-items: center;
}

.brand-name span {
  color: var(--primary-royal);
  margin-left: 1px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

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

.nav-link {
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 0.5rem 0.25rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-royal);
  transition: width var(--transition-normal);
  border-radius: var(--radius-full);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-royal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-toggle-btn {
  display: none;
  background: transparent;
  color: var(--text-heading);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  z-index: 1002;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.nav-toggle-btn:hover {
  color: var(--primary-royal);
}

/* --------------------------------------------------------------------------
   2. Botones & Acciones (Button-in-Button Architecture)
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.45rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-royal);
}

.btn-primary:hover {
  background: var(--primary-royal-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-royal-hover);
  color: #ffffff;
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary svg {
  transition: transform var(--transition-fast);
}

.btn-primary:hover svg {
  transform: translate(2px, -2px);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-heading);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--primary-royal-subtle);
  border-color: var(--primary-royal);
  color: var(--primary-royal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:active {
  transform: scale(0.98);
}

.btn-outline {
  background: transparent;
  color: var(--primary-royal);
  border: 1.5px solid var(--primary-royal);
}

.btn-outline:hover {
  background: var(--primary-royal);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-royal);
}

.btn-ai {
  background: var(--primary-royal-light);
  color: var(--primary-royal);
  border: 1px solid rgba(0, 82, 255, 0.22);
  padding: 0.6rem 1.15rem;
  font-size: 0.88rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.btn-ai:hover {
  background: rgba(0, 82, 255, 0.12);
  border-color: var(--primary-royal);
  box-shadow: 0 4px 16px rgba(0, 82, 255, 0.2);
  transform: translateY(-1px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  position: relative;
  display: inline-block;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: inherit;
  opacity: 0.6;
  animation: pulse-ring 2s infinite cubic-bezier(0.24, 0, 0.38, 1);
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  70% { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 20px -3px rgba(37, 211, 102, 0.38);
}

.btn-whatsapp:hover {
  background: #20ba59;
  box-shadow: 0 10px 28px -3px rgba(37, 211, 102, 0.5);
  transform: translateY(-2px);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   3. Hero Section & Video Showcase (1080p Enhanced Video)
   -------------------------------------------------------------------------- */

.hero-section {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 4rem;
  margin-bottom: 5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1.25rem;
  background: var(--primary-royal-subtle);
  border: 1px solid rgba(0, 82, 255, 0.16);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-royal);
  margin-bottom: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-title {
  font-size: clamp(2.6rem, 5vw + 1rem, 4.45rem);
  line-height: 1.08;
  letter-spacing: -0.038em;
  margin-bottom: 1.5rem;
  color: var(--text-heading);
}

.hero-lead {
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 2.5rem;
}

.hero-guarantees {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  font-size: 0.875rem;
}

.hero-guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-guarantee-item svg {
  color: var(--primary-royal);
}

/* Mockup / Visual Hero (Machined Double-Bezel Architecture) */
.hero-visual-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: #ffffff;
  border: 1px solid rgba(10, 88, 202, 0.14);
  box-shadow: var(--shadow-xl);
  padding: 0.5rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hero-visual-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 35px 70px -15px rgba(7, 14, 34, 0.14), 0 15px 30px -8px rgba(0, 82, 255, 0.1);
}

.mockup-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-subtle);
  border-top-left-radius: calc(var(--radius-xl) - 8px);
  border-top-right-radius: calc(var(--radius-xl) - 8px);
}

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

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.mockup-dots span:nth-child(1) { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #f59e0b; }
.mockup-dots span:nth-child(3) { background: #10b981; }

.mockup-address-bar {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.25rem 1.25rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 1px 3px rgba(7, 14, 34, 0.04);
}

/* Contenedor de Video 1080p con Controles y Overlay Azul Rey */
.mockup-video-wrapper {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom-left-radius: calc(var(--radius-xl) - 8px);
  border-bottom-right-radius: calc(var(--radius-xl) - 8px);
  background: #000;
}

.mockup-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-royal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 14, 34, 0.05) 0%, rgba(0, 82, 255, 0.12) 100%);
  pointer-events: none;
}

.video-playback-controls {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 3;
}

.video-control-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(10, 88, 202, 0.18);
  border-radius: var(--radius-full);
  color: var(--text-heading);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.video-control-pill:hover {
  background: #ffffff;
  border-color: var(--primary-royal);
  color: var(--primary-royal);
  transform: scale(1.03);
}

.video-control-pill .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulse-ring 2s infinite;
}

/* Floating Badges sobre el Mockup */
.floating-badge {
  position: absolute;
  padding: 0.75rem 1.15rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(10, 88, 202, 0.14);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 2;
  font-size: 0.85rem;
  transition: transform var(--transition-fast);
}

.floating-badge:hover {
  transform: translateY(-2px);
}

.floating-badge-top-left {
  top: 1.25rem;
  left: 1.25rem;
}

.floating-badge-bottom-right {
  bottom: 1.25rem;
  right: 1.25rem;
}

.badge-icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--primary-royal-subtle);
  color: var(--primary-royal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-text strong {
  display: block;
  color: var(--text-heading);
  font-weight: 700;
  font-size: 0.85rem;
}

.badge-text span {
  display: block;
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* Stats Ribbon */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2.25rem 2.5rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15%;
  right: 0;
  height: 70%;
  width: 1px;
  background: var(--border-subtle);
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--primary-royal);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   4. Pilares de Valor (Pure White Cards with Subtle Royal Blue Accent)
   -------------------------------------------------------------------------- */

.pillar-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  transition: background var(--transition-normal);
}

.pillar-card:hover {
  background: #ffffff;
  border-color: rgba(0, 82, 255, 0.28);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pillar-card:hover::before {
  background: var(--gradient-brand);
}

.pillar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-royal-subtle);
  color: var(--primary-royal);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 82, 255, 0.12);
}

.pillar-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: rgba(10, 88, 202, 0.15);
}

.pillar-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  color: var(--text-heading);
}

.pillar-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-royal);
  background: var(--primary-royal-subtle);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
  align-self: flex-start;
}

.pillar-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.pillar-highlight {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--primary-royal);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

/* --------------------------------------------------------------------------
   4.5 Vitrina Tecnológica & Arquitectura (Real Media Integration)
   -------------------------------------------------------------------------- */

.tech-showcase-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.tech-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.tech-showcase-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.tech-showcase-card:hover {
  border-color: rgba(0, 82, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.tech-card-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #070e22;
}

.tech-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.tech-showcase-card:hover .tech-card-visual img {
  transform: scale(1.04);
}

.tech-card-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

.tech-badge {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  background: rgba(7, 14, 34, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tech-card-content {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tech-sub-tag {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-royal);
  margin-bottom: 0.5rem;
}

.tech-card-title {
  font-size: 1.4rem;
  color: var(--text-heading);
  margin-bottom: 0.85rem;
}

.tech-card-desc {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.tech-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  text-align: center;
}

.tech-metric-pill strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--primary-royal);
  font-weight: 800;
}

.tech-metric-pill span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   5. Servicios Especializados (3 Columns Bento)
   -------------------------------------------------------------------------- */

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  background: #ffffff;
  border-color: rgba(0, 82, 255, 0.3);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--primary-royal-subtle);
  color: var(--primary-royal);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 82, 255, 0.15);
}

.service-delivery-pill {
  font-size: 0.78rem;
  font-weight: 600;
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.service-category-tag {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-royal);
  margin-bottom: 0.45rem;
  display: block;
}

.service-title {
  font-size: 1.45rem;
  margin-bottom: 0.85rem;
  color: var(--text-heading);
}

.service-desc {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.service-benefits-list {
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.service-benefit-item {
  font-size: 0.92rem;
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.service-benefit-item svg {
  color: var(--primary-royal);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.service-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.service-tag {
  font-size: 0.76rem;
  color: var(--text-muted);
  background: var(--bg-tertiary);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  font-weight: 500;
}

.service-card .btn {
  width: 100%;
}

/* --------------------------------------------------------------------------
   6. Portafolio & Proyectos Seleccionados (Generated Mockups Presentation)
   -------------------------------------------------------------------------- */

.project-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-md);
}

.project-card:hover {
  border-color: rgba(0, 82, 255, 0.35);
  box-shadow: var(--shadow-xl);
}

.project-visual {
  position: relative;
  background: #f1f5f9;
  min-height: 400px;
  overflow: hidden;
}

.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.project-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 14, 34, 0.1) 0%, rgba(7, 14, 34, 0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem;
}

.project-badge-top {
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--primary-royal);
  box-shadow: var(--shadow-sm);
}

.project-metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(10, 88, 202, 0.12);
  box-shadow: var(--shadow-sm);
}

.metric-strip-item {
  text-align: center;
}

.metric-strip-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-royal);
  display: block;
}

.metric-strip-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
}

.project-info {
  padding: 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.project-category-name {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-royal);
  letter-spacing: 0.08em;
}

.project-year {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 600;
}

.project-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-heading);
}

.project-summary {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.project-challenge-box {
  background: var(--bg-secondary);
  border-left: 3px solid var(--primary-royal);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-subtle);
  border-left-width: 3px;
}

.project-challenge-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-heading);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.project-challenge-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.project-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.project-tag-item {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg-secondary);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   7. Detrás de DigitalFlow (Fundador Jossue Gutiérrez)
   -------------------------------------------------------------------------- */

.about-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.founder-visual-wrapper {
  position: relative;
}

.founder-double-bezel {
  background: #ffffff;
  border: 1px solid rgba(10, 88, 202, 0.16);
  border-radius: var(--radius-xl);
  padding: 0.5rem;
  box-shadow: var(--shadow-xl);
}

.founder-image-frame {
  position: relative;
  border-radius: calc(var(--radius-xl) - 8px);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #070e22;
}

.founder-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.founder-verified-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-royal);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: var(--shadow-sm);
}

.founder-badge-card {
  margin-top: 1.25rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow-xs);
  text-align: center;
}

.founder-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-heading);
  display: block;
}

.founder-role-title {
  font-size: 0.88rem;
  color: var(--primary-royal);
  font-weight: 700;
  display: block;
  margin-bottom: 0.35rem;
}

.founder-availability {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.about-content-body {
  display: flex;
  flex-direction: column;
}

.about-quote-block {
  margin: 1.75rem 0;
  padding: 1.35rem 1.85rem;
  background: var(--primary-royal-subtle);
  border-left: 4px solid var(--primary-royal);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text-heading);
  font-size: 1.12rem;
  line-height: 1.6;
}

.founder-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
  margin-bottom: 2.25rem;
}

.meta-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.meta-box-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 700;
  display: block;
  margin-bottom: 0.25rem;
  letter-spacing: 0.05em;
}

.meta-box-value {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-heading);
  display: block;
}

/* --------------------------------------------------------------------------
   8. Proceso de Trabajo (5 Etapas Conectadas)
   -------------------------------------------------------------------------- */

.process-stepper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  position: relative;
  margin-top: 2rem;
}

.process-step-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.45rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.process-step-card:hover {
  background: #ffffff;
  border-color: var(--primary-royal);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step-num-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 14px rgba(0, 82, 255, 0.35);
}

.step-duration-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-royal);
  background: var(--primary-royal-subtle);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  align-self: flex-start;
  margin-bottom: 0.75rem;
}

.step-title {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
  color: var(--text-heading);
}

.step-subtitle {
  font-size: 0.82rem;
  color: var(--primary-royal);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.step-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.step-deliverable {
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  font-size: 0.8rem;
  color: var(--text-body);
  border-left: 3px solid var(--primary-royal);
}

/* --------------------------------------------------------------------------
   9. Acordeón de FAQs (Clean White Cards)
   -------------------------------------------------------------------------- */

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-xs);
}

.faq-item.active {
  border-color: rgba(0, 82, 255, 0.3);
  box-shadow: var(--shadow-md);
}

.faq-button {
  width: 100%;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  text-align: left;
  background: transparent;
  color: var(--text-heading);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: color var(--transition-fast);
}

.faq-button:hover {
  color: var(--primary-royal);
}

.faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-normal), background-color var(--transition-normal), color var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--primary-royal);
  color: #ffffff;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.75rem;
}

.faq-item.active .faq-content {
  max-height: 500px;
  padding-bottom: 1.75rem;
  transition: max-height 0.4s ease-in-out;
}

.faq-answer-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   10. Sección Final CTA & Canales Directos (Deep Navy Luxury Impact)
   -------------------------------------------------------------------------- */

.final-cta-card {
  background: radial-gradient(ellipse 90% 70% at 50% -20%, rgba(0, 82, 255, 0.35), #070e22), #070e22;
  border: 1px solid rgba(0, 82, 255, 0.3);
  border-radius: var(--radius-xl);
  padding: 5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px -10px rgba(7, 14, 34, 0.25), 0 0 50px rgba(0, 82, 255, 0.15);
  color: #ffffff;
}

.cta-header-group {
  max-width: 720px;
  margin: 0 auto 3rem auto;
}

.cta-main-title {
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.cta-buttons-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1040px;
  margin: 0 auto;
}

.contact-channel-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-normal);
  color: #ffffff;
}

.contact-channel-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-royal);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.channel-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 82, 255, 0.18);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.channel-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.channel-val {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  word-break: break-all;
}

/* --------------------------------------------------------------------------
   11. Footer (Clean Deep Navy Authority)
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--bg-dark-contrast);
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5rem 0 2.5rem 0;
  position: relative;
}

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

.footer-brand-col .brand-name {
  color: #ffffff;
}

.footer-brand-col p {
  margin: 1.25rem 0 1.5rem 0;
  font-size: 0.95rem;
  max-width: 320px;
  color: #94a3b8;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.social-link-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all var(--transition-fast);
}

.social-link-btn:hover {
  background: var(--primary-royal);
  border-color: var(--primary-royal);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.35rem;
  color: #ffffff;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-item a {
  font-size: 0.92rem;
  color: #94a3b8;
  transition: color var(--transition-fast);
}

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

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #64748b;
}

/* --------------------------------------------------------------------------
   12. Asistente IA Drawer Lateral (Elite Modern AI App Look)
   -------------------------------------------------------------------------- */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 14, 34, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.ai-assistant-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(450px, 94vw);
  background: #ffffff;
  border-left: 1px solid var(--border-medium);
  z-index: 2001;
  box-shadow: -20px 0 60px rgba(7, 14, 34, 0.18);
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ai-assistant-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.assistant-profile {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.assistant-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 82, 255, 0.35);
  position: relative;
}

.assistant-meta h4 {
  font-size: 1.05rem;
  color: var(--text-heading);
  margin-bottom: 0.15rem;
}

.assistant-status {
  font-size: 0.75rem;
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}

.drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.drawer-close-btn:hover {
  background: #e2e8f0;
  color: var(--text-heading);
  transform: rotate(90deg);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--bg-secondary);
}

.chat-bubble {
  max-width: 88%;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.93rem;
  line-height: 1.6;
  position: relative;
  word-break: break-word;
}

.chat-bubble.bot {
  align-self: flex-start;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.chat-bubble.user {
  align-self: flex-end;
  background: var(--gradient-brand);
  color: #ffffff;
  border-bottom-right-radius: 4px;
  box-shadow: var(--shadow-royal);
}

.assistant-chips-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: 0.06em;
}

.assistant-chips-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.prompt-chip {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.86rem;
  text-align: left;
  transition: all var(--transition-fast);
  cursor: pointer;
  font-weight: 500;
  box-shadow: var(--shadow-xs);
}

.prompt-chip:hover {
  background: var(--primary-royal-subtle);
  border-color: var(--primary-royal);
  color: var(--primary-royal);
  transform: translateX(4px);
}

.recommendation-card {
  background: #ffffff;
  border: 1.5px solid var(--primary-royal);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 0.5rem;
  box-shadow: var(--shadow-md);
}

.rec-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-royal);
  margin-bottom: 0.5rem;
}

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

.drawer-footer {
  padding: 1.15rem 1.35rem;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
}

.chat-input-row {
  display: flex;
  gap: 0.65rem;
}

.chat-input {
  flex: 1;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.15rem;
  font-size: 0.92rem;
  color: var(--text-heading);
  outline: none;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.chat-input:focus {
  border-color: var(--primary-royal);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.12);
}

.chat-send-btn {
  background: var(--primary-royal);
  color: #ffffff;
  border-radius: var(--radius-md);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.chat-send-btn:hover {
  background: var(--primary-royal-hover);
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   13. Modal de Cotización Rápida
   -------------------------------------------------------------------------- */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 14, 34, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.quote-modal-box {
  width: 100%;
  max-width: 580px;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  transform: scale(0.96);
  transition: transform var(--transition-smooth);
  overflow: hidden;
}

.modal-backdrop.active .quote-modal-box {
  transform: scale(1);
}

.modal-header {
  padding: 1.5rem 2rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title-wrap h3 {
  font-size: 1.35rem;
  color: var(--text-heading);
  margin-bottom: 0.25rem;
}

.modal-title-wrap p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: var(--text-heading);
}

.modal-body {
  padding: 2rem;
  max-height: 80vh;
  overflow-y: auto;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--text-heading);
  outline: none;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-royal);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.12);
}

select.form-control option {
  background-color: #ffffff;
  color: var(--text-heading);
}

textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

.form-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   14. Botón Flotante de WhatsApp
   -------------------------------------------------------------------------- */

.floating-whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 990;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-normal);
}

.floating-whatsapp-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
  color: #fff;
}

.floating-whatsapp-btn .tooltip {
  position: absolute;
  right: 70px;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  color: var(--text-heading);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.floating-whatsapp-btn:hover .tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* --------------------------------------------------------------------------
   15. Barra Flotante Móvil Permanente (Sticky Bottom Bar)
   -------------------------------------------------------------------------- */

.mobile-floating-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 995;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  box-shadow: 0 -4px 20px rgba(7, 14, 34, 0.08);
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  align-items: center;
  gap: 0.75rem;
}

.mobile-bar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-sans);
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.mobile-bar-quote {
  flex: 1.4;
  background: var(--gradient-brand);
  color: #ffffff;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  box-shadow: var(--shadow-royal);
}

.mobile-bar-ai {
  flex: 1;
  background: var(--primary-royal-light);
  color: var(--primary-royal);
  border: 1px solid rgba(0, 82, 255, 0.2);
  padding: 0.75rem 0.85rem;
  font-size: 0.85rem;
}

.mobile-bar-wa {
  width: 44px;
  height: 44px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.mobile-bar-wa span {
  display: none;
}

/* --------------------------------------------------------------------------
   16. Adaptaciones Responsive Rigurosas
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-badge,
  .hero-actions,
  .hero-guarantees {
    justify-content: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .tech-showcase-grid {
    grid-template-columns: 1fr;
  }

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

  .about-card {
    grid-template-columns: 1fr;
    padding: 2.5rem;
    gap: 2.5rem;
  }

  .process-stepper {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-channels-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle-btn {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-medium);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-smooth), opacity var(--transition-normal);
    box-shadow: var(--shadow-lg);
  }

  .main-nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 1.25rem;
    text-align: center;
  }

  .header-actions {
    display: none;
  }

  .stats-bar {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .process-stepper {
    grid-template-columns: 1fr;
  }

  .contact-channels-grid {
    grid-template-columns: 1fr;
  }

  .footer-main-grid {
    grid-template-columns: 1fr;
  }

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

  /* Barra Flotante Móvil Activada */
  .mobile-floating-bar {
    display: flex;
  }

  /* Reubicar WhatsApp flotante para que no tape la barra móvil */
  .floating-whatsapp-btn {
    bottom: 5.5rem;
    right: 1.25rem;
    width: 50px;
    height: 50px;
  }

  body {
    padding-bottom: 4.5rem;
  }
}
