/* Cloud Visual Page Builder - Standalone Autonomous Styling */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Montserrat:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Roboto:wght@300;400;500;700;900&display=swap');

/* Herencia y consistencia tipográfica en bloques de texto */
[data-cvb-type="text"],
[data-cvb-type="text"] p,
[data-cvb-type="text"] span,
[data-cvb-type="text"] div,
[data-cvb-type="text"] li {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-style: inherit;
  line-height: inherit;
  color: inherit;
  text-align: inherit;
  text-transform: inherit;
}

:root {
  --cvb-purple: #8E2B88;
  --cvb-purple-hover: #721f6d;
  --cvb-blue: #005BBB;
  --cvb-blue-hover: #004899;
  --cvb-green: #009E49;
  --cvb-green-hover: #007f3a;
  --cvb-yellow: #FFB81C;
  --cvb-yellow-hover: #e09e0a;
}

.cvb-page-wrapper {
  width: 100%;
}

/* =========================================
   CONTENEDOR FLEXBOX & GRID MODERNO
   ========================================= */
.cvb-container {
  display: flex;
  position: relative;
  transition: all 0.2s ease-in-out;
}

.cvb-container-boxed {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.cvb-container-full {
  width: 100%;
  max-width: 100%;
}

.cvb-container-flex {
  display: flex;
}

.cvb-container-grid {
  display: grid;
  width: 100%;
  box-sizing: border-box;
}

.cvb-container-grid.cvb-grid-cols-1 { grid-template-columns: 1fr; }
.cvb-container-grid.cvb-grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cvb-container-grid.cvb-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cvb-container-grid.cvb-grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cvb-container-grid.cvb-grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cvb-container-grid.cvb-grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* Responsive para Contenedores Grid */
@media (min-width: 769px) and (max-width: 1024px) {
  .cvb-container-grid.cvb-grid-cols-3,
  .cvb-container-grid.cvb-grid-cols-4,
  .cvb-container-grid.cvb-grid-cols-5,
  .cvb-container-grid.cvb-grid-cols-6,
  div[data-cvb-type="container"].cvb-container-grid.cvb-grid-cols-3,
  div[data-cvb-type="container"].cvb-container-grid.cvb-grid-cols-4,
  div[data-cvb-type="container"].cvb-container-grid.cvb-grid-cols-5,
  div[data-cvb-type="container"].cvb-container-grid.cvb-grid-cols-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .cvb-container-grid,
  .cvb-container-grid.cvb-grid-cols-1,
  .cvb-container-grid.cvb-grid-cols-2,
  .cvb-container-grid.cvb-grid-cols-3,
  .cvb-container-grid.cvb-grid-cols-4,
  .cvb-container-grid.cvb-grid-cols-5,
  .cvb-container-grid.cvb-grid-cols-6,
  div[data-cvb-type="container"].cvb-container-grid,
  div[data-cvb-type="container"].cvb-container-grid.cvb-grid-cols-1,
  div[data-cvb-type="container"].cvb-container-grid.cvb-grid-cols-2,
  div[data-cvb-type="container"].cvb-container-grid.cvb-grid-cols-3,
  div[data-cvb-type="container"].cvb-container-grid.cvb-grid-cols-4,
  div[data-cvb-type="container"].cvb-container-grid.cvb-grid-cols-5,
  div[data-cvb-type="container"].cvb-container-grid.cvb-grid-cols-6,
  div[data-cvb-type="container"].cvb-container-grid[class*="cvb-grid-cols-"],
  .cvb-container-grid[class*="cvb-grid-cols-"] {
    grid-template-columns: 1fr !important;
  }
}

.cvb-col-icon-box {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}
.group:hover .cvb-col-icon-box {
  transform: scale(1.08);
}

/* =========================================
   WIDGET: SLIDER MULTI-IMAGEN ROTATIVO
   ========================================= */
.cvb-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  background-color: #0f172a;
}

.cvb-slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.cvb-slide {
  position: relative;
  min-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

.cvb-slide-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.cvb-slide-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.85) 100%);
  z-index: 2;
}

.cvb-slide-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 3rem 2rem;
  color: #ffffff;
}

.cvb-slide-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #f8fafc;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.cvb-slide-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #ffffff;
}

@media (min-width: 768px) {
  .cvb-slide-title {
    font-size: 3.5rem;
  }
}

.cvb-slide-desc {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 2rem;
}

.cvb-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.cvb-slider-arrow:hover {
  background: var(--cvb-purple);
  border-color: var(--cvb-purple);
  transform: translateY(-50%) scale(1.08);
}

.cvb-slider-prev { left: 1.25rem; }
.cvb-slider-next { right: 1.25rem; }

.cvb-slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  z-index: 10;
}

