/* ==========================================================================
   Roytt - Modern Digital Agency & Web Sales Design System
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #090d16;
  --bg-card: rgba(18, 24, 38, 0.75);
  --bg-card-hover: rgba(26, 34, 52, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(99, 102, 241, 0.4);

  /* Primary & Accents */
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --secondary: #06b6d4;
  --accent-purple: #a855f7;
  --accent-pink: #ec4899;
  --accent-green: #10b981;
  --whatsapp-color: #25d366;
  --whatsapp-dark: #128c7e;

  /* Typography */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows & Glows */
  --glow-primary: 0 0 35px rgba(99, 102, 241, 0.35);
  --glow-accent: 0 0 30px rgba(6, 182, 212, 0.3);
  --glow-wa: 0 0 25px rgba(37, 211, 102, 0.45);
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.5);

  /* Layout & Transitions */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   Atmospheric Glows & Effects
   ========================================================================== */
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.45;
}

.glow-1 {
  top: 5%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.glow-2 {
  top: 25%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
}

.glow-3 {
  bottom: 10%;
  left: 15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
}

/* Glassmorphism Card Utility */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

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

.gradient-text {
  background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   Buttons & Components
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  text-align: center;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.55);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-light);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  box-shadow: var(--glow-wa);
}

.btn-whatsapp:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

.shadow-glow {
  box-shadow: var(--glow-primary);
}