.cvb-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.cvb-slider-dot.active {
  background: var(--cvb-purple);
  width: 32px;
  border-radius: 9999px;
}

/* =========================================
   WIDGET: BOTÓN ULTRA-PERSONALIZABLE
   ========================================= */
.cvb-btn-wrapper {
  display: inline-flex;
}

.cvb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none !important;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  border: none;
  line-height: 1.25;
}

.cvb-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.cvb-btn-purple {
  background-color: var(--cvb-purple) !important;
  color: #ffffff !important;
}
.cvb-btn-purple:hover {
  background-color: var(--cvb-purple-hover) !important;
}

.cvb-btn-blue {
  background-color: var(--cvb-blue) !important;
  color: #ffffff !important;
}
.cvb-btn-blue:hover {
  background-color: var(--cvb-blue-hover) !important;
}

.cvb-btn-green {
  background-color: var(--cvb-green) !important;
  color: #ffffff !important;
}
.cvb-btn-green:hover {
  background-color: var(--cvb-green-hover) !important;
}

.cvb-btn-yellow {
  background-color: var(--cvb-yellow) !important;
  color: #0f172a !important;
}
.cvb-btn-yellow:hover {
  background-color: var(--cvb-yellow-hover) !important;
}

.cvb-btn-outline {
  background-color: transparent !important;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.8) !important;
}
.cvb-btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.15) !important;
  border-color: #ffffff !important;
}

.cvb-btn-small {
  padding: 0.5rem 1rem !important;
  font-size: 0.875rem !important;
}
.cvb-btn-medium {
  padding: 0.75rem 1.5rem !important;
  font-size: 1rem !important;
}
.cvb-btn-large {
  padding: 1rem 2rem !important;
  font-size: 1.125rem !important;
}

/* =========================================
   WIDGET: TITULAR ANIMADO
   ========================================= */
.cvb-animated-headline {
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.cvb-dynamic-text {
  background: linear-gradient(135deg, var(--cvb-purple), var(--cvb-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  min-width: 10px;
  border-right: 3px solid var(--cvb-purple);
  animation: cvb-blink 0.75s step-end infinite;
}

@keyframes cvb-blink {
  from, to { border-color: transparent }
  50% { border-color: var(--cvb-purple); }
}

/* =========================================
   WIDGET: VÍDEO RESPONSIVE (16:9)
   ========================================= */
.cvb-video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
  background: #000;
}

.cvb-video-wrapper iframe,
.cvb-video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================
   WIDGET: GOOGLE MAPS
   ========================================= */
.cvb-maps-wrapper {
  position: relative;
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.cvb-maps-wrapper iframe {
  width: 100%;
  border: 0;
  display: block;
}

/* =========================================
   WIDGET: FORMULARIO NATIVO LEY 21.719
   ========================================= */
.cvb-native-form-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 2.5rem;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
}

.cvb-form-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.cvb-form-desc {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}

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

.cvb-form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.35rem;
}

.cvb-form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #cbd5e1;
  background-color: #f8fafc;
  color: #0f172a;
  font-size: 0.95rem;
  transition: all 0.2s;
  box-sizing: border-box;
}

.cvb-form-control:focus {
  outline: none;
  border-color: var(--cvb-purple);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(142, 43, 136, 0.15);
}

.cvb-form-feedback {
  padding: 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  display: none;
}

.cvb-form-feedback.success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.cvb-form-feedback.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.cvb-form-privacy {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 1rem;
  line-height: 1.5;
}

/* =========================================
   WIDGET: TABLA DE PRECIOS
   ========================================= */
.cvb-pricing-card {
  background: #ffffff;
  border-radius: 1.5rem;
  border: 1px solid #e2e8f0;
  padding: 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.cvb-pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.cvb-pricing-card.featured {
  border-color: var(--cvb-purple);
  box-shadow: 0 10px 25px -5px rgba(142, 43, 136, 0.2);
}

.cvb-pricing-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--cvb-purple);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
}

.cvb-pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  margin: 1rem 0;
}

/* =========================================
   WIDGET: ICONOS SOCIALES
   ========================================= */
.cvb-social-icons {
  display: inline-flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.cvb-social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f1f5f9;
  color: #334155;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.cvb-social-icon svg {
  width: 50%;
  height: 50%;
  max-width: 28px;
  max-height: 28px;
  transition: transform 0.2s ease;
}

.cvb-social-icon:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