/* Section Common Header */
.section {
  padding: 6rem 0;
  position: relative;
}

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

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

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--secondary);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  background: rgba(9, 13, 22, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  padding: 0.8rem 0;
  background: rgba(9, 13, 22, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-icon {
  font-size: 1.6rem;
  filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.8));
}

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

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

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-light);
  transition: width var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-cta-mobile {
  display: none;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger-btn .bar {
  height: 3px;
  width: 100%;
  background: #ffffff;
  border-radius: 3px;
  transition: all var(--transition-fast);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding-top: 10.5rem;
  padding-bottom: 5rem;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  font-size: 0.85rem;
  font-weight: 600;
  color: #c7d2fe;
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

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

.stat-divider {
  width: 1px;
  height: 35px;
  background: var(--border-glass);
}

/* Hero Visual / Photo Card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
  padding: 2rem 2rem 1.5rem;
  text-align: center;
  animation: floatMockup 6s ease-in-out infinite alternate;
  max-width: 380px;
}

@keyframes floatMockup {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-12px); }
}

.hero-photo-wrapper {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.3), 0 0 80px rgba(6, 182, 212, 0.15);
  position: relative;
}

.hero-photo-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 4px solid transparent;
  background: linear-gradient(135deg, var(--primary), var(--secondary)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  z-index: 10;
  pointer-events: none;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 1;
  border-radius: 50%;
  background: #000;
  display: block;
}

.hero-photo-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-photo-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.hero-photo-title {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Contact person avatar */
.contact-person {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  margin: 1.5rem 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.contact-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--primary);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.contact-person div {
  display: flex;
  flex-direction: column;
}

.contact-person strong {
  font-size: 0.95rem;
  color: #ffffff;
}

.contact-person span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Floating Mockup Badges */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.1rem;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.badge-top-right {
  top: -40px;
  right: -25px;
  border-color: rgba(99, 102, 241, 0.4);
}

.badge-bottom-left {
  bottom: -55px;
  left: -40px;
  border-color: rgba(16, 185, 129, 0.4);
}

.badge-icon {
  font-size: 1.4rem;
}

.badge-bold {
  font-weight: 700;
  font-size: 0.85rem;
  color: #ffffff;
}

.badge-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Trust Bar / Tech Pills
   ========================================================================== */
.trust-bar {
  padding: 2rem 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  background: rgba(15, 23, 42, 0.4);
  text-align: center;
}

.trust-title {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.tech-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.tech-pill {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Plans & Services Section
   ========================================================================== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 2.5rem;
}

.plan-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.plan-card.featured {
  border-color: var(--primary);
  background: rgba(24, 30, 52, 0.9);
  box-shadow: 0 25px 50px -10px rgba(99, 102, 241, 0.25);
  transform: scale(1.03);
}

.popular-ribbon {
  position: absolute;
  top: 18px;
  right: -32px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.35rem 2.8rem;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.plan-type {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0.5rem 0 0.8rem;
  color: #ffffff;
}

.plan-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  min-height: 60px;
}

.plan-price.custom-quote {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 1.2rem;
}

.plan-quote-badge {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.plan-quote-badge.highlighted {
  color: var(--primary-light);
  text-shadow: 0 0 25px rgba(99, 102, 241, 0.45);
}

.plan-price .period {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.plan-features .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 3px;
}

.custom-plan-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem 2.5rem;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

.custom-plan-note h4 {
  font-size: 1.15rem;
  font-family: var(--font-heading);
  margin-bottom: 0.3rem;
}

.custom-plan-note p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ==========================================================================
   Interactive 3-Step Scope & Cost Survey / Cotizador Privado
   ========================================================================== */
.survey-section {
  background: linear-gradient(180deg, rgba(9, 13, 22, 0) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(9, 13, 22, 0) 100%);
  position: relative;
}

.survey-wrapper {
  padding: 3rem 3.5rem;
  border: 1px solid rgba(99, 102, 241, 0.35);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

/* Stepper Progress Bar */
.survey-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  position: relative;
}

.stepper-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.stepper-bubble {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(30, 41, 59, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.stepper-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.stepper-item.active .stepper-bubble {
  background: var(--primary);
  border-color: var(--primary-light);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
  transform: scale(1.1);
}

.stepper-item.active .stepper-label {
  color: #ffffff;
}

.stepper-item.completed .stepper-bubble {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.stepper-item.completed .stepper-label {
  color: var(--accent-green);
}

.stepper-line {
  flex-grow: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin: -1.2rem 0.8rem 0;
  position: relative;
  z-index: 1;
  transition: background var(--transition-fast);
}

.stepper-line.active {
  background: linear-gradient(90deg, var(--primary), var(--accent-green));
}

/* Survey Steps */
.survey-step {
  display: none;
  animation: fadeInSurvey 0.35s ease forwards;
}

.survey-step.active {
  display: block;
}

@keyframes fadeInSurvey {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.survey-step-header {
  margin-bottom: 2rem;
  text-align: center;
}

.step-badge-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary-light);
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.survey-step-heading {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.survey-step-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Grid layout for step fields */
.survey-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: flex-start;
}

.survey-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.survey-label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.label-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.label-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.survey-input-text {
  width: 100%;
  padding: 0.95rem 1.2rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 0.98rem;
  font-family: inherit;
  outline: none;
  transition: all var(--transition-fast);
}

.survey-input-text:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.35);
  background: rgba(15, 23, 42, 0.95);
}

/* Country Pills Grid */
.survey-pills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill-option {
  position: relative;
  cursor: pointer;
}

.pill-option input {
  position: absolute;
  opacity: 0;
}

.pill-option span {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.pill-option:hover span {
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(99, 102, 241, 0.4);
  color: #ffffff;
}

.pill-option.active span,
.pill-option input:checked + span {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--primary-light);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

/* Card Selection Grids */
.survey-cards-grid {
  display: grid;
  gap: 1rem;
}

.survey-cards-grid.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.survey-cards-grid.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.survey-card-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.survey-card-option input {
  position: absolute;
  opacity: 0;
}

.scard-content {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.3rem;
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  height: 100%;
  transition: all var(--transition-fast);
}

.survey-card-option:hover .scard-content {
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(30, 41, 59, 0.7);
  transform: translateY(-2px);
}

.survey-card-option.active .scard-content,
.survey-card-option input:checked ~ .scard-content {
  border-color: var(--primary-light);
  background: rgba(99, 102, 241, 0.18);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.scard-icon-svg {
  margin-bottom: 0.3rem;
}

.scard-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.scard-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Live Summary Card */
.survey-summary-card {
  margin-top: 1.8rem;
  padding: 1.2rem 1.6rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px dashed rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-md);
}

.scard-summary-header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.summary-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-green);
}

.summary-meta-line {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.5;
}

/* Survey Navigation Actions */
.survey-nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.2rem;
  margin-top: 2.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
}

/* ==========================================================================
   Calculated Budget Result Card
   ========================================================================== */
.budget-result-wrapper {
  margin-top: 2.5rem;
  animation: slideUpResult 0.4s ease forwards;
}

@keyframes slideUpResult {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.budget-result-card {
  background: linear-gradient(135deg, rgba(24, 30, 52, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.3);
}

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

.bresult-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-green);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.6rem;
  letter-spacing: 0.08em;
}

.bresult-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.bresult-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.budget-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
}

.bitem-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.4rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  gap: 1rem;
}

.bitem-left {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.bitem-name {
  font-weight: 700;
  font-size: 0.98rem;
  color: #ffffff;
}

.bitem-reason {
  font-size: 0.82rem;
  color: var(--secondary);
}

.bitem-price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary-light);
  white-space: nowrap;
}

.bitem-price.free {
  color: var(--accent-green);
}

.budget-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
  gap: 2rem;
  flex-wrap: wrap;
}

.btotal-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.btotal-prices-wrapper {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin: 0.2rem 0;
}

.amount-usd {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 0 25px rgba(99, 102, 241, 0.5);
  line-height: 1.1;
}

.amount-local {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--secondary);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 0.2rem 0.8rem;
  border-radius: var(--radius-sm);
}

.btotal-meta-pills {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btotal-badge {
  font-size: 0.82rem;
  color: var(--accent-green);
  font-weight: 600;
}

.btotal-api-rate {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Infrastructure & Ticket Guide Section (Dominio, Hosting y Tickets)
   ========================================================================== */
.guide-section {
  position: relative;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, rgba(9, 13, 22, 0.9) 100%);
}

.guide-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.2rem;
}

.guide-card {
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.guide-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.gcard-header-flex {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.gcard-header-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.gcard-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary-light);
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.gcard-badge.badge-secondary {
  color: var(--secondary);
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.3);
}

.gcard-badge.highlight {
  color: var(--accent-pink);
  background: rgba(236, 72, 153, 0.15);
  border-color: rgba(236, 72, 153, 0.3);
}

.gcard-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gcard-icon-wrap.icon-secondary {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.3);
}

.gcard-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.gcard-metaphor {
  font-size: 0.92rem;
  color: #e2e8f0;
  line-height: 1.5;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gcard-metaphor code {
  background: rgba(99, 102, 241, 0.2);
  color: var(--primary-light);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.88rem;
}

.gcard-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.gcard-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.gcard-checklist strong {
  color: #ffffff;
}

.gcheck {
  color: var(--accent-green);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.gcard-tip {
  margin-top: auto;
  padding: 0.9rem 1.2rem;
  background: rgba(15, 23, 42, 0.85);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Row 2: Ticket Architecture Bento Box */
.guide-ticket-bento {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(236, 72, 153, 0.35);
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.7) 0%, rgba(24, 30, 52, 0.9) 100%);
  margin-bottom: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

.tbento-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0.6rem 0 0.4rem;
}

.tbento-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 850px;
  line-height: 1.5;
}

.tbento-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tbento-column {
  display: flex;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.4rem;
  transition: all var(--transition-fast);
}

.tbento-column:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.tbento-col-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.tbento-col-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.tbento-col-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 1rem;
}

.tbento-points {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.tbento-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.tbento-focus {
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  line-height: 1.35;
  margin-top: auto;
}

.retail-border {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--accent-green);
}

.pro-border {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  color: var(--secondary);
}

.b2b-border {
  background: rgba(236, 72, 153, 0.1);
  border: 1px solid rgba(236, 72, 153, 0.25);
  color: var(--accent-pink);
}

.tlevel-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.tlevel-tag.retail {
  color: var(--accent-green);
  background: rgba(16, 185, 129, 0.15);
}

.tlevel-tag.pro {
  color: var(--secondary);
  background: rgba(6, 182, 212, 0.15);
}

.tlevel-tag.b2b {
  color: var(--accent-pink);
  background: rgba(236, 72, 153, 0.15);
}

/* Row 3: Bottom consultation banner */
.guide-bottom-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(99, 102, 241, 0.3);
  background: linear-gradient(135deg, rgba(24, 30, 52, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
  gap: 2rem;
  flex-wrap: wrap;
}

.gbanner-content {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.gbanner-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gbanner-content h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.gbanner-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .guide-top-grid,
  .tbento-cards-grid {
    grid-template-columns: 1fr;
  }
  .guide-bottom-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .guide-ticket-bento {
    padding: 1.8rem 1.4rem;
  }
}

/* ==========================================================================
   Portfolio / Demos Showcase
   ========================================================================== */
.portfolio-filters {
  display: inline-flex;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border-glass);
  padding: 0.35rem;
  border-radius: var(--radius-full);
  margin-top: 1.5rem;
  gap: 0.35rem;
}