/* Colores Oficiales */
.cvb-social-theme-official .cvb-social-linkedin { background-color: #0a66c2; color: #ffffff; }
.cvb-social-theme-official .cvb-social-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: #ffffff; }
.cvb-social-theme-official .cvb-social-whatsapp { background-color: #25d366; color: #ffffff; }
.cvb-social-theme-official .cvb-social-youtube { background-color: #ff0000; color: #ffffff; }
.cvb-social-theme-official .cvb-social-x,
.cvb-social-theme-official .cvb-social-twitter { background-color: #0f1419; color: #ffffff; }
.cvb-social-theme-official .cvb-social-tiktok { background-color: #010101; color: #ffffff; }
.cvb-social-theme-official .cvb-social-facebook { background-color: #1877f2; color: #ffffff; }
.cvb-social-theme-official .cvb-social-github { background-color: #24292e; color: #ffffff; }
.cvb-social-theme-official .cvb-social-email,
.cvb-social-theme-official .cvb-social-mail { background-color: #8E2B88; color: #ffffff; }
.cvb-social-theme-official .cvb-social-phone,
.cvb-social-theme-official .cvb-social-tel { background-color: #005BBB; color: #ffffff; }
.cvb-social-theme-official .cvb-social-website,
.cvb-social-theme-official .cvb-social-link { background-color: #475569; color: #ffffff; }

/* Estilo Minimalista (Sin fondo) */
.cvb-social-style-minimal .cvb-social-icon {
  background: transparent !important;
  box-shadow: none !important;
}
.cvb-social-style-minimal.cvb-social-theme-official .cvb-social-linkedin { color: #0a66c2 !important; }
.cvb-social-style-minimal.cvb-social-theme-official .cvb-social-instagram { color: #e1306c !important; }
.cvb-social-style-minimal.cvb-social-theme-official .cvb-social-whatsapp { color: #25d366 !important; }
.cvb-social-style-minimal.cvb-social-theme-official .cvb-social-youtube { color: #ff0000 !important; }
.cvb-social-style-minimal.cvb-social-theme-official .cvb-social-x,
.cvb-social-style-minimal.cvb-social-theme-official .cvb-social-twitter { color: #0f1419 !important; }
.cvb-social-style-minimal.cvb-social-theme-official .cvb-social-tiktok { color: #010101 !important; }
.cvb-social-style-minimal.cvb-social-theme-official .cvb-social-facebook { color: #1877f2 !important; }
.cvb-social-style-minimal.cvb-social-theme-official .cvb-social-github { color: #24292e !important; }
.cvb-social-style-minimal.cvb-social-theme-official .cvb-social-email { color: #8E2B88 !important; }
.cvb-social-style-minimal.cvb-social-theme-official .cvb-social-phone { color: #005BBB !important; }
.cvb-social-style-minimal.cvb-social-theme-official .cvb-social-website { color: #475569 !important; }

/* =========================================
   SEPARADOR & ESPACIADOR
   ========================================= */
.cvb-divider-line {
  border: 0;
  border-top: 1px solid #e2e8f0;
  margin: 0;
  width: 100%;
}

.cvb-spacer-block {
  width: 100%;
  display: block;
}

/* =========================================
   HERO CLÁSICO COMPATIBILIDAD
   ========================================= */
.cvb-hero-section {
  position: relative;
  overflow: hidden;
  padding: 4rem 1rem;
  max-width: 80rem;
  margin: 0 auto;
}

.cvb-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .cvb-hero-grid {
    grid-template-columns: 7fr 5fr;
  }
}

.cvb-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid #e9d5ff;
  background-color: #faf5ff;
  color: #7e22ce;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.cvb-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: #9333ea;
}

.cvb-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .cvb-hero-title {
    font-size: 3.5rem;
  }
}

.cvb-hero-highlight {
  background: linear-gradient(to right, #8E2B88, #005BBB);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cvb-hero-desc {
  font-size: 1.125rem;
  color: #475569;
  font-weight: 400;
  line-height: 1.625;
  margin-bottom: 2rem;
  max-width: 42rem;
}

.cvb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.cvb-hero-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  border: 2px solid #cbd5e1;
  background-color: transparent;
  color: #334155;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none !important;
  transition: all 0.2s;
}

.cvb-hero-btn-outline:hover {
  background-color: #f1f5f9;
  color: #0f172a;
  border-color: #94a3b8;
}

.cvb-hero-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.cvb-hero-image-box {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid #f1f5f9;
  aspect-ratio: 4/3;
  width: 100%;
}

.cvb-hero-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cvb-cta-card {
  background: linear-gradient(135deg, #8E2B88 0%, #005BBB 100%);
  border-radius: 2rem;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.cvb-cta-title {
  color: #ffffff !important;
  font-weight: 800;
  font-size: 2.25rem;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.cvb-cta-desc {
  color: #e9d5ff !important;
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* =========================================
   POPUP BUILDER MODAL NATIVO
   ========================================= */
.cvb-popup-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
}

.cvb-popup-modal.cvb-popup-open {
  opacity: 1;
  visibility: visible;
}

.cvb-popup-backdrop {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
}

.cvb-popup-card {
  position: relative;
  z-index: 10;
  background: #ffffff;
  border-radius: 1.5rem;
  max-width: 580px;
  width: 100%;
  padding: 3rem 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cvb-popup-modal.cvb-popup-open .cvb-popup-card {
  transform: scale(1);
}

.cvb-popup-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  transition: all 0.2s;
}

.cvb-popup-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* =========================================
   WIDGET: MENÚ DE NAVEGACIÓN WORDPRESS
   ========================================= */
.cvb-nav-wrapper {
  width: 100%;
  position: relative;
}

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

.cvb-nav-menu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
  align-items: center;
}

.cvb-nav-menu li a {
  text-decoration: none;
  font-weight: 600;
  color: #334155;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.cvb-nav-menu li a:hover {
  color: var(--cvb-purple);
}

.cvb-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 768px) {
  .cvb-nav-toggle {
    display: block;
  }
  .cvb-nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    z-index: 50;
  }
  .cvb-nav-wrapper.cvb-nav-open .cvb-nav-menu {
    display: block;
  }
  .cvb-nav-menu ul {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}

/* =========================================
   WIDGET: LOGIN / REGISTRO SEGURO
   ========================================= */
.cvb-auth-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  max-width: 460px;
  margin: 0 auto;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
}

/* =========================================
   WIDGET: COLUMNAS RESPONSIVAS PRO
   ========================================= */
.cvb-columns-wrapper {
  width: 100%;
  box-sizing: border-box;
}

.cvb-columns-grid {
  display: grid !important;
  width: 100%;
  gap: 2rem;
  box-sizing: border-box;
}

.cvb-columns-grid.cvb-cols-1 {
  grid-template-columns: 1fr !important;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cvb-columns-grid.cvb-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.cvb-columns-grid.cvb-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.cvb-columns-grid.cvb-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.cvb-columns-grid.cvb-cols-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

.cvb-columns-grid.cvb-cols-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

@media (max-width: 1024px) {
  .cvb-columns-grid.cvb-cols-3,
  .cvb-columns-grid.cvb-cols-4,
  .cvb-columns-grid.cvb-cols-5,
  .cvb-columns-grid.cvb-cols-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .cvb-columns-grid.cvb-cols-2,
  .cvb-columns-grid.cvb-cols-3,
  .cvb-columns-grid.cvb-cols-4,
  .cvb-columns-grid.cvb-cols-5,
  .cvb-columns-grid.cvb-cols-6 {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================
   WIDGET: BENTO GRID 4X RESPONSIVO
   ========================================= */
.cvb-bento-section {
  width: 100%;
  box-sizing: border-box;
}

.cvb-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 860px) {
  .cvb-bento-grid {
    grid-template-columns: 1fr !important;
  }
  .cvb-bento-grid .md\:col-span-2 {
    grid-column: span 1 / span 1 !important;
  }
}

/* =========================================
   CANVAS: DRAG & DROP Y SELECCIÓN EN VIVO
   ========================================= */
.cvb-drop-target-top {
  border-top: 4px solid #38bdf8 !important;
  box-shadow: 0 -4px 14px rgba(56, 189, 248, 0.45) !important;
}

.cvb-drop-target-bottom {
  border-bottom: 4px solid #38bdf8 !important;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.45) !important;
}

.cvb-container-drop-hover {
  outline: 3px dashed #009E49 !important;
  outline-offset: 4px !important;
  background-color: rgba(0, 158, 73, 0.08) !important;
}

.cvb-selected-active {
  outline: 2px solid #8E2B88 !important;
  outline-offset: 3px !important;
  position: relative;
}

/* =========================================
   WIDGET: PORTAFOLIO PRO (GRID & CARRUSEL)
   ========================================= */
.cvb-portfolio-carousel-wrapper {
  position: relative;
  width: 100%;
}

.cvb-portfolio-carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0.25rem 1.5rem 0.25rem;
}

.cvb-portfolio-carousel-track::-webkit-scrollbar {
  display: none;
}
.cvb-portfolio-carousel-track {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.cvb-portfolio-carousel-item {
  scroll-snap-align: start;
  flex: 0 0 340px;
  max-width: 380px;
}

@media (max-width: 640px) {
  .cvb-portfolio-carousel-item {
    flex: 0 0 85%;
    max-width: 85%;
  }
}

.cvb-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.cvb-carousel-arrow:hover {
  background: #8E2B88;
  color: #ffffff;
  border-color: #8E2B88;
  box-shadow: 0 6px 20px rgba(142, 43, 136, 0.35);
  transform: translateY(-50%) scale(1.08);
}

.cvb-carousel-arrow.prev-btn {
  left: -16px;
}

.cvb-carousel-arrow.next-btn {
  right: -16px;
}

@media (max-width: 768px) {
  .cvb-carousel-arrow.prev-btn { left: 4px; }
  .cvb-carousel-arrow.next-btn { right: 4px; }
}