.filter-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1.3rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: #ffffff;
}

.filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
}

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

.project-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.7);
}

.project-preview {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  position: relative;
  overflow: hidden;
  background: #090d16;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
}

.preview-mini-browser {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  background: #090d16;
}

.mini-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: rgba(15, 23, 42, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  z-index: 2;
}

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

.mini-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

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

.mini-url {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.mini-img-wrap {
  flex-grow: 1;
  width: 100%;
  height: calc(100% - 36px);
  overflow: hidden;
  position: relative;
  background: #090d16;
}

.project-real-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);
}

.preview-autopartes .project-real-img {
  object-position: center center;
}

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

.preview-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 13, 22, 0.78);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 5;
}

.project-card:hover .preview-overlay {
  opacity: 1;
}

.preview-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

.preview-cta {
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--primary);
  color: #ffffff;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
  transition: all var(--transition-fast);
}

.preview-cta:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.project-info {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.p-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  color: var(--secondary);
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
}

.project-title a:hover {
  color: var(--primary-light);
}

.project-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex-grow: 1;
}

.project-meta-action {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.project-result {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-green);
}

.link-visit {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-light);
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.link-visit:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================================================
   Benefits Section
   ========================================================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.benefit-card {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.benefit-icon {
  font-size: 2.2rem;
  margin-bottom: 0.4rem;
}

.benefit-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================================
   Process Section
   ========================================================================== */
.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.step-card {
  padding: 2rem 1.5rem;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.step-badge {
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-light);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.step-icon {
  font-size: 2.4rem;
  margin-bottom: 0.8rem;
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #ffffff;
}

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

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  opacity: 0.7;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.stars {
  display: flex;
  align-items: center;
  gap: 4px;
}

.test-quote {
  color: #e2e8f0;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.6;
  flex-grow: 1;
}

.client-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border-glass);
  padding-top: 1rem;
}

.client-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: #ffffff;
}

.av-1 { background: linear-gradient(135deg, #ec4899, #8b5cf6); }
.av-2 { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.av-3 { background: linear-gradient(135deg, #10b981, #059669); }

.client-name {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
}

.client-biz {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.8rem;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.faq-toggle {
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--primary-light);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.8rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 1.4rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-card {
  padding: 3.5rem;
  border-color: rgba(99, 102, 241, 0.25);
}

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

.contact-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0.8rem 0 1rem;
  line-height: 1.2;
}

.contact-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.contact-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.ch-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ch-icon {
  font-size: 1.6rem;
}

.ch-item strong {
  color: #ffffff;
  font-size: 0.95rem;
}

.ch-item p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.direct-channels {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.direct-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  box-shadow: var(--glow-wa);
  transition: all var(--transition-fast);
}

.direct-wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.55);
}

.direct-fb-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, #1877f2 0%, #0d5bb5 100%);
  color: #ffffff;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(24, 119, 242, 0.4);
  transition: all var(--transition-fast);
}

.direct-fb-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(24, 119, 242, 0.6);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: rgba(30, 41, 59, 0.4);
  padding: 2.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: #ffffff;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

.form-status {
  display: none;
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  text-align: center;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #060911;
  border-top: 1px solid var(--border-glass);
  padding: 4.5rem 0 2rem;
  color: var(--text-muted);
}

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

.footer-desc {
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.2rem;
}

.footer-links ul,
.footer-services ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.floating-whatsapp-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
}

.wa-float-btn {
  display: flex;
  align-items: center;
  position: relative;
}

.wa-icon-box {
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  animation: pulseWa 2.5s infinite;
}

@keyframes pulseWa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.wa-float-btn:hover .wa-icon-box {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.7);
}

.online-indicator {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: #10b981;
  border: 2px solid #090d16;
  border-radius: 50%;
}

.wa-tooltip {
  position: absolute;
  right: 70px;
  background: #1e293b;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-fast);
}

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

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .plans-grid .plan-card:last-child {
    grid-column: span 2;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

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

  .step-arrow {
    display: none;
  }

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

@media (max-width: 768px) {
  .hero {
    padding-top: 7.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .badge-pill {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.76rem;
    padding: 0.4rem 0.8rem;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.8rem;
  }

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

  #btnSqSubmit {
    white-space: normal;
    height: auto;
    line-height: 1.3;
    padding: 1rem;
  }

  .hero-stats {
    justify-content: space-around;
    gap: 0.8rem;
    width: 100%;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .nav-menu {
    position: fixed;
    top: 68px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 68px);
    background: rgba(9, 13, 22, 0.98);
    backdrop-filter: blur(25px);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.8rem;
    transition: left var(--transition-normal);
    z-index: 999;
  }

  .nav-menu.open {
    left: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
    width: 100%;
  }

  .nav-link {
    font-size: 1.15rem;
  }

  .nav-actions .btn-nav {
    display: none;
  }

  .nav-cta-mobile {
    display: block;
    width: 100%;
    margin-top: 1rem;
  }

  .nav-cta-mobile .btn {
    width: 100%;
  }

  .hamburger-btn {
    display: flex;
  }

  .hamburger-btn.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger-btn.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger-btn.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .plans-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .plans-grid .plan-card:last-child {
    grid-column: span 1;
  }

  .plan-card {
    padding: 2rem 1.5rem;
  }

  .survey-wrapper {
    padding: 2rem 1.2rem;
  }

  .survey-stepper {
    margin-bottom: 2rem;
  }

  .stepper-label {
    font-size: 0.72rem;
  }

  .stepper-bubble {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .survey-grid-2col {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .survey-cards-grid.grid-3,
  .survey-cards-grid.grid-4 {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .survey-nav-actions {
    flex-direction: column-reverse;
    width: 100%;
    gap: 0.8rem;
  }

  .survey-nav-actions .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .portfolio-filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
    scrollbar-width: none;
    padding: 0.3rem;
  }

  .portfolio-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex-shrink: 0;
    font-size: 0.8rem;
    padding: 0.45rem 1rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .project-preview {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .benefits-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .benefit-card,
  .testimonial-card {
    padding: 1.8rem 1.4rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .contact-title {
    font-size: 1.75rem;
  }

  .contact-form {
    padding: 1.5rem 1.2rem;
  }

  .custom-plan-note {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
    padding: 1.5rem 1.2rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .floating-badge {
    position: static !important;
    margin: 0.8rem auto 0 !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .badge-top-right,
  .badge-bottom-left {
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
  }

  .hero-visual {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .browser-mockup {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    animation: none;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    box-sizing: border-box;
  }

  .floating-whatsapp-widget {
    bottom: 1.2rem;
    right: auto;
    left: 1.2rem;
  }

  .wa-icon-box {
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.95rem;
  }

  .project-preview {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .mini-url {
    max-width: 130px;
  }

  .section {
    padding: 4.5rem 0;
  }
}

/* ==========================================================================
   SOLUCIONES DIGITALES — Chatbots, SEO Local, Páginas Web
   ========================================================================== */

.soluciones-section {
  background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.04) 50%, transparent 100%);
}

.soluciones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
  align-items: stretch;
}

.solucion-card {
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.solucion-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
}

.solucion-card.featured-solucion {
  border-color: rgba(6, 182, 212, 0.5);
  background: rgba(6, 182, 212, 0.04);
  box-shadow: 0 25px 50px -10px rgba(6, 182, 212, 0.15);
  transform: scale(1.03);
}

.solucion-card.featured-solucion:hover {
  transform: scale(1.03) translateY(-6px);
}

/* Icon wrap */
.solucion-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  transition: transform var(--transition-fast);
}

.solucion-card:hover .solucion-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
}

.solucion-icon--bot {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.15));
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--primary-light);
}

.solucion-icon--maps {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(16, 185, 129, 0.15));
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: var(--secondary);
}

.solucion-icon--web {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(99, 102, 241, 0.15));
  border: 1px solid rgba(236, 72, 153, 0.25);
  color: var(--accent-pink);
}

/* Service badge */
.solucion-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.solucion-badge--bot {
  color: var(--primary-light);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.solucion-badge--maps {
  color: var(--secondary);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.solucion-badge--web {
  color: var(--accent-pink);
  background: rgba(236, 72, 153, 0.1);
  border: 1px solid rgba(236, 72, 153, 0.2);
}

.solucion-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.9rem;
}

.solucion-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Features list */
.solucion-features {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
  flex: 1;
}

.solucion-features li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.sf-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-light);
}

.sf-check--maps {
  background: rgba(6, 182, 212, 0.12);
  color: var(--secondary);
}

.sf-check--web {
  background: rgba(236, 72, 153, 0.1);
  color: var(--accent-pink);
}

/* CTA area */
.solucion-cta-area {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.solucion-price-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-style: italic;
  text-align: center;
}

/* Combo Banner */
.combo-banner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 2.5rem;
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.04);
}

.combo-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.12);
  border-radius: var(--radius-md);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.combo-text {
  flex: 1;
}

.combo-text h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.combo-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   COTIZADOR DE SERVICIOS DIGITALES (sq-*)
   ========================================================================== */

.services-quoter-section {
  background: linear-gradient(180deg, transparent 0%, rgba(6, 182, 212, 0.03) 50%, transparent 100%);
}

.sq-wrapper {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Service Selector Pills */
.sq-service-selector {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sq-selector-title,
.sq-panel-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.sq-service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sq-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.3rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  user-select: none;
}

.sq-pill input[type="radio"] {
  display: none;
}

.sq-pill:hover {
  border-color: var(--primary-light);
  color: #ffffff;
  background: rgba(99, 102, 241, 0.08);
}

.sq-pill.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.12));
  border-color: var(--primary-light);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.sq-pill-icon {
  display: flex;
  align-items: center;
}

/* Options area panels */
.sq-options-area {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.sq-panel {
  display: none;
  flex-direction: column;
  gap: 1rem;
  animation: fadeInPanel 0.3s ease;
}

.sq-panel.active {
  display: flex;
}

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sq-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.sq-option-card {
  display: flex;
  gap: 0.8rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all var(--transition-fast);
  align-items: flex-start;
}

.sq-option-card input[type="radio"] {
  display: none;
}

.sq-option-card:hover {
  border-color: rgba(99, 102, 241, 0.35);
  background: rgba(99, 102, 241, 0.06);
}

.sq-option-card.active {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
}

.sq-oc-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sq-oc-content strong {
  font-size: 0.9rem;
  color: #ffffff;
  font-weight: 700;
}

.sq-oc-content span {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Combo panel */
.sq-combo-highlight {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.combo-hl-icon {
  flex-shrink: 0;
}

.combo-hl-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.combo-hl-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.sq-combo-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.sq-combo-feat {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Contact row */
.sq-contact-row {
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
}

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

.sq-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sq-input-group label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.sq-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 0.75rem 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.sq-input:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.sq-input::placeholder {
  color: var(--text-dim);
}

/* Submit area */
.sq-submit-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 0.5rem;
}

.sq-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
}

/* ==========================================================================
   Responsive — Soluciones & Services Quoter
   ========================================================================== */
@media (max-width: 900px) {
  .soluciones-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.2rem;
    padding-bottom: 2rem;
    margin-left: -1.2rem;
    margin-right: -1.2rem;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  
  .soluciones-grid::-webkit-scrollbar {
    display: none;
  }
  
  .soluciones-grid .solucion-card {
    width: calc(100vw - 3.6rem);
    min-width: calc(100vw - 3.6rem);
    max-width: calc(100vw - 3.6rem);
    scroll-snap-align: start;
    flex-shrink: 0;
    white-space: normal;
  }

  .solucion-card.featured-solucion {
    transform: none;
  }

  .solucion-card.featured-solucion:hover {
    transform: translateY(-4px);
  }

  .combo-banner {
    flex-direction: column;
    text-align: center;
    gap: 1.2rem;
  }

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

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

  .sq-service-pills {
    gap: 0.5rem;
  }

  .sq-pill {
    font-size: 0.82rem;
    padding: 0.6rem 1rem;
  }

  .sq-wrapper {
    padding: 2rem 1.25rem;
  }
}

@media (max-width: 640px) {
  .sq-combo-features {
    grid-template-columns: 1fr;
  }

  .sq-combo-highlight {
    flex-direction: column;
    gap: 1rem;
  }

  .combo-banner {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   FLOATING WIDGETS (WhatsApp & AI Chatbot)
   ========================================================================== */

/* Floating WhatsApp */
.floating-whatsapp-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
}

.wa-float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  text-decoration: none;
}

.wa-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.wa-tooltip {
  position: absolute;
  right: 70px;
  background: rgba(15, 23, 42, 0.95);
  color: #ffffff;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.wa-float-btn:hover .wa-tooltip {
  opacity: 1;
  visibility: visible;
  right: 68px;
}

/* Floating Chatbot Widget */
.floating-chatbot-widget {
  position: fixed;
  bottom: 2rem;
  right: 6.2rem;
  z-index: 999;
}

.chat-toggle-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.chat-toggle-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(168, 85, 247, 0.7);
}

.chat-icon-glow {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-pink));
  opacity: 0.5;
  filter: blur(8px);
  z-index: -1;
  animation: pulseGlow 2.5s infinite alternate;
}

@keyframes pulseGlow {
  0% { opacity: 0.3; filter: blur(6px); }
  100% { opacity: 0.8; filter: blur(12px); }
}

.chat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-pink);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-dark);
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.5);
}

.chat-tooltip {
  position: absolute;
  right: 70px;
  background: rgba(15, 23, 42, 0.95);
  color: #ffffff;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.chat-toggle-btn:hover .chat-tooltip {
  opacity: 1;
  visibility: visible;
  right: 68px;
}

/* Chat Modal Window */
.chat-window-modal {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  width: 380px;
  max-width: calc(100vw - 2.5rem);
  height: 530px;
  max-height: calc(100vh - 8rem);
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(99, 102, 241, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.3s;
}

.chat-window-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Header */
.chat-header {
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.9));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-avatar {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.4);
}

.avatar-status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: var(--accent-green);
  border: 2px solid var(--bg-card);
  border-radius: 50%;
}

.chat-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}

.badge-ai {
  font-size: 0.62rem;
  font-weight: 800;
  background: rgba(99, 102, 241, 0.25);
  border: 1px solid rgba(99, 102, 241, 0.5);
  color: var(--primary-light);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-full);
}

.chat-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

.chat-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chat-close-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

/* Chat Body & Messages */
.chat-body {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  scroll-behavior: smooth;
}

.chat-body::-webkit-scrollbar {
  width: 5px;
}
.chat-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.chat-welcome {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.45;
}

.chat-welcome strong {
  color: var(--primary-light);
}

.welcome-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.chat-chips-container {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.chat-chip {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: var(--primary-light);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chat-chip:hover {
  background: rgba(99, 102, 241, 0.25);
  border-color: rgba(99, 102, 241, 0.5);
  color: #ffffff;
  transform: translateX(3px);
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-msg {
  max-width: 85%;
  padding: 0.7rem 0.9rem;
  border-radius: 1rem;
  font-size: 0.84rem;
  line-height: 1.45;
  word-break: break-word;
  animation: fadeInMsg 0.25s ease forwards;
}

@keyframes fadeInMsg {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--primary), #4f46e5);
  color: #ffffff;
  border-bottom-right-radius: 0.2rem;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.chat-msg.bot {
  align-self: flex-start;
  background: rgba(30, 41, 59, 0.85);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom-left-radius: 0.2rem;
}

.chat-msg.error {
  align-self: center;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  font-size: 0.78rem;
  text-align: center;
}

/* Typing indicator */
.typing-msg {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.9rem;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  border-bottom-left-radius: 0.2rem;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* Chat Footer / Input Form */
.chat-footer {
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.chat-input-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chat-input {
  flex: 1;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 0.55rem 0.9rem;
  font-size: 0.84rem;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.chat-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

.chat-send-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  flex-shrink: 0;
}

.chat-send-btn:hover {
  transform: scale(1.08);
}

.chat-send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.chat-disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .floating-chatbot-widget {
    right: 1.2rem;
    bottom: 1.2rem;
  }
  .chat-window-modal {
    right: 1rem;
    bottom: 5.5rem;
    width: calc(100vw - 2rem);
    height: 480px;
    max-height: calc(100dvh - 7rem);
  }
}

